/* ============================================
   OSMOS — Design System
   Premium / Apple-Dyson-B&O inspired
   ============================================ */

:root {
  /* Colors */
  --navy-950: #050b14;
  --navy-900: #0a1524;
  --navy-800: #0f2138;
  --navy-700: #16304f;
  --blue-deep: #1a3a63;
  --blue-accent: #4fc3e8;
  --blue-accent-soft: #9fe3f5;
  --silver: #c8ced4;
  --silver-soft: #e6e9ec;
  --white: #ffffff;
  --off-white: #f8fafb;
  --ink: #0d1520;
  --ink-soft: #4a5568;

  /* Type */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --section-pad: clamp(5rem, 10vw, 9rem);
  --container-w: 1240px;

  /* Motion */
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-slow: 900ms;
  --dur-med: 500ms;
  --dur-fast: 250ms;
}

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

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

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

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

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

input { font-family: inherit; }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
}

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--navy-900); color: var(--white); padding: 0.75rem 1.25rem; z-index: 999;
}
.skip-link:focus { left: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy-950);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.5rem); line-height: 1.08; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.15; }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-accent);
  margin-bottom: 0.75rem;
  display: block;
}

.section-lead {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 640px;
  margin-top: 1.25rem;
}

.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-dark .section-lead, .section-dark p { color: rgba(255,255,255,0.72); }
.section-dark h2, .section-dark h3 { color: var(--white); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.95rem 2.1rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 999px;
  transition: all var(--dur-fast) var(--ease-premium);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--blue-accent), var(--navy-800));
  color: var(--white);
  box-shadow: 0 8px 30px rgba(15, 33, 56, 0.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(15, 33, 56, 0.35); }
.btn-outline {
  border: 1.5px solid rgba(255,255,255,0.6);
  color: var(--white);
  backdrop-filter: blur(6px);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.btn-ghost { color: var(--navy-900); font-size: 0.9rem; font-weight: 500; padding: 0.6rem 1rem; }
.btn-ghost:hover { color: var(--blue-accent); }
.btn-full { width: 100%; }

/* ============ Header ============ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background var(--dur-med) var(--ease-premium), padding var(--dur-med) var(--ease-premium), box-shadow var(--dur-med);
  padding: 1.5rem 0;
}
.site-header.scrolled {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px) saturate(160%);
  padding: 0.85rem 0;
  box-shadow: 0 1px 0 rgba(15,33,56,0.06);
}
.site-header.scrolled .logo-text,
.site-header.scrolled .btn-ghost { color: var(--navy-950); }
.site-header.scrolled .main-nav a { color: var(--navy-900); }
.site-header:not(.scrolled) .logo-text,
.site-header:not(.scrolled) .main-nav a,
.site-header:not(.scrolled) .btn-ghost { color: var(--white); }

.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

.logo { display: flex; align-items: center; gap: 0.6rem; }
.logo-mark { width: 26px; height: 26px; color: var(--blue-accent); }
.logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  transition: color var(--dur-med);
}

.main-nav ul { display: flex; gap: 2.2rem; }
.main-nav a { font-size: 0.92rem; font-weight: 500; transition: color var(--dur-fast); position: relative; }
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px;
  background: var(--blue-accent); transition: width var(--dur-fast) var(--ease-premium);
}
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 1.2rem; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 26px; }
.nav-toggle span { display: block; height: 1.5px; background: currentColor; transition: all var(--dur-fast); }
.site-header:not(.scrolled) .nav-toggle { color: var(--white); }
.site-header.scrolled .nav-toggle { color: var(--navy-950); }

.mobile-menu {
  position: fixed; top: 0; right: 0; height: 100vh; width: min(80vw, 340px);
  background: var(--navy-950); transform: translateX(100%);
  transition: transform var(--dur-med) var(--ease-premium);
  display: flex; align-items: center; padding: 2rem;
  z-index: 99;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu ul { display: flex; flex-direction: column; gap: 1.6rem; width: 100%; }
.mobile-menu a { color: var(--white); font-size: 1.1rem; }

/* ============ Hero ============ */
.hero {
  position: relative; height: 100vh; min-height: 640px;
  display: flex; align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-video {
  width: 100%; height: 100%; object-fit: cover;
  background: linear-gradient(160deg, var(--navy-950), var(--navy-800) 60%, var(--blue-deep));
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,11,20,0.55) 0%, rgba(5,11,20,0.45) 45%, rgba(5,11,20,0.85) 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 780px; }
.hero-content h1 { color: var(--white); margin-bottom: 1.4rem; }
.hero-subtitle { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: rgba(255,255,255,0.82); max-width: 620px; margin-bottom: 2.4rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.scroll-indicator {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  color: rgba(255,255,255,0.75); z-index: 1;
}
.scroll-mouse { width: 22px; height: 36px; border: 1.5px solid rgba(255,255,255,0.6); border-radius: 999px; display: flex; justify-content: center; padding-top: 6px; }
.scroll-dot { width: 4px; height: 8px; background: var(--white); border-radius: 999px; animation: scrollDot 1.8s infinite; }
.scroll-label { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; }
@keyframes scrollDot { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(10px); } }

/* ============ Fade-up scroll animation ============ */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity var(--dur-slow) var(--ease-premium), transform var(--dur-slow) var(--ease-premium); }
.fade-up.in-view { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
.hero .fade-up { opacity: 1; transform: translateY(0); animation: heroIn var(--dur-slow) var(--ease-premium) both; }
.hero .delay-1 { animation-delay: 0.15s; }
.hero .delay-2 { animation-delay: 0.3s; }
.hero .delay-3 { animation-delay: 0.45s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }

/* ============ Sections generic ============ */
.section { padding: var(--section-pad) 0; }
.section-dark { background: var(--navy-950); color: var(--white); }
.section-tint { background: var(--off-white); }
.section-image { background: var(--white); }

/* ============ Problem cards ============ */
.problem-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  margin-bottom: 3rem;
}
.problem-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 2rem 1.75rem;
  backdrop-filter: blur(10px);
  transition: transform var(--dur-med) var(--ease-premium), border-color var(--dur-med);
}
.problem-card:hover { transform: translateY(-6px); border-color: rgba(79,195,232,0.4); }
.problem-icon { width: 48px; height: 48px; color: var(--blue-accent); margin-bottom: 1.2rem; }
.problem-icon svg { width: 100%; height: 100%; }
.problem-card h3 { color: var(--white); font-size: 1.15rem; margin-bottom: 0.5rem; }
.problem-card p { color: rgba(255,255,255,0.68); font-size: 0.94rem; }

