/* ==========================================================================
   Uyirkudil Official Website Stylesheet (uyirkudil.in)
   Executive-Grade Cognitive Science & Breathwork Architecture
   ========================================================================== */

:root,
[data-theme="dark"] {
  --bg-dark: #060a12;
  --bg-darker: #04070d;
  --bg-card: rgba(14, 23, 42, 0.82);
  --bg-card-solid: #0d1527;
  --bg-card-hover: rgba(22, 35, 62, 0.9);
  --nav-bg: rgba(6, 10, 18, 0.82);
  --nav-bg-scrolled: rgba(6, 10, 18, 0.96);

  --mesh-1: rgba(16, 185, 129, 0.16);
  --mesh-2: rgba(6, 182, 212, 0.08);
  --mesh-3: rgba(99, 102, 241, 0.06);

  --primary: #10b981;
  --primary-light: #34d399;
  --primary-dark: #059669;
  --primary-glow: rgba(16, 185, 129, 0.35);

  --accent: #fbbf24;
  --accent-light: #fde047;
  --accent-dark: #d97706;
  --accent-glow: rgba(245, 158, 11, 0.25);

  --cyan: #06b6d4;
  --purple: #8b5cf6;
  --indigo: #6366f1;

  --text-main: #f8fafc;
  --text-body: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --border: rgba(255, 255, 255, 0.09);
  --border-glow: rgba(16, 185, 129, 0.3);
  --border-hover: rgba(52, 211, 153, 0.35);

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --container-width: 1240px;

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-ta: 'Anek Tamil', 'Plus Jakarta Sans', sans-serif;

  /* Theme-specific tokens */
  --input-bg: rgba(255, 255, 255, 0.05);
  --input-color: #f8fafc;
  --input-border: rgba(255, 255, 255, 0.12);
  --select-option-bg: #0d1527;
  --select-option-color: #f8fafc;

  --btn-outline-color: #f8fafc;
  --btn-outline-border: rgba(255, 255, 255, 0.15);
  --btn-outline-hover-bg: rgba(255, 255, 255, 0.08);

  --theme-toggle-bg: rgba(255, 255, 255, 0.06);
  --theme-toggle-hover: rgba(255, 255, 255, 0.12);
  --theme-toggle-border: rgba(255, 255, 255, 0.12);

  --card-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.7);
  --card-hover-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.85), 0 0 35px rgba(16, 185, 129, 0.15);

  --pacer-card-bg: linear-gradient(180deg, rgba(16, 26, 46, 0.88) 0%, rgba(10, 16, 30, 0.96) 100%);
  --pacer-card-border: rgba(52, 211, 153, 0.25);
  --tabs-nav-bg: rgba(14, 23, 42, 0.75);
  --science-bar-bg: linear-gradient(135deg, rgba(15, 24, 44, 0.95) 0%, rgba(9, 14, 26, 0.98) 100%);
  --modal-card-bg: linear-gradient(180deg, #0e172a 0%, #090e1a 100%);
  --modal-overlay-bg: rgba(4, 7, 14, 0.85);
}

