/* ====================================================================
   Charotus — Design Tokens (CSS variables)
   Wiz.io 風格 · 紫龍晶敘事 · 紅藍融合
   ==================================================================== */

:root {
  --bg-0: #07070C;
  --bg-1: #0A0A0F;
  --bg-2: #0F0F18;
  --bg-3: #15152230;
  --bg-elev: #181828;

  --line-1: #1B1B2A;
  --line-2: #2A2A3F;
  --line-soft: rgba(255,255,255,0.06);

  --fg-1: #FFFFFF;
  --fg-2: #E8E8EE;
  --fg-3: #B4B4C2;
  --fg-4: #8B8B9C;
  --fg-5: #5C5C70;

  --purple-50:  #F4ECFC;
  --purple-100: #E4D0F7;
  --purple-300: #B985E8;
  --purple-400: #9B5FE0;
  --purple-500: #7B2FBE;
  --purple-600: #5B1794;
  --purple-700: #3D0E68;
  --purple-glow: rgba(123,47,190,0.55);

  --red-400: #FF4D55;
  --red-500: #E33A45;
  --red-600: #C0392B;
  --red-glow: rgba(227,58,69,0.45);

  --blue-400: #4FB8FF;
  --blue-500: #00D4FF;
  --blue-600: #0066CC;
  --blue-glow: rgba(0,212,255,0.45);

  --success: #2ED573;
  --warning: #FFC940;
  --danger:  var(--red-500);

  --grad-rpb:     linear-gradient(90deg, #E33A45 0%, #7B2FBE 50%, #00D4FF 100%);
  --grad-rpb-soft:linear-gradient(90deg, rgba(227,58,69,0.18) 0%, rgba(123,47,190,0.18) 50%, rgba(0,212,255,0.18) 100%);
  --grad-purple:  linear-gradient(180deg, #9B5FE0 0%, #5B1794 100%);
  --grad-card:    linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%);
  --grad-mesh:    radial-gradient(ellipse at 20% 10%, rgba(227,58,69,0.10), transparent 50%),
                  radial-gradient(ellipse at 80% 0%,  rgba(0,212,255,0.10), transparent 50%),
                  radial-gradient(ellipse at 50% 60%, rgba(123,47,190,0.18), transparent 60%);

  --font-sans: "Noto Sans TC", system-ui, -apple-system, "PingFang TC", "Microsoft JhengHei", sans-serif;
  --font-mono: "JetBrains Mono", "Noto Sans TC", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --t-display: clamp(48px, 6.5vw, 88px);
  --t-h1: clamp(36px, 4.4vw, 60px);
  --t-h2: clamp(28px, 3vw, 42px);
  --t-h3: 24px;
  --t-h4: 18px;
  --t-body: 16px;
  --t-small: 14px;
  --t-caption: 12px;
  --t-mono: 13px;

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;

  --r-sm: 6px; --r-md: 10px; --r-lg: 14px; --r-xl: 22px; --r-pill: 999px;

  --sh-1: 0 1px 2px rgba(0,0,0,0.4);
  --sh-2: 0 4px 16px rgba(0,0,0,0.5);
  --sh-3: 0 12px 40px rgba(0,0,0,0.6);
  --sh-glow-purple: 0 0 0 1px rgba(123,47,190,0.35), 0 18px 60px rgba(123,47,190,0.35);
  --sh-glow-red:    0 0 0 1px rgba(227,58,69,0.30),  0 12px 40px rgba(227,58,69,0.25);
  --sh-glow-blue:   0 0 0 1px rgba(0,212,255,0.30),  0 12px 40px rgba(0,212,255,0.20);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font-sans);
  background: var(--bg-0);
  color: var(--fg-2);
  font-size: var(--t-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--purple-500); color: white; }

