@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ==========================================================================
   SPADERAN PHARMACEUTICALS - 2026 Enterprise Design System
   Inspirations: Apple, Stripe, Linear, Vercel, Pfizer
   ========================================================================== */

:root {
  /* Colors - Dark Canvas */
  --bg-dark: #030712;
  --bg-dark-card: #0b0f19;
  --bg-dark-card-hover: #111827;
  --bg-dark-border: rgba(255, 255, 255, 0.08);

  /* Colors - Light Canvas */
  --bg-light: #ffffff;
  --bg-light-alt: #f8fafc;
  --bg-light-card: #ffffff;
  --bg-light-border: rgba(15, 23, 42, 0.08);

  /* Primary Brand Accents */
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #60a5fa;
  --primary-glow: rgba(37, 99, 235, 0.35);

  /* Therapeutic Accents */
  --accent-algo: #ef4444;       /* Pain Relief */
  --accent-gastra: #10b981;     /* Gastro Care */
  --accent-diabetixs: #0284c7;  /* Diabetes Care */
  --accent-pulse: #8b5cf6;      /* Cardiac Care */
  --accent-nutra: #f97316;      /* Nutraceuticals */
  --accent-breathe: #ec4899;    /* Respiratory */

  /* Text Colors */
  --text-heading-dark: #f8fafc;
  --text-body-dark: #94a3b8;
  --text-muted-dark: #64748b;

  --text-heading-light: #0f172a;
  --text-body-light: #334155;
  --text-muted-light: #64748b;

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

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  /* Shadows & Effects */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 12px 24px -6px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 24px 48px -12px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 50px -10px var(--primary-glow);

  /* Glassmorphism */
  --glass-dark: rgba(11, 15, 25, 0.75);
  --glass-dark-border: rgba(255, 255, 255, 0.1);
  --glass-light: rgba(255, 255, 255, 0.8);
  --glass-light-border: rgba(255, 255, 255, 0.5);

  /* Grid & Layout */
  --container-max: 1280px;
  --header-height: 80px;
}

/* ==========================================================================
   Base & Resets
   ========================================================================== */

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

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

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

/* ==========================================================================
   Theme Transition Layer
   Smooth 400ms ease on all theme-sensitive properties.
   Applied globally so every element animates when data-theme changes.
   ========================================================================== */

body,
body *,
body *::before,
body *::after {
  transition:
    background-color 0.4s ease,
    color 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease,
    fill 0.4s ease,
    stroke 0.4s ease;
}

/* Opt-out: elements that need instant or custom transitions */
.btn,
.nav-link,
.dropdown-item,
.bento-card,
.product-card,
.science-card,
.showcase-window,
.div-tab-btn,
.float-btn,
.brand-logo,
.product-img {
  transition:
    background-color 0.4s ease,
    color 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease,
    transform 0.3s cubic-bezier(0.16, 0.8, 0.3, 1);
}

/* ==========================================================================
   LIGHT THEME OVERRIDES  [data-theme="light"]
   The default (:root) values are tuned for the dark hero / dark-first design.
   This block flips ONLY the semantic tokens so every component picks up the
   light palette automatically—no layout, spacing, or structure changes.
   ========================================================================== */

[data-theme="light"] {
  /* Canvas & surfaces */
  --bg-dark: #f8fafc;
  --bg-dark-card: #ffffff;
  --bg-dark-card-hover: #f1f5f9;
  --bg-dark-border: rgba(15, 23, 42, 0.1);

  --bg-light: #ffffff;
  --bg-light-alt: #f1f5f9;
  --bg-light-card: #ffffff;
  --bg-light-border: rgba(15, 23, 42, 0.1);

  /* Text in "dark sections" now reads dark-on-light */
  --text-heading-dark: #0f172a;
  --text-body-dark: #475569;
  --text-muted-dark: #94a3b8;

  /* Text in light sections (unchanged semantic names) */
  --text-heading-light: #0f172a;
  --text-body-light: #334155;
  --text-muted-light: #64748b;

  /* Primary stays the same — always vibrant */
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #3b82f6;
  --primary-glow: rgba(37, 99, 235, 0.2);

  /* Shadows — softer for light canvas */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 12px 24px -6px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 24px 48px -12px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 40px -10px rgba(37, 99, 235, 0.15);

  /* Glassmorphism */
  --glass-dark: rgba(255, 255, 255, 0.85);
  --glass-dark-border: rgba(15, 23, 42, 0.08);
  --glass-light: rgba(255, 255, 255, 0.9);
  --glass-light-border: rgba(15, 23, 42, 0.08);
}