[data-theme="light"] {
  --bg-dark: #f8fafc;
  --bg-darker: #f1f5f9;
  --bg-card: #ffffff;
  --bg-card-solid: #ffffff;
  --bg-card-hover: #f1f5f9;
  --nav-bg: rgba(255, 255, 255, 0.88);
  --nav-bg-scrolled: rgba(255, 255, 255, 0.98);

  --mesh-1: rgba(16, 185, 129, 0.08);
  --mesh-2: rgba(6, 182, 212, 0.04);
  --mesh-3: rgba(99, 102, 241, 0.03);

  --primary: #047857;
  --primary-light: #059669;
  --primary-dark: #064e3b;
  --primary-glow: rgba(4, 120, 87, 0.2);

  --accent: #d97706;
  --accent-light: #b45309;
  --accent-dark: #92400e;
  --accent-glow: rgba(217, 119, 6, 0.15);

  --cyan: #0891b2;
  --purple: #7c3aed;
  --indigo: #4f46e5;

  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-dim: #94a3b8;

  --border: #e2e8f0;
  --border-glow: rgba(4, 120, 87, 0.2);
  --border-hover: #cbd5e1;

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --input-bg: #ffffff;
  --input-color: #0f172a;
  --input-border: #cbd5e1;
  --select-option-bg: #ffffff;
  --select-option-color: #0f172a;

  --btn-outline-color: #0f172a;
  --btn-outline-border: #cbd5e1;
  --btn-outline-hover-bg: #f1f5f9;

  --theme-toggle-bg: #f1f5f9;
  --theme-toggle-hover: #e2e8f0;
  --theme-toggle-border: #cbd5e1;

  --card-shadow: 0 16px 40px -10px rgba(15, 23, 42, 0.08);
  --card-hover-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15);

  --pacer-card-bg: #ffffff;
  --pacer-card-border: #e2e8f0;
  --tabs-nav-bg: #e2e8f0;
  --science-bar-bg: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  --modal-card-bg: #ffffff;
  --modal-overlay-bg: rgba(15, 23, 42, 0.65);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(1200px 600px at 50% -100px, var(--mesh-1), transparent 70%),
    radial-gradient(800px 500px at 90% 20%, var(--mesh-2), transparent 60%),
    radial-gradient(900px 600px at 10% 70%, var(--mesh-3), transparent 60%);
  background-attachment: fixed;
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
  letter-spacing: -0.015em;
}

/* Tamil Typography */
html[lang="ta"], body.lang-ta, [lang="ta"], .font-ta {
  font-family: var(--font-ta);
}
body.lang-ta h1, body.lang-ta h2, body.lang-ta h3, body.lang-ta h4, body.lang-ta h5, body.lang-ta .hero-title {
  font-family: var(--font-ta);
}

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

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.navbar.scrolled {
  background: var(--nav-bg-scrolled);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.4);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 16px;
}

/* Brand Logo */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.brand-logo-img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
  border: 1px solid var(--border);
  display: block;
  transition: var(--transition);
}

.nav-brand:hover .brand-logo-img {
  transform: scale(1.06);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  line-height: 1.15;
}

.brand-subtitle {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-light);
  margin-top: 1px;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 6px 10px;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.06);
}
[data-theme="light"] .nav-link:hover, [data-theme="light"] .nav-link.active {
  background: #f1f5f9;
  color: var(--primary);
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-store-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--primary-light);
  font-size: 12.5px;
  font-weight: 700;
  transition: var(--transition);
}
[data-theme="light"] .btn-store-nav {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}
.btn-store-nav:hover {
  background: rgba(16, 185, 129, 0.2);
  transform: translateY(-1px);
}

.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--theme-toggle-bg);
  border: 1px solid var(--theme-toggle-border);
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
  font-size: 15px;
  flex-shrink: 0;
}
.theme-toggle-btn:hover {
  background: var(--theme-toggle-hover);
  border-color: var(--primary-light);
  transform: translateY(-1px);
}

[data-theme="light"] .theme-icon-light { display: none !important; }
[data-theme="light"] .theme-icon-dark { display: inline-block !important; }
:root .theme-icon-dark, [data-theme="dark"] .theme-icon-dark { display: none !important; }
:root .theme-icon-light, [data-theme="dark"] .theme-icon-light { display: inline-block !important; }

/* Language Switch */
.lang-switch {
  display: flex;
  background: var(--theme-toggle-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 2px;
}
.lang-btn {
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}
.lang-btn.active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

/* Primary & Outline Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  font-family: inherit;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.5);
}

.btn-outline {
  background: var(--btn-outline-hover-bg);
  color: var(--btn-outline-color);
  border-color: var(--btn-outline-border);
}
.btn-outline:hover {
  border-color: var(--primary-light);
  transform: translateY(-2px);
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-main);
  font-size: 20px;
  border-radius: 8px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* Beta Badge */
.badge-beta {
  display: inline-flex;
  align-items: center;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.35);
  line-height: 1.2;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding-top: 140px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.hero-glow-1 {
  position: absolute;
  top: 8%;
  left: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.18) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  top: 25%;
  right: 5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, transparent 70%);
  filter: blur(90px);
  pointer-events: none;
}

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

