/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #0B1D35;
  --bg-card: #0F2847;
  --fg: #FFFFFF;
  --fg-muted: #7A9BBE;
  --accent: #2D7FF9;
  --accent-dim: rgba(45, 127, 249, 0.12);
  --amber: #F5A623;
  --amber-dim: rgba(245, 166, 35, 0.12);
  --green: #00D68F;
  --green-dim: rgba(0, 214, 143, 0.12);
  --border: rgba(255,255,255,0.08);
}
html { font-size: 16px; }
body { background: var(--bg); color: var(--fg); font-family: 'DM Sans', system-ui, sans-serif; line-height: 1.6; overflow-x: hidden; }
h1, h2, h3 { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 clamp(24px, 5vw, 80px);
  height: 64px; display: flex; align-items: center;
  background: rgba(11,29,53,0.85); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; max-width: 1200px; margin: 0 auto; }
.nav-logo { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; letter-spacing: -0.02em; }
.nav-tagline { font-size: 0.75rem; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.12em; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; padding: 120px clamp(24px, 5vw, 80px) 80px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; max-width: 1200px; margin: 0 auto;
  position: relative; overflow: hidden;
}
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px),
                    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 20%, transparent 80%);
  pointer-events: none;
}
.hero-label {
  display: inline-block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--accent); border: 1px solid var(--accent-dim);
  background: var(--accent-dim); padding: 6px 14px; border-radius: 100px;
  margin-bottom: 28px; font-weight: 600;
}
.hero-headline {
  font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1.1; letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.hero-headline em { color: var(--accent); font-style: italic; }
.hero-lede {
  font-size: 1.1rem; color: var(--fg-muted); max-width: 480px; line-height: 1.7;
  margin-bottom: 52px;
}
.hero-stats { display: flex; align-items: center; gap: 0; }
.hero-stat { padding: 0 32px 0 0; }
.hero-stat:first-child { padding-left: 0; }
.hero-stat-value { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; line-height: 1; }
.hero-stat-label { font-size: 0.72rem; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }
.hero-stat-sep { width: 1px; height: 36px; background: var(--border); margin-right: 32px; }

/* Dashboard mock */
.hero-dashboard-mock {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
  padding: 28px; font-size: 0.82rem; position: relative; overflow: hidden;
}
.hero-dashboard-mock::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--green), var(--amber));
}
.dash-header { font-weight: 600; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--fg-muted); margin-bottom: 20px; }
.dash-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.dash-row:last-child { border-bottom: none; }
.dash-badge { display: flex; align-items: center; gap: 6px; font-size: 0.7rem; font-weight: 600; min-width: 140px; padding: 4px 10px; border-radius: 6px; }
.dash-badge-green { background: var(--green-dim); color: var(--green); }
.dash-badge-blue { background: var(--accent-dim); color: var(--accent); }
.dash-badge-amber { background: var(--amber-dim); color: var(--amber); }
.dash-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.dash-label { color: var(--fg-muted); }

/* ===== OPS ===== */
.ops { padding: clamp(80px, 10vw, 140px) clamp(24px, 5vw, 80px); background: var(--bg); }
.ops-inner { max-width: 1200px; margin: 0 auto; }
.section-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--accent); font-weight: 600; margin-bottom: 20px; }
.ops-header { max-width: 700px; margin-bottom: 80px; }
.ops-headline { font-size: clamp(1.8rem, 3.5vw, 2.8rem); line-height: 1.2; margin-bottom: 24px; }
.ops-sub { font-size: 1rem; color: var(--fg-muted); line-height: 1.8; }
.ops-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.ops-card { background: var(--bg-card); padding: 48px 40px; }
.ops-card-num { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.2em; color: var(--accent); font-weight: 700; margin-bottom: 20px; }
.ops-card h3 { font-size: 1.2rem; margin-bottom: 14px; }
.ops-card p { font-size: 0.9rem; color: var(--fg-muted); line-height: 1.7; }

/* ===== AGENTS ===== */
.agents { padding: clamp(80px, 10vw, 140px) clamp(24px, 5vw, 80px); background: #081427; }
.agents-inner { max-width: 1200px; margin: 0 auto; }
.agents-headline { font-size: clamp(1.8rem, 3.5vw, 2.8rem); line-height: 1.2; margin-bottom: 64px; max-width: 600px; }
.agents-list { display: flex; flex-direction: column; gap: 0; }
.agent-item { display: grid; grid-template-columns: 64px 1fr; gap: 32px; padding: 48px 0; border-top: 1px solid var(--border); align-items: start; }
.agent-item:last-child { border-bottom: 1px solid var(--border); }
.agent-idx { font-family: 'Playfair Display', serif; font-size: 3.5rem; font-weight: 700; color: var(--accent); line-height: 1; opacity: 0.4; }
.agent-body h3 { font-size: 1.5rem; margin-bottom: 16px; }
.agent-body p { font-size: 0.95rem; color: var(--fg-muted); line-height: 1.8; margin-bottom: 20px; }
.agent-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.agent-tag { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; border: 1px solid var(--border); padding: 4px 10px; border-radius: 100px; color: var(--fg-muted); }

/* ===== MANIFESTO ===== */
.manifesto { padding: clamp(80px, 10vw, 140px) clamp(24px, 5vw, 80px); background: var(--bg); }
.manifesto-inner { max-width: 1200px; margin: 0 auto; }
.manifesto-headline { font-size: clamp(1.8rem, 3.5vw, 3rem); line-height: 1.15; margin-bottom: 32px; max-width: 800px; }
.manifesto-body { font-size: 1.05rem; color: var(--fg-muted); line-height: 1.9; max-width: 680px; margin-bottom: 20px; }
.manifesto-quote { margin-top: 56px; padding-left: 28px; border-left: 3px solid var(--accent); font-family: 'Playfair Display', serif; font-size: 1.2rem; font-style: italic; color: var(--fg-muted); max-width: 560px; }

/* ===== CLOSING ===== */
.closing { padding: clamp(80px, 10vw, 140px) clamp(24px, 5vw, 80px); background: #0F2847; }
.closing-inner { max-width: 1200px; margin: 0 auto; }
.closing-headline { font-size: clamp(1.8rem, 3.5vw, 2.8rem); line-height: 1.2; margin-bottom: 28px; }
.closing-body { font-size: 1rem; color: var(--fg-muted); max-width: 560px; line-height: 1.8; }

/* ===== FOOTER ===== */
.footer { padding: 48px clamp(24px, 5vw, 80px); border-top: 1px solid var(--border); }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; margin-bottom: 8px; }
.footer-sub { font-size: 0.8rem; color: var(--fg-muted); margin-bottom: 12px; }
.footer-note { font-size: 0.75rem; color: var(--fg-muted); opacity: 0.6; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 48px; min-height: auto; padding-top: 100px; }
  .ops-grid { grid-template-columns: 1fr; }
  .agent-item { grid-template-columns: 1fr; gap: 16px; }
  .agent-idx { font-size: 2rem; }
  .hero-dashboard-mock { display: none; }
}
@media (max-width: 600px) {
  .hero-stats { flex-direction: column; gap: 20px; }
  .hero-stat-sep { display: none; }
  .hero-stat { padding: 0; }
}