/* =========================
   OEIL GUINEE — accueil (dark)
   Porté depuis AIDesigner — Mai 2026
   ========================= */
:root {
  --font: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --font-display: "Outfit", system-ui, sans-serif;

  --guinee-red: #CE1126;
  --guinee-yellow: #FCD116;
  --guinee-green: #009460;

  --primary: #14b8a6;
  --primary-light: #2dd4bf;
  --primary-glow: rgba(20, 184, 166, 0.45);
  --secondary: #34d399;
  --accent: #fbbf24;

  --bg-deepest: #060b14;
  --bg-dark: #0f172a;
  --bg-darker: #020617;
  --surface-glass: rgba(30, 41, 59, 0.4);
  --surface-border: rgba(255, 255, 255, 0.05);
  --surface-border-hover: rgba(20, 184, 166, 0.2);

  --text-main: #F8FAFC;
  --text-body: #cbd5e1;
  --text-muted: #94A3B8;
  --text-dim: #64748b;

  --radius: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;

  --shadow-glass: 0 4px 24px -1px rgba(0, 0, 0, 0.2), inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
  --shadow-glow: 0 0 24px rgba(20, 184, 166, 0.2);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);

  --container: 1400px;
  --pad-x: 1.5rem;
  --pad-y: 6rem;

  --ease: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --ease-out: cubic-bezier(0.2, 1, 0.2, 1);
}

/* --- BASE --- */
body {
  font-family: var(--font) !important;
  color: var(--text-body) !important;
  background-color: var(--bg-deepest) !important;
  background-image: none !important;
}

.container {
  width: min(var(--container), 100% - (var(--pad-x) * 2));
  margin-inline: auto;
}

.guinea-bar {
  height: 3px;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  background: linear-gradient(to right, var(--guinee-red) 33.3%, var(--guinee-yellow) 33.3%, var(--guinee-yellow) 66.6%, var(--guinee-green) 66.6%);
}

.bg-noise {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* --- GLASSMORPHISM --- */
.glass-panel {
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-glass);
  transition: all 0.4s var(--ease);
}
.glass-panel:hover {
  border-color: var(--surface-border-hover);
  background: rgba(30, 41, 59, 0.6);
  transform: translateY(-2px);
}

/* Gradient text */
.text-gradient {
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(to right, var(--primary), var(--secondary));
}

.text-gradient-red {
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(to right, var(--guinee-red), #fb7185);
}

/* --- COMPONENTS --- */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
  text-decoration: none;
  font-family: var(--font-display);
}
.btn--primary {
  background: var(--primary);
  color: var(--bg-deepest);
  box-shadow: 0 4px 14px -2px rgba(20, 184, 166, 0.45);
}
.btn--primary:hover {
  transform: translateY(-2px);
  background: var(--primary-light);
  box-shadow: 0 10px 40px -10px rgba(20, 184, 166, 0.6);
}
.btn--secondary {
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  border-color: var(--surface-border);
  color: white;
}
.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  transform: translateY(-2px);
}
.btn--lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}
.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}
.btn--white {
  background: white;
  color: var(--bg-deepest);
  font-weight: 800;
  border-radius: var(--radius);
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.15);
}
.btn--white:hover {
  transform: scale(1.03);
  box-shadow: 0 0 50px rgba(255, 255, 255, 0.3);
}

/* Hero CTA buttons (design port) */
.btn-cta-primary {
  position: relative;
  display: inline-flex;
  text-decoration: none;
  border-radius: 0.75rem;
  padding: 1px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s var(--ease);
}
.btn-cta-primary:active { transform: scale(0.97); }
.btn-cta-primary__ring {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--primary-light), #0d9488);
  border-radius: 0.75rem;
  z-index: 0;
}
.btn-cta-primary__ring::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  animation: pulse-ring 2.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  z-index: -1;
}
.btn-cta-primary__inner {
  position: relative;
  z-index: 1;
  background: var(--bg-dark);
  border-radius: calc(0.75rem - 1px);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: white;
  transition: background 0.3s;
}
.btn-cta-primary__inner i {
  color: var(--primary-light);
  font-size: 1.25rem;
  transition: transform 0.3s;
}
.btn-cta-primary:hover .btn-cta-primary__inner {
  background: rgba(15, 23, 42, 0.5);
}
.btn-cta-primary:hover .btn-cta-primary__inner i {
  transform: scale(1.1);
}

