/* ==========================================================================
   TruckBooks — Waitlist Landing (v2)
   Starry-sky background, tighter spacing, animated phone mockups.
   ========================================================================== */

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- Tokens ---------- */
:root {
  /* Base colors tuned to match the app's night-sky vibe */
  --bg:          #05070d;
  --bg-elev:     #0d131f;
  --bg-elev-2:   #141b2b;
  --border:      rgba(255,255,255,.08);
  --border-2:    rgba(255,255,255,.14);

  --text:        #ffffff;
  --text-dim:    #c9cfdd;
  --muted:       #8089a0;

  --orange:      #F59E0B;
  --orange-2:    #FFB23C;
  --orange-3:    #FF8A00;
  --orange-dim:  rgba(245,158,11,.18);
  --orange-glow: rgba(245,158,11,.35);
  --green:       #22c55e;
  --red:         #ef4444;
  --red-dim:     rgba(239,68,68,.12);

  --radius:       16px;
  --radius-lg:    24px;
  --radius-device: 38px;

  --container: 1180px;

  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto,
          'Helvetica Neue', Arial, sans-serif;
}

body {
  background: #000;
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* =================== STARRY SKY BACKGROUND =================== */
.sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% -10%, #1a2236 0%, transparent 55%),
    radial-gradient(ellipse at 20% 80%, #11182a 0%, transparent 45%),
    linear-gradient(180deg, #05080f 0%, #060911 40%, #03060c 100%);
}

/* Star layers — three parallax layers of twinkling dots via radial-gradients */
.sky__stars {
  position: absolute;
  inset: 0;
  background-repeat: repeat;
  will-change: transform;
}
.sky__stars--far {
  background-image:
    radial-gradient(1px 1px at 11% 17%, rgba(255,255,255,.6), transparent 50%),
    radial-gradient(1px 1px at 27% 55%, rgba(255,255,255,.45), transparent 50%),
    radial-gradient(1px 1px at 42% 23%, rgba(255,255,255,.55), transparent 50%),
    radial-gradient(1px 1px at 58% 68%, rgba(255,255,255,.4), transparent 50%),
    radial-gradient(1px 1px at 71% 31%, rgba(255,255,255,.5), transparent 50%),
    radial-gradient(1px 1px at 84% 72%, rgba(255,255,255,.55), transparent 50%),
    radial-gradient(1px 1px at 93% 46%, rgba(255,255,255,.4), transparent 50%),
    radial-gradient(1px 1px at 8% 83%, rgba(255,255,255,.5), transparent 50%),
    radial-gradient(1px 1px at 33% 89%, rgba(255,255,255,.42), transparent 50%),
    radial-gradient(1px 1px at 63% 12%, rgba(255,255,255,.55), transparent 50%);
  background-size: 620px 620px;
  opacity: .55;
  animation: twinkle-far 7s ease-in-out infinite alternate;
}
.sky__stars--mid {
  background-image:
    radial-gradient(1.2px 1.2px at 15% 40%, rgba(255,255,255,.85), transparent 55%),
    radial-gradient(1.2px 1.2px at 35% 75%, rgba(255,255,255,.75), transparent 55%),
    radial-gradient(1.4px 1.4px at 55% 20%, rgba(255,255,255,.9), transparent 55%),
    radial-gradient(1.2px 1.2px at 75% 50%, rgba(255,255,255,.7), transparent 55%),
    radial-gradient(1.2px 1.2px at 90% 85%, rgba(255,255,255,.8), transparent 55%),
    radial-gradient(1.4px 1.4px at 22% 10%, rgba(255,255,255,.9), transparent 55%),
    radial-gradient(1.2px 1.2px at 65% 95%, rgba(255,255,255,.75), transparent 55%);
  background-size: 480px 480px;
  opacity: .7;
  animation: twinkle-mid 5s ease-in-out infinite alternate;
}
.sky__stars--near {
  background-image:
    radial-gradient(2px 2px at 18% 25%, rgba(255,255,255,.95), transparent 50%),
    radial-gradient(1.6px 1.6px at 48% 62%, rgba(255,240,220,.9), transparent 55%),
    radial-gradient(2px 2px at 82% 18%, rgba(255,255,255,1), transparent 50%),
    radial-gradient(1.8px 1.8px at 12% 88%, rgba(255,255,255,.9), transparent 55%),
    radial-gradient(2px 2px at 95% 55%, rgba(255,240,220,.95), transparent 50%);
  background-size: 720px 720px;
  opacity: .95;
  animation: twinkle-near 4s ease-in-out infinite alternate;
}
@keyframes twinkle-far {
  0%, 100% { opacity: .5; }
  50%      { opacity: .7; }
}
@keyframes twinkle-mid {
  0%, 100% { opacity: .6; }
  50%      { opacity: .85; }
}
@keyframes twinkle-near {
  0%, 100% { opacity: .75; }
  50%      { opacity: 1; }
}

/* Shooting star — occasional diagonal streak */
.sky__shooting {
  position: absolute;
  top: 18%;
  left: -10%;
  width: 140px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.9), transparent);
  filter: drop-shadow(0 0 3px rgba(255,255,255,.7));
  opacity: 0;
  transform: rotate(18deg);
  animation: shoot 11s ease-in infinite;
}
@keyframes shoot {
  0%, 88%, 100% { opacity: 0; transform: translate(0,0) rotate(18deg); }
  90%           { opacity: 1; }
  98%           { opacity: 0; transform: translate(120vw, 40vh) rotate(18deg); }
}

