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

:root {
  --bg: #08080A;
  --surface: #0F0F14;
  --surface2: #16161E;
  --border: #1E1E2A;
  --text: #F0F0F5;
  --text-muted: #6B6B80;
  --text-dim: #3A3A50;
  --accent: #4F8EF7;
  --accent-glow: rgba(79,142,247,0.15);
  --mint: #00E5A0;
  --mint-dim: rgba(0,229,160,0.12);
  --red: #FF5F5F;
  --yellow: #FFB84D;
  --green: #4FE58A;
  --font-body: 'Space Grotesk', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --max-w: 1100px;
  --radius: 6px;
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === NAVBAR === */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 48px;
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
.nav-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--mint);
  background: var(--mint-dim);
  border: 1px solid rgba(0,229,160,0.2);
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.04em;
}

/* === HERO === */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 48px 100px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.hero-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-headline {
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--text);
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 400px;
  margin-bottom: 36px;
}
.hero-pulse {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 var(--mint-dim);
  animation: pulse-anim 2s ease-in-out infinite;
}
@keyframes pulse-anim {
  0%   { box-shadow: 0 0 0 0 rgba(0,229,160,0.5); }
  70%  { box-shadow: 0 0 0 10px rgba(0,229,160,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,229,160,0); }
}
.pulse-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--mint);
  letter-spacing: 0.05em;
}

/* Terminal card */
.terminal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 0.82rem;
}
.terminal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--surface2);
  border-bottom: 1px solid var(--border);
}
.t-dot { width: 12px; height: 12px; border-radius: 50%; }
.t-dot.red    { background: #FF5F5F; }
.t-dot.yellow { background: #FFB84D; }
.t-dot.green  { background: #4FE58A; }
.t-title { color: var(--text-muted); font-size: 0.78rem; margin-left: 8px; }
.terminal-body { padding: 20px 22px; }
.t-line { color: var(--text); line-height: 1.8; }
.t-muted { color: var(--text-muted); }
.t-active { color: var(--accent); margin-top: 4px; }
.t-prompt { color: var(--mint); margin-right: 8px; }
.cursor { animation: blink 1s step-end infinite; }
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:0; } }

/* === WHAT IT DOES === */
.what-it-does {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 48px;
}
.section-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.section-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 56px;
}
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 700px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.comp-col { padding: 28px 32px; }
.comp-old { background: rgba(255,95,95,0.04); border-right: 1px solid var(--border); }
.comp-new { background: rgba(0,229,160,0.04); }
.comp-col-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.comp-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.comp-item:last-child { margin-bottom: 0; }
.comp-x { color: var(--red); font-size: 0.9rem; flex-shrink: 0; }
.comp-check { color: var(--mint); font-size: 0.9rem; flex-shrink: 0; }

/* === THREE PILLARS === */
.three-pillars {
  display: flex;
  align-items: stretch;
  padding: 80px 48px;
  max-width: var(--max-w);
  margin: 0 auto;
  gap: 0;
}
.pillar { flex: 1; padding: 0 48px 0 0; }
.pillar:first-child { padding-left: 0; }
.pillar-divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
}
.pillar-icon {
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: 20px;
  display: block;
  line-height: 1;
}
.pillar-title {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.pillar-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* === STATUS === */
.status-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 60px 48px;
}
.status-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
}
.status-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--mint);
  background: var(--mint-dim);
  border: 1px solid rgba(0,229,160,0.2);
  padding: 8px 16px;
  border-radius: 20px;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  animation: pulse-anim 2s ease-in-out infinite;
}
.status-metric { }
.metric-value {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
  margin-bottom: 6px;
}
.metric-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: 180px;
}

/* === CLOSING === */
.closing-section {
  padding: 100px 48px;
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
}
.closing-headline {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.15;
  margin-bottom: 24px;
}
.closing-sub {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* === FOOTER === */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.footer-logo {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
}
.footer-tagline {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}
.footer-copy {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 8px;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .navbar { padding: 20px 24px; }
  .hero { grid-template-columns: 1fr; gap: 48px; padding: 48px 24px 64px; }
  .hero-visual { display: none; }
  .what-it-does { padding: 56px 24px; }
  .comparison-grid { grid-template-columns: 1fr; }
  .comp-old { border-right: none; border-bottom: 1px solid var(--border); }
  .three-pillars { flex-direction: column; padding: 56px 24px; }
  .pillar { padding: 32px 0; border-bottom: 1px solid var(--border); }
  .pillar:last-child { border-bottom: none; }
  .pillar-divider { display: none; }
  .status-inner { flex-direction: column; align-items: flex-start; gap: 32px; }
  .closing-section { padding: 64px 24px; }
  .site-footer { padding: 32px 24px; }
}
@media (max-width: 480px) {
  .metric-value { font-size: 1.8rem; }
}