/* ============================================================
   FAST AC — LANDING v12
   Modern editorial / command-surface refresh for index.html.
   Layered over theme.css; landing page only.
   ============================================================ */

html{scroll-behavior:smooth}
body{
  background:
    radial-gradient(900px 520px at 8% -8%,rgba(201,255,77,.09),transparent 62%),
    radial-gradient(940px 560px at 96% 4%,rgba(110,141,255,.1),transparent 66%),
    var(--bg);
}
.land{position:relative}
.land-section{scroll-margin-top:110px}

/* ---------- top bar ---------- */
.topbar{
  top:14px;
  width:min(1320px,calc(100% - 28px));
  padding:8px 8px 8px 16px;
  border-radius:16px;
  gap:14px;
  border-color:rgba(255,255,255,.1);
  background:
    linear-gradient(120deg,rgba(20,30,43,.88),rgba(8,13,20,.93) 60%),
    rgba(8,12,18,.9);
  box-shadow:
    0 24px 60px -36px rgba(0,0,0,.96),
    inset 0 1px 0 rgba(255,255,255,.055);
  backdrop-filter:blur(26px) saturate(160%);
}
.topbar .brand{font-size:18px}
.topbar .brand img{
  width:34px;height:34px;border-radius:10px;
  box-shadow:0 0 0 1px rgba(201,255,77,.22),0 0 26px -10px rgba(201,255,77,.65);
}
.topbar .navlinks{
  gap:2px;margin-left:2px;padding:3px;
  border:1px solid var(--line);border-radius:11px;
  background:rgba(255,255,255,.022);
}
.topbar .navlinks a{
  padding:7px 11px;border-radius:8px;
  font-size:8.5px;letter-spacing:.08em;
  transition:color .16s,background .16s;
}
.topbar .navlinks a:hover{background:rgba(255,255,255,.06)}
.topbar .nav-cta{gap:7px}
.topbar .meta{
  padding:7px 10px;font-size:8px;letter-spacing:.1em;
  color:var(--acc);border-color:rgba(201,255,77,.2);
  background:rgba(201,255,77,.06);
}
.topbar .btn{
  min-height:34px;padding:7px 12px;
  border-radius:10px;font-size:8.5px;letter-spacing:.06em;
}

/* authenticated account chip */
.topbar #authBtn.auth-user{
  min-height:40px;
  padding:5px 10px 5px 5px;
  gap:8px;
  border-radius:11px;
  background:linear-gradient(160deg,rgba(255,255,255,.085),rgba(255,255,255,.025));
  border:1px solid rgba(255,255,255,.14);
  color:var(--ink);
  text-transform:none;letter-spacing:0;
  font-family:var(--sans);font-size:10.5px;font-weight:700;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
}
.topbar #authBtn.auth-user:hover{
  transform:none;
  background:rgba(201,255,77,.09);
  border-color:rgba(201,255,77,.3);
  box-shadow:0 12px 26px -18px rgba(201,255,77,.55),inset 0 1px 0 rgba(255,255,255,.07);
}
.topbar #authBtn.auth-user svg{color:var(--acc);opacity:.85;flex:none}
.auth-avatar{
  width:26px;height:26px;border-radius:8px;object-fit:cover;flex:none;
  background:var(--surface-2);
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 0 0 1px rgba(201,255,77,.12);
}
.auth-name{
  max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  line-height:1;
}
.hero-avatar{
  width:26px;height:26px;border-radius:8px;object-fit:cover;
  border:1px solid rgba(7,17,8,.2);
  box-shadow:0 0 0 1px rgba(255,255,255,.35);
}

/* ---------- hero ---------- */
.hero{
  position:relative;
  grid-template-columns:minmax(0,1.03fr) minmax(0,.97fr);
  gap:56px;
  align-items:center;
  padding:48px 0 74px;
  border-bottom:1px solid var(--line);
}
.hero::before{
  content:'';position:absolute;inset:-70px 0 auto 0;height:560px;
  background:
    radial-gradient(560px 300px at 16% 22%,rgba(201,255,77,.14),transparent 66%),
    radial-gradient(520px 300px at 88% 30%,rgba(110,141,255,.15),transparent 70%);
  filter:blur(6px);
  pointer-events:none;z-index:0;
}
.hero > *{position:relative;z-index:1}

.kicker{
  padding:7px 12px;
  border-color:rgba(255,255,255,.14);
  background:rgba(255,255,255,.04);
  backdrop-filter:blur(10px);
  font-size:8.5px;letter-spacing:.12em;
  color:var(--ink-2);
}
.kicker .dot{
  background:var(--acc);
  animation:pulseDot 2.6s ease-in-out infinite;
}
@keyframes pulseDot{
  0%,100%{box-shadow:0 0 0 4px rgba(201,255,77,.12)}
  50%{box-shadow:0 0 0 7px rgba(201,255,77,.045),0 0 16px rgba(201,255,77,.7)}
}

