/* ==========================================================================
   PROMOVIA - Design System (Light Theme Default & Dark Theme Support)
   ========================================================================== */

:root {
  /* LIGHT THEME (DEFAULT) */
  --theme: light;
  --bg-main: #f8fafc;
  --bg-gradient-mesh-1: rgba(14, 165, 233, 0.08);
  --bg-gradient-mesh-2: rgba(249, 115, 22, 0.06);
  --bg-gradient-mesh-3: rgba(99, 102, 241, 0.05);

  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-solid: #ffffff;
  --bg-card-hover: rgba(255, 255, 255, 0.98);
  --bg-surface: #ffffff;
  --bg-input: #f1f5f9;
  --bg-inset: #f8fafc;
  
  --nav-bg: rgba(255, 255, 255, 0.88);
  --nav-border: rgba(226, 232, 240, 0.8);
  --top-bar-bg: linear-gradient(90deg, rgba(14, 165, 233, 0.1), rgba(249, 115, 22, 0.1));

  --primary: #0284c7;
  --primary-glow: rgba(14, 165, 233, 0.25);
  --primary-light: #0ea5e9;
  --primary-dark: #0369a1;

  --accent-orange: #ea580c;
  --accent-orange-glow: rgba(234, 88, 12, 0.25);
  --accent-orange-light: #f97316;
  
  --accent-cyan: #0891b2;
  --accent-indigo: #4f46e5;
  --accent-emerald: #059669;

  --text-title: #0f172a;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-subtle: #94a3b8;

  --border-glass: rgba(226, 232, 240, 0.9);
  --border-glass-hover: rgba(14, 165, 233, 0.4);
  --border-glass-orange: rgba(249, 115, 22, 0.4);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.12);
  --shadow-glow-cyan: 0 8px 30px rgba(14, 165, 233, 0.15);
  --shadow-glow-orange: 0 8px 30px rgba(249, 115, 22, 0.15);

  --spotlight-bg: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(14, 165, 233, 0.06) 50%, rgba(255, 255, 255, 0.95) 100%);
  --spotlight-border: rgba(99, 102, 241, 0.2);
  --footer-bg: #0f172a;
  --footer-text: #f1f5f9;
  --footer-muted: #94a3b8;

  --chart-grid: rgba(0, 0, 0, 0.06);
  --chart-text: #64748b;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* DARK THEME */
[data-theme="dark"] {
  --theme: dark;
  --bg-main: #070d18;
  --bg-gradient-mesh-1: rgba(14, 165, 233, 0.08);
  --bg-gradient-mesh-2: rgba(249, 115, 22, 0.06);
  --bg-gradient-mesh-3: rgba(99, 102, 241, 0.06);

  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-solid: #0f172a;
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --bg-surface: #0f172a;
  --bg-input: rgba(0, 0, 0, 0.35);
  --bg-inset: rgba(0, 0, 0, 0.4);

  --nav-bg: rgba(7, 13, 24, 0.88);
  --nav-border: rgba(255, 255, 255, 0.08);
  --top-bar-bg: linear-gradient(90deg, rgba(14, 165, 233, 0.15), rgba(249, 115, 22, 0.15));

  --primary: #0284c7;
  --primary-glow: rgba(14, 165, 233, 0.35);
  --primary-light: #38bdf8;
  --primary-dark: #0369a1;

  --accent-orange: #f97316;
  --accent-orange-glow: rgba(249, 115, 22, 0.35);
  --accent-orange-light: #fb923c;
  
  --accent-cyan: #06b6d4;
  --accent-indigo: #6366f1;
  --accent-emerald: #10b981;

  --text-title: #ffffff;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;

  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-hover: rgba(56, 189, 248, 0.3);
  --border-glass-orange: rgba(249, 115, 22, 0.3);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.5);
  --shadow-glow-cyan: 0 0 35px rgba(14, 165, 233, 0.25);
  --shadow-glow-orange: 0 0 35px rgba(249, 115, 22, 0.25);

  --spotlight-bg: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(14, 165, 233, 0.08) 50%, rgba(15, 23, 42, 0.8) 100%);
  --spotlight-border: rgba(99, 102, 241, 0.3);
  --footer-bg: #030712;
  --footer-text: #f1f5f9;
  --footer-muted: #94a3b8;

  --chart-grid: rgba(255, 255, 255, 0.05);
  --chart-text: #94a3b8;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
  background-image: 
    radial-gradient(circle at 15% 15%, var(--bg-gradient-mesh-1) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, var(--bg-gradient-mesh-2) 0%, transparent 45%),
    radial-gradient(circle at 50% 90%, var(--bg-gradient-mesh-3) 0%, transparent 50%);
  background-attachment: fixed;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-light);
}

