/* ==========================================================================
   LOVIRE DAILY ENERGY — NORDIC LIGHT EDITORIAL SYSTEM (FINLAND / FI)
   Color Calibration: Arctic Ice (#F7FAFC) + Baltic Cobalt (#12406A)
                      + Boreal Emerald (#1D6A49) + Autumn Copper (#B46529)
   ========================================================================== */

:root {
  --bg-page: #f7fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #eef4f8;
  --bg-tinted: #e5eff6;
  --bg-emerald-soft: #eaf4ef;
  --bg-copper-soft: #fbf2eb;

  --text-primary: #0f2338;
  --text-secondary: #354c64;
  --text-muted: #5c748c;

  --accent-primary: #12406a;
  --accent-primary-hover: #0c2d4d;
  --accent-emerald: #1d6a49;
  --accent-emerald-hover: #145136;
  --accent-copper: #b46529;

  --border-light: #d8e4ef;
  --border-strong: #b8cde0;

  --shadow-sm: 0 4px 14px -2px rgba(18, 64, 106, 0.06);
  --shadow-md: 0 14px 34px -6px rgba(18, 64, 106, 0.1);
  --shadow-lg: 0 26px 54px -12px rgba(18, 64, 106, 0.14);

  --radius-card: 18px;
  --radius-input: 10px;
  --radius-pill: 9999px;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --header-h: 74px;
  --container-max: 1280px;
  --transition-smooth: cubic-bezier(0.22, 1, 0.36, 1);
}

@view-transition {
  navigation: auto;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  padding-top: var(--header-h);
  -webkit-font-smoothing: antialiased;
  animation: pageFadeIn 0.55s var(--transition-smooth);
}

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

/* Scroll Progress Top Indicator */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-emerald), var(--accent-copper));
  z-index: 1200;
  transition: width 0.1s linear;
}

/* Scroll-Reveal Animations */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--transition-smooth), transform 0.65s var(--transition-smooth);
  will-change: opacity, transform;
}

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

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

ul {
  list-style: none;
}

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

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

/* ==========================================================================
   1. FIXED HEADER & NAVIGATION (white-space: nowrap, single-line desktop)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: rgba(247, 250, 252, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.brand-logo img {
  height: 42px;
  width: auto;
}

.main-nav {
  display: none;
}

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

.nav-link {
  white-space: nowrap;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.22s ease;
}

.nav-link:hover {
  color: var(--accent-primary);
  background: var(--bg-subtle);
}

.nav-link.active {
  color: var(--accent-primary);
  background: var(--bg-tinted);
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.78rem 1.45rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.22s var(--transition-smooth), background-color 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary) 0%, #195387 100%);
  color: #ffffff;
  box-shadow: 0 8px 22px -4px rgba(18, 64, 106, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-primary-hover) 0%, var(--accent-primary) 100%);
  box-shadow: 0 14px 28px -4px rgba(18, 64, 106, 0.45);
}

.btn-emerald {
  background: linear-gradient(135deg, var(--accent-emerald) 0%, #248159 100%);
  color: #ffffff;
  box-shadow: 0 8px 20px -4px rgba(29, 106, 73, 0.3);
}

.btn-emerald:hover {
  background: linear-gradient(135deg, var(--accent-emerald-hover) 0%, var(--accent-emerald) 100%);
}

.btn-outline {
  background-color: var(--bg-surface);
  color: var(--accent-primary);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  background-color: var(--bg-subtle);
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-sm);
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.98rem 1.9rem;
  font-size: 1.02rem;
}

.mobile-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
  background: var(--bg-surface);
  color: var(--text-primary);
  cursor: pointer;
}

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

.mobile-drawer {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
  padding: 1rem 1.25rem 1.5rem;
  box-shadow: var(--shadow-md);
  z-index: 999;
}

.mobile-drawer.open {
  display: block;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.mobile-nav-list .nav-link {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 10px;
}

/* ==========================================================================
   2. HERO SECTION (Animated Aurora Atmosphere, Editorial Visual Badge)
   ========================================================================== */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 2.25rem 0 3.75rem;
  min-height: calc(100dvh - var(--header-h));
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 88% 14%, rgba(29, 106, 73, 0.1), transparent 38%),
    radial-gradient(circle at 12% 80%, rgba(18, 64, 106, 0.1), transparent 44%),
    radial-gradient(circle at 55% 50%, rgba(180, 101, 41, 0.05), transparent 50%),
    var(--bg-page);
  border-bottom: 1px solid var(--border-light);
}