.problem-highlight {
  text-align: center; font-family: var(--font-display); font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  color: rgba(255,255,255,0.85); max-width: 780px; margin: 0 auto;
}
.problem-highlight span { color: var(--blue-accent-soft); font-weight: 600; }

/* ============ Benefits ============ */
.benefits-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
}
.benefit-item {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 1.4rem 1.2rem;
  border-radius: 16px;
  background: var(--off-white);
  border: 1px solid rgba(15,33,56,0.06);
  transition: box-shadow var(--dur-med), transform var(--dur-med);
}
.benefit-item:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(15,33,56,0.08); }
.benefit-icon { color: var(--blue-accent); font-size: 1.1rem; flex-shrink: 0; }
.benefit-item p { font-size: 0.95rem; color: var(--navy-900); }
.benefit-item strong { color: var(--blue-deep); }

/* ============ Steps / How it works ============ */
.steps-flow {
  display: flex; align-items: stretch; gap: 1rem; margin-bottom: 3rem;
}
.step-card {
  flex: 1; text-align: center; padding: 2.2rem 1.5rem;
  background: var(--white); border-radius: 20px;
  box-shadow: 0 10px 40px rgba(15,33,56,0.06);
}
.step-number { font-family: var(--font-display); font-size: 0.9rem; color: var(--blue-accent); letter-spacing: 0.1em; }
.step-visual { height: 70px; display: flex; align-items: center; justify-content: center; margin: 1rem 0; }
.flow-drop {
  width: 22px; height: 28px; border-radius: 50% 50% 50% 0; transform: rotate(45deg);
  background: linear-gradient(160deg, var(--blue-accent-soft), var(--blue-accent));
  animation: dropPulse 2.4s ease-in-out infinite;
}
@keyframes dropPulse { 0%, 100% { transform: rotate(45deg) scale(1); opacity: 0.85; } 50% { transform: rotate(45deg) scale(1.15); opacity: 1; } }
.step-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.step-card p { font-size: 0.92rem; color: var(--ink-soft); }
.step-connector { display: flex; align-items: center; width: 60px; justify-content: center; }
.flow-line { width: 100%; height: 1.5px; background: linear-gradient(90deg, transparent, var(--blue-accent), transparent); position: relative; overflow: hidden; }
.flow-line::after {
  content: ''; position: absolute; top: -3px; left: -10px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue-accent); box-shadow: 0 0 10px var(--blue-accent);
  animation: flowMove 2.2s linear infinite;
}
@keyframes flowMove { from { left: -10px; } to { left: 100%; } }