/* Typography utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-title);
  letter-spacing: -0.02em;
}

p {
  color: var(--text-muted);
}

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

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Hero Medical Regulatory Notice (Inside Hero Content) */
.hero-rx-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.9rem 1.2rem;
  margin: 1.3rem 0 1.8rem 0;
  background: rgba(254, 242, 242, 0.78);
  border: 1.5px solid rgba(239, 68, 68, 0.28);
  border-radius: 14px;
  box-shadow: 0 6px 20px -4px rgba(239, 68, 68, 0.08), 0 2px 6px rgba(0, 0, 0, 0.02);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition-normal);
}

[data-theme="dark"] .hero-rx-card {
  background: rgba(45, 10, 15, 0.65);
  border-color: rgba(248, 113, 113, 0.3);
  box-shadow: 0 6px 22px -4px rgba(239, 68, 68, 0.16);
}

.hero-rx-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 10px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #dc2626;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

[data-theme="dark"] .hero-rx-icon {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border-color: rgba(248, 113, 113, 0.35);
}

.hero-rx-body {
  flex: 1;
  min-width: 0;
}

.hero-rx-main {
  font-size: 0.81rem;
  line-height: 1.32;
  color: var(--text-main);
  margin: 0 0 0.25rem 0;
}

.hero-rx-sub {
  font-size: 0.73rem;
  font-weight: 600;
  line-height: 1.25;
  color: #dc2626;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

[data-theme="dark"] .hero-rx-sub {
  color: #fca5a5;
}

@media (max-width: 768px) {
  .hero-rx-card {
    padding: 0.85rem 1rem;
    gap: 0.75rem;
    margin: 1.1rem 0 1.5rem 0;
  }
  .hero-rx-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
  }
  .hero-rx-main {
    font-size: 0.76rem;
    line-height: 1.28;
  }
  .hero-rx-sub {
    font-size: 0.69rem;
    line-height: 1.22;
  }
}

/* Navbar (Compact & Modern) */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--nav-border);
  transition: var(--transition-normal);
}

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

.brand-group {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-logo {
  height: 44px;
  max-width: 200px;
  width: auto;
  object-fit: contain;
  display: block;
  border-radius: 6px;
  transition: transform var(--transition-fast);
}

.brand-link:hover .brand-logo {
  transform: scale(1.02);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  position: relative;
  padding: 0.35rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-orange);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-light), var(--accent-orange));
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

/* Modern Theme Switcher Pill */
.theme-switch-btn {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

.theme-switch-track {
  position: relative;
  width: 58px;
  height: 30px;
  border-radius: 999px;
  background: var(--bg-inset);
  border: 1px solid var(--border-glass);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px;
  box-sizing: border-box;
  transition: background 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.theme-switch-btn:hover .theme-switch-track {
  border-color: var(--primary-light);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08), 0 0 10px var(--primary-glow);
}

.theme-switch-icon {
  position: relative;
  z-index: 2;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease, opacity 0.3s ease;
}

.theme-switch-icon.icon-sun {
  color: #f59e0b; /* Vibrant amber sun in light mode */
  opacity: 1;
  transform: scale(1.05);
}

.theme-switch-icon.icon-moon {
  color: #94a3b8; /* Soft slate moon in light mode */
  opacity: 0.55;
  transform: scale(0.85);
}

.theme-switch-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16), 0 0 1px rgba(0, 0, 0, 0.2);
  z-index: 1;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease, box-shadow 0.3s ease;
}

/* Dark Mode Theme Switcher Active State */
[data-theme="dark"] .theme-switch-track {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .theme-switch-thumb {
  transform: translateX(28px);
  background: #0f172a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .theme-switch-icon.icon-sun {
  color: #64748b;
  opacity: 0.45;
  transform: scale(0.85);
}

[data-theme="dark"] .theme-switch-icon.icon-moon {
  color: #38bdf8; /* Glowing celestial cyan in dark mode */
  opacity: 1;
  transform: scale(1.15);
  filter: drop-shadow(0 0 4px rgba(56, 189, 248, 0.5));
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--accent-orange);
  padding: 0.42rem 0.75rem;
  background: rgba(249, 115, 22, 0.08);
  border: 1px solid rgba(249, 115, 22, 0.2);
  border-radius: 10px;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.nav-phone:hover {
  background: rgba(249, 115, 22, 0.15);
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow-orange);
}

.btn-nav-cta {
  padding: 0.45rem 1.1rem !important;
  font-size: 0.85rem !important;
  border-radius: 10px !important;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-orange-light), var(--accent-orange));
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.75rem 1.4rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 4px 15px var(--accent-orange-glow);
  transition: var(--transition-normal);
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--accent-orange-glow);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-title);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.75rem 1.4rem;
  border-radius: 12px;
  border: 1px solid var(--border-glass);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  white-space: nowrap;
}

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

