
/* ═══════════════════════════════════════════════════════════════════════════
   CRITICAL FIX - Add at the very top of style.css
   ═══════════════════════════════════════════════════════════════════════════ */

/* Force proper sizing on all devices */
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

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

/* Prevent content from being too wide */
body {
  max-width: 100vw;
  overflow-x: hidden;
}

/* Force images to be responsive */
img {
  max-width: 100%;
  height: auto;
}
/* ─────────────────────────────────────────────────────────────────
   CSS Reset
   ───────────────────────────────────────────────────────────────── */

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

/* ─────────────────────────────────────────────────────────────────
   CSS Variables
   ───────────────────────────────────────────────────────────────── */

:root {
  /* Primary Palette */
  --color-primary: #1e3a5f;
  --color-primary-light: #2d5a87;
  --color-primary-muted: #4a6fa5;
  
  /* Accent Colors for Gradients */
  --color-accent-blue: #3b82f6;
  --color-accent-cyan: #0ea5e9;
  --color-accent-teal: #14b8a6;
  
  /* Text Hierarchy */
  --color-text: #1a2332;
  --color-text-secondary: #4a5568;
  --color-text-muted: #718096;
  --color-text-light: #a0aec0;
  
  /* Surfaces */
  --color-background: #fafbfc;
  --color-surface: #ffffff;
  --color-surface-elevated: #ffffff;
  --color-surface-muted: #f4f6f8;
  
  /* Borders & Dividers */
  --color-border: #e1e5eb;
  --color-border-light: #edf0f4;
  --color-divider: #d8dee6;
  
  /* Status Colors */
  --color-success: #2d8a5f;
  --color-error: #c53030;
  --color-warning: #b7791f;
  --color-info: #2b6cb0;
  
  /* Typography */
  --font-serif: 'Times New Roman', Times, Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  --font-display: 'Times New Roman', Times, serif;
  
  /* Spacing Scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  
  /* Layout */
  --max-width: 1240px;
  --radius-sm: 3px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 2px 4px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 8px 24px rgba(0, 0, 0, 0.08), 0 4px 8px rgba(0, 0, 0, 0.04);
  --shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-glow: 0 0 20px rgba(30, 58, 95, 0.15);
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow: 0.4s ease;
}

/* ─────────────────────────────────────────────────────────────────
   Animations
   ───────────────────────────────────────────────────────────────── */

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

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

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ─────────────────────────────────────────────────────────────────
   Base Typography
   ───────────────────────────────────────────────────────────────── */

body {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-text);
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;
}

h1 { font-size: 1.875rem; font-weight: 700; }
h2 { 
  font-size: 1.375rem; 
  margin-top: var(--space-xl);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-border-light);
}
h3 { 
  font-size: 1.125rem; 
  margin-top: var(--space-lg);
  color: var(--color-text-secondary);
}
h4 {
  font-size: 1rem;
  font-family: var(--font-sans);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: var(--color-text-muted);
}

p {
  margin-bottom: var(--space-md);
  color: var(--color-text-secondary);
}

a {
  color: var(--color-primary-light);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all var(--transition-fast);
}

a:hover {
  border-bottom-color: var(--color-primary-light);
  text-decoration: none;
}

/* ─────────────────────────────────────────────────────────────────
   Layout
   ───────────────────────────────────────────────────────────────── */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ─────────────────────────────────────────────────────────────────
   Header & Navigation
   ───────────────────────────────────────────────────────────────── */

.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-md) 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
  animation: fadeInDown 0.5s ease;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
  transition: transform var(--transition-fast);
}

.nav-brand:hover {
  border-bottom: none;
  transform: scale(1.02);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: var(--space-xs);
}

.nav-links li {
  animation: fadeIn 0.5s ease backwards;
}

.nav-links li:nth-child(1) { animation-delay: 0.1s; }
.nav-links li:nth-child(2) { animation-delay: 0.2s; }
.nav-links li:nth-child(3) { animation-delay: 0.3s; }
.nav-links li:nth-child(4) { animation-delay: 0.4s; }

