/* VitaIQ | VitaLaw - Dark Theme */

:root {
  /* Color Palette - Dark Theme */
  --bg-primary: #0a0f1a;        /* Deeper slate */
  --bg-secondary: #121826;      /* Dark slate */
  --bg-tertiary: #1e293b;       /* Medium slate */
  --bg-elevated: #121826;

  --surface-glass: rgba(30, 41, 59, 0.6);
  --surface-glow: rgba(99, 102, 241, 0.05);

  --text-primary: #f8fafc;      /* Almost white */
  --text-secondary: #cbd5e1;    /* Light gray */
  --text-tertiary: #94a3b8;     /* Medium gray */
  --text-muted: #64748b;        /* Muted gray */

  --accent-primary: #6366f1;    /* Indigo */
  --accent-secondary: #818cf8;  /* Light indigo */
  --accent-glow: rgba(99, 102, 241, 0.2);

  --border-subtle: #334155;
  --border-medium: #475569;
  --border-glow: rgba(99, 102, 241, 0.3);

  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Animations */
  --transition-fast: 150ms ease-out;
  --transition-normal: 200ms ease-out;
  --transition-slow: 300ms ease-out;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.3);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(99, 102, 241, 0.5);
}

/* Header / Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

nav {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}

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

.logo .divider {
  color: var(--text-tertiary);
  font-weight: 400;
  margin: 0 0.5rem;
}

.logo .product {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 1rem;
}

nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-normal);
  font-size: 0.95rem;
  font-weight: 500;
}

nav a:hover {
  color: var(--accent-secondary);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 8rem 2rem 6rem;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  height: 100%;
  background: radial-gradient(ellipse at top, var(--accent-glow), transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: var(--surface-glow);
  border: 1px solid var(--border-glow);
  border-radius: 999px;
  font-size: 0.875rem;
  color: var(--accent-secondary);
  font-weight: 600;
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero h1 .accent {
  color: var(--accent-secondary);
  -webkit-text-fill-color: var(--accent-secondary);
}

.hero .subtitle {
  font-size: 1.5rem;
  color: var(--text-tertiary);
  margin-bottom: 1rem;
  font-weight: 500;
}

.hero p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

/* Dramatic Stats Counter */
.stats-counter {
  position: relative;
  padding: 4rem 2rem;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.stats-counter::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, var(--accent-glow), transparent 70%);
  pointer-events: none;
}

.stats-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.stats-label {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  font-weight: 600;
}

.stats-number {
  font-size: 5rem;
  font-weight: 900;
  color: var(--danger);
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
  text-shadow: 0 0 40px rgba(239, 68, 68, 0.3);
  font-variant-numeric: tabular-nums;
}

.stats-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.stats-meta {
  display: flex;
  gap: 3rem;
  justify-content: center;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  display: block;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition-normal);
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent-primary);
  color: white;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  background: var(--accent-secondary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
}

.btn-secondary:hover {
  background: var(--bg-tertiary);
  border-color: var(--border-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--accent-secondary);
  border: 1px solid var(--border-glow);
}

.btn-ghost:hover {
  background: var(--surface-glow);
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

/* Section Styling */
section {
  position: relative;
}

section h2 {
  font-size: 2.75rem;
  margin-bottom: 1rem;
  text-align: center;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

section .section-subtitle {
  text-align: center;
  color: var(--text-tertiary);
  max-width: 700px;
  margin: 0 auto 4rem;
  font-size: 1.125rem;
}

/* Industry Grid */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1200px) {
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .industry-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .modal-overlay {
    padding: 1rem;
  }

  .modal-window {
    max-width: 100%;
    max-height: 95vh;
    margin: 0;
  }

  .modal-header {
    padding: 1.5rem;
  }

  .modal-content {
    padding: 1.5rem;
    max-height: calc(95vh - 80px);
  }

  .modal-title h3 {
    font-size: 1.25rem;
  }

  .stats-number {
    font-size: 2.5rem !important;
  }

  h2 {
    font-size: 1.75rem;
  }
}

.industry-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 240px;
}

