/* ============================================
   agnt8x Intelligence Report — Styles
   Design: Dark Editorial / Intelligence Briefing
   Palette: Deep Navy + Electric Amber + Slate
   Fonts: Syne (display) + Bricolage Grotesque (body) + Space Mono (code)
   ============================================ */

:root {
  --navy-950: #050810;
  --navy-900: #080d1a;
  --navy-800: #0d1528;
  --navy-700: #111e38;
  --navy-600: #162548;
  --navy-500: #1e3260;
  --slate-400: #8899bb;
  --slate-300: #aabbd4;
  --slate-200: #ccd8ea;
  --slate-100: #e8eef7;
  --white: #f4f6fb;
  --amber-500: #f5a623;
  --amber-400: #fbbf24;
  --amber-300: #fcd34d;
  --amber-glow: rgba(245, 166, 35, 0.15);
  --green-400: #34d399;
  --red-400: #f87171;
  --yellow-400: #fbbf24;
  --border: rgba(255,255,255,0.07);
  --border-amber: rgba(245, 166, 35, 0.3);
  --font-display: 'Syne', sans-serif;
  --font-body: 'Bricolage Grotesque', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--navy-950);
  color: var(--slate-200);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy-900); }
::-webkit-scrollbar-thumb { background: var(--navy-600); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--amber-500); }

/* ---- SELECTION ---- */
::selection { background: var(--amber-500); color: var(--navy-950); }

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(5, 8, 16, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.nav.scrolled { border-bottom-color: var(--border-amber); }
.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: 1rem; }
.nav-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--amber-500);
  background: var(--amber-glow);
  border: 1px solid var(--border-amber);
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
}
.nav-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
}
.nav-meta { display: flex; align-items: center; gap: 0.75rem; font-size: 0.8rem; color: var(--slate-400); }
.nav-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--slate-400); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 2rem 80px;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,166,35,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,166,35,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.hero-eyebrow {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.8rem;
  border-radius: 3px;
}
.badge--live {
  color: var(--green-400);
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.3);
  animation: pulse-live 2s ease-in-out infinite;
}
.badge--date {
  color: var(--amber-400);
  background: var(--amber-glow);
  border: 1px solid var(--border-amber);
}

@keyframes pulse-live {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.0;
  margin-bottom: 1.5rem;
}
.hero-line {
  display: block;
  font-size: clamp(3.5rem, 9vw, 8rem);
}
.hero-line--1 { color: var(--white); }
.hero-line--2 {
  color: transparent;
  -webkit-text-stroke: 2px var(--amber-500);
  text-stroke: 2px var(--amber-500);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--slate-300);
  max-width: 680px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero-sub strong { color: var(--amber-400); }

/* Terminal */
.hero-terminal {
  background: var(--navy-900);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 680px;
  margin-bottom: 3rem;
  box-shadow: 0 0 60px rgba(245,166,35,0.08), 0 20px 60px rgba(0,0,0,0.5);
}
.terminal-bar {
  background: var(--navy-800);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.t-dot { width: 12px; height: 12px; border-radius: 50%; }
.t-dot--r { background: #ff5f57; }
.t-dot--y { background: #febc2e; }
.t-dot--g { background: #28c840; }
.t-label { font-family: var(--font-mono); font-size: 0.75rem; color: var(--slate-400); margin-left: 0.5rem; }
.terminal-body { padding: 1.25rem 1.5rem; min-height: 120px; }
.terminal-line { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; }
.t-prompt { color: var(--amber-500); font-family: var(--font-mono); font-size: 0.85rem; }
.t-cmd { color: var(--green-400); font-family: var(--font-mono); font-size: 0.85rem; }
.t-cursor {
  color: var(--amber-500);
  font-family: var(--font-mono);
  animation: blink 1s step-end infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.terminal-output { font-family: var(--font-mono); font-size: 0.78rem; color: var(--slate-300); line-height: 1.8; }
.terminal-output .t-key { color: var(--amber-400); }
.terminal-output .t-val { color: var(--green-400); }
.terminal-output .t-dim { color: var(--slate-400); }

/* Stats */
.hero-stats {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.stat-pill {
  background: var(--navy-800);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  transition: var(--transition);
}
.stat-pill:hover { border-color: var(--border-amber); background: var(--navy-700); }
.stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--amber-400);
  line-height: 1;
}
.stat-label { font-size: 0.72rem; color: var(--slate-400); letter-spacing: 0.05em; text-transform: uppercase; }

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--slate-400);
  animation: float 3s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-6px); } }

