/* ==========================================================================
   ONEX VITALITY LABS - PREMIUM DARK DESIGN SYSTEM
   Modern, conversion-focused, Google Ads & FB Ads compliant
   Geo: Czech Republic | Language: Czech
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-primary: #070a12;
  --bg-secondary: #0d1424;
  --bg-card: rgba(18, 27, 46, 0.75);
  --bg-card-hover: rgba(24, 38, 64, 0.9);
  --bg-glass: rgba(13, 20, 36, 0.7);
  --bg-input: #0a0f1c;

  --accent-cyan: #38bdf8;
  --accent-blue: #2563eb;
  --accent-electric: #00d2ff;
  --accent-indigo: #4f46e5;
  --accent-gradient: linear-gradient(135deg, #38bdf8 0%, #2563eb 50%, #1d4ed8 100%);
  --accent-glow: rgba(56, 189, 248, 0.25);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-accent: #38bdf8;

  --border-subtle: rgba(148, 163, 184, 0.12);
  --border-glow: rgba(56, 189, 248, 0.3);
  --border-active: #38bdf8;

  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Elevation & Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 35px rgba(56, 189, 248, 0.2);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-spring: cubic-bezier(0.32, 0.72, 0, 1);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s var(--ease-spring);
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background: 
    radial-gradient(circle at 15% 15%, rgba(37, 99, 235, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 65%, rgba(56, 189, 248, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(30, 58, 138, 0.07) 0%, transparent 50%),
    var(--bg-primary);
}

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

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

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

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

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

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: rgba(7, 10, 18, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(7, 10, 18, 0.95);
  box-shadow: var(--shadow-md);
  border-bottom-color: rgba(56, 189, 248, 0.15);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

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

.brand-link img {
  height: 38px;
  width: auto;
}

.nav-desktop {
  display: none;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 28px;
  }
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-main);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: var(--radius-full);
  background: var(--accent-gradient);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.45);
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .mobile-toggle {
    display: none;
  }
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 72px;
  left: 0;
  width: 100%;
  background: rgba(10, 15, 26, 0.98);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-glow);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: translateY(-120%);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 99;
}

.mobile-drawer.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-drawer .nav-link {
  font-size: 1.1rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   BUTTONS & MICRO-INTERACTIONS
   ========================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 32px;
  border-radius: var(--radius-full);
  background: var(--accent-gradient);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.45);
  transition: all var(--transition-normal);
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(56, 189, 248, 0.6);
  color: #ffffff;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: transform var(--transition-fast);
}

.btn-primary:hover .btn-icon-circle {
  transform: translateX(4px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glow);
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  background: rgba(56, 189, 248, 0.1);
  border-color: var(--accent-cyan);
  color: #ffffff;
}

/* Eyebrow Pill Tag */
.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--accent-cyan);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 16px;
}

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

@keyframes pulseAnimation {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1.4); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

/* ==========================================================================
   DOUBLE-BEZEL CARD ARCHITECTURE
   ========================================================================== */
.bezel-card-outer {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 8px;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.bezel-card-outer:hover {
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.bezel-card-inner {
  background: var(--bg-card);
  border-radius: calc(var(--radius-xl) - 6px);
  padding: 28px;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

/* Section Spacing */
.section {
  padding-top: 80px;
  padding-bottom: 80px;
  position: relative;
}

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

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

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  color: #ffffff;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.75rem;
  }
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  padding-top: 50px;
  padding-bottom: 80px;
  overflow: hidden;
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
  }
}

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

.hero-title {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.8px;
  color: #ffffff;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.2rem;
  }
}

.hero-title .gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.hero-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 34px;
}

.hero-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1.02rem;
  color: var(--text-main);
  font-weight: 500;
}

.bullet-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.hero-disclaimer-note {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-media-wrapper {
  position: relative;
}

.hero-image-bezel {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  padding: 8px;
  border: 1px solid var(--border-glow);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(37, 99, 235, 0.2);
}

.hero-image {
  border-radius: calc(var(--radius-xl) - 6px);
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: center top;
}

@media (min-width: 1024px) {
  .hero-image {
    height: 520px;
  }
}

.hero-floating-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(13, 20, 36, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-md);
}

.badge-person {
  display: flex;
  flex-direction: column;
}

.badge-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: #ffffff;
}

.badge-role {
  font-size: 0.8rem;
  color: var(--accent-cyan);
}

.badge-stat {
  text-align: right;
}