.mono { font-family: var(--font-mono); letter-spacing: -0.01em; }
.gradient-text {
  background: var(--grad-rpb);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============== Site ============== */
.site {
  background: var(--bg-1);
  color: var(--fg-2);
  font-size: 16px;
  line-height: 1.6;
  position: relative;
  overflow: hidden;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 56px;
  background: rgba(10,10,15,0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: padding 220ms ease, background 220ms ease, border-color 220ms ease;
}
.site-nav.is-scrolled {
  padding: 14px 56px;
  background: rgba(10,10,15,0.82);
  border-bottom-color: var(--line-soft);
}
.site-nav .links { display: flex; gap: 32px; font-size: 14px; color: var(--fg-3); }
.site-nav .links a { position: relative; transition: color 160ms ease; }
.site-nav .links a:hover { color: var(--fg-1); }
.site-nav .links a.is-active { color: var(--fg-1); }
.site-nav .links a.is-active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--purple-400);
  border-radius: 2px;
}
.site-nav .right { display: flex; align-items: center; gap: 16px; }
.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 11px;
}
.lang-toggle button { padding: 6px 12px; background: transparent; color: var(--fg-4); border: 0; }
.lang-toggle button.active { background: var(--purple-500); color: white; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--purple-500);
  color: white;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.05) inset, 0 8px 28px var(--purple-glow);
}
.btn-primary:hover { background: var(--purple-400); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--fg-2); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--purple-400); color: var(--fg-1); }

/* Hero */
.hero {
  position: relative;
  padding: 120px 56px 100px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--grad-mesh);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-2);
  background: var(--bg-2);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-3);
  margin-bottom: 24px;
}
.hero-eyebrow .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px var(--success);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero h1 {
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 20px 0;
  color: var(--fg-1);
}
.hero .sub { font-size: 18px; color: var(--fg-3); max-width: 540px; margin: 0 0 32px 0; line-height: 1.6; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 36px; margin-top: 56px;
  padding-top: 28px; border-top: 1px solid var(--line-1);
}
.hero-stats .stat .num { font-size: 28px; font-weight: 700; color: var(--fg-1); letter-spacing: -0.01em; }
.hero-stats .stat .num .accent { background: var(--grad-rpb); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats .stat .label { font-family: var(--font-mono); font-size: 13px; font-weight: 500; color: var(--fg-4); margin-top: 4px; }

.hero-stage {
  position: relative;
  height: 480px;
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
  border: 1px solid var(--line-2);
  overflow: hidden;
  box-shadow: var(--sh-3);
}
.hero-stage::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 40%, var(--purple-glow), transparent 60%);
  opacity: 0.45;
}

/* Terminal */
.terminal { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; font-family: var(--font-mono); font-size: 13px; line-height: 1.7; }
.terminal-bar { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); background: rgba(0,0,0,0.35); font-size: 11px; color: var(--fg-4); }
.terminal-bar .dots { display: flex; gap: 6px; }
.terminal-bar .dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.terminal-bar .label { margin-left: 8px; color: var(--fg-3); }
.terminal-body { flex: 1; padding: 18px 22px; overflow: hidden; position: relative; }
.term-line { white-space: nowrap; overflow: hidden; }
.term-line .prompt { color: var(--purple-400); }
.term-line .cmd    { color: var(--fg-1); }
.term-line .ok     { color: var(--success); }
.term-line .warn   { color: var(--warning); }
.term-line .err    { color: var(--red-400); }
.term-line .info   { color: var(--blue-500); }
.term-line .cursor { display: inline-block; width: 9px; height: 14px; background: var(--purple-400); vertical-align: middle; margin-left: 2px; animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: 0; } }
.terminal-foot { display: flex; gap: 18px; padding: 10px 18px; border-top: 1px solid var(--line-soft); background: rgba(0,0,0,0.3); font-size: 11px; color: var(--fg-4); }
.terminal-foot .pill { padding: 2px 8px; border-radius: 4px; background: rgba(255,255,255,0.04); color: var(--fg-3); }
.terminal-foot .pill.red  { color: var(--red-400);  border-left: 2px solid var(--red-400); }
.terminal-foot .pill.blue { color: var(--blue-500); border-left: 2px solid var(--blue-500); }