.nav-links a {
  display: block;
  padding: var(--space-sm) var(--space-md);
  color: var(--color-text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  border-bottom: none;
  transition: all var(--transition-fast);
  position: relative;
}

.nav-links a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: all var(--transition-normal);
  transform: translateX(-50%);
}

.nav-links a:hover {
  color: var(--color-primary);
  background-color: var(--color-surface-muted);
}

.nav-links a:hover::before {
  width: 80%;
}

.nav-links a.active {
  color: var(--color-primary);
  background-color: rgba(30, 58, 95, 0.08);
}

.nav-links a.active::before {
  width: 80%;
}

/* ─────────────────────────────────────────────────────────────────
   Main Content & Footer
   ───────────────────────────────────────────────────────────────── */

.main {
  min-height: calc(100vh - 140px);
  padding: var(--space-xl) 0 var(--space-2xl);
}

.footer {
  background: var(--color-surface-muted);
  border-top: 1px solid var(--color-border);
  padding: var(--space-lg) 0;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.8125rem;
  animation: fadeIn 0.5s ease;
}

.footer a {
  transition: color var(--transition-fast);
}

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

/* ─────────────────────────────────────────────────────────────────
   HERO SECTION
   ───────────────────────────────────────────────────────────────── */

.hero-section {
  text-align: center;
  padding: var(--space-lg) var(--space-md) var(--space-xl);
  background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-background) 100%);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(30, 58, 95, 0.03) 0%, transparent 50%),
                    radial-gradient(circle at 80% 50%, rgba(30, 58, 95, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.logo-title-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  position: relative;
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.logo-svg {
  width: 65px;
  height: 65px;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(14, 165, 233, 0.2));
}

/* ─────────────────────────────────────────────────────────────────
   HERO TITLE - Gradient Letters (FIXED)
   ───────────────────────────────────────────────────────────────── */

.hero-title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-sm);
  line-height: 1.4;
  animation: fadeInUp 0.8s ease 0.2s backwards;
  position: relative;
  z-index: 1;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

/* Large Letters (G, O, D, M, B, C) */
.hero-title .letter-large {
  font-size: 2.2rem;
  font-weight: 700;
  font-family: var(--font-display);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  display: inline;
}

/* Small Letter (guided) */
.hero-title .letter-small {
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--font-display);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}

/* Regular word text */
.hero-title .text-word {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  -webkit-text-fill-color: var(--color-text-secondary);
  font-weight: 400;
}

/* ═══════════════════════════════════════════════════════════════
   GRADIENT COLORS FOR EACH LETTER - THIS IS THE MISSING PART!
   ═══════════════════════════════════════════════════════════════ */

