/* ==========================================================================
   CMNV.ru v2 — Covert Mortality Nodavirus Information Portal
   Ultra-modern 2026 redesign: glassmorphism, bento grids, micro-interactions
   ========================================================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Source+Serif+4:ital,opsz,wght@0,8..60,300;0,8..60,400;0,8..60,600;0,8..60,700;0,8..60,800;1,8..60,400&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

/* ==========================================================================
   1. Custom Properties (Design Tokens)
   ========================================================================== */
:root {
  /* --- Palette --- */
  --color-dark:        #0a0e27;
  --color-dark-alt:    #111638;
  --color-dark-card:   #151a3a;
  --color-light:       #fafbff;
  --color-light-alt:   #f0f2fa;
  --color-coral:       #ff6b6b;
  --color-coral-soft:  rgba(255, 107, 107, 0.15);
  --color-teal:        #4ecdc4;
  --color-teal-soft:   rgba(78, 205, 196, 0.15);
  --color-violet:      #7c5cbf;
  --color-violet-soft: rgba(124, 92, 191, 0.15);
  --color-amber:       #f4a261;
  --color-amber-soft:  rgba(244, 162, 97, 0.15);

  /* --- Glassmorphism --- */
  --glass-bg:          rgba(255, 255, 255, 0.06);
  --glass-bg-light:    rgba(255, 255, 255, 0.72);
  --glass-border:      rgba(255, 255, 255, 0.12);
  --glass-border-light:rgba(0, 0, 0, 0.06);
  --glass-blur:        16px;
  --glass-blur-heavy:  24px;

  /* --- Typography --- */
  --font-ui:      'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Source Serif 4', 'Georgia', serif;
  --font-mono:    'JetBrains Mono', 'Fira Code', monospace;

  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-md:   1.125rem;
  --fs-lg:   1.25rem;
  --fs-xl:   1.5rem;
  --fs-2xl:  2rem;
  --fs-3xl:  2.5rem;
  --fs-4xl:  3.25rem;
  --fs-hero: clamp(2.5rem, 6vw, 5rem);

  --lh-tight:  1.2;
  --lh-normal: 1.6;
  --lh-loose:  1.8;

  /* --- Spacing --- */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* --- Layout --- */
  --container-max: 1280px;
  --container-narrow: 860px;
  --border-radius-sm: 8px;
  --border-radius:    12px;
  --border-radius-lg: 20px;
  --border-radius-xl: 28px;

  /* --- Transitions --- */
  --transition-fast: 0.15s ease;
  --transition:      0.3s ease;
  --transition-slow: 0.5s ease;

  /* --- Shadows --- */
  --shadow-sm:   0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow:      0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg:   0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-glow-coral:  0 0 24px rgba(255, 107, 107, 0.25);
  --shadow-glow-teal:   0 0 24px rgba(78, 205, 196, 0.25);
  --shadow-glow-violet: 0 0 24px rgba(124, 92, 191, 0.25);
  --shadow-glow-amber:  0 0 24px rgba(244, 162, 97, 0.25);

  /* --- Z-index scale --- */
  --z-base:     1;
  --z-dropdown: 100;
  --z-sticky:   200;
  --z-overlay:  300;
  --z-modal:    400;
  --z-toast:    500;

  /* --- Scroll progress --- */
  --scroll-progress: 0%;
}

/* ==========================================================================
   2. Reset & Base
   ========================================================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-ui);
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--color-dark);
  background-color: var(--color-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

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

ul, ol { list-style: none; }

button, input, select, textarea {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
}

button { cursor: pointer; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: var(--lh-tight);
  color: var(--color-dark);
}

h1 { font-size: var(--fs-4xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-2xl); }
h4 { font-size: var(--fs-xl); }
h5 { font-size: var(--fs-lg); }
h6 { font-size: var(--fs-md); }

/* ==========================================================================
   3. Scroll Progress Bar
   ========================================================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--scroll-progress, 0%);
  height: 3px;
  background: linear-gradient(90deg, var(--color-teal), var(--color-violet), var(--color-coral));
  z-index: var(--z-toast);
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

/* ==========================================================================
   4. Custom Scrollbar
   ========================================================================== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-light-alt);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--color-violet), var(--color-teal));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--color-coral), var(--color-violet));
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--color-violet) var(--color-light-alt);
}

/* ==========================================================================
   5. Layout Utilities
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-block: var(--sp-16);
}

.section--dark {
  background-color: var(--color-dark);
  color: var(--color-light);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark h5,
.section--dark h6 {
  color: var(--color-light);
}

.section--alt {
  background-color: var(--color-light-alt);
}

/* ==========================================================================
   6. Header — Dark Glassmorphism, Sticky, Blurred
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10000;
  background: rgba(10, 14, 39, 0.82);
  backdrop-filter: blur(var(--glass-blur-heavy));
  -webkit-backdrop-filter: blur(var(--glass-blur-heavy));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(10, 14, 39, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: var(--sp-6);
}

/* --- Logo --- */
.logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--fs-xl);
  color: var(--color-light);
  text-decoration: none;
  transition: opacity var(--transition);
}

.logo:hover {
  opacity: 0.85;
  color: var(--color-light);
}

.logo img {
  width: 36px;
  height: 36px;
}

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

/* --- Desktop Navigation --- */
.main-nav {
  display: none;
}

