/* 現場 Onsite 公開站 — v3「Dark Ops / 即時作戰台」。native CSS,dark-mode 鎖定,發光紅 LIVE。 */
:root{
  --bg:#0B0B0D; --bg2:#131318; --card:#17171D; --card2:#1C1C23;
  --line:rgba(255,255,255,.08); --line2:rgba(255,255,255,.14);
  --ink:#F5F5F7; --text2:#A2A2AC; --text3:#6C6C77;
  --accent:#FF3B2D; --accent-ink:#FF6B5E; --accent-soft:rgba(255,59,45,.16);
  --green:#38D66B; --green-ink:#38D66B;
  --amber:#FFB020; --amber-ink:#FFB020;
  --red:#FF5A4D; --red-ink:#FF5A4D;
  --r-card:16px; --r-lg:24px; --r-pill:999px;
  --shadow-sm:0 1px 2px rgba(0,0,0,.4), 0 6px 20px rgba(0,0,0,.3);
  --shadow-md:0 4px 14px rgba(0,0,0,.4), 0 20px 50px rgba(0,0,0,.45);
  --glow:0 0 30px rgba(255,59,45,.45);
  --maxw:1120px;
  --ease:cubic-bezier(.16,1,.3,1);
  --sans:-apple-system,BlinkMacSystemFont,"PingFang TC","Segoe UI",system-ui,"Helvetica Neue",Arial,sans-serif;
  --mono:ui-monospace,"SF Mono",Menlo,Consolas,monospace;
}
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body{
  margin:0; background:var(--bg); color:var(--ink); font-family:var(--sans);
  font-size:16px; line-height:1.6; -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; overflow-x:hidden;
}
a{ color:inherit; }
img{ max-width:100%; display:block; }
::selection{ background:rgba(255,59,45,.3); }
.wrap{ max-width:var(--maxw); margin:0 auto; padding:0 24px; }

/* reveal — 只在 JS 啟用時隱藏(預設可見) */
.js .reveal{ opacity:0; transform:translateY(22px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){ .js .reveal{ opacity:1; transform:none; transition:none; } }

/* ---------------- header ---------------- */
.site-header{ position:sticky; top:0; z-index:30; background:rgba(11,11,13,.72); backdrop-filter:saturate(1.4) blur(14px); border-bottom:1px solid var(--line); }
.site-header .bar{ display:flex; align-items:center; gap:12px 20px; height:64px; flex-wrap:wrap; }
.brand{ display:flex; align-items:center; gap:9px; font-weight:800; font-size:19px; letter-spacing:-.02em; text-decoration:none; white-space:nowrap; flex-shrink:0; }
.brand .dot{ width:9px; height:9px; border-radius:50%; background:var(--accent); box-shadow:0 0 0 4px var(--accent-soft), 0 0 14px var(--accent); flex:none; }
.mainnav{ margin-left:auto; display:flex; gap:2px; }
.mainnav a, .site-header nav a{ text-decoration:none; color:var(--text2); font-size:14.5px; font-weight:550; padding:8px 12px; border-radius:9px; transition:background .15s, color .15s; }
.mainnav a:hover, .site-header nav a:hover{ background:rgba(255,255,255,.06); color:var(--ink); }
.langtoggle{ font-family:inherit; display:inline-flex; align-items:center; gap:5px; font-size:13px; font-weight:650; color:var(--text2);
  background:var(--card); border:1px solid var(--line2); border-radius:var(--r-pill); padding:6px 12px; cursor:pointer; transition:border-color .15s, color .15s; }
.langtoggle:hover{ color:var(--ink); border-color:var(--accent); }
.langtoggle .lg-sep{ color:var(--text3); font-weight:400; }
.langtoggle .lg-zh{ color:var(--ink); }
body.lang-en .langtoggle .lg-zh{ color:var(--text3); }
body.lang-en .langtoggle .lg-en{ color:var(--ink); }
body:not(.lang-en) .langtoggle .lg-en{ color:var(--text3); }

/* ---------------- buttons ---------------- */
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; font:inherit; font-weight:700; font-size:15.5px;
  padding:14px 24px; border-radius:13px; text-decoration:none; border:1px solid transparent; white-space:nowrap; cursor:pointer;
  transition:transform .14s var(--ease), background .15s, box-shadow .2s, border-color .15s; }
