/* ==========================================================================
   Spelling Bee in Nigeria - Definitive National Educational Hub
   Styles: Mobile-First Core Design System & Global Styles
   ========================================================================== */

:root {
  /* Brand Palette */
  --primary: #065f46;          /* Nigerian Deep Emerald */
  --primary-light: #047857;    /* Vibrant Forest Green */
  --primary-glow: #10b981;     /* Mint Accent */
  --primary-subtle: #ecfdf5;   /* Very light mint background */

  --secondary: #0f172a;        /* Deep Slate / Midnight Navy */
  --secondary-light: #1e293b;  /* Slate card background */
  --secondary-muted: #475569;  /* Muted body text */

  --accent-gold: #d97706;      /* Champion Trophy Gold */
  --accent-gold-light: #fef3c7;/* Subtle Gold Background */
  --accent-gold-glow: #fbbf24; /* Bright Medal Accent */

  --danger: #dc2626;
  --success: #16a34a;

  /* Neutrals */
  --bg-page: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Elevation Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-gold: 0 10px 25px -5px rgba(217, 119, 6, 0.25);

  /* Layout */
  --container-max: 1200px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Base & Reset (Mobile Default)
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--secondary);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

body.menu-open {
  overflow: hidden;
}

/* Typography (Mobile Default -> Enhanced with min-width) */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--secondary);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.65rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.15rem; }

p {
  margin-bottom: 1rem;
  color: var(--secondary-muted);
  font-size: 1rem;
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* ==========================================================================
   Header & Navigation (Mobile First)
   ========================================================================== */

/* Top Notice Bar */
.top-bar,
.top-notice-bar {
  background: #091a13;
  color: #d1fae5;
  padding: 0.5rem 0;
  font-size: 0.8rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(16, 185, 129, 0.2);
}

.top-bar-inner,
.top-notice-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.top-bar-notice {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.top-bar-notice strong {
  color: #ffffff;
}

.top-bar-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.top-bar-links a,
.top-notice-bar a {
  color: var(--accent-gold-glow);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.8rem;
}

.top-bar-links a:hover,
.top-notice-bar a:hover {
  text-decoration: underline;
}

.badge-official,
.badge-gold {
  background: rgba(217, 119, 6, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.3);
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  display: inline-block;
}

/* Site Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
  gap: 1rem;
}

/* Brand Logo (Header) */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  min-width: 0;
  flex-shrink: 0;
}

.brand-logo .logo-graphic {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-logo:hover .logo-graphic {
  transform: scale(1.05);
}

.brand-logo .logo-svg {
  width: 42px;
  height: 42px;
  display: block;
}

.brand-logo .logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  flex-shrink: 0;
}

.brand-logo .logo-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.12rem;
  color: var(--secondary);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-logo .logo-title .brand-accent {
  color: var(--primary);
}

.brand-logo .logo-subtitle {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  color: var(--secondary-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

/* Header Action & Mobile Toggle */
.header-actions,
.header-cta-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.header-cta-btn,
.header-verify-btn,
.header-register-btn {
  display: none; /* hidden on mobile to give full clean space to logo & hamburger */
}

.mobile-nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--secondary);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: var(--transition);
}

.mobile-nav-toggle:hover {
  background: var(--bg-subtle);
  border-color: var(--secondary);
}

/* Nav Menu (Mobile First Drawer) */
.nav-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 320px;
  height: 100vh;
  height: 100dvh;
  background: var(--bg-surface);
  display: flex;
  flex-direction: column;
  padding: 5.5rem 1.5rem 2rem;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.18);
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1050;
  gap: 0.35rem;
  overflow-y: auto;
  list-style: none;
  margin: 0;
}

.nav-menu.open {
  right: 0;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--secondary);
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-sm);
  display: block;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: var(--primary-subtle);
}

.mobile-only-link {
  display: block;
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-color);
}

.mobile-cta-btn {
  width: 100%;
  text-align: center;
  margin-top: 0.5rem;
}

/* Mobile Drawer Backdrop */
.mobile-nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-backdrop.open {
  opacity: 1;
  visibility: visible;
}