.main-nav.open {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: calc(100vh - 72px);
  height: calc(100dvh - 72px);
  background: rgba(10, 14, 39, 0.99);
  z-index: 9999;
  padding: var(--sp-8) var(--sp-6);
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.main-nav.open::-webkit-scrollbar {
  display: none;
}

body.menu-open {
  overflow: hidden;
}

.main-nav.open ul {
  flex-direction: column;
  gap: var(--sp-2);
}

.main-nav.open a {
  font-size: var(--fs-lg);
  padding: var(--sp-4) var(--sp-6);
  border-radius: var(--border-radius-md);
}

.main-nav ul {
  display: flex;
  gap: var(--sp-1);
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  border-radius: var(--border-radius-sm);
  transition: color var(--transition), background var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.main-nav a.active {
  color: var(--color-teal);
}

/* --- Hamburger Button --- */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: var(--border-radius-sm);
  transition: background var(--transition);
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-light);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Mobile Menu Overlay --- */
.mobile-menu {
  position: fixed;
  inset: 72px 0 0 0;
  background: rgba(10, 14, 39, 0.96);
  backdrop-filter: blur(var(--glass-blur-heavy));
  -webkit-backdrop-filter: blur(var(--glass-blur-heavy));
  z-index: var(--z-overlay);
  display: flex;
  flex-direction: column;
  padding: var(--sp-8) var(--sp-6);
  transform: translateX(100%);
  transition: transform var(--transition-slow);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu a {
  display: block;
  padding: var(--sp-4) var(--sp-4);
  font-size: var(--fs-lg);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color var(--transition), padding-left var(--transition);
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--color-teal);
  padding-left: var(--sp-6);
}

/* ==========================================================================
   7. Hero Section — Animated Gradient Mesh Background
   ========================================================================== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--color-dark);
  color: var(--color-light);
}

.hero::before {
  content: '';
  position: absolute;
  inset: -50%;
  background:
    radial-gradient(ellipse 600px 600px at 20% 30%, rgba(78, 205, 196, 0.3), transparent 70%),
    radial-gradient(ellipse 500px 500px at 75% 20%, rgba(124, 92, 191, 0.25), transparent 70%),
    radial-gradient(ellipse 400px 400px at 50% 80%, rgba(255, 107, 107, 0.2), transparent 70%),
    radial-gradient(ellipse 350px 350px at 85% 70%, rgba(244, 162, 97, 0.15), transparent 70%);
  animation: meshMove 20s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes meshMove {
  0%   { transform: translate(0, 0) rotate(0deg) scale(1); }
  33%  { transform: translate(3%, -2%) rotate(2deg) scale(1.05); }
  66%  { transform: translate(-2%, 3%) rotate(-1deg) scale(0.98); }
  100% { transform: translate(1%, -1%) rotate(1deg) scale(1.02); }
}

.hero-content {
  position: relative;
  z-index: var(--z-base);
  max-width: 800px;
  padding: var(--sp-8) var(--sp-6);
}

.hero-title {
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--sp-6);
  color: var(--color-light);
}

/* --- Animated Gradient Text --- */
.gradient-text {
  background: linear-gradient(135deg, var(--color-teal), var(--color-violet), var(--color-coral), var(--color-amber));
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-subtitle {
  font-size: var(--fs-lg);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--sp-10);
  max-width: 600px;
  margin-inline: auto;
  line-height: var(--lh-loose);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  justify-content: center;
}

/* ==========================================================================
   8. Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  font-family: var(--font-ui);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.4;
  border-radius: var(--border-radius);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-coral), #e85d5d);
  color: #fff;
  box-shadow: 0 4px 16px rgba(255, 107, 107, 0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255, 107, 107, 0.45);
  color: #fff;
}

.btn--secondary {
  background: var(--glass-bg);
  color: var(--color-light);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
  color: #fff;
}

.btn--teal {
  background: linear-gradient(135deg, var(--color-teal), #3db8b0);
  color: #fff;
  box-shadow: 0 4px 16px rgba(78, 205, 196, 0.3);
}

.btn--teal:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(78, 205, 196, 0.45);
  color: #fff;
}

.btn--violet {
  background: linear-gradient(135deg, var(--color-violet), #6a4daa);
  color: #fff;
  box-shadow: 0 4px 16px rgba(124, 92, 191, 0.3);
}

.btn--violet:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(124, 92, 191, 0.45);
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--color-dark);
  border: 2px solid var(--color-dark);
}

.btn--outline:hover {
  background: var(--color-dark);
  color: var(--color-light);
}

.btn--lg {
  padding: var(--sp-4) var(--sp-8);
  font-size: var(--fs-base);
  border-radius: var(--border-radius-lg);
}

.btn--sm {
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--fs-xs);
  border-radius: var(--border-radius-sm);
}

/* ==========================================================================
   9. Bento Grid Layout
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}

.bento-grid .card--wide {
  grid-column: 1 / -1;
}

/* ==========================================================================
   10. Cards — Glassmorphism with Border Glow
   ========================================================================== */
.card {
  position: relative;
  background: var(--glass-bg-light);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border-light);
  border-radius: var(--border-radius-lg);
  padding: var(--sp-6);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, transparent, rgba(124, 92, 191, 0.15), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

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

/* Glow variants */
.card--glow-coral:hover {
  border-color: rgba(255, 107, 107, 0.3);
  box-shadow: var(--shadow-glow-coral);
}

.card--glow-teal:hover {
  border-color: rgba(78, 205, 196, 0.3);
  box-shadow: var(--shadow-glow-teal);
}

.card--glow-violet:hover {
  border-color: rgba(124, 92, 191, 0.3);
  box-shadow: var(--shadow-glow-violet);
}

.card--glow-amber:hover {
  border-color: rgba(244, 162, 97, 0.3);
  box-shadow: var(--shadow-glow-amber);
}

/* Dark card variant */
.card--dark {
  background: var(--color-dark-card);
  border-color: rgba(255, 255, 255, 0.06);
  color: var(--color-light);
}

.card--dark h1, .card--dark h2, .card--dark h3,
.card--dark h4, .card--dark h5, .card--dark h6 {
  color: var(--color-light);
}

/* Card internals */
.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius);
  font-size: var(--fs-xl);
  margin-bottom: var(--sp-4);
}

.card-icon--coral  { background: var(--color-coral-soft);  color: var(--color-coral); }
.card-icon--teal   { background: var(--color-teal-soft);   color: var(--color-teal); }
.card-icon--violet { background: var(--color-violet-soft); color: var(--color-violet); }
.card-icon--amber  { background: var(--color-amber-soft);  color: var(--color-amber); }

.card-title {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-3);
}

.card-text {
  font-size: var(--fs-sm);
  color: rgba(10, 14, 39, 0.65);
  line-height: var(--lh-loose);
}

.card--dark .card-text {
  color: rgba(255, 255, 255, 0.6);
}

.card-image {
  border-radius: var(--border-radius);
  margin-bottom: var(--sp-4);
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card-image img {
  transform: scale(1.04);
}

/* ==========================================================================
   11. Stats Counters
   ========================================================================== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--sp-4);
}

.stat {
  text-align: center;
  padding: var(--sp-6) var(--sp-4);
}

.stat-number {
  font-family: var(--font-mono);
  font-size: var(--fs-4xl);
  font-weight: 700;
  line-height: 1;
  margin-bottom: var(--sp-2);
  color: var(--color-teal);
}

.stat-number--coral  { color: var(--color-coral); }
.stat-number--violet { color: var(--color-violet); }
.stat-number--amber  { color: var(--color-amber); }

.stat-label {
  font-size: var(--fs-sm);
  color: rgba(10, 14, 39, 0.55);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.section--dark .stat-label {
  color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   12. Timeline
   ========================================================================== */
.timeline {
  position: relative;
  padding-left: var(--sp-10);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--color-teal), var(--color-violet), var(--color-coral));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding-bottom: var(--sp-8);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: calc(-1 * var(--sp-10) + 8px);
  top: 4px;
  width: 14px;
  height: 14px;
  background: var(--color-teal);
  border: 3px solid var(--color-light);
  border-radius: 50%;
  z-index: var(--z-base);
  transition: transform var(--transition), box-shadow var(--transition);
}