/* Crystal */
.crystal-stage { position: relative; z-index: 1; height: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.crystal-stage svg { width: 75%; max-width: 460px; }
.crystal-spin { animation: spin 28s linear infinite; transform-origin: center; }
@keyframes spin { to { transform: rotate(360deg); } }
.crystal-rings { position: absolute; inset: 0; background: repeating-radial-gradient(circle at 50% 50%, transparent 0, transparent 38px, rgba(155,95,224,0.06) 38px, rgba(155,95,224,0.06) 39px); mask: radial-gradient(circle at 50% 50%, black 30%, transparent 70%); -webkit-mask: radial-gradient(circle at 50% 50%, black 30%, transparent 70%); }

/* Network */
.network-stage { position: relative; z-index: 1; height: 100%; }
.network-stage svg { width: 100%; height: 100%; display: block; }

/* Sections */
.section { padding: 110px 56px; position: relative; }
.section-inner { max-width: 1280px; margin: 0 auto; }
.eyebrow { display: inline-block; font-family: var(--font-mono); font-size: 12px; color: var(--purple-400); letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 12px; }
.h2 { font-size: clamp(32px, 3.4vw, 48px); font-weight: 700; letter-spacing: -0.02em; margin: 4px 0 16px 0; line-height: 1.1; color: var(--fg-1); }
.lede { color: var(--fg-3); font-size: 17px; max-width: 660px; margin: 0 0 56px 0; }

/* Why Purple */
.why-purple { background: radial-gradient(ellipse at 20% 50%, rgba(227,58,69,0.08), transparent 55%), radial-gradient(ellipse at 80% 50%, rgba(0,212,255,0.08), transparent 55%), var(--bg-1); }
.why-purple .lede { margin: 0 auto 64px; text-align: center; max-width: 600px; }

.fusion-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin: 56px 0 48px;
}
.fusion-crystal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.fusion-crystal svg {
  display: block;
  animation: fusion-float 4.5s ease-in-out infinite;
  transform-origin: center;
  will-change: transform;
}
.fusion-crystal--red svg    { animation-delay: 0s; }
.fusion-crystal--blue svg   { animation-delay: 1.5s; }
.fusion-crystal--purple svg { animation-delay: 0.75s; }
.crystal-role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-4);
}
.crystal-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--fg-1);
  letter-spacing: -0.01em;
  font-family: 'Noto Sans TC', system-ui, sans-serif;
}
.fusion-op {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--fg-4);
  font-family: var(--font-mono);
  font-weight: 200;
  opacity: 0.5;
  flex-shrink: 0;
  padding-bottom: 40px;
}
.fusion-quote {
  font-size: 20px;
  line-height: 1.7;
  color: var(--fg-2);
  border-left: 2px solid var(--purple-400);
  padding-left: 24px;
  margin-top: 48px;
  max-width: 700px;
}
.fusion-quote strong { color: var(--fg-1); font-weight: 600; }

@keyframes fusion-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-8px) scale(1.04); }
}
@media (prefers-reduced-motion: reduce) { .fusion-crystal svg { animation: none; } }

/* Features */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.feat-card { background: var(--bg-2); border: 1px solid var(--line-1); border-radius: var(--r-lg); padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; transition: all .2s ease; }
.feat-card:hover { border-color: var(--purple-500); transform: translateY(-2px); }
.feat-card .num { font-family: var(--font-mono); font-size: 12px; color: var(--purple-400); }
.feat-card h3 { font-size: 22px; font-weight: 600; color: var(--fg-1); margin: 0; letter-spacing: -0.01em; }
.feat-card p { color: var(--fg-3); margin: 0; font-size: 15px; }
.feat-card .stat { font-family: var(--font-mono); font-size: 32px; font-weight: 700; margin-top: 8px; background: var(--grad-rpb); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -0.02em; }

.agent-flow { margin-top: 48px; padding: 40px; background: var(--bg-2); border: 1px solid var(--line-1); border-radius: var(--r-xl); position: relative; overflow: hidden; }
.agent-flow .flow-title { font-family: var(--font-mono); font-size: 12px; color: var(--fg-4); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 24px; }
.agent-row { display: flex; align-items: center; gap: 16px; flex-wrap: nowrap; overflow-x: auto; }
.agent-node { flex: 0 0 auto; display: flex; flex-direction: column; gap: 6px; padding: 18px 22px; background: var(--bg-1); border: 1px solid var(--line-2); border-radius: var(--r-md); min-width: 150px; }
.agent-node .agent-tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; }
.agent-node.orch  .agent-tag { color: var(--purple-400); }
.agent-node.recon .agent-tag { color: var(--blue-500); }
.agent-node.vuln  .agent-tag { color: var(--warning); }
.agent-node.lat   .agent-tag { color: var(--red-400); }
.agent-node.pers  .agent-tag { color: var(--success); }
.agent-node .agent-name { color: var(--fg-1); font-weight: 600; font-size: 15px; }
.agent-node .agent-hint { color: var(--fg-4); font-size: 12px; font-family: var(--font-mono); }
.agent-arrow { color: var(--line-2); font-size: 18px; flex-shrink: 0; }