.hero-ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(55px);
  pointer-events: none;
  z-index: 0;
  animation: floatAmbientOrb 12s ease-in-out infinite alternate;
}

.hero-ambient-orb.orb-1 {
  width: 340px;
  height: 340px;
  background: rgba(18, 64, 106, 0.09);
  top: -80px;
  right: 8%;
}

.hero-ambient-orb.orb-2 {
  width: 280px;
  height: 280px;
  background: rgba(29, 106, 73, 0.09);
  bottom: -60px;
  left: 5%;
  animation-delay: -5s;
}

@keyframes floatAmbientOrb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(24px, -20px) scale(1.08); }
}

@media (min-width: 1024px) {
  .hero-section {
    padding: 3rem 0 4rem;
  }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 3.5rem;
  }
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.38rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--bg-tinted);
  border: 1px solid rgba(18, 64, 106, 0.14);
  color: var(--accent-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.15rem;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 0 3px rgba(29, 106, 73, 0.22);
  animation: pulseDot 2.4s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.75; }
}

.hero-title {
  font-size: clamp(2.1rem, 4.2vw, 3.5rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 1.15rem;
}

.hero-title em {
  font-style: italic;
  color: var(--accent-emerald);
  padding-bottom: 0.08em;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.08rem;
  color: var(--text-secondary);
  max-width: 58ch;
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

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

.hero-visual {
  position: relative;
}

.hero-photo-frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  background: var(--bg-surface);
  transition: transform 0.45s var(--transition-smooth), box-shadow 0.45s var(--transition-smooth);
}

.hero-photo-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -15px rgba(18, 64, 106, 0.2);
}

.hero-photo-frame img.hero-main-img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.7s var(--transition-smooth);
}

.hero-photo-frame:hover img.hero-main-img {
  transform: scale(1.025);
}

@media (min-width: 768px) {
  .hero-photo-frame img.hero-main-img {
    height: 500px;
  }
}

/* Floating Glass Vitality Status Card (No product box image on index.html) */
.hero-vitality-float {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  left: 1.25rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 16px;
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 18px 38px -8px rgba(15, 35, 56, 0.18);
  animation: gentleFloatCard 5s ease-in-out infinite alternate;
}

@keyframes gentleFloatCard {
  0% { transform: translateY(0); }
  100% { transform: translateY(-5px); }
}

@media (min-width: 640px) {
  .hero-vitality-float {
    left: auto;
    max-width: 375px;
  }
}

.vitality-streams-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, #eef5fb 0%, #eaf4ef 100%);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-product-meta h3 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.hero-product-meta p {
  font-size: 0.81rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ==========================================================================
   3. BENEFIT PILLARS STRIP (Directly below Hero)
   ========================================================================== */
.pillars-strip {
  padding: 2.5rem 0;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

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

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

.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
  padding: 1.25rem;
  border-radius: var(--radius-card);
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  transition: transform 0.28s var(--transition-smooth), box-shadow 0.28s ease, border-color 0.28s ease;
}

.pillar-item:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-tinted);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.28s var(--transition-smooth);
}

.pillar-item:hover .pillar-icon {
  transform: scale(1.08) rotate(-3deg);
}

.pillar-item:nth-child(2) .pillar-icon {
  background: var(--bg-emerald-soft);
  color: var(--accent-emerald);
}

.pillar-item:nth-child(3) .pillar-icon {
  background: var(--bg-copper-soft);
  color: var(--accent-copper);
}