.section--dark .timeline-dot {
  border-color: var(--color-dark);
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.3);
  box-shadow: 0 0 12px rgba(78, 205, 196, 0.5);
}

.timeline-dot--coral  { background: var(--color-coral); }
.timeline-dot--violet { background: var(--color-violet); }
.timeline-dot--amber  { background: var(--color-amber); }

.timeline-date {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--color-teal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-2);
}

.timeline-title {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-2);
}

.timeline-text {
  font-size: var(--fs-sm);
  color: rgba(10, 14, 39, 0.6);
  line-height: var(--lh-loose);
}

.section--dark .timeline-text {
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   13. Alert Boxes
   ========================================================================== */
.alert {
  position: relative;
  padding: var(--sp-5) var(--sp-6);
  padding-left: var(--sp-8);
  border-radius: var(--border-radius);
  margin-bottom: var(--sp-4);
  font-size: var(--fs-sm);
  line-height: var(--lh-loose);
}

.alert::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.alert--danger {
  background: var(--color-coral-soft);
  color: #a83232;
}

.alert--danger::before { background: var(--color-coral); }

.alert--info {
  background: var(--color-teal-soft);
  color: #1f7a73;
}

.alert--info::before { background: var(--color-teal); }

.alert--warning {
  background: var(--color-amber-soft);
  color: #8a5a1e;
}

.alert--warning::before { background: var(--color-amber); }

.alert--note {
  background: var(--color-violet-soft);
  color: #4e3680;
}

.alert--note::before { background: var(--color-violet); }

.alert-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-base);
  margin-bottom: var(--sp-2);
}

/* ==========================================================================
   14. Infographic Containers
   ========================================================================== */
.infographic {
  background: var(--glass-bg-light);
  border: 1px solid var(--glass-border-light);
  border-radius: var(--border-radius-lg);
  padding: var(--sp-8);
  margin-block: var(--sp-8);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
}

.infographic-title {
  font-size: var(--fs-xl);
  text-align: center;
  margin-bottom: var(--sp-8);
}