/* Scroll Progress Bar */
.scroll-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--primary-light), var(--accent-orange), var(--accent-indigo));
  z-index: 1001;
  transition: width 0.1s ease-out;
}

/* Hamburger / Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  color: var(--text-title);
  width: 38px;
  height: 38px;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.hamburger-box {
  width: 18px;
  height: 12px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background-color: var(--text-title);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}
.mobile-menu-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.active .hamburger-line:nth-child(3) {
  transform: translateY(-5px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 62px;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  height: calc(100vh - 62px);
  background: var(--nav-bg);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-top: 1px solid var(--nav-border);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.2rem;
  gap: 1.2rem;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
  overflow-y: auto;
}

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

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-title);
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  background: rgba(249, 115, 22, 0.08);
  border-color: var(--accent-orange);
  color: var(--accent-orange);
}

.mobile-drawer-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-glass);
}

/* Section Header Shared */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-orange);
  background: rgba(249, 115, 22, 0.08);
  border: 1px solid rgba(249, 115, 22, 0.25);
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.section-tag.cyan {
  color: var(--accent-cyan);
  background: rgba(8, 145, 178, 0.08);
  border-color: rgba(8, 145, 178, 0.25);
}

.section-tag.indigo {
  color: var(--accent-indigo);
  background: rgba(79, 70, 229, 0.08);
  border-color: rgba(79, 70, 229, 0.25);
}

.section-tag.emerald {
  color: var(--accent-emerald);
  background: rgba(5, 150, 105, 0.08);
  border-color: rgba(5, 150, 105, 0.25);
}

.section-title {
  font-size: clamp(1.8rem, 3.8vw, 3rem);
  font-weight: 800;
  margin-bottom: 1.2rem;
  color: var(--text-title);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 720px;
  margin-bottom: 3rem;
  line-height: 1.7;
}

.text-center {
  text-align: center;
}
.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  padding: 4.5rem 0 5.5rem;
  overflow: hidden;
}

.hero-glow-1 {
  position: absolute;
  top: 10%;
  left: 5%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  top: 20%;
  right: 5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-orange-glow) 0%, transparent 70%);
  filter: blur(70px);
  pointer-events: none;
}

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

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.2rem;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-glass);
}

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

.stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-title);
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
  line-height: 1.4;
}

/* Hero Visual Showcase */
.hero-visual {
  position: relative;
  z-index: 2;
}

.product-hero-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--shadow-lg), var(--shadow-glow-cyan);
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
}

.product-hero-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glass-hover);
}

.card-top-tag {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.3);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  text-transform: uppercase;
}

.product-hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1rem 0 1.5rem;
  min-height: 240px;
}

.product-hero-image {
  max-width: 100%;
  max-height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.15));
  transition: transform var(--transition-normal);
}

[data-theme="dark"] .product-hero-image {
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.6));
}

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

.product-hero-info h3 {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}

.product-hero-info p {
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
  color: var(--text-muted);
}

.product-spec-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.spec-pill {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  background: var(--bg-inset);
  border: 1px solid var(--border-glass);
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  color: var(--text-main);
  font-weight: 500;
}

.product-switcher-tab {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--bg-inset);
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  padding: 0.35rem;
  gap: 0.35rem;
  margin-top: 1rem;
}

.switch-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.55rem 0.3rem;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: center;
  white-space: nowrap;
}

.switch-btn.active {
  background: var(--bg-card-solid);
  color: var(--accent-orange);
  box-shadow: var(--shadow-sm);
  font-weight: 700;
}

/* ==========================================================================
   PRODUCT LINEUP CATALOG & DOSAGES SECTION
   ========================================================================== */
.product-catalog-section {
  position: relative;
}

.product-filter-container {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filter-tab-btn {
  padding: 0.65rem 1.3rem;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.filter-tab-btn:hover {
  color: var(--text-main);
  border-color: var(--primary-light);
  transform: translateY(-2px);
}

.filter-tab-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 6px 16px rgba(0, 102, 204, 0.25);
}

.product-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.product-card-modern {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.product-card-modern:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-glass-hover);
}

.product-card-modern.hidden-by-filter {
  display: none !important;
}

.product-card-img-box {
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.05) 0%, rgba(0, 201, 167, 0.05) 100%);
  border-radius: 18px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

[data-theme="dark"] .product-card-img-box {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.product-card-img-box img {
  max-width: 100%;
  max-height: 180px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.12));
  transition: transform 0.3s ease;
}

[data-theme="dark"] .product-card-img-box img {
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.65));
}

.product-card-modern:hover .product-card-img-box img {
  transform: scale(1.06);
}

