/* ================================================================
   Jin Lai Te Medical — Global Design System
   Based on Figma prototype + 医美设备品牌官网设计规范_综合版
   ================================================================ */

/* ─── Google Fonts ─── */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

/* ================================================================
   1. CSS Custom Properties (Design Tokens)
   ================================================================ */
:root {
  /* ── Brand Colors ── */
  --brand-primary: #009D4A;
  --brand-primary-dark: #007E3A;
  --brand-primary-light: #27B865;
  --brand-primary-50: #E6F5EC;
  --brand-primary-100: #CCEBD8;
  --bg-brand: #009D4A;

  /* ── Neutral Colors ── */
  --neutral-950: #111213;
  --neutral-900: #1e2124;
  --neutral-800: #31353a;
  --neutral-700: #454a4f;
  --neutral-600: #565b61;
  --neutral-500: #71787f;
  --neutral-400: #91979c;
  --neutral-300: #b4b8bb;
  --neutral-200: #d7dadc;
  --neutral-100: #f1f2f3;
  --neutral-050: #fafafa;
  --neutral-000: #ffffff;

  /* ── Semantic Colors ── */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafb;
  --bg-dark: #111213;
  --bg-blue: var(--bg-brand);
  --text-heading: #111827;
  --text-body: #454a4f;
  --text-muted: #6b7280;
  --text-white: #ffffff;
  --text-on-blue: #ffffff;
  --border-light: #e5e7eb;
  --border-medium: #d7dadc;

  /* ── Typography ── */
  --font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;

  /* ── Font Sizes (clamp for responsiveness) ── */
  --fs-display-1: clamp(48px, 3rem + 5vw, 88px);
  --fs-display-2: clamp(42px, 2.625rem + 3.5vw, 72px);
  --fs-display-3: clamp(36px, 2.25rem + 2.5vw, 56px);
  --fs-h1: clamp(40px, 2.5rem + 2.5vw, 64px);
  --fs-h2: clamp(32px, 2rem + 1.5vw, 48px);
  --fs-h3: clamp(28px, 1.75rem + 0.5vw, 36px);
  --fs-h4: clamp(24px, 1.5rem + 0.25vw, 28px);
  --fs-h5: clamp(22px, 1.375rem + 0.25vw, 24px);
  --fs-h6: 20px;
  --fs-body-lg: 18px;
  --fs-body: 17px;
  --fs-body-sm: 16px;
  --fs-xs: 15px;
  --fs-caption: 14px;

  /* ── Spacing ── */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 80px;
  --space-section: clamp(80px, 5rem + 3vw, 128px);
  --space-block: clamp(48px, 3rem + 2vw, 80px);

  /* ── Layout ── */
  --max-width: 1400px;
  --content-width: 900px;
  --page-padding: clamp(24px, 5vw, 100px);
  --header-height: 80px;

  /* ── Border Radius ── */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 40px;
  --radius-full: 100%;

  /* ── Shadows ── */
  --shadow-sm: 0px 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0px 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0px 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0px 16px 48px rgba(0, 0, 0, 0.16);
  --shadow-header: 0px 2px 20px rgba(0, 0, 0, 0.06);

  /* ── Transitions ── */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-elastic: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --duration-fast: 0.15s;
  --duration-normal: 0.3s;
  --duration-slow: 0.5s;
}


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

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

body {
  font-family: var(--font-body);
  font-size: var(--fs-body-lg);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-body);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-normal) var(--ease-out);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}


/* ================================================================
   3. Typography
   ================================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--text-heading);
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
h5 { font-size: var(--fs-h5); }
h6 { font-size: var(--fs-h6); }

.display-1 { font-size: var(--fs-display-1); font-weight: 300; line-height: 1.1; }
.display-2 { font-size: var(--fs-display-2); font-weight: 300; line-height: 1.15; }
.display-3 { font-size: var(--fs-display-3); font-weight: 300; line-height: 1.2; }

p {
  margin-bottom: 1em;
}

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

.text-muted { color: var(--text-muted); }
.text-white { color: var(--text-white); }
.text-brand { color: var(--brand-primary); }
.text-center { text-align: center; }

.label {
  display: inline-block;
  font-size: var(--fs-caption);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-primary);
}

.label-badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: var(--fs-caption);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--brand-primary);
  color: white;
  border-radius: var(--radius-sm);
}


/* ================================================================
   4. Layout Utilities
   ================================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--page-padding);
  padding-right: var(--page-padding);
}

@media (min-width: 1920px) {
  .container {
    max-width: 1600px;
  }
}

.container-narrow {
  max-width: var(--content-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--page-padding);
  padding-right: var(--page-padding);
}

.section {
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}

@media (min-width: 1920px) {
  .section {
    padding-top: 120px;
    padding-bottom: 120px;
  }
}

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

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

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

.section-blue {
  background-color: var(--bg-blue);
  color: var(--text-white);
  position: relative;
  overflow: hidden;
}

.section-blue h1,
.section-blue h2,
.section-blue h3 {
  color: var(--text-white);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-block);
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

@media (min-width: 1920px) {
  .grid-3 {
    gap: 40px;
  }
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

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

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


/* ================================================================
   5. Buttons
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1;
  border-radius: var(--radius-pill);
  transition: all var(--duration-normal) var(--ease-out);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: var(--brand-primary-dark);
  color: white;
  border: 1.5px solid var(--brand-primary-dark);
  box-shadow: 0 4px 12px rgba(0, 157, 74, 0.15);
}

.btn-primary:hover {
  background: var(--brand-primary-dark);
  border-color: var(--brand-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 157, 74, 0.28);
}

.btn-outline {
  background: transparent;
  color: var(--brand-primary);
  border: 1.5px solid var(--brand-primary-100);
}

.btn-outline:hover {
  border-color: var(--brand-primary);
  background: var(--brand-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 157, 74, 0.18);
}

.btn-white {
  background: white;
  color: var(--brand-primary);
  border: 2px solid white;
}

.btn-white:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.btn-white-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-white-outline:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: var(--fs-xs);
}

.btn-lg {
  padding: 18px 36px;
  font-size: var(--fs-body-lg);
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}


/* ================================================================
   6. Header & Navigation
   ================================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 9999;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Transparent state: over the hero banner ── */