.letter-g {
  background: linear-gradient(135deg, #1e3a5f, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.letter-o {
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.letter-guided {
  background: linear-gradient(135deg, #0ea5e9, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.letter-d {
  background: linear-gradient(135deg, #0ea5e9, #14b8a6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.letter-m {
  background: linear-gradient(135deg, #14b8a6, #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.letter-b {
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.letter-c {
  background: linear-gradient(135deg, #6366f1, #1e3a5f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero Subtitle */
.hero-subtitle {
  max-width: 600px;
  margin: 0 auto;
  color: #3f3f3f;
  font-size: 0.9rem;
  line-height: 1.6;
  padding: 0 var(--space-md);
  animation: fadeInUp 0.8s ease 0.4s backwards;
}

/* ─────────────────────────────────────────────────────────────────
   Architecture Section
   ───────────────────────────────────────────────────────────────── */

.architecture-section {
  padding: var(--space-lg) var(--space-md);
  max-width: 900px;
  margin: 0 auto;
  animation: fadeInUp 0.6s ease backwards;
}

.architecture-section h2 {
  text-align: center;
  margin-bottom: var(--space-md);
  color: var(--color-text);
  border-bottom: none;
  padding-bottom: 0;
  position: relative;
  font-size: 1.25rem;
}

.architecture-section h2::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
  border-radius: 2px;
}

.architecture-container {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  border: 1px solid var(--color-border);
  text-align: center;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: all var(--transition-normal);
  position: relative;
}

.architecture-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light), var(--color-primary-muted));
}

.architecture-container:hover {
  box-shadow: var(--shadow-lg);
}

.architecture-img {
  max-height: 250px;
  width: auto;
  max-width: 100%;
  display: inline-block;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

/* ─────────────────────────────────────────────────────────────────
   Overview Section
   ───────────────────────────────────────────────────────────────── */

.overview-section {
  padding: var(--space-xl) var(--space-md);
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  animation: fadeInUp 0.6s ease 0.1s backwards;
}

.overview-section h2 {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: var(--space-md);
  position: relative;
}

.overview-section h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
  border-radius: 2px;
}

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

/* ─────────────────────────────────────────────────────────────────
   Cancer Types Section
   ───────────────────────────────────────────────────────────────── */

.cancer-types-section {
  padding: var(--space-xl) var(--space-md);
  max-width: 1000px;
  margin: 0 auto;
}

.cancer-types-section h2 {
  text-align: center;
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: var(--space-xl);
  position: relative;
}

.cancer-types-section h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
  border-radius: 2px;
}

.cancer-card {
  background: var(--color-surface);
  padding: var(--space-xl) var(--space-lg);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.5s ease backwards;
}

.cancer-card:nth-child(1) { animation-delay: 0.1s; }
.cancer-card:nth-child(2) { animation-delay: 0.2s; }
.cancer-card:nth-child(3) { animation-delay: 0.3s; }

.cancer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
  transform: scaleX(0);
  transition: transform var(--transition-normal);
}

.cancer-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-muted);
}

.cancer-card:hover::before {
  transform: scaleX(1);
}

.cancer-card h3 {
  margin: 0 0 var(--space-sm);
  color: var(--color-primary);
  font-size: 1.25rem;
  font-family: var(--font-serif);
  transition: color var(--transition-fast);
}

.cancer-card:hover h3 {
  color: var(--color-primary-light);
}

.cancer-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* ─────────────────────────────────────────────────────────────────
   Pipeline Section
   ───────────────────────────────────────────────────────────────── */

.pipeline-section {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-xl) var(--space-md);
}

.pipeline-section h2 {
  text-align: center;
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: var(--space-xl);
  position: relative;
}

.pipeline-section h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
  border-radius: 2px;
}

.pipeline-list {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
  position: relative;
}

.pipeline-list::before {
  content: '';
  position: absolute;
  left: 1.125rem;
  top: 2.25rem;
  bottom: 2.25rem;
  width: 2px;
  background: linear-gradient(180deg, var(--color-primary), var(--color-primary-light), var(--color-primary-muted));
  border-radius: 1px;
}

.pipeline-list li {
  position: relative;
  padding-left: 4rem;
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border-light);
  animation: slideInLeft 0.5s ease backwards;
  transition: all var(--transition-fast);
}

.pipeline-list li:nth-child(1) { animation-delay: 0.1s; }
.pipeline-list li:nth-child(2) { animation-delay: 0.2s; }
.pipeline-list li:nth-child(3) { animation-delay: 0.3s; }
.pipeline-list li:nth-child(4) { animation-delay: 0.4s; }
.pipeline-list li:nth-child(5) { animation-delay: 0.5s; }
.pipeline-list li:nth-child(6) { animation-delay: 0.6s; }

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

.pipeline-list li:hover {
  padding-left: 4.5rem;
}

.pipeline-list li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.25rem;
  height: 2.25rem;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
  font-family: var(--font-mono);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  z-index: 1;
}

