/* Free Nuclear Power – Decolonize Africa
   Inspired by Space420 design language: clean, modern, Bootstrap 5, Inter + Playfair
   Colour system: deep navy / electric blue / gold accents
*/

:root {
  --navy: #0a1628;
  --navy-mid: #12253d;
  --blue: #1e4d8c;
  --blue-bright: #2b6cb0;
  --gold: #d4a84b;
  --gold-light: #e8c87a;
  --cream: #f7f5f0;
  --text: #1a1a1a;
  --muted: #5a6577;
  --success: #0d9488;
  --card-bg: #ffffff;
  --border: #e5e0d8;
}

* { box-sizing: border-box; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--cream);
  color: var(--text);
  margin: 0;
  line-height: 1.6;
}

h1, h2, h3, h4, .display-font {
  font-family: 'Playfair Display', Georgia, serif;
}

/* HUD top bar */
.hud-bar {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  font-size: 0.75rem;
  padding: 0.4rem 0;
  letter-spacing: 0.02em;
}
.hud-bar .status-pulse {
  display: inline-block;
  width: 8px; height: 8px;
  background: #22c55e;
  border-radius: 50%;
  margin-right: 6px;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hud-bar .sep { margin: 0 0.6rem; opacity: 0.5; }

/* Navbar */
.navbar-da {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}
.brand-mark {
  display: inline-flex;
  width: 38px; height: 38px;
  align-items: center; justify-content: center;
  background: var(--navy);
  color: var(--gold);
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  margin-right: 0.5rem;
}
.navbar-brand {
  font-weight: 600;
  color: var(--navy) !important;
  font-size: 1.25rem;
}
.brand-gold { color: var(--gold); }
.nav-link {
  color: var(--navy-mid) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem !important;
}
.nav-link:hover, .nav-link.active {
  color: var(--blue-bright) !important;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 0.65rem 1.4rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
}
.btn-gold:hover {
  background: var(--gold-light);
  color: var(--navy);
  transform: translateY(-1px);
}
.btn-outline-navy {
  border: 2px solid var(--navy);
  color: var(--navy);
  background: transparent;
  padding: 0.6rem 1.3rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: #fff;
}

/* Hero */
.hero-banner {
  background: linear-gradient(165deg, #0a1628 0%, #12253d 45%, #1e4d8c 100%);
  color: #fff;
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(212,168,75,0.12) 0%, transparent 55%);
  pointer-events: none;
}
.hero-banner h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.hero-banner .lead {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 560px;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2.5rem;
}
.hero-stat .num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  font-family: 'Playfair Display', serif;
}
.hero-stat .label {
  font-size: 0.85rem;
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Sections */
.section-pad { padding: 4.5rem 0; }
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.section-sub {
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 2.5rem;
}

/* Cards */
.card-da {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  height: 100%;
  transition: box-shadow 0.25s, transform 0.25s;
}
.card-da:hover {
  box-shadow: 0 12px 32px rgba(10,22,40,0.08);
  transform: translateY(-3px);
}
.card-da .icon-wrap {
  width: 48px; height: 48px;
  background: rgba(30,77,140,0.1);
  color: var(--blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.card-da h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--navy);
}
.card-da p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Country grid */
.country-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.4rem;
  height: 100%;
  transition: all 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.country-card:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 24px rgba(30,77,140,0.12);
  transform: translateY(-2px);
}
.country-card .region-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.country-card h4 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.country-card .meta {
  font-size: 0.85rem;
  color: var(--muted);
}
.country-card .status-badge {
  display: inline-block;
  font-size: 0.7rem;
  padding: 0.2rem 0.55rem;
  border-radius: 20px;
  font-weight: 600;
  margin-top: 0.6rem;
}
.status-pilot { background: #dcfce7; color: #166534; }
.status-planning { background: #dbeafe; color: #1e40af; }
.status-concept { background: #f3f4f6; color: #4b5563; }
.status-operating { background: #fef3c7; color: #92400e; }
.status-resource { background: #ede9fe; color: #5b21b6; }

/* Detail page */
.detail-hero {
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
  padding: 3.5rem 0 2.5rem;
}
.detail-hero h1 { font-size: 2.5rem; margin-bottom: 0.5rem; }
.detail-meta { opacity: 0.85; font-size: 0.95rem; }
.detail-section {
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}
.detail-section h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.detail-section h3 i { color: var(--blue); }

/* Timeline / Plan */
.timeline-item {
  position: relative;
  padding-left: 2rem;
  padding-bottom: 2rem;
  border-left: 2px solid var(--border);
}
.timeline-item:last-child { border-left-color: transparent; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -7px; top: 4px;
  width: 12px; height: 12px;
  background: var(--gold);
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px var(--gold);
}
.timeline-item h4 { font-size: 1.1rem; color: var(--navy); margin-bottom: 0.3rem; }
.timeline-item .year { color: var(--gold); font-weight: 700; font-size: 0.9rem; }

/* Footer */
.footer-da {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
  padding: 3.5rem 0 1.5rem;
  margin-top: 4rem;
}
.footer-da a { color: rgba(255,255,255,0.7); text-decoration: none; }
.footer-da a:hover { color: var(--gold); }
.footer-brand { font-size: 1.3rem; font-weight: 700; color: #fff; }
.footer-da h6 { color: #fff; font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.04em; }
.footer-da hr { border-color: rgba(255,255,255,0.1); }

/* Utilities */
.text-gold { color: var(--gold) !important; }
.text-navy { color: var(--navy) !important; }
.bg-navy { background: var(--navy) !important; }
.fade-up { animation: fadeUp 0.6s ease forwards; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-banner { padding: 3.5rem 0 3rem; }
  .hero-stats { gap: 1.25rem; }
  .section-pad { padding: 3rem 0; }
}