/* --- Bar Chart --- */
.chart-bar {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.chart-bar-item {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.chart-bar-label {
  flex: 0 0 120px;
  font-size: var(--fs-sm);
  font-weight: 500;
  text-align: right;
}

.chart-bar-track {
  flex: 1;
  height: 28px;
  background: var(--color-light-alt);
  border-radius: 14px;
  overflow: hidden;
}

.chart-bar-fill {
  height: 100%;
  border-radius: 14px;
  background: linear-gradient(90deg, var(--color-teal), var(--color-violet));
  transition: width 1s ease-out;
  display: flex;
  align-items: center;
  padding-left: var(--sp-3);
}

.chart-bar-fill--coral  { background: linear-gradient(90deg, var(--color-coral), #e85d5d); }
.chart-bar-fill--amber  { background: linear-gradient(90deg, var(--color-amber), #e08d3f); }
.chart-bar-fill--violet { background: linear-gradient(90deg, var(--color-violet), #6a4daa); }

.chart-bar-value {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: #fff;
}

/* --- Donut Chart (see alias layer below for full styles) --- */

/* --- Risk Meter --- */
.risk-meter {
  margin-block: var(--sp-6);
}

.risk-meter-track {
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--color-teal), var(--color-amber), var(--color-coral));
  position: relative;
  margin-bottom: var(--sp-3);
}

.risk-meter-indicator {
  position: absolute;
  top: -4px;
  width: 20px;
  height: 20px;
  background: var(--color-dark);
  border: 3px solid #fff;
  border-radius: 50%;
  transform: translateX(-50%);
  transition: left var(--transition-slow);
  box-shadow: var(--shadow);
}

.risk-meter-labels {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: rgba(10, 14, 39, 0.5);
}

/* --- Interactive Map Container --- */
.interactive-map {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--color-light-alt);
  border: 1px solid var(--glass-border-light);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* ==========================================================================
   15. Interactive Tool Containers
   ========================================================================== */
.quiz-container,
.calculator-container,
.symptom-checker {
  background: var(--glass-bg-light);
  border: 1px solid var(--glass-border-light);
  border-radius: var(--border-radius-xl);
  padding: var(--sp-8);
  margin-block: var(--sp-8);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  transition: box-shadow var(--transition);
}

.quiz-container:hover,
.calculator-container:hover,
.symptom-checker:hover {
  box-shadow: var(--shadow-lg);
}

.quiz-container-title,
.calculator-container-title,
.symptom-checker-title {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 700;
  margin-bottom: var(--sp-6);
  text-align: center;
}

/* Quiz specific */
.quiz-question {
  font-size: var(--fs-md);
  font-weight: 500;
  margin-bottom: var(--sp-6);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--glass-border-light);
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  background: var(--color-light);
  border: 2px solid transparent;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all var(--transition);
  font-size: var(--fs-sm);
}

.quiz-option:hover {
  border-color: var(--color-violet);
  background: var(--color-violet-soft);
}

.quiz-option.selected {
  border-color: var(--color-teal);
  background: var(--color-teal-soft);
}

.quiz-option.correct {
  border-color: var(--color-teal);
  background: var(--color-teal-soft);
}

.quiz-option.incorrect {
  border-color: var(--color-coral);
  background: var(--color-coral-soft);
}

.quiz-progress {
  height: 6px;
  background: var(--color-light-alt);
  border-radius: 3px;
  margin-bottom: var(--sp-6);
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-teal), var(--color-violet));
  border-radius: 3px;
  transition: width var(--transition);
}

/* Calculator specific */
.calculator-input-group {
  margin-bottom: var(--sp-5);
}

.calculator-label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: var(--sp-2);
  color: rgba(10, 14, 39, 0.75);
}

.calculator-input {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  font-family: var(--font-mono);
  font-size: var(--fs-base);
  background: var(--color-light);
  border: 2px solid var(--glass-border-light);
  border-radius: var(--border-radius);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.calculator-input:focus {
  outline: none;
  border-color: var(--color-violet);
  box-shadow: 0 0 0 4px var(--color-violet-soft);
}

.calculator-result {
  padding: var(--sp-5);
  background: var(--color-dark);
  color: var(--color-light);
  border-radius: var(--border-radius);
  font-family: var(--font-mono);
  font-size: var(--fs-lg);
  text-align: center;
  margin-top: var(--sp-6);
}

/* Symptom checker */
.symptom-checker-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}

.symptom-option {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  background: var(--color-light);
  border: 2px solid transparent;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-size: var(--fs-sm);
  transition: all var(--transition);
}

.symptom-option:hover {
  border-color: var(--color-amber);
}

.symptom-option.checked {
  border-color: var(--color-teal);
  background: var(--color-teal-soft);
}

/* ==========================================================================
   16. Data Tables
   ========================================================================== */
.data-table-wrapper {
  overflow-x: auto;
  border-radius: var(--border-radius);
  border: 1px solid var(--glass-border-light);
  margin-block: var(--sp-6);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}

.data-table thead {
  background: var(--color-dark);
  color: var(--color-light);
}

.data-table th {
  padding: var(--sp-4) var(--sp-5);
  text-align: left;
  font-weight: 600;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.data-table td {
  padding: var(--sp-3) var(--sp-5);
  border-bottom: 1px solid var(--glass-border-light);
}

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

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

.data-table .mono {
  font-family: var(--font-mono);
  font-weight: 500;
}

/* ==========================================================================
   17. Scroll-triggered Reveal Animations (CSS-only base)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--left {
  transform: translateX(-30px);
}

.reveal--left.visible {
  transform: translateX(0);
}

.reveal--right {
  transform: translateX(30px);
}

.reveal--right.visible {
  transform: translateX(0);
}

.reveal--scale {
  transform: scale(0.92);
}

.reveal--scale.visible {
  transform: scale(1);
}

/* Stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.15s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.2s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.25s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.3s; }
.reveal-stagger.visible > *:nth-child(7) { transition-delay: 0.35s; }
.reveal-stagger.visible > *:nth-child(8) { transition-delay: 0.4s; }

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   18. Section Headers
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--sp-12);
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-teal);
  margin-bottom: var(--sp-3);
  padding: var(--sp-1) var(--sp-3);
  background: var(--color-teal-soft);
  border-radius: var(--border-radius-sm);
}

.section-title {
  font-size: var(--fs-3xl);
  margin-bottom: var(--sp-4);
}

.section-desc {
  font-size: var(--fs-md);
  color: rgba(10, 14, 39, 0.6);
  line-height: var(--lh-loose);
}

.section--dark .section-desc {
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   19. Tags / Badges
   ========================================================================== */
.tag {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: var(--sp-1) var(--sp-3);
  font-size: var(--fs-xs);
  font-weight: 600;
  border-radius: 100px;
  line-height: 1.6;
}

.tag--coral  { background: var(--color-coral-soft);  color: var(--color-coral); }
.tag--teal   { background: var(--color-teal-soft);   color: var(--color-teal); }
.tag--violet { background: var(--color-violet-soft); color: var(--color-violet); }
.tag--amber  { background: var(--color-amber-soft);  color: var(--color-amber); }

/* ==========================================================================
   20. Breadcrumbs
   ========================================================================== */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  padding-block: var(--sp-4);
  font-size: var(--fs-sm);
  color: rgba(10, 14, 39, 0.5);
}

.breadcrumbs a {
  color: rgba(10, 14, 39, 0.5);
  transition: color var(--transition);
}

.breadcrumbs a:hover {
  color: var(--color-violet);
}

.breadcrumbs .separator {
  color: rgba(10, 14, 39, 0.25);
}

/* ==========================================================================
   21. Content Typography
   ========================================================================== */
.prose {
  font-size: var(--fs-md);
  line-height: var(--lh-loose);
  color: rgba(10, 14, 39, 0.8);
}

.prose h2 {
  margin-top: var(--sp-12);
  margin-bottom: var(--sp-4);
}

.prose h3 {
  margin-top: var(--sp-8);
  margin-bottom: var(--sp-3);
}

.prose p {
  margin-bottom: var(--sp-5);
}

.prose ul,
.prose ol {
  margin-bottom: var(--sp-5);
  padding-left: var(--sp-6);
}

.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }

.prose li {
  margin-bottom: var(--sp-2);
}

.prose blockquote {
  border-left: 4px solid var(--color-violet);
  padding: var(--sp-4) var(--sp-6);
  background: var(--color-violet-soft);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  margin-block: var(--sp-6);
  font-style: italic;
  color: rgba(10, 14, 39, 0.7);
}

.prose code {
  font-family: var(--font-mono);
  font-size: 0.9em;
  padding: 2px 6px;
  background: var(--color-light-alt);
  border-radius: 4px;
}

.prose pre {
  background: var(--color-dark);
  color: var(--color-light);
  padding: var(--sp-5);
  border-radius: var(--border-radius);
  overflow-x: auto;
  margin-block: var(--sp-6);
}

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

.prose img {
  border-radius: var(--border-radius);
  margin-block: var(--sp-6);
}

/* ==========================================================================
   22. Floating Emergency Button
   ========================================================================== */
.emergency-btn {
  position: fixed;
  bottom: var(--sp-6);
  right: var(--sp-6);
  z-index: var(--z-sticky);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-5);
  background: var(--color-coral);
  color: #fff;
  font-weight: 700;
  font-size: var(--fs-sm);
  border-radius: 100px;
  box-shadow: 0 4px 20px rgba(255, 107, 107, 0.4);
  transition: all var(--transition);
  animation: emergencyPulse 3s ease-in-out infinite;
}

.emergency-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 28px rgba(255, 107, 107, 0.55);
  color: #fff;
}

@keyframes emergencyPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(255, 107, 107, 0.4); }
  50%      { box-shadow: 0 4px 28px rgba(255, 107, 107, 0.65); }
}

/* ==========================================================================
   23. Footer — Gradient Background
   ========================================================================== */
.site-footer {
  background: linear-gradient(135deg, var(--color-dark) 0%, #151a3a 50%, #1a1040 100%);
  color: rgba(255, 255, 255, 0.65);
  padding-top: var(--sp-16);
  padding-bottom: var(--sp-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  margin-bottom: var(--sp-12);
}

.footer-brand {
  max-width: 320px;
}

.footer-brand .logo {
  margin-bottom: var(--sp-4);
}

.footer-brand p {
  font-size: var(--fs-sm);
  line-height: var(--lh-loose);
}

.footer-heading {
  font-family: var(--font-ui);
  font-size: var(--fs-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-light);
  margin-bottom: var(--sp-4);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer-links a {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition), padding-left var(--transition);
}

.footer-links a:hover {
  color: var(--color-teal);
  padding-left: var(--sp-2);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  align-items: center;
  text-align: center;
  font-size: var(--fs-xs);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.45);
}

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

/* ==========================================================================
   24. 404 Page
   ========================================================================== */
.page-404 {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--sp-8);
}