.badge-stat-num {
  font-size: 1.2rem;
  font-weight: 800;
  color: #38bdf8;
  line-height: 1;
}

.badge-stat-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   PŘÍBĚH PREVIEW / STORY TEASER
   ========================================================================== */
.story-teaser-card {
  background: linear-gradient(135deg, rgba(18, 27, 46, 0.85) 0%, rgba(13, 20, 36, 0.95) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  margin-top: 30px;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .story-teaser-card {
    padding: 48px;
  }
}

.story-teaser-card::before {
  content: '"';
  position: absolute;
  right: 30px;
  top: 10px;
  font-size: 160px;
  line-height: 1;
  font-family: Georgia, serif;
  color: rgba(56, 189, 248, 0.05);
  pointer-events: none;
}

.story-teaser-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 1024px) {
  .story-teaser-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

.story-text-quote {
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 500;
  color: #e2e8f0;
  line-height: 1.6;
  margin-bottom: 20px;
}

.story-text-body {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 26px;
}

/* ==========================================================================
   INTERACTIVE WIDGET 1: QUIZ / TEST VITALITY
   ========================================================================== */
.quiz-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px 20px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

@media (min-width: 768px) {
  .quiz-wrapper {
    padding: 44px 40px;
  }
}

.quiz-progress-bar-container {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  margin-bottom: 30px;
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  width: 25%;
  background: var(--accent-gradient);
  border-radius: 3px;
  transition: width 0.4s ease;
}

.quiz-step-indicator {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
}

.quiz-question-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 24px;
  line-height: 1.35;
}

@media (min-width: 768px) {
  .quiz-question-title {
    font-size: 1.55rem;
  }
}

.quiz-options-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
}

.quiz-option-btn {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  width: 100%;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.quiz-option-btn:hover {
  background: rgba(56, 189, 248, 0.08);
  border-color: var(--accent-cyan);
  transform: translateX(4px);
}

.quiz-option-btn.selected {
  background: rgba(37, 99, 235, 0.18);
  border-color: var(--accent-cyan);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

.quiz-opt-letter {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.quiz-option-btn.selected .quiz-opt-letter {
  background: var(--accent-gradient);
  color: #ffffff;
}

.quiz-result-card {
  display: none;
  text-align: center;
  padding: 20px 10px;
  animation: fadeIn 0.5s ease forwards;
}

.quiz-score-meter {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
}

.quiz-score-number {
  font-size: 3.5rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}

.quiz-score-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 6px;
}

.quiz-result-text {
  font-size: 1.1rem;
  color: #e2e8f0;
  line-height: 1.7;
  max-width: 650px;
  margin: 0 auto 30px auto;
}

/* ==========================================================================
   INTERACTIVE WIDGET 2: 20-20 BIO-TONUS REGULATOR
   ========================================================================== */
.timer-widget-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.timer-circle-wrap {
  position: relative;
  width: 240px;
  height: 240px;
  margin: 20px auto 30px auto;
}

.timer-svg {
  transform: rotate(-90deg);
  width: 240px;
  height: 240px;
}

.timer-track-circle {
  fill: none;
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 10;
}

.timer-progress-circle {
  fill: none;
  stroke: url(#timerGrad);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 691; /* 2 * PI * 110 */
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.1s linear;
}

.timer-center-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.timer-seconds-display {
  font-size: 3.5rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #ffffff;
  line-height: 1;
}

.timer-phase-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 8px;
}

.timer-controls {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.timer-cycles-count {
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   INTERACTIVE WIDGET 3: BEFORE / AFTER VITALITY SLIDER
   ========================================================================== */
.comparison-container {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 30px 20px;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
  .comparison-container {
    padding: 40px;
  }
}

.slider-switch-tabs {
  display: flex;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px;
  border-radius: var(--radius-full);
  max-width: 440px;
  margin: 0 auto 30px auto;
  border: 1px solid var(--border-subtle);
}

.switch-tab-btn {
  flex: 1;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.switch-tab-btn.active {
  background: var(--accent-gradient);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.comparison-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .comparison-cards-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

.compare-col-card {
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  transition: transform var(--transition-fast);
}

.compare-card-before {
  background: rgba(239, 68, 68, 0.04);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.compare-card-after {
  background: rgba(56, 189, 248, 0.06);
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.1);
}

.compare-col-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.compare-col-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.compare-card-before .compare-col-icon {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.compare-card-after .compare-col-icon {
  background: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
}

.compare-col-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

.compare-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.compare-list-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.98rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.compare-card-after .compare-list-item {
  color: #e2e8f0;
}

/* ==========================================================================
   CERTIFICATES & QUALITY STANDARDS (4 CARDS + MODAL)
   ========================================================================== */
.certs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .certs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .certs-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.cert-card-interactive {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px 20px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.cert-card-interactive:hover {
  transform: translateY(-5px);
  border-color: var(--accent-cyan);
  box-shadow: 0 10px 25px rgba(56, 189, 248, 0.25);
}

.cert-badge-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  margin-bottom: 16px;
  font-size: 1.6rem;
}

.cert-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.cert-card-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.cert-click-hint {
  font-size: 0.78rem;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Modal Overlay */
.cert-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 7, 14, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.cert-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.cert-modal-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  max-width: 540px;
  width: 100%;
  padding: 32px 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  position: relative;
  transform: translateY(20px);
  transition: transform var(--transition-normal);
}

.cert-modal-backdrop.open .cert-modal-box {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-muted);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ffffff;
}

.modal-header-badge {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent-cyan);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.modal-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
}

.modal-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

.modal-spec-grid {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding-bottom: 6px;
}

.spec-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.spec-label {
  color: var(--text-dim);
}

.spec-val {
  color: #ffffff;
  font-weight: 600;
}

/* ==========================================================================
   OFFER SECTION / ORDER PAGE SPECIFIC STYLING
   ========================================================================== */
.offer-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

@media (min-width: 1024px) {
  .offer-page-grid {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
  }
}

.product-showcase-box {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 36px 24px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.product-img-wrapper {
  position: relative;
  max-width: 320px;
  margin: 0 auto 24px auto;
}

.product-img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.7));
  transition: transform var(--transition-normal);
}

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

.product-spec-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 24px;
}

.spec-pill {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Call Center Banner */
.call-center-badge {
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.15) 0%, rgba(56, 189, 248, 0.1) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
  text-align: left;
}

.call-center-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.2rem;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
}

.call-center-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.call-center-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Lead Form Styling */
.lead-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(37, 99, 235, 0.15);
}

