/* ============================================================
   STRATAWX · public site · product-led, dark UI with a flashy hero.
   Leads with real screenshots of the app. Structured layout,
   subtle atmosphere (no blob soup), intentional spacing.
   Type: Sora (display) · Manrope (body) · Space Mono (labels).
   ============================================================ */

:root {
  --bg:      #070a13;
  --bg-2:    #0a0f1a;
  --panel:   #0e1524;
  --panel-2: #111a2c;
  --line:    #1b2435;
  --line-2:  #2a3852;

  --white:   #eef4fb;
  --text:    #aebccd;
  --muted:   #6c7e94;

  --cyan:    #67e3ff;
  --cyan-2:  #1f9bd6;
  --amber:   #ffb84d;

  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --font-mono: 'Space Mono', ui-monospace, monospace;

  --maxw: 1240px;
  --pad: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 17px; line-height: 1.62;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
  /* one calm, intentional backdrop: a faint top wash + hairline grid */
  background-image:
    radial-gradient(120% 60% at 50% -10%, rgba(31,155,214,0.10), transparent 60%),
    linear-gradient(rgba(120,150,190,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,150,190,0.025) 1px, transparent 1px);
  background-size: 100% 100%, 70px 70px, 70px 70px;
  background-attachment: fixed, fixed, fixed;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.05; letter-spacing: -0.022em; margin: 0; color: var(--white); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
i { font-style: normal; }
img { max-width: 100%; display: block; }
::selection { background: rgba(103,227,255,0.25); color: #fff; }

.lit { color: var(--cyan); }
.kicker { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--cyan); display: inline-block; }

/* ============ NAV ============ */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 60; display: flex; align-items: center; gap: 24px; padding: 15px var(--pad); transition: background 0.3s, border-color 0.3s, padding 0.3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(7,10,19,0.85); backdrop-filter: blur(14px); border-bottom-color: var(--line); padding-top: 11px; padding-bottom: 11px; }
.nav__brand { display: flex; align-items: center; gap: 10px; }
.mark { width: 30px; height: 30px; display: block; }
.nav__word { font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -0.03em; color: var(--white); }
.nav__word i { color: var(--cyan); }
.nav__links { display: flex; gap: 28px; margin-left: auto; }
.nav__links a { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.04em; color: var(--text); position: relative; transition: color 0.2s; }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform 0.25s var(--ease); }
.nav__links a:hover { color: var(--white); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__burger { display: none; flex-direction: column; gap: 5px; width: 40px; height: 36px; align-items: center; justify-content: center; background: rgba(255,255,255,0.05); border: 1px solid var(--line-2); border-radius: 8px; cursor: pointer; }
.nav__burger span { width: 18px; height: 2px; background: var(--white); transition: 0.25s; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { position: fixed; top: 62px; inset-inline: 0; z-index: 59; display: flex; flex-direction: column; gap: 2px; padding: 14px var(--pad) 22px; background: rgba(7,10,19,0.97); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 13px 4px; font-family: var(--font-mono); font-size: 13px; color: var(--text); border-bottom: 1px solid var(--line); }
.mobile-menu a.btn { margin-top: 14px; border-bottom: none; color: #04121a; justify-content: center; }

/* ============ BUTTONS ============ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-family: var(--font-mono); font-weight: 700; font-size: 13px; letter-spacing: 0.02em; padding: 12px 20px; border-radius: 10px; cursor: pointer; border: 1px solid transparent; transition: transform 0.18s var(--ease), box-shadow 0.25s, background 0.25s, border-color 0.2s; white-space: nowrap; }
.btn--lg { font-size: 14px; padding: 15px 26px; }
.btn--solid { background: linear-gradient(180deg, #e9fbff, #aee9fb); color: #04121a; box-shadow: 0 8px 30px -12px rgba(103,227,255,0.55); }
.btn--solid:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -12px rgba(103,227,255,0.75); }
.btn--ghost { background: rgba(255,255,255,0.04); color: var(--white); border-color: var(--line-2); }
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--cyan); }

/* ============ SHELLS ============ */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(64px, 9vw, 116px) var(--pad); }
.lead { max-width: 680px; margin-bottom: 48px; }
.lead--center { margin-inline: auto; text-align: center; }
.lead--center .kicker { justify-content: center; }
.lead__title { font-size: clamp(30px, 4.6vw, 52px); margin: 16px 0; }
.lead__sub { color: var(--text); font-size: clamp(16px, 2vw, 19px); max-width: 560px; }
.lead--center .lead__sub { margin-inline: auto; }

/* ============ HERO (cinematic video bg + product window) ============ */
.hero { position: relative; isolation: isolate; width: 100%; overflow: hidden;
  padding-top: clamp(112px, 15vh, 168px); background: #070a13; }
/* z-index 0/1/2 inside the isolated .hero so the video paints ABOVE the hero
   background (a negative z-index would fall behind it and disappear). */
.hero__video { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; background: #04070d; }
.hero__scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7,10,19,0.72) 0%, rgba(7,10,19,0.2) 16%, transparent 30%),
    linear-gradient(90deg, rgba(7,10,19,0.9) 0%, rgba(7,10,19,0.55) 42%, rgba(7,10,19,0.12) 78%, transparent 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(7,10,19,0.3) 16%, transparent 44%); }
.hero__inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad) clamp(56px, 8vh, 96px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr); gap: clamp(24px, 4vw, 60px); align-items: center; }
.hero__copy { min-width: 0; max-width: 560px; }