/* Hero Pill Badge */
.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: 22px;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.15);
}
[data-theme="light"] .hero-badge-pill {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: var(--primary-light);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary-light);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 20px;
  color: var(--text-main);
  letter-spacing: -0.025em;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #34d399 0%, #10b981 50%, #6ee7b7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
[data-theme="light"] .hero-title .gradient-text {
  background: linear-gradient(135deg, #047857 0%, #059669 50%, #065f46 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 16.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

/* Store Downloads in Hero */
.hero-store-downloads {
  margin-bottom: 34px;
}

.store-badge-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 10px;
}

.store-buttons-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-main);
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
}
[data-theme="light"] .btn-store {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.btn-store:hover {
  transform: translateY(-2px);
  border-color: var(--primary-light);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.3);
}

.store-icon {
  flex-shrink: 0;
}

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

.store-sub {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

.store-title {
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
}

.store-badge-pill {
  font-size: 8.5px;
  font-weight: 800;
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 1px 5px;
  border-radius: 9999px;
  letter-spacing: 0.05em;
}

/* Hero Stats Tiles */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.stat-tile {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 10px;
  text-align: center;
  transition: var(--transition);
}
[data-theme="light"] .stat-tile {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.stat-tile:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  margin-bottom: 2px;
}
[data-theme="light"] .stat-num {
  background: linear-gradient(135deg, #047857 0%, #065f46 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 2px;
}

.stat-sub {
  font-size: 9.5px;
  color: var(--text-dim);
}

/* ==========================================================================
   Hero Interactive Breathing Visualizer Console
   ========================================================================== */
.pacer-card {
  background: var(--pacer-card-bg);
  border: 1px solid var(--pacer-card-border);
  border-radius: 26px;
  padding: 34px 28px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--card-shadow), 0 0 50px -15px rgba(16, 185, 129, 0.15);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pacer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #059669, #10b981, #06b6d4, #8b5cf6);
}

.pacer-header {
  margin-bottom: 22px;
}

.pacer-header h4 {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.pacer-header p {
  font-size: 12.5px;
  color: var(--text-muted);
}

.pacer-circle-wrapper {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto 22px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pacer-halo {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.28) 0%, transparent 70%);
  transform: scale(0.8);
  transition: transform 4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.pacer-ring-track {
  position: absolute;
  width: 194px;
  height: 194px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.06);
}
[data-theme="light"] .pacer-ring-track {
  border-color: #f1f5f9;
}

.pacer-ring {
  position: absolute;
  width: 194px;
  height: 194px;
  border-radius: 50%;
  border: 4px solid transparent;
  border-top-color: var(--primary-light);
  border-right-color: var(--primary-light);
  transform: rotate(0deg);
  transition: all 4s ease-in-out;
}

.pacer-inner {
  width: 144px;
  height: 144px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.45) 0%, rgba(16, 185, 129, 0.2) 100%);
  border: 1px solid rgba(52, 211, 153, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 0 24px rgba(16, 185, 129, 0.25);
  transition: transform 4s cubic-bezier(0.4, 0, 0.2, 1);
}
[data-theme="light"] .pacer-inner {
  background: linear-gradient(135deg, rgba(240, 253, 244, 0.9) 0%, rgba(209, 250, 229, 0.9) 100%);
  border-color: #a7f3d0;
  box-shadow: 0 4px 16px rgba(4, 120, 87, 0.15);
}

.pacer-phase {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 800;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pacer-timer {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1;
  margin-top: 2px;
}

.pacer-pattern-desc {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 2px;
  font-weight: 600;
}

.pacer-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.pacer-controls .btn {
  padding: 8px 18px;
  font-size: 13px;
}

.pacer-hint {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 14px;
}

/* ==========================================================================
   Section Common
   ========================================================================== */
.section-padding {
  padding: 84px 0;
}

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

.section-head {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 50px auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary-light);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}
[data-theme="light"] .section-tag {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}