.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: white;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}
.btn-cta-outline i {
  color: var(--text-muted);
  font-size: 1.1rem;
}
.btn-cta-outline:hover {
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

/* Badges & Pills */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pill--teal {
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.3);
  color: var(--primary);
}
.pill--ghost {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
}
.pill__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse-ring 2s infinite;
}

/* Hero badge row (Gouvernance 2.0 pill from design) */
.hero-badge-row {
  margin-bottom: 0.5rem;
}
.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid rgba(100, 116, 139, 0.3);
  border-radius: 999px;
  padding: 0.3rem 1rem 0.3rem 0.3rem;
  backdrop-filter: blur(8px);
}
.hero-badge-pill__tag {
  background: rgba(20, 184, 166, 0.2);
  color: var(--primary-light);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hero-badge-pill__text {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-body);
}

/* --- HEADER --- */
.site-header {
  position: sticky;
  top: 3px;
  z-index: 100;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--surface-border);
}
.header__inner {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.5rem;
  color: white;
  text-decoration: none;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}
.brand__logo {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 0.75rem;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  color: var(--bg-deepest);
  box-shadow: 0 0 20px rgba(20, 184, 166, 0.3);
}
.brand .brand-accent {
  color: var(--primary);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__link {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}
.nav__link:hover { color: white; }
.nav__toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}
.hide-mobile { display: block; }

@media (max-width: 768px) {
  .nav__menu {
    position: fixed;
    top: 83px;
    left: 0; right: 0;
    background: var(--bg-dark);
    flex-direction: column;
    padding: 2rem;
    border-bottom: 1px solid var(--surface-border);
    display: none;
  }
  .nav__menu.open { display: flex; }
  .nav__toggle { display: block; }
  .hide-mobile { display: none; }
}

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 7rem 0 5rem;
  overflow: hidden;
  background: var(--bg-deepest) !important;
  text-align: left;
}

.hero__ambient {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}
.hero__ambient--teal {
  width: 800px; height: 800px;
  top: -10%; left: -10%;
  background: var(--primary);
  animation: blob 15s infinite;
}
.hero__ambient--amber {
  width: 600px; height: 600px;
  top: 40%; right: -5%;
  background: var(--guinee-red);
  opacity: 0.06;
  animation: blob 18s infinite reverse;
  animation-delay: 2s;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 10;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}
.hero__subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

/* Hero trust badges (bottom) */
.hero__trust {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.5rem;
  margin-top: auto;
}
.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.hero__trust-item i {
  font-size: 1.1rem;
}

/* --- HERO FLOATING WIDGETS --- */
.hero__widgets {
  position: relative;
  height: 500px;
  pointer-events: none;
}