@media (min-width: 768px) {
  .lead-form-card {
    padding: 44px 38px;
  }
}

.form-header {
  margin-bottom: 26px;
}

.form-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.form-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.consultation-notice-box {
  background: rgba(56, 189, 248, 0.08);
  border-left: 3px solid var(--accent-cyan);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 12px 16px;
  margin-bottom: 24px;
  font-size: 0.88rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
}

.form-control {
  width: 100%;
  height: 52px;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0 18px;
  color: #ffffff;
  font-size: 1.05rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.35);
  background: #0d1527;
}

.form-control::placeholder {
  color: var(--text-dim);
}

/* Phone input container with locked prefix */
.phone-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.phone-control {
  font-family: var(--font-mono);
  letter-spacing: 0.5px;
}

/* Warning alert box for phone entry */
.phone-alert-msg {
  font-size: 0.82rem;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  display: none;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}

.phone-alert-msg.warning {
  display: flex;
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.phone-alert-msg.valid {
  display: flex;
  background: rgba(16, 185, 129, 0.12);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.phone-alert-msg.error {
  display: flex;
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Trust Badges Bar */
.trust-badges-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.trust-badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.trust-badge-icon {
  font-size: 1.4rem;
  color: var(--accent-cyan);
}

.trust-badge-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.3;
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--accent-cyan);
}

.faq-question-btn {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.08rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.faq-icon-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-normal);
}

.faq-item.active .faq-icon-arrow {
  transform: rotate(180deg);
  background: var(--accent-gradient);
  color: #ffffff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
}

.faq-answer-inner {
  padding: 0 24px 22px 24px;
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   CONTACT & GOOGLE MAP SECTION
   ========================================================================== */
.contact-section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .contact-section-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 40px;
  }
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

.contact-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(56, 189, 248, 0.1);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.contact-detail-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.map-container-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-glow);
  min-height: 380px;
  height: 100%;
  background: #0a0f1d;
  box-shadow: var(--shadow-md);
}

.map-iframe {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  filter: invert(90%) hue-rotate(180deg) contrast(90%);
}

/* ==========================================================================
   FOOTER & LEGAL COMPLIANCE
   ========================================================================== */