/* Subtle haze near horizon */
.sky__haze {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  height: 40%;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(60,90,140,.18), transparent 65%),
    linear-gradient(180deg, transparent 0%, rgba(0,0,0,.5) 80%, #000 100%);
}

/* Mountain silhouette (jagged, near horizon) */
.sky__mountains {
  position: absolute;
  left: 0; right: 0;
  bottom: 60px;
  width: 100%;
  height: clamp(140px, 22vh, 260px);
  filter: drop-shadow(0 -2px 6px rgba(0,0,0,.5));
}

/* Tree silhouette strip at the very bottom */
.sky__trees {
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  width: 100%;
  height: 120px;
}

/* Lift all real content above the fixed sky */
main, .nav, .footer, .sticky-cta { position: relative; z-index: 1; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 72px 0;
  position: relative;
}
.section--tight { padding: 56px 0; }
.section__narrow { max-width: 720px; margin: 0 auto; }
.section__head.center { text-align: center; margin: 0 auto 40px; max-width: 760px; }
.section__head .subtitle { margin-top: 8px; }
.center { text-align: center; }

/* ---------- Typography ---------- */
.h1 {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.03;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}
.h2 {
  font-size: clamp(28px, 3.8vw, 44px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.h2--xl { font-size: clamp(34px, 4.6vw, 56px); }

.lead {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--text-dim);
  margin: 0 0 24px;
  max-width: 560px;
}
.body-lg {
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.6;
  color: var(--text-dim);
  margin: 0 0 14px;
}
.body-lg.muted { color: var(--muted); }
.callout {
  font-size: clamp(18px, 1.4vw, 22px);
  font-weight: 600;
  color: var(--orange);
  margin-top: 20px;
}
.muted { color: var(--muted); }
.accent { color: var(--orange); }

/* Orange gradient text for emphasis */
.accent-grad {
  background: linear-gradient(90deg, #FFB23C, #F59E0B 60%, #FF8A00);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  background-size: 200% 100%;
  animation: grad-shift 8s ease infinite;
}
@keyframes grad-shift {
  0%, 100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-dim);
  border: 1px solid rgba(245,158,11,.25);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow--muted { color: var(--muted); background: rgba(255,255,255,.04); border-color: var(--border); }
.eyebrow__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(34,197,94,.6);
  animation: pulse-green 1.8s infinite;
}
@keyframes pulse-green {
  0%,100% { box-shadow: 0 0 0 0 rgba(34,197,94,.55); }
  70%     { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 22px;
  border-radius: 12px;
  border: 0;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, opacity .2s;
  white-space: nowrap;
  position: relative;
}
.btn--sm { padding: 10px 16px; font-size: 14px; }
.btn--lg { padding: 18px 28px; font-size: 18px; border-radius: 14px; }
.btn--primary {
  color: #111;
  background: linear-gradient(180deg, var(--orange-2), var(--orange));
  box-shadow:
    0 10px 25px -10px var(--orange-glow),
    inset 0 1px 0 rgba(255,255,255,.3);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 14px 32px -10px var(--orange-glow), inset 0 1px 0 rgba(255,255,255,.3); }
.btn--primary:active { transform: translateY(0); }
/* Glowing pulse ring on primary CTA */
.btn--lg::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 18px;
  box-shadow: 0 0 0 0 var(--orange-glow);
  animation: ring 2.2s ease-out infinite;
  pointer-events: none;
}
@keyframes ring {
  0%   { box-shadow: 0 0 0 0 rgba(245,158,11,.45); }
  80%  { box-shadow: 0 0 0 22px rgba(245,158,11,0); }
  100% { box-shadow: 0 0 0 0 rgba(245,158,11,0); }
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(5,7,13,0.45);
  border-bottom: 1px solid transparent;
  transition: background .2s, border-color .2s;
}
.nav.is-scrolled {
  background: rgba(5,7,13,0.82);
  border-bottom-color: var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 64px;
}
.nav__logo img { height: 30px; width: auto; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  margin-right: 4px;
}
.nav__link {
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.005em;
  padding: 6px 2px;
  position: relative;
  transition: color .15s;
}
.nav__link:hover { color: var(--orange); }
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .2s ease;
}
.nav__link:hover::after { transform: scaleX(1); }
@media (max-width: 720px) {
  .nav__links { display: none; }
}

