/* Meridian — AI Business Intelligence Theme */

:root {
  --bg: #050508;
  --bg-surface: #0c0c14;
  --bg-card: #111120;
  --fg: #f0ede8;
  --fg-muted: #8a8898;
  --accent: #ff4500;
  --accent-glow: rgba(255, 69, 0, 0.15);
  --green: #22c55e;
  --yellow: #facc15;
  --red: #ef4444;
  --border: #1e1e30;
}

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 48px;
  height: 60px;
  display: flex;
  align-items: center;
  background: rgba(5, 5, 8, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}
.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--fg);
  letter-spacing: -0.5px;
}
.nav-tagline {
  font-size: 12px;
  color: var(--fg-muted);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding-left: 12px;
  border-left: 1px solid var(--border);
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 120px 80px 80px;
  max-width: 1400px;
  margin: 0 auto;
}
.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.hero-label {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--accent-glow);
  border: 1px solid rgba(255,69,0,0.25);
  padding: 6px 14px;
  border-radius: 2px;
  display: inline-block;
  width: fit-content;
}
.hero-headline {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--fg);
}
.hero-sub {
  font-size: 18px;
  line-height: 1.65;
  color: var(--fg-muted);
  max-width: 480px;
  font-weight: 300;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-dashboard {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  width: 100%;
  max-width: 480px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 60px var(--accent-glow);
}
.dash-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-surface);
}
.dash-dot { width: 10px; height: 10px; border-radius: 50%; }
.dash-dot.red { background: #ff5f57; }
.dash-dot.yellow { background: #febc2e; }
.dash-dot.green { background: #28c840; }
.dash-title { font-size: 12px; color: var(--fg-muted); margin-left: 8px; font-family: 'DM Mono', monospace; }
.dash-body { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.dash-metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.dash-metric {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dash-metric-label {
  font-size: 10px;
  font-weight: 500;
  color: var(--fg-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: 'DM Mono', monospace;
}
.dash-metric-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
  font-family: 'Syne', sans-serif;
}
.dash-metric-delta { font-size: 11px; font-weight: 600; font-family: 'DM Mono', monospace; }
.dash-metric-delta.up { color: var(--green); }
.dash-metric-delta.down { color: var(--red); }
.dash-chart {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dash-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 80px;
}
.chart-bar {
  flex: 1;
  background: var(--border);
  border-radius: 3px 3px 0 0;
  transition: all 0.3s ease;
}
.chart-bar.active {
  background: var(--accent);
  box-shadow: 0 0 16px var(--accent-glow);
}
.dash-insight {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,69,0,0.08);
  border: 1px solid rgba(255,69,0,0.2);
  border-radius: 6px;
  padding: 10px 14px;
}
.insight-ai {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-glow);
  padding: 2px 8px;
  border-radius: 3px;
  flex-shrink: 0;
}
.insight-text { font-size: 11px; color: var(--fg-muted); line-height: 1.4; }

.manifesto {
  padding: 80px 80px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.manifesto-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.manifesto-text { font-size: 22px; line-height: 1.7; color: var(--fg-muted); font-weight: 300; }
.manifesto-text em { color: var(--fg); font-style: normal; font-weight: 500; }

.features { padding: 100px 80px; max-width: 1400px; margin: 0 auto; }
.features-header { margin-bottom: 60px; }
.features-header h2 {
  font-family: 'Syne', sans-serif;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--fg);
}
.features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.2s ease;
}
.feature-card:hover { border-color: rgba(255,69,0,0.3); }
.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-glow);
  border: 1px solid rgba(255,69,0,0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.feature-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.3px;
}
.feature-card p { font-size: 15px; line-height: 1.65; color: var(--fg-muted); font-weight: 300; }

.closing { padding: 100px 80px; background: var(--bg-surface); border-top: 1px solid var(--border); }
.closing-inner { max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; gap: 60px; }
.closing-quote {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  padding: 36px 40px;
}
.closing-quote p { font-size: 20px; line-height: 1.6; color: var(--fg); font-style: italic; font-weight: 300; margin-bottom: 16px; }
.closing-quote cite { font-size: 13px; color: var(--fg-muted); font-style: normal; font-family: 'DM Mono', monospace; }
.closing-statement h2 {
  font-family: 'Syne', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -1px;
  line-height: 1.15;
  max-width: 600px;
}
.closing-statement p { margin-top: 20px; font-size: 17px; line-height: 1.7; color: var(--fg-muted); max-width: 540px; font-weight: 300; }

.footer { padding: 40px 80px; border-top: 1px solid var(--border); text-align: center; }
.footer p { font-size: 13px; color: var(--fg-muted); font-family: 'DM Mono', monospace; letter-spacing: 0.05em; }

@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; padding: 100px 24px 60px; gap: 40px; }
  .hero-visual { order: -1; }
  .hero-headline { font-size: 36px; }
  .features, .manifesto, .closing { padding: 60px 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .nav { padding: 0 24px; }
}