/* Main widget: Activité Récente */
.hw-main {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 420px;
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  z-index: 20;
}
.hw-main:hover { transform: translateY(calc(-50% - 2px)); }
.hw-main__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.hw-main__header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hw-main__icon {
  width: 2rem; height: 2rem;
  border-radius: 0.5rem;
  background: rgba(20, 184, 166, 0.15);
  display: grid;
  place-items: center;
  color: var(--primary-light);
  font-size: 0.9rem;
}
.hw-main__title {
  font-family: var(--font-display);
  font-weight: 600;
  color: white;
  font-size: 1rem;
}
.hw-main__badge {
  font-size: 0.7rem;
  background: rgba(30, 41, 59, 0.8);
  color: var(--text-body);
  padding: 0.3rem 0.6rem;
  border-radius: 0.375rem;
}
.hw-main__feed {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hw-feed-item {
  background: rgba(30, 41, 59, 0.4);
  border-radius: 0.75rem;
  padding: 1rem;
  border: 1px solid rgba(100, 116, 139, 0.25);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.hw-feed-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-top: 0.35rem;
  flex-shrink: 0;
}
.hw-feed-dot--red {
  background: var(--guinee-red);
  box-shadow: 0 0 8px rgba(206, 17, 38, 0.6);
}
.hw-feed-dot--yellow { background: var(--guinee-yellow); }
.hw-feed-dot--green { background: var(--guinee-green); }
.hw-feed-item__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  margin: 0 0 0.25rem;
}
.hw-feed-item__meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
}
.hw-main__footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(100, 116, 139, 0.25);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hw-main__footer-label {
  font-size: 0.65rem;
  color: var(--text-dim);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hw-avatars {
  display: flex;
}
.hw-avatar {
  width: 1.5rem; height: 1.5rem;
  border-radius: 50%;
  border: 1px solid rgba(100, 116, 139, 0.4);
  background: rgba(100, 116, 139, 0.5);
  margin-left: -0.5rem;
}
.hw-avatar:first-child { margin-left: 0; }
.hw-avatar--2 { background: rgba(148, 163, 184, 0.4); }
.hw-avatar--accent {
  background: var(--primary);
  display: grid;
  place-items: center;
  font-size: 0.55rem;
  color: white;
  font-weight: 700;
}

/* Small widget: Résolus ce mois */
.hw-resolved {
  position: absolute;
  left: 1rem;
  top: 10%;
  width: 240px;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  z-index: 10;
}
.hw-resolved:hover { transform: translateY(-2px); }
.hw-resolved__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.hw-resolved__header span {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-body);
}
.hw-resolved__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.5rem;
  color: white;
  line-height: 1;
}
.hw-resolved__bars {
  margin-top: 1rem;
  display: flex;
  align-items: flex-end;
  gap: 0.25rem;
  height: 2rem;
}
.hw-bar {
  flex: 1;
  background: rgba(0, 148, 96, 0.3);
  border-radius: 2px 2px 0 0;
}
.hw-bar--full {
  background: var(--guinee-green);
  box-shadow: 0 0 10px rgba(0, 148, 96, 0.4);
}

/* Small widget: Action Rapide */
.hw-action {
  position: absolute;
  left: 2.5rem;
  bottom: 15%;
  width: 260px;
  background: rgba(15, 23, 42, 0.9) !important;
  border-radius: var(--radius-lg);
  padding: 0.25rem;
  border: 1px solid rgba(100, 116, 139, 0.25) !important;
  z-index: 30;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important;
}
.hw-action:hover { transform: translateY(-2px); }
.hw-action__inner {
  border: 1px solid rgba(30, 41, 59, 0.6);
  border-radius: calc(var(--radius-lg) - 0.25rem);
  padding: 1rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hw-action__icon-wrap {
  background: rgba(206, 17, 38, 0.1);
  padding: 0.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.hw-action__icon-wrap i {
  color: var(--guinee-red);
  font-size: 1.25rem;
}
.hw-action__title {
  font-family: var(--font-display);
  font-weight: 600;
  color: white;
  font-size: 0.875rem;
  margin: 0;
}
.hw-action__sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
}

/* --- STATS STRIP --- */
.stats-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(15, 23, 42, 0.4);
  position: relative;
  z-index: 10;
  padding: 4rem 0;
}
.stats-strip__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
}
.stats-strip__item {
  display: flex;
  flex-direction: column;
  padding: 0 1rem;
  text-align: center;
}
.stats-strip__item + .stats-strip__item {
  border-left: 1px solid rgba(255, 255, 255, 0.05);
}
.stats-strip__label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.stats-strip__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--text-main);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stats-strip__value--teal { color: var(--primary-light); }
.stats-strip__value--green { color: var(--guinee-green); }
.stats-strip__value-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
}
.stats-strip__percent {
  font-size: 1.25rem;
  color: var(--text-muted);
  font-weight: 700;
}
.stats-strip__sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* Pulse live indicator */
.pulse-live {
  position: relative;
  display: inline-flex;
  width: 0.5rem;
  height: 0.5rem;
}
.pulse-live__ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--primary-light);
  opacity: 0.75;
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.pulse-live__dot {
  position: relative;
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--primary);
}

