/* ============================================================
   VERIDIAN RESEARCH — Global Styles
   Color palette matched to v11 Interactive Dashboard
   ============================================================ */

:root {
  --bg-body: #1a1a2e;
  --bg-card: #16213e;
  --bg-input: #0f3460;
  --bg-elevated: #1e1e3a;
  --accent: #4ecdc4;
  --accent-dim: rgba(78, 205, 196, 0.12);
  --accent-border: rgba(78, 205, 196, 0.3);
  --gold: #ffd93d;
  --gold-dim: rgba(255, 217, 61, 0.12);
  --positive: #3fb950;
  --negative: #ff6b6b;
  --text-primary: #e0e0e0;
  --text-secondary: #888;
  --text-muted: #666;
  --border: #333;
  --border-light: #444;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { opacity: 0.85; }

/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(26, 26, 46, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  padding: 0 2rem;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
}
.nav-logo svg { flex-shrink: 0; }
.nav-brand {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.nav-brand span { color: var(--accent); }
.nav-links { display: flex; gap: 1.8rem; align-items: center; }
.nav-links a {
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a.active { color: var(--accent); }
.nav-cta {
  background: var(--accent) !important;
  color: var(--bg-body) !important;
  padding: 7px 18px !important;
  border-radius: 6px;
  font-weight: 700 !important;
  font-size: 0.82rem !important;
  transition: opacity 0.2s !important;
}
.nav-cta:hover { opacity: 0.9; }

/* Mobile menu */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ============================================================
   SHARED COMPONENTS
   ============================================================ */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
section { padding: 80px 2rem; max-width: 1100px; margin: 0 auto; }

.section-label {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}
.section-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
  line-height: 1.2;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 44px;
  line-height: 1.7;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--bg-body);
  padding: 13px 30px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: opacity 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { opacity: 0.9; }
.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--text-primary);
  padding: 13px 30px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}
.btn-secondary:hover { border-color: var(--text-secondary); }
.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: var(--bg-body);
  padding: 13px 30px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: opacity 0.2s;
}
.btn-gold:hover { opacity: 0.9; }

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
}

/* Stats bar */
.stats-bar { padding: 0 2rem; margin-bottom: 80px; }
.stats-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.stat-item {
  background: var(--bg-card);
  padding: 24px 16px;
  text-align: center;
}
.stat-value {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 2px;
}
.stat-value.gold { color: var(--gold); }
.stat-value.green { color: var(--positive); }
.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 2rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-left { font-size: 0.82rem; color: var(--text-muted); }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  color: var(--text-secondary);
  font-size: 0.82rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }

/* ============================================================
   DISCLAIMER
   ============================================================ */
.disclaimer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 2rem 60px;
  border-top: 1px solid var(--border);
}
.disclaimer p {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 800px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--bg-body);
    border-bottom: 1px solid var(--border);
    padding: 1rem 2rem;
    gap: 1rem;
  }
  .nav-toggle { display: block; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  section { padding: 60px 1.5rem; }
  .section-title { font-size: 1.6rem; }
}