/* Compliance */
.compliance-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: stretch; }
.standards-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.standard-card { display: flex; align-items: center; gap: 14px; padding: 18px; background: var(--bg-2); border: 1px solid var(--line-1); border-radius: var(--r-md); }
.standard-card .icon { width: 40px; height: 40px; border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-weight: 700; font-size: 14px; background: var(--bg-elev); color: var(--purple-300); border: 1px solid var(--line-2); }
.standard-card .body { display: flex; flex-direction: column; gap: 2px; }
.standard-card .name { color: var(--fg-1); font-weight: 600; font-size: 15px; }
.standard-card .desc { color: var(--fg-4); font-size: 12px; font-family: var(--font-mono); }
.scorecard { background: var(--bg-2); border: 1px solid var(--line-1); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.scorecard-head { display: flex; justify-content: space-between; align-items: flex-end; }
.scorecard-head .label { font-family: var(--font-mono); font-size: 12px; color: var(--fg-4); text-transform: uppercase; letter-spacing: 0.1em; }
.score-big { font-family: var(--font-mono); font-size: 56px; font-weight: 700; letter-spacing: -0.03em; background: var(--grad-rpb); -webkit-background-clip: text; background-clip: text; color: transparent; }
.score-row { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.score-row .name { width: 120px; color: var(--fg-3); }
.score-row .bar { flex: 1; height: 6px; border-radius: 3px; background: var(--bg-elev); overflow: hidden; }
.score-row .bar-fill { height: 100%; background: var(--grad-rpb); }
.score-row .pct { width: 44px; text-align: right; font-family: var(--font-mono); color: var(--fg-1); font-size: 13px; }

/* Reports */
.report-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.report-doc { background: white; border-radius: var(--r-lg); padding: 32px; color: #1B1B2A; font-size: 13px; line-height: 1.6; box-shadow: var(--sh-3); position: relative; overflow: hidden; }
.report-doc .rpt-head { display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 18px; border-bottom: 2px solid #1B1B2A; margin-bottom: 18px; }
.report-doc .rpt-brand { font-family: var(--font-mono); font-size: 11px; color: var(--purple-600); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; }
.report-doc h4 { font-size: 22px; margin: 4px 0 0 0; color: #0A0A0F; font-weight: 700; }
.report-doc .rpt-meta { font-family: var(--font-mono); font-size: 10px; color: #5C5C70; text-align: right; }
.report-doc h5 { font-size: 13px; margin: 16px 0 6px; color: #0A0A0F; }
.report-doc .rpt-bullet { display: flex; gap: 10px; margin-bottom: 6px; font-size: 12px; }
.report-doc .rpt-bullet .sev { font-family: var(--font-mono); font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 3px; flex-shrink: 0; }
.sev-crit { background: #C0392B; color: white; }
.sev-high { background: #FFC940; color: #1B1B2A; }
.sev-med  { background: #4FB8FF; color: #1B1B2A; }
.report-doc .rpt-table { width: 100%; border-collapse: collapse; font-size: 11px; font-family: var(--font-mono); margin-top: 8px; }
.report-doc .rpt-table th, .report-doc .rpt-table td { text-align: left; padding: 6px 8px; border-bottom: 1px solid #E8E8EE; }
.report-doc .rpt-table th { color: #5C5C70; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 500; }
.delta-doc { background: var(--bg-2); border: 1px solid var(--line-1); border-radius: var(--r-lg); padding: 28px; }
.delta-row { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line-1); font-size: 14px; }
.delta-row:last-child { border-bottom: 0; }
.delta-row .badge { font-family: var(--font-mono); font-size: 10px; padding: 3px 7px; border-radius: 3px; font-weight: 600; letter-spacing: 0.05em; }
.badge-fixed { background: rgba(46,213,115,0.15); color: var(--success); }
.badge-new   { background: rgba(227,58,69,0.15);  color: var(--red-400); }
.badge-open  { background: rgba(255,201,64,0.15);  color: var(--warning); }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.price-card { background: var(--bg-2); border: 1px solid var(--line-1); border-radius: var(--r-lg); padding: 36px 28px; display: flex; flex-direction: column; gap: 18px; position: relative; }
.price-card.featured { border-color: var(--purple-500); box-shadow: var(--sh-glow-purple); }
.price-card .tier { font-family: var(--font-mono); font-size: 12px; color: var(--fg-4); text-transform: uppercase; letter-spacing: 0.1em; }
.price-card h3 { font-size: 26px; margin: 0; color: var(--fg-1); font-weight: 700; letter-spacing: -0.01em; }
.price-card h3 small { color: var(--fg-4); font-weight: 400; font-size: 14px; margin-left: 4px; }
.price-card .desc { color: var(--fg-3); font-size: 14px; }
.price-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--fg-2); }
.price-card ul li { display: flex; align-items: flex-start; gap: 10px; }
.price-card ul li::before { content: ''; width: 14px; height: 14px; border-radius: 50%; background: rgba(123,47,190,0.18); border: 1px solid var(--purple-500); flex-shrink: 0; margin-top: 4px; }
.price-card .featured-badge { position: absolute; top: 0; left: 28px; transform: translateY(-50%); font-family: var(--font-mono); font-size: 11px; padding: 4px 10px; border-radius: var(--r-pill); background: var(--purple-500); color: white; letter-spacing: 0.08em; text-transform: uppercase; }

/* CTA */
.cta-section { background: radial-gradient(ellipse at 50% 0%, rgba(123,47,190,0.18), transparent 60%), var(--bg-1); padding: 120px 56px; }
.cta-card { max-width: 1080px; margin: 0 auto; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r-xl); padding: 56px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; }
.cta-card .cta-copy h2 { font-size: 36px; margin: 0 0 12px 0; color: var(--fg-1); font-weight: 700; letter-spacing: -0.02em; }
.cta-card .cta-copy p { color: var(--fg-3); margin: 0 0 24px 0; }
.cta-card .cta-copy .bullets { display: flex; flex-direction: column; gap: 10px; font-family: var(--font-mono); font-size: 13px; color: var(--fg-3); }
.cta-card .cta-copy .bullets div::before { content: '→ '; color: var(--purple-400); }
.demo-form { display: flex; flex-direction: column; gap: 14px; }
.demo-form label { font-family: var(--font-mono); font-size: 11px; color: var(--fg-4); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 4px; display: block; }
.demo-form input, .demo-form select, .demo-form textarea { width: 100%; background: var(--bg-1); border: 1px solid var(--line-2); border-radius: var(--r-md); padding: 12px 14px; color: var(--fg-1); font-size: 14px; font-family: inherit; }
.demo-form input:focus, .demo-form select:focus { outline: none; border-color: var(--purple-400); box-shadow: 0 0 0 3px rgba(123,47,190,0.15); }

/* Article detail page */
.article-content { color: var(--fg-2); font-size: 16px; line-height: 1.9; }
.article-content p { margin: 0 0 1.4em; }
.article-content p:last-child { margin-bottom: 0; }
.article-content strong { color: var(--fg-1); font-weight: 700; }
.article-cta-block { background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--r-xl); padding: 36px 40px; }

/* "View all articles" button on landing */
.articles-section .all-link { text-align: center; margin-top: 40px; }

/* Footer */
.site-footer { padding: 56px 56px 36px; border-top: 1px solid var(--line-1); display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 32px; }
.site-footer .ft-meta { display: flex; flex-direction: column; gap: 8px; font-family: var(--font-mono); font-size: 12px; color: var(--fg-4); }
.site-footer .ft-meta .brand { color: var(--fg-2); font-weight: 600; }
.site-footer .ft-links { display: flex; gap: 48px; font-size: 13px; }
.site-footer .ft-col h5 { font-family: var(--font-mono); font-size: 11px; color: var(--fg-4); text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 12px 0; font-weight: 500; }
.site-footer .ft-col a { color: var(--fg-3); display: block; padding: 4px 0; }
.site-footer .ft-col a:hover { color: var(--fg-1); }

/* Wordmark */
.wordmark { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 22px; letter-spacing: -0.02em; color: var(--fg-1); transition: font-size 220ms ease; }
.site-nav.is-scrolled .wordmark { font-size: 18px; }

/* Responsive */
@media (max-width: 900px) {
  .site-nav { padding: 16px 24px; }
  .site-nav.is-scrolled { padding: 10px 24px; }
  .wordmark { font-size: 18px; }
  .site-nav .links { display: none; }
  .nav-hamburger { display: flex; }
  .hero { padding: 80px 24px 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-stage { height: 320px; }
  .section { padding: 72px 24px; }
  .feat-grid { grid-template-columns: 1fr; }
  .compliance-grid { grid-template-columns: 1fr; }
  .report-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .cta-card { grid-template-columns: 1fr; padding: 32px; }
  .site-footer { padding: 40px 24px 28px; }
  .site-footer .ft-links { flex-wrap: wrap; gap: 32px; }
  .fusion-diagram { flex-direction: column; gap: 8px; margin: 40px 0 32px; }
  .fusion-op { padding-bottom: 0; font-size: 24px; }
  .fusion-crystal svg { width: 120px; height: 120px; }
  .crystal-name { font-size: 16px; }
  .agent-row { overflow-x: auto; padding-bottom: 8px; }
}

/* Hamburger nav button */
.nav-hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  color: var(--fg-2);
  flex-shrink: 0;
}
.nav-hamburger:hover { color: var(--fg-1); }

/* Mobile nav links overlay */
.nav-links-mobile {
  display: none;
}
.nav-links-mobile.open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  background: var(--bg-0);
  padding: 24px;
  z-index: 100;
  gap: 0;
  border-top: 1px solid var(--border, var(--line-2));
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.nav-links-mobile a {
  font-size: 16px;
  color: var(--fg-2);
  padding: 12px 0;
  border-bottom: 1px solid var(--line-1);
  display: block;
}
.nav-links-mobile a:last-child { border-bottom: none; }
.nav-links-mobile a:hover { color: var(--fg-1); }

/* ===== 768px breakpoint ===== */
@media (max-width: 768px) {
  .hero h1 { font-size: clamp(28px, 7vw, 48px); }
  .hero-eyebrow { font-size: 11px; }
  .hero .sub { font-size: 15px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .hero-stats .stat .num { font-size: 28px; }
  .section-inner h2, .h2 { font-size: clamp(22px, 6vw, 36px); }
  .price-card { padding: 24px 20px; }
  .demo-form { padding: 20px; }
  .demo-form input,
  .demo-form select,
  .demo-form textarea { font-size: 16px; }
  .btn { min-height: 44px; }
  .site-footer .ft-meta span { font-size: 12px; }
  .site-footer .ft-links { display: none; }
}

/* ===== 480px breakpoint ===== */
@media (max-width: 480px) {
  .hero { padding: 64px 16px 48px; }
  .section { padding: 56px 16px; }
  .cta-section { padding: 64px 16px; }
  .cta-card { padding: 24px 16px; }
  .hero-stage { height: 260px; }
  .terminal { font-size: 11px; }
  .terminal-body { padding: 12px 14px; }
  .site-nav { padding: 12px 16px; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .hero-stats .stat { display: flex; align-items: center; gap: 12px; }
  .hero-stats .stat .label { margin-top: 0; }
}

/* Articles */
.articles-section { background: var(--bg-0); }
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.article-card { display: flex; flex-direction: column; border-radius: var(--r-lg); border: 1px solid var(--line-1); overflow: hidden; transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease; text-decoration: none; color: inherit; background: var(--bg-2); }
.article-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(0,0,0,0.4); border-color: var(--line-2); }
.article-cover { height: 140px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; border-bottom: 1px solid; padding: 20px; }
.article-cover-icon { display: block; }
.article-cat-badge { font-size: 10px; font-family: var(--font-mono); letter-spacing: 0.1em; padding: 3px 10px; border-radius: var(--r-pill); border: 1px solid; text-transform: uppercase; }
.article-body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.article-title { font-size: 15px; font-weight: 600; line-height: 1.55; color: var(--fg-1); margin: 0; }
.article-meta { font-size: 11px; color: var(--fg-4); font-family: var(--font-mono); margin-top: auto; padding-top: 8px; border-top: 1px solid var(--line-1); }
@media (max-width: 900px) { .articles-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .articles-grid { grid-template-columns: 1fr; } }
