/* === TOKENS === */
:root {
  --bg: #060b14;
  --bg-alt: #0a1525;
  --surface: #0f1d32;
  --border: #1a2d47;
  --text: #c8d8e8;
  --text-muted: #6b8aab;
  --accent: #00d4ff;
  --accent-dim: rgba(0, 212, 255, 0.12);
  --amber: #ffb800;
  --ok: #00e676;
  --dim: #3a5570;
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* === NAV === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 2rem;
  background: rgba(6, 11, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 1200px;
  margin: 0 auto;
}
.nav-logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent);
  padding: 0.15rem 0.45rem;
  letter-spacing: 0.05em;
}
.nav-name {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 8rem 2rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
  pointer-events: none;
}
.hero-content { display: flex; flex-direction: column; gap: 1.5rem; }
.hero-badge {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(0,212,255,0.3);
  padding: 0.3rem 0.75rem;
  width: fit-content;
}
.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  color: #fff;
  letter-spacing: -0.02em;
}
.hero-highlight { color: var(--accent); }
.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
}

/* TERMINAL */
.hero-terminal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,212,255,0.08);
}
.terminal-bar {
  background: #0d1e32;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 1px solid var(--border);
}
.terminal-dot { width: 10px; height: 10px; border-radius: 50%; display: block; }
.terminal-dot.red { background: #ff5f56; }
.terminal-dot.amber { background: #ffbd2e; }
.terminal-dot.green { background: #27c93f; }
.terminal-title { font-family: 'Courier New', monospace; font-size: 0.75rem; color: var(--text-muted); margin-left: 0.5rem; }
.terminal-body { padding: 1.25rem 1.5rem; font-family: 'Courier New', monospace; font-size: 0.85rem; line-height: 1.8; }
.t-line { display: flex; align-items: baseline; gap: 0.5rem; }
.t-dim { color: var(--text-muted); }
.t-cmd { color: var(--accent); }
.t-ok { color: var(--ok); font-weight: bold; }
.t-metric { color: var(--amber); }
.t-spacer { height: 0.5rem; }

/* === STATS BAR === */
.stats-bar {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0 3rem;
}
.stat-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}
.stat-label { font-size: 0.8rem; color: var(--text-muted); text-align: center; letter-spacing: 0.03em; }
.stat-divider { width: 1px; height: 48px; background: var(--border); }

/* === SECTIONS === */
section { padding: 5rem 2rem; }
.section-header { max-width: 1200px; margin: 0 auto 3rem; }
.section-label {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  display: block;
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* === PROCESS === */
.process { background: var(--bg); }
.process-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.process-step {
  background: var(--surface);
  padding: 2.5rem 2rem;
  border: 1px solid var(--border);
  position: relative;
}
.process-step:first-child { border-radius: 12px 0 0 12px; }
.process-step:last-child { border-radius: 0 12px 12px 0; }
.step-num {
  font-family: var(--font-head);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--accent-dim);
  line-height: 1;
  margin-bottom: 1.25rem;
  display: block;
  -webkit-text-stroke: 1px rgba(0,212,255,0.4);
}
.step-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.75rem;
}
.step-body { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }

/* === SERVICES === */
.services { background: var(--bg-alt); }
.services-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.service-card {
  background: var(--surface);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.service-icon {
  color: var(--accent);
  width: 40px;
  height: 40px;
  background: var(--accent-dim);
  border: 1px solid rgba(0,212,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
.service-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}
.service-body { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }

/* === OUTCOMES === */
.outcomes { background: var(--bg); }
.outcomes-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.outcome {
  background: var(--surface);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}
.outcome-stat {
  font-family: var(--font-head);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
}
.outcome-label { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; }

/* === MANIFESTO === */
.manifesto {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 2rem;
}
.manifesto-inner { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.5rem; }
.manifesto-text { font-size: 1.15rem; color: var(--text); line-height: 1.8; }
.manifesto-text:first-child { font-family: var(--font-head); font-size: 1.3rem; font-weight: 500; color: #fff; }
.manifesto-cta { font-size: 0.9rem; color: var(--text-muted); border-left: 2px solid var(--accent); padding-left: 1.25rem; line-height: 1.7; }

/* === CLOSING === */
.closing {
  background: var(--bg);
  padding: 6rem 2rem;
  text-align: center;
}
.closing-inner { max-width: 720px; margin: 0 auto; }
.closing-headline {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
}
.closing-sub { font-size: 1rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 3rem; max-width: 560px; margin-left: auto; margin-right: auto; }
.closing-packages { display: flex; align-items: center; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
.pkg { display: flex; flex-direction: column; align-items: center; gap: 0.3rem; }
.pkg-name { font-family: var(--font-head); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.pkg-price { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; color: #fff; }
.pkg-plus { color: var(--accent); }
.pkg-sep { font-size: 1.5rem; color: var(--border); }

/* === FOOTER === */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 3rem 2rem;
}
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; text-align: center; }
.footer-brand { display: flex; align-items: center; gap: 0.75rem; }
.footer-logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--accent);
  padding: 0.15rem 0.4rem;
}
.footer-name { font-family: var(--font-head); font-weight: 500; font-size: 0.9rem; color: var(--text-muted); }
.footer-tagline { font-size: 0.85rem; color: var(--text-muted); }
.footer-copy { font-size: 0.75rem; color: var(--dim); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 6rem; }
  .hero-terminal { display: none; }
  .process-grid, .services-grid, .outcomes-grid { grid-template-columns: 1fr; }
  .process-step:first-child { border-radius: 12px 12px 0 0; }
  .process-step:last-child { border-radius: 0 0 12px 12px; }
  .stats-bar { flex-direction: column; gap: 1.5rem; }
  .stat-divider { width: 48px; height: 1px; }
}

@media (max-width: 600px) {
  .hero-headline { font-size: 2.2rem; }
  .closing-packages { flex-direction: column; gap: 0.75rem; }
  .pkg-sep { display: none; }
}