/* ============================================
   TOC STRIP
   ============================================ */
.toc-strip {
  position: sticky;
  top: 60px;
  z-index: 90;
  background: rgba(8, 13, 26, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
}
.toc-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  gap: 0;
  white-space: nowrap;
}
.toc-link {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--slate-400);
  text-decoration: none;
  padding: 0.85rem 1.25rem;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
  display: inline-block;
}
.toc-link:hover, .toc-link.active {
  color: var(--amber-400);
  border-bottom-color: var(--amber-500);
}

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 6rem 2rem; }
.section--dark { background: var(--navy-900); }
.section-inner { max-width: 1200px; margin: 0 auto; }

.section-header {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.section-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--amber-500);
  letter-spacing: 0.1em;
  background: var(--amber-glow);
  border: 1px solid var(--border-amber);
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
  flex-shrink: 0;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: var(--white);
  line-height: 1.1;
}
.section-intro {
  font-size: 1.05rem;
  color: var(--slate-300);
  max-width: 800px;
  margin-bottom: 3rem;
  line-height: 1.7;
}

/* ============================================
   TWO-COL LAYOUT
   ============================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: start;
}
.col-main p { margin-bottom: 1.25rem; color: var(--slate-200); }
.col-main p:last-child { margin-bottom: 0; }
.lead-text {
  font-size: 1.15rem;
  color: var(--slate-100);
  line-height: 1.75;
  margin-bottom: 1.5rem !important;
}
.lead-text strong { color: var(--amber-400); }

.pull-quote {
  border-left: 3px solid var(--amber-500);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  background: var(--navy-800);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--slate-100);
  line-height: 1.6;
}
.pull-quote cite {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.82rem;
  font-style: normal;
  color: var(--amber-400);
  font-family: var(--font-mono);
}

/* ============================================
   INFO CARDS
   ============================================ */
.info-card {
  background: var(--navy-800);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}
.info-card--accent { border-color: var(--border-amber); background: rgba(245,166,35,0.05); }
.info-card-header {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-500);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.85rem;
}
.info-row:last-child { border-bottom: none; }
.info-label { color: var(--slate-400); }
.info-val { color: var(--slate-100); font-weight: 500; text-align: right; }
.info-bio { font-size: 0.88rem; color: var(--slate-300); line-height: 1.6; }

/* ============================================
   UNIQUENESS GRID
   ============================================ */
.unique-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}
.unique-card {
  background: var(--navy-800);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
  transition: var(--transition);
}
.unique-card:hover {
  border-color: var(--border-amber);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.unique-card--featured {
  grid-column: span 2;
  border-color: var(--border-amber);
  background: linear-gradient(135deg, rgba(245,166,35,0.08) 0%, var(--navy-800) 60%);
}
.unique-icon { font-size: 2rem; margin-bottom: 1rem; }
.unique-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.unique-card p { font-size: 0.9rem; color: var(--slate-300); line-height: 1.65; }
.unique-tag {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--amber-500);
  background: var(--amber-glow);
  border: 1px solid var(--border-amber);
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
}

/* ============================================
   PLATFORM FLOW
   ============================================ */