.industry-card.expandable {
  cursor: pointer;
  transition: all var(--transition-normal);
}

.industry-card.expandable:active {
  transform: scale(0.98);
}

.industry-card.expandable h3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.expand-indicator {
  font-size: 1.25rem;
  font-weight: 300;
  transition: transform var(--transition-normal);
  color: var(--accent-secondary);
}

.industry-details {
  display: none;
}

/* Modal System */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(3px);
  z-index: 1000;
  animation: fadeIn 0.3s ease-out;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow-y: auto;
}

.modal-overlay.active {
  display: flex;
}

.modal-window {
  background: var(--bg-primary);
  border: 1px solid var(--border-glow);
  border-radius: 20px;
  max-width: 850px;
  max-height: 85vh;
  width: 100%;
  overflow: hidden;
  position: relative;
  animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 100px rgba(99, 102, 241, 0.1);
}

.modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-secondary);
}

.modal-title {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.modal-title .industry-icon {
  font-size: 2rem;
}

.modal-title h3 {
  font-size: 1.75rem;
  color: var(--text-primary);
  margin: 0;
}

.modal-close {
  background: transparent;
  border: 1px solid var(--border-medium);
  color: var(--text-secondary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  font-size: 1.5rem;
}

.modal-close:hover {
  background: var(--bg-tertiary);
  border-color: var(--border-glow);
  color: var(--text-primary);
  transform: rotate(90deg);
}

.modal-content {
  padding: 1.75rem 2rem;
  overflow-y: auto;
  max-height: calc(85vh - 90px);
}

.modal-content::-webkit-scrollbar {
  width: 6px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: var(--accent-primary);
  border-radius: 3px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.industry-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--danger), var(--warning));
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.industry-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.industry-card:hover::before {
  opacity: 1;
}

.industry-icon {
  width: 56px;
  height: 56px;
  background: var(--surface-glow);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.75rem;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1);
}

.industry-card h3 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.4;
}

.industry-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: auto;
  flex-grow: 1;
}

.industry-stat {
  display: block;
  padding: 0.75rem 0;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  color: var(--accent-primary);
  font-size: 1.125rem;
  font-weight: 700;
  text-align: left;
}

/* Image Placeholder */
.image-placeholder {
  width: 100%;
  height: 400px;
  background: var(--bg-secondary);
  border: 2px dashed var(--border-medium);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 2rem 0;
}

.image-placeholder-sm {
  height: 250px;
}

.image-placeholder-lg {
  height: 600px;
}

.placeholder-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

/* Video Placeholder */
.video-placeholder {
  aspect-ratio: 16 / 9;
  background: var(--bg-secondary);
  border: 2px dashed var(--border-medium);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  position: relative;
  overflow: hidden;
}

.video-placeholder::before {
  content: '▶';
  font-size: 4rem;
  color: var(--accent-secondary);
  opacity: 0.3;
  margin-bottom: 1rem;
}

.video-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* VitaIQ Presents - Luxurious Section */
.presents-section {
  position: relative;
  padding: 6rem 2rem;
  background: linear-gradient(180deg, var(--bg-primary) 0%, #000000 100%);
  overflow: hidden;
}

.presents-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.presents-badge {
  text-align: center;
  font-size: 0.875rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-weight: 600;
}

.presents-title {
  text-align: center;
  margin-bottom: 1rem;
}

.presents-title h2 {
  font-size: 4rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  letter-spacing: -0.04em;
}

.presents-title .product-name {
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.tuxedo-divider {
  width: 200px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--text-primary), transparent);
  margin: 2rem auto;
  position: relative;
}

.tuxedo-divider::before,
.tuxedo-divider::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--text-primary);
  border-radius: 50%;
  top: -3px;
}

.tuxedo-divider::before {
  left: 0;
}

.tuxedo-divider::after {
  right: 0;
}

.presents-description {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.demo-video-container {
  max-width: 1000px;
  margin: 3rem auto 0;
  position: relative;
}

.demo-video-frame {
  position: relative;
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-secondary);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transition: all var(--transition-slow);
}