.header-transparent {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.08) 70%, transparent 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  box-shadow: none;
}

.header-transparent .nav-link {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.header-transparent .nav-link:hover {
  color: #ffffff;
}

.header-transparent .nav-link.active {
  color: #ffffff;
}

.header-transparent .nav-link.active::after {
  background: #ffffff;
}

.header-transparent .logo img.logo-white {
  display: block;
}

.header-transparent .logo img.logo-dark {
  display: none;
}

.header-transparent .menu-toggle span {
  background: #ffffff;
}

.header-transparent .header-cta .btn {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
  backdrop-filter: blur(12px);
}

.header-transparent .header-cta .btn:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-1px);
}

/* ── Scrolled state: solid white background ── */
.header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06), 0 4px 20px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.header.scrolled .nav-link {
  color: var(--neutral-700);
  text-shadow: none;
}

.header.scrolled .nav-link:hover {
  color: var(--brand-primary);
}

.header.scrolled .nav-link.active {
  color: var(--brand-primary);
}

.header.scrolled .nav-link.active::after {
  background: var(--brand-primary);
}

.header.scrolled .menu-toggle span {
  background: var(--text-heading);
}

.header.scrolled .logo img.logo-white {
  display: none;
}

.header.scrolled .logo img.logo-dark {
  display: block;
}

.header.scrolled .header-cta .btn {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #ffffff;
  backdrop-filter: none;
}

.header.scrolled .header-cta .btn:hover {
  background: var(--brand-primary-dark);
  border-color: var(--brand-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 157, 74, 0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--page-padding);
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 50px;
  width: auto;
  display: block;
  transition: opacity 0.3s ease;
}

/* Default logo state: show white logo (for transparent header on hero pages) */
.logo img.logo-white {
  display: block;
}

.logo img.logo-dark {
  display: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: var(--neutral-700);
  padding: 6px 0;
  letter-spacing: 0.01em;
  transition: color var(--duration-normal) var(--ease-out);
}

.nav-link::after {
  content: "";
  position: absolute;
  height: 2px;
  background: var(--brand-primary);
  left: 50%;
  right: 50%;
  bottom: -4px;
  opacity: 0;
  border-radius: 1px;
  transition: left 0.3s var(--ease-elastic),
              right 0.3s var(--ease-elastic),
              opacity 0.3s ease;
}

.nav-link:hover {
  color: var(--brand-primary);
}

.nav-link:hover::after {
  left: 0;
  right: 0;
  opacity: 1;
}

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

.nav-link.active::after {
  left: 0;
  right: 0;
  opacity: 1;
}

.header-cta .btn {
  padding: 11px 26px;
  font-size: var(--fs-xs);
  font-weight: 600;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-heading);
  transition: all var(--duration-normal) var(--ease-out);
}


/* ================================================================
   7. Hero Section
   ================================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  margin-top: 0;
  padding: 0;
  z-index: 0;
}

/* Hero Carousel */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.8s ease-in-out, visibility 0s linear 0.8s;
  z-index: 1;
  margin-top: 0;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
  z-index: 2;
}

.hero-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(to bottom, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.1) 30%, transparent 55%),
    linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.2) 35%, transparent 65%);
  z-index: 1;
}

.hero-slide-content {
  position: absolute;
  bottom: 160px;
  left: 0;
  right: 0;
  z-index: 5;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--page-padding);
}

.hero-slide-content .hero-badge {
  display: inline-block;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: white;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero-slide-content .hero-title {
  font-size: clamp(48px, 5vw, 68px);
  line-height: 1.08;
  margin-bottom: 24px;
  letter-spacing: -0.025em;
  color: white;
  font-weight: 600;
  max-width: 720px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.hero-slide-content .hero-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 560px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}

/* Carousel Indicators */
.hero-carousel-indicators {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.hero-carousel-indicators .indicator {
  width: 40px;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hero-carousel-indicators .indicator.active {
  background: white;
  width: 60px;
}

.hero-carousel-indicators .indicator:hover {
  background: rgba(255, 255, 255, 0.7);
}

/* Carousel Arrows */
.hero-carousel-prev,
.hero-carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  color: white;
}

.hero-carousel-prev {
  left: 30px;
}

.hero-carousel-next {
  right: 30px;
}

.hero-carousel-prev:hover,
.hero-carousel-next:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-50%) scale(1.05);
}

.hero-carousel-prev svg,
.hero-carousel-next svg {
  width: 20px;
  height: 20px;
}

/* ================================================================
   8. Alternating Image-Text Sections
   ================================================================ */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 3rem + 2vw, 80px);
  align-items: center;
}

.feature-row.reverse {
  direction: rtl;
}

.feature-row.reverse > * {
  direction: ltr;
}

.feature-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.feature-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  transition: transform 0.6s var(--ease-out);
}

.feature-image:hover img {
  transform: scale(1.03);
}

.product-device-media {
  min-height: clamp(440px, 58vw, 680px);
  padding: clamp(28px, 4vw, 56px);
  background: linear-gradient(135deg, #f8fafb 0%, #e8ecf0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-device-media img {
  width: 100%;
  height: min(72vh, 600px);
  aspect-ratio: auto;
  object-fit: contain;
}

.feature-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 8px 16px;
  background: rgba(0, 157, 74, 0.9);
  backdrop-filter: blur(10px);
  color: white;
  font-size: var(--fs-caption);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-sm);
}

.feature-content {
  max-width: 520px;
}

.feature-label {
  margin-bottom: var(--space-md);
}

.feature-content h2 {
  margin-bottom: var(--space-lg);
}

.feature-content p {
  color: var(--text-body);
  line-height: 1.8;
}

.feature-list {
  margin-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: var(--fs-body);
  line-height: 1.6;
}

.feature-list li::before {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  background: var(--brand-primary-50);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23009D4A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: var(--space-lg);
  font-weight: 600;
  color: var(--brand-primary);
  font-size: var(--fs-body);
  position: relative;
  transition: color var(--duration-normal) var(--ease-out);
}