.page-404-code {
  font-family: var(--font-mono);
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--color-violet), var(--color-coral));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: var(--sp-4);
}

.page-404 h1 {
  font-size: var(--fs-2xl);
  margin-bottom: var(--sp-4);
}

.page-404 p {
  font-size: var(--fs-md);
  color: rgba(10, 14, 39, 0.55);
  margin-bottom: var(--sp-8);
  max-width: 480px;
}

/* ==========================================================================
   25. Form Elements
   ========================================================================== */
.form-group {
  margin-bottom: var(--sp-5);
}

.form-label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: var(--sp-2);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--fs-base);
  background: var(--color-light);
  border: 2px solid rgba(10, 14, 39, 0.1);
  border-radius: var(--border-radius);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-violet);
  box-shadow: 0 0 0 4px var(--color-violet-soft);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* ==========================================================================
   26. Utility Classes
   ========================================================================== */
.text-center   { text-align: center; }
.text-left     { text-align: left; }
.text-right    { text-align: right; }

.text-coral    { color: var(--color-coral); }
.text-teal     { color: var(--color-teal); }
.text-violet   { color: var(--color-violet); }
.text-amber    { color: var(--color-amber); }
.text-muted    { color: rgba(10, 14, 39, 0.5); }

.bg-coral-soft  { background-color: var(--color-coral-soft); }
.bg-teal-soft   { background-color: var(--color-teal-soft); }
.bg-violet-soft { background-color: var(--color-violet-soft); }
.bg-amber-soft  { background-color: var(--color-amber-soft); }

.font-mono     { font-family: var(--font-mono); }
.font-heading  { font-family: var(--font-heading); }

.fw-300 { font-weight: 300; }
.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }

.mt-0  { margin-top: 0; }
.mt-4  { margin-top: var(--sp-4); }
.mt-8  { margin-top: var(--sp-8); }
.mt-12 { margin-top: var(--sp-12); }
.mb-0  { margin-bottom: 0; }
.mb-4  { margin-bottom: var(--sp-4); }
.mb-8  { margin-bottom: var(--sp-8); }
.mb-12 { margin-bottom: var(--sp-12); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   27. Accessibility — Focus Rings
   ========================================================================== */
:focus-visible {
  outline: 3px solid var(--color-violet);
  outline-offset: 3px;
  border-radius: 4px;
}

.btn:focus-visible {
  outline-offset: 4px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--sp-4);
  padding: var(--sp-3) var(--sp-5);
  background: var(--color-violet);
  color: #fff;
  font-weight: 600;
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  z-index: var(--z-toast);
  transition: top var(--transition);
}

.skip-link:focus {
  top: 0;
  color: #fff;
}

/* ==========================================================================
   28. Reduced Motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .reveal-stagger > * {
    opacity: 1;
    transform: none;
    transition-delay: 0s !important;
  }

  .hero::before {
    animation: none;
  }
}

/* ==========================================================================
   29. Responsive — Tablet (>=640px)
   ========================================================================== */
@media (min-width: 640px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-grid .card--tall {
    grid-row: span 2;
  }

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

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

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

  .hero {
    min-height: 80vh;
  }

  .section-title {
    font-size: var(--fs-3xl);
  }
}

/* ==========================================================================
   30. Responsive — Desktop (>=1024px)
   ========================================================================== */
@media (min-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .bento-grid .card--wide {
    grid-column: span 2;
  }

  .bento-grid .card--featured {
    grid-column: span 2;
    grid-row: span 2;
  }

  /* Desktop navigation visible */
  .main-nav {
    display: flex;
  }

  .hamburger {
    display: none;
  }

  .mobile-menu {
    display: none;
  }

  .header-inner {
    height: 80px;
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }

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

  .hero-title {
    font-size: var(--fs-hero);
  }

  .section {
    padding-block: var(--sp-24);
  }

  .section-header {
    margin-bottom: var(--sp-16);
  }
}

/* ==========================================================================
   31. Responsive — Large Desktop (>=1280px)
   ========================================================================== */
@media (min-width: 1280px) {
  .bento-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .bento-grid .card--featured {
    grid-column: span 2;
    grid-row: span 2;
  }

  .container {
    padding-inline: var(--sp-8);
  }
}

/* ==========================================================================
   32. Print Styles
   ========================================================================== */
@media print {
  .site-header,
  .site-footer,
  .mobile-menu,
  .hamburger,
  .emergency-btn,
  .scroll-progress,
  .skip-link {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 12pt;
  }

  .hero {
    min-height: auto;
    background: none;
    color: #000;
    padding: 2em 0;
  }

  .hero-title,
  .hero-subtitle {
    color: #000;
  }

  .hero::before {
    display: none;
  }

  .gradient-text {
    -webkit-text-fill-color: #000;
    background: none;
  }

  .card {
    break-inside: avoid;
    border: 1px solid #ccc;
    box-shadow: none;
    backdrop-filter: none;
  }

  .section--dark {
    background: none;
    color: #000;
  }

  .section--dark h1,
  .section--dark h2,
  .section--dark h3,
  .section--dark h4,
  .section--dark h5,
  .section--dark h6 {
    color: #000;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  a[href]::after {
    content: ' (' attr(href) ')';
    font-size: 0.8em;
    color: #666;
  }

  .reveal,
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================================
   HTML ALIAS LAYER — bridges HTML class names to CSS definitions
   ========================================================================== */

/* --- Reveal on Scroll Animations --- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --- Info Card = Card --- */
.info-card {
  background: var(--glass-bg-light);
  border: 1px solid var(--glass-border-light);
  border-radius: var(--border-radius-lg);
  padding: var(--sp-8);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.info-card__icon {
  font-size: 2rem;
  margin-bottom: var(--sp-4);
  display: block;
}

.info-card__title {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: var(--sp-3);
  line-height: var(--lh-tight);
}

.info-card__text {
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: #4a5568;
}

/* --- Stats Grid --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  text-align: center;
  padding: var(--sp-8) var(--sp-4);
}

.stat-item .stat-number {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--color-teal);
  line-height: 1.1;
  margin-bottom: var(--sp-2);
}

.stat-item .stat-label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- Alert Banner --- */
.alert-banner {
  border-left: 4px solid var(--color-coral);
  background: var(--color-coral-soft);
  border-radius: var(--border-radius);
  padding: var(--sp-6) var(--sp-8);
  margin-block: var(--sp-8);
}

.alert-content {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
}

.alert-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.alert-text {
  font-size: var(--fs-base);
  line-height: var(--lh-normal);
  color: var(--color-dark);
}

.alert-text strong {
  font-weight: 700;
}

/* --- Hero Background Element --- */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* --- Section Title & Subtitle --- */
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: var(--sp-4);
  line-height: var(--lh-tight);
}

.section-subtitle {
  font-size: var(--fs-md);
  color: #6b7280;
  max-width: 600px;
  margin-bottom: var(--sp-8);
}

.section--dark .section-title {
  color: var(--color-light);
}

/* --- CTA Button --- */
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-4) var(--sp-8);
  background: var(--color-coral);
  color: #fff;
  font-size: var(--fs-base);
  font-weight: 600;
  border-radius: var(--border-radius-xl);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

