/* CruiseCtrl marketing site — built on the app's Neon Underground tokens.
   Tokens (var --accent, --bg, --lavender, etc.) come from design-system.css */

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-display);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { width: min(1180px, 92vw); margin: 0 auto; }
.eyebrow {
  font-family: var(--f-mono); font-size: 12px; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--accent);
}
.lav { color: var(--lavender); }
.grn { color: var(--accent); }
.pnk { color: var(--pink); }

/* ── Buttons ─────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  font-family: var(--f-display); font-weight: 700; font-size: 15px;
  padding: 15px 26px; border-radius: 16px; border: 0;
  transition: transform .14s ease, box-shadow .2s ease, background .2s;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 26px var(--accent-glow); }
.btn--primary:hover { box-shadow: 0 0 40px var(--accent-glow); }
.btn--ghost { background: rgba(255,255,255,0.05); color: var(--text); border: 1px solid var(--glass-border); }
.btn--ghost:hover { background: rgba(255,255,255,0.09); }
.btn--lav { background: var(--lavender); color: #14102B; box-shadow: 0 0 24px var(--lavender-glow); }

/* ── Nav ─────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  backdrop-filter: blur(20px) saturate(160%);
  background: rgba(6,6,12,0.7);
  border-bottom: 1px solid var(--glass-border);
}
.nav__in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 900; font-size: 20px; letter-spacing: 0.02em; color: var(--text); }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.brand b { font-family: var(--f-display); font-weight: 900; font-size: 20px; letter-spacing: -0.3px; }
.brand-mark { flex: none; }
.brand .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); flex: none; }
.nav__links { display: flex; gap: 30px; align-items: center; }
.nav__links a { font-size: 14px; color: var(--text2); font-weight: 500; }
.nav__links a:hover { color: var(--text); }
@media (max-width: 860px){ .nav__links { display: none; } }

/* ── Hero ────────────────────────────────── */
.hero { position: relative; padding: 150px 0 80px; overflow: hidden; }
.hero__radar {
  position: absolute; top: -10%; left: 50%; transform: translateX(-50%);
  width: 1100px; height: 1100px; pointer-events: none; opacity: 0.5;
}
.hero__grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center;
  position: relative; z-index: 2;
}
.hero h1 {
  font-family: var(--f-display); font-weight: 900; font-size: clamp(40px, 6vw, 74px);
  line-height: 0.98; letter-spacing: -2px; margin: 18px 0 0;
}
.hero p.sub { font-size: clamp(16px,2vw,19px); color: var(--text2); margin: 22px 0 0; max-width: 520px; line-height: 1.55; }
.hero__cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 30px; margin-top: 40px; flex-wrap: wrap; }
.hero__stat .n { font-family: var(--f-display); font-weight: 800; font-size: 26px; color: var(--accent); }
.hero__stat .l { font-family: var(--f-mono); font-size: 11px; color: var(--text3); letter-spacing: 1px; text-transform: uppercase; margin-top: 2px; }
@media (max-width: 860px){ .hero__grid { grid-template-columns: 1fr; } .hero__phone-wrap { display: none; } }