.feature-link svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.5px;
  transition: transform var(--duration-normal) var(--ease-out);
}

.feature-link:hover {
  color: var(--brand-primary-dark);
}

.feature-link:hover svg {
  transform: translateX(4px);
}

/* Stat card within feature */
.stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: var(--space-xl);
  padding: 20px 24px;
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.02);
}

.stat-card-icon {
  width: 48px;
  height: 48px;
  background: var(--brand-primary-50);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--brand-primary);
}

.stat-card-text {
  font-size: var(--fs-body-sm);
  font-weight: 600;
  color: var(--text-heading);
}


/* ================================================================
   9. Video Banner
   ================================================================ */
.video-banner {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.video-banner-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.video-banner-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-banner-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
}

.video-banner-content {
  position: relative;
  z-index: 1;
  padding: var(--space-section) var(--page-padding);
}

.video-banner-content h2 {
  font-size: var(--fs-display-2);
  color: white;
  margin-bottom: var(--space-xl);
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.play-btn {
  width: 80px;
  height: 80px;
  cursor: pointer;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-normal) var(--ease-out);
  cursor: pointer;
}

.play-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
  border-color: white;
}

.play-btn svg {
  width: 32px;
  height: 32px;
  color: white;
  margin-left: 4px;
}


/* ================================================================
   10. Product Cards / Carousel
   ================================================================ */
.products-carousel {
  position: relative;
}

.products-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-2xl);
}

.products-nav {
  display: flex;
  gap: 12px;
}

.products-nav button {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-normal) var(--ease-out);
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  color: var(--text-heading);
}

.products-nav button:hover {
  border-color: var(--brand-primary);
  color: white;
  background: var(--brand-primary);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 157, 74, 0.2);
}

.products-nav button svg {
  width: 20px;
  height: 20px;
}

.products-track {
  display: flex;
  gap: var(--space-lg);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: var(--space-md);
}

.products-track::-webkit-scrollbar {
  display: none;
}

.product-card {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 350px;
  scroll-snap-align: start;
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.02);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 157, 74, 0.15);
  box-shadow: 0 20px 38px rgba(0, 157, 74, 0.06), 0 4px 12px rgba(0, 0, 0, 0.02);
}

.product-card-image {
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: linear-gradient(135deg, #f8fafb 0%, #e8ecf0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.6s var(--ease-out);
}

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

.product-card-body {
  padding: var(--space-lg);
}

.product-card-body h3 {
  margin-bottom: 8px;
  font-weight: 500;
}

.product-card-body p {
  font-size: var(--fs-body-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.product-card-body .btn {
  width: 100%;
}


/* ================================================================
   11. News / Blog Cards
   ================================================================ */
.news-card {
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.02);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 157, 74, 0.15);
  box-shadow: 0 20px 38px rgba(0, 157, 74, 0.06), 0 4px 12px rgba(0, 0, 0, 0.02);
}

.news-card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

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

.news-card-body {
  padding: var(--space-lg);
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: var(--fs-caption);
  color: var(--text-muted);
}

.news-card-tag {
  display: inline-block;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--brand-primary-50);
  color: var(--brand-primary);
  border-radius: 4px;
}

.news-card-body h3 {
  font-size: var(--fs-h5);
  font-weight: 500;
  margin-bottom: 8px;
  line-height: 1.4;
}

.news-card-body p {
  font-size: var(--fs-body-sm);
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* ================================================================
   12. CTA Section
   ================================================================ */
.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(135deg, rgba(255,255,255,0.05) 25%, transparent 25%) -50px 0,
    linear-gradient(225deg, rgba(255,255,255,0.05) 25%, transparent 25%) -50px 0,
    linear-gradient(315deg, rgba(255,255,255,0.05) 25%, transparent 25%),
    linear-gradient(45deg, rgba(255,255,255,0.05) 25%, transparent 25%);
  background-size: 100px 100px;
  pointer-events: none;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  margin-bottom: var(--space-lg);
}

.cta-content p {
  font-size: var(--fs-body-lg);
  margin-bottom: var(--space-xl);
  opacity: 0.9;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-content .btn-group {
  justify-content: center;
}


/* ================================================================
   13. Footer
   ================================================================ */
.footer {
  background: var(--bg-dark);
  color: var(--neutral-400);
  padding-top: var(--space-section);
  padding-bottom: var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-section);
}

.footer-logo {
  display: inline-block;
  margin-bottom: 24px;
}

.footer-logo img {
  height: 50px;
  width: auto;
  display: block;
}

.footer-brand p {
  font-size: var(--fs-body-sm);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  max-width: 300px;
  color: var(--neutral-400);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid var(--neutral-800);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-400);
  transition: all var(--duration-normal) var(--ease-out);
}

.footer-social a:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
  background: rgba(0, 157, 74, 0.1);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--neutral-200);
  margin-bottom: var(--space-lg);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: var(--fs-xs);
  color: var(--neutral-400);
  transition: color var(--duration-normal) var(--ease-out);
}

.footer-col a:hover {
  color: var(--neutral-200);
}

.footer-subscribe {
  display: flex;
  gap: 8px;
  margin-top: var(--space-md);
}

.footer-subscribe input {
  flex: 1;
  padding: 10px 16px;
  border: 1px solid var(--neutral-800);
  border-radius: var(--radius-pill);
  background: transparent;
  color: white;
  font-size: var(--fs-xs);
  outline: none;
  transition: border-color var(--duration-normal) var(--ease-out);
}

.footer-subscribe input::placeholder {
  color: var(--neutral-600);
}

.footer-subscribe input:focus {
  border-color: var(--brand-primary);
}

.footer-subscribe button {
  padding: 10px 20px;
  background: var(--brand-primary);
  color: white;
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  font-weight: 500;
  transition: background var(--duration-normal) var(--ease-out);
}

.footer-subscribe button:hover {
  background: var(--brand-primary-dark);
}

.footer-bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid var(--neutral-800);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-caption);
}

