:root {
  --bg: #08111d;
  --bg-soft: #0e1828;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-strong: rgba(255, 255, 255, 0.12);
  --stroke: rgba(255, 255, 255, 0.16);
  --text: #f4f7fb;
  --muted: rgba(232, 241, 252, 0.72);
  --accent: #79d8ff;
  --accent-strong: #f2b24f;
  --shadow: 0 32px 80px rgba(0, 0, 0, 0.34);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 22px;
  --max-width: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 18%, rgba(71, 187, 255, 0.18), transparent 30%),
    radial-gradient(circle at 88% 20%, rgba(255, 184, 77, 0.16), transparent 28%),
    radial-gradient(circle at 50% 100%, rgba(67, 255, 206, 0.12), transparent 34%),
    linear-gradient(180deg, #08111d 0%, #09131f 35%, #0b1523 100%);
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  overflow-x: hidden;
  padding-top: 0;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.noise,
.ambient,
.cursor-glow {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
}

.noise {
  opacity: 0.1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 85%);
}

.ambient {
  filter: blur(110px);
  opacity: 0.5;
}

.ambient-one {
  background: radial-gradient(circle, rgba(66, 196, 255, 0.22), transparent 60%);
  transform: translate3d(-18%, -10%, 0);
}

.ambient-two {
  background: radial-gradient(circle, rgba(255, 182, 73, 0.18), transparent 60%);
  transform: translate3d(60%, 8%, 0);
}

.cursor-glow {
  width: 380px;
  height: 380px;
  inset: auto;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(125, 216, 255, 0.18), transparent 70%);
  transform: translate3d(-50%, -50%, 0);
  transition: transform 0.12s linear;
  z-index: 1;
}

.site-header,
.section {
  position: relative;
  z-index: 2;
}

.site-header {
  position: fixed;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: rgba(8, 18, 30, 0.66);
  backdrop-filter: blur(24px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(121, 216, 255, 0.9), rgba(255, 178, 79, 0.8));
  color: #0a1320;
}