.section-title {
  font-size: 38px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Stakeholder Personas & Plans Section
   ========================================================================== */
.tabs-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 36px;
  background: var(--tabs-nav-bg);
  padding: 6px;
  border-radius: var(--radius-full);
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
}

.tab-btn {
  flex: 1;
  padding: 9px 16px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: inherit;
}

.tab-btn.active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

.tab-pane {
  display: none;
  animation: fadeIn 0.4s ease;
}
.tab-pane.active {
  display: block;
}

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

.tab-content-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 42px;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(16px);
}

.tab-info h3 {
  font-size: 27px;
  color: var(--text-main);
  margin-top: 10px;
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}

.tab-info .tab-lead {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 22px;
}

.pricing-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 22px;
}
[data-theme="light"] .pricing-pill {
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.pricing-pill .price {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-light);
}
[data-theme="light"] .pricing-pill .price {
  color: #047857;
}

.pricing-pill .unit {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 600;
}

.feature-list {
  list-style: none;
  margin-bottom: 28px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-body);
  margin-bottom: 12px;
  line-height: 1.5;
}

.feature-list .check {
  color: var(--primary-light);
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 1px;
}

.tab-visual {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.5);
}

.tab-visual img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   Neuroscience Bar
   ========================================================================== */
.science-bar {
  background: var(--science-bar-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(16px);
}

.science-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.science-item {
  border-left: 2px solid var(--border);
  padding-left: 18px;
}

.science-item:first-child {
  border-left: 3px solid var(--primary-light);
}

.science-item .source {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-light);
  margin-bottom: 6px;
}

.science-item h4 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.science-item p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Platform Features Grid
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

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

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
  border: 1px solid transparent;
}

.icon-emerald {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.28);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.2);
}
.icon-gold {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.28);
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.2);
}
.icon-cyan {
  background: rgba(6, 182, 212, 0.12);
  border-color: rgba(6, 182, 212, 0.28);
  box-shadow: 0 4px 16px rgba(6, 182, 212, 0.2);
}
.icon-purple {
  background: rgba(139, 92, 246, 0.12);
  border-color: rgba(139, 92, 246, 0.28);
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.2);
}

.feature-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.feature-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   Collateral & 10 Pamphlets Showcase Banner
   ========================================================================== */
.suite-banner {
  background: linear-gradient(135deg, rgba(6, 78, 59, 0.9) 0%, rgba(15, 23, 42, 0.85) 60%, rgba(30, 27, 75, 0.85) 100%);
  border: 1px solid rgba(52, 211, 153, 0.28);
  border-radius: var(--radius-lg);
  padding: 44px 48px;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
  color: #ffffff;
}
[data-theme="light"] .suite-banner {
  background: linear-gradient(135deg, #064e3b 0%, #0f172a 60%, #1e1b4b 100%);
  border-color: rgba(4, 120, 87, 0.3);
  box-shadow: 0 16px 40px -10px rgba(15, 23, 42, 0.12);
}

.suite-banner-content h3 {
  font-size: 30px;
  font-weight: 800;
  color: #ffffff;
  margin-top: 12px;
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}

.suite-banner-content p {
  font-size: 15.5px;
  color: rgba(240, 253, 244, 0.92);
  line-height: 1.6;
  max-width: 820px;
  margin-bottom: 26px;
}

.suite-btn-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Mobile App Download Section
   ========================================================================== */
.app-download-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(16px);
}

.app-download-content h2 {
  font-size: 34px;
  font-weight: 800;
  color: var(--text-main);
  margin-top: 14px;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.app-download-content p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 26px;
}

.download-perks {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.perk-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary-light);
}

.app-download-mockup {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.6);
}

.mockup-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   FAQ Section (Everything You Need to Know)
   ========================================================================== */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