.pillar-item h3 {
  font-size: 0.96rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.pillar-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* ==========================================================================
   4. GENERAL SECTION LAYOUTS & HEADINGS
   ========================================================================== */
.section {
  padding: 4.75rem 0;
}

.section-alt {
  background-color: var(--bg-subtle);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-surface {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-header {
  max-width: 68ch;
  margin-bottom: 2.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   5. EDITORIAL STORY & BENTO GRID (Women's & Men's 40+ Vitality)
   ========================================================================== */
.editorial-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

.bento-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 2.15rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s var(--transition-smooth), box-shadow 0.3s ease, border-color 0.3s ease;
}

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

.bento-span-7 { grid-column: span 1; }
.bento-span-5 { grid-column: span 1; }
.bento-span-6 { grid-column: span 1; }
.bento-span-12 { grid-column: span 1; }

@media (min-width: 1024px) {
  .bento-span-7 { grid-column: span 7; }
  .bento-span-5 { grid-column: span 5; }
  .bento-span-6 { grid-column: span 6; }
  .bento-span-12 { grid-column: span 12; }
}

.bento-card.tinted-blue {
  background: linear-gradient(145deg, #eef5fb 0%, #ffffff 100%);
  border-color: var(--border-strong);
}

.bento-card.tinted-emerald {
  background: linear-gradient(145deg, #ebf5f0 0%, #ffffff 100%);
  border-color: #bddbc9;
}

.bento-card.tinted-copper {
  background: linear-gradient(145deg, #fcf3ec 0%, #ffffff 100%);
  border-color: #ebd0b9;
}

.bento-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--accent-primary);
  background: rgba(18, 64, 106, 0.08);
  padding: 0.28rem 0.65rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  align-self: flex-start;
}

.bento-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
  line-height: 1.3;
}

.bento-card p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  margin-bottom: 1rem;
}

.bento-card p:last-child {
  margin-bottom: 0;
}

.story-Portrait-box {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 768px) {
  .story-Portrait-box {
    grid-template-columns: 240px 1fr;
  }
}

.story-Portrait-box img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border-light);
}

/* Animated SVG Three-Stream Diagram Card (Replaces product image on index.html) */
.synergy-diagram-box {
  width: 100%;
  height: 220px;
  border-radius: 16px;
  background: linear-gradient(145deg, #ffffff 0%, #f1f7fc 100%);
  border: 1px solid var(--border-strong);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.synergy-stream-path {
  stroke-dasharray: 260;
  stroke-dashoffset: 0;
  animation: streamPulseFlow 6s ease-in-out infinite alternate;
}

@keyframes streamPulseFlow {
  0% { stroke-dashoffset: 40; filter: drop-shadow(0 2px 4px rgba(18, 64, 106, 0.12)); }
  100% { stroke-dashoffset: 0; filter: drop-shadow(0 6px 12px rgba(29, 106, 73, 0.24)); }
}

/* ==========================================================================
   6. INTERACTIVE MICRO-ENGAGEMENTS (Quiz, Timer, Before/After Slider)
   ========================================================================== */
.interactive-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.3s ease;
}

.interactive-card:hover {
  box-shadow: var(--shadow-lg);
}

/* --- 6.1 Quiz --- */
.quiz-progress-bar {
  width: 100%;
  height: 8px;
  background: var(--bg-subtle);
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.quiz-progress-fill {
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-emerald));
  border-radius: var(--radius-pill);
  transition: width 0.4s var(--transition-smooth);
}