.platform-flow {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 4rem;
  overflow-x: auto;
  padding-bottom: 1rem;
}
.platform-step {
  background: var(--navy-800);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  min-width: 200px;
  flex: 1;
  transition: var(--transition);
}
.platform-step:hover { border-color: var(--border-amber); }
.platform-step-num {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--amber-500);
  margin-bottom: 0.75rem;
}
.platform-step-icon { font-size: 1.75rem; margin-bottom: 0.75rem; }
.platform-step h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.platform-step p { font-size: 0.82rem; color: var(--slate-300); line-height: 1.6; margin-bottom: 1rem; }
.platform-step-tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--slate-400);
  background: var(--navy-700);
  border: 1px solid var(--border);
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  display: inline-block;
}
.platform-arrow {
  color: var(--amber-500);
  font-size: 1.5rem;
  padding: 0 0.5rem;
  align-self: center;
  flex-shrink: 0;
  margin-top: -1rem;
}

.subsystem-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.subsystem-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.75rem;
}
.subsystem-item {
  background: var(--navy-800);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.sys-name {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--amber-400);
  font-weight: 700;
}
.sys-desc { font-size: 0.82rem; color: var(--slate-300); }

/* ============================================
   AI MODELS
   ============================================ */
.models-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2.5rem;
  align-items: start;
}
.model-tier { margin-bottom: 2.5rem; }
.model-tier-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--amber-500);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}
.model-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.model-card {
  background: var(--navy-800);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: var(--transition);
}
.model-card:hover { transform: translateY(-2px); }
.model-card--openai { border-top: 2px solid #10a37f; }
.model-card--anthropic { border-top: 2px solid #d97706; }
.model-card--google { border-top: 2px solid #4285f4; }
.model-logo {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--slate-400);
  margin-bottom: 0.5rem;
}
.model-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.model-desc { font-size: 0.82rem; color: var(--slate-300); line-height: 1.6; margin-bottom: 1rem; }
.model-badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--green-400);
  background: rgba(52,211,153,0.1);
  border: 1px solid rgba(52,211,153,0.25);
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  display: inline-block;
}
.model-cards--small {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  grid-template-columns: unset;
}
.model-card-sm {
  background: var(--navy-800);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  color: var(--slate-300);
  font-family: var(--font-mono);
}
.model-note { font-size: 0.85rem; color: var(--slate-400); margin-top: 1rem; font-style: italic; }

.protocol-list { display: flex; flex-direction: column; gap: 0.6rem; }
.protocol-item { display: flex; align-items: center; gap: 0.75rem; font-size: 0.85rem; color: var(--slate-300); }
.proto-badge {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--amber-400);
  background: var(--amber-glow);
  border: 1px solid var(--border-amber);
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  flex-shrink: 0;
  min-width: 60px;
  text-align: center;
}

/* ============================================
   TECH STACK
   ============================================ */
.stack-disclaimer {
  background: rgba(251,191,36,0.08);
  border: 1px solid var(--border-amber);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-size: 0.85rem;
  color: var(--amber-300);
  margin-bottom: 2.5rem;
  font-family: var(--font-mono);
}
.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.5rem;
}
.stack-category {
  background: var(--navy-800);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.stack-cat-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: var(--navy-700);
  border-bottom: 1px solid var(--border);
}
.stack-cat-icon { font-size: 1.1rem; }
.stack-cat-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
}
.stack-items { padding: 1.25rem; display: flex; flex-direction: column; gap: 1rem; }
.stack-item {
  padding: 1rem;
  background: var(--navy-900);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.stack-tech {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.stack-confidence {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  margin-bottom: 0.6rem;
}
.confidence--high { color: var(--green-400); background: rgba(52,211,153,0.1); border: 1px solid rgba(52,211,153,0.25); }
.confidence--med { color: var(--amber-400); background: var(--amber-glow); border: 1px solid var(--border-amber); }
.stack-item p { font-size: 0.82rem; color: var(--slate-300); line-height: 1.6; }

/* ============================================
   COMPETITORS TABLE
   ============================================ */
.comp-table-wrap { overflow-x: auto; margin-bottom: 2rem; }
.comp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.comp-table thead tr {
  background: var(--navy-700);
  border-bottom: 2px solid var(--border-amber);
}
.comp-table th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--amber-400);
  font-weight: 700;
  white-space: nowrap;
}
.comp-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.comp-table tbody tr:hover { background: var(--navy-800); }
.comp-table td {
  padding: 1rem 1.25rem;
  color: var(--slate-200);
  vertical-align: top;
  line-height: 1.5;
}
.comp-table td strong { color: var(--white); }
.comp-sub { font-size: 0.75rem; color: var(--slate-400); font-family: var(--font-mono); }
.threat {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
  white-space: nowrap;
}
.threat--high { color: var(--red-400); background: rgba(248,113,113,0.1); border: 1px solid rgba(248,113,113,0.25); }
.threat--med { color: var(--amber-400); background: var(--amber-glow); border: 1px solid var(--border-amber); }
.threat--low { color: var(--green-400); background: rgba(52,211,153,0.1); border: 1px solid rgba(52,211,153,0.25); }