/* ---- Hero ---- */
[data-theme="light"] .hero-cinematic {
  background: linear-gradient(180deg, #e0e7ff 0%, #f8fafc 100%);
}

[data-theme="light"] .hero-bg-glow {
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
}

[data-theme="light"] .gradient-text {
  background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---- Navbar ---- */
[data-theme="light"] .brand-title {
  color: #0f172a;
}

[data-theme="light"] .nav-link {
  color: #475569;
}

[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
  color: #0f172a;
  background: rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .dropdown-menu {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .dropdown-item {
  color: #475569;
}

[data-theme="light"] .dropdown-item:hover {
  background: rgba(15, 23, 42, 0.04);
  color: #0f172a;
}

[data-theme="light"] .mobile-nav-toggle span {
  background: #0f172a;
}

/* ---- Eyebrow badges inside dark-themed sections ---- */
[data-theme="light"] .eyebrow-badge-dark {
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  border-color: rgba(37, 99, 235, 0.18);
}

/* ---- Showcase Window & Division Tabs ---- */
[data-theme="light"] .showcase-window {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 32px 64px -16px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .showcase-info h3 {
  color: #0f172a;
}

[data-theme="light"] .showcase-image-wrap {
  background: #f1f5f9;
  border-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .div-tab-btn {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.1);
  color: #475569;
}

[data-theme="light"] .div-tab-btn:hover {
  background: rgba(15, 23, 42, 0.08);
  color: #0f172a;
}

/* Active tab keeps its dynamic color — no override needed */

/* ---- Stats Bar (light mode: dark glass → white glass, already correct) ---- */

/* ---- Science Cards (dark pillar section → light) ---- */
[data-theme="light"] .science-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-sm);
}

[data-theme="light"] .science-card:hover {
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: var(--shadow-lg);
}

[data-theme="light"] .science-card h4 {
  color: #0f172a;
}

[data-theme="light"] .science-card p {
  color: #475569;
}

/* ---- CTA Banner ---- */
[data-theme="light"] .cta-banner-glass {
  background: linear-gradient(135deg, #e0e7ff 0%, #dbeafe 100%);
  border-color: rgba(37, 99, 235, 0.15);
  box-shadow: 0 32px 64px -16px rgba(37, 99, 235, 0.1);
}

[data-theme="light"] .cta-text h3 {
  color: #0f172a;
}

[data-theme="light"] .cta-text p {
  color: #475569;
}

/* ---- Footer ---- */
[data-theme="light"] .site-footer {
  background: #0f172a;
}

/* ---- Buttons inside dark sections ---- */
[data-theme="light"] .btn-secondary {
  background: #f1f5f9;
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .btn-secondary:hover {
  background: #e2e8f0;
  border-color: rgba(15, 23, 42, 0.2);
}

[data-theme="light"] .btn-glass {
  background: rgba(15, 23, 42, 0.04);
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.15);
}

[data-theme="light"] .btn-glass:hover {
  background: rgba(15, 23, 42, 0.08);
  border-color: rgba(15, 23, 42, 0.25);
}

/* ==========================================================================
   Theme Toggle Button (Apple/Linear inspired)
   ========================================================================== */

.theme-toggle {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease;
  overflow: hidden;
  flex-shrink: 0;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: scale(1.08);
}

.theme-toggle:active {
  transform: scale(0.95);
}

[data-theme="light"] .theme-toggle {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .theme-toggle:hover {
  background: rgba(15, 23, 42, 0.08);
  border-color: rgba(15, 23, 42, 0.2);
}

/* Sun & Moon icon container */
.theme-toggle-icons {
  position: relative;
  width: 20px;
  height: 20px;
}

.theme-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.4s ease,
    transform 0.4s cubic-bezier(0.16, 0.8, 0.3, 1);
}

.theme-icon svg {
  width: 18px;
  height: 18px;
}

/* Dark mode (default): show moon, hide sun */
.theme-icon-sun {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}

.theme-icon-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.theme-icon-moon svg {
  fill: none;
  stroke: #e2e8f0;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.theme-icon-sun svg {
  fill: none;
  stroke: #f59e0b;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Light mode: show sun, hide moon */
[data-theme="light"] .theme-icon-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

[data-theme="light"] .theme-icon-moon {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

/* ==========================================================================
   Typography & Badges
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-heading);
  color: var(--text-heading-light);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 700;
}

.heading-hero {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.heading-xl {
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 800;
}

.heading-lg {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 700;
}

.heading-md {
  font-size: 1.35rem;
  font-weight: 700;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-blue {
  background: linear-gradient(135deg, #60a5fa 0%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-coral {
  background: linear-gradient(135deg, #ff7060 0%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  border: 1px solid rgba(37, 99, 235, 0.18);
}

.eyebrow-badge-dark {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.eyebrow-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
}

/* ==========================================================================
   Layout Containers & Utilities
   ========================================================================== */

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

.container-narrow {
  max-width: 960px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-body-dark);
}

.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 {
  color: var(--text-heading-dark);
}

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

/* Section Header Alignment */
.section-head {
  margin-bottom: 56px;
}

.section-head.center {
  text-align: center;
}

.section-head.center .eyebrow-badge {
  margin: 0 auto 16px;
}

.section-head p {
  margin-top: 16px;
  font-size: 1.125rem;
  color: var(--text-muted-light);
  max-width: 640px;
}

.section-dark .section-head p {
  color: var(--text-body-dark);
}

.section-head.center p {
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   Buttons (Linear & Apple Style Capsule CTAs)
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.925rem;
  letter-spacing: -0.01em;
  transition: all 0.3s cubic-bezier(0.16, 0.8, 0.3, 1);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  color: #ffffff;
  box-shadow: 0 12px 24px -8px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px -10px var(--primary-glow);
}

.btn-secondary {
  background: var(--bg-dark-card);
  color: #ffffff;
  border: 1px solid var(--bg-dark-border);
}

.btn-secondary:hover {
  background: var(--bg-dark-card-hover);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--text-heading-light);
  border: 1px solid var(--bg-light-border);
}

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

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
}

/* ==========================================================================
   Header & Glass Navigation (Vercel/Stripe Inspired Navbar)
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: var(--glass-dark);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-dark-border);
  height: 72px;
}

.site-header .nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  height: 44px;
  width: auto;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

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

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

.brand-title {
  font-family: var(--ff-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.02em;
}

.brand-subtitle {
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  color: var(--primary-light);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 3px;
}

/* Navigation Links */
.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body-dark);
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
}

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

.nav-link .caret {
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
  opacity: 0.7;
}

/* Dropdown Menu */
.nav-item-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 280px;
  background: var(--bg-dark-card);
  border: 1px solid var(--bg-dark-border);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.16, 0.8, 0.3, 1);
  z-index: 100;
}

