/* ============================================================
   QSEC 宏禦全球 — Cyber Security Intelligence Platform
   Design tokens：Enterprise Technology × Cyber Intelligence × AI
   延伸現行 QSEC 藍，強化為「作戰指揮中心」視覺語言。
   避免 Matrix 綠駭客風／過度 Cyberpunk 霓虹。
   ============================================================ */

:root{
  /* base — deep navy operations-center canvas */
  --bg:#070B14;
  --bg-deep:#050810;
  --panel:#0D1526;
  --panel-2:#111B30;
  --card:#0F1830;
  --line:#1E2C4A;
  --line-strong:#2B3E63;
  --ink:#EDF1F8;
  --ink-soft:#9FB0CC;
  --ink-faint:#647393;

  /* brand — QSEC blue extended with signal cyan */
  --qblue:#1E5FD9;
  --qblue-deep:#123A8A;
  --cyan:#22D3EE;
  --cyan-soft:rgba(34,211,238,0.12);
  --brand-grad: linear-gradient(135deg, var(--qblue) 0%, #2C74F0 45%, var(--cyan) 100%);
  --brand-grad-soft: linear-gradient(135deg, rgba(30,95,217,0.14), rgba(34,211,238,0.10));

  /* semantic alert colors */
  --amber:#F59E0B;
  --red:#EF4444;
  --green:#22C55E;

  --radius-lg:20px;
  --radius-md:14px;
  --radius-sm:9px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3), 0 6px 18px -8px rgba(0,0,0,0.5);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.35), 0 32px 64px -24px rgba(30,95,217,0.35);
  --shadow-glow: 0 0 0 1px rgba(34,211,238,0.15), 0 0 32px -8px rgba(34,211,238,0.35);

  --font-display:"Space Grotesk","Noto Sans TC",-apple-system,sans-serif;
  --font-body:"Noto Sans TC",-apple-system,sans-serif;
  --font-mono:"JetBrains Mono",ui-monospace,monospace;
}

/* ---------- Light mode override (optional toggle) ---------- */
[data-theme="light"]{
  --bg:#F3F6FC;
  --bg-deep:#E9EEF7;
  --panel:#FFFFFF;
  --panel-2:#F0F4FB;
  --card:#FFFFFF;
  --line:#DCE3F0;
  --line-strong:#C3CEE3;
  --ink:#0B1220;
  --ink-soft:#48597B;
  --ink-faint:#8494B3;
  --shadow-sm: 0 1px 2px rgba(15,23,42,0.05), 0 6px 16px -8px rgba(15,23,42,0.10);
  --shadow-lg: 0 8px 24px rgba(15,23,42,0.08), 0 32px 64px -24px rgba(30,95,217,0.18);
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--font-body);
  -webkit-font-smoothing:antialiased;
  line-height:1.6;
  transition:background-color .25s ease, color .25s ease;
}
h1,h2,h3,h4{
  font-family:var(--font-display);
  font-weight:700;
  margin:0;
  letter-spacing:-0.01em;
  color:var(--ink);
}
p{margin:0;}
a{color:inherit; text-decoration:none;}
img{max-width:100%; display:block;}
ul,ol{margin:0; padding:0; list-style:none;}
button{font-family:inherit;}
:focus-visible{outline:2px solid var(--cyan); outline-offset:3px; border-radius:4px;}

.wrap{max-width:1220px; margin:0 auto; padding:0 24px;}
@media (max-width:640px){ .wrap{padding:0 18px;} }

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

.eyebrow{
  font-family:var(--font-display);
  font-size:12px; font-weight:600; letter-spacing:0.18em; text-transform:uppercase;
  color:var(--cyan); display:inline-flex; align-items:center; gap:10px; margin-bottom:16px;
}
.eyebrow::before{content:""; width:18px; height:2px; background:var(--brand-grad); display:inline-block; border-radius:2px;}

/* ---------- Header ----------
   注意：backdrop-filter 移到 ::before 偽元素上（而非直接套用在
   .site-header 本身），因為 backdrop-filter／filter／transform
   等屬性會讓套用的元素成為其子孫 position:fixed 元素的新
   containing block。若直接放在 .site-header 上，手機版選單展開
   時的 .main-nav.is-open（position:fixed）就會被錯誤限制在
   header 的高度範圍內，導致選單面板被壓成一條窄縫、底下連結
   全部無法顯示（V04 已修復的問題，此處以 CSS 從根本排除，
   不再只依賴 JS 動態搬移 DOM 這種較脆弱的手段，兩者並行雙重保險）。
   ---------- */
.site-header{
  position:sticky; top:0; z-index:100;
  border-bottom:1px solid var(--line);
}
.site-header::before{
  content:""; position:absolute; inset:0; z-index:-1;
  background:rgba(7,11,20,0.86);
  backdrop-filter:blur(14px) saturate(1.3);
  -webkit-backdrop-filter:blur(14px) saturate(1.3);
}
[data-theme="light"] .site-header::before{background:rgba(243,246,252,0.9);}
.site-header .wrap{height:76px; display:flex; align-items:center; gap:14px; position:relative;}
.logo-mark{height:40px; width:40px; flex-shrink:0; display:flex; align-items:center; justify-content:center;}
.logo-mark svg{width:100%; height:100%;}
.brand-link{display:flex; align-items:center; gap:12px; text-decoration:none; color:inherit; transition:opacity .15s ease;}
.brand-link:hover{opacity:0.85;}
.brand-block{display:flex; flex-direction:column; line-height:1.25;}
.brand-name{font-family:var(--font-display); font-weight:700; font-size:16px; letter-spacing:0.01em;}
.brand-name-en{color:var(--cyan);}
.brand-en{font-family:var(--font-mono); font-size:9px; letter-spacing:0.14em; color:var(--ink-faint);}