.hero h1{
  font-size:clamp(52px,6.6vw,96px);
  line-height:.9;
  letter-spacing:-.058em;
  margin:24px 0 22px;
}
.hero h1 .outline{
  color:transparent;
  opacity:1;
  -webkit-text-stroke:1.4px rgba(238,244,255,.48);
}
.hero p{
  max-width:590px;
  font-size:14.5px;line-height:1.78;
  color:var(--muted);
}

.hero .btns{gap:9px;margin-top:26px}
.hero .btns .btn{
  min-height:46px;padding:0 20px;
  border-radius:12px;font-size:9.5px;
}
.hero .btns .btn.primary{
  box-shadow:0 0 0 1px rgba(201,255,77,.24),0 20px 42px -22px rgba(201,255,77,.72);
}

.hero-chips{display:flex;flex-wrap:wrap;gap:7px;margin-top:18px}
.hero-chips span{
  display:inline-flex;align-items:center;gap:6px;
  padding:5px 10px;border-radius:99px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.025);
  font-family:var(--mono);font-size:7.5px;letter-spacing:.07em;
  text-transform:uppercase;color:var(--muted);white-space:nowrap;
}
.hero-chips svg{width:11px;height:11px;color:var(--acc);flex:none}

.hero-stats{gap:10px;margin-top:28px}
.hero-stats div{
  position:relative;overflow:hidden;
  padding:14px 15px;
  border-radius:14px;
  border-color:rgba(255,255,255,.09);
  background:
    linear-gradient(160deg,rgba(255,255,255,.055),rgba(255,255,255,.012) 62%),
    rgba(255,255,255,.015);
}
.hero-stats div::before{
  content:'';position:absolute;left:15px;right:15px;top:0;height:1px;
  background:linear-gradient(90deg,rgba(201,255,77,.75),transparent);
}
.hero-stats b{font-size:26px}
.hero-stats span{font-size:7px;letter-spacing:.14em}

/* hero visual */
.hero-visual{position:relative}
.hero-visual::before{
  content:'';position:absolute;inset:-46px -24px;
  background:radial-gradient(circle at 55% 45%,rgba(201,255,77,.16),transparent 66%);
  filter:blur(16px);pointer-events:none;z-index:0;
}
/* app preview: the real scanner window, scaled to the hero and tilted by the pointer */
.app-tilt{
  position:relative;z-index:1;
  width:100%;max-width:600px;margin:0 auto;
  perspective:1400px;
}
.app-scale{
  position:relative;width:100%;aspect-ratio:688/508;
  transform-style:preserve-3d;
  will-change:transform;
  transition:transform .45s cubic-bezier(.22,1,.36,1);
}
.app-tilt.is-tilting .app-scale{transition:none}
.app-frame{
  position:absolute;top:0;left:0;
  width:688px;height:508px;border:0;display:block;
  border-radius:28px;background:#050808;
  transform-origin:top left;
  transform:scale(var(--app-scale,1));
  pointer-events:none;
  box-shadow:0 44px 100px -46px rgba(0,0,0,.98);
}
.app-glare{
  position:absolute;inset:0;border-radius:28px;pointer-events:none;
  background:radial-gradient(260px circle at var(--mx,50%) var(--my,35%),rgba(201,255,77,.16),transparent 62%);
  opacity:0;transition:opacity .25s;mix-blend-mode:screen;
}
.app-tilt:hover .app-glare{opacity:1}
.hero-float{
  right:6px;bottom:-46px;
  border-radius:12px;
  border-color:rgba(201,255,77,.32);
  background:rgba(10,16,24,.9);
  box-shadow:0 22px 44px -22px #000;
}

/* ---------- marquee ---------- */
.marquee{
  margin:0 calc(50% - 50vw);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:rgba(255,255,255,.02);
  mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent);
}
.marquee-track span{padding:0 22px}

/* ---------- section heads ---------- */
.land-section{padding:74px 0}
.section-head{
  align-items:flex-end;gap:40px;
  margin-bottom:34px;
}
.sec-copy{min-width:0}
.section-head .eyebrow{margin-bottom:13px;color:var(--acc)}
.section-head h2{font-size:clamp(34px,4.3vw,54px)}
.section-head p{max-width:440px;font-size:12.5px;line-height:1.75}