.cta-button:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-coral);
}

/* --- Bar Chart (Vertical) --- */
.bar-chart {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: var(--sp-6);
  height: 320px;
  padding: var(--sp-8) var(--sp-4);
  background: var(--glass-bg-light);
  border: 1px solid var(--glass-border-light);
  border-radius: var(--border-radius-lg);
}

.bar-chart__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  max-width: 80px;
  height: 100%;
  justify-content: flex-end;
}

.bar-chart__bar {
  width: 100%;
  background: linear-gradient(to top, var(--color-teal), var(--color-violet));
  border-radius: var(--border-radius-sm) var(--border-radius-sm) 0 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: var(--sp-2);
  transition: height 1s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 0;
}

.bar-chart.revealed .bar-chart__item[data-value="5"] .bar-chart__bar { height: 10%; }
.bar-chart.revealed .bar-chart__item[data-value="14"] .bar-chart__bar { height: 28%; }
.bar-chart.revealed .bar-chart__item[data-value="27"] .bar-chart__bar { height: 55%; }
.bar-chart.revealed .bar-chart__item[data-value="38"] .bar-chart__bar { height: 78%; }
.bar-chart.revealed .bar-chart__item[data-value="49"] .bar-chart__bar { height: 100%; }

.bar-chart__value {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: #fff;
}

.bar-chart__label {
  margin-top: var(--sp-3);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: #6b7280;
}

/* --- Timeline (from HTML aliases) --- */
.timeline-marker {
  position: absolute;
  left: -8px;
  top: var(--sp-2);
  width: 16px;
  height: 16px;
  background: var(--color-coral);
  border: 3px solid var(--color-light);
  border-radius: 50%;
  z-index: 1;
  box-shadow: var(--shadow-sm);
}

.timeline-year {
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--color-coral);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--sp-1);
  display: block;
}

.timeline-content {
  padding-left: var(--sp-8);
}

/* --- Why Grid --- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}

@media (min-width: 768px) {
  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- Explore Grid & Cards --- */
.explore-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}

@media (min-width: 640px) {
  .explore-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .explore-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.explore-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-6);
  background: var(--glass-bg-light);
  border: 1px solid var(--glass-border-light);
  border-radius: var(--border-radius-lg);
  text-decoration: none;
  color: var(--color-dark);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.explore-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-teal);
  color: var(--color-dark);
}

.explore-card__icon {
  font-size: 2rem;
}

.explore-card__title {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
}

.explore-card__text {
  font-size: var(--fs-sm);
  color: #6b7280;
  line-height: var(--lh-normal);
}

.explore-card__arrow {
  font-size: 1.5rem;
  color: var(--color-teal);
  margin-top: auto;
  transition: transform var(--transition);
}

.explore-card:hover .explore-card__arrow {
  transform: translateX(4px);
}

/* --- Footer Grid --- */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  padding-bottom: var(--sp-8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-col {}

.footer-heading {
  font-size: var(--fs-base);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--sp-4);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--sp-2);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--fs-sm);
  transition: color var(--transition);
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.footer-about {
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--fs-sm);
  line-height: var(--lh-normal);
}

.footer-bottom {
  padding-top: var(--sp-6);
  text-align: center;
}

.copyright {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.4);
}

/* --- Site Footer --- */
.site-footer {
  background: var(--color-dark);
  color: var(--color-light);
  padding: var(--sp-12) 0 var(--sp-8);
}

/* --- Tagline in header --- */
.tagline {
  display: none;
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 1024px) {
  .tagline {
    display: block;
  }
}

/* --- Nav Link styles --- */
.nav-link {
  display: inline-flex;
  align-items: center;
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  border-radius: var(--border-radius-sm);
  transition: color var(--transition), background var(--transition);
  text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-link.active {
  color: var(--color-teal);
}

/* --- Nav List --- */
.nav-list {
  display: flex;
  gap: var(--sp-1);
  list-style: none;
  margin: 0;
  padding: 0;
}

/* --- Logo --- */
.logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  text-decoration: none;
  color: #fff;
  flex-shrink: 0;
}

.logo:hover {
  color: #fff;
}

.logo-icon {
  font-size: 1.5rem;
}

.logo-text {
  font-family: var(--font-ui);
  font-size: var(--fs-lg);
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo-dot {
  color: var(--color-teal);
}

/* --- Hamburger line alias --- */
.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-light);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.open .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.open .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Quiz --- */
.quiz-container {
  background: var(--glass-bg-light);
  border: 1px solid var(--glass-border-light);
  border-radius: var(--border-radius-lg);
  padding: var(--sp-8);
  margin-block: var(--sp-8);
}

.quiz-container h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  margin-bottom: var(--sp-6);
}

.quiz-question {
  margin-bottom: var(--sp-6);
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid var(--glass-border-light);
}

.quiz-question:last-of-type {
  border-bottom: none;
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: background var(--transition);
}

.quiz-option:hover {
  background: rgba(78, 205, 196, 0.08);
}

.quiz-option input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-teal);
  flex-shrink: 0;
}

.quiz-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-4) var(--sp-10);
  margin-top: var(--sp-4);
  background: var(--color-coral);
  color: #fff;
  font-size: var(--fs-base);
  font-weight: 700;
  border: none;
  border-radius: var(--border-radius-xl);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

.quiz-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-coral);
}

.quiz-result {
  margin-top: var(--sp-6);
  padding: var(--sp-6);
  border-radius: var(--border-radius);
  font-size: var(--fs-md);
}

/* --- Calculator --- */
.calculator-container {
  background: var(--glass-bg-light);
  border: 1px solid var(--glass-border-light);
  border-radius: var(--border-radius-lg);
  padding: var(--sp-8);
  margin-block: var(--sp-8);
}

.calculator-container h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  margin-bottom: var(--sp-6);
}

.calculator-container select,
.calculator-container input[type="number"] {
  display: block;
  width: 100%;
  max-width: 400px;
  padding: var(--sp-3) var(--sp-4);
  margin-bottom: var(--sp-4);
  border: 1px solid var(--glass-border-light);
  border-radius: var(--border-radius-sm);
  font-size: var(--fs-base);
  background: #fff;
}