.demo-video-frame:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 100px rgba(99, 102, 241, 0.2);
}

/* FAQ Section */
.faq-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
}

.faq-placeholder {
  text-align: center;
  padding: 4rem 2rem;
  border: 2px dashed var(--border-medium);
  border-radius: 16px;
  color: var(--text-tertiary);
}

.faq-placeholder h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

/* Footer */
footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 2rem 1.5rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section a {
  color: var(--text-tertiary);
  text-decoration: none;
  display: block;
  padding: 0.4rem 0;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-section a:hover {
  color: var(--accent-secondary);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-bottom p {
  margin: 0.5rem 0;
}

/* Legal Disclaimer */
/* Legal Pages Styling */
.legal {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}

.legal h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.legal .updated {
  color: var(--text-tertiary);
  font-size: 0.9rem;
  margin-bottom: 3rem;
  font-weight: 500;
}

.legal h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-top: 3rem;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.legal p {
  margin-bottom: 1.5rem;
  margin-top: 0;
  line-height: 1.8;
  color: var(--text-secondary);
  font-size: 1rem;
}

.legal p + p {
  margin-top: 1.5rem;
}

.legal ul {
  margin-bottom: 2rem;
  margin-top: 1rem;
  padding-left: 2rem;
  list-style-type: disc;
}

.legal ul li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
  color: var(--text-secondary);
  display: list-item;
}

.legal h2 + p {
  margin-top: 1.5rem;
}

.legal ul + p {
  margin-top: 2rem;
}

.legal a {
  color: var(--accent-primary);
  text-decoration: underline;
  transition: color 0.2s;
}

.legal a:hover {
  color: var(--accent-secondary);
}

.legal strong {
  color: var(--text-primary);
  font-weight: 600;
}

.legal-disclaimer {
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 3rem 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.legal-disclaimer strong {
  color: var(--danger);
  font-weight: 700;
}

/* Responsive */
@media (max-width: 768px) {
  nav ul {
    gap: 1rem;
    font-size: 0.85rem;
  }

  .hero {
    padding: 4rem 1.5rem 3rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero .subtitle {
    font-size: 1.125rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .stats-number {
    font-size: 3rem;
  }

  /* Legal pages responsive */
  .legal {
    padding: 2rem 1.5rem 3rem;
  }

  .legal h1 {
    font-size: 2rem;
  }

  .legal h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
  }

  .legal ul {
    padding-left: 1.5rem;
  }

  .stats-meta {
    gap: 2rem;
  }

  .stat-value {
    font-size: 1.5rem;
  }

  section h2 {
    font-size: 2rem;
  }

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

  .container {
    padding: 3rem 1.5rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes countUp {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes glow {
  0%, 100% {
    text-shadow: 0 0 20px rgba(239, 68, 68, 0.2);
  }
  50% {
    text-shadow: 0 0 40px rgba(239, 68, 68, 0.4);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

.animate-glow {
  animation: glow 2s ease-in-out infinite;
}

/* Skip to main content - Accessibility */
.skip-to-main {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent-primary);
  color: white;
  padding: 0.5rem 1rem;
  text-decoration: none;
  z-index: 1000;
}

.skip-to-main:focus {
  top: 0;
}

/* Features Grid (used in contact.html FAQ section) */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.feature {
  background: var(--bg-secondary);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.feature:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.feature h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-weight: 700;
}

.feature p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

.feature a {
  color: var(--accent-primary);
  text-decoration: underline;
  transition: color 0.2s;
}

.feature a:hover {
  color: var(--accent-secondary);
}

/* Responsive - Key Insights Grid */
@media (max-width: 1024px) {
  /* Key Insights: 2 columns on tablets */
  #overview > div[style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 640px) {
  /* Key Insights: 1 column on mobile */
  #overview > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

  /* Navigation mobile fix */
  nav ul {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  nav ul li a {
    font-size: 0.8rem;
  }
}