/* ---------- portals ---------- */
.portal-grid{gap:16px}
.portal{
  padding:26px;
  border-radius:22px;
  grid-template-columns:minmax(0,1fr) auto;
  transition:transform .2s cubic-bezier(.22,1,.36,1),border-color .2s,box-shadow .2s;
}
.portal:hover{
  transform:translateY(-4px);
  border-color:rgba(201,255,77,.28);
  box-shadow:0 38px 80px -40px #000;
}
.portal-top{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.portal-top .eyebrow{margin:0}
.portal-ico{
  width:36px;height:36px;border-radius:11px;flex:none;
  display:grid;place-items:center;
  border:1px solid rgba(201,255,77,.2);
  background:rgba(201,255,77,.1);
  color:var(--acc);
}
.portal-ico svg{width:16px;height:16px}
.portal.staff .portal-ico{
  background:linear-gradient(145deg,var(--acc),#a8ff74);
  border-color:transparent;color:#071108;
  box-shadow:0 12px 26px -14px rgba(201,255,77,.8);
}
.portal h3{font-size:29px;margin:6px 0 10px}
.portal p{font-size:11.5px;line-height:1.72}
.portal ul{margin:16px 0 20px}
.portal .go{
  padding-top:14px;border-top:1px solid var(--line);
  width:100%;justify-content:space-between;
  font-size:8.5px;
}
.portal .pnum{font-size:46px}

/* ---------- protocol steps ---------- */
.steps-list{gap:10px}
.step-item{
  padding:20px;
  border-radius:15px;
  transition:transform .18s,border-color .18s,box-shadow .18s;
}
.step-item:hover{
  transform:translateY(-2px);
  border-color:rgba(201,255,77,.22);
  box-shadow:0 24px 48px -38px rgba(0,0,0,.95);
}
.step-item .num{
  display:inline-grid;place-items:center;
  width:30px;height:30px;border-radius:8px;
  border:1px solid rgba(201,255,77,.2);
  background:rgba(201,255,77,.09);
  font-family:var(--mono);font-size:10px;line-height:1;
  letter-spacing:.06em;color:var(--acc);
}
.step-item h3{font-size:18px;margin:13px 0 7px}
.step-item p{font-size:10.5px;line-height:1.68}

/* ---------- detection bento ---------- */
.adv-grid{gap:12px;counter-reset:adv}
.adv{
  counter-increment:adv;
  padding:22px;
  border-radius:16px;
  transition:transform .18s,border-color .18s,box-shadow .18s;
}
.adv:hover{
  transform:translateY(-2px);
  border-color:rgba(201,255,77,.22);
  box-shadow:0 26px 50px -40px rgba(0,0,0,.95);
}
.adv::after{
  content:'0' counter(adv);
  position:absolute;right:18px;top:16px;
  font-family:var(--mono);font-size:8px;letter-spacing:.12em;
  color:var(--muted-2);
}
.adv .ic{
  width:36px;height:36px;border-radius:10px;
  margin-bottom:15px;
  background:rgba(201,255,77,.1);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
}
.adv h3{font-size:19px}
.adv p{font-size:10.5px;line-height:1.7}
.adv:first-child p{font-size:11.5px}

/* ---------- demo ---------- */
.demo{
  border-radius:22px;
  box-shadow:0 40px 90px -52px #000;
  background:
    radial-gradient(500px 260px at 0% 0%,rgba(201,255,77,.08),transparent 68%),
    linear-gradient(155deg,rgba(255,255,255,.045),rgba(255,255,255,.012) 60%),
    var(--surface);
}
.demo-copy{padding:34px}
.demo-copy h2{font-size:clamp(32px,3.4vw,42px)}
.demo-copy p{font-size:11.5px;line-height:1.78}
.demo-copy .btn{border-radius:11px}
.term{
  border-radius:0 22px 22px 0;
  background:linear-gradient(155deg,#0a1119,#05080c);
  box-shadow:inset 0 0 60px rgba(201,255,77,.025);
}
.term .bar{padding:11px 14px;background:rgba(255,255,255,.02)}
.term .body{padding:18px;font-size:10px;line-height:1.85}
.term .body div{margin-bottom:1px}

/* ---------- FAQ ---------- */
.faq{
  border-top:none;
  display:grid;gap:8px;
  align-content:start;
}
.faq details{
  border:1px solid var(--line);
  border-radius:12px;
  background:rgba(255,255,255,.024);
  padding:0 16px;
  transition:border-color .18s,background .18s;
}
.faq details:hover{border-color:rgba(255,255,255,.16)}
.faq details[open]{
  border-color:rgba(201,255,77,.24);
  background:rgba(201,255,77,.045);
}
.faq summary{padding:15px 0;font-size:9.5px;letter-spacing:.05em}
.faq p{padding:0 0 16px;font-size:11px;line-height:1.75;max-width:760px}
.faq details[open] summary{color:var(--ink)}
.faq details[open] summary::after{color:var(--acc)}

/* ---------- CTA ---------- */
.cta{
  position:relative;overflow:hidden;
  border-radius:22px;
  padding:38px 40px;
  background:linear-gradient(115deg,#d7ff76,#b4ff86 56%,#8affd4);
  box-shadow:0 36px 80px -42px rgba(201,255,77,.6);
}
.cta::before{
  content:'';position:absolute;inset:0;pointer-events:none;
  background-image:
    linear-gradient(rgba(7,17,8,.055) 1px,transparent 1px),
    linear-gradient(90deg,rgba(7,17,8,.055) 1px,transparent 1px);
  background-size:34px 34px;
  mask-image:radial-gradient(circle at 80% 20%,#000,transparent 72%);
}
.cta > *{position:relative;z-index:1}
.cta h2{font-size:clamp(32px,4.2vw,50px)}
.cta .btn{
  border-radius:12px;
  min-height:44px;
  box-shadow:0 18px 34px -18px rgba(0,0,0,.7);
}

/* ---------- footer ---------- */
.land-footer{
  border-top:1px solid var(--line);
  margin-top:8px;
  padding:26px 0 42px;
}

/* ---------- entrance ---------- */
@keyframes landRise{
  from{opacity:0;transform:translateY(12px)}
  to{opacity:1;transform:none}
}
.hero-copy{animation:landRise .5s cubic-bezier(.22,1,.36,1) both}
.hero-visual{animation:landRise .6s .06s cubic-bezier(.22,1,.36,1) both}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .hero-copy,.hero-visual{animation:none}
  .kicker .dot{animation:none}
  .app-glare{display:none}
  .app-scale{transform:none!important}
}

/* ---------- responsive ---------- */
@media(max-width:1180px){
  .hero{grid-template-columns:1fr;gap:44px;padding:36px 0 60px}
  .hero-copy{max-width:780px}
  .hero h1{font-size:clamp(50px,7.2vw,86px);max-width:900px}
  .hero-visual{width:100%;max-width:700px;margin:0 auto}
  .app-tilt{max-width:640px}
  .hero-stats{max-width:660px}
  .term{border-radius:0 0 22px 22px}
}
@media(max-width:980px){
  .topbar{width:calc(100% - 22px);padding:8px 8px 8px 14px;border-radius:14px}
  .hero{gap:40px;padding:32px 0 56px}
  .hero::before{height:420px}
  .hero h1{font-size:clamp(48px,9.4vw,82px)}
  .hero p{max-width:640px}
  .hero-visual{max-width:640px}
  .section-head{gap:16px}
  .demo-copy{padding:28px}
}
@media(max-width:720px){
  .topbar{top:10px;width:calc(100% - 18px);border-radius:13px}
  .hero{padding:24px 0 44px}
  .hero h1{font-size:clamp(44px,12.4vw,72px);letter-spacing:-.05em}
  .hero p{font-size:13px}
  .hero-chips{gap:6px}
  .hero-chips span{font-size:7px;padding:4px 8px}
  .hero-stats{grid-template-columns:1fr;gap:8px}
  .hero-stats div{display:flex;align-items:center;justify-content:space-between}
  .hero-stats div::before{left:12px;right:auto;width:44px}
  .hero-stats b{font-size:22px}
  .app-tilt{max-width:100%}
  .land-section{padding:52px 0}
  .section-head h2{font-size:clamp(30px,8vw,42px)}
  .portal{padding:22px}
  .portal h3{font-size:26px}
  .portal .pnum{font-size:38px}
  .steps-list{grid-template-columns:1fr}
  .adv-grid{grid-template-columns:1fr}
  .adv:first-child{grid-row:auto}
  .adv:nth-child(4){grid-column:auto}
  .demo{grid-template-columns:1fr}
  .demo-copy{border-right:none;border-bottom:1px solid var(--line)}
  .term{border-radius:0 0 22px 22px;min-height:250px}
  .cta{padding:28px;border-radius:18px}
  .cta .btn{width:100%;justify-content:center}
  .land-footer{flex-direction:column;gap:8px}
}
@media(max-width:520px){
  .hero h1{font-size:clamp(40px,13vw,60px)}
  .hero .btns .btn{width:100%;justify-content:center}
  .hero-stats{grid-template-columns:1fr}
  .portal .go{font-size:8px}
  .demo-copy{padding:22px}
  .term .body{font-size:9px}
  .app-tilt{max-width:100%}
}
