:root {
  --bg: #070912;
  --panel: rgba(10, 14, 28, 0.82);
  --panel-solid: #101522;
  --line: rgba(255, 255, 255, 0.16);
  --text: #f8fbff;
  --muted: #b7c3d4;
  --gold: #ffd35a;
  --fire: #ff5a12;
  --fire-dark: #7e160c;
  --ice: #2ac8ff;
  --ice-dark: #064386;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.46);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    linear-gradient(115deg, rgba(126, 22, 12, 0.38), transparent 36%),
    linear-gradient(245deg, rgba(6, 67, 134, 0.5), transparent 38%),
    var(--bg);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 72px);
  background: linear-gradient(180deg, rgba(3, 5, 12, 0.86), rgba(3, 5, 12, 0.18));
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 900;
  text-transform: uppercase;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  box-shadow: 0 0 24px rgba(255, 211, 90, 0.28);
}

.brand span {
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2.5vw, 28px);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--gold);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  align-items: center;
  gap: clamp(28px, 6vw, 84px);
  min-height: 94vh;
  padding: 130px clamp(18px, 6vw, 88px) 76px;
  overflow: hidden;
  isolation: isolate;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(circle at 28% 36%, rgba(255, 90, 18, 0.35), transparent 34%),
    radial-gradient(circle at 74% 32%, rgba(42, 200, 255, 0.34), transparent 34%),
    linear-gradient(115deg, rgba(126, 22, 12, 0.72), rgba(8, 10, 20, 0.84) 48%, rgba(6, 67, 134, 0.76));
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(98deg, rgba(118, 18, 8, 0.84) 0%, rgba(255, 85, 18, 0.5) 34%, rgba(255, 210, 76, 0.28) 48%, rgba(42, 200, 255, 0.36) 56%, rgba(6, 55, 130, 0.82) 100%),
    linear-gradient(180deg, rgba(5, 7, 14, 0.05), rgba(5, 7, 14, 0.92));
  mix-blend-mode: multiply;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 32%;
  background: linear-gradient(180deg, transparent, var(--bg));
}

.element-stream {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: -1;
  width: 32%;
  opacity: 0.42;
  filter: blur(18px);
  pointer-events: none;
}

.fire-stream {
  left: -9%;
  background: repeating-linear-gradient(102deg, transparent 0 26px, rgba(255, 124, 18, 0.42) 27px 29px, transparent 30px 66px);
  animation: streamRise 8s linear infinite;
}

.ice-stream {
  right: -8%;
  background: repeating-linear-gradient(76deg, transparent 0 28px, rgba(72, 216, 255, 0.44) 29px 31px, transparent 32px 68px);
  animation: streamFall 10s linear infinite;
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 8vw, 6.7rem);
  line-height: 0.96;
  letter-spacing: 0;
  text-shadow: 0 6px 0 rgba(0, 0, 0, 0.34), 0 0 34px rgba(255, 211, 90, 0.3);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.hero-copy {
  max-width: 640px;
  color: #e9f3ff;
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  line-height: 1.58;
}

.hero-actions,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 8px;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: var(--shadow);
}

.primary-button {
  color: #2b1400;
  background: linear-gradient(180deg, #fff06a, #ffa11c 62%, #d8680d);
  border: 1px solid rgba(255, 248, 162, 0.9);
}

.secondary-button {
  color: var(--text);
  background: rgba(8, 13, 26, 0.78);
  border: 1px solid var(--line);
}

.disabled-button {
  cursor: default;
}

.store-badge-image {
  position: relative;
  display: inline-flex;
  width: clamp(190px, 20vw, 290px);
  transition: transform 160ms ease, filter 160ms ease;
}

.store-badge-image:hover,
.store-badge-image:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.store-badge-image img {
  width: 100%;
  height: auto;
}

.coming-soon-tag {
  position: absolute;
  z-index: 1;
  top: -12px;
  right: 10px;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  color: #231100;
  background: linear-gradient(180deg, #fff06a, #ffb229);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
  font-size: 0.68rem;
  font-weight: 950;
  text-transform: uppercase;
}

.hero-logo-card {
  justify-self: center;
  width: min(100%, 390px);
}

.logo-frame {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 211, 90, 0.28), rgba(42, 200, 255, 0.18));
  box-shadow: var(--shadow), 0 0 60px rgba(42, 200, 255, 0.18);
}