.hero__title { font-size: clamp(40px, 5.8vw, 78px); font-weight: 800; letter-spacing: -0.042em; line-height: 0.98; margin: 0; text-shadow: 0 2px 34px rgba(0,0,0,0.55); }
.shimmer { background: linear-gradient(100deg, var(--cyan) 8%, #ffffff 38%, var(--cyan) 66%, var(--cyan-2) 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 4.5s linear infinite; }
@keyframes shimmer { to { background-position: -220% 0; } }

.hero__lede { color: var(--white); font-size: clamp(16px, 1.6vw, 19px); max-width: 500px; margin: 24px 0 0; text-shadow: 0 1px 18px rgba(0,0,0,0.75); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }
.hero__platforms { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 24px; }
.plat { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 12px; color: var(--text); text-shadow: 0 1px 10px rgba(0,0,0,0.7); }
.plat i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.plat--live { color: var(--cyan); }
.plat--live i { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.4; } }

/* product window over the video */
.hero__stage { position: relative; perspective: 1700px; }
.window { position: relative; margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); background: var(--bg-2);
  transform: rotateY(-11deg) rotateX(5deg); transform-style: preserve-3d;
  box-shadow: -34px 44px 100px -44px rgba(0,0,0,0.95), 0 0 0 1px rgba(103,227,255,0.08), 0 0 80px -20px rgba(31,155,214,0.6);
  transition: transform 0.6s var(--ease); animation: floaty 8s ease-in-out infinite; will-change: transform; }
.hero__stage:hover .window { transform: rotateY(-4deg) rotateX(2deg); }
@keyframes floaty { 50% { transform: rotateY(-11deg) rotateX(5deg) translateY(-12px); } }
.window img { width: 100%; height: auto; display: block; }
.window__sheen { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,0.12) 46%, transparent 60%); background-size: 260% 100%; animation: sheen 7s var(--ease) infinite; }
@keyframes sheen { 0%, 55% { background-position: 160% 0; } 100% { background-position: -130% 0; } }

/* full-width METAR ticker at the foot of the hero */
.metar-ticker { position: relative; z-index: 2; width: 100%; border-top: 1px solid var(--line); background: rgba(7,10,19,0.55); backdrop-filter: blur(5px); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.metar-ticker__track { display: inline-flex; gap: 46px; padding: 12px 0; white-space: nowrap; animation: marquee 52s linear infinite; }
.metar-ticker__track span { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); }
.metar-ticker__track span::before { content: '◂ '; color: var(--cyan); }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .shimmer, .metar-ticker__track, .plat--live i, .window, .window__sheen { animation: none; }
  /* don't autoplay video for reduced-motion users; show the static fallback */
  .hero__video { display: none; }
}

/* general product screenshots (features) */
.shot { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); background: var(--bg-2); box-shadow: 0 40px 90px -40px rgba(0,0,0,0.9), 0 0 0 1px rgba(103,227,255,0.05); }
.shot img { width: 100%; height: auto; }