[data-theme="light"] .faq-item {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.faq-item:hover {
  border-color: var(--border-hover);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.faq-item.open,
.faq-item.active {
  border-color: var(--primary-light);
  background: var(--bg-card-hover);
  box-shadow: 0 10px 30px -10px rgba(16, 185, 129, 0.25);
}
[data-theme="light"] .faq-item.open,
[data-theme="light"] .faq-item.active {
  background: #f8fafc;
  border-color: #059669;
  box-shadow: 0 10px 25px -5px rgba(5, 150, 105, 0.12);
}

.faq-question {
  width: 100%;
  padding: 22px 26px;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  font-family: var(--font-heading);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text-main);
  text-align: left;
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease;
  outline: none;
}
.faq-question:focus-visible {
  outline: 2px solid var(--primary-light);
  outline-offset: -2px;
}

.faq-item.open .faq-question,
.faq-item.active .faq-question {
  color: var(--primary-light);
}
[data-theme="light"] .faq-item.open .faq-question,
[data-theme="light"] .faq-item.active .faq-question {
  color: #047857;
}

.faq-icon-wrapper {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease, border-color 0.3s ease;
}

.faq-icon {
  font-size: 20px;
  line-height: 1;
  color: var(--primary-light);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
  display: inline-block;
}

.faq-item.open .faq-icon-wrapper,
.faq-item.active .faq-icon-wrapper {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.4);
}

.faq-item.open .faq-icon,
.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, padding 0.3s ease;
  padding: 0 26px;
}

.faq-item.open .faq-answer,
.faq-item.active .faq-answer {
  max-height: 600px;
  opacity: 1;
  padding: 0 26px 24px 26px;
}

.faq-answer p {
  font-size: 14.5px;
  color: var(--text-body);
  line-height: 1.7;
  margin: 0;
}
[data-theme="light"] .faq-answer p {
  color: #334155;
}

/* ==========================================================================
   Scientific Citations & Clinical Dossier Section
   ========================================================================== */
.citations-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  margin-top: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}
[data-theme="light"] .citations-box {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}

.citations-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.citations-title-group h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.citations-title-group p {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.citations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.citation-card {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}
[data-theme="light"] .citation-card {
  background: #f8fafc;
  border-color: #e2e8f0;
}
.citation-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-light);
  box-shadow: 0 8px 24px -6px rgba(0, 0, 0, 0.2);
}

.citation-card-top {
  margin-bottom: 14px;
}

.citation-ref-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--primary-light);
  border: 1px solid rgba(16, 185, 129, 0.25);
  margin-bottom: 8px;
}
[data-theme="light"] .citation-ref-pill {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}

.citation-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 6px;
}

.citation-authors {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 4px;
}
[data-theme="light"] .citation-authors {
  color: #b45309;
}

.citation-journal {
  font-size: 11.5px;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.citation-desc {
  font-size: 12.5px;
  color: var(--text-body);
  line-height: 1.55;
}
[data-theme="light"] .citation-desc {
  color: #475569;
}

.citation-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  font-size: 11.5px;
}

.citation-tag {
  color: var(--text-dim);
  font-weight: 600;
}

.citation-link {
  color: var(--primary-light);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.citation-link:hover {
  color: var(--accent);
}

.verified-stamp {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  color: var(--primary-light);
}

.stat-citation-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  color: var(--primary-light);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 1px 5px;
  border-radius: 4px;
  margin-top: 3px;
  letter-spacing: 0.02em;
}
[data-theme="light"] .stat-citation-badge {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 30px 0;
  background: var(--bg-darker);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-col h5 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-main);
  margin-bottom: 16px;
}

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

.footer-links li {
  margin-bottom: 10px;
  font-size: 13.5px;
  color: var(--text-muted);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   Founding Cohort Modal
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--modal-overlay-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.modal-card {
  background: var(--modal-card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 38px;
  max-width: 540px;
  width: 100%;
  position: relative;
  box-shadow: 0 25px 70px -15px rgba(0, 0, 0, 0.85);
  animation: modalSlide 0.3s ease;
}

@keyframes modalSlide {
  from { transform: scale(0.95) translateY(10px); }
  to { transform: scale(1) translateY(0); }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text-main);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: var(--transition);
}
.modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-body);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  font-size: 13.5px;
  border-radius: var(--radius-sm);
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  color: var(--input-color);
  font-family: inherit;
  transition: var(--transition);
  outline: none;
}