.site-footer {
  background: #04070e;
  border-top: 1px solid var(--border-subtle);
  padding-top: 60px;
  padding-bottom: 40px;
  margin-top: auto;
}

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

@media (min-width: 768px) {
  .footer-top-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
  }
}

.footer-brand-col p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 14px;
}

.footer-col-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

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

.footer-link-item a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-link-item a:hover {
  color: var(--accent-cyan);
}

/* Google Ads Mandatory Disclaimer Box */
.google-ads-disclaimer-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin-bottom: 30px;
  font-size: 0.82rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.footer-bottom-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  font-size: 0.82rem;
  color: var(--text-dim);
}

@media (min-width: 768px) {
  .footer-bottom-row {
    flex-direction: row;
  }
}

/* ==========================================================================
   COOKIE CONSENT BANNER
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 600px;
  margin: 0 auto;
  background: rgba(13, 20, 36, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  animation: slideUp 0.4s var(--ease-spring) forwards;
}

@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    bottom: 10px;
    left: 10px;
    right: 10px;
  }
}

.cookie-text {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.cookie-text a {
  color: var(--accent-cyan);
  text-decoration: underline;
}

.cookie-btn-group {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.btn-cookie-accept {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: var(--accent-gradient);
  border: none;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-cookie-reject {
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
}

/* ==========================================================================
   THANK YOU PAGE SPECIFIC STYLES
   ========================================================================== */
.thankyou-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 48px 32px;
  text-align: center;
  max-width: 680px;
  margin: 60px auto;
  box-shadow: var(--shadow-lg), 0 0 50px rgba(56, 189, 248, 0.15);
}

.thankyou-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 2px solid var(--success);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 24px auto;
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.3);
}

.order-badge-pill {
  display: inline-flex;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid var(--accent-cyan);
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 24px;
}

.thankyou-steps-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: left;
  margin: 30px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.thankyou-step-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.thankyou-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* ==========================================================================
   ARTICLE / EDITORIAL PAGES (STORY, SCIENCE, GUIDE, LEGAL)
   ========================================================================== */
.article-header {
  padding-top: 60px;
  padding-bottom: 40px;
  text-align: center;
}

.article-content {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px 24px;
  box-shadow: var(--shadow-md);
  margin-bottom: 60px;
}

@media (min-width: 768px) {
  .article-content {
    padding: 56px 48px;
  }
}

.article-body h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-top: 36px;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.article-body h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-top: 26px;
  margin-bottom: 12px;
}

.article-body p {
  font-size: 1.05rem;
  color: #cbd5e1;
  line-height: 1.8;
  margin-bottom: 20px;
}

.article-body ul, .article-body ol {
  margin-bottom: 24px;
  padding-left: 24px;
  color: #cbd5e1;
}

.article-body li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.article-callout {
  background: rgba(56, 189, 248, 0.08);
  border-left: 4px solid var(--accent-cyan);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 24px;
  margin: 30px 0;
  font-size: 1.02rem;
  font-style: italic;
  color: #e2e8f0;
}

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

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

/* ==========================================================================
   ADVANCED CINEMATIC TRANSITIONS & 3D INTERACTIVE ENGINE
   ========================================================================== */

/* Top Loading Progress Line */
.page-loader-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #38bdf8, #2563eb, #00d2ff);
  box-shadow: 0 0 12px #38bdf8;
  z-index: 99999;
  pointer-events: none;
  transition: width 0.3s cubic-bezier(0.1, 0.9, 0.2, 1), opacity 0.3s ease;
}

/* Page Entry & Exit States */
body {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

body.page-entering {
  animation: pageReveal 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

body.page-exiting {
  opacity: 0;
  transform: translateY(-8px) scale(0.995);
  pointer-events: none;
}

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

/* Scroll-Driven Reveal Elements */
.scroll-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Hero Ambient Particle Canvas */
#hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* 3D Tilt Card with Dynamic Specular Glare */
.tilt-card-3d {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
  will-change: transform;
}

.tilt-glare {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 5;
}

/* ==========================================================================
   INTERACTIVE 3D PRODUCT & CAPSULE MODEL VIEWER
   ========================================================================== */
.model-3d-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, rgba(14, 165, 233, 0.08) 0%, transparent 60%);
}

.model-3d-wrapper {
  background: rgba(13, 20, 36, 0.85);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 36px 20px;
  box-shadow: var(--shadow-lg), 0 0 50px rgba(56, 189, 248, 0.15);
  position: relative;
}