.product-card-body {
  padding: 1.2rem 0.3rem 0.3rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
}

.product-card-tagline {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-orange);
  margin-bottom: 1.1rem;
}

.product-card-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex-grow: 1;
}

.product-card-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.45;
}

.check-icon-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 800;
  margin-top: 2px;
}

.product-card-footer {
  margin-top: auto;
  display: flex;
  gap: 0.6rem;
}

.product-btn-specs {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1.5px solid var(--border-glass-hover);
  background: transparent;
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-fast);
  text-align: center;
  text-decoration: none;
}

.product-btn-specs:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.product-btn-order {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: none;
  background: var(--gradient-accent);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: var(--transition-fast);
}

.product-btn-order:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.35);
}

/* ==========================================================================
   WHAT IS PROMOVIA & MECHANISM SECTION
   ========================================================================== */
.section {
  padding: 5.5rem 0;
  position: relative;
}

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

.bento-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 2.2rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

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

.bento-card.col-6 { grid-column: span 6; }
.bento-card.col-4 { grid-column: span 4; }
.bento-card.col-8 { grid-column: span 8; }
.bento-card.col-12 { grid-column: span 12; }

.bento-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  background: rgba(14, 165, 233, 0.1);
  color: var(--primary);
  border: 1px solid rgba(14, 165, 233, 0.25);
  transition: var(--transition-fast);
}

.bento-card:hover .bento-icon {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.bento-icon .bento-svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  stroke-width: 2.2;
}

.bento-icon.orange {
  background: rgba(249, 115, 22, 0.1);
  color: var(--accent-orange);
  border-color: rgba(249, 115, 22, 0.25);
}

.bento-icon.indigo {
  background: rgba(99, 102, 241, 0.1);
  color: var(--accent-indigo);
  border-color: rgba(99, 102, 241, 0.25);
}

.bento-icon.emerald {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent-emerald);
  border-color: rgba(16, 185, 129, 0.25);
}

.bento-icon.cyan {
  background: rgba(6, 182, 212, 0.1);
  color: #0891b2;
  border-color: rgba(6, 182, 212, 0.25);
}

[data-theme="dark"] .bento-icon.cyan {
  color: #22d3ee;
}

.bento-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.8rem;
}

.bento-card p {
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ==========================================================================
   INTERACTIVE JOINTS SECTION (Суглоби)
   ========================================================================== */
.joints-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.joint-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
}

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

.joint-image-box {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--bg-inset);
  position: relative;
}

.joint-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.joint-card:hover .joint-image {
  transform: scale(1.05);
}

.joint-badge {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  z-index: 5;
  background: var(--nav-bg);
  backdrop-filter: blur(8px);
  padding: 0.3rem 0.65rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-title);
  border: 1px solid var(--border-glass);
  pointer-events: none;
}

.joint-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

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

.joint-content p {
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

.joint-badges-grid {
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-glass);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.joint-badge-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.35rem;
  padding: 0.65rem 0.4rem;
  border-radius: 12px;
  min-width: 0;
  transition: var(--transition-fast);
}

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

.joint-badge-card.blue {
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.22);
  color: #0284c7;
}

[data-theme="dark"] .joint-badge-card.blue {
  background: rgba(14, 165, 233, 0.15);
  border-color: rgba(14, 165, 233, 0.35);
  color: #38bdf8;
}

.joint-badge-card.amber {
  background: rgba(249, 115, 22, 0.08);
  border: 1px solid rgba(249, 115, 22, 0.22);
  color: #ea580c;
}

[data-theme="dark"] .joint-badge-card.amber {
  background: rgba(249, 115, 22, 0.15);
  border-color: rgba(249, 115, 22, 0.35);
  color: #fb923c;
}

.joint-badge-card .badge-svg-icon {
  width: 18px;
  height: 18px;
  display: block;
  margin: 0 auto;
  flex-shrink: 0;
  stroke: currentColor;
}

.joint-badge-card .badge-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  min-width: 0;
  line-height: 1.25;
}

.joint-badge-card .badge-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  margin-bottom: 2px;
  display: block;
  text-align: center;
  width: 100%;
}

.joint-badge-card.blue .badge-label {
  color: #0284c7;
}

[data-theme="dark"] .joint-badge-card.blue .badge-label {
  color: #38bdf8;
}

.joint-badge-card.amber .badge-label {
  color: #ea580c;
}

[data-theme="dark"] .joint-badge-card.amber .badge-label {
  color: #fb923c;
}

.joint-badge-card .badge-val {
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-main);
  text-align: center;
  display: block;
  width: 100%;
}

/* ==========================================================================
   BEFORE / AFTER & CLINICAL COMPARISON
   ========================================================================== */
/* ==========================================================================
   BEFORE / AFTER INTERACTIVE COMPARISON SLIDER
   ========================================================================== */