.main-nav{margin-left:auto; display:flex; align-items:center; gap:2px;}
.main-nav a{
  font-size:13.5px; font-weight:600; color:var(--ink-soft);
  padding:9px 14px; border-radius:999px; transition:background .15s ease, color .15s ease;
}
.main-nav a:hover{color:var(--cyan); background:rgba(34,211,238,0.08);}
.nav-cta{
  margin-left:8px; padding:10px 20px !important; border-radius:999px;
  background:var(--brand-grad) !important; color:#04101F !important; font-weight:700 !important;
  box-shadow:0 8px 20px -8px rgba(34,211,238,0.5);
}
.nav-cta:hover{color:#04101F !important; opacity:0.92; background:var(--brand-grad) !important;}

.nav-toggle{
  display:none; margin-left:auto; background:none; border:none; padding:8px; cursor:pointer;
  position:relative; z-index:10001; -webkit-tap-highlight-color:transparent; touch-action:manipulation;
}
.nav-toggle svg{width:24px; height:24px; color:var(--ink); pointer-events:none;}
.nav-toggle .icon-close{display:none;}
.nav-toggle.is-active .icon-burger{display:none;}
.nav-toggle.is-active .icon-close{display:block;}

.theme-toggle{
  display:flex; align-items:center; justify-content:center;
  width:38px; height:38px; margin-left:6px; border-radius:50%;
  background:var(--panel); border:1px solid var(--line-strong);
  cursor:pointer; flex-shrink:0; transition:border-color .15s ease;
}
.theme-toggle:hover{border-color:var(--cyan);}
.theme-toggle svg{width:18px; height:18px; color:var(--ink-soft);}
.theme-toggle .icon-sun{display:none;}
[data-theme="light"] .theme-toggle .icon-sun{display:block;}
[data-theme="light"] .theme-toggle .icon-moon{display:none;}

@media (max-width:960px){
  .main-nav{display:none;}
  .main-nav.is-open{
    display:flex !important; position:fixed; left:0; right:0; top:64px; bottom:0; z-index:10000;
    background:var(--bg); flex-direction:column; align-items:stretch;
    padding:20px; gap:6px; overflow-y:auto; -webkit-overflow-scrolling:touch;
    animation:navSlideIn .22s ease;
  }
  .main-nav a{font-size:16px; padding:14px 16px; border-radius:12px; text-align:center;}
  .nav-cta{order:99; margin-top:10px; margin-left:0 !important; text-align:center;}
  .nav-toggle{display:block;}
  .site-header .wrap{height:64px;}
  .logo-mark{height:34px; width:34px;}
}
@keyframes navSlideIn{from{opacity:0; transform:translateY(-8px);} to{opacity:1; transform:translateY(0);}}
body.nav-open-lock{overflow:hidden; height:100dvh;}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-size:14.5px; font-weight:700; padding:13px 26px; border-radius:999px;
  border:1px solid transparent; cursor:pointer; transition:transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  white-space:nowrap; font-family:var(--font-display);
}
.btn svg{width:17px; height:17px; flex-shrink:0;}
.btn-primary{background:var(--brand-grad); color:#04101F; box-shadow:0 12px 28px -10px rgba(34,211,238,0.45);}
.btn-primary:hover{transform:translateY(-2px); box-shadow:0 16px 34px -10px rgba(34,211,238,0.55);}
.btn-ghost{background:transparent; color:var(--ink-soft); border-color:var(--line-strong);}
.btn-ghost:hover{border-color:var(--cyan); color:var(--cyan); transform:translateY(-2px);}
.btn-outline-risk{background:transparent; color:var(--amber); border-color:rgba(245,158,11,0.5);}
.btn-outline-risk:hover{background:rgba(245,158,11,0.1); transform:translateY(-2px);}
.btn-line{background:#06C755; color:#fff; box-shadow:0 10px 24px -10px rgba(6,199,85,0.5);}
.btn-block{width:100%;}
.btn-lg{padding:16px 30px; font-size:15.5px;}

/* ---------- Section rhythm ---------- */
section{padding:88px 0;}
@media (max-width:640px){ section{padding:56px 0;} }
.section-head{max-width:680px; margin-bottom:48px;}
.section-head h2{font-size:clamp(25px,3.6vw,38px); line-height:1.3;}
.section-head .lede{margin-top:14px; font-size:16px; color:var(--ink-soft); line-height:1.8;}
.section-alt{background:var(--panel);}

.reveal{opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s ease;}
.reveal.is-visible{opacity:1; transform:translateY(0);}
@media (prefers-reduced-motion: reduce){
  .reveal{opacity:1; transform:none; transition:none;}
  html{scroll-behavior:auto;}
}

/* ================= HERO ================= */
.hero{
  position:relative; overflow:hidden;
  padding:56px 0 72px;
  background:
    radial-gradient(1200px 560px at 85% -8%, rgba(34,211,238,0.10), transparent 60%),
    radial-gradient(900px 460px at 0% 10%, rgba(30,95,217,0.16), transparent 55%),
    var(--bg-deep);
  border-bottom:1px solid var(--line);
}
.hero-bg{position:absolute; inset:0; z-index:0; overflow:hidden;}
#threatCanvas{position:absolute; inset:0; width:100%; height:100%; opacity:0.55;}
.hero-scanline{
  position:absolute; inset:0;
  background:repeating-linear-gradient(180deg, rgba(34,211,238,0.02) 0px, rgba(34,211,238,0.02) 1px, transparent 1px, transparent 3px);
  pointer-events:none;
}
.hero-inner{
  position:relative; z-index:1;
  display:grid; grid-template-columns:1.15fr 0.85fr; gap:56px; align-items:center;
}
@media (max-width:960px){ .hero-inner{grid-template-columns:1fr; gap:40px;} }

.hero-copy{min-width:0;}
.hero-badge{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--font-mono); font-size:11.5px; font-weight:600; letter-spacing:0.08em;
  color:var(--cyan); background:var(--cyan-soft); border:1px solid rgba(34,211,238,0.3);
  padding:7px 14px; border-radius:999px; margin-bottom:22px;
}
.live-dot{width:7px; height:7px; border-radius:50%; background:var(--green); box-shadow:0 0 0 3px rgba(34,197,94,0.25); animation:pulseDot 2s infinite;}
@keyframes pulseDot{0%,100%{opacity:1;} 50%{opacity:0.4;}}

.hero h1{font-size:clamp(30px,4.6vw,50px); line-height:1.25;}
.hero .lede{margin-top:20px; font-size:17px; color:var(--ink-soft); max-width:560px; line-height:1.85;}
.hero-actions{margin-top:32px; display:flex; gap:12px; flex-wrap:wrap;}
.hero-stats{margin-top:44px; display:flex; gap:32px; flex-wrap:wrap;}
.hero-stats .stat{display:flex; flex-direction:column; gap:4px;}
.hero-stats .stat b{font-family:var(--font-display); font-size:24px; font-weight:700; color:var(--cyan);}
.hero-stats .stat span{font-size:12px; color:var(--ink-faint);}

/* ---- Threat Console (signature element) ---- */
.hero-console{position:relative; z-index:1;}
.console-frame{
  background:linear-gradient(180deg, var(--panel-2), var(--panel));
  border:1px solid var(--line-strong); border-radius:var(--radius-lg);
  box-shadow:var(--shadow-lg), var(--shadow-glow);
  overflow:hidden;
}
.console-head{
  display:flex; align-items:center; gap:8px; padding:14px 16px;
  border-bottom:1px solid var(--line); background:rgba(0,0,0,0.18);
}
.console-dot{width:9px; height:9px; border-radius:50%; opacity:0.85;}
.dot-r{background:var(--red);} .dot-y{background:var(--amber);} .dot-g{background:var(--green);}
.console-title{
  font-family:var(--font-mono); font-size:11px; font-weight:600; letter-spacing:0.08em;
  color:var(--ink-soft); margin-left:6px;
}
.console-demo-tag{
  margin-left:auto; font-family:var(--font-mono); font-size:9.5px; font-weight:600;
  color:var(--amber); border:1px solid rgba(245,158,11,0.4); background:rgba(245,158,11,0.08);
  padding:3px 8px; border-radius:5px; letter-spacing:0.05em;
}
.console-body{padding:20px;}
.console-metric{display:flex; align-items:center; justify-content:space-between; margin-bottom:18px;}
.cm-label{font-family:var(--font-mono); font-size:11px; color:var(--ink-faint); letter-spacing:0.1em;}
.cm-value{font-family:var(--font-display); font-weight:700; font-size:15px; padding:5px 12px; border-radius:7px;}
.cm-value-warn{color:var(--amber); background:rgba(245,158,11,0.12); border:1px solid rgba(245,158,11,0.3);}
.console-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-bottom:18px;}
.cg-item{
  background:var(--card); border:1px solid var(--line); border-radius:var(--radius-sm);
  padding:12px 10px; text-align:center;
}
.cg-num{display:block; font-family:var(--font-display); font-size:20px; font-weight:700; color:var(--ink); margin-bottom:3px;}
.cg-num.cg-good{color:var(--green);}
.cg-label{font-size:10px; color:var(--ink-faint); letter-spacing:0.02em;}
.console-feed{
  font-family:var(--font-mono); font-size:11px; line-height:2; color:var(--ink-soft);
  max-height:120px; overflow:hidden; border-top:1px dashed var(--line); padding-top:12px;
}
.console-feed .feed-line{display:flex; gap:8px; opacity:0.9;}
.console-feed .feed-line .fl-tag{color:var(--cyan); flex-shrink:0;}
.console-feed .feed-line.fl-blocked .fl-tag{color:var(--red);}