/* ── Phone device ────────────────────────── */
.device {
  width: 300px; border-radius: 46px; padding: 11px;
  background: linear-gradient(160deg, #26263a, #0c0c16);
  box-shadow: 0 0 0 2px #000, 0 40px 90px rgba(0,0,0,0.7), 0 0 80px rgba(57,255,20,0.08);
  position: relative;
}
.device--hero { margin: 0 auto; transform: rotate(2deg); }
.device__screen {
  width: 100%; aspect-ratio: 412 / 892; border-radius: 36px; overflow: hidden;
  background: #06060C; position: relative;
}
.device__screen iframe { width: 412px; height: 892px; border: 0; transform: scale(calc(278/412)); transform-origin: top left; pointer-events: none; }
.device__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.device__notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 84px; height: 20px; background: #000; border-radius: 12px; z-index: 4; }

/* ── Section scaffolding ─────────────────── */
section { position: relative; }
.sec { padding: 90px 0; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.sec-head h2 { font-family: var(--f-display); font-weight: 800; font-size: clamp(30px,4.4vw,46px); letter-spacing: -1px; margin: 14px 0 0; line-height: 1.05; }
.sec-head p { color: var(--text2); font-size: 17px; margin-top: 16px; line-height: 1.55; }

/* ── Feature rows ────────────────────────── */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 56px 0; }
.feature:nth-child(even) .feature__media { order: 2; }
.feature__media { display: flex; justify-content: center; }
.feature__body h3 { font-family: var(--f-display); font-weight: 800; font-size: clamp(26px,3vw,36px); letter-spacing: -0.6px; line-height: 1.08; margin: 14px 0 0; }
.feature__body p { color: var(--text2); font-size: 16px; line-height: 1.6; margin-top: 16px; }
.feature__list { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.feature__list li { list-style: none; display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--text); }
.feature__list li svg { flex-shrink: 0; margin-top: 2px; }
@media (max-width: 860px){
  .feature { grid-template-columns: 1fr; gap: 30px; text-align: left; }
  .feature:nth-child(even) .feature__media { order: 0; }
}

/* ── Card grid (safety etc) ──────────────── */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px){ .cards { grid-template-columns: 1fr; } }
.card {
  background: var(--bg2); border: 1px solid var(--glass-border); border-radius: 20px; padding: 26px;
}
.card .ic { width: 46px; height: 46px; border-radius: 13px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.card h4 { font-family: var(--f-display); font-weight: 700; font-size: 18px; }
.card p { color: var(--text2); font-size: 14px; line-height: 1.55; margin-top: 8px; }

/* ── Band (full-width accent) ────────────── */
.band { background: linear-gradient(180deg, color-mix(in oklab, var(--lavender) 8%, var(--bg)), var(--bg)); border-top: 1px solid var(--glass-border); border-bottom: 1px solid var(--glass-border); }

/* ── Premium ─────────────────────────────── */
.plan { max-width: 520px; margin: 0 auto; background: linear-gradient(160deg,#14102B,#0c0916); border: 1px solid color-mix(in oklab, var(--lavender) 35%, transparent); border-radius: 26px; padding: 36px; text-align: center; }
.plan .price { font-family: var(--f-display); font-weight: 900; font-size: 52px; color: var(--lavender); letter-spacing: -1.5px; }
.plan ul { list-style: none; text-align: left; margin: 24px 0; display: flex; flex-direction: column; gap: 12px; }
.plan ul li { display: flex; gap: 10px; font-size: 15px; color: var(--text); }

/* ── FAQ ─────────────────────────────────── */
.faq { max-width: 800px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--glass-border); padding: 20px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { color: var(--accent); font-size: 22px; transition: transform .2s; }
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq p { color: var(--text2); font-size: 15px; line-height: 1.6; margin-top: 14px; }

/* ── CTA final ───────────────────────────── */
.cta-final { text-align: center; padding: 100px 0; }
.cta-final h2 { font-family: var(--f-display); font-weight: 900; font-size: clamp(34px,5vw,60px); letter-spacing: -1.5px; line-height: 1; }

/* ── Footer ──────────────────────────────── */
.footer { border-top: 1px solid var(--glass-border); background: var(--bg1); padding: 60px 0 40px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
@media (max-width: 860px){ .footer__grid { grid-template-columns: 1fr 1fr; } }
.footer h5 { font-family: var(--f-mono); font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text3); margin-bottom: 16px; }
.footer a { display: block; color: var(--text2); font-size: 14px; margin-bottom: 11px; }
.footer a:hover { color: var(--accent); }
.footer__legal { margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--glass-border); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.footer__legal p { color: var(--text3); font-size: 12.5px; line-height: 1.6; max-width: 640px; }
.dns { color: var(--lavender) !important; font-weight: 600; font-size: 13px !important; }

/* ── Age gate ────────────────────────────── */
.gate { position: fixed; inset: 0; z-index: 200; background: rgba(4,4,9,0.96); backdrop-filter: blur(14px); display: flex; align-items: center; justify-content: center; padding: 24px; }
.gate__card { max-width: 440px; text-align: center; background: var(--bg2); border: 1px solid var(--glass-border); border-radius: 24px; padding: 40px 32px; }
.gate__card img { width: 60px; height: 60px; border-radius: 16px; margin: 0 auto 22px; }
.gate__card h2 { font-family: var(--f-display); font-weight: 800; font-size: 26px; }
.gate__card p { color: var(--text2); font-size: 14px; line-height: 1.6; margin: 14px 0 26px; }
.gate__btns { display: flex; gap: 12px; }
.gate__btns .btn { flex: 1; justify-content: center; }
.gate__leave { background: transparent; border: 1px solid var(--glass-border); color: var(--text2); }

/* ── Cookie banner ───────────────────────── */
.cookie { position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 150; width: min(960px, 94vw); background: rgba(17,17,31,0.96); backdrop-filter: blur(16px); border: 1px solid var(--glass-border); border-radius: 18px; padding: 18px 20px; display: flex; gap: 18px; align-items: center; box-shadow: 0 20px 60px rgba(0,0,0,0.6); }
.cookie p { font-size: 13px; color: var(--text2); line-height: 1.5; flex: 1; }
.cookie p a { color: var(--accent); }
.cookie__btns { display: flex; gap: 8px; flex-shrink: 0; }
.cookie .btn { padding: 10px 16px; font-size: 13px; }
@media (max-width: 720px){ .cookie { flex-direction: column; align-items: stretch; } .cookie__btns { justify-content: stretch; } .cookie__btns .btn { flex: 1; justify-content: center; } }

/* legal page body */
.legal { padding: 120px 0 80px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-family: var(--f-display); font-weight: 800; font-size: 40px; letter-spacing: -1px; }
.legal .updated { font-family: var(--f-mono); font-size: 12px; color: var(--text3); margin-top: 8px; letter-spacing: 1px; }
.legal .tmpl { margin: 24px 0 36px; padding: 16px 18px; border-radius: 14px; background: var(--amber-dim); border: 1px solid color-mix(in oklab, var(--amber) 30%, transparent); color: var(--amber); font-size: 13.5px; line-height: 1.55; }
.legal h2 { font-family: var(--f-display); font-weight: 700; font-size: 24px; margin: 40px 0 0; letter-spacing: -0.4px; }
.legal h3 { font-weight: 700; font-size: 17px; margin: 26px 0 0; }
.legal p, .legal li { color: var(--text2); font-size: 15px; line-height: 1.7; margin-top: 12px; }
.legal ul { margin-top: 12px; padding-left: 22px; }
.legal li { margin-top: 6px; }
.legal a { color: var(--accent); }
.legal .toc { background: var(--bg2); border: 1px solid var(--glass-border); border-radius: 16px; padding: 22px 26px; margin-top: 30px; }
.legal .toc a { display: block; margin: 8px 0; font-size: 14px; }

/* ── Live radar mock (feature [01]) ──────── */
.radar-live { margin: 2px 0 16px; }
.radar-live__svg { width: 100%; height: auto; display: block; }
.radar-sweep { transform-box: view-box; transform-origin: 160px 100px; animation: radarspin 4.5s linear infinite; }
@keyframes radarspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce){ .radar-sweep { animation: none; } }
