/* ============================================================
   TOKENS — derived from the Wofo app itself (dark UI + the
   blue→violet gradient used on the app's own loading screen)
   ============================================================ */
:root{
  --ink:#07070a;
  --panel:#0e0e14;
  --panel-2:#121218;
  --line: rgba(255,255,255,.10);
  --line-soft: rgba(255,255,255,.06);
  --paper:#f5f6f8;
  --mist: rgba(245,246,248,.68);
  --mist-2: rgba(245,246,248,.44);
  --blue:#2f8aff;
  --blue-soft: rgba(47,138,255,.14);
  --violet:#9b5cff;
  --gradient: linear-gradient(90deg,#2f8aff,#9b5cff);
  --red:#ff5a5f;

  --radius-lg:26px;
  --radius-md:18px;
  --radius-sm:12px;

  --font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container: 1160px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--ink);
  color:var(--paper);
  font-family:var(--font);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3,p{ margin:0; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; }

:focus-visible{ outline:2px solid var(--blue); outline-offset:3px; border-radius:4px; }

.container{
  width:100%;
  max-width:var(--container);
  margin:0 auto;
  padding:0 28px;
}

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-size:.72rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase;
  color:var(--blue-light,#8fbcff);
  background:var(--blue-soft);
  border:1px solid rgba(47,138,255,.28);
  padding:7px 14px 7px 12px;
  border-radius:999px;
}
.eyebrow .dot{ width:6px; height:6px; border-radius:50%; background:var(--gradient); }

.gradient-text{
  background:var(--gradient);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

/* buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:15px 26px;
  border-radius:999px;
  font-weight:700;
  font-size:.96rem;
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space:nowrap;
}
.btn-primary{
  background:var(--paper);
  color:#08080c;
  box-shadow:0 1px 0 rgba(255,255,255,.4) inset, 0 14px 30px -14px rgba(47,138,255,.55);
}
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 1px 0 rgba(255,255,255,.4) inset, 0 18px 34px -12px rgba(47,138,255,.7); }
.btn-primary svg{ width:18px; height:18px; }
.btn-secondary{
  background:transparent;
  color:var(--paper);
  border-color:var(--line);
}
.btn-secondary:hover{ border-color:rgba(255,255,255,.32); background:rgba(255,255,255,.03); }
.btn-block{ width:100%; }

/* Google Play download badge */
.play-badge{
  display:inline-flex; align-items:center; gap:10px;
  background:#000;
  border:1px solid rgba(255,255,255,.22);
  border-radius:10px;
  padding:10px 18px 10px 14px;
  transition:transform .18s ease, border-color .18s ease, background .18s ease;
}
.play-badge:hover{ transform:translateY(-2px); border-color:rgba(255,255,255,.4); background:#111; }
.play-badge-icon{ width:28px; height:28px; flex-shrink:0; }
.play-badge-text{ display:flex; flex-direction:column; line-height:1.15; }
.play-badge-text .get-it-on{
  font-size:.6rem; font-weight:600; letter-spacing:.09em; text-transform:uppercase;
  color:rgba(255,255,255,.75);
}
.play-badge-text .google-play{
  font-size:1.15rem; font-weight:600; color:#fff; letter-spacing:.002em; margin-top:2px;
}
.play-badge--sm{ padding:7px 14px 7px 10px; border-radius:8px; gap:8px; }
.play-badge--sm .play-badge-icon{ width:20px; height:20px; }
.play-badge--sm .get-it-on{ font-size:.5rem; }
.play-badge--sm .google-play{ font-size:.86rem; margin-top:1px; }
.play-badge--block{ width:100%; justify-content:center; }

/* ============================================================
   NAV
   ============================================================ */
.site-nav{
  position:fixed; top:0; left:0; right:0; z-index:100;
  border-bottom:1px solid transparent;
  transition:background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}
.site-nav.scrolled{
  background:rgba(7,7,10,.78);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line-soft);
}
.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  height:74px;
}
.brand{ display:flex; align-items:center; gap:10px; font-weight:800; font-size:1.15rem; letter-spacing:-.01em; }
.brand-mark{
  width:34px; height:34px; border-radius:10px;
  background:var(--panel-2); border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center;
  font-family:Georgia, 'Times New Roman', serif;
  font-weight:700; font-size:1.05rem;
  background-image:var(--gradient);
  -webkit-background-clip:text; background-clip:text; color:transparent;
  position:relative;
}
.brand-mark::before{
  content:"W";
}

.nav-links{ display:flex; align-items:center; gap:34px; }
.nav-links a{
  font-size:.92rem; font-weight:600; color:var(--mist);
  transition:color .15s ease;
  position:relative;
  padding:4px 0;
}
.nav-links a:hover, .nav-links a.active{ color:var(--paper); }
.nav-links a.active::after{
  content:""; position:absolute; left:0; right:0; bottom:-6px; height:2px;
  background:var(--gradient); border-radius:2px;
}

.nav-cta{ display:flex; align-items:center; gap:16px; }
.nav-cta .btn{ padding:11px 20px; font-size:.88rem; }

.nav-toggle{
  display:none;
  width:40px; height:40px; border-radius:10px;
  background:var(--panel-2); border:1px solid var(--line);
  align-items:center; justify-content:center;
  cursor:pointer;
}
.nav-toggle svg{ width:18px; height:18px; }

.mobile-panel{
  display:none;
  position:fixed; inset:74px 0 0 0; z-index:90;
  background:rgba(7,7,10,.98);
  backdrop-filter:blur(10px);
  padding:26px 28px 40px;
  overflow-y:auto;
}
.mobile-panel.open{ display:block; }
.mobile-panel a{
  display:block; padding:16px 4px; font-size:1.15rem; font-weight:700;
  border-bottom:1px solid var(--line-soft);
}
.mobile-panel .btn, .mobile-panel .play-badge{ margin-top:22px; }
.mobile-panel a.play-badge{ display:flex; justify-content:center; padding:13px 18px; border-bottom:none; }

/* ============================================================
   HERO
   ============================================================ */
.hero{
  position:relative;
  padding:150px 0 100px;
  overflow:hidden;
}
.hero::before, .hero::after{
  content:""; position:absolute; z-index:0; border-radius:50%;
  filter:blur(90px); opacity:.35; pointer-events:none;
}
.hero::before{
  width:520px; height:520px; background:var(--blue);
  top:-180px; left:-160px;
}
.hero::after{
  width:460px; height:460px; background:var(--violet);
  top:80px; right:-180px; opacity:.28;
}
.hero-grid{
  position:relative; z-index:1;
  display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center;
}
.hero-copy h1{
  font-size:clamp(2.3rem, 4.6vw, 3.4rem);
  line-height:1.12;
  font-weight:800;
  letter-spacing:-.02em;
  margin:22px 0 18px;
}
.hero-copy p.lead{
  font-size:1.08rem; line-height:1.65; color:var(--mist);
  max-width:480px;
  margin-bottom:32px;
}
.hero-actions{ display:flex; align-items:center; gap:14px; flex-wrap:wrap; margin-bottom:44px; }

.hero-stats{
  display:grid; grid-template-columns:1fr 1fr; gap:14px;
}
.stat-card{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  padding:18px 20px;
}
.stat-card.simple{ display:flex; flex-direction:column; justify-content:space-between; }
.stat-icon{
  width:34px; height:34px; border-radius:10px; background:var(--blue-soft);
  display:flex; align-items:center; justify-content:center; margin-bottom:14px;
  color:var(--blue);
}
.stat-icon svg{ width:18px; height:18px; }
.stat-card.simple .value{ font-weight:700; font-size:1rem; margin-bottom:3px; }
.stat-card.simple .sub{ font-size:.76rem; color:var(--mist-2); }

/* phone mockup */
.hero-visual{ position:relative; display:flex; flex-direction:column; align-items:center; z-index:1; }
.phone-frame{
  position:relative;
  width:290px;
  aspect-ratio: 540 / 1230;
  border-radius:46px;
  padding:14px;
  background:linear-gradient(160deg, #1a1a22, #0a0a0e 60%);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:
    0 40px 80px -30px rgba(0,0,0,.7),
    0 0 0 1px rgba(0,0,0,.4),
    0 30px 60px -20px rgba(47,138,255,.18);
}
.phone-notch{
  position:absolute; top:14px; left:50%; transform:translateX(-50%);
  width:84px; height:22px; background:#0a0a0e; border-radius:0 0 16px 16px; z-index:3;
}
.phone-notch::after{
  content:""; position:absolute; top:8px; left:50%; transform:translateX(-50%);
  width:38px; height:5px; border-radius:4px; background:#1c1c24;
}
.phone-screen{
  position:relative; width:100%; height:100%;
  border-radius:34px; overflow:hidden; background:#000;
}
.phone-screen img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  opacity:0; transition:opacity .7s ease;
}
.phone-screen img.active{ opacity:1; }

.phone-dots{ display:flex; justify-content:center; gap:7px; margin-top:22px; }
.phone-dots button{
  width:7px; height:7px; border-radius:50%; border:none; padding:0;
  background:rgba(255,255,255,.22); cursor:pointer; transition:background .2s ease, width .2s ease;
}
.phone-dots button.active{ background:var(--gradient); width:20px; border-radius:5px; }

.float-card{
  position:absolute; z-index:4;
  background:var(--panel); border:1px solid var(--line);
  border-radius:var(--radius-sm);
  padding:12px 16px;
  display:flex; align-items:center; gap:10px;
  box-shadow:0 20px 40px -18px rgba(0,0,0,.6);
  font-size:.82rem; font-weight:600;
}
.float-card.f1{ top:16%; left:-8%; animation:bob 5s ease-in-out infinite; }
.float-card.f2{ bottom:12%; right:-10%; animation:bob 5s ease-in-out infinite 1.4s; }
.float-card .swatch{ width:26px; height:26px; border-radius:8px; background:var(--gradient); display:flex; align-items:center; justify-content:center; color:#fff; }
.float-card .swatch svg{ width:14px; height:14px; }

@keyframes bob{
  0%,100%{ transform:translateY(0); }
  50%{ transform:translateY(-9px); }
}

/* ============================================================
   SECTION HEADERS (shared pattern, scoped per-section below to
   avoid specificity collisions)
   ============================================================ */
.section-head{ max-width:600px; margin:0 auto 52px; text-align:center; }
.section-head h2{ font-size:clamp(1.7rem,3vw,2.3rem); font-weight:800; letter-spacing:-.02em; margin-top:14px; }
.section-head p{ color:var(--mist); font-size:1rem; margin-top:14px; line-height:1.6; }

/* ============================================================
   FEATURES
   ============================================================ */
.features{ padding:110px 0 60px; position:relative; }
.feature-grid{
  display:grid; grid-template-columns:repeat(3, 1fr); gap:20px;
}
.feature-card{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:var(--radius-md);
  padding:28px 26px;
  transition:transform .25s ease, border-color .25s ease, background .25s ease;
}
.feature-card:hover{
  transform:translateY(-4px);
  border-color:rgba(47,138,255,.35);
  background:var(--panel-2);
}
.feature-icon{
  width:46px; height:46px; border-radius:13px;
  background:var(--blue-soft);
  display:flex; align-items:center; justify-content:center;
  color:var(--blue);
  margin-bottom:20px;
}
.feature-icon svg{ width:23px; height:23px; }
.feature-card h3{ font-size:1.06rem; font-weight:700; margin-bottom:10px; }
.feature-card p{ font-size:.9rem; line-height:1.6; color:var(--mist); }

/* ============================================================
   SCREENSHOTS
   ============================================================ */
.screenshots{ padding:70px 0 110px; }
.screens-row{
  display:grid; grid-template-columns:repeat(4, 1fr); gap:22px;
}
.screen-item{ text-align:center; }
.screen-frame{
  border-radius:32px; padding:10px;
  background:linear-gradient(160deg, #1a1a22, #0a0a0e 60%);
  border:1px solid rgba(255,255,255,.12);
  aspect-ratio:540/1230;
  overflow:hidden;
  box-shadow:0 30px 60px -30px rgba(0,0,0,.7);
  margin-bottom:16px;
  transition:transform .25s ease;
}
.screen-frame:hover{ transform:translateY(-6px); }
.screen-frame img{ width:100%; height:100%; object-fit:cover; border-radius:24px; }
.screen-item .caption{ font-size:.86rem; font-weight:600; color:var(--mist); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner{ padding:0 0 110px; }
.cta-panel{
  position:relative;
  border-radius:32px;
  padding:64px 40px;
  text-align:center;
  overflow:hidden;
  background:var(--panel);
  border:1px solid var(--line);
}
.cta-panel::before{
  content:""; position:absolute; inset:0;
  background:radial-gradient(560px 220px at 50% 0%, rgba(47,138,255,.18), transparent 70%);
  pointer-events:none;
}
.cta-panel > *{ position:relative; z-index:1; }
.cta-panel h2{ font-size:clamp(1.6rem,3.4vw,2.2rem); font-weight:800; letter-spacing:-.02em; margin-bottom:14px; }
.cta-panel p{ color:var(--mist); max-width:460px; margin:0 auto 30px; line-height:1.6; }
.cta-actions{ display:flex; justify-content:center; gap:14px; flex-wrap:wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer{ border-top:1px solid var(--line-soft); padding:64px 0 30px; }
.footer-grid{
  display:grid; grid-template-columns:1.4fr .8fr .8fr 1fr; gap:40px;
  padding-bottom:44px;
}
.footer-brand p{ color:var(--mist); font-size:.88rem; line-height:1.7; margin-top:14px; max-width:280px; }
.footer-col h4{ font-size:.78rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--mist-2); margin-bottom:16px; }
.footer-col a, .footer-col p{ display:block; font-size:.9rem; color:var(--mist); margin-bottom:12px; }
.footer-col a:hover{ color:var(--paper); }
.footer-col a.play-badge{ display:inline-flex; }
.footer-bottom{
  border-top:1px solid var(--line-soft); padding-top:26px;
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px;
  font-size:.8rem; color:var(--mist-2);
}
.footer-brand-row{ display:flex; align-items:center; gap:10px; }

/* ============================================================
   PRIVACY POLICY VIEW
   ============================================================ */
main[data-view]{ display:none; }
main[data-view].is-active{ display:block; }

.policy-hero{ padding:150px 0 50px; }
.policy-hero .back-link{
  display:inline-flex; align-items:center; gap:8px;
  font-size:.86rem; font-weight:600; color:var(--mist);
  margin-bottom:26px;
}
.policy-hero .back-link:hover{ color:var(--paper); }
.policy-hero .back-link svg{ width:15px; height:15px; }
.policy-hero h1{ font-size:clamp(2rem,4vw,2.6rem); font-weight:800; letter-spacing:-.02em; }
.policy-hero .meta{ color:var(--mist-2); font-size:.86rem; margin-top:12px; }

.policy-body{ padding:20px 0 120px; }
.policy-layout{ display:grid; grid-template-columns:230px 1fr; gap:56px; align-items:start; }

.policy-toc{
  position:sticky; top:100px;
  border-left:2px solid var(--line);
  padding-left:18px;
}
.policy-toc a{
  display:block; font-size:.86rem; color:var(--mist-2); padding:7px 0; font-weight:600;
  transition:color .15s ease;
}
.policy-toc a:hover{ color:var(--paper); }

.policy-content section{ margin-bottom:44px; scroll-margin-top:100px; }
.policy-content h2{ font-size:1.3rem; font-weight:800; margin-bottom:14px; letter-spacing:-.01em; }
.policy-content h3{ font-size:1rem; font-weight:700; margin:20px 0 8px; color:var(--paper); }
.policy-content p{ font-size:.95rem; line-height:1.75; color:var(--mist); margin-bottom:12px; }
.policy-content p a{ color:var(--paper); font-weight:700; text-decoration:underline; text-underline-offset:2px; }
.policy-content p a:hover{ color:#8fbcff; }
.policy-content code{ background:var(--panel-2); border:1px solid var(--line-soft); padding:2px 7px; border-radius:6px; font-size:.88em; }
.policy-content ul{ margin:10px 0 14px; }
.policy-content li{
  font-size:.95rem; line-height:1.7; color:var(--mist);
  padding-left:20px; position:relative; margin-bottom:6px;
}
.policy-content li::before{
  content:""; position:absolute; left:0; top:9px; width:6px; height:6px; border-radius:50%;
  background:var(--gradient);
}
.policy-divider{ height:1px; background:var(--line-soft); margin:0 0 44px; }

.not-collected-card{
  border:1px solid rgba(47,138,255,.28);
  background:var(--blue-soft);
  border-radius:var(--radius-md);
  padding:22px 24px;
  display:grid; grid-template-columns:1fr 1fr; gap:4px 24px;
}
.not-collected-card li::before{ background:var(--blue); }

.contact-card{
  display:flex; align-items:center; gap:14px;
  border:1px solid rgba(47,138,255,.28);
  background:var(--blue-soft);
  border-radius:var(--radius-md);
  padding:18px 22px;
  margin-top:10px;
}
.contact-card .icon{
  width:38px; height:38px; border-radius:10px; background:rgba(7,7,10,.4);
  display:flex; align-items:center; justify-content:center; color:var(--blue); flex-shrink:0;
}
.contact-card .icon svg{ width:19px; height:19px; }
.contact-card a{ font-weight:700; color:var(--paper); font-size:.95rem; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal{ opacity:0; transform:translateY(18px); transition:opacity .7s ease, transform .7s ease; }
.reveal.in-view{ opacity:1; transform:translateY(0); }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .reveal{ opacity:1; transform:none; transition:none; }
  .float-card{ animation:none; }
  .phone-screen img{ transition:none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width:960px){
  .nav-links, .nav-cta .btn-secondary{ display:none; }
  .nav-toggle{ display:flex; }
  .hero-grid{ grid-template-columns:1fr; }
  .hero-visual{ order:-1; margin-bottom:10px; }
  .hero-copy p.lead{ max-width:none; }
  .feature-grid{ grid-template-columns:repeat(2,1fr); }
  .screens-row{ grid-template-columns:repeat(2,1fr); }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .policy-layout{ grid-template-columns:1fr; }
  .policy-toc{ display:none; }
}
@media (max-width:600px){
  .container{ padding:0 20px; }
  .hero{ padding:130px 0 70px; }
  .feature-grid{ grid-template-columns:1fr; }
  .screens-row{ grid-template-columns:1fr 1fr; gap:14px; }
  .footer-grid{ grid-template-columns:1fr; gap:30px; }
  .cta-panel{ padding:44px 24px; }
  .not-collected-card{ grid-template-columns:1fr; }
  .float-card{ display:none; }
}