.footer-bottom-links {







  
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: var(--neutral-500);
  font-size: var(--fs-caption);
}

.footer-bottom-links a:hover {
  color: var(--neutral-300);
}


/* ================================================================
   14. Page Hero (Sub-pages)
   ================================================================ */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-height) + 70px);
  padding-bottom: 70px;
  background-size: cover;
  background-position: center;
  color: var(--text-white);
  text-align: center;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: center;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
  z-index: 1;
}

.page-hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.page-hero .label {
  color: var(--brand-primary-light);
  margin-bottom: var(--space-md);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.page-hero h1 {
  color: var(--text-white);
  margin-bottom: var(--space-lg);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.page-hero p {
  font-size: var(--fs-body-lg);
  color: rgba(255, 255, 255, 0.9);
  max-width: 680px;
  margin: 0 auto;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
}


/* ================================================================
   15. Icon / Feature Cards
   ================================================================ */
.icon-card {
  padding: var(--space-xl);
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  transition: all var(--duration-normal) var(--ease-out);
}

.icon-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-primary-100);
}

.icon-card-icon {
  width: 56px;
  height: 56px;
  background: var(--brand-primary-50);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.icon-card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--brand-primary);
}

.icon-card h4 {
  font-weight: 500;
  margin-bottom: 8px;
}

.icon-card p {
  font-size: var(--fs-body-sm);
  color: var(--text-muted);
}

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

.cert-badge-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  padding: 8px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  font-size: var(--fs-caption);
  font-weight: 600;
  color: var(--text-heading);
  transition: all var(--duration-normal) var(--ease-out);
}

.cert-badge-mini:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 157, 74, 0.08);
  border-color: var(--brand-primary-100);
}

.cert-mini-svg {
  width: 26px;
  height: 26px;
  color: var(--brand-primary);
  flex-shrink: 0;
}


/* ================================================================
   16. Form Elements
   ================================================================ */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-size: var(--fs-body-sm);
  font-weight: 500;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  background: var(--bg-primary);
  color: var(--text-heading);
  font-size: var(--fs-body);
  transition: border-color var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
  outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px var(--brand-primary-50);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--neutral-400);
}

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


/* ================================================================
   17. Stats / Numbers
   ================================================================ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  text-align: center;
}

.stat-item {
  padding: var(--space-xl);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: var(--fs-display-3);
  font-weight: 700;
  color: var(--brand-primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: var(--fs-body-sm);
  color: var(--text-muted);
}


/* ================================================================
   18. Timeline
   ================================================================ */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border-light);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row-reverse;
  text-align: right;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 16px;
  height: 16px;
  background: var(--brand-primary);
  border-radius: var(--radius-full);
  transform: translateX(-50%);
  border: 3px solid white;
  box-shadow: 0 0 0 2px var(--brand-primary);
  z-index: 1;
}

.timeline-content {
  width: 45%;
}

.timeline-year {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-h4);
  color: var(--brand-primary);
  margin-bottom: 4px;
}

.timeline-content h4 {
  font-weight: 500;
  margin-bottom: 4px;
}

.timeline-content p {
  font-size: var(--fs-body-sm);
  color: var(--text-muted);
}


/* ================================================================
   19. Testimonials
   ================================================================ */
.testimonial-card {
  padding: var(--space-xl);
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.testimonial-quote {
  font-size: var(--fs-body-lg);
  font-style: italic;
  line-height: 1.7;
  color: var(--text-heading);
  margin-bottom: var(--space-lg);
  position: relative;
  padding-left: var(--space-lg);
}

.testimonial-quote::before {
  content: "\201C";
  position: absolute;
  left: 0;
  top: -4px;
  font-size: 36px;
  color: var(--brand-primary);
  font-family: Georgia, serif;
  line-height: 1;
}

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

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.testimonial-name {
  font-weight: 600;
  font-size: var(--fs-body);
  color: var(--text-heading);
}

.testimonial-role {
  font-size: var(--fs-caption);
  color: var(--text-muted);
}


/* ================================================================
   20. Filter Tags (News page)
   ================================================================ */
.filter-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
  justify-content: center;
}

.filter-tag {
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  font-weight: 500;
  border: 1px solid var(--border-medium);
  color: var(--text-body);
  background: white;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
}

.filter-tag:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.filter-tag.active {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: white;
}


/* ================================================================
   21. Scroll Animations
   ================================================================ */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }


/* ================================================================
  31. Shared Evidence Components
  ================================================================ */

/* Product Gallery */
.product-gallery {
 display: grid;
 grid-template-columns: 1fr;
 gap: var(--space-md);
 min-width: 0; /* allow shrink inside feature-row grid so mobile thumb strip scrolls */
}

.product-gallery-main {
 width: 100%;
 min-width: 0;
 aspect-ratio: 3 / 4;
 border-radius: var(--radius-lg);
 overflow: hidden;
 background: var(--bg-secondary);
 border: 1px solid var(--border-light);
}

.product-gallery-main img {
 width: 100%;
 height: 100%;
 object-fit: contain;
}

.product-gallery-thumbs {
 display: flex;
 gap: var(--space-sm);
 flex-wrap: wrap;
 min-width: 0;
}

.product-gallery-thumb {
 position: relative;
 width: 88px;
 height: 88px;
 padding: 0;
 border: 2px solid transparent;
 border-radius: var(--radius-md);
 overflow: hidden;
 background: var(--bg-secondary);
 transition: border-color var(--duration-normal) var(--ease-out), transform var(--duration-normal) var(--ease-out);
}

.product-gallery-thumb img {
 width: 100%;
 height: 100%;
 object-fit: contain;
}

.product-gallery-thumb:hover,
.product-gallery-thumb:focus-visible {
 border-color: var(--brand-primary-100);
 transform: translateY(-2px);
}

.product-gallery-thumb.active,
.product-gallery-thumb[aria-pressed="true"] {
 border-color: var(--brand-primary);
}

/* Gallery main-image crossfade on thumbnail switch */
.product-gallery-main img {
 transition: opacity var(--duration-fast) var(--ease-out);
}

