:root {
  --bg: #06101d;
  --bg-soft: rgba(11, 21, 37, 0.78);
  --panel: rgba(14, 26, 45, 0.82);
  --panel-strong: rgba(15, 28, 49, 0.96);
  --panel-border: rgba(171, 203, 255, 0.14);
  --text: #f4f7fb;
  --muted: #a9b7d0;
  --muted-strong: #c7d2e6;
  --blue: #5f8eff;
  --blue-strong: #2f63ff;
  --cyan: #53d7ff;
  --emerald: #3fca83;
  --rose: #ff7b8c;
  --gold: #ffba67;
  --shadow: 0 34px 90px rgba(0, 0, 0, 0.45);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --site-width: min(1220px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 12%, rgba(95, 142, 255, 0.22), transparent 24%),
    radial-gradient(circle at 85% 18%, rgba(83, 215, 255, 0.15), transparent 20%),
    radial-gradient(circle at 50% 100%, rgba(63, 202, 131, 0.12), transparent 26%),
    linear-gradient(180deg, #04101d 0%, #06101d 40%, #050b15 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: radial-gradient(circle at center, black 42%, transparent 85%);
  opacity: 0.32;
}

.page-backdrop {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.aurora {
  position: absolute;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.58;
  animation: drift 18s ease-in-out infinite alternate;
}

.aurora-one {
  width: 420px;
  height: 420px;
  background: rgba(87, 119, 255, 0.24);
  top: -80px;
  right: 10%;
}

.aurora-two {
  width: 460px;
  height: 460px;
  background: rgba(58, 211, 151, 0.16);
  bottom: 12%;
  left: -80px;
  animation-duration: 22s;
}

.aurora-three {
  width: 320px;
  height: 320px;
  background: rgba(255, 123, 140, 0.18);
  top: 45%;
  right: -40px;
  animation-duration: 15s;
}

.grid-glow {
  position: absolute;
  inset: 22% 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(96, 133, 255, 0.16) 0%, rgba(96, 133, 255, 0) 68%);
}

.site-shell {
  position: relative;
  width: var(--site-width);
  margin: 0 auto;
  padding: 24px 0 48px;
}

.site-header,
.signal-strip,
.feature-card,
.showcase,
.downloads,
.final-cta-card,
.site-footer {
  backdrop-filter: blur(16px);
}

.site-header {
  position: sticky;
  top: 18px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 20px;
  border: 1px solid rgba(190, 215, 255, 0.12);
  border-radius: 20px;
  background: rgba(7, 17, 31, 0.72);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: white;
  background: linear-gradient(145deg, #2f63ff, #5d90ff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 20px 40px rgba(47, 99, 255, 0.35);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong {
  font-size: 1.25rem;
  font-weight: 800;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.83rem;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.site-nav a,
.site-footer a {
  color: var(--muted-strong);
  text-decoration: none;
}

.site-nav a {
  padding: 10px 16px;
  border-radius: 999px;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  transform: translateY(-1px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease, background 200ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, #6ca0ff 0%, #2f63ff 55%, #2448ff 100%);
  box-shadow: 0 18px 36px rgba(42, 88, 255, 0.34);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.08);
}

.button-nav {
  min-height: 46px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.08);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(420px, 1.04fr);
  gap: 40px;
  align-items: center;
  padding: 60px 0 34px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 22px;
}

.eyebrow-pill,
.section-kicker,
.mini-label,
.download-platform,
.download-size {
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #d8e4ff;
  background: rgba(95, 142, 255, 0.14);
  border: 1px solid rgba(95, 142, 255, 0.24);
}

.eyebrow-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.hero h1,
.section-heading h2,
.screen-copy h3,
.download-card h3,
.final-cta-card h2 {
  font-family: "Sora", sans-serif;
  margin: 0;
}

.hero h1 {
  max-width: 8.8ch;
  font-size: clamp(2.35rem, 4.25vw, 4.15rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(120deg, #9ec4ff 5%, #ffffff 40%, #89ffd2 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-text,
.section-heading p,
.screen-copy p,
.download-card p,
.final-cta-card p,
.signal-strip p,
.feature-card p {
  color: var(--muted);
}

.hero-text {
  max-width: 560px;
  margin: 18px 0 0;
  font-size: 1rem;
  line-height: 1.62;
}

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

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.trust-row span {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted-strong);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.94rem;
}

.hero-stage {
  position: relative;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 14px;
  align-items: end;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(14, 27, 46, 0.92), rgba(8, 14, 24, 0.96));
  perspective: 1400px;
  overflow: hidden;
  isolation: isolate;
}

.stage-glow {
  position: absolute;
  inset: auto auto -18% -8%;
  width: 76%;
  height: 76%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(75, 117, 255, 0.26) 0%, rgba(75, 117, 255, 0) 68%);
  filter: blur(28px);
  z-index: 0;
}

.stage-card,
.stage-phone,
.stage-metric {
  border: 1px solid var(--panel-border);
  background: linear-gradient(180deg, rgba(18, 31, 52, 0.92), rgba(9, 16, 30, 0.92));
  box-shadow: var(--shadow);
}

.stage-main {
  position: relative;
  z-index: 1;
  width: 100%;
  align-self: stretch;
  display: grid;
  align-content: start;
  padding: 16px;
  border-radius: var(--radius-xl);
  transform: rotateX(calc(var(--tilt-y, 0) * 1deg)) rotateY(calc(var(--tilt-x, 0) * -1deg));
  transition: transform 220ms ease;
}

.stage-main::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), transparent 40%, rgba(255, 255, 255, 0.02));
  pointer-events: none;
}