.ba-comparison-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.ba-slider-card {
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 1.25rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

.ba-viewer {
  position: relative;
  width: 100%;
  height: 320px;
  border-radius: 18px;
  overflow: hidden;
  background: radial-gradient(circle at center, rgba(37, 99, 235, 0.05) 0%, rgba(243, 244, 246, 0.6) 100%);
  border: 1px solid var(--border-glass);
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  cursor: ew-resize;
}

[data-theme="dark"] .ba-viewer {
  background: radial-gradient(circle at center, rgba(37, 99, 235, 0.12) 0%, rgba(15, 23, 42, 0.8) 100%);
}

.ba-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.ba-layer img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.2rem;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.08));
  user-select: none;
  pointer-events: none;
}

/* Clip Before Layer [0% .. pos%] */
.ba-layer-before {
  clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0);
  -webkit-clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0);
  z-index: 1;
}

/* Clip After Layer [pos% .. 100%] */
.ba-layer-after {
  clip-path: inset(0 0 0 var(--pos, 50%));
  -webkit-clip-path: inset(0 0 0 var(--pos, 50%));
  z-index: 2;
}

.ba-badge {
  position: absolute;
  top: 1rem;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  pointer-events: none;
  z-index: 5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.ba-badge.danger {
  left: 1rem;
  background: rgba(220, 38, 38, 0.92);
  color: #ffffff;
}

.ba-badge.success {
  right: 1rem;
  background: rgba(5, 150, 105, 0.92);
  color: #ffffff;
}

/* Draggable Divider Line & Handle */
.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos, 50%);
  width: 2px;
  transform: translateX(-50%);
  z-index: 6;
  pointer-events: none;
}

.ba-divider-line {
  width: 2px;
  height: 100%;
  background: #ffffff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4), 0 0 2px rgba(0, 0, 0, 0.8);
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  color: #1e293b;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 0 3px rgba(37, 99, 235, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  pointer-events: none;
}

.ba-viewer:hover .ba-handle,
.ba-viewer.is-dragging .ba-handle {
  transform: translate(-50%, -50%) scale(1.12);
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.45), 0 0 0 4px rgba(37, 99, 235, 0.5);
}

/* Range input accessible */
.ba-range {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Controls */
.ba-controls {
  margin-top: 0.85rem;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.ba-hint {
  width: 100%;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.2px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.comparison-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.comparison-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.comparison-card.bad {
  border-color: rgba(239, 68, 68, 0.3);
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.05) 0%, var(--bg-card) 100%);
}

.comparison-card.good {
  border-color: rgba(16, 185, 129, 0.35);
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.06) 0%, var(--bg-card) 100%);
}

.comparison-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.status-indicator.danger {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.status-indicator.success {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

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

.comparison-card p {
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ==========================================================================
   CHARTS & CLINICAL EVIDENCE SECTION
   ========================================================================== */
.charts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.chart-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.chart-header {
  margin-bottom: 1.5rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  word-break: break-word;
  overflow-wrap: break-word;
}

.chart-header h3 {
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
  word-break: break-word;
  overflow-wrap: break-word;
}

.chart-header p {
  font-size: 0.88rem;
  word-break: break-word;
  overflow-wrap: break-word;
}

.chart-canvas-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 280px;
  margin-bottom: 1.2rem;
  box-sizing: border-box;
  overflow: hidden;
}

.chart-canvas-wrapper canvas {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
  display: block;
}

.chart-insights {
  margin-top: auto;
  padding: 1rem;
  background: var(--bg-inset);
  border-radius: 14px;
  border: 1px solid var(--border-glass);
  font-size: 0.85rem;
  color: var(--text-muted);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  word-break: break-word;
  overflow-wrap: break-word;
}

.chart-insights strong {
  color: var(--primary);
}

/* ==========================================================================
   HYDRO BALANCE INNOVATION SPOTLIGHT
   ========================================================================== */
.spotlight-box {
  background: var(--spotlight-bg);
  border: 1px solid var(--spotlight-border);
  border-radius: 32px;
  padding: 3.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.spotlight-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.spotlight-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 2rem;
}

.spotlight-pill-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 1.2rem;
  box-shadow: var(--shadow-sm);
}

.spotlight-pill-item h4 {
  font-size: 1.05rem;
  color: var(--accent-indigo);
  margin-bottom: 0.35rem;
}

.spotlight-pill-item p {
  font-size: 0.85rem;
}

.spotlight-image-box {
  text-align: center;
  position: relative;
}

.spotlight-image-box > img {
  max-width: 100%;
  max-height: 380px;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
}

[data-theme="dark"] .spotlight-image-box > img {
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.7));
}