.calc-submit {
  display: inline-flex;
  padding: var(--sp-3) var(--sp-8);
  background: var(--color-teal);
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: var(--border-radius-xl);
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

.calc-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-teal);
}

/* --- Donut Chart --- */
.donut-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-8);
  margin-top: var(--sp-8);
}

.chart-donut {
  margin: 0 auto;
  flex-shrink: 0;
}

.donut-hole {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.donut-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.2;
}

.donut-label {
  font-size: 0.7rem;
  color: #6b7280;
  text-align: center;
  max-width: 90px;
  line-height: 1.3;
}

/* --- Tab System --- */
.tabs-container {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border-light);
  border-radius: var(--border-radius-lg);
  padding: var(--sp-6);
  box-shadow: var(--shadow-card);
}

.tabs-header,
.tabs-nav,
.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-6);
}

.tab-btn {
  padding: var(--sp-3) var(--sp-6);
  font-size: var(--fs-sm);
  font-weight: 600;
  border: 1px solid var(--glass-border-light);
  border-radius: var(--border-radius-sm);
  background: transparent;
  color: #6b7280;
  cursor: pointer;
  transition: all var(--transition);
}

.tab-btn:hover {
  background: rgba(78, 205, 196, 0.08);
  color: var(--color-dark);
}

.tab-btn.active {
  background: var(--color-teal);
  color: #fff;
  border-color: var(--color-teal);
}

.tab-content {
  display: none;
}

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

.tab-content h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-4);
}

.tab-content ul {
  list-style: none;
  padding: 0;
}

.tab-content ul li {
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--glass-border-light);
  line-height: 1.6;
}

.tab-content ul li:last-child {
  border-bottom: none;
}

.tab-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--sp-4);
  margin-top: var(--sp-4);
}

.tab-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border-light);
  border-radius: var(--border-radius-md);
  padding: var(--sp-5);
  transition: transform var(--transition), box-shadow var(--transition);
}

.tab-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.tab-card h4 {
  font-size: var(--fs-base);
  margin-bottom: var(--sp-2);
}

.tab-card p {
  font-size: var(--fs-sm);
  color: #6b7280;
  line-height: 1.6;
}

/* =============================================
   MISSING COMPONENT STYLES
   ============================================= */

/* --- Hero Subpage Variant --- */
.hero--subpage {
  min-height: 40vh;
  padding-top: 120px;
  padding-bottom: var(--sp-10);
}

.hero--subpage .hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
}

/* --- Prognosis Bars (human-risk.html) --- */
.prognosis-bars {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border-light);
  border-radius: var(--border-radius-lg);
  padding: var(--sp-8);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}

