:root {
  --navy-900: #0b213f;
  --navy-800: #0f2c52;
  --navy-700: #183d6e;
  --teal-700: #0e747b;
  --teal-600: #148e96;
  --teal-500: #1db0b8;
  --teal-100: #e3f6f7;
  --teal-50: #f2fbfb;
  --amber-600: #d95c14;
  --amber-500: #e86e25;
  --amber-400: #f38847;
  --amber-100: #fef0e6;
  --amber-50: #fff8f3;
  --bg-main: #f7fafc;
  --bg-card: #ffffff;
  --bg-soft: #eef4f8;
  --text-main: #13263e;
  --text-body: #394e68;
  --text-muted: #647892;
  --border-light: #dce6f0;
  --border-teal: #b6e3e6;
  --success: #15803d;
  --success-bg: #dcfce7;
  --warning: #b45309;
  --warning-bg: #fef3c7;
  --danger: #b91c1c;
  --danger-bg: #fee2e2;
  --shadow-sm: 0 4px 14px rgba(15, 44, 82, 0.05);
  --shadow-md: 0 12px 32px rgba(15, 44, 82, 0.08);
  --shadow-lg: 0 20px 48px rgba(15, 44, 82, 0.12);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition: all 0.28s cubic-bezier(0.25, 0.8, 0.25, 1);
}

*,
*::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: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-body);
  line-height: 1.65;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

a {
  color: var(--teal-700);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--amber-600);
}

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top announcement bar */
.top-bar {
  background: linear-gradient(90deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--teal-700) 100%);
  color: #ffffff;
  font-size: 0.84rem;
  padding: 8px 0;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.92);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #34d399;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.25);
  display: inline-block;
}

/* Fixed Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 4px 20px rgba(15, 44, 82, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-logo svg {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

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

.brand-name {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy-800);
}

.brand-name span {
  background: linear-gradient(90deg, var(--amber-500), var(--teal-600));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-sub {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: 2px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.main-nav::-webkit-scrollbar {
  display: none;
}

.nav-link {
  white-space: nowrap;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy-800);
  transition: var(--transition);
}

.nav-link:hover {
  background-color: var(--teal-50);
  color: var(--teal-700);
}

.nav-link.active {
  background-color: var(--teal-100);
  color: var(--navy-900);
  font-weight: 700;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 13px 24px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1.2;
}

.btn-primary {
  background: linear-gradient(135deg, var(--amber-500) 0%, var(--amber-600) 100%);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(232, 110, 37, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--amber-600) 0%, #b9490b 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(232, 110, 37, 0.36);
}

.btn-teal {
  background: linear-gradient(135deg, var(--teal-600) 0%, var(--navy-800) 100%);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(20, 142, 150, 0.24);
}

.btn-teal:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 44, 82, 0.3);
}

.btn-outline {
  background: #ffffff;
  color: var(--navy-800);
  border: 1.5px solid var(--border-light);
}

.btn-outline:hover {
  border-color: var(--teal-600);
  color: var(--teal-700);
  background: var(--teal-50);
}

.btn-lg {
  padding: 17px 32px;
  font-size: 1.06rem;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.88rem;
}

.mobile-menu-btn {
  display: none;
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  color: var(--navy-800);
  border-radius: 10px;
  padding: 9px 12px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 56px 0 64px;
  background:
    radial-gradient(circle at 88% 14%, rgba(20, 142, 150, 0.12), transparent 38%),
    radial-gradient(circle at 12% 85%, rgba(232, 110, 37, 0.1), transparent 36%),
    linear-gradient(180deg, #ffffff 0%, var(--bg-main) 100%);
  border-bottom: 1px solid var(--border-light);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 44px;
  align-items: center;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: 999px;
  background: var(--teal-100);
  color: var(--navy-800);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.badge-pill.amber {
  background: var(--amber-100);
  color: var(--amber-600);
}

.hero-title {
  font-size: clamp(2rem, 3.6vw, 3.05rem);
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}

.hero-title .accent {
  color: var(--teal-700);
}

.hero-title .accent-warm {
  color: var(--amber-500);
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--text-body);
  margin-bottom: 24px;
  max-width: 640px;
}

.hero-bullets {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-bottom: 30px;
}

.hero-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #ffffff;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  font-size: 0.96rem;
  color: var(--text-main);
}

.bullet-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--teal-100);
  color: var(--teal-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

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

.hero-visual-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hero-story-photo-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 18px;
}

.hero-story-photo-wrap img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.story-caption-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(11, 33, 63, 0.86);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  line-height: 1.4;
}

.hero-product-mini {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--bg-soft);
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-teal);
}

.hero-product-mini img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 12px;
  padding: 6px;
  flex-shrink: 0;
}

.hero-product-mini h3 {
  font-size: 1.05rem;
  color: var(--navy-900);
  margin-bottom: 4px;
}

.hero-product-mini p {
  font-size: 0.86rem;
  color: var(--text-body);
  margin-bottom: 8px;
}

/* Section styling */
.section {
  padding: 72px 0;
}

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