.pipeline-list li:hover::before {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.pipeline-list li strong {
  color: var(--color-primary);
  font-weight: 600;
}

/* ─────────────────────────────────────────────────────────────────
   Visitor Map Section (COMPACT)
   ───────────────────────────────────────────────────────────────── */

.visitor-map-section {
  padding: var(--space-lg) var(--space-md);
  max-width: 600px;  /* Reduced from 900px */
  margin: 0 auto;
}

.visitor-map-section h2 {
  text-align: center;
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: var(--space-md);
  font-size: 1.1rem;  /* Smaller heading */
  position: relative;
}

.visitor-map-section h2::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
  border-radius: 2px;
}

.visitor-map-container {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.visitor-map-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-info), var(--color-primary), var(--color-success));
}

.visitor-map-container:hover {
  box-shadow: var(--shadow-md);
}

.visitor-map-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 150px;  /* Fixed minimum height */
  max-height: 200px;  /* Maximum height constraint */
  overflow: hidden;
}

/* Control the globe/map size directly */
.visitor-map-wrapper iframe,
.visitor-map-wrapper canvas,
.visitor-map-wrapper img,
.visitor-map-wrapper > script + * {
  max-width: 180px !important;
  max-height: 180px !important;
  width: 180px !important;
  height: 180px !important;
}

/* For ClustrMaps globe specifically */
.visitor-map-wrapper #clstr_globe,
.visitor-map-wrapper #clustrmaps-globe {
  transform: scale(0.6);  /* Scale down the globe */
  transform-origin: center center;
}

.map-note {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: var(--space-sm);
  font-style: italic;
}

/* ─────────────────────────────────────────────────────────────────
   Visitor Map Responsive
   ───────────────────────────────────────────────────────────────── */

/* Laptop */
@media (max-width: 1199px) and (min-width: 769px) {
  .visitor-map-section {
    max-width: 500px;
    padding: var(--space-md);
  }
  
  .visitor-map-wrapper {
    min-height: 130px;
    max-height: 170px;
  }
  
  .visitor-map-wrapper iframe,
  .visitor-map-wrapper canvas,
  .visitor-map-wrapper img {
    max-width: 150px !important;
    max-height: 150px !important;
    width: 150px !important;
    height: 150px !important;
  }
  
  .visitor-map-wrapper #clstr_globe {
    transform: scale(0.5);
  }
}

/* Tablet */
@media (max-width: 768px) {
  .visitor-map-section {
    max-width: 400px;
    padding: var(--space-md) var(--space-sm);
  }
  
  .visitor-map-section h2 {
    font-size: 1rem;
  }
  
  .visitor-map-container {
    padding: var(--space-sm);
  }
  
  .visitor-map-wrapper {
    min-height: 120px;
    max-height: 150px;
  }
  
  .visitor-map-wrapper iframe,
  .visitor-map-wrapper canvas,
  .visitor-map-wrapper img {
    max-width: 130px !important;
    max-height: 130px !important;
    width: 130px !important;
    height: 130px !important;
  }
  
  .visitor-map-wrapper #clstr_globe {
    transform: scale(0.45);
  }
  
  .map-note {
    font-size: 0.7rem;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .visitor-map-section {
    max-width: 100%;
    padding: var(--space-sm);
  }
  
  .visitor-map-section h2 {
    font-size: 0.95rem;
    margin-bottom: var(--space-sm);
  }
  
  .visitor-map-container {
    padding: var(--space-sm);
  }
  
  .visitor-map-wrapper {
    min-height: 100px;
    max-height: 130px;
  }
  
  .visitor-map-wrapper iframe,
  .visitor-map-wrapper canvas,
  .visitor-map-wrapper img {
    max-width: 110px !important;
    max-height: 110px !important;
    width: 110px !important;
    height: 110px !important;
  }
  
  .visitor-map-wrapper #clstr_globe {
    transform: scale(0.4);
  }
  
  .map-note {
    font-size: 0.65rem;
    margin-top: var(--space-xs);
  }
}