.product-gallery-main img.is-switching {
 opacity: 0;
}

/* Keyboard focus affordance for the comparison slider */
.before-after:has(.before-after-range:focus-visible) .before-after-divider {
 width: 3px;
 box-shadow: 0 0 0 2px var(--brand-primary);
}

.before-after:has(.before-after-range:focus-visible) .before-after-divider::before {
 box-shadow: 0 0 0 5px rgba(0, 157, 74, 0.3), var(--shadow-md);
}

/* Related Product mini-cards */
.related-products {
 display: grid;
 grid-template-columns: repeat(2, 1fr);
 gap: var(--space-lg);
 max-width: 760px;
 margin: 0 auto var(--space-xl);
}

.related-card {
 display: block;
 background: var(--bg-primary);
 border: 1px solid var(--border-light);
 border-radius: var(--radius-lg);
 overflow: hidden;
 color: inherit;
 text-decoration: none;
 transition: transform var(--duration-normal) var(--ease-out),
   box-shadow var(--duration-normal) var(--ease-out),
   border-color var(--duration-normal) var(--ease-out);
}

.related-card:hover,
.related-card:focus-visible {
 transform: translateY(-4px);
 box-shadow: var(--shadow-md);
 border-color: var(--brand-primary-100);
}

.related-card-media {
 aspect-ratio: 16 / 10;
 background: linear-gradient(135deg, #f8fafb 0%, #e8ecf0 100%);
 display: flex;
 align-items: center;
 justify-content: center;
 padding: var(--space-lg);
}

.related-card-media img {
 max-width: 100%;
 max-height: 100%;
 object-fit: contain;
 transition: transform 0.6s var(--ease-out);
}

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

.related-card-body {
 padding: var(--space-md) var(--space-lg);
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: var(--space-md);
}

.related-card-body h4 {
 margin: 0;
}

.related-card-link {
 color: var(--brand-primary);
 font-weight: 600;
 font-size: var(--fs-body-sm);
 white-space: nowrap;
}

/* Detail Grid */
.detail-grid {
 display: grid;
 grid-template-columns: repeat(4, 1fr);
 gap: var(--space-lg);
}

.detail-tile {
 background: var(--bg-primary);
 border: 1px solid var(--border-light);
 border-radius: var(--radius-lg);
 overflow: hidden;
 transition: box-shadow var(--duration-normal) var(--ease-out), transform var(--duration-normal) var(--ease-out);
}

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

.detail-tile-media {
 aspect-ratio: 1 / 1;
 overflow: hidden;
 background: var(--bg-secondary);
}

.detail-tile-media img {
 width: 100%;
 height: 100%;
 object-fit: cover;
 transition: transform var(--duration-slow) var(--ease-out);
}

.detail-tile:hover .detail-tile-media img {
 transform: scale(1.05);
}

.detail-tile-body {
 padding: var(--space-lg);
}

.detail-tile-body h4 {
 font-size: var(--fs-body);
 font-weight: 600;
 margin-bottom: 6px;
 color: var(--text-heading);
}

.detail-tile-body p {
 font-size: var(--fs-body-sm);
 color: var(--text-muted);
 line-height: 1.6;
}

/* Before / After Comparison */
.before-after {
 position: relative;
 overflow: hidden;
 aspect-ratio: 4 / 3;
 border-radius: var(--radius-lg);
 background: var(--bg-secondary);
}

.before-after img {
 position: absolute;
 inset: 0;
 width: 100%;
 height: 100%;
 object-fit: cover;
 user-select: none;
 -webkit-user-drag: none;
}

.before-after-after {
 clip-path: inset(0 0 0 var(--comparison-position, 50%));
}

.before-after-range {
 position: absolute;
 inset: 0;
 width: 100%;
 height: 100%;
 opacity: 0;
 cursor: ew-resize;
 z-index: 10;
}

.before-after-divider {
 position: absolute;
 top: 0;
 bottom: 0;
 left: var(--comparison-position, 50%);
 width: 2px;
 background: rgba(255, 255, 255, 0.9);
 transform: translateX(-50%);
 z-index: 5;
 pointer-events: none;
}

.before-after-divider::before {
 content: "";
 position: absolute;
 top: 50%;
 left: 50%;
 width: 40px;
 height: 40px;
 background: rgba(255, 255, 255, 0.95);
 border: 2px solid var(--brand-primary);
 border-radius: var(--radius-full);
 transform: translate(-50%, -50%);
 box-shadow: var(--shadow-md);
}

.before-after-label {
 position: absolute;
 top: 16px;
 padding: 4px 10px;
 font-size: var(--fs-caption);
 font-weight: 600;
 text-transform: uppercase;
 letter-spacing: 0.06em;
 background: rgba(0, 0, 0, 0.6);
 color: white;
 border-radius: var(--radius-sm);
 z-index: 6;
 pointer-events: none;
}

.before-after-label.before {
 left: 16px;
}

.before-after-label.after {
 right: 16px;
}

.before-after-caption {
 font-size: var(--fs-caption);
 color: var(--text-muted);
 margin-top: var(--space-md);
 line-height: 1.5;
}

/* Protocol Panel */
.protocol-panel {
 background: var(--bg-secondary);
 border: 1px solid var(--border-light);
 border-radius: var(--radius-lg);
 padding: var(--space-xl);
}

.protocol-panel h4 {
 font-size: var(--fs-h5);
 font-weight: 500;
 margin-bottom: var(--space-lg);
 color: var(--text-heading);
}

.protocol-list {
 display: grid;
 grid-template-columns: repeat(2, 1fr);
 gap: var(--space-md);
}

.protocol-item {
 display: flex;
 flex-direction: column;
 gap: 4px;
}

.protocol-label {
 font-size: var(--fs-caption);
 font-weight: 600;
 text-transform: uppercase;
 letter-spacing: 0.06em;
 color: var(--text-muted);
}

.protocol-value {
 font-size: var(--fs-body);
 font-weight: 500;
 color: var(--text-heading);
}

/* Certificate Grid */
.certificate-grid {
 display: grid;
 grid-template-columns: repeat(4, 1fr);
 gap: var(--space-lg);
}

.certificate-card {
 background: var(--bg-primary);
 border: 1px solid var(--border-light);
 border-radius: var(--radius-lg);
 overflow: hidden;
 transition: box-shadow var(--duration-normal) var(--ease-out), transform var(--duration-normal) var(--ease-out);
}

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

.certificate-card img {
 width: 100%;
 aspect-ratio: 4 / 5;
 object-fit: cover;
 background: var(--bg-secondary);
}

.certificate-card-body {
 padding: var(--space-md) var(--space-lg) var(--space-lg);
}

.certificate-card-body h4 {
 font-size: var(--fs-body);
 font-weight: 600;
 margin-bottom: 4px;
 color: var(--text-heading);
}

.certificate-card-body p {
 font-size: var(--fs-caption);
 color: var(--text-muted);
}

.certificate-card-note {
 display: inline-block;
 margin-top: var(--space-sm);
 padding: 2px 8px;
 font-size: 12px;
 font-weight: 600;
 text-transform: uppercase;
 letter-spacing: 0.05em;
 background: var(--brand-primary-50);
 color: var(--brand-primary);
 border-radius: 4px;
}

/* Manufacturing Process */
.manufacturing-process {
 display: grid;
 grid-template-columns: repeat(6, 1fr);
 gap: var(--space-lg);
 counter-reset: process-step;
}

.manufacturing-process-step {
 text-align: center;
 counter-increment: process-step;
 position: relative;
}

.manufacturing-process-step::before {
 content: counter(process-step);
 width: 48px;
 height: 48px;
 background: var(--brand-primary);
 color: white;
 border-radius: var(--radius-full);
 display: flex;
 align-items: center;
 justify-content: center;
 font-family: var(--font-heading);
 font-weight: 700;
 font-size: var(--fs-h5);
 margin: 0 auto var(--space-md);
}

.manufacturing-process-step:not(:last-child)::after {
 content: "";
 position: absolute;
 top: 24px;
 left: calc(50% + 30px);
 right: calc(-50% + 30px);
 height: 2px;
 background: var(--border-light);
}

.manufacturing-process-step img {
 width: 100%;
 aspect-ratio: 4 / 3;
 object-fit: cover;
 border-radius: var(--radius-md);
 margin-bottom: var(--space-md);
}

.manufacturing-process-step h4 {
 font-size: var(--fs-body);
 font-weight: 600;
 margin-bottom: 4px;
 color: var(--text-heading);
}

.manufacturing-process-step p {
 font-size: var(--fs-caption);
 color: var(--text-muted);
 line-height: 1.5;
}

/* FAQ List */
.faq-list {
 max-width: 820px;
 margin: 0 auto;
 display: flex;
 flex-direction: column;
 gap: var(--space-md);
}

.faq-list details {
 background: var(--bg-secondary);
 border: 1px solid var(--border-light);
 border-radius: var(--radius-md);
 overflow: hidden;
}

.faq-list summary {
 padding: var(--space-lg);
 font-size: var(--fs-body);
 font-weight: 600;
 color: var(--text-heading);
 cursor: pointer;
 list-style: none;
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: var(--space-md);
}

.faq-list summary::-webkit-details-marker {
 display: none;
}

.faq-list summary::after {
 content: "+";
 flex-shrink: 0;
 width: 28px;
 height: 28px;
 background: var(--brand-primary-50);
 color: var(--brand-primary);
 border-radius: var(--radius-full);
 display: flex;
 align-items: center;
 justify-content: center;
 font-size: 20px;
 font-weight: 500;
 transition: transform var(--duration-normal) var(--ease-out);
}

.faq-list details[open] summary::after {
 content: "−";
 transform: rotate(180deg);
}

.faq-list details[open] summary {
 border-bottom: 1px solid var(--border-light);
}

/* Subtle answer reveal when a FAQ item opens */
.faq-list details[open] .faq-answer {
 animation: faqReveal var(--duration-normal) var(--ease-out);
}

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

.faq-list .faq-answer {
 padding: var(--space-lg);
 font-size: var(--fs-body);
 color: var(--text-body);
 line-height: 1.7;
}

.faq-list .faq-answer p:last-child {
 margin-bottom: 0;
}

/* Media Band */
.media-band {
 display: grid;
 grid-template-columns: 1.1fr 0.9fr;
 gap: var(--space-2xl);
 align-items: center;
}

.media-band.reverse {
 direction: rtl;
}

.media-band.reverse > * {
 direction: ltr;
}

.media-band-media {
 position: relative;
 border-radius: var(--radius-lg);
 overflow: hidden;
}

.media-band-media img {
 width: 100%;
 aspect-ratio: 4 / 3;
 object-fit: cover;
}

.media-band-body h3 {
 font-size: var(--fs-h3);
 font-weight: 500;
 margin-bottom: var(--space-md);
 color: var(--text-heading);
}

.media-band-body p {
 color: var(--text-body);
 margin-bottom: var(--space-md);
}

.media-band-body ul {
 margin-top: var(--space-md);
 padding-left: var(--space-lg);
 display: flex;
 flex-direction: column;
 gap: 8px;
}

.media-band-body li {
 list-style-type: disc;
 color: var(--text-body);
 line-height: 1.6;
}

/* Trust Strip */
.trust-strip {
 display: grid;
 grid-template-columns: repeat(4, 1fr);
 gap: var(--space-lg);
 margin-top: var(--space-2xl);
}

.trust-item {
 text-align: center;
 padding: var(--space-lg);
 background: var(--bg-secondary);
 border-radius: var(--radius-md);
 border: 1px solid var(--border-light);
}

.trust-value {
 font-family: var(--font-heading);
 font-size: var(--fs-h3);
 font-weight: 700;
 color: var(--brand-primary);
 margin-bottom: 4px;
 line-height: 1;
}

.trust-label {
 font-size: var(--fs-caption);
 color: var(--text-muted);
 font-weight: 500;
}

/* Clinical Disclaimer */
.clinical-disclaimer {
 background: var(--brand-primary-50);
 border: 1px solid var(--brand-primary-100);
 border-radius: var(--radius-md);
 padding: var(--space-lg);
 font-size: var(--fs-body-sm);
 color: var(--text-body);
 line-height: 1.6;
}

.clinical-disclaimer p {
 margin-bottom: 0;
}

/* Evidence component responsive adjustments */
@media (max-width: 960px) {
 .detail-grid {
   grid-template-columns: repeat(2, 1fr);
 }

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

 .manufacturing-process {
   grid-template-columns: repeat(3, 1fr);
 }

 .manufacturing-process-step:not(:last-child)::after {
   display: none;
 }

 .media-band,
 .media-band.reverse {
   grid-template-columns: 1fr;
   direction: ltr;
   gap: var(--space-xl);
 }

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

 .protocol-list {
   grid-template-columns: 1fr;
 }

 .product-gallery {
   display: flex;
   flex-direction: column;
 }

 .product-gallery-thumbs {
   flex-wrap: nowrap;
   overflow-x: auto;
   gap: var(--space-sm);
   padding-bottom: var(--space-sm);
   scroll-snap-type: x mandatory;
 }

 .product-gallery-thumb {
   flex: 0 0 auto;
   scroll-snap-align: start;
 }
}

@media (max-width: 600px) {
 .footer-subscribe {
   flex-direction: column;
   min-width: 0;
 }

 .footer-subscribe input,
 .footer-subscribe button {
   box-sizing: border-box;
   min-width: 0;
   width: 100%;
 }

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

 .related-products {
   grid-template-columns: 1fr;
 }

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

 .manufacturing-process {
   grid-template-columns: 1fr;
 }

 .trust-strip {
   grid-template-columns: 1fr 1fr;
 }

 .before-after {
   aspect-ratio: 3 / 4;
 }

 .before-after-divider::before {
   width: 32px;
   height: 32px;
 }

 .faq-list summary {
   padding: var(--space-md);
   font-size: var(--fs-body-sm);
 }

 .faq-list .faq-answer {
   padding: var(--space-md);
 }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
 /* Scroll-reveal content must appear immediately, without animation */
 .animate-on-scroll,
 .animate-on-scroll.visible {
   opacity: 1;
   transform: none;
   transition: none;
 }

 .product-gallery-thumb,
 .product-gallery-main img,
 .hero-slide,
 .detail-tile,
 .certificate-card,
 .before-after-divider {
   transition: none;
 }

 .detail-tile:hover,
 .detail-tile:hover .detail-tile-media img,
 .certificate-card:hover,
 .product-gallery-thumb:hover,
 .product-gallery-thumb:focus-visible {
   transform: none;
 }

 .before-after {
   /* Without animation, show both labels clearly */
   --comparison-position: 50%;
 }

 .before-after-range {
   cursor: default;
 }

 .faq-list details[open] .faq-answer {
   animation: none;
 }
}

/* ================================================================
   22. Responsive Design
   ================================================================ */

/* Tablet */
@media (max-width: 960px) {
  .hero-slide-content .hero-subtitle {
    max-width: 100%;
  }
  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: var(--space-xl);
  }

  .feature-content {
    max-width: 100%;
  }

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

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

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

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

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

  .nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  body.menu-open {
    overflow: hidden;
    overscroll-behavior: none;
  }

  .header-cta {
    display: none;
  }

  /* Mobile nav open */
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: white;
    padding: var(--space-lg);
    box-shadow: var(--shadow-lg);
    gap: 16px;
    z-index: 9998;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
  }

  /* Insert CTA inside mobile menu dropdown when open */
  .nav.open::after {
    content: "Book a Demo";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-size: var(--fs-body-sm);
    font-weight: 600;
    color: white;
    background-color: var(--brand-primary);
    border-radius: var(--radius-sm);
    text-align: center;
    margin-top: var(--space-md);
    cursor: pointer;
    transition: background-color var(--duration-normal) var(--ease-out);
  }
  
  .nav.open::after:hover {
    background-color: var(--brand-primary-dark);
  }

  .products-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }
}