/* ============ DATA SOURCES STRIP ============ */
.sources { max-width: var(--maxw); margin: 0 auto; padding: 8px var(--pad) 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.sources__lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.sources ul { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.sources li { font-family: var(--font-mono); font-size: 12.5px; color: var(--text); position: relative; }
.sources li + li::before { content: ''; }

/* ============ FEATURE (text + screenshot) ============ */
.feature { max-width: var(--maxw); margin: 0 auto; padding: clamp(56px, 8vw, 104px) var(--pad); display: grid; grid-template-columns: 0.85fr 1.15fr; align-items: center; gap: clamp(28px, 5vw, 72px); }
.feature--reverse .feature__text { order: 2; }
.feature__text h2 { font-size: clamp(28px, 3.8vw, 44px); margin: 16px 0 16px; }
.feature__text p { color: var(--text); font-size: clamp(15.5px, 1.5vw, 17.5px); }
.ticks { margin-top: 22px; display: grid; gap: 10px; }
.ticks--two { grid-template-columns: 1fr 1fr; }
.ticks li { position: relative; padding-left: 24px; font-family: var(--font-mono); font-size: 13px; color: var(--white); }
.ticks li::before { content: ''; position: absolute; left: 0; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 9px var(--cyan); }

/* ============ ANTI-POP ============ */
.antipop { border-block: 1px solid var(--line); background: var(--bg-2); }
.antipop__inner { max-width: 860px; margin: 0 auto; padding: clamp(60px, 9vw, 110px) var(--pad); text-align: center; }
.antipop h2 { font-size: clamp(26px, 4vw, 44px); margin: 16px 0 18px; }
.antipop p { color: var(--text); font-size: clamp(16px, 1.8vw, 18.5px); max-width: 660px; margin: 0 auto; }
.ramp { width: 100%; max-width: 620px; margin: 34px auto 0; height: auto; display: block; }
.ramp__lbl { font-family: 'Space Mono', monospace; font-size: 12px; fill: var(--muted); }

/* ============ MODES ============ */
.modes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mode { padding: 30px 26px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); transition: border-color 0.25s, transform 0.25s; }
.mode:hover { border-color: var(--line-2); transform: translateY(-3px); }
.mode h3 { font-size: 22px; margin-bottom: 10px; }
.mode h3::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 9px var(--cyan); margin-right: 10px; vertical-align: middle; }
.mode p { color: var(--text); font-size: 15px; }

/* ============ HOW ============ */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.flow__step { padding: clamp(24px, 3vw, 36px); border-right: 1px solid var(--line); background: var(--panel); transition: background 0.25s; }
.flow__step:last-child { border-right: none; }
.flow__step:hover { background: var(--panel-2); }
.flow__step b { font-family: var(--font-mono); font-size: 13px; color: var(--cyan); letter-spacing: 0.08em; }
.flow__step h3 { font-size: 22px; margin: 12px 0 9px; }
.flow__step p { color: var(--text); font-size: 14.5px; }

/* ============ COMPARISON ============ */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 980px; }
.vs__col { padding: 32px clamp(22px, 3vw, 40px); border-radius: 16px; border: 1px solid var(--line); background: var(--panel); }
.vs__col--us { border-color: rgba(103,227,255,0.32); background: linear-gradient(180deg, rgba(103,227,255,0.07), rgba(31,155,214,0.03)); box-shadow: 0 30px 70px -40px rgba(103,227,255,0.4); }
.vs__col h3 { font-size: 26px; margin-bottom: 20px; }
.vs__col--us h3 i { color: var(--cyan); }
.vs__col--them h3 { color: var(--muted); }
.vs__col ul { display: grid; gap: 14px; }
.vs__col li { position: relative; padding-left: 28px; font-size: 15.5px; color: var(--white); }
.vs__col li b { color: var(--cyan); }
.vs__col--us li::before { content: '✓'; position: absolute; left: 0; color: var(--cyan); font-weight: 700; }
.vs__col--them li.dim { color: var(--muted); }
.vs__col--them li b { color: var(--text); }
.vs__col--them li::before { content: '–'; position: absolute; left: 0; color: var(--muted); }
.vs__note { color: var(--muted); font-size: 12.5px; max-width: 760px; margin-top: 22px; line-height: 1.5; }