/* Extra Small */
@media (max-width: 360px) {
  .visitor-map-wrapper {
    min-height: 90px;
    max-height: 110px;
  }
  
  .visitor-map-wrapper iframe,
  .visitor-map-wrapper canvas,
  .visitor-map-wrapper img {
    max-width: 90px !important;
    max-height: 90px !important;
    width: 90px !important;
    height: 90px !important;
  }
  
  .visitor-map-wrapper #clstr_globe {
    transform: scale(0.35);
  }
}
/* ─────────────────────────────────────────────────────────────────
   Actions Section
   ───────────────────────────────────────────────────────────────── */

.actions-section {
  text-align: center;
  padding: var(--space-xl) var(--space-md) var(--space-3xl);
  animation: fadeInUp 0.6s ease 0.3s backwards;
}

.actions-section .actions {
  justify-content: center;
  margin-top: 0;
}

.section {
  margin-bottom: var(--space-xl);
}

/* ─────────────────────────────────────────────────────────────────
   Cards & Grid Layouts
   ───────────────────────────────────────────────────────────────── */

.card-grid,
.stats-grid,
.download-grid,
.figure-grid {
  display: grid;
  gap: var(--space-lg);
  margin-top: var(--space-md);
}

.card-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.stats-grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.download-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.figure-grid { grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); }

.card,
.stat-card,
.form-section,
.figure-card,
.figure-container,
.pathway-card,
.toc {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.card:hover,
.stat-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary-muted);
}

.card h3,
.figure-card h4,
.pathway-card h4 {
  margin-top: 0;
  margin-bottom: var(--space-sm);
  color: var(--color-primary);
  font-size: 1.0625rem;
  border-bottom: none;
  padding-bottom: 0;
}

.card p:last-child {
  margin-bottom: 0;
}

/* Statistics Cards */
.stat-card {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
}

.stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--color-primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ─────────────────────────────────────────────────────────────────
   Buttons
   ───────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: var(--font-sans);
  text-align: center;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
  line-height: 1.4;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  text-decoration: none;
  border-bottom: none;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--color-surface);
  color: var(--color-primary);
  border-color: var(--color-border);
}

.btn-secondary:hover {
  background: var(--color-surface-muted);
  border-color: var(--color-primary-muted);
  transform: translateY(-2px);
}

.btn-hero-primary {
  padding: 0.875rem 2.5rem;
  font-size: 1rem;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  box-shadow: var(--shadow-md);
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.btn-hero-secondary {
  padding: 0.875rem 2.5rem;
  font-size: 1rem;
  border-radius: 50px;
}

.btn-hero-secondary:hover {
  border-color: var(--color-primary);
}

.actions {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-xl);
  flex-wrap: wrap;
}

/* ─────────────────────────────────────────────────────────────────
   Forms
   ───────────────────────────────────────────────────────────────── */

.form-section h2 {
  margin-top: 0;
  padding-bottom: var(--space-md);
  margin-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border-light);
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-sm);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-size: 0.9375rem;
  font-family: var(--font-sans);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  box-shadow: var(--shadow-inset);
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary-muted);
  box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-light);
}

.form-group textarea {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.form-group small {
  display: block;
  margin-top: var(--space-sm);
  color: var(--color-text-muted);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-md);
}

.radio-group {
  display: flex;
  gap: var(--space-lg);
  padding-top: var(--space-xs);
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 400;
  cursor: pointer;
  margin-bottom: 0;
  transition: color var(--transition-fast);
}

.radio-group label:hover {
  color: var(--color-primary);
}

.form-actions {
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border-light);
}

/* ─────────────────────────────────────────────────────────────────
   Progress Indicator
   ───────────────────────────────────────────────────────────────── */

.progress-bar {
  width: 100%;
  height: 6px;
  background: var(--color-surface-muted);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: var(--space-md);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
  width: 0;
  transition: width 0.3s ease;
  border-radius: 3px;
  position: relative;
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 2s infinite;
  background-size: 200% 100%;
}

#progress-text {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.8125rem;
  font-family: var(--font-mono);
}

/* ─────────────────────────────────────────────────────────────────
   Alerts
   ───────────────────────────────────────────────────────────────── */

.alert {
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  font-size: 0.875rem;
  line-height: 1.6;
  border-left: 4px solid;
  animation: slideInRight 0.3s ease;
}

