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

:root {
  --bg: #faf9f6;
  --bg-alt: #f0efe9;
  --fg: #111111;
  --fg-2: #555555;
  --fg-3: #888888;
  --accent: #e84c1e;
  --accent-dark: #c43d12;
  --accent-light: #fdf0eb;
  --border: #e0ddd6;
  --terminal-bg: #1a1a1a;
  --terminal-fg: #e8e6e3;
  --code-key: #f0b67a;
  --code-val: #a8d8a8;
  --code-comment: #777;
  --code-dim: #555;
  --success: #2e9b52;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 { font-family: 'Syne', sans-serif; font-weight: 700; line-height: 1.15; }

/* === NAV === */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-link { color: var(--fg-2); text-decoration: none; font-size: 14px; font-weight: 500; transition: color 0.15s; }
.nav-link:hover { color: var(--fg); }
.nav-link-cta { color: var(--accent) !important; }

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  text-decoration: none;
  transition: all 0.15s;
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { background: transparent; color: var(--fg); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--fg); }
.btn-full { width: 100%; }

/* === HERO === */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.eyebrow-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  display: inline-block;
}
.hero-headline {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: 20px;
  color: var(--fg);
  line-height: 1.05;
}
.hero-sub {
  font-size: 17px;
  color: var(--fg-2);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 480px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* === TERMINAL === */
.terminal {
  background: var(--terminal-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.08);
}
.terminal-header {
  background: #2a2a2a;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.terminal-dot { width: 12px; height: 12px; border-radius: 50%; }
.red { background: #ff5f57; }
.yellow { background: #ffbd2e; }
.green { background: #28ca41; }
.terminal-title { margin-left: 8px; font-size: 12px; color: #888; font-family: 'Outfit', sans-serif; }
.terminal-body { padding: 20px 24px; }
.code-line { display: flex; gap: 16px; margin-bottom: 4px; font-family: 'Courier New', monospace; font-size: 13px; line-height: 1.7; }
.code-line-num { color: #444; min-width: 18px; text-align: right; user-select: none; }
.code-comment { color: var(--code-comment); font-style: italic; }
.code-dim { color: var(--code-dim); }
.code-key { color: var(--code-key); }
.code-val { color: var(--code-val); margin-left: 8px; }
.code-ready { color: var(--success); margin-left: 8px; font-weight: 600; }

/* === PROOF === */
.proof {
  background: var(--fg);
  color: #fff;
  padding: 64px 24px;
}
.proof-inner { max-width: 1100px; margin: 0 auto; }
.proof-number {
  font-family: 'Syne', sans-serif;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 4px;
}
.proof-label { font-size: 14px; color: #aaa; margin-bottom: 40px; }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 40px; }
.proof-item { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.proof-check { width: 18px; height: 18px; border-radius: 50%; background: var(--success); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.proof-check::after { content: '✓'; font-size: 11px; color: #fff; font-weight: 700; }

/* === FEATURES === */
.features { max-width: 1100px; margin: 0 auto; padding: 96px 24px; }
.features-header { margin-bottom: 60px; max-width: 600px; }
.section-title { font-size: 36px; font-weight: 800; letter-spacing: -1.5px; margin-bottom: 16px; }
.section-sub { font-size: 17px; color: var(--fg-2); line-height: 1.65; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; }
.feature-icon { width: 40px; height: 40px; background: var(--accent-light); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--accent); margin-bottom: 14px; }
.feature-name { font-family: 'Syne', sans-serif; font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-desc { font-size: 14px; color: var(--fg-2); line-height: 1.6; }

/* === MODES === */
.modes { background: var(--bg-alt); padding: 64px 24px; }
.modes-inner { max-width: 1100px; margin: 0 auto; }
.modes-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 24px; }
.modes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 32px; }
.mode-card { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 20px; display: flex; align-items: center; gap: 14px; }
.mode-icon { color: var(--fg-2); flex-shrink: 0; }
.mode-info { display: flex; flex-direction: column; gap: 2px; }
.mode-name { font-size: 14px; font-weight: 600; }
.mode-status { font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.mode-status.live { color: var(--success); }
.modes-meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--fg-3); flex-wrap: wrap; }
.meta-sep { color: var(--fg-3); }

/* === PLAYBOOK === */
.playbook { max-width: 1100px; margin: 0 auto; padding: 96px 24px; display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: center; }
.playbook-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.playbook-title { font-size: 40px; font-weight: 800; letter-spacing: -1.5px; }
.playbook-text { font-size: 17px; color: var(--fg-2); line-height: 1.7; margin-bottom: 32px; }
.stack-item { margin-bottom: 16px; }
.stack-label { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); margin-bottom: 8px; }
.stack-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.stack-tag { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 4px; padding: 4px 10px; font-size: 12px; font-weight: 500; font-family: 'Courier New', monospace; }

/* === PRICING === */
.pricing { max-width: 1100px; margin: 0 auto; padding: 96px 24px; }
.pricing-header { margin-bottom: 48px; }
.pricing-table { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 48px; }
.pricing-tier { border: 1px solid var(--border); border-radius: 12px; padding: 32px; }
.pricing-tier-main { background: var(--bg-alt); }
.tier-name { font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin-bottom: 16px; }
.tier-price { font-family: 'Syne', sans-serif; font-size: 40px; font-weight: 800; letter-spacing: -1.5px; margin-bottom: 24px; }
.tier-price-sub { font-size: 14px; color: var(--fg-3); font-weight: 400; font-family: 'Outfit', sans-serif; }
.tier-features { list-style: none; margin-bottom: 28px; }
.tier-features li { font-size: 14px; color: var(--fg-2); padding: 6px 0; display: flex; align-items: center; gap: 8px; }
.feat-check { color: var(--success); font-weight: 700; }
.pricing-tier-enterprise .tier-name { color: var(--fg); }
.pricing-zones { background: var(--bg-alt); border-radius: 8px; padding: 24px 32px; }
.zones-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--fg-3); margin-bottom: 20px; }
.zones-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.zone-name { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.zone-loc { font-size: 13px; color: var(--fg-2); margin-bottom: 4px; }
.zone-price { font-size: 13px; color: var(--fg-3); font-family: 'Courier New', monospace; }

/* === CLOSING === */
.closing { background: var(--fg); color: #fff; padding: 96px 24px; }
.closing-inner { max-width: 600px; margin: 0 auto; text-align: center; }
.closing-headline { font-size: 40px; font-weight: 800; letter-spacing: -1.5px; margin-bottom: 16px; }
.closing-sub { font-size: 17px; color: #aaa; margin-bottom: 32px; line-height: 1.6; }
.closing .btn-primary { background: var(--accent); }
.closing .btn-primary:hover { background: var(--accent-dark); }

/* === FOOTER === */
.footer { border-top: 1px solid var(--border); padding: 40px 24px; }
.footer-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.footer-logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 16px; }
.footer-links { display: flex; gap: 24px; }
.footer-link { color: var(--fg-2); text-decoration: none; font-size: 13px; }
.footer-link:hover { color: var(--fg); }
.footer-copy { font-size: 12px; color: var(--fg-3); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 60px 24px 60px; }
  .hero-right { order: -1; }
  .hero-headline { font-size: 38px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .playbook { grid-template-columns: 1fr; gap: 32px; }
  .pricing-table { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .zones-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero-headline { font-size: 32px; }
  .features-grid { grid-template-columns: 1fr; }
  .modes-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}