/* ---------- Ghost button (secondary CTA) ---------- */
.btn--ghost {
  color: var(--text);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border-2);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(245,158,11,.4);
  color: var(--orange);
}
.btn--block { display: flex; width: 100%; }

/* ---------- Footer links (used on home + waitlist) ---------- */
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin: 4px 0 6px;
}
.footer__links a {
  color: var(--text-dim);
  font-size: 14px;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: color .15s, border-color .15s;
}
.footer__links a:hover { color: var(--orange); border-color: var(--orange); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 72px 0 40px;
  overflow: hidden;
}
.hero__glow {
  position: absolute;
  top: -160px; right: -220px;
  width: 680px; height: 680px;
  background: radial-gradient(closest-side, var(--orange-glow), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
  animation: float-glow 9s ease-in-out infinite alternate;
}
@keyframes float-glow {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(-30px, 30px) scale(1.08); }
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero { padding: 40px 0 16px; }
  .hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .hero__visual { order: 2; }
}

/* ---------- Phone stack (hero — two layered phones) ---------- */
.phone-stack {
  position: relative;
  width: 100%;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone-stack .device { position: absolute; }
.phone-stack .device--back {
  transform: translate(-90px, 20px) rotate(-8deg);
  z-index: 1;
  opacity: .92;
}
.phone-stack .device--front {
  transform: translate(60px, -10px) rotate(4deg);
  z-index: 2;
}
@media (max-width: 900px) {
  .phone-stack { min-height: 480px; }
  .phone-stack .device--back  { transform: translate(-70px, 10px) rotate(-8deg); }
  .phone-stack .device--front { transform: translate(40px, -10px) rotate(4deg); }
}
@media (max-width: 560px) {
  .phone-stack { min-height: 440px; }
  .phone-stack .device--back  { transform: translate(-50px, 10px) rotate(-8deg); }
  .phone-stack .device--front { transform: translate(30px, 0) rotate(4deg); }
}

/* ---------- Waitlist form ---------- */
.waitlist-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  max-width: 520px;
  margin: 4px 0 16px;
}
.waitlist-form input[type="email"] {
  background: rgba(13,19,31,.8);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--border-2);
  color: var(--text);
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 16px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.waitlist-form input[type="email"]::placeholder { color: var(--muted); }
.waitlist-form input[type="email"]:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(245,158,11,.15);
}
.waitlist-form .hp {
  position: absolute;
  left: -10000px;
  width: 1px; height: 1px;
  overflow: hidden;
}
.waitlist-form__msg {
  grid-column: 1 / -1;
  margin: 6px 0 0;
  font-size: 14px;
  min-height: 20px;
  color: var(--muted);
}
.waitlist-form.is-success .waitlist-form__msg { color: var(--green); font-weight: 600; }
.waitlist-form.is-error .waitlist-form__msg { color: #ff7a7a; }
.waitlist-form--cta { margin: 24px auto 12px; max-width: 560px; }
@media (max-width: 560px) { .waitlist-form { grid-template-columns: 1fr; } }

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  margin-top: 10px;
}
.trust--center { justify-content: center; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(34,197,94,.6);
}

/* ---------- Device (phone mockup) ---------- */
.device {
  position: relative;
  width: 280px;
  padding: 9px;
  background: linear-gradient(180deg, #1a1f2e, #0b0f19);
  border-radius: var(--radius-device);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow:
    0 50px 90px -30px rgba(0,0,0,.9),
    0 0 0 1px rgba(255,255,255,.04) inset,
    0 20px 50px -15px var(--orange-glow);
  transition: transform .4s cubic-bezier(.2,.7,.3,1), box-shadow .3s;
}
.device:hover {
  box-shadow:
    0 60px 110px -30px rgba(0,0,0,.95),
    0 0 0 1px rgba(255,255,255,.08) inset,
    0 30px 70px -15px var(--orange-glow);
}
.device img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-device) - 11px);
}
.device__notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 20px;
  background: #04060c;
  border-radius: 14px;
  z-index: 3;
  box-shadow: inset 0 -1px 0 rgba(255,255,255,.05);
}
.device--md { width: 240px; }
.device--sm { width: 170px; padding: 7px; border-radius: 28px; }
.device--sm img { border-radius: 22px; }
.device--sm .device__notch { width: 54px; height: 14px; top: 11px; border-radius: 8px; }