.logo-frame img {
  border-radius: 8px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.section {
  padding: clamp(72px, 10vw, 130px) clamp(18px, 6vw, 88px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.element-panel,
.download-panel,
.policy-content {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(18, 24, 43, 0.9), rgba(8, 12, 24, 0.76));
  box-shadow: var(--shadow);
}

.feature-card {
  min-height: 220px;
  padding: 24px;
}

.feature-number {
  display: block;
  margin-bottom: 28px;
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 900;
}

.feature-card p,
.split-copy p,
.element-panel p,
.download-panel p,
.policy-content p,
.policy-content li,
.site-footer p {
  color: var(--muted);
  line-height: 1.65;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 78px);
  background: linear-gradient(90deg, rgba(255, 90, 18, 0.08), rgba(42, 200, 255, 0.08));
}

.steps-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.steps-list li {
  position: relative;
  min-height: 48px;
  padding: 14px 18px 14px 58px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(9, 14, 28, 0.74);
  color: #eaf4ff;
  font-weight: 750;
}

.steps-list li::before {
  counter-increment: steps;
  content: counter(steps);
  position: absolute;
  left: 14px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  color: #211000;
  background: var(--gold);
  transform: translateY(-50%);
  font-weight: 950;
}

.element-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.element-panel {
  position: relative;
  min-height: 260px;
  padding: 32px;
  overflow: hidden;
}

.element-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.35;
}

.fire-panel::before {
  background: linear-gradient(120deg, rgba(255, 90, 18, 0.85), transparent 68%);
}

.ice-panel::before {
  background: linear-gradient(240deg, rgba(42, 200, 255, 0.78), transparent 68%);
}

.element-panel h3,
.element-panel p {
  position: relative;
  z-index: 1;
}

.download-section {
  padding-top: 40px;
}

.download-panel {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
  padding: clamp(22px, 4vw, 36px);
}

.download-panel img {
  border-radius: 8px;
}

.download-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.site-footer {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 6vw, 88px);
  border-top: 1px solid var(--line);
  background: #050812;
}

.footer-links a {
  color: var(--gold);
  font-weight: 800;
}

.policy-page {
  background:
    linear-gradient(115deg, rgba(126, 22, 12, 0.24), transparent 38%),
    linear-gradient(245deg, rgba(6, 67, 134, 0.34), transparent 42%),
    var(--bg);
}

.policy-main {
  width: min(100%, 1240px);
  margin: 0 auto;
  padding: 124px clamp(18px, 5vw, 56px) 80px;
}

.policy-hero {
  max-width: 100%;
  margin-bottom: 28px;
}

.policy-hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.8rem);
}

.policy-content {
  width: 100%;
  max-width: none;
  padding: clamp(24px, 5vw, 54px);
}

.policy-content h2 {
  margin-top: 34px;
  margin-bottom: 12px;
  color: #fff4c7;
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  line-height: 1.15;
}

.policy-content a {
  color: var(--gold);
  font-weight: 800;
  text-decoration: underline;
}

.policy-content ul {
  display: grid;
  gap: 10px;
  padding-left: 22px;
}

@keyframes heroDrift {
  from {
    transform: scale(1.04) translate3d(-10px, -8px, 0);
  }
  to {
    transform: scale(1.08) translate3d(10px, 8px, 0);
  }
}

@keyframes streamRise {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-90px);
  }
}

@keyframes streamFall {
  from {
    transform: translateY(-90px);
  }
  to {
    transform: translateY(0);
  }
}

@media (max-width: 940px) {
  .site-header {
    position: absolute;
  }

  .site-nav {
    display: none;
  }

  .hero,
  .split-section,
  .download-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 112px;
  }

  .hero-logo-card {
    width: min(100%, 360px);
    justify-self: center;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .download-panel {
    text-align: left;
  }

  .download-buttons {
    justify-content: flex-start;
  }

  .download-buttons .primary-button,
  .download-buttons .secondary-button {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .brand span {
    font-size: 0.9rem;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .feature-grid,
  .element-columns {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .primary-button,
  .secondary-button,
  .store-badge-image {
    width: 100%;
  }

  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