/* Buttons (Touch-friendly 44px+ height) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem 1.4rem;
  min-height: 44px;
  border-radius: var(--radius-full);
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
  text-decoration: none;
  touch-action: manipulation;
}

.btn-primary {
  background: var(--primary);
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(6, 95, 70, 0.25);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(6, 95, 70, 0.35);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--secondary) !important;
  border-color: var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--secondary);
  background: var(--bg-subtle);
  transform: translateY(-1px);
}

.btn-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #b45309 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(217, 119, 6, 0.4);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  min-height: 38px;
}

.btn-lg {
  padding: 0.85rem 1.6rem;
  font-size: 1rem;
  min-height: 48px;
}

/* ==========================================================================
   Hero Section (Mobile Default)
   ========================================================================== */
.hero {
  position: relative;
  padding: 2.75rem 0 2.5rem;
  background: radial-gradient(circle at 10% 20%, rgba(16, 185, 129, 0.08) 0%, rgba(248, 250, 252, 0) 50%),
              radial-gradient(circle at 90% 80%, rgba(217, 119, 6, 0.08) 0%, rgba(248, 250, 252, 0) 50%);
  border-bottom: 1px solid var(--border-color);
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-subtle);
  color: var(--primary);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  max-width: 100%;
}

.hero-title {
  margin-bottom: 1rem;
  color: var(--secondary);
}

.hero-title .highlight-green {
  color: var(--primary);
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--secondary-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  width: 100%;
}

.hero-actions .btn {
  width: 100%;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--secondary-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-top: 0.25rem;
}

/* Hero Visual Box */
.hero-visual-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.visual-badge-gold {
  position: absolute;
  top: -12px;
  right: 15px;
  background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
  color: #fff;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: var(--shadow-gold);
}

.card-honor-header {
  text-align: center;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.card-honor-header h3 {
  font-size: 1.25rem;
  color: var(--secondary);
}

.card-honor-header p {
  font-size: 0.85rem;
  margin-bottom: 0;
}

.honor-medals-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.honor-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--bg-subtle);
  padding: 0.85rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--accent-gold);
}

.honor-item.green-border {
  border-left-color: var(--primary);
}

.honor-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.honor-details h4 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.honor-details p {
  font-size: 0.82rem;
  margin-bottom: 0;
  line-height: 1.4;
}

.hero-visual-footer {
  text-align: center;
  background: var(--primary-subtle);
  border-radius: var(--radius-md);
  padding: 0.75rem;
  border: 1px dashed rgba(16, 185, 129, 0.4);
}

.hero-visual-footer a {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* ==========================================================================
   Trust Bar (Mobile Default)
   ========================================================================== */
.trust-bar {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  padding: 1.25rem 0;
}

.trust-bar-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}

.trust-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--secondary-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.trust-logos {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--secondary);
}

.trust-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

/* ==========================================================================
   Sections & Grids (Mobile Default: 1-Column)
   ========================================================================== */
.section {
  padding: 3.5rem 0;
  content-visibility: auto;
  contain-intrinsic-size: 1px 600px;
}

.hero-section,
.page-banner {
  content-visibility: visible !important;
}

.section-subtle {
  background: var(--bg-subtle);
}

.section-surface {
  background: var(--bg-surface);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 2.5rem;
}

.section-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(6, 95, 70, 0.08);
  color: var(--primary);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

.section-title {
  margin-bottom: 0.75rem;
}

.section-desc {
  font-size: 1rem;
  color: var(--secondary-muted);
  margin-bottom: 0;
}

/* Grid Layouts (Default Mobile: 1 Column) */
.grid-2,
.grid-3,
.grid-4,
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

/* Cards & Feature Cards */
.card,
.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.card:hover,
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(6, 95, 70, 0.3);
}

.feature-card.highlight {
  border-color: var(--accent-gold);
  box-shadow: 0 4px 20px rgba(217, 119, 6, 0.12);
}

.feature-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.feature-icon,
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-checklist {
  list-style: none;
  padding-left: 0;
  margin: 1rem 0;
  font-size: 0.92rem;
  color: var(--secondary);
}

.feature-checklist li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.65rem;
}

.feature-checklist li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

.card-icon.gold {
  background: var(--accent-gold-light);
  color: var(--accent-gold);
}