.stage-caption {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.stage-caption span {
  color: var(--muted);
  font-size: 0.9rem;
}

.stage-main img,
.stage-phone img,
.screen-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
}

.stage-main img {
  width: min(100%, 350px);
  margin-inline: auto;
  border-radius: 28px;
}

.stage-side {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  align-self: stretch;
}

.stage-phone {
  padding: 14px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(16, 30, 50, 0.94), rgba(8, 14, 24, 0.96));
}

.stage-phone-head {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.stage-phone-head strong {
  font-family: "Sora", sans-serif;
  font-size: 0.94rem;
  line-height: 1.15;
}

.stage-metric {
  padding: 18px 18px 20px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(14, 28, 48, 0.94), rgba(8, 14, 24, 0.96));
}

.stage-metric strong {
  display: block;
  margin-top: 10px;
  font-family: "Sora", sans-serif;
  font-size: 1.55rem;
  line-height: 1;
}

.stage-metric p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.mini-label,
.section-kicker {
  display: inline-flex;
  color: #b9c8e2;
  font-size: 0.75rem;
  font-weight: 800;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.04);
}

.signal-strip article {
  padding: 20px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(12, 24, 41, 0.72), rgba(7, 13, 24, 0.72));
}

.signal-strip strong,
.feature-card h3,
.download-card h3 {
  font-size: 1.16rem;
}

.signal-strip p {
  margin: 10px 0 0;
  line-height: 1.65;
}

.features,
.showcase,
.downloads {
  margin-top: 34px;
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.04);
}

.section-heading {
  max-width: 760px;
}

.section-heading.compact {
  max-width: 680px;
}

.section-heading h2 {
  margin-top: 12px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.section-heading p {
  margin: 18px 0 0;
  font-size: 1.02rem;
  line-height: 1.72;
}

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

.feature-card {
  position: relative;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(13, 24, 42, 0.9), rgba(9, 16, 27, 0.88));
  overflow: hidden;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: auto -30px -50px auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  filter: blur(24px);
  opacity: 0.16;
}

.feature-card:nth-child(1)::after {
  background: var(--blue);
}

.feature-card:nth-child(2)::after {
  background: var(--emerald);
}

.feature-card:nth-child(3)::after {
  background: var(--rose);
}

.feature-card:nth-child(4)::after {
  background: var(--gold);
}

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.06);
  position: relative;
}

.feature-icon::before,
.feature-icon::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
}

.feature-icon::before {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.18);
}

.feature-icon::after {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.feature-blue::after {
  background: var(--blue);
}

.feature-green::after {
  background: var(--emerald);
}

.feature-rose::after {
  background: var(--rose);
}

.feature-gold::after {
  background: var(--gold);
}

.feature-card h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
}

.feature-card p {
  margin: 12px 0 0;
  line-height: 1.72;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 24px;
  margin-top: 30px;
  align-items: start;
}

.showcase-menu {
  display: grid;
  gap: 12px;
  align-content: start;
}