.result-banner {
  text-align: center; padding: 2.5rem; border-radius: 24px;
  background: linear-gradient(135deg, var(--navy-900), var(--blue-deep));
  color: var(--white);
}
.result-banner span { font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--blue-accent-soft); }
.result-banner h3 { color: var(--white); margin-top: 0.5rem; }

/* ============ Product showcase ============ */
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.product-image {
  aspect-ratio: 4/3; border-radius: 28px; overflow: hidden;
  background: linear-gradient(135deg, var(--silver-soft), var(--off-white));
  display: flex; align-items: center; position: relative;
}
.product-crop {
  width: 220%; max-width: none; object-fit: cover; object-position: left center;
  transform: translateX(-2%);
}
.product-text p { color: var(--ink-soft); margin: 1.25rem 0 1.75rem; max-width: 480px; }
.btn-outline-dark { border: 1.5px solid rgba(15,33,56,0.25); color: var(--navy-950); }
.btn-outline-dark:hover { background: rgba(15,33,56,0.06); transform: translateY(-2px); }

/* ============ Tech / Membrane ============ */
.tech-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.tech-text p { margin: 1.25rem 0; max-width: 480px; }
.tech-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem 1.5rem; margin-top: 1.5rem; }
.tech-list li { font-size: 0.95rem; color: rgba(255,255,255,0.8); padding-left: 1.4rem; position: relative; }
.tech-list li::before { content: '—'; position: absolute; left: 0; color: var(--blue-accent); }

.membrane-visual { position: relative; }
.membrane-frame {
  position: relative; height: 380px; border-radius: 24px;
  background: radial-gradient(circle at 30% 30%, rgba(79,195,232,0.12), transparent 60%), rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
}
.membrane-line {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(180deg, transparent, var(--blue-accent), transparent);
  box-shadow: 0 0 20px var(--blue-accent);
}
.molecule { position: absolute; border-radius: 50%; top: calc(10% + (var(--d) * 20%)); }
.molecule-clean {
  width: 10px; height: 10px; left: 20%;
  background: var(--blue-accent-soft); box-shadow: 0 0 8px var(--blue-accent);
  animation: moleculeCross 3.6s ease-in-out infinite;
  animation-delay: calc(var(--d) * 0.5s);
}
@keyframes moleculeCross {
  0% { left: 15%; opacity: 0.9; }
  45% { left: 48%; opacity: 1; }
  55% { left: 52%; opacity: 1; }
  100% { left: 85%; opacity: 0.9; }
}
.molecule-blocked {
  width: 14px; height: 14px; left: 42%;
  background: rgba(255,120,120,0.75);
  top: calc(20% + (var(--d) * 25%));
  animation: moleculeBlock 3.6s ease-in-out infinite;
  animation-delay: calc(var(--d) * 0.7s);
}
@keyframes moleculeBlock {
  0% { left: 15%; opacity: 0.9; }
  48% { left: 46%; opacity: 1; }
  60% { left: 40%; opacity: 0.7; }
  100% { left: 20%; opacity: 0; }
}
.membrane-caption { margin-top: 1.2rem; font-size: 0.88rem; color: rgba(255,255,255,0.6); text-align: center; }

/* ============ Split layout ============ */
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split-visual { display: flex; justify-content: center; color: var(--blue-deep); }
.tech-illustration { width: 100%; max-width: 320px; animation: rotateSlow 40s linear infinite; }
@keyframes rotateSlow { to { transform: rotate(360deg); } }
.split-text p { color: var(--ink-soft); margin-top: 1.25rem; max-width: 480px; }

