/* Veklom Sovereign AI Hub — Design System */
:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #1a1a1a;
  --bg-card-hover: #222222;
  --border: #2a2a2a;
  --orange-500: #f97316;
  --orange-400: #fb923c;
  --orange-600: #ea580c;
  --orange-glow: rgba(249, 115, 22, 0.15);
  --text-primary: #fafafa;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --green: #22c55e;
  --red: #ef4444;
  --blue: #3b82f6;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-sans); background: var(--bg-primary); color: var(--text-primary); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--orange-500); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--orange-400); }

/* Layout */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-alt { background: var(--bg-secondary); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* Typography */
h1 { font-size: 3.5rem; font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; }
h2 { font-size: 2.25rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
h3 { font-size: 1.5rem; font-weight: 600; line-height: 1.3; }
.subtitle { font-size: 1.125rem; color: var(--text-secondary); max-width: 640px; }
.label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--orange-500); }
.mono { font-family: var(--font-mono); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: 8px; font-weight: 600; font-size: 0.95rem; border: none; cursor: pointer; transition: all 0.2s; }
.btn-primary { background: var(--orange-500); color: #000; }
.btn-primary:hover { background: var(--orange-400); transform: translateY(-1px); box-shadow: 0 8px 24px var(--orange-glow); }
.btn-secondary { background: transparent; color: var(--text-primary); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--orange-500); color: var(--orange-500); }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }

/* Cards */
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 28px; transition: all 0.2s; }
.card:hover { border-color: var(--orange-500); background: var(--bg-card-hover); }
.card-highlight { border-color: var(--orange-500); box-shadow: 0 0 24px var(--orange-glow); }

/* Nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; backdrop-filter: blur(12px); background: rgba(10, 10, 10, 0.85); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav-brand { font-size: 1.25rem; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.nav-brand span { color: var(--orange-500); }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { color: var(--text-secondary); font-size: 0.9rem; font-weight: 500; }
.nav-links a:hover { color: var(--text-primary); }

/* Hero */
.hero { padding: 140px 0 80px; text-align: center; background: radial-gradient(ellipse at 50% -20%, var(--orange-glow) 0%, transparent 70%); }
.hero h1 { max-width: 800px; margin: 0 auto 24px; }
.hero .subtitle { margin: 0 auto 40px; text-align: center; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Badge */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 100px; font-size: 0.75rem; font-weight: 600; }
.badge-green { background: rgba(34, 197, 94, 0.1); color: var(--green); border: 1px solid rgba(34, 197, 94, 0.2); }
.badge-orange { background: var(--orange-glow); color: var(--orange-500); border: 1px solid rgba(249, 115, 22, 0.3); }

/* Steps */
.step { display: flex; gap: 20px; padding: 20px 0; }
.step-num { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--orange-glow); color: var(--orange-500); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1rem; border: 1px solid rgba(249, 115, 22, 0.3); }

/* Pricing table */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.pricing-card { padding: 32px; }
.pricing-card .price { font-size: 2.5rem; font-weight: 800; }
.pricing-card .price-sub { color: var(--text-muted); font-size: 0.85rem; }
.pricing-card ul { list-style: none; margin-top: 20px; }
.pricing-card ul li { padding: 8px 0; color: var(--text-secondary); font-size: 0.9rem; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 8px; }
.pricing-card ul li::before { content: '→'; color: var(--orange-500); font-weight: 700; }

/* Comparison table */
.compare-table { width: 100%; border-collapse: collapse; margin-top: 24px; }
.compare-table th { text-align: left; padding: 12px 16px; background: var(--bg-card); color: var(--text-secondary); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; border-bottom: 1px solid var(--border); }
.compare-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.compare-table tr:hover td { background: var(--bg-card-hover); }
.check { color: var(--green); font-weight: 700; }
.cross { color: var(--text-muted); }

/* GPC Preview */
.gpc-preview { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: 16px; padding: 40px; position: relative; overflow: hidden; }
.gpc-preview::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 200px; height: 2px; background: linear-gradient(90deg, transparent, var(--orange-500), transparent); }

/* Pulse dashboard */
.pulse-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.pulse-card { text-align: center; padding: 24px; }
.pulse-card .value { font-size: 2rem; font-weight: 800; color: var(--text-primary); }
.pulse-card .delta { font-size: 0.8rem; color: var(--green); }
.pulse-card .pulse-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }

/* Footer */
.footer { padding: 48px 0; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer-col h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--text-secondary); font-size: 0.9rem; padding: 4px 0; }

/* Uptime bar */
.uptime-bar { display: flex; gap: 2px; height: 32px; }
.uptime-bar .bar { flex: 1; border-radius: 3px; background: var(--green); }
.uptime-bar .bar.down { background: var(--red); }

/* Sidebar spine */
.sidebar { position: fixed; left: 0; top: 64px; bottom: 0; width: 56px; background: var(--bg-secondary); border-right: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; padding: 12px 0; gap: 4px; z-index: 50; }
.sidebar a { width: 40px; height: 40px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--text-muted); transition: all 0.2s; position: relative; }
.sidebar a:hover, .sidebar a.active { background: var(--orange-glow); color: var(--orange-500); }
.sidebar a .tooltip { position: absolute; left: 60px; background: var(--bg-card); color: var(--text-primary); padding: 6px 12px; border-radius: 6px; font-size: 0.75rem; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.2s; border: 1px solid var(--border); }
.sidebar a:hover .tooltip { opacity: 1; }
.sidebar .divider { width: 24px; height: 1px; background: var(--border); margin: 8px 0; }

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 1.75rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}
