/* ===================================================================
   Fasti — getfasti.com
   Mirrors the app's design system: aurora background, elevated glass,
   violet #7C5CFF → aqua-teal #18E0C8 gradient, calm & spacious.
   =================================================================== */
:root {
  --bg: #0a0a0f;
  --bg-soft: #121219;
  --card: rgba(255, 255, 255, 0.04);
  --card-border: rgba(255, 255, 255, 0.08);
  --glass: rgba(23, 24, 36, 0.62);
  --glass-strong: rgba(13, 13, 21, 0.72);
  --fill: rgba(255, 255, 255, 0.05);
  --fill-2: rgba(255, 255, 255, 0.09);
  --text: #f4f4f7;
  --text-dim: #9a9aa8;
  --text-mute: #6c6c7d;
  --accent: #7c5cff;
  --accent-2: #18e0c8;
  --accent-soft: #b9a7ff;
  --grad: linear-gradient(135deg, #7c5cff, #18e0c8);
  --grad-text: linear-gradient(120deg, #c4b5ff, #6fe8d8);
  --radius: 24px;
  --radius-sm: 16px;
  --maxw: 1140px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--bg); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 3px; border-radius: 8px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0; z-index: 100; }
.skip:focus { left: 0; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── animated aurora background (same idea as the app) ───────────────── */
.glow { position: fixed; border-radius: 50%; filter: blur(80px); z-index: -1; pointer-events: none; will-change: transform; }
.glow.a { width: 60vmax; height: 60vmax; background: radial-gradient(circle, var(--accent), transparent 62%); top: -22%; left: -16%; opacity: .42; animation: drift1 34s ease-in-out infinite alternate; }
.glow.b { width: 62vmax; height: 62vmax; background: radial-gradient(circle, var(--accent-2), transparent 62%); bottom: -26%; right: -18%; opacity: .34; animation: drift2 38s ease-in-out infinite alternate; }
.glow.c { width: 44vmax; height: 44vmax; background: radial-gradient(circle, #4f7bff, transparent 62%); bottom: -18%; left: 28%; opacity: .2; animation: drift1 46s ease-in-out infinite alternate; }
@keyframes drift1 { 0% { transform: translate3d(0,0,0); } 100% { transform: translate3d(7%, 9%, 0); } }
@keyframes drift2 { 0% { transform: translate3d(0,0,0); } 100% { transform: translate3d(-8%, -7%, 0); } }

/* ── header ──────────────────────────────────────────────────────── */
header { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(150%) blur(18px); -webkit-backdrop-filter: saturate(150%) blur(18px); background: var(--glass-strong); border-bottom: 1px solid var(--card-border); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.brand img { width: 32px; height: 32px; border-radius: 10px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--text-dim); font-size: 14.5px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: inline-flex; align-items: center; gap: 7px; background: var(--grad); color: #fff !important; font-weight: 600; font-size: 14px; padding: 9px 17px; border-radius: 999px; box-shadow: 0 8px 22px -10px rgba(124,92,255,.7); }
.nav-cta:hover { color: #fff; }
@media (max-width: 760px) { .nav-links a:not(.nav-cta) { display: none; } }

/* ── buttons ─────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: 15px; padding: 14px 26px; border-radius: 999px; cursor: pointer; border: none; transition: transform .15s ease, box-shadow .2s, background .2s; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 12px 34px -10px rgba(124, 92, 255, 0.6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -10px rgba(124, 92, 255, 0.78); }
.btn-ghost { background: var(--fill); color: var(--text); border: 1px solid var(--card-border); }
.btn-ghost:hover { transform: translateY(-2px); background: var(--fill-2); }

/* store badge */
.badge { display: inline-flex; align-items: center; gap: 10px; background: #050507; border: 1px solid #26262f; color: #fff; padding: 11px 20px 11px 16px; border-radius: 16px; transition: transform .15s, border-color .2s; }
.badge:hover { transform: translateY(-2px); border-color: #3a3a46; }
.badge svg { width: 24px; height: 24px; }
.badge .small { font-size: 10px; letter-spacing: .04em; opacity: .8; display: block; line-height: 1; margin-bottom: 2px; }
.badge .big { font-size: 17px; font-weight: 600; line-height: 1; letter-spacing: -.01em; }

/* ── hero ────────────────────────────────────────────────────────── */
.hero { position: relative; padding: 88px 0 72px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 52px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--accent-soft); background: rgba(124, 92, 255, 0.12); border: 1px solid rgba(124, 92, 255, 0.28); padding: 7px 14px; border-radius: 999px; margin-bottom: 24px; }
.hero h1 { font-size: clamp(44px, 7vw, 74px); line-height: 1.0; letter-spacing: -0.04em; font-weight: 800; margin-bottom: 22px; }
.hero p.sub { font-size: clamp(16.5px, 2.1vw, 20px); color: var(--text-dim); max-width: 520px; margin-bottom: 34px; }
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 20px; font-size: 13px; color: var(--text-mute); }
@media (max-width: 880px) {
  .hero { padding: 40px 0 44px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero p.sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  /* Headline + download CTAs first; phone mockup below as support. */
  .phone-stage { order: 2; margin-top: 6px; }
}

/* ── phone mockup (mirrors the in-app Today view) ────────────────── */
.phone-stage { position: relative; display: flex; justify-content: center; }
.phone { position: relative; width: 292px; height: 600px; border-radius: 48px; background: linear-gradient(165deg, #16161e, #0a0a10); border: 9px solid #0b0b11; box-shadow: 0 50px 110px -34px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.06), inset 0 0 0 2px rgba(255,255,255,.04); overflow: hidden; }
.phone::before { content: ""; position: absolute; top: 13px; left: 50%; transform: translateX(-50%); width: 104px; height: 27px; background: #050509; border-radius: 999px; z-index: 5; }
.scr { position: absolute; inset: 0; padding: 48px 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.scr-top { display: flex; align-items: center; justify-content: space-between; padding: 0 4px 6px; }
.scr-top .t { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.scr-top .plus { width: 30px; height: 30px; border-radius: 10px; background: var(--fill-2); display: grid; place-items: center; color: var(--accent-soft); font-size: 18px; }
.ev { border-radius: 16px; padding: 11px 13px; font-size: 12.5px; background: var(--glass); border: 1px solid var(--card-border); border-left-width: 3px; }
.ev .et { font-weight: 600; font-size: 13px; }
.ev .es { opacity: .7; font-size: 11px; }
.ev.school { border-left-color: #7c5cff; }
.ev.work { border-left-color: #18e0c8; }
.ev.commute { border-left-color: #60a5fa; }
.ev.fit { border-left-color: #ff6b9d; }
.float { position: absolute; backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); background: var(--glass-strong); border: 1px solid var(--card-border); border-radius: 20px; box-shadow: 0 28px 64px -22px rgba(0,0,0,.75); padding: 15px; }
.float.ring { top: 96px; right: -34px; width: 168px; text-align: center; }
.ring-dial { width: 96px; height: 96px; margin: 4px auto 8px; border-radius: 50%; background: conic-gradient(from 200deg, #18e0c8, #7c5cff 70%, rgba(255,255,255,.07) 70%); display: grid; place-items: center; position: relative; }
.ring-dial::after { content: ""; position: absolute; inset: 13px; border-radius: 50%; background: #111119; }
.ring-dial .v { position: relative; z-index: 2; font-size: 22px; font-weight: 800; }
.float.ring .lbl { font-size: 11px; color: var(--text-dim); }
.float.stats { top: 230px; right: -34px; width: 168px; display: flex; gap: 14px; }
.float.stats .st .n { font-size: 18px; font-weight: 800; }
.float.stats .st .l { font-size: 10.5px; color: var(--text-dim); }
.float.assist { bottom: 60px; right: -20px; width: 184px; }
.float.assist .h { font-weight: 700; font-size: 13px; margin-bottom: 8px; }
.float.assist .row { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--text-dim); margin-top: 5px; }
.dot { width: 7px; height: 7px; border-radius: 999px; background: var(--accent-2); box-shadow: 0 0 0 4px rgba(24,224,200,.12); }
@media (max-width: 420px) { .float.ring, .float.stats { right: -8px; } .float.assist { right: 2px; } }

/* ── sections ────────────────────────────────────────────────────── */
section { position: relative; }
.section { padding: 80px 0; }
.eyebrow { text-align: center; font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-soft); margin-bottom: 14px; }
.h2 { text-align: center; font-size: clamp(28px, 4.5vw, 44px); letter-spacing: -.035em; font-weight: 800; line-height: 1.06; margin: 0 auto 16px; max-width: 740px; }
.lede { text-align: center; color: var(--text-dim); font-size: 17.5px; max-width: 640px; margin: 0 auto 52px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.card { background: var(--glass); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 28px 24px; transition: transform .2s, border-color .2s, box-shadow .2s; box-shadow: inset 0 1px 0 rgba(255,255,255,.04); }
.card:hover { transform: translateY(-4px); border-color: rgba(124,92,255,.45); box-shadow: 0 26px 60px -34px rgba(124,92,255,.5), inset 0 1px 0 rgba(255,255,255,.06); }
.card .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; background: rgba(124,92,255,.16); border: 1px solid rgba(124,92,255,.22); }
.card .ic svg { width: 24px; height: 24px; stroke: var(--accent-soft); }
.card h3 { font-size: 18px; letter-spacing: -.015em; margin-bottom: 8px; }
.card p { color: var(--text-dim); font-size: 14.5px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--glass); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 30px 26px; position: relative; box-shadow: inset 0 1px 0 rgba(255,255,255,.04); }
.step .num { font-size: 15px; font-weight: 800; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: var(--grad); color: #fff; margin-bottom: 18px; box-shadow: 0 8px 20px -8px rgba(124,92,255,.6); }
.step h3 { font-size: 18px; margin-bottom: 8px; letter-spacing: -.015em; }
.step p { color: var(--text-dim); font-size: 14.5px; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 820px) { .plans { grid-template-columns: 1fr; max-width: 430px; margin: 0 auto; } }
.plan { background: var(--glass); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 30px 26px; display: flex; flex-direction: column; box-shadow: inset 0 1px 0 rgba(255,255,255,.04); }
.plan.featured { border-color: rgba(124,92,255,.55); box-shadow: 0 0 0 1px rgba(124,92,255,.32), 0 36px 80px -34px rgba(124,92,255,.5); background: linear-gradient(180deg, rgba(124,92,255,.08), var(--glass)); }
.plan .tag { font-size: 12px; font-weight: 700; color: var(--accent-soft); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.plan .price { font-size: 36px; font-weight: 800; letter-spacing: -.035em; }
.plan .price span { font-size: 14px; font-weight: 500; color: var(--text-dim); }
.plan .yr { font-size: 13px; color: var(--text-mute); margin-top: 2px; }
.plan ul { list-style: none; margin: 20px 0 24px; display: flex; flex-direction: column; gap: 11px; }
.plan li { font-size: 14px; color: var(--text-dim); display: flex; gap: 9px; align-items: flex-start; }
.plan li svg { width: 17px; height: 17px; stroke: var(--accent-2); flex-shrink: 0; margin-top: 2px; }
.plan .btn { margin-top: auto; width: 100%; }
.note-tax { text-align: center; color: var(--text-mute); font-size: 12.5px; margin-top: 24px; max-width: 720px; margin-left: auto; margin-right: auto; }

/* faq */
.faq { max-width: 760px; margin: 0 auto; }
details { border: 1px solid var(--card-border); border-radius: var(--radius-sm); padding: 4px 18px; margin-bottom: 12px; background: var(--glass); transition: border-color .2s; }
details[open] { border-color: rgba(124,92,255,.35); }
details summary { cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; font-size: 22px; color: var(--accent-soft); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--text-dim); font-size: 14.5px; padding-bottom: 16px; }

/* cta band */
.cta-band { position: relative; text-align: center; overflow: hidden; background: linear-gradient(135deg, rgba(124,92,255,.18), rgba(24,224,200,.13)); border: 1px solid rgba(124,92,255,.25); border-radius: 32px; padding: 64px 28px; }
.cta-band::before { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(124,92,255,.4), transparent 60%); top: -160px; left: -60px; filter: blur(40px); pointer-events: none; }
.cta-band h2 { position: relative; font-size: clamp(28px, 4.5vw, 42px); letter-spacing: -.035em; margin-bottom: 14px; }
.cta-band p { position: relative; color: var(--text-dim); margin-bottom: 30px; }
.cta-actions { position: relative; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* footer */
footer { border-top: 1px solid var(--card-border); padding: 56px 0 44px; margin-top: 48px; }
.foot { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot .brand { margin-bottom: 14px; }
.foot p { color: var(--text-mute); font-size: 13.5px; max-width: 300px; }
.foot-links { display: flex; gap: 52px; flex-wrap: wrap; }
.foot-col h4 { font-size: 12.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-dim); margin-bottom: 15px; }
.foot-col a { display: block; color: var(--text-mute); font-size: 14px; margin-bottom: 10px; transition: color .2s; }
.foot-col a:hover { color: var(--text); }
.foot-bottom { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--card-border); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; color: var(--text-mute); font-size: 13px; }
.foot-bottom a { color: var(--text-mute); transition: color .2s; }
.foot-bottom a:hover { color: var(--text); }

/* legal / doc pages */
.doc { max-width: 780px; margin: 0 auto; padding: 60px 24px 96px; }
.doc h1 { font-size: clamp(30px, 5vw, 40px); letter-spacing: -.035em; margin-bottom: 6px; }
.doc .muted { color: var(--text-mute); font-size: 14px; margin-bottom: 30px; }
.doc h2 { font-size: 21px; margin: 36px 0 10px; letter-spacing: -.02em; }
.doc p, .doc li { color: var(--text-dim); font-size: 15.5px; margin-bottom: 12px; }
.doc ul { padding-left: 22px; }
.doc a { color: var(--accent-soft); }
.doc table { border-collapse: collapse; width: 100%; margin: 16px 0; font-size: 14px; }
.doc th, .doc td { border: 1px solid var(--card-border); padding: 10px 12px; text-align: left; vertical-align: top; color: var(--text-dim); }
.doc th { color: var(--text); }
.back { color: var(--accent-soft); font-size: 14px; display: inline-flex; gap: 6px; align-items: center; margin-bottom: 28px; }
.back:hover { color: var(--text); }