.alert-success {
  background: #f0fdf4;
  color: #166534;
  border-left-color: var(--color-success);
}

.alert-error {
  background: #fef2f2;
  color: #991b1b;
  border-left-color: var(--color-error);
}

.alert-warning {
  background: #fffbeb;
  color: #92400e;
  border-left-color: var(--color-warning);
}

.alert-info {
  background: #eff6ff;
  color: #1e40af;
  border-left-color: var(--color-info);
}

/* ─────────────────────────────────────────────────────────────────
   Data Tables
   ───────────────────────────────────────────────────────────────── */

.table-container {
  overflow-x: auto;
  margin-top: var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.data-table th,
.data-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border-light);
}

.data-table th {
  background: var(--color-surface-muted);
  font-weight: 600;
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  position: sticky;
  top: 0;
  white-space: nowrap;
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

.data-table tbody tr {
  transition: background-color var(--transition-fast);
}

.data-table tbody tr:hover {
  background: var(--color-surface-muted);
}

.data-table td {
  color: var(--color-text-secondary);
  font-family: var(--font-mono);
  font-size: 0.8125rem;
}

.data-table .genes-cell {
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-mono);
}

.table-note {
  margin-top: var(--space-sm);
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  font-style: italic;
}

.format-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-sm) 0 var(--space-md);
  font-size: 0.875rem;
}

.format-table th,
.format-table td {
  padding: var(--space-sm) var(--space-md);
  text-align: left;
  border: 1px solid var(--color-border);
}

.format-table th {
  background: var(--color-surface-muted);
  font-weight: 600;
  font-size: 0.8125rem;
}

/* ─────────────────────────────────────────────────────────────────
   Figures & Visualizations
   ───────────────────────────────────────────────────────────────── */

.figure-container {
  text-align: center;
  padding: var(--space-lg);
}

.figure-container img,
.figure-card img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  transition: transform var(--transition-normal);
}

.figure-container:hover img,
.figure-card:hover img {
  transform: scale(1.02);
}

.figure-card h4 {
  font-family: var(--font-sans);
  text-transform: none;
  letter-spacing: normal;
}

.network-figure {
  max-height: 600px;
  object-fit: contain;
}

.pathway-image {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
}

.pathway-link {
  display: inline-block;
  margin-top: var(--space-sm);
  font-size: 0.8125rem;
}

/* ─────────────────────────────────────────────────────────────────
   Table of Contents
   ───────────────────────────────────────────────────────────────── */

.toc {
  padding: var(--space-lg);
}

.toc h2 {
  margin-top: 0;
  margin-bottom: var(--space-md);
  font-size: 1rem;
  border-bottom: none;
  padding-bottom: 0;
}

.toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.toc li {
  margin-bottom: var(--space-sm);
  padding-left: var(--space-md);
  border-left: 2px solid var(--color-border-light);
  transition: all var(--transition-fast);
}

.toc li:hover {
  border-left-color: var(--color-primary);
  padding-left: calc(var(--space-md) + 4px);
}

.toc a {
  font-size: 0.875rem;
}

/* ─────────────────────────────────────────────────────────────────
   Tabs
   ───────────────────────────────────────────────────────────────── */

.tabs {
  display: flex;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--space-lg);
  gap: var(--space-xs);
}

.tab-btn {
  padding: var(--space-sm) var(--space-lg);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: var(--font-sans);
  color: var(--color-text-muted);
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  color: var(--color-primary);
}

.tab-btn.active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.tab-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-content.active {
  display: block;
}

/* ─────────────────────────────────────────────────────────────────
   Code & Citations
   ───────────────────────────────────────────────────────────────── */