.section-warm {
  background: linear-gradient(180deg, var(--amber-50) 0%, #ffffff 100%);
  border-top: 1px solid #f5decb;
  border-bottom: 1px solid #f5decb;
}

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

.section-title {
  font-size: clamp(1.65rem, 2.8vw, 2.35rem);
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1.24;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-body);
}

/* Long-form Narrative Story Section */
.story-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 42px;
  align-items: start;
}

.story-sticky-card {
  position: sticky;
  top: 98px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.story-sticky-card img.main-photo {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.story-sticky-body {
  padding: 24px;
}

.story-author-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.86rem;
  color: var(--text-muted);
}

.story-quote-highlight {
  background: var(--amber-50);
  border-left: 4px solid var(--amber-500);
  padding: 16px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--navy-900);
  font-size: 0.96rem;
  margin: 16px 0;
}

.story-article {
  background: #ffffff;
  padding: 38px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.story-article h3 {
  font-size: 1.4rem;
  color: var(--navy-900);
  margin: 28px 0 12px;
  line-height: 1.3;
}

.story-article h3:first-child {
  margin-top: 0;
}

.story-article p {
  margin-bottom: 16px;
  font-size: 1.01rem;
  color: var(--text-body);
}

.story-timeline {
  display: grid;
  gap: 16px;
  margin: 26px 0;
}

.timeline-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--bg-main);
  border: 1px solid var(--border-light);
}

.timeline-num {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy-800), var(--teal-600));
  color: #ffffff;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timeline-step h4 {
  color: var(--navy-900);
  font-size: 1.05rem;
  margin-bottom: 4px;
}

/* Feature & Pillar Cards */
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.info-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 28px 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--teal-100);
  color: var(--teal-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 18px;
}

.card-icon.amber {
  background: var(--amber-100);
  color: var(--amber-600);
}

.info-card h3 {
  font-size: 1.18rem;
  color: var(--navy-900);
  margin-bottom: 10px;
}

.info-card p {
  font-size: 0.94rem;
  color: var(--text-body);
  flex-grow: 1;
}

/* Interactive Widgets Grid — Premium Bio-Dashboard Aesthetic */
.interactive-hub {
  display: grid;
  grid-template-columns: 1fr;
  gap: 42px;
}

.widget-box {
  background: linear-gradient(165deg, #ffffff 0%, #f8fbfe 100%);
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1.5px solid #d5e4f0;
  box-shadow:
    0 20px 50px rgba(15, 44, 82, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.widget-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--navy-800), var(--teal-500), var(--amber-500));
}

.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
}

/* 1. Quiz Styles — Interactive Diagnostic Studio */
.quiz-studio-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 32px;
  align-items: stretch;
}

.quiz-steps-pills {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}

.quiz-step-pill {
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--border-light);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.quiz-step-pill .step-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--navy-800);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  border: 1px solid var(--border-light);
}

.quiz-step-pill.active {
  background: linear-gradient(135deg, var(--navy-800), var(--teal-700));
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(20, 142, 150, 0.25);
  transform: translateY(-2px);
}

.quiz-step-pill.active .step-dot {
  background: var(--amber-500);
  color: #ffffff;
  border-color: transparent;
}

.quiz-step-pill.done {
  background: var(--teal-50);
  border-color: var(--border-teal);
  color: var(--teal-700);
}

.quiz-step-pill.done .step-dot {
  background: var(--teal-600);
  color: #ffffff;
  border-color: transparent;
}