@media (min-width: 768px) {
  .model-3d-wrapper {
    padding: 48px 40px;
  }
}

.model-3d-stage {
  position: relative;
  width: 100%;
  height: 420px;
  perspective: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}

.model-3d-stage:active {
  cursor: grabbing;
}

/* The 3D World Object */
.model-3d-object {
  position: relative;
  width: 200px;
  height: 280px;
  transform-style: preserve-3d;
  transition: transform 0.08s linear;
  transform: rotateX(-12deg) rotateY(25deg);
}

/* 3D Box Faces */
.box-face {
  position: absolute;
  box-sizing: border-box;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.05);
  backface-visibility: visible;
}

.box-front {
  width: 200px;
  height: 280px;
  transform: translateZ(55px);
  padding: 24px 18px;
  text-align: center;
  background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
}

.box-back {
  width: 200px;
  height: 280px;
  transform: rotateY(180deg) translateZ(55px);
  padding: 20px 16px;
  background: #f8fafc;
  color: #1e293b;
  font-size: 8px;
}

.box-left {
  width: 110px;
  height: 280px;
  transform: rotateY(-90deg) translateZ(55px);
  padding: 16px 12px;
  background: #e2e8f0;
  font-size: 8.5px;
  color: #334155;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.box-right {
  width: 110px;
  height: 280px;
  transform: rotateY(90deg) translateZ(145px);
  padding: 16px 12px;
  background: #f1f5f9;
  font-size: 8px;
  color: #334155;
}

.box-top {
  width: 200px;
  height: 110px;
  transform: rotateX(90deg) translateZ(55px);
  background: #ffffff;
}

.box-bottom {
  width: 200px;
  height: 110px;
  transform: rotateX(-90deg) translateZ(225px);
  background: #94a3b8;
  box-shadow: 0 40px 60px rgba(0, 0, 0, 0.6), 0 0 50px rgba(56, 189, 248, 0.4);
}

/* 3D Box Graphic details */
.box-brand-title {
  font-size: 32px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -1px;
  line-height: 1;
}

.box-star-orbit {
  width: 50px;
  height: 25px;
  margin: 10px auto;
}

.box-subheading {
  font-size: 11px;
  font-weight: 800;
  color: #0284c7;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.box-desc-text {
  font-size: 8px;
  color: #475569;
  line-height: 1.35;
  margin-top: 6px;
}

.box-caps-count {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.5px;
}

/* Interactive 3D Hotspot Pins */
.model-hotspot {
  position: absolute;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  z-index: 20;
  box-shadow: 0 0 15px #38bdf8;
  animation: hotspotPulse 2s infinite;
  transform-style: preserve-3d;
}

@keyframes hotspotPulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 12px rgba(56, 189, 248, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}

.hotspot-1 { top: 30px; left: -15px; transform: translateZ(65px); }
.hotspot-2 { top: 125px; right: -15px; transform: translateZ(65px); }
.hotspot-3 { bottom: 30px; left: 85px; transform: translateZ(65px); }

/* Hotspot HUD Card */
.hotspot-hud-card {
  position: absolute;
  top: 15px;
  right: 15px;
  max-width: 280px;
  background: rgba(10, 15, 26, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  z-index: 30;
  pointer-events: none;
  animation: fadeIn 0.3s ease;
}

.hud-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hud-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* 3D Control Bar */
.model-controls-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.btn-model-ctrl {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-model-ctrl:hover,
.btn-model-ctrl.active {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--accent-cyan);
  color: #ffffff;
}

/* ==========================================================================
   INTERACTIVE CERTIFICATE INSPECTOR CONSOLE
   ========================================================================== */
.cert-card-interactive {
  position: relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
}

.cert-card-interactive:active {
  transform: scale(0.97);
}

.cert-card-interactive.active {
  border-color: var(--accent-cyan);
  background: rgba(30, 48, 80, 0.7);
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.35), inset 0 0 20px rgba(56, 189, 248, 0.15);
  transform: translateY(-4px);
}

.cert-card-interactive.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background: var(--accent-gradient);
  border-radius: 3px;
  box-shadow: 0 0 10px var(--accent-cyan);
}

/* Certificate Live Inspector Drawer */
.cert-live-inspector {
  margin-top: 32px;
  background: linear-gradient(135deg, rgba(13, 20, 36, 0.98) 0%, rgba(18, 27, 46, 0.95) 100%);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(56, 189, 248, 0.15);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

@media (min-width: 768px) {
  .cert-live-inspector {
    padding: 40px;
  }
}

.inspector-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

@media (min-width: 1024px) {
  .inspector-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
  }
}

