/* CORVU THEME — Dark obsidian with amber accents */

:root {
  --bg: #0c0c10;
  --bg-raised: #13131a;
  --bg-raised2: #1a1a24;
  --fg: #e8e6e3;
  --fg-muted: #8a8a9b;
  --fg-subtle: #4a4a5a;
  --amber: #f5a623;
  --amber-dim: rgba(245, 166, 35, 0.15);
  --amber-border: rgba(245, 166, 35, 0.3);
  --green: #4ade80;
  --red: #f87171;
  --border: rgba(255,255,255,0.06);
  --font-head: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-head);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NAV ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(12,12,16,0.85);
  backdrop-filter: blur(12px);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.nav-tagline {
  font-size: 13px;
  color: var(--fg-muted);
  font-family: var(--font-mono);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 32px 60px;
}
.hero-content {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--amber-border);
  border-radius: 100px;
  background: var(--amber-dim);
  color: var(--amber);
  font-size: 13px;
  font-family: var(--font-mono);
  margin-bottom: 40px;
}
.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  animation: pulse-amber 2s infinite;
}
@keyframes pulse-amber {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-title {
  font-size: clamp(56px, 10vw, 96px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
  background: linear-gradient(135deg, #fff 0%, #a0a0b0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: clamp(17px, 2.5vw, 20px);
  color: var(--fg-muted);
  max-width: 580px;
  line-height: 1.65;
  margin-bottom: 56px;
}
.hero-proof {
  display: flex;
  align-items: center;
  gap: 40px;
}
.proof-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.proof-num {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--amber);
  font-family: var(--font-mono);
}
.proof-label {
  font-size: 12px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.proof-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* ── TERMINAL ── */
.terminal-section {
  padding: 60px 32px 80px;
  max-width: 1100px;
  margin: 0 auto;
}
.terminal-window {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(245,166,35,0.05);
}
.terminal-bar {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-raised2);
}
.terminal-dots { display: flex; gap: 6px; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }
.terminal-title { font-family: var(--font-mono); font-size: 12px; color: var(--fg-muted); margin-left: 8px; }
.terminal-body {
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.8;
}
.log-line { margin-bottom: 2px; }
.log-time { color: var(--fg-subtle); }
.log-amber { color: var(--amber); font-weight: 600; }
.log-info { color: #60a5fa; }
.log-muted { color: var(--fg-subtle); }
.log-success { color: var(--green); }
.cursor-line { color: var(--fg-muted); }
.cursor { animation: blink 1s step-end infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.terminal-caption {
  text-align: center;
  font-size: 13px;
  color: var(--fg-subtle);
  margin-top: 20px;
  font-family: var(--font-mono);
}

/* ── CAPABILITIES ── */
.capabilities {
  padding: 80px 32px;
  max-width: 1100px;
  margin: 0 auto;
}
.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 64px;
  text-align: center;
}
.cap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.cap-card {
  padding: 32px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.2s;
}
.cap-card:hover { border-color: var(--amber-border); }
.cap-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--amber-dim);
  border-radius: 10px;
  color: var(--amber);
  margin-bottom: 20px;
}
.cap-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.cap-card p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ── HOW ── */
.how-section {
  padding: 80px 32px;
  background: var(--bg-raised);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.how-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
}
.how-text h2 {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 20px;
}
.how-text p {
  font-size: 15px;
  color: var(--fg-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.how-features { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.how-feat { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.how-check { color: var(--green); font-weight: 700; }
.how-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.pulse-ring {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pulse-dot {
  width: 16px;
  height: 16px;
  background: var(--amber);
  border-radius: 50%;
  position: absolute;
  z-index: 2;
}
.pulse-ring-1, .pulse-ring-2 {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--amber);
  animation: expand 3s ease-out infinite;
}
.pulse-ring-1 { width: 60px; height: 60px; animation-delay: 0s; }
.pulse-ring-2 { width: 90px; height: 90px; animation-delay: 1s; }
@keyframes expand {
  0% { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}
.status-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--fg-subtle);
  text-align: center;
  max-width: 120px;
}

/* ── CLOSING ── */
.closing {
  padding: 100px 32px;
  text-align: center;
}
.closing-inner { max-width: 700px; margin: 0 auto; }
.closing h2 {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 20px;
}
.closing p {
  font-size: 16px;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}
.footer-copy {
  font-size: 13px;
  color: var(--fg-subtle);
  font-family: var(--font-mono);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-inner { padding: 14px 20px; }
  .hero { padding: 60px 20px 40px; min-height: auto; }
  .hero-title { font-size: 52px; }
  .hero-proof { flex-wrap: wrap; gap: 24px; }
  .proof-divider { display: none; }
  .cap-grid { grid-template-columns: 1fr; }
  .how-inner { grid-template-columns: 1fr; gap: 40px; }
  .how-visual { display: none; }
  .footer-inner { flex-direction: column; gap: 12px; }
  .terminal-section { padding: 40px 20px 60px; }
  .capabilities { padding: 60px 20px; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 40px; }
  .hero-sub { font-size: 15px; }
  .proof-num { font-size: 22px; }
  .closing { padding: 60px 20px; }
}