.card-icon.navy {
  background: #e2e8f0;
  color: var(--secondary);
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.card-link {
  font-weight: 700;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Responsive Table Wrapper */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  background: var(--bg-surface);
  margin: 1.5rem 0;
  box-shadow: var(--shadow-md);
}

.table-scroll-hint {
  font-size: 0.75rem;
  color: var(--secondary-muted);
  text-align: right;
  margin-bottom: 0.5rem;
  font-style: italic;
  display: block;
}

.comparison-table {
  width: 100%;
  min-width: 600px; /* Ensures readable horizontal scroll on mobile */
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.92rem;
}

.comparison-table th {
  background: var(--secondary);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.95rem;
}

.comparison-table th.highlight-col {
  background: var(--primary);
  color: #fff;
}

.comparison-table td.highlight-cell {
  background: rgba(236, 253, 245, 0.6);
  font-weight: 600;
  color: var(--primary);
  border-left: 2px solid var(--primary);
  border-right: 2px solid var(--primary);
}

.check-icon {
  color: var(--success);
  font-weight: 900;
  font-size: 1.1rem;
}

.cross-icon {
  color: var(--danger);
  font-weight: 900;
  font-size: 1.1rem;
}

/* Callout Box */
.callout-box {
  background: linear-gradient(135deg, rgba(6, 95, 70, 0.05) 0%, rgba(217, 119, 6, 0.05) 100%);
  border: 1px solid rgba(6, 95, 70, 0.2);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin: 2.5rem 0;
}

.callout-flex {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.callout-content h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  color: var(--secondary);
}

.callout-content p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.callout-flex .btn {
  width: 100%;
}

/* Outline button */
.btn-outline {
  background: transparent;
  color: var(--primary) !important;
  border: 1px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff !important;
}

/* ==========================================================================
   Article Layout with Sticky Sidebar
   ========================================================================== */
.article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.article-content {
  min-width: 0;
}

.article-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.65rem;
  color: var(--secondary);
  border-bottom: 2px solid var(--primary-subtle);
  padding-bottom: 0.5rem;
}

.article-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  color: var(--secondary);
}

.article-content p {
  margin-bottom: 1.25rem;
  line-height: 1.7;
  color: #334155;
  font-size: 1.02rem;
}

.article-content ul,
.article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  color: #334155;
  line-height: 1.7;
}

.article-content li {
  margin-bottom: 0.5rem;
}

/* Sidebar */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.sidebar-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--primary-subtle);
  color: var(--primary);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.sidebar-card h4 {
  font-size: 1.1rem;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.sidebar-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sidebar-list li {
  font-size: 0.92rem;
  line-height: 1.5;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.6rem;
}

.sidebar-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-list a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.sidebar-list a:hover {
  color: var(--primary-light);
  text-decoration: underline;
}

/* Category Cards Grid & Category Card */
.category-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

.category-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.category-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(6, 95, 70, 0.3);
}

.category-card.highlight {
  border-color: var(--accent-gold);
  box-shadow: 0 4px 20px rgba(217, 119, 6, 0.15);
}

.category-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.category-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--primary-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.category-card-icon.gold {
  background: var(--accent-gold-light);
}

.category-card-icon.navy {
  background: #e2e8f0;
}

.category-card-badge {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  display: inline-block;
}

.category-card-badge.green {
  background: var(--primary);
  color: #ffffff;
}

.category-card-badge.gold {
  background: var(--accent-gold);
  color: #ffffff;
}

.category-card-badge.navy {
  background: var(--secondary);
  color: #ffffff;
}

.category-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--secondary);
}

.category-card p {
  font-size: 0.92rem;
  color: var(--secondary-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.category-prize-box {
  background: var(--bg-subtle);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1.25rem;
}

.category-prize-title {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.category-prize-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--secondary);
}

.category-prize-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.35rem;
}

.category-prize-list li:last-child {
  margin-bottom: 0;
}

.category-prize-list li::before {
  content: "•";
  position: absolute;
  left: 0.3rem;
  color: var(--primary);
  font-weight: bold;
}

/* ==========================================================================
   Footer (Mobile Default)
   ========================================================================== */