.prognosis-bar-item {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.prognosis-bar-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.prognosis-bar-label {
  font-weight: 600;
  font-size: var(--fs-base);
  color: var(--color-dark);
}

.prognosis-bar-value {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: var(--fs-lg);
  color: var(--color-dark);
}

.prognosis-bar-track {
  height: 24px;
  background: #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}

.prognosis-bar-fill {
  height: 100%;
  border-radius: 12px;
  width: 0;
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.prognosis-bar-fill--success { background: linear-gradient(90deg, #10b981, #34d399); }
.prognosis-bar-fill--partial { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.prognosis-bar-fill--danger { background: linear-gradient(90deg, #ef4444, #f87171); }

.prognosis-bar-desc {
  font-size: var(--fs-sm);
  color: #6b7280;
  line-height: 1.5;
  margin: 0;
}

/* --- Temperature Infographic (prevention.html) --- */
.temp-infographic {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border-light);
  border-radius: var(--border-radius-lg);
  padding: var(--sp-8);
  box-shadow: var(--shadow-card);
}

.temp-scale {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: var(--border-radius-md);
  overflow: hidden;
}

.temp-zone {
  display: flex;
  align-items: stretch;
}

.temp-zone__bar {
  width: 12px;
  min-height: 80px;
  flex-shrink: 0;
}

.temp-zone--danger .temp-zone__bar { background: #ef4444; }
.temp-zone--caution .temp-zone__bar { background: #f59e0b; }
.temp-zone--safe .temp-zone__bar { background: #10b981; }

.temp-zone__info {
  padding: var(--sp-4) var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.temp-zone__range {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: var(--fs-lg);
  color: var(--color-dark);
}

.temp-zone__label {
  font-weight: 600;
  font-size: var(--fs-base);
}

.temp-zone--danger .temp-zone__label { color: #ef4444; }
.temp-zone--caution .temp-zone__label { color: #d97706; }
.temp-zone--safe .temp-zone__label { color: #059669; }

.temp-zone__desc {
  font-size: var(--fs-sm);
  color: #6b7280;
  line-height: 1.6;
}

.temp-threshold {
  display: flex;
  align-items: center;
  padding: var(--sp-3) var(--sp-5);
  background: rgba(239, 68, 68, 0.08);
  border-top: 2px dashed #ef4444;
  border-bottom: 2px dashed #ef4444;
}

.temp-threshold__marker {
  font-weight: 700;
  font-size: var(--fs-base);
  color: #ef4444;
}

.temp-legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-top: var(--sp-6);
  justify-content: center;
}

.temp-legend__item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  font-weight: 500;
}

.temp-legend__item::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.temp-legend__item--danger::before { background: #ef4444; }
.temp-legend__item--caution::before { background: #f59e0b; }
.temp-legend__item--safe::before { background: #10b981; }

/* --- Risk Chart (prevention.html) --- */
.risk-chart {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border-light);
  border-radius: var(--border-radius-lg);
  padding: var(--sp-8);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.risk-chart__row {
  display: grid;
  grid-template-columns: 200px 1fr 120px;
  align-items: center;
  gap: var(--sp-4);
}

@media (max-width: 640px) {
  .risk-chart__row {
    grid-template-columns: 1fr;
    gap: var(--sp-2);
  }
}

.risk-chart__label {
  font-weight: 500;
  font-size: var(--fs-sm);
  color: var(--color-dark);
}

.risk-chart__bar-wrap {
  height: 28px;
  background: #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
}

.risk-chart__bar {
  height: 100%;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: var(--sp-3);
  min-width: 40px;
  transition: width 1s ease;
}

.risk-chart__bar--critical { background: linear-gradient(90deg, #dc2626, #ef4444); }
.risk-chart__bar--high { background: linear-gradient(90deg, #ea580c, #f97316); }
.risk-chart__bar--elevated { background: linear-gradient(90deg, #d97706, #f59e0b); }
.risk-chart__bar--low { background: linear-gradient(90deg, #059669, #10b981); }
.risk-chart__bar--minimal { background: linear-gradient(90deg, #0d9488, #14b8a6); }

.risk-chart__value {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: #fff;
}

.risk-chart__level {
  font-weight: 600;
  font-size: var(--fs-sm);
  text-align: right;
}

.risk-chart__level--critical { color: #dc2626; }
.risk-chart__level--high { color: #ea580c; }
.risk-chart__level--elevated { color: #d97706; }
.risk-chart__level--low { color: #059669; }
.risk-chart__level--minimal { color: #0d9488; }

/* --- Accordion (shared) --- */
.accordion {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.accordion-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border-light);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.accordion-item:hover {
  box-shadow: var(--shadow-card);
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--color-dark);
  text-align: left;
  transition: background var(--transition);
}

.accordion-header:hover {
  background: rgba(78, 205, 196, 0.05);
}

.accordion-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.accordion-title {
  flex: 1;
}

.accordion-arrow {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
  color: #9ca3af;
}

.accordion-item.open .accordion-arrow {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.accordion-item.open .accordion-content {
  max-height: 2000px;
}

.accordion-body {
  padding: 0 var(--sp-5) var(--sp-5);
}

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

.accordion-body ul li {
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--glass-border-light);
  line-height: 1.6;
  font-size: var(--fs-sm);
  color: #4b5563;
}

.accordion-body ul li:last-child {
  border-bottom: none;
}

/* --- Info Card Lists --- */
.info-card__list {
  list-style: none;
  padding: 0;
  margin: var(--sp-3) 0 0;
}

.info-card__list li {
  padding: var(--sp-2) 0;
  padding-left: var(--sp-5);
  position: relative;
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: #4b5563;
}

.info-card__list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--color-teal);
  font-weight: 600;
}

/* --- Info Card Color Modifiers --- */
.info-card--virus { border-left: 4px solid #e53935; }
.info-card--spread { border-left: 4px solid #f59e0b; }
.info-card--human { border-left: 4px solid #7c3aed; }
.info-card--economy { border-left: 4px solid #3b82f6; }
.info-card--danger { border-left: 4px solid #ef4444; }
.info-card--stats { border-left: 4px solid #10b981; }
.info-card--science { border-left: 4px solid #6366f1; }
.info-card--symptoms { border-left: 4px solid #ec4899; }
.info-card--warning { border-left: 4px solid #f97316; }
.info-card--work { border-left: 4px solid #0ea5e9; }
.info-card--safe { border-left: 4px solid #10b981; }
.info-card--travel { border-left: 4px solid #8b5cf6; }
.info-card--emergency { border-left: 4px solid #dc2626; }
.info-card--antiinflam { border-left: 4px solid #2563eb; }
.info-card--experimental { border-left: 4px solid #7c3aed; }
.info-card--prognosis { border-left: 4px solid #059669; }
.info-card--thermal { border-left: 4px solid #ef4444; }
.info-card--raw { border-left: 4px solid #dc2626; }
.info-card--buying { border-left: 4px solid #0284c7; }
.info-card--hygiene { border-left: 4px solid #4ecdc4; }
.info-card--zones { border-left: 4px solid #dc2626; }
.info-card--eating { border-left: 4px solid #059669; }
.info-card--medkit { border-left: 4px solid #2563eb; }
.info-card--apps { border-left: 4px solid #8b5cf6; }

/* --- Alert Banner Variants --- */
.alert-banner--final {
  background: linear-gradient(135deg, rgba(239,68,68,0.06), rgba(239,68,68,0.12));
  border-top: 3px solid #ef4444;
}

.alert-banner--positive {
  background: linear-gradient(135deg, rgba(16,185,129,0.06), rgba(16,185,129,0.12));
  border-top: 3px solid #10b981;
}

.alert-banner--positive .alert-icon { color: #10b981; }

.alert-banner--warning {
  background: linear-gradient(135deg, rgba(245,158,11,0.06), rgba(245,158,11,0.12));
  border-top: 3px solid #f59e0b;
}

.alert-banner--warning .alert-icon { color: #f59e0b; }

.alert-banner--summary {
  background: linear-gradient(135deg, rgba(59,130,246,0.06), rgba(59,130,246,0.12));
  border-top: 3px solid #3b82f6;
}

.alert-banner--summary .alert-icon { color: #3b82f6; }

.alert-list {
  list-style: none;
  padding: 0;
  margin: var(--sp-3) 0 0;
}

.alert-list li {
  padding: var(--sp-2) 0;
  padding-left: var(--sp-5);
  position: relative;
  line-height: 1.6;
}

.alert-list li::before {
  content: '⚠';
  position: absolute;
  left: 0;
  font-size: 0.85rem;
}

.alert-banner--summary .alert-list li::before {
  content: '✓';
  color: #3b82f6;
}

/* --- Risk Recommendations (human-risk.html) --- */
.risk-recommendations {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border-light);
  border-radius: var(--border-radius-lg);
  padding: var(--sp-6);
  margin-top: var(--sp-6);
  box-shadow: var(--shadow-card);
}

.risk-recommendations h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-4);
  color: var(--color-dark);
}

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

.risk-recommendations ul li {
  padding: var(--sp-3) 0;
  padding-left: var(--sp-5);
  position: relative;
  border-bottom: 1px solid var(--glass-border-light);
  line-height: 1.6;
}

.risk-recommendations ul li:last-child {
  border-bottom: none;
}

.risk-recommendations ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-teal);
  font-weight: 700;
}

/* --- Quiz Form (human-risk.html) --- */
.quiz-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.quiz-question__text {
  margin-bottom: var(--sp-2);
}

/* --- Calculator Form (prevention.html) --- */
.calc-form {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  align-items: flex-end;
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  flex: 1;
  min-width: 200px;
}

.calc-field label {
  font-weight: 500;
  font-size: var(--fs-sm);
  color: var(--color-dark);
}

.calc-field select,
.calc-field input {
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--glass-border-light);
  border-radius: var(--border-radius-sm);
  font-family: inherit;
  font-size: var(--fs-base);
  background: #fff;
  color: var(--color-dark);
  transition: border-color var(--transition);
}

.calc-field select:focus,
.calc-field input:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.15);
}

.calc-result {
  margin-top: var(--sp-4);
  padding: var(--sp-5);
  border-radius: var(--border-radius-md);
  background: rgba(78, 205, 196, 0.08);
  border: 1px solid rgba(78, 205, 196, 0.2);
  font-size: var(--fs-base);
  line-height: 1.6;
}