.btn.primary{ background:var(--accent); color:#fff; box-shadow:0 8px 30px rgba(255,59,45,.38); }
.btn.primary::before{ content:""; width:7px; height:7px; border-radius:50%; background:#fff; }
.btn.primary:hover{ transform:translateY(-2px); box-shadow:0 14px 42px rgba(255,59,45,.5); }
.btn.big{ font-size:17px; padding:16px 30px; border-radius:15px; }
.btn.ghost{ background:transparent; color:var(--ink); border-color:var(--line2); }
.btn.ghost:hover{ background:rgba(255,255,255,.06); border-color:var(--ink); }
a.btn.primary.is-soon{ cursor:pointer; }
/* 次要商店鈕(Google Play):暗色描邊,與紅色 App Store 主鈕區分(iOS 優先) */
.btn.store{ background:var(--card2); color:var(--ink); border:1px solid var(--line2); }
.btn.store:hover{ transform:translateY(-2px); background:#23232B; border-color:var(--ink); box-shadow:var(--shadow-md); }
a.btn.store.is-soon{ cursor:pointer; }
/* CTA band 雙商店鈕 + 即將上線註記 */
.cta-actions{ display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }
.cta-soon{ margin:16px 0 0; font-family:var(--mono); font-size:12.5px; color:var(--text3); }

/* 商店下載徽章(App Store / Google Play,同一種樣式) */
.badge{ display:inline-flex; align-items:center; gap:11px; background:#000; border:1px solid var(--line2); border-radius:13px;
  padding:9px 18px 9px 15px; color:#fff; text-decoration:none; transition:transform .14s var(--ease), border-color .15s, box-shadow .2s; }
.badge:hover{ transform:translateY(-2px); border-color:rgba(255,255,255,.42); box-shadow:var(--shadow-md); }
.badge-ico{ width:25px; height:25px; fill:#fff; flex:none; }
.badge-txt{ display:flex; flex-direction:column; line-height:1.12; text-align:left; }
.badge-txt small{ font-size:10px; font-weight:500; letter-spacing:.01em; opacity:.86; }
.badge-txt b{ font-size:17px; font-weight:650; letter-spacing:-.01em; }

/* ---------------- pills / badges / signal bars ---------------- */
.pill{ display:inline-flex; align-items:center; gap:6px; font-family:var(--mono); font-size:11px; font-weight:700; letter-spacing:.01em;
  padding:4px 10px; border-radius:var(--r-pill); line-height:1; white-space:nowrap; }
.pill.live{ background:var(--accent); color:#fff; box-shadow:0 0 16px rgba(255,59,45,.4); }
.pill.est{ background:rgba(255,255,255,.08); color:var(--text2); }
.livedot{ width:6px; height:6px; border-radius:50%; background:#fff; }
@media (prefers-reduced-motion: no-preference){ .livedot{ animation:pulse 1.7s ease-in-out infinite; } }
@keyframes pulse{ 0%,100%{ opacity:1; transform:scale(1);} 50%{ opacity:.35; transform:scale(.6);} }

.bars{ display:inline-flex; align-items:flex-end; gap:2.5px; height:16px; flex:none; }
.bars i{ width:3.5px; border-radius:1.5px; background:var(--line2); display:block; }
.bars i:nth-child(1){ height:5px; } .bars i:nth-child(2){ height:9px; }
.bars i:nth-child(3){ height:13px; } .bars i:nth-child(4){ height:16px; }
.bars.none i:nth-child(-n+1), .bars.light i:nth-child(-n+2){ background:var(--green); }
.bars.heavy i:nth-child(-n+3){ background:var(--amber); }
.bars.packed i{ background:var(--red); }

/* ---------------- hero ---------------- */
.hero{ position:relative; padding:clamp(48px,8vw,92px) 0 clamp(52px,7vw,84px); overflow:hidden; }
.hero::before{ content:""; position:absolute; top:-25%; right:-12%; width:75%; height:130%; z-index:0;
  background:radial-gradient(circle at 70% 30%, rgba(255,59,45,.20), transparent 60%); filter:blur(16px); pointer-events:none; }
.hero-grid{ position:relative; z-index:1; display:grid; grid-template-columns:1.06fr .94fr; gap:clamp(32px,5vw,60px); align-items:center; }
.kicker{ font-family:var(--mono); font-size:12px; font-weight:600; letter-spacing:.12em; text-transform:uppercase; color:var(--accent-ink); margin:0 0 18px;
  display:inline-flex; align-items:center; gap:9px; }
.kicker::before{ content:""; width:7px; height:7px; border-radius:50%; background:var(--accent); box-shadow:0 0 10px var(--accent); }
@media (prefers-reduced-motion: no-preference){ .kicker::before{ animation:pulse 1.7s ease-in-out infinite; } }
.hero-title{ font-size:clamp(40px,6.2vw,66px); line-height:1.04; letter-spacing:-.035em; font-weight:850; margin:0 0 22px; }
.hero-title .l1, .hero-title .l2{ display:block; }
.hero-title .hl{ color:var(--accent); text-shadow:0 0 34px rgba(255,59,45,.5); }
.lede{ font-size:clamp(16.5px,1.6vw,19px); line-height:1.6; color:var(--text2); margin:0 0 30px; max-width:33ch; }
.cta-row{ display:flex; gap:12px; align-items:center; flex-wrap:wrap; }
.fineprint{ margin:16px 0 0; font-family:var(--mono); font-size:12.5px; color:var(--text3); }

/* phone mock */
.hero-visual{ display:flex; justify-content:center; }
.phone{ width:min(320px,86vw); background:#000; border-radius:44px; padding:11px; position:relative;
  box-shadow:0 40px 120px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.08), 0 0 70px rgba(255,59,45,.22); }
.phone-notch{ position:absolute; top:11px; left:50%; transform:translateX(-50%); width:120px; height:24px; background:#000; border-radius:0 0 16px 16px; z-index:2; }
.phone-screen{ background:var(--bg2); border-radius:34px; padding:26px 15px 18px; overflow:hidden; }
.app-top{ display:flex; align-items:center; justify-content:space-between; margin:6px 4px 14px; }
.app-title{ font-size:18px; font-weight:800; letter-spacing:-.02em; }
.app-bell{ width:18px; height:18px; border-radius:6px; background:rgba(255,255,255,.08); }
.app-section{ font-family:var(--mono); font-size:11px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--text3); margin:14px 4px 8px; }
.app-section.muted{ color:var(--text3); }
.qcard{ background:var(--card); border:1px solid var(--line); border-radius:14px; padding:12px 13px; box-shadow:var(--shadow-sm); }
.qcard + .qcard{ margin-top:9px; }
.qcard.is-est{ background:var(--bg2); box-shadow:none; opacity:.72; }
.qcard-head{ display:flex; align-items:center; justify-content:space-between; gap:8px; }
.verdict{ font-size:16px; font-weight:750; letter-spacing:-.01em; }
.verdict.green{ color:var(--green); } .verdict.amber{ color:var(--amber); }
.verdict.red{ color:var(--red); } .verdict.grey{ color:var(--text2); }
.qcard-sub{ display:flex; align-items:center; gap:8px; margin-top:9px; font-size:12.5px; color:var(--text2); flex-wrap:wrap; }
.qcard-sub .chip-txt{ font-weight:600; color:var(--ink); }
.qcard-sub .venue{ color:var(--text2); }
.qcard-sub .venue.muted{ color:var(--text3); }

/* ---------------- sections ---------------- */
.block{ padding:clamp(56px,9vw,104px) 0; border-top:1px solid var(--line); }
.sec{ font-size:clamp(26px,3.4vw,38px); line-height:1.12; letter-spacing:-.025em; font-weight:800; margin:0 0 12px; max-width:20ch; }
.sec-lede{ font-size:clamp(16px,1.5vw,18px); color:var(--text2); margin:0 0 clamp(30px,4vw,48px); max-width:56ch; line-height:1.6; }
.kicker{ }

/* how: steps */
.steps{ list-style:none; margin:0; padding:0; display:grid; gap:0; }
.step{ display:grid; grid-template-columns:auto 1fr; gap:22px; align-items:start; padding:26px 0; border-top:1px solid var(--line); }
.step:first-child{ border-top:0; }
.step-n{ font-family:var(--mono); font-size:clamp(30px,4vw,46px); font-weight:800; letter-spacing:-.03em; color:var(--accent); line-height:1; text-shadow:0 0 22px rgba(255,59,45,.4); }
.step h3{ font-size:clamp(19px,2vw,23px); font-weight:700; letter-spacing:-.015em; margin:2px 0 7px; }
.step p{ margin:0; color:var(--text2); font-size:15.5px; line-height:1.62; max-width:62ch; }
.step strong{ color:var(--accent-ink); font-weight:700; }

/* trust */
.trust{ background:var(--bg2); }
.trust-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:clamp(32px,5vw,72px); align-items:center; }
.trust-lead .kicker{ color:var(--accent-ink); margin-bottom:14px; }
.vs{ display:flex; align-items:center; gap:16px; margin:26px 0 12px; }
.vs-item{ display:flex; flex-direction:column; gap:10px; align-items:flex-start; background:var(--card); border:1px solid var(--line);
  border-radius:14px; padding:16px 18px; box-shadow:var(--shadow-sm); flex:1; }
.vs-item .vs-label{ font-size:13px; color:var(--text2); font-weight:550; }
.vs-x{ width:26px; height:26px; flex:none; position:relative; opacity:.5; }
.vs-x::before,.vs-x::after{ content:""; position:absolute; top:50%; left:0; width:100%; height:2px; background:var(--ink); border-radius:2px; }
.vs-x::before{ transform:rotate(45deg); } .vs-x::after{ transform:rotate(-45deg); }
.vs-note{ font-size:13.5px; color:var(--text2); margin:12px 0 0; max-width:46ch; line-height:1.55; }
.trust-list{ list-style:none; margin:0; padding:0; display:grid; gap:0; }
.trust-list li{ padding:20px 0; border-top:1px solid var(--line2); }
.trust-list li:first-child{ border-top:0; }
.trust-list h3{ font-size:17.5px; font-weight:700; letter-spacing:-.01em; margin:0 0 5px; }
.trust-list p{ margin:0; color:var(--text2); font-size:14.5px; line-height:1.6; max-width:52ch; }

/* tiers */
.tiers{ display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.tier{ background:var(--card); border:1px solid var(--line); border-radius:var(--r-card); padding:20px 18px; box-shadow:var(--shadow-sm);
  transition:transform .18s var(--ease), box-shadow .18s, border-color .18s; }
.tier:hover{ transform:translateY(-3px); box-shadow:var(--shadow-md); border-color:var(--line2); }
.tier .bars{ height:20px; }
.tier .bars i:nth-child(1){ height:6px; } .tier .bars i:nth-child(2){ height:11px; }
.tier .bars i:nth-child(3){ height:16px; } .tier .bars i:nth-child(4){ height:20px; }
.tier-chip{ font-weight:700; font-size:16px; letter-spacing:-.01em; margin:14px 0 3px; }
.tier-chip.green{ color:var(--green); } .tier-chip.amber{ color:var(--amber); } .tier-chip.red{ color:var(--red); }
.tier-vd{ font-size:13px; color:var(--text2); }

/* cta band */
.cta-band{ position:relative; background:var(--bg2); border-top:1px solid var(--line); overflow:hidden; }
.cta-band::before{ content:""; position:absolute; inset:0; z-index:0;
  background:radial-gradient(circle at 50% 120%, rgba(255,59,45,.22), transparent 60%); pointer-events:none; }
.cta-inner{ position:relative; z-index:1; text-align:center; padding:clamp(56px,8vw,96px) 24px; }
.cta-inner h2{ font-size:clamp(26px,3.6vw,40px); letter-spacing:-.03em; font-weight:850; margin:0 0 12px; }
.cta-inner p{ font-size:17px; color:var(--text2); margin:0 0 28px; }

/* footer */
.site-footer{ border-top:1px solid var(--line); padding:clamp(40px,6vw,64px) 0 48px; color:var(--text2); font-size:14px; }
.foot-grid{ display:flex; gap:40px 56px; flex-wrap:wrap; justify-content:space-between; align-items:flex-start; margin-bottom:26px; }
.foot-brand{ max-width:34ch; }
.foot-brand .brand{ font-size:18px; }
.foot-brand p{ margin:12px 0 0; font-size:14px; line-height:1.6; }
.foot-col{ display:flex; flex-direction:column; gap:9px; }
.foot-col b{ color:var(--ink); font-size:12px; text-transform:uppercase; letter-spacing:.05em; margin-bottom:2px; font-weight:700; }
.site-footer a{ color:var(--text2); text-decoration:none; }
.site-footer a:hover{ color:var(--ink); text-decoration:underline; }
.site-footer .fine{ font-size:12.5px; color:var(--text2); line-height:1.65; border-top:1px solid var(--line); padding-top:22px; }

/* ---------------- doc pages (support / legal) ---------------- */
.doc{ padding:clamp(32px,5vw,52px) 0 20px; }
.doc-head{ margin-bottom:24px; }
.doc-head .back{ font-size:14px; color:var(--text2); text-decoration:none; }
.doc-head .back:hover{ color:var(--ink); }
.prose{ background:var(--card); border:1px solid var(--line); border-radius:var(--r-lg); box-shadow:var(--shadow-sm); padding:clamp(24px,4vw,40px); max-width:800px; margin:0 auto; }
.prose h1{ font-size:clamp(26px,3.4vw,32px); letter-spacing:-.025em; margin:0 0 6px; font-weight:800; }
.prose h2{ font-size:20px; margin:32px 0 10px; font-weight:750; letter-spacing:-.01em; padding-top:10px; border-top:1px solid var(--line); }
.prose h2:first-of-type{ border-top:0; padding-top:0; }
.prose h3{ font-size:16.5px; margin:20px 0 6px; font-weight:700; }
.prose p, .prose li{ color:var(--text2); font-size:15.5px; line-height:1.72; }
.prose ul{ padding-left:22px; } .prose li{ margin:5px 0; }
.prose strong{ color:var(--ink); font-weight:700; }
.prose blockquote{ margin:16px 0; padding:12px 16px; background:var(--bg2); border-radius:10px; color:var(--text2); font-size:14.5px; }
.prose blockquote p{ margin:0; color:var(--text2); }
.prose code{ font-family:var(--mono); font-size:.9em; background:rgba(255,255,255,.08); padding:1px 5px; border-radius:5px; }
.prose table{ width:100%; border-collapse:collapse; margin:14px 0; font-size:14.5px; }
.prose th,.prose td{ text-align:left; padding:9px 12px; border-bottom:1px solid var(--line); }
.prose th{ font-weight:700; color:var(--ink); background:rgba(255,255,255,.03); }
.prose hr{ border:0; border-top:1px solid var(--line); margin:26px 0; }
.prose em{ color:var(--text3); font-style:normal; font-size:13.5px; }
.prose a{ color:var(--accent-ink); text-decoration:underline; text-underline-offset:2px; }

/* support cards */
.support-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:16px; margin:22px 0; }
.support-card{ background:var(--card); border:1px solid var(--line); border-radius:var(--r-card); padding:22px; box-shadow:var(--shadow-sm); }
.support-card h2{ font-size:17px; margin:0 0 8px; font-weight:700; }
.support-card p{ margin:0 0 6px; color:var(--text2); font-size:14.5px; line-height:1.6; }
.support-card a.mail{ color:var(--accent-ink); font-weight:650; text-decoration:underline; text-underline-offset:2px; }
.faq dt{ font-weight:700; margin-top:16px; font-size:15.5px; color:var(--ink); }
.faq dd{ margin:5px 0 0; color:var(--text2); font-size:14.5px; line-height:1.65; }

/* ---------------- responsive ---------------- */
@media (max-width:880px){
  .hero-grid{ grid-template-columns:1fr; gap:36px; }
  .hero-copy{ order:1; } .hero-visual{ order:2; }
  .lede{ max-width:none; }
  .trust-grid{ grid-template-columns:1fr; gap:34px; }
  .tiers{ grid-template-columns:repeat(2,1fr); }
  .support-grid{ grid-template-columns:1fr; }
}
@media (max-width:640px){
  .site-header .bar{ height:auto; padding:10px 0; gap:10px 14px; }
  .mainnav{ order:3; width:100%; margin-left:0; justify-content:space-between; }
  .mainnav a{ padding:6px 8px; font-size:13.5px; }
  .langtoggle{ margin-left:auto; }
  .vs{ flex-direction:column; align-items:stretch; }
  .vs-x{ transform:rotate(90deg); align-self:center; }
  .tiers{ grid-template-columns:1fr 1fr; }
}