/* Mobile */
@media (max-width: 600px) {
  :root {
    --page-padding: 20px;
  }

  .hero-slide-content .hero-title {
    font-size: clamp(32px, 8vw, 48px);
  }

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

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

  .stats-row {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

  .stat-item {
    min-width: 0;
    padding: var(--space-md) var(--space-sm);
  }

  .stat-number {
    font-size: clamp(24px, 7vw, 34px);
    overflow-wrap: break-word;
  }

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

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

  .product-card {
    flex: 0 0 calc(85vw);
    min-width: unset !important;
  }

  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-group .btn {
    width: 100%;
    justify-content: center;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item,
  .timeline-item:nth-child(odd) {
    flex-direction: column;
    text-align: left;
    padding-left: 48px;
  }

  .timeline-dot {
    left: 20px;
  }

  .timeline-content {
    width: 100%;
  }

  .video-banner {
    min-height: 40vh;
  }

  .section {
    padding-top: clamp(48px, 8vw, 80px);
    padding-bottom: clamp(48px, 8vw, 80px);
  }
}


/* ================================================================
   23. Comparison Table
   ================================================================ */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.comparison-table th,
.comparison-table td {
  padding: 16px 24px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.comparison-table thead th {
  background: var(--bg-secondary);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-heading);
}

.comparison-table tbody td {
  font-size: var(--fs-body-sm);
}

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

.comparison-table tbody tr:hover {
  background: var(--bg-secondary);
}

.comparison-table .highlight {
  background: var(--brand-primary-50);
}

.comparison-table .highlight th,
.comparison-table .highlight td {
  color: var(--brand-primary);
  font-weight: 600;
}


/* ================================================================
   24. Map Placeholder
   ================================================================ */
.map-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border: 1px solid var(--border-light);
}


/* ================================================================
   25. Steps / Process
   ================================================================ */
.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  counter-reset: step;
}