.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-body-dark);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.dropdown-item .badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  padding: 8px;
}

.mobile-nav-toggle span {
  width: 100%;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ==========================================================================
   Apple-Style Hero & Interactive Division Switcher
   ========================================================================== */

.hero-cinematic {
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 80px;
  background: radial-gradient(circle at 50% 20%, #0d1530 0%, var(--bg-dark) 70%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(60px);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  margin: 0 auto 60px;
}

.hero-content .eyebrow-badge {
  margin-bottom: 24px;
}

.hero-content h1 {
  margin-bottom: 24px;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-body-dark);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-actions-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Linear-Style Interactive Division Switcher Showcase */
.division-showcase-bar {
  position: relative;
  z-index: 2;
  margin-top: 40px;
}

.division-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.div-tab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-body-dark);
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.16, 0.8, 0.3, 1);
}

.div-tab-btn .tab-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.div-tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.div-tab-btn.active {
  background: var(--active-color, var(--primary));
  border-color: var(--active-color, var(--primary));
  color: #ffffff;
  box-shadow: 0 0 24px var(--active-glow, var(--primary-glow));
}

/* Showcase Display Card (Vercel Style Glass Window) */
.showcase-window {
  background: var(--bg-dark-card);
  border: 1px solid var(--bg-dark-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 32px 64px -16px rgba(0, 0, 0, 0.6);
  padding: 40px;
  min-height: 380px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s ease;
}

.showcase-window::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--active-color, var(--primary));
  transition: background 0.4s ease;
}

.showcase-info h3 {
  font-size: 2rem;
  margin-bottom: 8px;
  color: #ffffff;
}

.showcase-info .tagline {
  font-size: 1rem;
  font-weight: 600;
  color: var(--active-color, var(--primary-light));
  margin-bottom: 16px;
}

.showcase-info p {
  color: var(--text-body-dark);
  font-size: 1rem;
  margin-bottom: 28px;
  line-height: 1.6;
}

.showcase-image-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--bg-dark-border);
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  aspect-ratio: 4 / 3;
}

.showcase-image-wrap img {
  max-height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.4));
  transition: transform 0.5s ease;
}

.showcase-window:hover .showcase-image-wrap img {
  transform: scale(1.06);
}

/* ==========================================================================
   Live Stats Panel (Glass Floating Bar)
   ========================================================================== */

.stats-bar-floating {
  margin-top: -50px;
  position: relative;
  z-index: 10;
}