.inspector-seal-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.inspector-hologram {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #38bdf8 0%, #1e40af 60%, #0f172a 100%);
  border: 2px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.5), inset 0 0 15px rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 14px;
  animation: hologramGlint 4s infinite linear;
}

@keyframes hologramGlint {
  0% { filter: hue-rotate(0deg); }
  50% { filter: hue-rotate(40deg); }
  100% { filter: hue-rotate(0deg); }
}

.inspector-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--success);
  color: var(--success);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.inspector-qr-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  background: rgba(0, 0, 0, 0.25);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--border-glow);
}

.inspector-qr-code {
  width: 44px;
  height: 44px;
  background: #ffffff;
  padding: 3px;
  border-radius: 4px;
}

/* ==========================================================================
   ADVANCED NEURO-VASCULAR BIO-TONUS REGULATOR (UNIQUE UPGRADE)
   ========================================================================== */
.protocol-selector-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.protocol-tab-btn {
  padding: 10px 18px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.protocol-tab-btn:hover {
  background: rgba(56, 189, 248, 0.1);
  color: #ffffff;
}

.protocol-tab-btn.active {
  background: var(--accent-gradient);
  border-color: var(--accent-cyan);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.4);
}

/* Pulsing Bio-Halo Breathing Ring */
.bio-halo-wrapper {
  position: relative;
  width: 270px;
  height: 270px;
  margin: 15px auto 30px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bio-halo-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, rgba(37, 99, 235, 0.05) 50%, transparent 70%);
  border: 2px dashed rgba(56, 189, 248, 0.35);
  box-shadow: 0 0 35px rgba(56, 189, 248, 0.2);
  transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.4s ease;
  pointer-events: none;
}

.bio-halo-ring.inhaling {
  transform: scale(1.22);
  border-color: #38bdf8;
  box-shadow: 0 0 50px rgba(56, 189, 248, 0.5);
}

.bio-halo-ring.holding {
  transform: scale(1.22);
  border-color: #fbbf24;
  box-shadow: 0 0 50px rgba(245, 158, 11, 0.4);
}

.bio-halo-ring.exhaling {
  transform: scale(0.88);
  border-color: #2563eb;
  box-shadow: 0 0 25px rgba(37, 99, 235, 0.2);
}

/* Live HRV Coherence Gauge */
.coherence-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  max-width: 440px;
  margin: 0 auto 24px auto;
  text-align: left;
}

.coherence-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.85rem;
  font-weight: 700;
}

.coherence-bar-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  overflow: hidden;
}

.coherence-bar-fill {
  height: 100%;
  width: 48%;
  background: linear-gradient(90deg, #f59e0b 0%, #38bdf8 50%, #10b981 100%);
  border-radius: 4px;
  transition: width 0.6s ease;
}

/* Sound Toggle Pill */
.btn-sound-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  margin-left: 10px;
  transition: all var(--transition-fast);
}

.btn-sound-toggle.active {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

/* ==========================================================================
   INTERACTIVE BIO-AGE & CELLULAR VITALITY CALCULATOR
   ========================================================================== */
.bio-calc-container {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 36px 24px;
  box-shadow: var(--shadow-lg), 0 0 45px rgba(37, 99, 235, 0.12);
  margin-bottom: 60px;
}

@media (min-width: 1024px) {
  .bio-calc-container {
    padding: 48px;
  }
}

.bio-calc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

@media (min-width: 1024px) {
  .bio-calc-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
  }
}

.slider-group {
  margin-bottom: 22px;
}

.slider-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.slider-val-badge {
  padding: 3px 12px;
  border-radius: var(--radius-full);
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--accent-cyan);
  font-size: 0.88rem;
  font-family: var(--font-mono);
}

.bio-range-slider {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  outline: none;
}

.bio-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-gradient);
  border: 2px solid #ffffff;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.bio-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.18);
}

/* Score Result Console */
.calc-results-console {
  background: rgba(10, 15, 26, 0.9);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.cell-age-display {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}

.cell-age-diff-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.diff-worse {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.diff-better {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.metrics-dual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.metric-mini-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px;
}

.metric-mini-num {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
}

.metric-mini-lbl {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-top: 2px;
}