.form-group select option {
  background-color: var(--select-option-bg) !important;
  color: var(--select-option-color) !important;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

/* ==========================================================================
   Mobile Navigation Drawer & Backdrop
   ========================================================================== */
.mobile-nav-backdrop {
  position: fixed;
  top: 74px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(4, 7, 14, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-theme="light"] .mobile-nav-backdrop {
  background: rgba(15, 23, 42, 0.4);
}

.mobile-nav-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-drawer {
  position: fixed;
  top: 74px;
  left: 0;
  right: 0;
  background: var(--nav-bg-scrolled);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  z-index: 999;
  padding: 24px 20px 32px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: calc(100vh - 74px);
  overflow-y: auto;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}
[data-theme="light"] .mobile-nav-drawer {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
  border-bottom-color: #e2e8f0;
}

.mobile-nav-drawer.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  transition: var(--transition);
  text-decoration: none;
}
[data-theme="light"] .mobile-nav-link {
  background: #f8fafc;
  color: #1e293b;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.25);
  color: var(--primary-light);
  transform: translateX(4px);
}
[data-theme="light"] .mobile-nav-link:hover,
[data-theme="light"] .mobile-nav-link:active {
  background: #ecfdf5;
  color: #047857;
  border-color: #a7f3d0;
}

.mobile-nav-link .arrow {
  font-size: 13px;
  color: var(--text-dim);
}

.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.mobile-nav-support {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 8px;
}
.mobile-nav-support a {
  color: var(--primary-light);
  font-weight: 700;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1120px) {
  .nav-links {
    gap: 14px;
  }
  .nav-link {
    font-size: 12.5px;
    padding: 5px 8px;
  }
}

@media (max-width: 1024px) {
  .nav-links {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex !important;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-title {
    font-size: 42px;
  }
  .tab-content-grid {
    grid-template-columns: 1fr;
  }
  .science-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .citations-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .app-download-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  #headerCtaBtn {
    display: none !important;
  }
  .hero-title {
    font-size: 34px;
    line-height: 1.18;
  }
  .hero-desc {
    font-size: 15px;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .science-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .citations-box {
    padding: 24px 18px;
  }
  .citations-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .modal-card {
    padding: 26px 20px;
    max-width: 95vw;
    max-height: 90vh;
    overflow-y: auto;
  }
  .tabs-nav {
    overflow-x: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding: 5px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .tabs-nav::-webkit-scrollbar {
    display: none;
  }
  .tab-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 8px 14px;
    font-size: 13px;
  }
}

@media (max-width: 520px) {
  .container {
    padding: 0 16px;
  }
  .nav-container {
    height: 66px;
    gap: 8px;
  }
  .brand-logo-img {
    width: 36px;
    height: 36px;
  }
  .brand-name {
    font-size: 18px;
  }
  .brand-subtitle {
    display: none !important;
  }
  #navGetAppBtn {
    display: none !important;
  }
  .hero {
    padding-top: 100px;
    padding-bottom: 50px;
  }
  .hero-title {
    font-size: 29px;
  }
  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta-group .btn {
    width: 100%;
    text-align: center;
  }
  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .stat-tile {
    padding: 10px 6px;
  }
  .stat-num {
    font-size: 22px;
  }
  .pacer-card {
    padding: 24px 14px;
  }
  .pacer-circle-wrapper {
    width: 190px;
    height: 190px;
    margin-bottom: 18px;
  }
  .pacer-ring-track,
  .pacer-ring {
    width: 168px;
    height: 168px;
  }
  .pacer-inner {
    width: 124px;
    height: 124px;
  }
  .pacer-timer {
    font-size: 25px;
  }
  .pacer-controls {
    flex-direction: column;
    gap: 8px;
  }
  .pacer-controls .btn {
    width: 100%;
  }
  .faq-question {
    padding: 18px 18px;
    font-size: 15px;
  }
  .faq-answer {
    padding: 0 18px;
  }
  .faq-item.open .faq-answer,
  .faq-item.active .faq-answer {
    padding: 0 18px 20px 18px;
  }
  .section-padding {
    padding: 56px 0;
  }
  .section-title {
    font-size: 28px;
  }
}