.step-item {
  text-align: center;
  counter-increment: step;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  background: var(--brand-primary);
  color: white;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--fs-h4);
  margin: 0 auto var(--space-md);
}

.step-item h4 {
  font-weight: 500;
  margin-bottom: 8px;
}

.step-item p {
  font-size: var(--fs-body-sm);
  color: var(--text-muted);
}

/* Connector lines between steps */
.step-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 28px;
  left: calc(50% + 36px);
  right: calc(-50% + 36px);
  height: 2px;
  background: var(--border-light);
}

@media (max-width: 600px) {
  .steps-row {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .step-item:not(:last-child)::after {
    display: none;
  }
}


/* ================================================================
   26. Pagination
   ================================================================ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: var(--space-2xl);
}

.pagination a,
.pagination span {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-body-sm);
  font-weight: 500;
  color: var(--text-body);
  border: 1px solid var(--border-light);
  transition: all var(--duration-normal) var(--ease-out);
}

.pagination a:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.pagination .active {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: white;
}


/* ================================================================
   27. Section Headers
   ================================================================ */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-2xl);
}

.section-header .label {
  margin-bottom: var(--space-md);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-header p {
  color: var(--text-muted);
  font-size: var(--fs-body-lg);
}


/* ================================================================
   28. Contact Info Cards
   ================================================================ */
.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: var(--brand-primary-50);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 22px;
  height: 22px;
  color: var(--brand-primary);
}

