:root {
  --bg: #05060c;
  --bg-mid: #0a0d1b;
  --text: #f4f6ff;
  --muted: #a6afcc;
  --soft: rgba(255, 255, 255, 0.08);
  --brand: #8391ff;
  --brand-2: #66c8ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 0% 0%, rgba(113, 88, 255, 0.22), transparent 24%),
    radial-gradient(circle at 100% 0%, rgba(69, 124, 255, 0.19), transparent 30%),
    linear-gradient(180deg, #030409 0%, #070a16 52%, #05060d 100%);
  min-height: 100vh;
}

.bg-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.08;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 0.55px, transparent 0.55px);
  background-size: 2px 2px;
}

a {
  color: inherit;
}

h1, h2, h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  width: min(1240px, 95vw);
  margin: 0.7rem auto 0;
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(9, 11, 22, 0.56);
  backdrop-filter: blur(14px);
  border-radius: 999px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-family: "Sora", sans-serif;
}

.brand-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.62rem;
  display: inline-grid;
  place-items: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(140deg, #6f62ff, #58b1ff);
  box-shadow: 0 10px 40px rgba(100, 120, 255, 0.35);
}

.site-nav {
  display: flex;
  gap: 1rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  transition: color 0.2s ease;
}

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

.menu-toggle {
  display: none;
  border: 1px solid var(--soft);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  border-radius: 999px;
  padding: 0.38rem 0.85rem;
  font-weight: 700;
}

.page {
  width: min(1280px, 95vw);
  margin: 0 auto;
  padding-bottom: 3.2rem;
}

.hero {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1rem;
  min-height: min(84vh, 900px);
}

.hero-copy-wrap {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(0.5rem, 2vw, 1.8rem);
}

.eyebrow {
  color: #c0c7ff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 800;
}

h1 {
  margin-top: 0.6rem;
  font-size: clamp(2.4rem, 8vw, 7rem);
  line-height: 0.95;
}

.lead {
  margin-top: 1rem;
  max-width: 52ch;
  color: var(--muted);
  font-size: clamp(1rem, 2.1vw, 1.3rem);
}

.hero-keywords {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero-keywords span {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.05rem, 2.4vw, 1.8rem);
  font-weight: 700;
  color: #e7e9ff;
  text-shadow: 0 0 22px rgba(120, 136, 255, 0.45);
}

.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(130deg, #6f61ff, #61b4ff);
  box-shadow: 0 12px 34px rgba(104, 126, 255, 0.35);
}

.btn-secondary {
  border-color: var(--soft);
  background: rgba(255, 255, 255, 0.03);
}

.hero-visual,
.demo-visual,
.scene-visual,
.sub-visual {
  position: relative;
  border-radius: 1.2rem;
  background:
    radial-gradient(circle at 80% 18%, rgba(84, 160, 255, 0.25), transparent 35%),
    radial-gradient(circle at 10% 82%, rgba(153, 87, 255, 0.2), transparent 35%),
    linear-gradient(150deg, #05060d 0%, #0a0c18 52%, #040408 100%);
  min-height: 58vh;
  overflow: hidden;
  transition: transform 0.22s ease;
}

.visual-xl {
  min-height: min(84vh, 920px);
}

.hero-visual::after,
.scene-visual::after,
.sub-visual::after,
.demo-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.62), transparent 46%),
    radial-gradient(circle at 50% 0%, transparent 62%, rgba(0, 0, 0, 0.45) 100%);
}

.placeholder-label {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.flow-line {
  margin: 3rem 0 1.7rem;
  display: grid;
  gap: 0.55rem;
}

.flow-title {
  font-family: "Sora", sans-serif;
  font-size: clamp(1.5rem, 4.1vw, 3.5rem);
  line-height: 1.05;
}

.flow-copy {
  max-width: 75ch;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.55vw, 1.14rem);
}

.tracks-filmstrip {
  display: grid;
  gap: 1.35rem;
}

.track-scene {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 1rem;
  min-height: min(72vh, 760px);
}

.scene-copy {
  padding-inline: clamp(0rem, 1.6vw, 1rem);
}

.track-kicker {
  color: #b6c0ff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
  font-weight: 800;
}

.scene-copy h2 {
  margin-top: 0.55rem;
  font-size: clamp(1.85rem, 5vw, 4.2rem);
  line-height: 1;
}

.scene-copy p {
  margin-top: 0.8rem;
  max-width: 46ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.55vw, 1.16rem);
}

.inline-link {
  margin-top: 1rem;
  display: inline-flex;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.02rem;
  color: #e4e8ff;
}

.inline-link:hover,
.inline-link:focus-visible {
  text-shadow: 0 0 18px rgba(123, 142, 255, 0.65);
}

.section {
  margin-top: 2.5rem;
  padding: clamp(1rem, 2vw, 1.4rem) 0;
}

.section-cta {
  text-align: center;
}

.section-cta h2 {
  font-size: clamp(1.8rem, 3.6vw, 3rem);
}

.section-cta p {
  margin: 0.55rem auto 1rem;
  max-width: 64ch;
  color: var(--muted);
}

.site-footer {
  width: min(1280px, 95vw);
  margin: 0 auto;
  padding: 0.8rem 0 2rem;
  display: flex;
  justify-content: space-between;
  gap: 0.9rem;
  flex-wrap: wrap;
  color: var(--muted);
}

.sub-hero {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1rem;
  min-height: min(72vh, 760px);
}

.sub-hero .lead {
  max-width: 56ch;
}

.gains-grid {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem 2.6rem;
}

.gain-card {
  padding-right: 1rem;
}

.gain-card h3 {
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  line-height: 1.1;
}

.gain-card ul {
  margin: 0.8rem 0 0;
  padding-left: 1.05rem;
  color: #dde2f7;
}

.gain-card li + li {
  margin-top: 0.45rem;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero,
  .track-scene,
  .sub-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual,
  .scene-visual,
  .sub-visual {
    min-height: 52vh;
  }

  .visual-xl {
    min-height: 58vh;
  }

  .gains-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 3.4rem;
    right: 0.75rem;
    display: none;
    flex-direction: column;
    min-width: 180px;
    padding: 0.75rem;
    border-radius: 0.8rem;
    background: rgba(7, 8, 16, 0.92);
    border: 1px solid var(--soft);
  }

  .site-nav.open {
    display: flex;
  }

  .hero-visual,
  .scene-visual,
  .sub-visual,
  .visual-xl {
    min-height: 46vh;
  }

  h1 {
    font-size: clamp(2.15rem, 15vw, 3.6rem);
  }
}