/* Community card in stats strip */
.stats-strip__item--card {
  display: flex;
  justify-content: center;
  align-items: center;
  border-left: none !important;
}
.stats-strip__card {
  padding: 1rem;
  border-radius: 0.75rem;
  text-align: center;
  border-color: rgba(20, 184, 166, 0.15) !important;
  background: rgba(20, 184, 166, 0.05) !important;
  width: 100%;
}
.stats-strip__card:hover {
  transform: translateY(-2px);
}
.stats-strip__card-title {
  font-family: var(--font-display);
  font-weight: 600;
  color: white;
  font-size: 0.9rem;
  margin: 0.25rem 0;
}
.stats-strip__card-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
}

/* --- BENTO DASHBOARD --- */
.bento-section {
  padding: var(--pad-y) 0;
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  background: rgba(255, 255, 255, 0.005);
}

.section-header {
  margin-bottom: 3rem;
}
.section-header--left { text-align: left; }
.section-header--center {
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: 3rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.section-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 640px;
  line-height: 1.6;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}
.bento-grid > .col-3 { grid-column: span 3; }
.bento-grid > .col-4 { grid-column: span 4; }
.bento-grid > .col-8 { grid-column: span 8; }
.bento-grid > .col-12 { grid-column: span 12; }

/* Stat cards (kept for compatibility) */
.stat-card {
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.stat-card__icon {
  width: 48px; height: 48px;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
}
.stat-card__icon--teal { color: var(--primary); }
.stat-card__icon--green { color: var(--secondary); border-color: rgba(52, 211, 153, 0.2); }
.stat-card__icon--amber { color: var(--accent); border-color: rgba(251, 191, 36, 0.2); }
.stat-card__icon--blue { color: #3b82f6; border-color: rgba(59, 130, 246, 0.2); }
.stat-card__label { font-size: 0.875rem; color: var(--text-muted); font-weight: 500; }
.stat-card__row { display: flex; align-items: flex-end; gap: 0.75rem; }
.stat-card__value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}
.stat-card__trend {
  font-size: 0.75rem;
  color: var(--secondary);
  margin-bottom: 0.25rem;
}
.stat-card__bar {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
}
.stat-card__bar-fill {
  height: 100%;
  border-radius: 999px;
  background: var(--secondary);
  transition: width 1.5s var(--ease);
}
.stat-card--highlight {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.1) 0%, transparent 100%);
  border-color: rgba(20, 184, 166, 0.2);
}

/* Chart panels */
.chart-panel {
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
}
.chart-panel__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.chart-panel__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-main);
}
.chart-panel__body {
  position: relative;
  flex-grow: 1;
  width: 100%;
}

/* Region list */
.region-list {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow-y: auto;
}
.region-list::-webkit-scrollbar { display: none; }
.region-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: color 0.2s;
}
.region-item:hover .region-name { color: var(--primary); }
.region-item__left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.region-rank {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-dim);
  width: 1.25rem;
}
.region-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-main);
  transition: color 0.2s;
}
.region-count {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
}

/* --- REPORT CARDS --- */
.section { padding: var(--pad-y) 0; }

.section-header-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.section-header-row .btn--link {
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s;
}
.section-header-row .btn--link:hover { color: white; }

.grid-reports {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Report card (rcard) */
.rcard {
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  height: 100%;
}
.rcard__thumb {
  position: relative;
  height: 12rem;
  overflow: hidden;
}
.rcard__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  transition: all 0.7s;
}
.rcard:hover .rcard__thumb img {
  transform: scale(1.05);
  opacity: 0.8;
}
.rcard__thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, var(--bg-deepest));
  z-index: 1;
}
.rcard__thumb-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  z-index: 2;
  font-size: 0.625rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.rcard__thumb-badge--critical { background: var(--guinee-red); color: white; }