.stats-glass-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--glass-light);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-light-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 28px;
  gap: 16px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 16px;
  border-right: 1px solid var(--bg-light-border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

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

.stat-number {
  font-family: var(--ff-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-heading-light);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.775rem;
  font-weight: 600;
  color: var(--text-muted-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}

/* ==========================================================================
   Bento Grid Layout (Divisions & Features)
   ========================================================================== */

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

.bento-card {
  background: var(--bg-light-card);
  border: 1px solid var(--bg-light-border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 0.8, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--card-accent, var(--primary));
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

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

.bento-card .card-icon-img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  margin-bottom: 24px;
  border: 1px solid var(--bg-light-border);
}

.bento-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.bento-card .tagline {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--card-accent, var(--primary));
  margin-bottom: 14px;
}

.bento-card p {
  color: var(--text-muted-light);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.bento-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--card-accent, var(--primary));
  margin-top: auto;
  transition: gap 0.2s ease;
}

.bento-card:hover .card-link {
  gap: 10px;
}

/* ==========================================================================
   Product Showcase & Catalog (Stripe/Linear Inspired Grid)
   ========================================================================== */

.product-search-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-light-card);
  border: 1px solid var(--bg-light-border);
  border-radius: var(--radius-pill);
  padding: 8px 8px 8px 24px;
  box-shadow: var(--shadow-md);
  margin-bottom: 40px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.product-search-bar input {
  flex: 1;
  font-size: 1rem;
  color: var(--text-heading-light);
}

.product-search-bar input::placeholder {
  color: var(--text-muted-light);
}

.product-search-bar .search-icon {
  color: var(--text-muted-light);
  font-size: 1.1rem;
}

/* Product Cards Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--bg-light-card);
  border: 1px solid var(--bg-light-border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all 0.3s cubic-bezier(0.16, 0.8, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.3);
}

.product-card .sku-badge {
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--bg-light-alt);
  color: var(--text-muted-light);
  align-self: flex-start;
  margin-bottom: 16px;
  border: 1px solid var(--bg-light-border);
}

.product-card .product-img {
  width: 100%;
  height: 140px;
  object-fit: contain;
  margin-bottom: 16px;
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

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

.product-card h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: var(--text-heading-light);
}

.product-card .composition {
  font-size: 0.85rem;
  color: var(--text-muted-light);
  line-height: 1.5;
  margin-bottom: 20px;
  flex: 1;
}

.product-card .card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--bg-light-border);
}

.product-card .enquire-btn {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.product-card .enquire-btn:hover {
  color: var(--primary-hover);
}

/* ==========================================================================
   Why Spaderan (Pfizer Style Dark Pillars)
   ========================================================================== */

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

.science-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--bg-dark-border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  transition: all 0.35s ease;
}

.science-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
}

.science-card .step-number {
  font-family: var(--ff-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: 20px;
  display: inline-block;
}

.science-card h4 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: #ffffff;
}

.science-card p {
  color: var(--text-body-dark);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ==========================================================================
   Partnership CTA Band
   ========================================================================== */

.cta-banner-glass {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 32px 64px -16px rgba(0, 0, 0, 0.4);
}

.cta-banner-glass::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  pointer-events: none;
}

.cta-text {
  max-width: 560px;
  position: relative;
  z-index: 2;
}

.cta-text h3 {
  font-size: 2.2rem;
  color: #ffffff;
  margin-bottom: 12px;
}

.cta-text p {
  color: var(--text-body-dark);
  font-size: 1.1rem;
}

.cta-action {
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   Footer (Vercel Style Enterprise Footer)
   ========================================================================== */

.site-footer {
  background: var(--bg-dark);
  color: var(--text-body-dark);
  padding: 80px 0 36px;
  border-top: 1px solid var(--bg-dark-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand .brand {
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--text-muted-dark);
  font-size: 0.9rem;
  margin-bottom: 24px;
  max-width: 300px;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  font-family: var(--ff-mono);
  font-size: 0.725rem;
  color: #10b981;
}

.status-indicator .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.footer-col h5 {
  color: #ffffff;
  font-size: 0.95rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-body-dark);
  transition: color 0.2s ease;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 36px;
  border-top: 1px solid var(--bg-dark-border);
  font-size: 0.85rem;
  color: var(--text-muted-dark);
}

/* Floating Action Triggers */
.floating-actions {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 990;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease;
  font-size: 1.25rem;
}

.float-btn:hover {
  transform: scale(1.1);
}

.float-whatsapp {
  background: #25d366;
}

.float-call {
  background: var(--primary);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-cinematic {
    min-height: auto;
  }

  .showcase-window {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .stats-glass-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .stat-item {
    border-right: none;
  }

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

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

@media (max-width: 768px) {
  .site-header .main-nav {
    display: none;
  }

  .mobile-nav-toggle {
    display: flex;
  }

  .stats-glass-grid {
    grid-template-columns: 1fr;
  }

  .bento-grid-3, .science-grid {
    grid-template-columns: 1fr;
  }

  .cta-banner-glass {
    flex-direction: column;
    text-align: center;
    padding: 40px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}