/* ================= THREAT GRID ================= */
.threat-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:16px;}
@media (max-width:960px){ .threat-grid{grid-template-columns:repeat(2,1fr);} }
@media (max-width:520px){ .threat-grid{grid-template-columns:1fr;} }
.threat-card{
  background:var(--card); border:1px solid var(--line); border-radius:var(--radius-md);
  padding:22px; transition:border-color .2s ease, transform .2s ease, box-shadow .2s ease;
  position:relative; overflow:hidden;
}
.threat-card::before{
  content:""; position:absolute; inset:0; opacity:0; transition:opacity .25s ease;
  background:radial-gradient(120px 80px at 24px 20px, rgba(34,211,238,0.10), transparent 70%);
  pointer-events:none;
}
.threat-card:hover{border-color:var(--line-strong); transform:translateY(-3px); box-shadow:var(--shadow-sm);}
.threat-card:hover::before{opacity:1;}
.threat-icon{
  display:inline-flex; align-items:center; justify-content:center; margin-bottom:16px;
  width:52px; height:52px; border-radius:14px; background:var(--panel-2); border:1px solid var(--line);
  position:relative; z-index:1;
}
.threat-icon svg{width:40px; height:40px;}
.threat-icon-red{box-shadow:inset 0 0 0 1px rgba(239,68,68,0.14);}
.threat-icon-amber{box-shadow:inset 0 0 0 1px rgba(245,158,11,0.14);}
.threat-icon-cyan{box-shadow:inset 0 0 0 1px rgba(34,211,238,0.16);}
.threat-icon-violet{box-shadow:inset 0 0 0 1px rgba(124,156,255,0.16);}
.threat-card h3{font-size:16px; margin-bottom:8px; position:relative; z-index:1;}
.threat-card p{font-size:13.5px; color:var(--ink-soft); line-height:1.7; position:relative; z-index:1;}