.comp-insight {
  display: flex;
  gap: 1.25rem;
  background: var(--navy-800);
  border: 1px solid var(--border-amber);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  align-items: flex-start;
}
.comp-insight-icon { font-size: 1.5rem; flex-shrink: 0; }
.comp-insight-text { font-size: 0.9rem; color: var(--slate-200); line-height: 1.65; }
.comp-insight-text strong { color: var(--amber-400); }

/* ============================================
   FUNCTIONALITY
   ============================================ */
.func-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 3rem; }
.func-header {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
}
.func-header--live { color: var(--green-400); background: rgba(52,211,153,0.1); border: 1px solid rgba(52,211,153,0.25); }
.func-header--new { color: var(--amber-400); background: var(--amber-glow); border: 1px solid var(--border-amber); }
.func-header--coming { color: var(--slate-400); background: var(--navy-800); border: 1px solid var(--border); }
.func-items { display: flex; flex-direction: column; gap: 0.75rem; }
.func-item {
  background: var(--navy-800);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}
.func-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.func-item p { font-size: 0.82rem; color: var(--slate-300); line-height: 1.6; }

.func-verdict {
  display: flex;
  gap: 2.5rem;
  background: var(--navy-800);
  border: 1px solid var(--border-amber);
  border-radius: var(--radius-lg);
  padding: 2rem;
  align-items: center;
}
.func-verdict-score { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.score-ring { position: relative; width: 100px; height: 100px; }
.score-svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score-bg { fill: none; stroke: var(--navy-700); stroke-width: 8; }
.score-fill { fill: none; stroke: var(--amber-500); stroke-width: 8; stroke-linecap: round; transition: stroke-dashoffset 1.5s ease; }
.score-num {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--amber-400);
}
.score-label { font-family: var(--font-mono); font-size: 0.65rem; color: var(--slate-400); text-align: center; letter-spacing: 0.08em; }
.func-verdict-text h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}
.func-verdict-text p { font-size: 0.9rem; color: var(--slate-300); line-height: 1.65; }

/* ============================================
   BUILD ANALYSIS
   ============================================ */
.build-layout { display: grid; grid-template-columns: 1fr 380px; gap: 2.5rem; align-items: start; }
.build-section-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--amber-500);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}
.build-analysis-card {
  background: var(--navy-800);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}
.build-analysis-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 1rem;
}
.build-analysis-card p { font-size: 0.9rem; color: var(--slate-300); line-height: 1.65; margin-bottom: 1rem; }
.build-tech-list { display: flex; flex-direction: column; gap: 0.6rem; margin: 1.25rem 0; }
.build-tech-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--slate-200);
  padding: 0.6rem 0.75rem;
  background: var(--navy-900);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.bti-icon { flex-shrink: 0; }

.build-time-card, .build-cost-card {
  background: var(--navy-800);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}