pre {
  background: var(--color-surface-muted);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

code {
  font-family: var(--font-mono);
  font-size: 0.875em;
  background: var(--color-surface-muted);
  padding: 0.125rem 0.375rem;
  border-radius: var(--radius-sm);
  color: var(--color-primary);
}

pre code {
  background: none;
  padding: 0;
  color: inherit;
}

.citation {
  background: var(--color-surface-muted);
  padding: var(--space-lg);
  font-size: 0.8125rem;
  white-space: pre-wrap;
  font-family: var(--font-mono);
  line-height: 1.7;
  border-left: 3px solid var(--color-primary);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* ─────────────────────────────────────────────────────────────────
   Contact Layout
   ───────────────────────────────────────────────────────────────── */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

.contact-form .form-group {
  margin-bottom: var(--space-lg);
}

/* ─────────────────────────────────────────────────────────────────
   Badges
   ───────────────────────────────────────────────────────────────── */

.badge {
  display: inline-block;
  padding: 0.1875rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  font-family: var(--font-sans);
  letter-spacing: 0.025em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  background: var(--color-primary);
  color: #ffffff;
}

.badge-success { background: var(--color-success); }
.badge-warning { background: var(--color-warning); }
.badge-error { background: var(--color-error); }

/* ─────────────────────────────────────────────────────────────────
   Loading Spinner
   ───────────────────────────────────────────────────────────────── */

.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-right: var(--space-sm);
}

/* ─────────────────────────────────────────────────────────────────
   Tooltips
   ───────────────────────────────────────────────────────────────── */

.tooltip {
  position: relative;
  cursor: help;
  border-bottom: 1px dotted var(--color-text-muted);
}

.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-text);
  color: #ffffff;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.5;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
}

.tooltip::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: var(--color-text);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
}

.tooltip:hover::after,
.tooltip:hover::before {
  opacity: 1;
  visibility: visible;
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN
   ═══════════════════════════════════════════════════════════════════════════ */

/* Large Desktop (1200px+) */
@media (min-width: 1200px) {
  .logo-svg {
    width: 70px;
    height: 70px;
  }
  
  .hero-title .letter-large {
    font-size: 2.4rem;
  }
  
  .hero-title .letter-small {
    font-size: 1.2rem;
  }
  
  .hero-title .text-word {
    font-size: 0.9rem;
  }
  
  .architecture-img {
    max-height: 280px;
  }
}

/* Laptop / Small Desktop (769px - 1199px) */
@media (max-width: 1199px) and (min-width: 769px) {
  .logo-svg {
    width: 60px;
    height: 60px;
  }
  
  .hero-title .letter-large {
    font-size: 2.4rem;
  }
  
  .hero-title .letter-small {
    font-size: 2rem;
  }
  
  .hero-title .text-word {
    font-size: 1rem;
  }
  
  .hero-subtitle {
    font-size: 0.85rem;
  }
  
  .architecture-img {
    max-height: 250px;
  }
}

/* Tablet (max-width: 768px) */
@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    gap: var(--space-md);
  }
  
  .nav-links {
    gap: var(--space-xs);
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .figure-grid,
  .download-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  
  .tabs {
    overflow-x: auto;
  }
  
  .tab-btn {
    padding: var(--space-sm) var(--space-md);
    white-space: nowrap;
  }

  .hero-section {
    padding: var(--space-md) var(--space-sm) var(--space-lg);
  }
  
  .logo-title-wrapper {
    gap: var(--space-xs);
  }
  
  .logo-svg {
    width: 55px;
    height: 55px;
  }
  
  .hero-title {
    line-height: 1.35;
  }
  
  .hero-title .letter-large {
    font-size: 1.8rem;
  }
  
  .hero-title .letter-small {
    font-size: 0.95rem;
  }
  
  .hero-title .text-word {
    font-size: 0.75rem;
  }
  
  .hero-subtitle {
    font-size: 0.85rem;
  }
  
  .architecture-img {
    max-height: 200px;
  }
  
  .pipeline-list::before {
    left: 1rem;
  }
  
  .pipeline-list li {
    padding-left: 3.5rem;
  }
  
  .pipeline-list li::before {
    width: 2rem;
    height: 2rem;
    font-size: 0.8rem;
  }
  
  .actions-section .actions {
    flex-direction: row;
    justify-content: center;
  }
  
  .visitor-map-wrapper iframe {
    width: 100% !important;
    max-width: 350px;
    height: 180px !important;
  }
}

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }
  
  .hero-section {
    padding: var(--space-sm) var(--space-sm) var(--space-md);
  }
  
  .logo-title-wrapper {
    gap: 4px;
  }
  
  .logo-svg {
    width: 45px;
    height: 45px;
  }
  
  .hero-title {
    line-height: 1.3;
  }
  
  .hero-title .letter-large {
    font-size: 1.5rem;
  }
  
  .hero-title .letter-small {
    font-size: 0.85rem;
  }
  
  .hero-title .text-word {
    font-size: 0.7rem;
  }
  
  .hero-subtitle {
    font-size: 0.8rem;
    line-height: 1.5;
    padding: 0 var(--space-xs);
  }
  
  .architecture-section {
    padding: var(--space-md) var(--space-sm);
  }
  
  .architecture-container {
    padding: var(--space-sm);
  }
  
  .architecture-img {
    max-height: 160px;
  }
  
  .overview-section,
  .cancer-types-section,
  .pipeline-section,
  .visitor-map-section {
    padding: var(--space-md) var(--space-sm);
  }
  
  .overview-section p {
    font-size: 0.85rem;
  }
  
  .card-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }
  
  .cancer-card {
    padding: var(--space-md);
  }
  
  .cancer-card h3 {
    font-size: 1rem;
  }
  
  .pipeline-list::before {
    left: 0.75rem;
  }
  
  .pipeline-list li {
    padding-left: 2.5rem;
    margin-bottom: var(--space-sm);
    padding-bottom: var(--space-sm);
    font-size: 0.85rem;
  }
  
  .pipeline-list li::before {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.7rem;
  }
  
  .actions-section {
    padding: var(--space-md) var(--space-sm) var(--space-lg);
  }
  
  .actions-section .actions {
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
  }
  
  .actions-section .btn {
    width: 100%;
    max-width: 250px;
  }
  
  .btn-hero-primary,
  .btn-hero-secondary {
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
  }
  
  h2 {
    font-size: 1.1rem;
  }
  
  .visitor-map-container {
    padding: var(--space-sm);
  }
  
  .visitor-map-wrapper iframe {
    width: 100% !important;
    height: 150px !important;
  }
}