.quiz-progress-wrap {
  margin-bottom: 22px;
}

.quiz-progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 8px;
}

.quiz-progress-bar {
  height: 12px;
  background: var(--bg-soft);
  border-radius: 999px;
  overflow: hidden;
  padding: 2px;
  border: 1px solid var(--border-light);
}

.quiz-progress-fill {
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, var(--teal-600), var(--amber-500));
  border-radius: 999px;
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 0 12px rgba(232, 110, 37, 0.4);
}

.quiz-question-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 26px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.quiz-question-card h4 {
  font-size: 1.28rem;
  color: var(--navy-900);
  margin-bottom: 20px;
  line-height: 1.35;
}

.quiz-options {
  display: grid;
  gap: 14px;
}

.quiz-option-btn {
  text-align: left;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1.5px solid var(--border-light);
  background: linear-gradient(90deg, #ffffff 0%, #f9fbfd 100%);
  color: var(--text-main);
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: grid;
  grid-template-columns: 40px 1fr 34px;
  align-items: center;
  gap: 14px;
  box-shadow: 0 2px 8px rgba(15, 44, 82, 0.03);
}

.quiz-opt-badge {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--teal-50);
  border: 1px solid var(--border-teal);
  color: var(--teal-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: var(--transition);
}

.quiz-opt-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--navy-800);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  transition: var(--transition);
}

.quiz-option-btn:hover {
  border-color: var(--teal-600);
  background: linear-gradient(90deg, #ffffff 0%, var(--teal-50) 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(20, 142, 150, 0.12);
}

.quiz-option-btn:hover .quiz-opt-badge {
  background: var(--teal-600);
  color: #ffffff;
  border-color: var(--teal-600);
}

.quiz-option-btn:hover .quiz-opt-arrow {
  background: var(--amber-500);
  color: #ffffff;
  transform: translateX(3px);
}

/* Live Bio-Battery Side Panel */
.quiz-battery-panel {
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.battery-shell {
  width: 96px;
  height: 164px;
  border: 3px solid rgba(255, 255, 255, 0.35);
  border-radius: 18px;
  padding: 8px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: rgba(255, 255, 255, 0.04);
  margin: 18px 0 14px;
}

.battery-shell::before {
  content: "";
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 8px;
  border-radius: 4px 4px 0 0;
  background: rgba(255, 255, 255, 0.35);
}

.battery-level-fill {
  width: 100%;
  height: 55%;
  border-radius: 10px;
  background: linear-gradient(180deg, #34d399 0%, var(--teal-500) 60%, var(--amber-500) 100%);
  box-shadow: 0 0 20px rgba(29, 176, 184, 0.55);
  transition: height 0.45s cubic-bezier(0.22, 1, 0.36, 1), background 0.35s ease;
  position: relative;
}

.battery-percent-text {
  font-size: 1.65rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.quiz-result-box {
  display: none;
  background: linear-gradient(135deg, #ffffff 0%, var(--teal-50) 55%, var(--amber-50) 100%);
  border: 2px solid var(--teal-600);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.quiz-result-box.active {
  display: block;
  animation: fadeSlideUp 0.4s ease forwards;
}

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

.quiz-score-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--navy-800);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 14px;
}

/* 2. Timer Circle Progress Styles — Bio-Resonance Cockpit */
.timer-grid {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 38px;
  align-items: center;
}

.timer-circle-container {
  position: relative;
  width: 250px;
  height: 250px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timer-aura {
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 142, 150, 0.16) 0%, rgba(232, 110, 37, 0.05) 70%, transparent 100%);
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.timer-aura.running {
  animation: breatheAura 4s ease-in-out infinite;
}

@keyframes breatheAura {
  0%, 100% {
    transform: scale(0.92);
    opacity: 0.55;
  }
  50% {
    transform: scale(1.12);
    opacity: 1;
  }
}

.timer-svg {
  width: 240px;
  height: 240px;
  transform: rotate(-90deg);
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 8px 20px rgba(20, 142, 150, 0.18));
}

.timer-bg-ring {
  fill: none;
  stroke: #e6eff7;
  stroke-width: 14;
}

.timer-progress-ring {
  fill: none;
  stroke: var(--teal-600);
  stroke-width: 14;
  stroke-linecap: round;
  stroke-dasharray: 565.48;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.95s linear, stroke 0.35s ease;
}

.timer-center-text {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.timer-seconds {
  font-size: 2.85rem;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.timer-phase {
  font-size: 0.78rem;
  font-weight: 800;
  color: #ffffff;
  background: var(--teal-600);
  padding: 4px 12px;
  border-radius: 999px;
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.3s ease;
}

.timer-phases-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.timer-phase-card {
  padding: 14px;
  border-radius: 14px;
  background: var(--bg-main);
  border: 1.5px solid var(--border-light);
  transition: var(--transition);
}

.timer-phase-card.active-phase {
  background: #ffffff;
  border-color: var(--teal-600);
  box-shadow: 0 8px 22px rgba(20, 142, 150, 0.14);
  transform: translateY(-2px);
}

.timer-phase-card .p-time {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--amber-600);
  text-transform: uppercase;
}

.timer-phase-card .p-title {
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--navy-900);
  margin: 3px 0;
}

.timer-phase-card .p-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.timer-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

/* 3. Interactive Before / After Rhythm Comparison & SVG Curve */
.comparison-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.comp-tab-btn {
  padding: 12px 20px;
  border-radius: 14px;
  border: 1.5px solid var(--border-light);
  background: #ffffff;
  color: var(--navy-800);
  font-weight: 700;
  font-size: 0.93rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 2px 6px rgba(15, 44, 82, 0.04);
}

.comp-tab-btn:hover {
  border-color: var(--teal-600);
  transform: translateY(-1px);
}

.comp-tab-btn.active {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--teal-700) 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(15, 44, 82, 0.22);
}

.slider-comparison-wrap {
  background: linear-gradient(180deg, #f4f9fc 0%, #ffffff 100%);
  border-radius: var(--radius-lg);
  padding: 30px;
  border: 1.5px solid var(--border-light);
}

.range-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 14px;
}

.slider-day-badge {
  background: var(--navy-800);
  color: #ffffff;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.86rem;
  box-shadow: 0 4px 12px rgba(15, 44, 82, 0.18);
}

.vitality-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #cbd5e1 0%, var(--teal-500) 55%, var(--amber-500) 100%);
  outline: none;
  cursor: pointer;
  margin-bottom: 28px;
  box-shadow: inset 0 2px 4px rgba(15, 44, 82, 0.15);
}

.vitality-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #ffffff;
  border: 4px solid var(--amber-500);
  box-shadow: 0 4px 14px rgba(232, 110, 37, 0.45);
  cursor: grab;
  transition: transform 0.2s ease;
}

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