.build-time-header {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--amber-500);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.build-time-items { display: flex; flex-direction: column; gap: 1.25rem; }
.btime-item {}
.btime-phase {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.btime-bar-wrap {
  height: 4px;
  background: var(--navy-700);
  border-radius: 2px;
  margin-bottom: 0.4rem;
  overflow: hidden;
}
.btime-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--amber-500), var(--amber-300));
  border-radius: 2px;
  transition: width 1.5s ease;
}
.btime-val {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--amber-400);
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.btime-note { font-size: 0.78rem; color: var(--slate-400); line-height: 1.5; }

.cost-items { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1rem; }
.cost-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--slate-300);
}
.cost-item:last-child { border-bottom: none; }
.cost-val { font-family: var(--font-mono); color: var(--amber-400); font-weight: 700; }
.cost-note { font-size: 0.78rem; color: var(--slate-400); font-style: italic; }

.build-team-card {
  background: var(--navy-800);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-top: 2rem;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}
.team-item {
  background: var(--navy-900);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.team-role {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--white);
}
.team-count {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--amber-400);
  font-weight: 700;
}
.team-note { font-size: 0.78rem; color: var(--slate-400); line-height: 1.4; }

/* ============================================
   VERDICT
   ============================================ */
.verdict-layout { display: grid; grid-template-columns: 340px 1fr; gap: 3rem; align-items: start; }
.verdict-scores { display: flex; flex-direction: column; gap: 1.25rem; }
.vscore-item {}
.vscore-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--slate-400);
  margin-bottom: 0.4rem;
  letter-spacing: 0.05em;
}
.vscore-bar-wrap {
  height: 6px;
  background: var(--navy-700);
  border-radius: 3px;
  margin-bottom: 0.3rem;
  overflow: hidden;
}
.vscore-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--amber-500), var(--amber-300));
  border-radius: 3px;
  transition: width 1.5s ease;
}
.vscore-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--amber-400);
  font-weight: 700;
}

.verdict-overall {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.verdict-overall-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--slate-400);
}
.verdict-overall-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 4rem;
  color: var(--amber-400);
  line-height: 1;
}
.verdict-overall-sub {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--slate-400);
}
.verdict-text h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 1rem;
}
.verdict-text p { font-size: 0.92rem; color: var(--slate-300); line-height: 1.7; margin-bottom: 1rem; }
.verdict-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }
.vtag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 0.35rem 0.75rem;
  border-radius: 3px;
  letter-spacing: 0.05em;
}
.vtag--green { color: var(--green-400); background: rgba(52,211,153,0.1); border: 1px solid rgba(52,211,153,0.25); }
.vtag--yellow { color: var(--amber-400); background: var(--amber-glow); border: 1px solid var(--border-amber); }
.vtag--red { color: var(--red-400); background: rgba(248,113,113,0.1); border: 1px solid rgba(248,113,113,0.25); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy-950);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--amber-400);
}
.footer-tagline { font-size: 0.85rem; color: var(--slate-400); }
.footer-meta { font-size: 0.78rem; color: var(--slate-400); font-family: var(--font-mono); }
.footer-disclaimer { font-size: 0.75rem; color: var(--navy-600); }

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .two-col { grid-template-columns: 1fr; }
  .models-layout { grid-template-columns: 1fr; }
  .model-cards { grid-template-columns: 1fr 1fr; }
  .build-layout { grid-template-columns: 1fr; }
  .verdict-layout { grid-template-columns: 1fr; }
  .unique-card--featured { grid-column: span 1; }
}

@media (max-width: 768px) {
  .hero { padding: 90px 1.25rem 60px; }
  .section { padding: 4rem 1.25rem; }
  .platform-flow { flex-direction: column; }
  .platform-arrow { transform: rotate(90deg); align-self: center; }
  .func-grid { grid-template-columns: 1fr; }
  .model-cards { grid-template-columns: 1fr; }
  .stack-grid { grid-template-columns: 1fr; }
  .comp-table { font-size: 0.78rem; }
  .comp-table th, .comp-table td { padding: 0.75rem; }
  .func-verdict { flex-direction: column; }
  .nav-meta { display: none; }
  .hero-line { font-size: clamp(2.5rem, 12vw, 5rem); }
}