/* Extra Small Devices (max-width: 360px) */
@media (max-width: 360px) {
  .hero-title .letter-large {
    font-size: 1.3rem;
  }
  
  .hero-title .letter-small {
    font-size: 0.75rem;
  }
  
  .hero-title .text-word {
    font-size: 0.65rem;
  }
  
  .logo-svg {
    width: 40px;
    height: 40px;
  }
  
  .btn-hero-primary,
  .btn-hero-secondary {
    padding: 0.5rem 1.25rem;
    font-size: 0.8rem;
  }
}

/* ─────────────────────────────────────────────────────────────────
   Print Styles
   ───────────────────────────────────────────────────────────────── */

@media print {
  body {
    font-size: 12pt;
    line-height: 1.5;
    color: #000;
    background: #fff;
  }
  
  .header,
  .footer,
  .btn,
  .actions,
  .actions-section,
  .visitor-map-section {
    display: none;
  }
  
  .main {
    padding: 0;
  }
  
  .card,
  .stat-card,
  .form-section {
    box-shadow: none;
    border: 1px solid #ccc;
    page-break-inside: avoid;
  }
  
  a {
    color: #000;
    text-decoration: underline;
  }
  
  .data-table th,
  .data-table td {
    border: 1px solid #ccc;
  }
  
  .hero-section {
    padding: 1rem;
  }
  
  .hero-title .letter-large,
  .hero-title .letter-small {
    -webkit-text-fill-color: #000;
    color: #000;
    background: none;
  }
  
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* ─────────────────────────────────────────────────────────────────
   Accessibility - Reduced Motion
   ───────────────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}