.comparison-panels {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
}

.comp-panel {
  padding: 26px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-light);
  background: #ffffff;
  transition: var(--transition);
  position: relative;
}

.comp-panel.before-panel {
  border-top: 5px solid #94a3b8;
  background: #f8fafc;
}

.comp-panel.after-panel {
  border-top: 5px solid var(--teal-600);
  background: linear-gradient(165deg, #ffffff 0%, var(--teal-50) 100%);
  box-shadow: 0 12px 30px rgba(20, 142, 150, 0.1);
}

.meter-bar-group {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.meter-row {
  font-size: 0.88rem;
  background: rgba(255, 255, 255, 0.85);
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--border-light);
}

.meter-label {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 6px;
}

.meter-track {
  height: 10px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.meter-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal-600), var(--amber-500));
  border-radius: 999px;
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

/* 4. Interactive Calculator (Age, Stress, Sleep -> Personal Index) */
.calc-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
}

.calc-sliders-stack {
  display: grid;
  gap: 20px;
}

.calc-control-card {
  background: var(--bg-main);
  padding: 18px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.calc-control-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-weight: 700;
  color: var(--navy-900);
}

.calc-val-pill {
  background: var(--navy-800);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
}

.calc-output-card {
  background: linear-gradient(155deg, var(--navy-900) 0%, var(--navy-800) 60%, var(--teal-700) 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.calc-gauge-ring {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 4px solid rgba(56, 198, 206, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(29, 176, 184, 0.3);
}

.calc-gauge-num {
  font-size: 2.3rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.calc-gauge-sub {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 4px;
}

/* Certificates Grid & Modal */
.cert-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 26px 22px;
  border: 1.5px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
  position: relative;
}

.cert-card:hover {
  border-color: var(--teal-600);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.cert-code {
  display: inline-block;
  font-family: monospace;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--bg-soft);
  color: var(--navy-800);
  margin-bottom: 12px;
}

.cert-card h3 {
  font-size: 1.12rem;
  color: var(--navy-900);
  margin-bottom: 8px;
}

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

.cert-action-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--teal-700);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 33, 63, 0.65);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-window {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
  border: 1px solid var(--border-light);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: var(--bg-main);
  font-size: 1.2rem;
  cursor: pointer;
}

/* Offer & Lead Form Section */
.offer-showcase-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: start;
}