.contact-info-text h4 {
  font-weight: 500;
  margin-bottom: 4px;
  font-size: var(--fs-body);
}

.contact-info-text p {
  font-size: var(--fs-body-sm);
  color: var(--text-muted);
}


/* ================================================================
   29. Logo / Certification Wall
   ================================================================ */
.logo-wall {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3xl);
  flex-wrap: wrap;
  padding: var(--space-xl) 0;
}

.logo-wall img {
  height: 40px;
  width: auto;
  filter: grayscale(1) opacity(0.5);
  transition: filter var(--duration-normal) var(--ease-out);
}

.logo-wall img:hover {
  filter: grayscale(0) opacity(1);
}


/* ================================================================
   30. News Article Detail Page
   ================================================================ */
.article-hero {
  position: relative;
  padding-top: calc(var(--header-height) + 80px);
  padding-bottom: 80px;
  background-size: cover;
  background-position: center;
  color: white;
  min-height: 460px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 100%);
  z-index: 1;
}

.article-hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-body-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-xl);
  transition: all var(--duration-normal) var(--ease-out);
}

.back-link:hover {
  transform: translateX(-4px);
  color: white;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--fs-caption);
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-md);
}

.article-meta .dot {
  font-size: 18px;
  line-height: 1;
}

.news-card-tag-white {
  display: inline-block;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: white;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

.article-hero h1 {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 600;
  line-height: 1.25;
  color: white;
  margin-bottom: var(--space-lg);
  max-width: 1000px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.article-lead {
  font-size: var(--fs-body-lg);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  max-width: 820px;
  margin-bottom: var(--space-xl);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
}

.author-card {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--brand-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--fs-body-sm);
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 600;
  color: white;
  font-size: var(--fs-body);
}

.author-title {
  font-size: var(--fs-caption);
  color: rgba(255, 255, 255, 0.75);
}

.article-container {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}

.article-layout {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.article-sidebar {
  position: absolute;
  left: -120px;
  top: 8px;
  width: 48px;
  z-index: 10;
}

@media (max-width: 1024px) {
  .article-sidebar {
    position: static;
    width: 100%;
    margin-bottom: var(--space-lg);
  }
  .sidebar-sticky {
    position: static;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 16px;
  }
  .sidebar-label {
    display: inline-block;
    margin-bottom: 0;
    margin-right: 8px;
  }
  .share-buttons {
    flex-direction: row !important;
    gap: 12px;
  }
}

.share-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.share-buttons a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid var(--neutral-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-body);
  transition: all var(--duration-normal) var(--ease-out);
}

.share-buttons a:hover {
  border-color: var(--brand-primary);
  background: var(--brand-primary-50);
  color: var(--brand-primary);
  transform: translateY(-2px);
}

.share-buttons a svg {
  width: 18px;
  height: 18px;
}

.rich-text-content {
  flex-grow: 1;
  max-width: 720px;
}

.rich-text-content p {
  font-size: var(--fs-body);
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: var(--space-lg);
}

.rich-text-content h2 {
  font-size: var(--fs-h3);
  font-weight: 500;
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  color: var(--text-heading);
}

.rich-text-content h3 {
  font-size: var(--fs-h4);
  font-weight: 500;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
  color: var(--text-heading);
}

.rich-text-content ul, .rich-text-content ol {
  margin-bottom: var(--space-lg);
  padding-left: var(--space-xl);
}

.rich-text-content li {
  font-size: var(--fs-body);
  line-height: 1.7;
  margin-bottom: 8px;
  list-style-type: disc;
}

.rich-text-content blockquote {
  border-left: 4px solid var(--brand-primary);
  background: var(--brand-primary-50);
  padding: var(--space-lg);
  margin: var(--space-xl) 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: var(--fs-body-lg);
  line-height: 1.6;
  font-style: italic;
  color: var(--text-heading);
}

.rich-text-content blockquote cite {
  display: block;
  font-style: normal;
  font-size: var(--fs-caption);
  color: var(--text-muted);
  margin-top: 12px;
  font-weight: 600;
}

.article-figure {
  margin: var(--space-2xl) 0;
}

.article-figure img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.article-figure figcaption {
  font-size: var(--fs-caption);
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
}

.result-box {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  background: var(--brand-primary-50);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin: var(--space-2xl) 0;
  border: 1px solid var(--brand-primary-100);
}

@media (max-width: 576px) {
  .result-box {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    text-align: center;
  }
}

.result-metric {
  display: flex;
  flex-direction: column;
}

.result-metric .number {
  font-family: var(--font-heading);
  font-size: var(--fs-display-3);
  font-weight: 600;
  color: var(--brand-primary);
  line-height: 1.1;
  margin-bottom: 4px;
}

.result-metric .metric-label {
  font-size: var(--fs-caption);
  font-weight: 600;
  color: var(--neutral-600);
}