.rcard__thumb-badge--high { background: var(--accent); color: var(--bg-deepest); }
.rcard__thumb-badge--medium { background: var(--guinee-yellow); color: var(--bg-deepest); }
.rcard__thumb-badge--low { background: var(--secondary); color: var(--bg-deepest); }
.rcard__thumb-badge--resolved { background: rgba(52, 211, 153, 0.2); color: var(--secondary); border: 1px solid rgba(52, 211, 153, 0.3); }

.rcard__body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.rcard__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.5rem;
  border-radius: 0.25rem;
}
.badge--category { color: var(--primary); background: none; }
.badge--severity-critical { color: var(--guinee-red); }
.badge--severity-high { color: var(--accent); }
.badge--severity-medium { color: var(--guinee-yellow); }
.badge--severity-low { color: var(--secondary); }

.rcard__location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.rcard__location-icon { color: var(--primary); font-size: 0.75rem; }
.rcard__location-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  line-height: 1.3;
  margin: 0;
}
.rcard__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 1rem;
}
.rcard__footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.rcard__meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-dim);
}
.rcard__stats {
  display: flex;
  gap: 1rem;
  margin-top: 0.75rem;
}
.rcard__stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.rcard__stat-icon { font-size: 0.75rem; color: var(--text-dim); }
.rcard__stat-value { font-size: 0.75rem; font-weight: 600; color: var(--text-muted); }

/* Empty state */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  grid-column: 1 / -1;
}
.empty-state__icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--surface-border);
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: var(--text-dim);
}
.empty-state__title { color: var(--text-main); font-weight: 600; margin-bottom: 0.5rem; }
.empty-state__text { color: var(--text-muted); font-size: 0.9rem; }

/* --- MISSION + FEATURES --- */
.split-section {
  padding: var(--pad-y) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  background: rgba(255, 255, 255, 0.005);
}
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.mission__label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--secondary);
  margin-bottom: 1rem;
}
.mission__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--text-main);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}
.mission__bar {
  width: 5rem;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  border-radius: 999px;
  margin-bottom: 2rem;
}
.mission__text {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* Timeline steps */
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-left: 2.5rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 1.125rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--text-dim), transparent);
}
.timeline__step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.timeline__num {
  position: absolute;
  left: -2.5rem;
  width: 2.25rem; height: 2.25rem;
  border-radius: 50%;
  border: 2px solid var(--text-dim);
  background: var(--bg-deepest);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--text-dim);
  z-index: 1;
  flex-shrink: 0;
}
.timeline__step:first-child .timeline__num {
  border-color: var(--primary);
  color: var(--primary);
}
.timeline__step:last-child .timeline__num {
  border-color: var(--secondary);
  color: var(--secondary);
}
.timeline__card {
  padding: 1rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  flex-grow: 1;
}
.timeline__step:first-child .timeline__card {
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
}
.timeline__step-title {
  color: var(--text-main);
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.timeline__step-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Feature cards grid */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.feature-card {
  padding: 2rem;
  border-radius: var(--radius);
}
.feature-card__icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}
.feature-card__icon--white { background: rgba(255, 255, 255, 0.05); color: white; }
.feature-card__icon--teal { background: rgba(20, 184, 166, 0.1); color: var(--primary); }
.feature-card__icon--green { background: rgba(52, 211, 153, 0.1); color: var(--secondary); }
.feature-card__icon--amber { background: rgba(251, 191, 36, 0.1); color: var(--accent); }

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}
.feature-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.features-grid .feature-card:nth-child(even) {
  transform: translateY(2rem);
}