.quiz-step-indicator {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.quiz-question-title {
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.quiz-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

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

.quiz-option-btn {
  text-align: left;
  padding: 1rem 1.15rem;
  border-radius: 12px;
  border: 1.5px solid var(--border-light);
  background: var(--bg-page);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.quiz-option-btn:hover {
  border-color: var(--accent-primary);
  background: var(--bg-tinted);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.quiz-result-box {
  display: none;
  padding: 1.5rem;
  border-radius: 14px;
  background: var(--bg-emerald-soft);
  border: 1px solid #b5d9c6;
  animation: pageFadeIn 0.4s var(--transition-smooth);
}

.quiz-result-box.active {
  display: block;
}

.quiz-score-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--accent-emerald);
  color: #ffffff;
  margin-bottom: 0.85rem;
}

/* --- 6.2 Circle Timer (20-20-20 & Breathing Reset) --- */
.timer-circle-wrap {
  position: relative;
  width: 210px;
  height: 210px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.timer-track {
  fill: none;
  stroke: var(--bg-subtle);
  stroke-width: 12;
}

.timer-progress {
  fill: none;
  stroke: var(--accent-emerald);
  stroke-width: 12;
  stroke-linecap: round;
  stroke-dasharray: 565.48;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.35s linear, stroke 0.3s ease;
}

.timer-Readout {
  position: absolute;
  text-align: center;
}

.timer-seconds {
  font-family: var(--font-mono);
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.timer-phase-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-emerald);
  margin-top: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.timer-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

/* --- 6.3 Before / After Daily Rhythm Comfort Slider --- */
.comparison-widget {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.slider-control-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.slider-state-badge {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  background: var(--bg-tinted);
  color: var(--accent-primary);
  transition: all 0.25s ease;
}

.range-slider-input {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 10px;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, #94a3b8 0%, var(--accent-primary) 50%, var(--accent-emerald) 100%);
  outline: none;
  margin: 1rem 0 1.75rem;
  cursor: pointer;
}

.range-slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--accent-primary);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: transform 0.18s ease;
}

.range-slider-input::-webkit-slider-thumb:hover {
  transform: scale(1.12);
}

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

@media (min-width: 768px) {
  .comparison-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.comparison-metric-card {
  padding: 1.35rem;
  border-radius: 14px;
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  transition: transform 0.25s var(--transition-smooth), border-color 0.25s ease, background-color 0.25s ease;
}

.comparison-metric-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}

.comparison-metric-card h4 {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.comparison-metric-card .metric-val {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.comparison-metric-card p {
  font-size: 0.86rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   7. CERTIFICATES & QUALITY STANDARDS (4 Interactive Cards + Dialog Modal)
   ========================================================================== */
.cert-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

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

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

.cert-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 1.65rem;
  text-align: left;
  cursor: pointer;
  transition: transform 0.25s var(--transition-smooth), border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.cert-code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-emerald);
  background: var(--bg-emerald-soft);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 1rem;
  align-self: flex-start;
}

.cert-card h3 {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.cert-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.cert-action-link {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--accent-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Native Dialog Modal */
.cert-dialog {
  margin: auto;
  max-width: 540px;
  width: calc(100% - 2rem);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 2rem;
  background: var(--bg-surface);
  color: var(--text-primary);
  box-shadow: var(--shadow-lg);
}

.cert-dialog::backdrop {
  background: rgba(15, 35, 56, 0.55);
  backdrop-filter: blur(4px);
}

.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.dialog-close-btn {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-weight: 700;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.dialog-close-btn:hover {
  background: var(--bg-tinted);
  transform: rotate(90deg);
}

/* ==========================================================================
   8. OFFER & CONSULTATION FORM (Dedicated tilaus.html & CTA blocks)
   ========================================================================== */
.offer-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .offer-layout {
    grid-template-columns: 1fr 1.05fr;
    gap: 3.5rem;
  }
}

.offer-showcase-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
}

.offer-product-img-wrap {
  background: radial-gradient(circle, #ffffff 0%, var(--bg-subtle) 100%);
  border-radius: 14px;
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  border: 1px solid var(--border-light);
}

.offer-product-img-wrap img {
  max-height: 260px;
  width: auto;
  object-fit: contain;
}

/* Consultation Process Timeline Card (Used on index.html instead of product photo) */
.consultation-steps-card {
  background: #ffffff;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.consult-step-row {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.85rem;
  border-radius: 12px;
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  transition: transform 0.25s var(--transition-smooth), border-color 0.25s ease;
}

.consult-step-row:hover {
  transform: translateX(4px);
  border-color: var(--accent-primary);
}

.consult-step-num {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--bg-tinted);
  color: var(--accent-primary);
  font-family: var(--font-mono);
  font-size: 0.84rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.consult-step-row:nth-child(2) .consult-step-num {
  background: var(--bg-emerald-soft);
  color: var(--accent-emerald);
}

.consult-step-row:nth-child(3) .consult-step-num {
  background: var(--bg-copper-soft);
  color: var(--accent-copper);
}

.consult-step-row h4 {
  font-size: 0.93rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}

.consult-step-row p {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.form-card {
  background: var(--bg-surface);
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-card);
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
}

.callcenter-banner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: var(--bg-emerald-soft);
  border: 1px solid #b7dcc8;
  color: var(--accent-emerald);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 0 4px rgba(29, 106, 73, 0.2);
  flex-shrink: 0;
  animation: pulseDot 2s infinite ease-in-out;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.35rem;
}

.form-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
}

.form-input {
  width: 100%;
  padding: 0.9rem 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--bg-page);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-input);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-input::placeholder {
  color: var(--text-muted);
  font-weight: 400;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(18, 64, 106, 0.12);
}

.form-input.input-error {
  border-color: #c53030;
  background: #fff5f5;
}

.form-input.input-valid {
  border-color: var(--accent-emerald);
}

.form-helper {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.form-error-msg {
  display: none;
  font-size: 0.82rem;
  font-weight: 700;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
  padding: 0.55rem 0.75rem;
  border-radius: 8px;
}

.form-error-msg.visible {
  display: block;
}

.trust-badges-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

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

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.trust-badge-item svg {
  color: var(--accent-emerald);
  flex-shrink: 0;
}

/* ==========================================================================
   9. FAQ ACCORDION (<details> / <summary>) — PRECISION CENTERED SVG ICON
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-width: 880px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s var(--transition-smooth);
}

.faq-item:hover {
  border-color: var(--border-strong);
}

.faq-item[open] {
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-sm);
}

.faq-summary {
  padding: 1.25rem 1.5rem;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  user-select: none;
}

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

/* Neat, geometrically centered toggle button with drawn +/- lines */
.faq-icon {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  color: transparent; /* hide raw '+' text character cleanly */
  font-size: 0;
  line-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.28s var(--transition-smooth), border-color 0.28s var(--transition-smooth), transform 0.28s var(--transition-smooth);
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background-color: var(--accent-primary);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform 0.28s var(--transition-smooth), background-color 0.28s ease, opacity 0.28s ease;
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-summary:hover .faq-icon {
  background: var(--bg-tinted);
  border-color: var(--border-strong);
}

.faq-item[open] .faq-icon {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  transform: rotate(180deg);
}

.faq-item[open] .faq-icon::before {
  background-color: #ffffff;
}

.faq-item[open] .faq-icon::after {
  background-color: #ffffff;
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0;
}

.faq-body {
  padding: 0 1.5rem 1.4rem;
  padding-right: 3.5rem;
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.65;
  animation: faqSlideDown 0.28s var(--transition-smooth);
}

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

/* ==========================================================================
   10. FOOTER, GOOGLE MAP & GOOGLE ADS DISCLAIMER
   ========================================================================== */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-light);
  padding: 4rem 0 2.5rem;
  color: var(--text-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.2fr 0.9fr 0.9fr 1.2fr;
  }
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent-primary);
  text-decoration: underline;
}

.footer-map-box {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  height: 175px;
  background: var(--bg-subtle);
}

.footer-map-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.footer-disclaimer {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.84rem;
  color: var(--text-muted);
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
}

/* ==========================================================================
   11. COOKIE BANNER (localStorage persistence)
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  max-width: 560px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-lg);
  z-index: 1100;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-banner p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.cookie-actions {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   12. LEGAL & COA DOCUMENT TABLES
   ========================================================================== */
.doc-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}

.doc-card h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 1.5rem 0 0.75rem;
  color: var(--text-primary);
}

.doc-card h2:first-child {
  margin-top: 0;
}

.doc-card p, .doc-card li {
  color: var(--text-secondary);
  font-size: 0.96rem;
  margin-bottom: 0.75rem;
}

.data-table-wrap {
  overflow-x: auto;
  margin: 1.25rem 0;
  border: 1px solid var(--border-light);
  border-radius: 12px;
}

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

.data-table th {
  background: var(--bg-subtle);
  color: var(--text-primary);
  font-weight: 700;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--border-light);
}

.data-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
}

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

.status-pass {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-emerald);
  background: var(--bg-emerald-soft);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
}