/* ==========================================================================
   SPECIFICATIONS & COMPOSITION SECTION
   ========================================================================== */
.spec-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.spec-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: 9999px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.spec-tab-btn:hover {
  color: var(--primary);
  border-color: rgba(14, 165, 233, 0.3);
  transform: translateY(-1px);
}

.spec-tab-btn.active {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: var(--primary);
  box-shadow: 0 4px 14px var(--primary-glow);
}

.spec-tab-pane {
  display: none;
}

.spec-tab-pane.active {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

.comparison-table-wrapper {
  overflow-x: auto;
  border-radius: 20px;
  border: 1px solid var(--border-glass);
  background: var(--bg-card);
  margin-top: 1rem;
  box-shadow: var(--shadow-sm);
}

.med-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.med-table th, .med-table td {
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--border-glass);
  vertical-align: middle;
}

.med-table th {
  background: var(--bg-inset);
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-title);
  white-space: nowrap;
}

.med-comparison-matrix {
  table-layout: fixed;
  width: 100%;
}

.med-comparison-matrix th,
.med-comparison-matrix td {
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
}

.th-prod-title {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
}

.th-prod-sub {
  font-size: 0.76rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-weight: 600;
}

.th-classic .th-prod-title {
  color: var(--primary);
}

.th-hydro .th-prod-title {
  color: var(--accent-indigo);
}

.med-table tr:hover td {
  background: rgba(14, 165, 233, 0.03);
}

.med-table .highlight-col {
  color: var(--accent-orange);
  font-weight: 600;
}

.med-table .highlight-hydro {
  color: var(--text-main);
  background: rgba(99, 102, 241, 0.03);
}

.med-spec-table tbody tr {
  transition: background 0.4s ease, transform 0.2s ease;
}

.med-spec-table tbody tr.row-highlighted {
  background: rgba(14, 165, 233, 0.15) !important;
  box-shadow: inset 0 0 0 2px var(--primary);
}

[data-theme="dark"] .med-spec-table tbody tr.row-highlighted {
  background: rgba(14, 165, 233, 0.25) !important;
  box-shadow: inset 0 0 0 2px var(--primary-light);
}

@media (max-width: 768px) {
  .med-table th, .med-table td {
    padding: 0.8rem 0.55rem;
    font-size: 0.82rem;
  }
  .th-prod-title {
    font-size: 0.9rem;
  }
  .th-prod-sub {
    font-size: 0.68rem;
  }
}

/* ==========================================================================
   LIFESTYLE & PATIENT CARE SECTION (Photos of People & Movement)
   ========================================================================== */
.lifestyle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  margin-top: 2rem;
}

.lifestyle-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

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

.lifestyle-img-box {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
  background: var(--bg-inset);
}

.lifestyle-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.lifestyle-card:hover .lifestyle-img {
  transform: scale(1.05);
}

.lifestyle-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 5;
  background: var(--nav-bg);
  backdrop-filter: blur(10px);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent-orange);
  border: 1px solid var(--border-glass);
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.lifestyle-content {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.lifestyle-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.lifestyle-content p {
  font-size: 0.92rem;
  line-height: 1.6;
}

.lab-photo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.lab-photo-box {
  border-radius: 16px;
  overflow: hidden;
  height: 180px;
  border: 1px solid var(--border-glass);
}

.lab-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1024px) {
  .lifestyle-grid {
    grid-template-columns: 1fr;
  }
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.trust-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  padding: 2.2rem 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.trust-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.trust-logo {
  height: 60px;
  object-fit: contain;
  margin-bottom: 1.2rem;
}

.trust-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.trust-card p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ==========================================================================
   FOOTER & FAST CONTACT BAR
   ========================================================================== */
.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  border-top: 1px solid var(--border-glass);
  padding: 5rem 0 2rem;
  position: relative;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  font-size: 0.9rem;
  margin: 1.2rem 0;
  line-height: 1.6;
  color: var(--footer-muted);
}