@media (max-width: 900px) {
  .device { width: 260px; }
  .device--md { width: 220px; }
  .device--sm { width: 150px; }
}
@media (max-width: 480px) {
  .device {
    width: 240px;
    padding: 7px;
    border-radius: 32px;
  }
  .device img { border-radius: 26px; }
  .device__notch { width: 68px; height: 16px; top: 13px; }
  .device--md { width: 220px; }
}

/* Floating animations — three subtly different loops so phones don't sync */
.float-slow { animation: floaty 7s ease-in-out infinite; }
.float-mid  { animation: floaty 5.5s ease-in-out infinite .4s; }
.float-fast { animation: floaty 4.5s ease-in-out infinite .8s; }
@keyframes floaty {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -10px; }
}

/* Hero sparkles */
.spark {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,210,120,1) 0%, transparent 70%);
  filter: blur(.5px);
  opacity: 0;
  animation: spark 4.8s ease-in-out infinite;
}
.spark--1 { top: 20%; right: -14px; animation-delay: .3s; }
.spark--2 { bottom: 28%; left: -10px; animation-delay: 2s; }
@keyframes spark {
  0%, 80%, 100% { opacity: 0; transform: scale(.6); }
  40%           { opacity: 1; transform: scale(1.3); }
}

/* Listening ring pulse around the red mic */
.listening-ring {
  position: absolute;
  top: 44%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid rgba(239,68,68,.55);
  animation: ring-red 1.6s ease-out infinite;
  pointer-events: none;
}
@keyframes ring-red {
  0%   { transform: translate(-50%, -50%) scale(.6); opacity: .8; }
  100% { transform: translate(-50%, -50%) scale(1.6); opacity: 0; }
}

/* ---------- Problem section ---------- */
.section--problem {
  text-align: center;
}
.section--problem .body-lg {
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 500;
  color: var(--text-dim);
}

/* ---------- Reframe ---------- */
.section--reframe { text-align: center; }

/* ---------- Mechanism — the flow ---------- */
.section--mechanism {
  position: relative;
}
.flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 20px;
  align-items: start;
  justify-items: center;
  margin: 0 0 56px;
}
.flow__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 280px;
  text-align: center;
}
.flow__badge {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--orange-dim);
  border: 1px solid rgba(245,158,11,.35);
  color: var(--orange);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}
.flow__caption {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
}
.flow__caption strong { color: var(--text); display: block; margin-bottom: 2px; }
.flow__arrow {
  align-self: center;
  font-size: 28px;
  color: var(--orange);
  font-weight: 300;
  margin-top: 120px;
}
@media (max-width: 900px) {
  .flow {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .flow__arrow {
    margin-top: 0;
    transform: rotate(90deg);
  }
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 0 0 28px;
}
.feature-grid li {
  padding: 18px 18px 16px;
  background: rgba(13,19,31,.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .25s, border-color .25s, background .25s;
}
.feature-grid li:hover {
  transform: translateY(-3px);
  border-color: rgba(245,158,11,.35);
  background: rgba(20,27,43,.7);
}
.feature-grid__icon {
  display: inline-flex;
  width: 36px; height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--orange-dim);
  border: 1px solid rgba(245,158,11,.25);
  font-size: 18px;
  margin-bottom: 10px;
}
.feature-grid strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}
.feature-grid p { margin: 0; color: var(--muted); font-size: 13.5px; }