.site-footer {
  background: #09130e;
  color: #94a3b8;
  padding: 4rem 0 2rem;
  border-top: 2px solid rgba(16, 185, 129, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  margin-bottom: 1.1rem;
}

.footer-logo .logo-svg {
  width: 40px;
  height: 40px;
  display: block;
}

.footer-logo .logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.footer-logo .logo-title {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.footer-logo .logo-title .brand-accent {
  color: #fbbf24;
}

.footer-logo .logo-subtitle {
  font-size: 0.65rem;
  color: #94a3b8;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-desc {
  font-size: 0.92rem;
  color: #94a3b8;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.footer-heading {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  letter-spacing: -0.01em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0;
  margin: 0;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.92rem;
  transition: var(--transition);
  display: inline-block;
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.social-links {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}

.social-icon:hover {
  background: var(--primary);
  border-color: var(--primary-glow);
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-bottom {
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
}

@media (min-width: 768px) {
  .footer-bottom-inner {
    flex-direction: row;
    text-align: left;
  }
}

.footer-bottom a {
  color: #94a3b8;
  text-decoration: underline;
}

.footer-bottom a:hover {
  color: #ffffff;
}

.footer-bottom {
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  font-size: 0.85rem;
  color: #64748b;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

.footer-bottom a {
  color: #94a3b8;
}

/* ==========================================================================
   Progressive Enhancement Breakpoints (Mobile First)
   ========================================================================== */

/* Small Tablets / Large Phones (640px and up) */
@media (min-width: 640px) {
  .top-notice-bar .container {
    flex-direction: row;
    justify-content: space-between;
  }

  .hero-stats-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-actions {
    flex-direction: row;
    width: auto;
  }

  .hero-actions .btn {
    width: auto;
  }

  .callout-flex {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .callout-flex .btn {
    width: auto;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* Medium Tablets (768px and up) */
@media (min-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.45rem; }

  .trust-bar-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .trust-logos {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem;
    width: auto;
  }

  .grid-2,
  .comparison-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
  }

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

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

  .table-scroll-hint {
    display: none;
  }
}

/* Desktop Screens (1024px and up) */
@media (min-width: 1024px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.35rem; }
  h3 { font-size: 1.6rem; }

  .site-header {
    height: 4.75rem;
  }

  .header-inner {
    height: 4.75rem;
  }

  .brand-logo .logo-svg {
    width: 44px;
    height: 44px;
  }

  .brand-logo .logo-title {
    font-size: 1.18rem;
  }

  .brand-logo .logo-subtitle {
    font-size: 0.68rem;
  }

  .header-cta-btn,
  .header-verify-btn,
  .header-register-btn {
    display: inline-flex;
  }

  .mobile-nav-toggle {
    display: none !important;
  }

  /* Desktop Menu Navigation */
  .nav-menu {
    position: static;
    width: auto;
    max-width: none;
    height: auto;
    background: transparent;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    box-shadow: none;
    gap: 0.55rem;
    overflow-y: visible;
  }

  .nav-link {
    font-size: 0.88rem;
    padding: 0.45rem 0.65rem;
    border-radius: var(--radius-sm);
    position: relative;
    white-space: nowrap;
  }

  .nav-link:hover,
  .nav-link.active {
    background: var(--primary-subtle);
    color: var(--primary);
  }

  .nav-link.active::after {
    display: none;
  }

  .mobile-only-link {
    display: none !important;
  }

  .mobile-nav-backdrop {
    display: none !important;
  }

  .hero {
    padding: 4.5rem 0 3.5rem;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: center;
  }

  .section {
    padding: 5rem 0;
  }

  .article-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
    gap: 3.5rem;
  }

  .article-sidebar {
    position: sticky;
    top: 6rem;
  }

  .grid-3,
  .category-cards-grid,
  .comparison-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

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

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 3rem;
  }
}

/* Large Screens (1280px and up) */
@media (min-width: 1280px) {
  h1 { font-size: 3.25rem; }
  h2 { font-size: 2.5rem; }
  
  .nav-menu {
    gap: 1.75rem;
  }
  
  .nav-link {
    font-size: 0.95rem;
  }
}