.footer-phones {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer-phone-btn {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.6rem 0.9rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  color: #ffffff;
  transition: var(--transition-fast);
}

.footer-phone-btn:hover {
  background: rgba(249, 115, 22, 0.2);
  border-color: var(--accent-orange-light);
  color: var(--accent-orange-light);
  transform: translateX(4px);
}

.footer-col h4 {
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
  color: #ffffff;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.9rem;
}

.footer-col ul a {
  color: var(--footer-muted);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: #94a3b8;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Floating Quick Action Bar */
.floating-bar {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.float-call-btn {
  background: linear-gradient(135deg, var(--accent-orange-light), var(--accent-orange));
  color: #ffffff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 8px 25px var(--accent-orange-glow);
  cursor: pointer;
  transition: var(--transition-bounce);
}

.float-call-btn:hover {
  transform: scale(1.1) rotate(12deg);
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background: rgba(3, 7, 18, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
  padding: 1.5rem;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass-hover);
  border-radius: 28px;
  padding: 2.5rem;
  max-width: 500px;
  width: 100%;
  box-shadow: var(--shadow-lg), 0 0 50px var(--primary-glow);
  position: relative;
  transform: scale(0.95);
  transition: transform var(--transition-bounce);
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: var(--bg-inset);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: var(--border-glass);
  color: var(--text-title);
}

/* Direct Contact Hub Modal */
.modal-rx-banner {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.85rem;
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid rgba(14, 165, 233, 0.22);
  border-radius: 12px;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.modal-rx-banner svg {
  color: var(--primary);
  flex-shrink: 0;
}

[data-theme="dark"] .modal-rx-banner {
  background: rgba(14, 165, 233, 0.12);
  border-color: rgba(56, 189, 248, 0.25);
  color: #94a3b8;
}

.direct-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin: 1rem 0;
}

.direct-contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.1rem;
  background: var(--bg-input);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  text-decoration: none;
  color: var(--text-title);
  transition: var(--transition-fast);
}

.direct-contact-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.direct-contact-card.primary {
  background: rgba(249, 115, 22, 0.08);
  border-color: rgba(249, 115, 22, 0.25);
}

.direct-contact-card.primary:hover {
  background: rgba(249, 115, 22, 0.15);
  border-color: var(--accent-orange);
}

.contact-icon {
  font-size: 1.4rem;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  flex-shrink: 0;
}

.contact-details {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 0.15rem;
}

.contact-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text-title);
}

.direct-contact-card.primary .contact-title {
  color: var(--accent-orange);
}

.contact-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.contact-action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-inset);
  border: 1px solid var(--border-glass);
  color: var(--primary);
  flex-shrink: 0;
  transition: transform var(--transition-fast), background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.direct-contact-card:hover .contact-action {
  transform: translateX(3px);
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.direct-contact-card.primary .contact-action {
  color: var(--accent-orange);
}

.direct-contact-card.primary:hover .contact-action {
  background: var(--accent-orange);
  color: #ffffff;
  border-color: var(--accent-orange);
}

.contact-hub-footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-glass);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.hub-info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}


/* ==========================================================================
   MOBILE & TOUCH OPTIMIZATIONS
   ========================================================================== */

/* Mobile Bottom Fixed Action Bar */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--nav-border);
  padding: 0.6rem 1rem calc(0.6rem + env(safe-area-inset-bottom, 0px));
  z-index: 998;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.mobile-bottom-bar .btn-call {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  color: var(--accent-orange);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.75rem 0.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

.mobile-bottom-bar .btn-order {
  flex: 1.2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, var(--accent-orange-light), var(--accent-orange));
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.75rem 0.5rem;
  border-radius: 12px;
  border: none;
  box-shadow: var(--shadow-glow-orange);
  cursor: pointer;
}

/* Table scroll indicator badge for mobile */
.table-scroll-hint {
  display: none;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-orange);
  background: rgba(249, 115, 22, 0.08);
  border: 1px solid rgba(249, 115, 22, 0.2);
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 0.8rem;
  text-align: center;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

/* Touch active micro-animations */
button:active, a:active {
  transform: scale(0.98);
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .bento-card.col-6, .bento-card.col-4, .bento-card.col-8 {
    grid-column: span 12;
  }
  .joints-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .comparison-wrapper, .charts-grid, .spotlight-grid {
    grid-template-columns: 1fr;
  }
  .product-catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-links {
    gap: 1.2rem;
  }
}