@media (max-width: 720px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

.pull-quote {
  margin: 16px auto 0;
  max-width: 780px;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ---------- Before / After ---------- */
.section--transform {}
.ba {
  display: grid;
  grid-template-columns: 1fr 56px 1fr;
  gap: 0;
  align-items: stretch;
}
@media (max-width: 800px) {
  .ba { grid-template-columns: 1fr; gap: 12px; }
  .ba__arrow { transform: rotate(90deg); text-align: center; }
}

.ba__card {
  position: relative;
  padding: 28px 26px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(13,19,31,.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  min-height: 240px;
  overflow: hidden;
  transition: transform .3s ease;
}
.ba__card:hover { transform: translateY(-4px); }
.ba__card ul { display: grid; gap: 12px; margin: 16px 0 0; }
.ba__card li { display: flex; align-items: center; gap: 12px; font-size: 16px; }
.ba__card .x, .ba__card .c {
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%;
  font-size: 12px; font-weight: 800; flex-shrink: 0;
}
.ba__card .x { background: var(--red-dim); color: #ff8a8a; }
.ba__card .c { background: rgba(34,197,94,.15); color: var(--green); }

.ba__card--before { filter: saturate(.6); color: var(--muted); }
.ba__card--before li { color: var(--muted); }
.ba__chaos {
  position: absolute;
  right: -10px; bottom: -10px;
  font-size: 56px;
  opacity: .13;
  transform: rotate(-12deg);
  letter-spacing: -12px;
}

.ba__card--after {
  border-color: rgba(245,158,11,.4);
  background:
    radial-gradient(circle at 100% 0%, rgba(245,158,11,.12), transparent 50%),
    rgba(13,19,31,.75);
  box-shadow: 0 30px 60px -30px var(--orange-glow);
}
.ba__label {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255,255,255,.06);
  color: var(--muted);
}
.ba__card--after .ba__label { background: var(--orange-dim); color: var(--orange); }
.ba__peek {
  position: absolute;
  right: -20px; bottom: -54px;
  opacity: .78;
  transform: rotate(8deg);
  pointer-events: none;
}
@media (max-width: 800px) {
  .ba__peek { right: -14px; bottom: -40px; }
}

.ba__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: var(--orange);
  font-weight: 300;
}

/* ---------- Social ---------- */
.avatars {
  display: flex;
  justify-content: center;
  margin: 24px 0 0;
}
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2a3245, #171c2b);
  border: 2px solid #05070d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: var(--text-dim);
  margin-left: -10px;
}
.avatar:first-child { margin-left: 0; }
.avatar:last-child {
  background: var(--orange-dim);
  color: var(--orange);
  border-color: rgba(245,158,11,.3);
}

/* ---------- Report showcase ---------- */
.section--report {}
.report {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) {
  .report { grid-template-columns: 1fr; gap: 36px; }
  .report__visual { order: 2; display: flex; justify-content: center; }
}
.report__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 0;
}
.report__chips li {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(13,19,31,.7);
  border: 1px solid var(--border-2);
  color: var(--text-dim);
}

/* ---------- Final CTA ---------- */
.section--cta {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(245,158,11,.18), transparent 60%),
    radial-gradient(ellipse at 50% 100%, rgba(245,158,11,.08), transparent 60%);
  pointer-events: none;
}
.section--cta > .container { position: relative; z-index: 1; }

.urgency {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 20px auto 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--orange);
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--orange-dim);
  border: 1px solid rgba(245,158,11,.25);
}
.pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(245,158,11,.6);
  animation: pulse-o 1.8s infinite;
}
@keyframes pulse-o {
  0%   { box-shadow: 0 0 0 0 rgba(245,158,11,.55); }
  70%  { box-shadow: 0 0 0 12px rgba(245,158,11,0); }
  100% { box-shadow: 0 0 0 0 rgba(245,158,11,0); }
}

/* ---------- Footer ---------- */
.footer {
  padding: 36px 0 36px;
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}
.footer__brand img { height: 28px; opacity: .9; }
.footer__tag { margin: 0; }
.footer__meta { margin: 0; font-size: 14px; }
.footer a { color: var(--text-dim); border-bottom: 1px dashed var(--border-2); }
.footer a:hover { color: var(--orange); border-color: var(--orange); }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  display: none;
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translate(-50%, 100px);
  padding: 14px 24px;
  background: linear-gradient(180deg, var(--orange-2), var(--orange));
  color: #111;
  font-weight: 800;
  border-radius: 999px;
  z-index: 40;
  box-shadow: 0 18px 40px -12px var(--orange-glow), 0 0 0 1px rgba(0,0,0,.1);
  transition: transform .3s ease;
}
.sticky-cta.is-visible { transform: translate(-50%, 0); }
@media (max-width: 720px) {
  .sticky-cta { display: inline-flex; }
  .footer { padding-bottom: 90px; }
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px) scale(.98);
  transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.reveal--delay   { transition-delay: .12s; }
.reveal--delay-2 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .pulse, .sky__shooting, .sky__stars, .float-slow, .float-mid, .float-fast,
  .listening-ring, .hero__glow, .btn--lg::after, .spark, .eyebrow__dot,
  .accent-grad { animation: none; }
  html { scroll-behavior: auto; }
}