.screen-tab {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  width: 100%;
  padding: 18px 18px 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.screen-tab:hover,
.screen-tab:focus-visible,
.screen-tab.is-active {
  transform: translateY(-2px);
  border-color: rgba(95, 142, 255, 0.34);
  background: linear-gradient(180deg, rgba(21, 36, 60, 0.94), rgba(11, 20, 35, 0.92));
}

.screen-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #dbe6ff;
  background: rgba(255, 255, 255, 0.06);
  font-family: "Sora", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
}

.screen-tab strong {
  display: block;
  font-size: 1rem;
}

.screen-tab small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  line-height: 1.5;
}

.showcase-stage {
  position: relative;
  min-height: 660px;
}

.screen-panel {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 18px;
  padding: 24px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(13, 24, 42, 0.95), rgba(8, 14, 24, 0.95));
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(0.98);
  transition: opacity 220ms ease, transform 220ms ease;
}

.screen-panel.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.screen-frame {
  width: 100%;
  max-width: 720px;
  padding: 14px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.4);
}

.screen-wide img {
  border-radius: 18px;
}

.screen-tall {
  max-width: 340px;
}

.screen-copy {
  max-width: 660px;
  text-align: center;
}

.screen-copy h3 {
  margin-top: 12px;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.screen-copy p {
  margin: 12px 0 0;
  line-height: 1.72;
}

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

.download-card {
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(13, 24, 42, 0.92), rgba(9, 16, 27, 0.92));
}

.download-card-primary {
  background:
    radial-gradient(circle at top right, rgba(95, 142, 255, 0.24), transparent 38%),
    linear-gradient(180deg, rgba(19, 35, 62, 0.95), rgba(9, 18, 31, 0.95));
}

.download-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.download-platform {
  color: #eaf1ff;
  font-size: 0.82rem;
  font-weight: 800;
}

.download-size {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.download-card h3 {
  margin-top: 16px;
  font-size: 1.55rem;
  line-height: 1.15;
}

.download-card p {
  margin: 12px 0 24px;
  line-height: 1.65;
}

.final-cta {
  margin-top: 34px;
}

.final-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background:
    radial-gradient(circle at left center, rgba(63, 202, 131, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(12, 27, 44, 0.96), rgba(8, 14, 24, 0.96));
}

.final-cta-card h2 {
  margin-top: 10px;
  max-width: 760px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding: 26px 8px 4px;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(22px, -18px, 0) scale(1.08);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1120px) {
  .site-header {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero,
  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    grid-template-columns: minmax(0, 1fr) 240px;
  }

  .signal-strip,
  .feature-grid,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .screen-panel {
    position: relative;
    min-height: 0;
  }

  .showcase-stage {
    min-height: 0;
    display: grid;
    gap: 16px;
  }

  .screen-panel:not(.is-active) {
    display: none;
  }
}

@media (max-width: 780px) {
  :root {
    --site-width: min(100vw - 24px, 1000px);
  }

  .site-shell {
    padding-top: 12px;
  }

  .site-header {
    position: static;
    padding: 16px;
  }

  .site-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .button-nav {
    width: 100%;
  }

  .hero {
    gap: 26px;
    padding: 36px 0 24px;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .hero-text {
    font-size: 0.96rem;
  }

  .hero-stage {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
  }

  .stage-main {
    padding: 14px;
  }

  .stage-main img {
    width: min(100%, 300px);
  }

  .stage-caption {
    flex-direction: column;
    align-items: flex-start;
  }

  .stage-caption strong {
    max-width: none;
    text-align: left;
  }

  .stage-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .stage-phone,
  .stage-metric {
    height: 100%;
  }

  .stage-metric strong {
    font-size: 1.6rem;
  }

  .stage-phone img {
    border-radius: 20px;
  }

  .features,
  .showcase,
  .downloads {
    padding: 26px 18px;
    border-radius: 28px;
  }

  .final-cta-card,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .final-cta-card {
    padding: 24px 20px;
  }

  .screen-tab {
    padding: 16px;
  }

  .screen-panel {
    padding: 16px;
  }

  .screen-frame {
    padding: 10px;
  }
}

@media (max-width: 560px) {
  .brand {
    width: 100%;
    justify-content: center;
  }

  .cta-row,
  .trust-row {
    flex-direction: column;
  }

  .cta-row .button,
  .download-card .button,
  .final-cta-card .button {
    width: 100%;
  }

  .trust-row span {
    width: 100%;
    text-align: center;
  }

  .hero-stage {
    padding: 14px;
  }

  .stage-side {
    grid-template-columns: 1fr;
  }

  .stage-main img {
    width: min(100%, 280px);
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}