/* --- CTA --- */
.cta-section {
  padding: 8rem 0;
  position: relative;
  text-align: center;
  overflow: hidden;
}
.cta-section__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(20, 184, 166, 0.1) 0%, var(--bg-deepest) 70%);
  z-index: -1;
}
.cta-section__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
}
.cta-section__title .cta-accent {
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-image: linear-gradient(to right, var(--accent), var(--guinee-red));
}
.cta-section__sub {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}
.cta-section__note {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* --- FOOTER --- */
.footer {
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--surface-border);
  padding: 3rem 0 2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.footer-content {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}
.footer-brand { margin-bottom: 1rem; }
.footer-heading {
  color: white;
  font-weight: 700;
  margin-bottom: 1rem;
}
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-item { margin-bottom: 0.75rem; }
.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-link:hover { color: var(--primary); }
.footer-text { color: var(--text-dim); font-size: 0.875rem; line-height: 1.6; }
.footer-divider {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* --- ANIMATIONS --- */
@keyframes pulse-ring {
  0% { transform: scale(0.8); box-shadow: 0 0 0 0 rgba(20, 184, 166, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(20, 184, 166, 0); }
  100% { transform: scale(0.8); box-shadow: 0 0 0 0 rgba(20, 184, 166, 0); }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(0.5deg); }
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

@keyframes float-delayed {
  0% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-15px) rotate(-1deg); }
  100% { transform: translateY(0) rotate(-2deg); }
}

@keyframes blob {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -50px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
  100% { transform: translate(0, 0) scale(1); }
}

@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}

.animate-float { animation: float 6s ease-in-out infinite; }
.animate-float-delayed { animation: float-delayed 8s ease-in-out infinite; }

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s var(--ease-out);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.loading {
  width: 48px; height: 48px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  :root { --pad-y: 4rem; }

  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__content { align-items: center; }
  .hero__subtitle { margin-inline: auto; }
  .hero__cta { justify-content: center; }
  .hero__widgets { display: none; }
  .hero-badge-row { justify-content: center; display: flex; }
  .hero__trust { justify-content: center; }

  .stats-strip__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-strip__item + .stats-strip__item { border-left: none; }
  .stats-strip__item--card {
    grid-column: span 2;
    margin-top: 1rem;
  }

  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-grid > .col-3 { grid-column: span 1; }
  .bento-grid > .col-4 { grid-column: span 1; }
  .bento-grid > .col-8 { grid-column: span 2; }
  .bento-grid > .col-12 { grid-column: span 2; }

  .split-grid { grid-template-columns: 1fr; gap: 3rem; }
  .features-grid .feature-card:nth-child(even) { transform: none; }

  .grid-reports { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --pad-x: 1rem;
    --pad-y: 3rem;
    --radius: 0.75rem;
    --radius-lg: 1rem;
  }

  .hero {
    min-height: auto;
    padding: 4rem 0 2rem;
  }
  .hero__title { font-size: clamp(1.75rem, 8vw, 2.5rem); }
  .hero__subtitle { font-size: 1rem; }
  .hero__cta { flex-direction: column; width: 100%; }
  .btn-cta-primary,
  .btn-cta-outline { width: 100%; }
  .btn-cta-primary__inner { width: 100%; }

  .stats-strip { padding: 2.5rem 0; }
  .stats-strip__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .stats-strip__value {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-grid > .col-3,
  .bento-grid > .col-4,
  .bento-grid > .col-8,
  .bento-grid > .col-12 { grid-column: span 1; }

  .section-title { font-size: clamp(1.5rem, 6vw, 2rem); }

  .grid-reports { grid-template-columns: 1fr; }

  .features-grid { grid-template-columns: 1fr; }
  .features-grid .feature-card:nth-child(even) { transform: none; }

  .split-grid { grid-template-columns: 1fr; gap: 2rem; }

  .footer-content { grid-template-columns: 1fr; text-align: center; }

  .cta-section { padding: 4rem 0; }
  .cta-section__title { font-size: clamp(1.75rem, 7vw, 2.5rem); }
}

@media (max-width: 480px) {
  :root { --pad-x: 0.75rem; --pad-y: 2rem; }
  .hero { padding: 3rem 0 1.5rem; }
  .hero__title { font-size: clamp(1.5rem, 10vw, 2rem); }
  .hero-badge-pill__text { display: none; }
  .stat-card__value { font-size: 2rem; }
  .stats-strip__grid { grid-template-columns: 1fr; }
  .stats-strip__item--card { grid-column: span 1; }
}