.nav-links {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav-links a {
  transition: color 0.25s ease, transform 0.25s ease;
}

.nav-links a:hover {
  color: var(--text);
  transform: translateY(-1px);
}

.header-cta,
.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 20px;
  font-size: 0.95rem;
  font-weight: 700;
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

.header-cta,
.primary-button {
  color: #07111d;
  background: linear-gradient(135deg, #7ad8ff, #f0bb65);
  box-shadow: 0 16px 32px rgba(121, 216, 255, 0.2);
}

.ghost-button {
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.header-cta:hover,
.primary-button:hover,
.ghost-button:hover {
  transform: translateY(-2px);
}

.section {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  min-height: calc(100svh - 48px);
  padding: 112px 0 32px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0.36;
  transform: scale(0.94) translate3d(0, 72px, 0);
  filter: blur(16px);
  transition:
    opacity 0.9s ease,
    transform 1.05s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.9s ease;
}

main {
  padding-top: 156px;
}

.hero.section {
  margin-top: 24px;
  padding-top: 220px;
  min-height: calc(100svh - 140px);
}

.section::before {
  content: "";
  position: absolute;
  inset: 10% -4% 6%;
  border-radius: 48px;
  background:
    radial-gradient(circle at 20% 20%, rgba(121, 216, 255, 0.1), transparent 28%),
    radial-gradient(circle at 80% 18%, rgba(240, 187, 101, 0.1), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  opacity: 0;
  transform: scale(0.96);
  transition:
    opacity 0.8s ease,
    transform 0.9s ease;
  z-index: -1;
}

.section.is-active {
  opacity: 1;
  transform: scale(1) translate3d(0, 0, 0);
  filter: blur(0);
}

.section.is-active::before {
  opacity: 1;
  transform: scale(1);
}

.section.is-past {
  opacity: 0.62;
  transform: scale(0.97) translate3d(0, -28px, 0);
  filter: blur(4px);
}

.section.is-upcoming {
  opacity: 0.28;
  transform: scale(0.93) translate3d(0, 86px, 0);
  filter: blur(20px);
}

.hero {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 38px;
  min-height: calc(100svh - 360px);
  align-items: start;
}

.eyebrow,
.feature-kicker {
  margin: 0 0 16px;
  color: var(--accent);
  letter-spacing: 0.3em;
  font-size: 0.78rem;
  text-transform: uppercase;
  font-weight: 700;
}

.hero h1,
.section-intro h2,
.visibility-copy h2,
.showcase-copy h2,
.cta-shell h2 {
  margin: 0;
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero h1 {
  font-size: clamp(3.5rem, 8vw, 7rem);
  max-width: 12ch;
}

.serif {
  display: block;
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  color: #fff5df;
}

.hero-text,
.section-intro p,
.visibility-copy p,
.showcase-copy p,
.cta-shell p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.hero-text {
  max-width: 58ch;
  margin: 26px 0 0;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.glass-card,
.glass-frame {
  border: 1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow);
}

.trust-strip {
  margin-top: 38px;
  padding: 18px 22px;
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.trust-strip strong,
.mini-stat strong,
.metric-card strong,
.module-card h3,
.feature-card h3 {
  display: block;
  font-size: 1.1rem;
}

.trust-strip span,
.mini-note {
  display: block;
  margin-top: 6px;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-visual {
  position: relative;
  min-height: 760px;
}

.hero-panel {
  position: absolute;
  overflow: hidden;
}

.hero-panel-main {
  inset: 0 100px 90px 0;
  border-radius: 42px;
}

.hero-panel-main img,
.hero-panel-side img {
  filter: saturate(1.05) contrast(1.05);
}

.panel-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px;
  background: linear-gradient(180deg, transparent, rgba(7, 15, 24, 0.88));
}

.panel-overlay p {
  margin: 0 0 8px;
  color: #bdefff;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.74rem;
}

.panel-overlay h2 {
  margin: 0;
  max-width: 12ch;
  font-size: 1.8rem;
  line-height: 1.08;
}

.hero-panel-float {
  right: 0;
  top: 54px;
  width: 290px;
  padding: 22px;
  border-radius: 28px;
}

.mini-label {
  color: var(--muted);
  font-size: 0.9rem;
}

.mini-chart {
  display: flex;
  align-items: end;
  gap: 10px;
  height: 96px;
  margin-top: 18px;
}

.mini-chart span {
  flex: 1;
  border-radius: 999px 999px 8px 8px;
  background: linear-gradient(180deg, rgba(121, 216, 255, 0.94), rgba(255, 178, 79, 0.65));
  animation: pulseBars 3.4s ease-in-out infinite;
}

.mini-chart span:nth-child(1) { height: 34%; animation-delay: 0s; }
.mini-chart span:nth-child(2) { height: 62%; animation-delay: 0.12s; }
.mini-chart span:nth-child(3) { height: 76%; animation-delay: 0.24s; }
.mini-chart span:nth-child(4) { height: 48%; animation-delay: 0.36s; }
.mini-chart span:nth-child(5) { height: 88%; animation-delay: 0.48s; }
.mini-chart span:nth-child(6) { height: 69%; animation-delay: 0.6s; }

.hero-panel-side {
  right: 28px;
  bottom: 0;
  width: 310px;
  height: 220px;
  border-radius: 32px;
}

.metrics {
  padding-top: 72px;
}

.metrics-layout {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 24px;
  align-items: center;
}

.metrics-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.metrics-copy p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1rem;
}

.metrics-note {
  margin-top: 28px;
  padding: 22px;
  border-radius: var(--radius-lg);
}

.metrics-note strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1rem;
}

.metric-grid,
.module-grid,
.platform-grid {
  display: grid;
  gap: 20px;
}

.metric-grid {
  grid-template-columns: repeat(3, 1fr);
}

.metric-card,
.feature-card,
.module-card,
.cta-shell,
.story-line {
  border-radius: var(--radius-lg);
}

.metric-card {
  padding: 28px;
}

.metric-card span {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.76rem;
}

.metric-card strong {
  margin-top: 18px;
  font-size: 3.2rem;
}

.metric-card p,
.feature-copy p,
.module-card p {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.section-intro {
  max-width: 840px;
  margin-bottom: 28px;
}

.section-intro h2,
.visibility-copy h2,
.showcase-copy h2,
.cta-shell h2 {
  font-size: clamp(2.3rem, 4.6vw, 4.6rem);
}

.platform-grid {
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  align-items: stretch;
}

.feature-card {
  overflow: hidden;
}

.feature-card-large {
  padding: 0;
}

.feature-media {
  height: 320px;
}

.feature-copy,
.feature-card:not(.feature-card-large) {
  padding: 26px;
}

.visibility-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  align-items: center;
}

.story-line {
  margin-top: 30px;
  padding: 22px;
  display: grid;
  gap: 14px;
}

.story-node {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--muted);
}

.story-node span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(121, 216, 255, 0.16);
  color: var(--text);
  font-weight: 700;
}

.glass-frame {
  position: relative;
  padding: 18px;
  border-radius: 42px;
}

.glass-frame img {
  height: 620px;
  border-radius: 28px;
}

.floating-tag {
  position: absolute;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(10, 17, 29, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  font-size: 0.88rem;
  font-weight: 700;
}

.floating-tag-left {
  left: 32px;
  top: 26px;
}

.floating-tag-right {
  right: 34px;
  bottom: 28px;
}

.module-grid {
  grid-template-columns: repeat(3, 1fr);
}

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

.showcase-mosaic {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 18px;
  margin-top: 30px;
}

.mosaic-card {
  overflow: hidden;
  border-radius: 30px;
  min-height: 340px;
}

.mosaic-card:nth-child(1) {
  min-height: 420px;
}

.cta {
  padding-bottom: 110px;
}

.cta-shell {
  padding: 42px;
  text-align: center;
}

.cta-shell p {
  max-width: 720px;
  margin: 18px auto 0;
}

.cta-actions {
  justify-content: center;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 56px, 0) scale(0.96);
  transition:
    opacity 0.9s ease,
    transform 1s cubic-bezier(0.2, 0.8, 0.2, 1),
    filter 0.9s ease;
  transition-delay: var(--reveal-delay, 0s);
  filter: blur(12px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

.tilt-card {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform 0.2s ease;
}

@keyframes pulseBars {
  0%, 100% {
    transform: scaleY(0.9);
    opacity: 0.78;
  }
  50% {
    transform: scaleY(1.06);
    opacity: 1;
  }
}

@media (max-width: 1180px) {
  .hero,
  .visibility-layout,
  .metrics-layout,
  .platform-grid,
  .module-grid,
  .showcase-mosaic,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .section {
    min-height: auto;
    scroll-snap-align: none;
    scroll-snap-stop: normal;
    opacity: 1;
    transform: none;
    filter: none;
  }

  .section::before {
    opacity: 1;
    transform: none;
  }

  .hero-visual {
    min-height: 820px;
  }

  .hero-panel-main {
    inset: 0 0 210px 0;
  }

  .hero-panel-float {
    top: auto;
    left: 0;
    bottom: 82px;
    width: 300px;
  }

  .hero-panel-side {
    right: 0;
    width: 320px;
  }
}

@media (max-width: 820px) {
  html {
    scroll-snap-type: none;
  }

  .site-header {
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 28px;
    top: 12px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px 18px;
  }

  .section {
    width: min(calc(100% - 24px), var(--max-width));
    padding-top: 88px;
    min-height: auto;
    opacity: 1;
    transform: none;
    filter: none;
  }

  main {
    padding-top: 120px;
  }

  .hero.section {
    margin-top: 14px;
    padding-top: 156px;
    min-height: auto;
  }

  .hero-panel-main {
    inset: 0 0 250px 0;
  }

  .hero-panel-float,
  .hero-panel-side {
    position: relative;
    width: 100%;
    right: auto;
    bottom: auto;
    left: auto;
    top: auto;
    margin-top: 18px;
  }

  .hero-visual {
    min-height: auto;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .cta-shell {
    padding: 32px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
    scroll-snap-type: none;
  }

  .reveal,
  .section,
  .tilt-card,
  .cursor-glow,
  .header-cta,
  .primary-button,
  .ghost-button,
  .mini-chart span {
    transition: none;
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .section {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .section::before {
    opacity: 1;
    transform: none;
  }
}