/* ============ Comparison ============ */
.compare-table-wrap { overflow-x: auto; margin-bottom: 3rem; border-radius: 20px; box-shadow: 0 10px 40px rgba(15,33,56,0.06); }
.compare-table { width: 100%; border-collapse: collapse; background: var(--white); min-width: 640px; }
.compare-table th, .compare-table td { padding: 1rem 1.4rem; text-align: left; font-size: 0.92rem; border-bottom: 1px solid rgba(15,33,56,0.06); }
.compare-table thead th { font-family: var(--font-display); font-weight: 600; color: var(--navy-950); background: var(--off-white); }
.compare-table tbody th { font-weight: 500; color: var(--ink-soft); }
.highlight-col { background: linear-gradient(135deg, rgba(79,195,232,0.1), rgba(26,58,99,0.06)); color: var(--blue-deep); font-weight: 600; }

.glass-compare { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.glass-item { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.glass { width: 60px; height: 90px; border-radius: 6px 6px 16px 16px; border: 2px solid rgba(15,33,56,0.15); position: relative; overflow: hidden; }
.glass::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; }
.glass-tap::after { height: 55%; background: linear-gradient(180deg, #d8cfa8, #b9ab6f); }
.glass-filter::after { height: 70%; background: linear-gradient(180deg, #cfe6ee, #9fd3e6); }
.glass-osmos::after { height: 90%; background: linear-gradient(180deg, #eafcff, var(--blue-accent-soft)); box-shadow: 0 0 20px rgba(79,195,232,0.4) inset; }
.glass-item span { font-size: 0.85rem; color: var(--ink-soft); }

/* ============ Before / After ============ */
.before-after { display: grid; grid-template-columns: 1fr auto 1fr; gap: 2.5rem; align-items: start; }
.ba-column { padding: 2.5rem; border-radius: 24px; }
.ba-before { background: var(--off-white); }
.ba-after { background: linear-gradient(135deg, var(--navy-900), var(--blue-deep)); }
.ba-after h3, .ba-after li { color: var(--white); }
.ba-column h3 { margin-bottom: 1.4rem; }
.ba-column li { padding: 0.6rem 0; font-size: 0.98rem; border-top: 1px solid rgba(15,33,56,0.08); }
.ba-after li { border-top-color: rgba(255,255,255,0.12); }
.ba-column li:first-of-type { border-top: none; }
.ba-divider { width: 1px; background: rgba(15,33,56,0.1); align-self: stretch; }

/* ============ Health / image sections ============ */
.health-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.health-layout.reverse { direction: rtl; }
.health-layout.reverse > * { direction: ltr; }
.image-frame { border-radius: 28px; overflow: hidden; aspect-ratio: 4/3; }
.image-placeholder {
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 2rem;
  background: linear-gradient(135deg, var(--silver-soft), var(--off-white));
  color: var(--ink-soft); font-size: 0.9rem; border: 1px dashed rgba(15,33,56,0.15);
}
.health-text p { color: var(--ink-soft); margin-top: 1.25rem; max-width: 480px; }
.sustain-list { display: grid; gap: 0.8rem; margin-top: 1.5rem; }
.sustain-list li { padding-left: 1.6rem; position: relative; font-size: 1rem; }
.sustain-list li::before { content: '✓'; position: absolute; left: 0; color: var(--blue-accent); font-weight: 700; }

/* ============ Authority ============ */
.authority-icons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.authority-item {
  text-align: center; padding: 2rem 1rem; border-radius: 18px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
}
.authority-item svg { width: 44px; height: 44px; color: var(--blue-accent); margin-bottom: 1rem; }
.authority-item span { font-size: 0.9rem; color: rgba(255,255,255,0.75); }

/* ============ Audience ============ */
.audience-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.audience-card {
  padding: 1.6rem 1rem; text-align: center; border-radius: 16px;
  background: var(--off-white); font-weight: 500; font-size: 0.95rem;
  border: 1px solid rgba(15,33,56,0.06);
  transition: all var(--dur-fast) var(--ease-premium);
}
.audience-card:hover { background: var(--navy-950); color: var(--white); transform: translateY(-4px); }

/* ============ Calculator ============ */
.calculator-card {
  max-width: 720px; margin: 0 auto; padding: 3rem;
  border-radius: 28px; background: var(--white);
  box-shadow: 0 20px 60px rgba(15,33,56,0.1);
}
.calculator-card label { font-weight: 600; font-size: 1rem; display: block; margin-bottom: 1.5rem; }
.calculator-input-row { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 2.5rem; }
input[type="range"] {
  flex: 1; -webkit-appearance: none; height: 6px; border-radius: 999px;
  background: linear-gradient(90deg, var(--blue-accent), var(--silver-soft));
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--white); border: 3px solid var(--blue-deep);
  box-shadow: 0 4px 14px rgba(15,33,56,0.3); cursor: pointer;
}
input[type="range"]::-moz-range-thumb {
  width: 26px; height: 26px; border-radius: 50%; background: var(--white); border: 3px solid var(--blue-deep); cursor: pointer;
}
#monthlySpendValue { font-family: var(--font-display); font-size: 1.4rem; color: var(--navy-950); min-width: 90px; text-align: right; }

.calculator-results { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
.calc-result { display: flex; flex-direction: column; gap: 0.5rem; }
.calc-label { font-size: 0.85rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.05em; }
.calc-value { font-family: var(--font-display); font-size: 2.4rem; color: var(--blue-deep); }
.calc-bar-chart { display: flex; gap: 1.5rem; align-items: flex-end; height: 140px; }
.calc-bar { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 0.5rem; position: relative; }
.calc-bar-fill { width: 100%; border-radius: 10px 10px 4px 4px; transition: height var(--dur-slow) var(--ease-premium); }
.calc-bar-before .calc-bar-fill { background: linear-gradient(180deg, var(--silver), #9aa3ab); }
.calc-bar-after .calc-bar-fill { background: linear-gradient(180deg, var(--blue-accent-soft), var(--blue-accent)); }
.calc-bar span { font-size: 0.78rem; color: var(--ink-soft); position: absolute; bottom: -1.6rem; }

/* ============ Diff / Guarantee grids ============ */
.diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.diff-card {
  padding: 2.2rem 1.5rem; border-radius: 18px; text-align: center;
  background: linear-gradient(135deg, var(--off-white), var(--white));
  border: 1px solid rgba(15,33,56,0.06);
}
.diff-card h3 { font-size: 1.05rem; }

.guarantee-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.guarantee-item {
  padding: 1.6rem; border-radius: 16px; text-align: center; font-weight: 600;
  background: var(--white); border: 1px solid rgba(15,33,56,0.08);
  color: var(--navy-900);
}

/* ============ Testimonials ============ */
.testimonial-carousel { max-width: 760px; margin: 0 auto; }
.testimonial-track { display: flex; overflow: hidden; }
.testimonial-slide { min-width: 100%; text-align: center; padding: 1rem 2rem; }
.stars { color: var(--blue-accent); font-size: 1.1rem; margin-bottom: 1.2rem; letter-spacing: 0.1em; }
.testimonial-slide p { font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.4rem); color: rgba(255,255,255,0.9); margin-bottom: 1.5rem; line-height: 1.5; }
.testimonial-author { font-size: 0.88rem; color: rgba(255,255,255,0.55); }
.carousel-controls { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-top: 2rem; }
.carousel-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25); color: var(--white); font-size: 1.4rem; display: flex; align-items: center; justify-content: center; transition: background var(--dur-fast); }
.carousel-btn:hover { background: rgba(255,255,255,0.1); }
.carousel-dots { display: flex; gap: 0.5rem; }
.carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.25); transition: background var(--dur-fast); }
.carousel-dot.active { background: var(--blue-accent); }

/* ============ FAQ ============ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(15,33,56,0.1); }
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 1.5rem 0; font-size: 1.05rem; font-weight: 500; color: var(--navy-950); text-align: left;
}
.faq-icon { width: 20px; height: 20px; position: relative; flex-shrink: 0; }
.faq-icon::before, .faq-icon::after {
  content: ''; position: absolute; background: var(--navy-950); transition: transform var(--dur-fast);
}
.faq-icon::before { width: 100%; height: 1.5px; top: 50%; left: 0; transform: translateY(-50%); }
.faq-icon::after { width: 1.5px; height: 100%; left: 50%; top: 0; transform: translateX(-50%); }
.faq-question[aria-expanded="true"] .faq-icon::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height var(--dur-med) var(--ease-premium); }
.faq-answer p { padding-bottom: 1.5rem; color: var(--ink-soft); max-width: 640px; }

/* ============ CTA Emotional ============ */
.cta-emotional { position: relative; min-height: 70vh; display: flex; align-items: center; color: var(--white); overflow: hidden; }
.cta-media { position: absolute; inset: 0; }
.cta-content { position: relative; z-index: 1; text-align: center; max-width: 780px; margin: 0 auto; }
.cta-content h2 { color: var(--white); margin-bottom: 1.2rem; }
.cta-content p { color: rgba(255,255,255,0.8); margin-bottom: 2rem; font-size: 1.1rem; }

/* ============ Cinematic close / Contact ============ */
.cinematic-close {
  position: relative; padding: var(--section-pad) 0;
  background: radial-gradient(circle at 50% 0%, var(--blue-deep), var(--navy-950) 70%);
  color: var(--white); text-align: center; overflow: hidden;
}
.cinematic-content { max-width: 620px; margin: 0 auto; position: relative; z-index: 1; }
.drop-icon { display: inline-block; width: 40px; height: 40px; color: var(--blue-accent-soft); margin-bottom: 1.5rem; }
.cinematic-close h2 { color: var(--white); margin-bottom: 1rem; }
.cinematic-close > .container > p { color: rgba(255,255,255,0.75); margin-bottom: 2.5rem; }

.contact-form { display: flex; flex-direction: column; gap: 1rem; text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form input {
  padding: 1rem 1.25rem; border-radius: 12px; border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06); color: var(--white); font-size: 0.95rem;
  transition: border-color var(--dur-fast);
}
.contact-form input::placeholder { color: rgba(255,255,255,0.45); }
.contact-form input:focus { outline: none; border-color: var(--blue-accent); }
.form-success { margin-top: 1.5rem; color: var(--blue-accent-soft); font-weight: 500; }

/* ============ Footer ============ */
.site-footer { background: var(--navy-950); color: rgba(255,255,255,0.7); padding: 4rem 0 2rem; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer-brand .logo-text { color: var(--white); font-size: 1.4rem; }
.footer-brand p { margin-top: 1rem; font-size: 0.88rem; max-width: 280px; color: rgba(255,255,255,0.5); }
.footer-col h4 { font-family: var(--font-body); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.85); margin-bottom: 1.2rem; }
.footer-col li { margin-bottom: 0.7rem; font-size: 0.9rem; }
.footer-col a:hover { color: var(--blue-accent-soft); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem; font-size: 0.82rem; color: rgba(255,255,255,0.4); }

/* ============ Back to top ============ */
.back-to-top {
  position: fixed; bottom: 2rem; right: 2rem; width: 48px; height: 48px; border-radius: 50%;
  background: var(--navy-950); color: var(--white); font-size: 1.2rem; z-index: 90;
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: all var(--dur-fast) var(--ease-premium);
  box-shadow: 0 10px 30px rgba(15,33,56,0.3);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--blue-deep); }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-layout, .split-layout, .health-layout, .product-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .health-layout.reverse { direction: ltr; }
  .authority-icons { grid-template-columns: repeat(2, 1fr); }
  .audience-grid { grid-template-columns: repeat(3, 1fr); }
  .diff-grid, .guarantee-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-ghost { display: none; }
  .steps-flow { flex-direction: column; }
  .step-connector { width: auto; height: 40px; transform: rotate(90deg); }
  .calculator-results { grid-template-columns: 1fr; }
  .before-after { grid-template-columns: 1fr; }
  .ba-divider { display: none; }
}

@media (max-width: 640px) {
  .problem-grid, .benefits-grid, .audience-grid, .diff-grid, .guarantee-grid, .authority-icons { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .glass-compare { gap: 1.5rem; }
}