.offer-product-panel {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 36px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
}

.offer-product-img-wrap {
  background: radial-gradient(circle, #ffffff 0%, var(--bg-soft) 100%);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
  border: 1px solid var(--border-light);
}

.offer-product-img-wrap img {
  max-height: 320px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(15, 44, 82, 0.16));
}

.consultation-model-box {
  background: var(--teal-50);
  border: 1.5px solid var(--border-teal);
  border-radius: var(--radius-md);
  padding: 22px;
  margin: 20px 0;
}

.consultation-model-box h3 {
  font-size: 1.12rem;
  color: var(--navy-900);
  margin-bottom: 8px;
}

.callcenter-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--navy-900);
  color: #ffffff;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  margin-top: 18px;
}

.order-form-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 38px 34px;
  border: 2px solid var(--teal-600);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-input {
  width: 100%;
  padding: 15px 18px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy-900);
  background: var(--bg-main);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--teal-600);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(20, 142, 150, 0.14);
}

.form-input.input-error {
  border-color: var(--danger);
  background: #fff5f5;
}

.form-input.input-valid {
  border-color: var(--success);
  background: #f0fdf4;
}

.field-feedback {
  font-size: 0.84rem;
  font-weight: 600;
  margin-top: 6px;
  min-height: 20px;
}

.field-feedback.error {
  color: var(--danger);
}

.field-feedback.warning {
  color: var(--warning);
}

.field-feedback.success {
  color: var(--success);
}

.trust-badges-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.trust-badge-item {
  text-align: center;
  background: var(--bg-main);
  padding: 12px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy-800);
}

/* FAQ Accordion */
.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: none;
  border: none;
  font-size: 1.04rem;
  font-weight: 700;
  color: var(--navy-900);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--teal-100);
  color: var(--teal-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--amber-500);
  color: #ffffff;
}

.faq-content {
  display: none;
  padding: 0 24px 22px;
  color: var(--text-body);
  font-size: 0.96rem;
  border-top: 1px solid var(--bg-soft);
}

.faq-item.open .faq-content {
  display: block;
}

/* CoA & Data Tables */
.data-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

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

.data-table th {
  background: var(--navy-800);
  color: #ffffff;
  padding: 14px 18px;
  font-weight: 700;
}

.data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
}

.data-table tr:nth-child(even) {
  background: var(--bg-main);
}

.status-pass {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--success-bg);
  color: var(--success);
  font-weight: 700;
  font-size: 0.8rem;
}

/* Footer & Map */
.site-footer {
  margin-top: auto;
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.84);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr 1.2fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--amber-400);
}

.footer-map-box {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  height: 200px;
  background: #183456;
}

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

.footer-disclaimer {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 24px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 960px;
  margin: 0 auto;
  background: var(--navy-900);
  color: #ffffff;
  padding: 20px 26px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.16);
  z-index: 1500;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid,
  .story-layout,
  .offer-showcase-grid,
  .footer-grid,
  .quiz-studio-grid,
  .calc-grid {
    grid-template-columns: 1fr;
  }

  .story-sticky-card {
    position: static;
  }

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

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

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: inline-flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
  }

  .main-nav.open {
    display: flex;
  }

  .cards-grid-3,
  .cards-grid-4,
  .comparison-panels,
  .timer-grid,
  .timer-phases-cards,
  .quiz-steps-pills,
  .trust-badges-grid {
    grid-template-columns: 1fr;
  }

  .story-article,
  .widget-box,
  .order-form-card,
  .offer-product-panel {
    padding: 24px 18px;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
  }
}