/* ================= GLOBAL THREAT MAP ================= */
.tmap-wrap{
  background:var(--panel); border:1px solid var(--line); border-radius:var(--radius-lg);
  padding:24px; display:grid; grid-template-columns:1fr; gap:20px;
}
.tmap-head{display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; margin-bottom:2px;}
.tmap-title{
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--font-mono); font-size:12px; font-weight:600; letter-spacing:0.1em;
  color:var(--ink-soft);
}
.tmap-title svg{width:16px; height:16px; color:var(--cyan);}
.tmap-demo-tag{
  font-family:var(--font-mono); font-size:9.5px; font-weight:600;
  color:var(--amber); border:1px solid rgba(245,158,11,0.4); background:rgba(245,158,11,0.08);
  padding:3px 8px; border-radius:5px; letter-spacing:0.05em;
}
.tmap-stage{
  position:relative; background:var(--bg-deep); border:1px solid var(--line); border-radius:var(--radius-md);
  overflow:hidden; padding:10px 10px 46px;
}
.tmap-svg{width:100%; height:auto; display:block;}
.tmap-dots{fill:var(--line-strong); opacity:0.85;}
[data-theme="light"] .tmap-dots{fill:#B9C6DE;}
.tm-arc{
  fill:none; stroke:url(#tmArcGrad); stroke-width:1.1; stroke-linecap:round;
  opacity:0; stroke-dasharray:6 8;
  animation:tmArcFade 8.4s ease-in-out infinite;
  animation-delay:var(--tm-delay);
}
@keyframes tmArcFade{
  0%{opacity:0;} 4%{opacity:0.75;} 30%{opacity:0.55;} 40%{opacity:0;} 100%{opacity:0;}
}
.tm-pulse{fill:#fff; filter:drop-shadow(0 0 4px rgba(34,211,238,0.9));}
.tm-node{fill:var(--cyan); opacity:0.85;}
.tm-node-hq{fill:#fff; stroke:var(--cyan); stroke-width:2;}
.tm-node-ring{
  fill:none; stroke:var(--cyan); stroke-width:1.4; opacity:0.7;
  transform-origin:860px 242.5px;
  animation:tmRing 2.4s ease-out infinite;
}
@keyframes tmRing{
  0%{transform:scale(1); opacity:0.8;}
  100%{transform:scale(2.8); opacity:0;}
}
.tm-hq-glow{animation:tmGlowPulse 2.4s ease-in-out infinite;}
@keyframes tmGlowPulse{0%,100%{opacity:0.6;} 50%{opacity:1;}}
@media (prefers-reduced-motion: reduce){
  .tm-arc,.tm-node-ring,.tm-hq-glow{animation:none; opacity:0.6;}
}
.tmap-legend{
  position:absolute; left:20px; bottom:14px; display:flex; gap:18px; flex-wrap:wrap;
  font-size:11px; color:var(--ink-faint); font-family:var(--font-mono);
}
.tml-item{display:inline-flex; align-items:center; gap:6px;}
.tml-dot{width:8px; height:8px; border-radius:50%; background:var(--cyan); display:inline-block;}
.tml-dot-hq{background:#fff; box-shadow:0 0 0 2px var(--cyan);}
.tml-line{width:16px; height:2px; background:linear-gradient(90deg,var(--red),var(--cyan)); display:inline-block;}

.tmap-feed-panel{
  background:var(--card); border:1px solid var(--line); border-radius:var(--radius-md); padding:18px 20px;
}
.tmap-feed-title{
  font-family:var(--font-mono); font-size:11px; font-weight:600; letter-spacing:0.1em;
  color:var(--ink-faint); margin-bottom:10px;
}
.tmap-feed{
  font-family:var(--font-mono); font-size:12px; line-height:2; color:var(--ink-soft);
  min-height:64px; max-height:96px; overflow:hidden;
}
.tmap-feed .feed-line{display:flex; gap:8px; opacity:0.9;}
.tmap-feed .feed-line .fl-tag{color:var(--cyan); flex-shrink:0;}
.tmap-feed .feed-line.fl-blocked .fl-tag{color:var(--red);}
.tmap-stats{
  display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:14px;
  padding-top:14px; border-top:1px dashed var(--line);
}
.tms-item{text-align:center;}
.tms-num{display:block; font-family:var(--font-display); font-size:20px; font-weight:700; color:var(--ink); margin-bottom:3px;}
.tms-num.tms-good{color:var(--green);}
.tms-label{font-size:10.5px; color:var(--ink-faint);}

@media (min-width:860px){
  .tmap-wrap{grid-template-columns:2.1fr 1fr; align-items:start;}
  .tmap-head{grid-column:1 / -1;}
}

/* ================= ATTACK FLOW SIMULATION ================= */
.attack-flow-wrap{
  background:var(--panel); border:1px solid var(--line); border-radius:var(--radius-lg);
  padding:36px 28px;
}

/* ===== V04 新增：入侵後果對比區塊（攻擊模擬結尾震撼呈現） ===== */
.breach-outcome{
  margin-top:32px; display:grid; grid-template-columns:1fr auto 1fr; gap:0;
  align-items:stretch; opacity:0; max-height:0; overflow:hidden;
  transform:translateY(8px);
  transition:opacity .5s ease, transform .5s ease, max-height .6s ease;
}
.breach-outcome.is-visible{opacity:1; max-height:900px; transform:translateY(0);}
.bo-col{
  padding:26px 24px; border-radius:var(--radius-md);
  display:flex; flex-direction:column; gap:14px;
}
.bo-col-breach{
  background:linear-gradient(160deg, rgba(239,68,68,0.14), rgba(239,68,68,0.03));
  border:1px solid rgba(239,68,68,0.35);
  border-radius:var(--radius-md) 0 0 var(--radius-md);
}
.bo-col-defended{
  background:linear-gradient(160deg, rgba(34,197,94,0.14), rgba(34,197,94,0.03));
  border:1px solid rgba(34,197,94,0.35);
  border-radius:0 var(--radius-md) var(--radius-md) 0;
}
.bo-divider{
  display:flex; align-items:center; justify-content:center; width:48px;
  background:var(--panel-2); border-top:1px solid var(--line); border-bottom:1px solid var(--line);
}
.bo-divider span{
  font-family:var(--font-mono); font-size:11px; font-weight:700; color:var(--ink-faint);
  letter-spacing:0.08em; writing-mode:vertical-rl;
}
.bo-tag{
  display:inline-flex; align-items:center; gap:6px; font-family:var(--font-mono);
  font-size:11.5px; font-weight:700; letter-spacing:0.04em; padding:6px 12px; border-radius:999px;
}
.bo-tag svg{width:15px; height:15px; flex-shrink:0;}
.bo-tag-red{background:rgba(239,68,68,0.14); color:#FCA5A5; border:1px solid rgba(239,68,68,0.4);}
.bo-tag-green{background:rgba(34,197,94,0.14); color:#86EFAC; border:1px solid rgba(34,197,94,0.4);}
.bo-headline{font-size:16.5px; font-weight:700; line-height:1.5; color:var(--ink);}
.bo-num{color:var(--red); font-family:var(--font-mono); font-weight:800;}
.bo-num-good{color:var(--green);}
.bo-list{display:flex; flex-direction:column; gap:10px; margin-top:2px;}
.bo-list li{display:flex; align-items:baseline; gap:10px; flex-wrap:wrap;}
.bo-metric{
  font-family:var(--font-mono); font-size:19px; font-weight:800; color:var(--red);
  min-width:64px;
}
.bo-metric-good{color:var(--green);}
.bo-metric-label{font-size:12.5px; color:var(--ink-soft); line-height:1.5;}
.bo-metric-static{font-size:12.5px; color:var(--ink-soft); line-height:1.6; padding-top:4px; border-top:1px dashed var(--line);}
.bo-disclaimer{
  margin-top:14px; font-size:11.5px; color:var(--ink-faint); text-align:center; line-height:1.6;
}
@media (max-width:720px){
  .breach-outcome{grid-template-columns:1fr;}
  .bo-col-breach{border-radius:var(--radius-md) var(--radius-md) 0 0;}
  .bo-col-defended{border-radius:0 0 var(--radius-md) var(--radius-md);}
  .bo-divider{width:100%; height:32px; border-left:1px solid var(--line); border-right:1px solid var(--line); border-top:none; border-bottom:none;}
  .bo-divider span{writing-mode:horizontal-tb;}
}
@media (prefers-reduced-motion: reduce){
  .breach-outcome{transition:none;}
}
.attack-flow{
  display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:8px;
  margin-bottom:32px;
}
.af-step{
  display:flex; flex-direction:column; align-items:center; gap:8px;
  width:110px; opacity:0.4; transition:opacity .3s ease, transform .3s ease;
}
.af-step.af-active{opacity:1; transform:scale(1.06);}
.af-step.af-done{opacity:0.75;}
.af-icon{
  width:52px; height:52px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background:var(--card); border:1px solid var(--line-strong); color:var(--ink-soft);
  transition:color .25s ease, border-color .2s ease, box-shadow .2s ease;
}
.af-icon svg{width:40px; height:40px;}
.af-step.af-active .af-icon{border-color:var(--cyan); color:var(--cyan); box-shadow:0 0 0 4px rgba(34,211,238,0.15);}
.af-step-final.af-active .af-icon,.af-step-final.af-done .af-icon{border-color:var(--green); color:var(--green); box-shadow:0 0 0 4px rgba(34,197,94,0.15);}
.af-label{font-size:11.5px; font-family:var(--font-mono); color:var(--ink-soft); text-align:center;}
.af-arrow{
  width:24px; height:2px; background:var(--line-strong); position:relative; flex-shrink:0;
}
.af-arrow::after{
  content:""; position:absolute; right:-1px; top:50%; transform:translateY(-50%);
  width:0; height:0; border-top:4px solid transparent; border-bottom:4px solid transparent; border-left:5px solid var(--line-strong);
}
@media (max-width:720px){
  .attack-flow{flex-direction:column;}
  .af-arrow{width:2px; height:20px;}
  .af-arrow::after{right:50%; top:auto; bottom:-1px; transform:translateX(50%); border-left:4px solid transparent; border-right:4px solid transparent; border-top:5px solid var(--line-strong); border-bottom:none;}
}
.attack-flow-cta{display:flex; flex-direction:column; align-items:center; gap:10px;}
.attack-flow-note{font-family:var(--font-mono); font-size:10.5px; color:var(--ink-faint); letter-spacing:0.04em;}
.experience-followup{
  margin-top:28px; text-align:center; display:flex; flex-direction:column; align-items:center; gap:14px;
}
.experience-followup p{font-size:15px; color:var(--ink-soft); max-width:560px;}

/* ================= COMPARE ================= */
.compare-grid{display:grid; grid-template-columns:1fr auto 1fr; gap:24px; align-items:stretch; margin-bottom:40px;}
@media (max-width:760px){ .compare-grid{grid-template-columns:1fr;} }
.compare-col{background:var(--card); border:1px solid var(--line); border-radius:var(--radius-lg); padding:28px;}
.compare-old{border-color:rgba(239,68,68,0.2);}
.compare-new{border-color:rgba(34,211,238,0.35); box-shadow:0 0 0 1px rgba(34,211,238,0.12);}
.compare-tag{
  display:inline-block; font-size:12px; font-weight:700; padding:5px 12px; border-radius:999px;
  background:var(--panel-2); color:var(--ink-soft); margin-bottom:16px; font-family:var(--font-mono);
}
.compare-tag-brand{background:var(--brand-grad); color:#04101F;}
.compare-list li{display:flex; align-items:flex-start; gap:10px; font-size:14.5px; color:var(--ink-soft); padding:9px 0; border-top:1px solid var(--line);}
.compare-list li:first-child{border-top:none;}
.ci{font-weight:700; flex-shrink:0;}
.ci-bad{color:var(--red);}
.ci-good{color:var(--cyan);}
.compare-vs{
  display:flex; align-items:center; justify-content:center; font-family:var(--font-display);
  font-weight:700; color:var(--ink-faint); font-size:14px;
}
@media (max-width:760px){ .compare-vs{padding:4px 0;} }
.compare-table-wrap{overflow-x:auto;}
.compare-table{width:100%; border-collapse:collapse; font-size:14px; min-width:560px;}
.compare-table th,.compare-table td{padding:14px 16px; text-align:left; border-bottom:1px solid var(--line);}
.compare-table th{font-family:var(--font-mono); font-size:11.5px; color:var(--ink-faint); letter-spacing:0.06em; text-transform:uppercase;}
.compare-table td:first-child{color:var(--ink-soft); font-weight:600;}
.compare-table td:last-child{color:var(--cyan);}

/* ================= INTEL GRID ================= */
.intel-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:20px;}
@media (max-width:860px){ .intel-grid{grid-template-columns:repeat(2,1fr);} }
@media (max-width:560px){ .intel-grid{grid-template-columns:1fr;} }
.intel-card{background:var(--card); border:1px solid var(--line); border-radius:var(--radius-lg); padding:26px;}
.intel-num{font-family:var(--font-display); font-size:30px; font-weight:700; color:var(--cyan); margin-bottom:10px;}
.intel-card h3{font-size:16.5px; margin-bottom:10px;}
.intel-card p{font-size:13.5px; color:var(--ink-soft); line-height:1.75;}

/* ================= RISK QUIZ ================= */
.risk-quiz{max-width:620px; margin:0 auto;}
.quiz-panel{background:var(--card); border:1px solid var(--line); border-radius:var(--radius-lg); padding:32px;}
.quiz-progress{height:4px; background:var(--panel-2); border-radius:999px; overflow:hidden; margin-bottom:18px;}
.quiz-progress span{display:block; height:100%; width:16.6%; background:var(--brand-grad); transition:width .3s ease;}
.quiz-step-label{font-family:var(--font-mono); font-size:11.5px; color:var(--ink-faint); margin-bottom:10px;}
.quiz-q{font-size:19px; line-height:1.5; margin-bottom:22px;}
.quiz-options{display:flex; flex-direction:column; gap:10px;}
.quiz-opt{
  text-align:left; background:var(--panel-2); border:1px solid var(--line); color:var(--ink);
  padding:14px 16px; border-radius:var(--radius-sm); font-size:14.5px; cursor:pointer;
  transition:border-color .15s ease, background .15s ease;
}
.quiz-opt:hover{border-color:var(--cyan); background:rgba(34,211,238,0.06);}
.quiz-result{
  background:var(--card); border:1px solid var(--line); border-radius:var(--radius-lg); padding:36px;
  display:flex; flex-direction:column; align-items:center; gap:18px; text-align:center;
}
.risk-score-ring{position:relative; width:120px; height:120px;}
.risk-score-ring svg{width:100%; height:100%; transform:rotate(-90deg);}
.rs-track{fill:none; stroke:var(--panel-2); stroke-width:9;}
.rs-fill{fill:none; stroke:var(--red); stroke-width:9; stroke-linecap:round; stroke-dasharray:326.7; stroke-dashoffset:326.7; transition:stroke-dashoffset 1s ease;}
.risk-score-num{position:absolute; inset:0; display:flex; align-items:baseline; justify-content:center; gap:2px; font-family:var(--font-display);}
.risk-score-num span{font-size:32px; font-weight:700;}
.risk-score-num small{font-size:13px; color:var(--ink-faint);}
.risk-level{font-family:var(--font-mono); font-weight:700; font-size:14px; letter-spacing:0.08em; color:var(--red); background:rgba(239,68,68,0.1); border:1px solid rgba(239,68,68,0.3); padding:6px 16px; border-radius:999px;}
.risk-reasons{width:100%; text-align:left; background:var(--panel-2); border-radius:var(--radius-sm); padding:16px 20px;}
.risk-reasons-title{font-size:12px; color:var(--ink-faint); font-family:var(--font-mono); margin-bottom:8px; letter-spacing:0.06em;}
.risk-reasons-list,.risk-reasons ol{display:flex; flex-direction:column; gap:6px;}
.risk-reasons ol li{counter-increment:none; font-size:14px; color:var(--ink-soft);}
.quiz-restart{background:none; border:none; color:var(--ink-faint); font-size:13px; text-decoration:underline; cursor:pointer;}

/* ================= SOLUTIONS ================= */
.solution-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:18px;}
@media (max-width:860px){ .solution-grid{grid-template-columns:repeat(2,1fr);} }
@media (max-width:560px){ .solution-grid{grid-template-columns:1fr;} }
.solution-card{
  display:block; background:var(--card); border:1px solid var(--line); border-radius:var(--radius-lg);
  padding:24px; transition:border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.solution-card:hover{border-color:var(--cyan); transform:translateY(-3px); box-shadow:var(--shadow-glow);}
.sc-icon{
  display:flex; align-items:center; justify-content:center; width:48px; height:48px;
  border-radius:12px; background:var(--panel-2); border:1px solid var(--line); margin-bottom:16px;
}
.sc-icon svg{width:36px; height:36px;}
.solution-card h3{font-size:15.5px; margin-bottom:8px; line-height:1.4;}
.solution-card p{font-size:13px; color:var(--ink-soft); line-height:1.6;}

/* ================= PRODUCTS ================= */
.product-feature-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin-bottom:40px;}
@media (max-width:860px){ .product-feature-grid{grid-template-columns:repeat(2,1fr);} }
@media (max-width:560px){ .product-feature-grid{grid-template-columns:1fr;} }
.pf-card{background:var(--card); border:1px solid var(--line); border-radius:var(--radius-md); padding:20px; transition:border-color .2s ease, transform .2s ease;}
.pf-card:hover{border-color:var(--line-strong); transform:translateY(-2px);}
.pf-icon{
  display:flex; align-items:center; justify-content:center; width:40px; height:40px;
  border-radius:10px; background:var(--panel-2); border:1px solid var(--line); margin-bottom:12px;
}
.pf-icon svg{width:30px; height:30px;}
.pf-card h4{font-size:14.5px; margin-bottom:6px;}
.pf-card p{font-size:12.5px; color:var(--ink-soft); line-height:1.6;}

.product-flagship{
  position:relative; background:linear-gradient(135deg, var(--panel-2), var(--card));
  border:1px solid rgba(34,211,238,0.3); border-radius:var(--radius-lg); padding:32px; margin-bottom:36px;
}
.pfl-badge{
  display:inline-block; font-family:var(--font-mono); font-size:11px; font-weight:700; letter-spacing:0.1em;
  color:#04101F; background:var(--brand-grad); padding:5px 12px; border-radius:6px; margin-bottom:14px;
}
.product-flagship h3{font-size:22px; margin-bottom:12px;}
.pfl-who{font-size:14.5px; color:var(--ink-soft); margin-bottom:10px; line-height:1.7;}
.product-flagship > p:not(.pfl-who){font-size:14.5px; color:var(--ink-soft); line-height:1.75; margin-bottom:20px; max-width:640px;}

.product-spec-grid{display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-bottom:36px;}
@media (max-width:720px){ .product-spec-grid{grid-template-columns:1fr;} }
.spec-card{background:var(--card); border:1px solid var(--line); border-radius:var(--radius-lg); padding:26px;}
.spec-card-hi{border-color:rgba(34,211,238,0.35);}
.spec-card h4{font-size:18px; margin-bottom:6px;}
.spec-fit{font-size:12.5px; color:var(--ink-faint); margin-bottom:16px;}
.spec-list{display:flex; flex-direction:column; gap:8px; margin-bottom:16px;}
.spec-list li{font-size:13.5px; color:var(--ink-soft); font-family:var(--font-mono); padding-bottom:8px; border-bottom:1px dashed var(--line);}
.spec-list li:last-child{border-bottom:none;}
.spec-highlight{font-size:13.5px; color:var(--green); font-weight:600;}

.product-other{display:grid; grid-template-columns:1fr 1fr; gap:20px;}
@media (max-width:720px){ .product-other{grid-template-columns:1fr;} }
.po-card{background:var(--card); border:1px solid var(--line); border-radius:var(--radius-lg); padding:24px;}
.po-card h4{font-size:16px; margin-bottom:10px;}
.po-card p{font-size:13.5px; color:var(--ink-soft); line-height:1.7; margin-bottom:14px;}
.po-tags{display:flex; flex-wrap:wrap; gap:8px;}
.po-tags li{font-size:11.5px; font-family:var(--font-mono); color:var(--cyan); background:var(--cyan-soft); padding:4px 10px; border-radius:999px;}

/* ================= INDUSTRIES ================= */
.industry-grid{display:grid; grid-template-columns:repeat(6,1fr); gap:14px;}
@media (max-width:960px){ .industry-grid{grid-template-columns:repeat(3,1fr);} }
@media (max-width:560px){ .industry-grid{grid-template-columns:repeat(2,1fr);} }
.industry-card{
  background:var(--card); border:1px solid var(--line); border-radius:var(--radius-md);
  padding:20px 14px; text-align:center; transition:border-color .2s ease, transform .2s ease;
}
.industry-card:hover{border-color:var(--cyan); transform:translateY(-3px);}
.ind-icon{
  display:flex; align-items:center; justify-content:center; width:44px; height:44px;
  border-radius:12px; background:var(--panel-2); border:1px solid var(--line); margin:0 auto 10px;
}
.ind-icon svg{width:33px; height:33px;}
.industry-card h3{font-size:14.5px; margin-bottom:6px;}
.industry-card p{font-size:11.5px; color:var(--ink-soft); line-height:1.5;}

/* ================= CASES ================= */
.case-card{background:var(--card); border:1px solid var(--line); border-radius:var(--radius-lg); padding:32px;}
.case-tags{display:flex; gap:8px; margin-bottom:16px;}
.case-tag{font-size:11.5px; font-family:var(--font-mono); color:var(--cyan); background:var(--cyan-soft); padding:4px 10px; border-radius:999px;}
.case-card h3{font-size:20px; line-height:1.5; margin-bottom:24px;}
.case-body{display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-bottom:28px;}
@media (max-width:760px){ .case-body{grid-template-columns:1fr;} }
.case-col h4{font-size:14px; display:flex; align-items:center; gap:8px; margin-bottom:8px; color:var(--ink);}
.case-mark{color:var(--cyan); display:inline-flex; vertical-align:-4px; margin-right:2px;}
.case-mark svg{width:18px; height:18px;}
.case-col p{font-size:13.5px; color:var(--ink-soft); line-height:1.7;}
.case-stats{display:flex; gap:32px; flex-wrap:wrap; border-top:1px solid var(--line); padding-top:24px;}
.case-stat{display:flex; flex-direction:column; gap:4px;}
.case-stat b{font-family:var(--font-display); font-size:22px; color:var(--cyan);}
.case-stat span{font-size:12px; color:var(--ink-faint);}

/* ================= KNOWLEDGE ================= */
.knowledge-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-bottom:28px;}
@media (max-width:860px){ .knowledge-grid{grid-template-columns:repeat(2,1fr);} }
@media (max-width:560px){ .knowledge-grid{grid-template-columns:1fr;} }
.kb-card{
  display:block; background:var(--card); border:1px solid var(--line); border-radius:var(--radius-md);
  padding:20px; transition:border-color .2s ease, transform .2s ease;
}
.kb-card:hover{border-color:var(--cyan); transform:translateY(-3px);}
.kb-cat{font-size:11px; font-family:var(--font-mono); color:var(--cyan); letter-spacing:0.05em;}
.kb-card h3{font-size:15px; line-height:1.5; margin:12px 0 14px;}
.kb-date{font-size:11.5px; color:var(--ink-faint); font-family:var(--font-mono);}
.knowledge-more{text-align:center;}

/* ================= TRIAL / FINAL CTA ================= */
.trial-wrap{display:flex; align-items:center; justify-content:space-between; gap:32px; flex-wrap:wrap;}
.trial-wrap h2{font-size:clamp(22px,3vw,30px); margin-top:6px;}
.trial-wrap .lede{margin-top:10px; color:var(--ink-soft); font-size:15px;}

#final-cta{
  background:radial-gradient(900px 400px at 50% 0%, rgba(34,211,238,0.10), transparent 60%), var(--bg-deep);
  border-top:1px solid var(--line); text-align:center;
}
.final-cta-inner h2{font-size:clamp(26px,4vw,40px); line-height:1.35;}
.final-cta-actions{margin-top:32px; display:flex; gap:14px; justify-content:center; flex-wrap:wrap;}

/* ================= FOOTER ================= */
.site-footer{border-top:1px solid var(--line); background:var(--panel); padding:52px 0 28px;}
.footer-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:32px;}
@media (max-width:760px){ .footer-grid{grid-template-columns:1fr 1fr; gap:28px 20px;} }
.footer-brand{display:flex; align-items:center; gap:10px; margin-bottom:14px;}
.footer-brand span{font-family:var(--font-display); font-weight:700; font-size:15px;}
.footer-desc{font-size:13px; color:var(--ink-faint); line-height:1.75; max-width:280px;}
.footer-col h4{font-family:var(--font-mono); font-size:11.5px; font-weight:700; color:var(--ink-soft); letter-spacing:0.08em; margin-bottom:14px; text-transform:uppercase;}
.footer-col ul{display:flex; flex-direction:column; gap:10px;}
.footer-col a,.footer-col span{font-size:13.5px; color:var(--ink-soft); transition:color .15s ease;}
.footer-col a:hover{color:var(--cyan);}
.footer-bottom{
  margin-top:40px; padding-top:22px; border-top:1px solid var(--line);
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px;
  font-size:12px; color:var(--ink-faint);
}
.footer-links a{color:var(--ink-faint);}
.footer-links a:hover{color:var(--cyan);}