/* ============ PRICING ============ */
.pricing { }
.price { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 64px); align-items: center; max-width: 940px; margin: 0 auto; padding: clamp(34px, 4vw, 52px); border: 1px solid var(--line-2); border-radius: 20px; background: radial-gradient(120% 100% at 0% 0%, rgba(31,155,214,0.10), transparent 60%), var(--panel); }
.price__amount { font-family: var(--font-display); font-weight: 800; font-size: clamp(56px, 9vw, 88px); color: var(--white); letter-spacing: -0.04em; line-height: 1; margin: 18px 0 6px; }
.price__amount .cur { font-size: 0.45em; vertical-align: top; color: var(--cyan); }
.price__amount .cents { font-size: 0.45em; color: var(--text); }
.price__amount .once { font-family: var(--font-mono); font-size: 0.16em; color: var(--muted); letter-spacing: 0.1em; vertical-align: middle; }
.price__terms { color: var(--text); font-size: 14.5px; margin-bottom: 24px; max-width: 360px; }
.price__fine { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); margin-top: 14px; }
.price__list { display: grid; gap: 13px; }
.price__list li { position: relative; padding-left: 28px; font-size: 15.5px; color: var(--white); }
.price__list li::before { content: '✓'; position: absolute; left: 0; color: var(--cyan); font-weight: 700; }

/* ============ FAQ ============ */
.faq { max-width: 800px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { cursor: pointer; list-style: none; padding: 21px 4px; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--white); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus { position: relative; width: 13px; height: 13px; flex-shrink: 0; }
.faq__plus::before, .faq__plus::after { content: ''; position: absolute; inset: 0; margin: auto; background: var(--cyan); transition: transform 0.25s var(--ease), opacity 0.25s; }
.faq__plus::before { width: 13px; height: 2px; }
.faq__plus::after { width: 2px; height: 13px; }
.faq__item[open] .faq__plus::after { transform: rotate(90deg); opacity: 0; }
.faq__item p { padding: 0 4px 22px; color: var(--text); font-size: 15.5px; max-width: 660px; }
.faq__item p b { color: var(--cyan); }

/* ============ CLOSING ============ */
.closing { text-align: center; padding: clamp(72px, 11vw, 130px) var(--pad); border-top: 1px solid var(--line); background: radial-gradient(80% 120% at 50% 0%, rgba(31,155,214,0.12), transparent 60%); }
.closing__inner { max-width: 640px; margin: 0 auto; }
.closing h2 { font-size: clamp(30px, 5vw, 54px); }
.closing p { color: var(--text); font-size: 19px; margin: 16px 0 32px; }

/* ============ FOOTER ============ */
.footer { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: center; padding: 44px var(--pad); border-top: 1px solid var(--line); }
.footer__brand { display: flex; align-items: baseline; gap: 12px; }
.footer__tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); }
.footer__links { display: flex; flex-wrap: wrap; gap: 22px; justify-self: end; }
.footer__links a { font-family: var(--font-mono); font-size: 12px; color: var(--text); transition: color 0.2s; }
.footer__links a:hover { color: var(--cyan); }
.footer__legal { grid-column: 1 / -1; padding-top: 22px; border-top: 1px solid var(--line); }
.footer__legal p { color: var(--muted); font-size: 12.5px; margin-bottom: 4px; }

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.07s; } .reveal[data-d="2"] { transition-delay: 0.14s; }
.reveal[data-d="3"] { transition-delay: 0.21s; } .reveal[data-d="4"] { transition-delay: 0.28s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ============ RESPONSIVE ============ */
@media (max-width: 760px) {
  .hero__copy { max-width: 100%; }
  .hero__scrim { background:
    linear-gradient(180deg, rgba(7,10,19,0.82) 0%, transparent 38%),
    linear-gradient(0deg, var(--bg) 2%, rgba(7,10,19,0.5) 22%, transparent 56%),
    linear-gradient(90deg, rgba(7,10,19,0.84), rgba(7,10,19,0.45)); }
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 34px; }
  .hero__stage { max-width: 560px; }
  .window { transform: none; animation: none; }
  .feature { grid-template-columns: 1fr; gap: 30px; }
  .feature--reverse .feature__text { order: 0; }
  .modes__grid { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow__step:nth-child(2) { border-right: none; }
  .flow__step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .price { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .nav__links { display: none; }
  .nav__actions .btn--solid { display: none; }
  .nav__burger { display: flex; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .ticks--two { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr; }
  .flow__step { border-right: none; border-bottom: 1px solid var(--line); }
  .flow__step:last-child { border-bottom: none; }
  .vs { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr; }
  .footer__links { justify-self: start; }
}
@media (min-width: 681px) { .mobile-menu { display: none !important; } }