@media (max-width: 900px) {
  .nav-links, .nav-actions .nav-phone {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .brand-origin {
    display: none;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: calc(75px + env(safe-area-inset-bottom, 0px));
  }
  .mobile-bottom-bar {
    display: flex;
  }
  .floating-bar {
    display: none; /* Replaced by bottom action bar on mobile */
  }
  .table-scroll-hint {
    display: flex;
  }
  
  .top-bar {
    font-size: 0.72rem;
    gap: 0.4rem;
    padding: 0.35rem 0.6rem;
    line-height: 1.3;
  }
  .container {
    padding: 0 0.75rem;
  }

  .nav-container {
    height: 60px;
    padding: 0 0.75rem;
  }
  .mobile-drawer {
    top: 60px;
    height: calc(100vh - 60px);
    padding: 1.2rem 1rem calc(2rem + env(safe-area-inset-bottom, 0px));
  }
  .brand-logo {
    height: 36px;
    max-width: 160px;
  }

  .section {
    padding: 3.5rem 0;
  }

  .hero {
    padding: 2.2rem 0 3.2rem;
  }
  .hero-title {
    font-size: clamp(1.75rem, 6.5vw, 2.4rem);
    line-height: 1.2;
    margin-bottom: 1rem;
    word-break: break-word;
  }
  .hero-description {
    font-size: 0.98rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
  }
  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
    margin-bottom: 2rem;
  }
  .hero-cta-group .btn-primary, .hero-cta-group .btn-secondary {
    justify-content: center;
    width: 100%;
    padding: 0.85rem 1rem;
  }
  
  .hero-stats-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    padding-top: 1.5rem;
  }
  .stat-value {
    font-size: 1.65rem;
  }

  .product-hero-card {
    padding: 1.4rem 1rem;
    border-radius: 20px;
  }
  .product-hero-image-wrapper {
    min-height: 180px;
    margin: 0.5rem 0 1rem;
  }
  .product-hero-image {
    max-height: 170px;
  }
  .product-hero-info h3 {
    font-size: 1.2rem;
  }
  .switch-btn {
    font-size: 0.72rem;
    padding: 0.45rem 0.2rem;
  }

  .product-catalog-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .product-filter-container {
    gap: 0.4rem;
  }
  .filter-tab-btn {
    font-size: 0.8rem;
    padding: 0.5rem 0.9rem;
  }

  .bento-card {
    padding: 1.4rem 1.1rem;
    border-radius: 18px;
  }
  .bento-icon {
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    border-radius: 12px;
  }
  .bento-card h3 {
    font-size: 1.15rem;
  }

  .joints-container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .joint-card {
    border-radius: 16px;
  }
  .joint-image-box {
    height: 170px;
  }
  .joint-content {
    padding: 1.1rem;
  }

  .ba-viewer {
    height: 240px;
  }
  .ba-handle {
    width: 38px;
    height: 38px;
  }
  .ba-badge {
    font-size: 0.7rem;
    padding: 0.3rem 0.65rem;
    top: 0.6rem;
  }
  .ba-badge.danger {
    left: 0.6rem;
  }
  .ba-badge.success {
    right: 0.6rem;
  }

  .comparison-wrapper {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .comparison-card {
    padding: 1.4rem 1rem;
    border-radius: 18px;
  }

  .charts-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.2rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .chart-card {
    padding: 1.2rem 0.8rem;
    border-radius: 18px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
  }
  .chart-header h3 {
    font-size: 1.15rem;
    line-height: 1.35;
  }
  .chart-header p {
    font-size: 0.82rem;
    line-height: 1.45;
  }
  .chart-canvas-wrapper {
    height: 220px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .chart-insights {
    padding: 0.8rem;
    font-size: 0.8rem;
    line-height: 1.45;
  }

  .spotlight-box {
    padding: 1.8rem 1.1rem;
    border-radius: 22px;
  }
  .spotlight-features {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  .spotlight-pill-item {
    padding: 0.9rem;
  }
  .spotlight-image-box > img {
    max-height: 250px;
  }

  #specs .container,
  #composition .container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  /* Mobile: Hide Tab switcher and heavy 6-dosage table, show only clean Comparison Matrix */
  .spec-tabs-nav {
    display: none !important;
  }

  #specTabAll,
  #specs .table-scroll-hint {
    display: none !important;
  }

  #specTabComparison {
    display: block !important;
    animation: none !important;
  }

  #specTabComparison .comparison-table-wrapper {
    overflow-x: hidden;
    width: 100%;
    border-radius: 14px;
    margin-top: 1.2rem;
  }

  .med-comparison-matrix {
    width: 100% !important;
    table-layout: fixed !important;
  }

  .med-comparison-matrix th,
  .med-comparison-matrix td {
    padding: 0.65rem 0.32rem !important;
    font-size: 0.74rem !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto;
    vertical-align: top !important;
  }

  .med-comparison-matrix .th-crit {
    font-size: 0.74rem !important;
    line-height: 1.2 !important;
    font-weight: 700;
  }

  .med-comparison-matrix .th-prod-title {
    font-size: 0.8rem !important;
    line-height: 1.18 !important;
    margin-bottom: 0 !important;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .trust-card {
    padding: 1.4rem 1rem;
    border-radius: 16px;
  }

  .footer {
    padding: 3.5rem 0 2rem;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
  }

  /* Modal on Mobile: Bottom Sheet Style */
  .modal-overlay {
    align-items: flex-end;
    padding: 0;
  }
  .modal-content {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    max-height: 88vh;
    overflow-y: auto;
    padding: 1.8rem 1.2rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
    transform: translateY(100%);
  }
  .modal-overlay.active .modal-content {
    transform: translateY(0);
  }
  .form-control {
    font-size: 16px; /* Prevents auto zoom on iOS */
    padding: 0.75rem 0.9rem;
  }
}

