/* ===== FONTS (shared from parent directory) ===== */
@font-face {
  font-family: 'OpenRunde';
  src: url('../fonts/OpenRunde-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'OpenRunde';
  src: url('../fonts/OpenRunde-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'OpenRunde';
  src: url('../fonts/OpenRunde-Semibold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'OpenRunde';
  src: url('../fonts/OpenRunde-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Exposure';
  src: url('../fonts/Exposure-VAR.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Exposure';
  src: url('../fonts/Exposure-VAR-Italic.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --accent: #147EFB;
  --accent-hover: #1070E0;
  --accent-glow: rgba(20, 126, 251, 0.25);
  --body-text: rgb(26, 31, 43);
  --black: #000000;
  --gray-200: rgb(238, 237, 235);
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: rgb(78, 89, 105);
  --bg: #FFFFFF;
  --radius: 20px;
  --selection: #147EFB40;
}

::selection {
  background: var(--selection);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'OpenRunde', sans-serif;
  color: var(--body-text);
  background: var(--bg);
  line-height: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===== MAIN ===== */
.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 96px;
  padding-bottom: 56px;
}

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

/* ===== PAGE-LOAD STAGGER ANIMATIONS (framer-motion style) ===== */
.fade-in {
  opacity: 0;
  filter: blur(4px);
  transform: translateY(12px);
  will-change: transform, opacity, filter;
  transition:
    opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--delay, 0) * 0.1s);
}

.fade-in.visible {
  opacity: 1;
  filter: blur(0px);
  transform: none;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 16px 0 16px;
  display: flex;
  justify-content: center;
}

.nav-outer {
  display: flex;
  width: 100%;
  max-width: 720px;
  flex-direction: column;
}

.nav-glass {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: rgba(248, 248, 248, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 30px;
}

.nav-inner {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  text-decoration: none;
}

.nav-logo-icon-wrap {
  display: flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 9.22px;
  overflow: hidden;
}

.nav-logo-icon-wrap svg {
  width: 100%;
  height: 100%;
}

.nav-logo-text {
  font-family: 'Exposure', Georgia, serif;
  font-variation-settings: "EXPO" -20;
  font-size: 18px;
  color: var(--black);
  user-select: none;
  letter-spacing: normal;
  white-space: nowrap;
  text-decoration: none;
}

a.nav-logo,
a.nav-logo:hover,
a.nav-logo:visited {
  text-decoration: none;
  color: inherit;
}

.nav-logo-light {
  color: rgba(0, 0, 0, 0.45);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 48px;
}

.nav-links button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--black);
  padding: 0;
  transition: color 0.15s ease-out;
}

.nav-links button:hover {
  color: rgba(0, 0, 0, 0.65);
}

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

/* "Get Started" nav button - dark gradient pill */
.nav-get-started {
  display: none;
  text-decoration: none;
  overflow: hidden;
  cursor: pointer;
  user-select: none;
  border-radius: 9999px;
  padding: 12px 20px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 38.33%),
    linear-gradient(180deg, rgba(0,0,0,0) 52.94%, rgba(0,0,0,0.75) 100%),
    #1B1B1B;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.75),
    0px 2px 5.6px 0px rgba(0, 0, 0, 0.08),
    inset 0px 0px 3px 0px rgba(255, 255, 255, 0.75);
  transition: background-color 0.15s ease-out, box-shadow 0.15s ease-out, transform 0.15s ease-out;
}

.nav-get-started:hover {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.10) 38.33%),
    linear-gradient(180deg, rgba(0,0,0,0) 52.94%, rgba(0,0,0,0.75) 100%),
    #1B1B1B;
}

.nav-get-started:active {
  transform: scale(0.98);
}

/* ===== HAMBURGER MENU (mobile) ===== */
.hamburger {
  display: flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

.hamburger-lines {
  display: flex;
  width: 20px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.hamburger-line {
  display: block;
  height: 2px;
  width: 20px;
  border-radius: 4px;
  background: var(--black);
  transition: transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1),
              opacity 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
  will-change: transform, opacity;
}

/* Hamburger -> X animation */
.hamburger.open .hamburger-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.hamburger.open .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.open .hamburger-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile menu panel */
.mobile-menu {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
  grid-template-rows: 1fr;
}

.mobile-menu-inner {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 16px 0;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.mobile-menu.open .mobile-menu-inner {
  padding-bottom: 16px;
  opacity: 1;
  transition: opacity 0.2s 0.05s ease;
}

.mobile-menu-item {
  width: 100%;
  border-radius: 14px;
  padding: 12px 16px;
  text-align: left;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--black);
  background: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s ease-out;
  -webkit-tap-highlight-color: transparent;
}

.mobile-menu-item:hover {
  background: rgba(0, 0, 0, 0.05);
}

.mobile-menu-cta {
  margin-top: 12px;
}

.mobile-menu-get-started {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  overflow: hidden;
  cursor: pointer;
  user-select: none;
  border-radius: 9999px;
  padding: 12px 20px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 38.33%),
    linear-gradient(180deg, rgba(0,0,0,0) 52.94%, rgba(0,0,0,0.75) 100%),
    #1B1B1B;
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.75),
    0px 2px 5.6px 0px rgba(0, 0, 0, 0.08),
    inset 0px 0px 3px 0px rgba(255, 255, 255, 0.75);
  transition: background-color 0.15s ease-out, transform 0.15s ease-out;
  -webkit-tap-highlight-color: transparent;
}

.mobile-menu-get-started:hover {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.10) 38.33%),
    linear-gradient(180deg, rgba(0,0,0,0) 52.94%, rgba(0,0,0,0.75) 100%),
    #1B1B1B;
}

.mobile-menu-get-started:active {
  transform: scale(0.98);
}

/* ===== CTA BUTTON ===== */
.btn-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 58px;
  padding-left: 32px;
  padding-right: 32px;
  border-radius: 20px;
  background: var(--accent);
  color: #fff;
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  border: 1px solid var(--accent);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: inset 0 0 6px 3px rgba(255, 255, 255, 0.4);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
  z-index: 1;
}

.btn-cta:hover {
  box-shadow: inset 0 0 8px 4px rgba(255, 255, 255, 0.55);
}

.btn-cta:active {
  transform: scale(0.98);
}

.btn-cta .cta-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* Glow behind CTA button */
.cta-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cta-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 100% 100% at 50% 50%, var(--accent-glow) 0%, transparent 100%);
  filter: blur(10px);
  transform: scale(1.2);
  border-radius: 20px;
  opacity: 0.6;
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.cta-wrapper:hover::before {
  opacity: 1;
}

/* ===== HERO ===== */
.hero {
  padding-top: 120px;
  text-align: center;
  width: 100%;
}

.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

/* Social proof + h1 group */
.hero-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

/* Subtitle + CTA + badge group */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: 100%;
}

/* CTA button + badge underneath */
.hero-cta-area {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Social proof pill */
.social-proof {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 9999px;
}

.avatars {
  display: flex;
}

.avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
}

.avatar + .avatar {
  margin-left: -6px;
}

.social-proof-text {
  font-weight: 500;
  font-size: 16px;
  color: var(--black);
}

/* Hero heading */
.hero-title {
  font-family: 'Exposure', Georgia, serif;
  font-variation-settings: "EXPO" -10;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--black);
  padding: 6px 20px 10px 20px;
  margin-top: 0;
}

/* Hero subtitle */
.hero-subtitle {
  font-size: 15px;
  color: var(--gray-600);
  font-weight: 400;
  text-wrap: balance;
  text-align: center;
}

/* Hero badge */
.hero-badge {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--gray-500);
  font-weight: 400;
  margin-top: 12px;
}

/* Hero Score Card */
.hero-score-card {
  position: relative;
  margin-top: 32px;
  width: 100%;
  max-width: 420px;
  border-radius: 24px;
  border: none;
  background: #fff;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 4px 24px rgba(0, 0, 0, 0.06), 0 20px 50px -10px var(--accent-glow);
}

.hero-score-top {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hero-score-ring {
  position: relative;
  width: 96px;
  height: 96px;
  flex-shrink: 0;
}

.hero-score-ring .score-ring-svg {
  width: 100%;
  height: 100%;
}

.hero-score-ring .score-value {
  padding-top: 30px;
}

.hero-score-ring .score-number {
  font-size: 28px;
}

.hero-score-ring .score-max {
  font-size: 12px;
}

.hero-score-summary {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-score-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--black);
}

.hero-score-markers {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-marker {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--gray-600);
  font-weight: 500;
}

/* Score rows with bar charts */
.hero-score-rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-score-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-row-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--black);
  min-width: 58px;
}

.hero-row-bar {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-bar-track {
  position: relative;
  height: 8px;
  border-radius: 4px;
  background: #f3f4f6;
  overflow: visible;
}

.hero-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: 4px;
}

.hero-bar-fill.optimal-fill {
  background: linear-gradient(90deg, #bbf7d0, #22c55e);
}

.hero-bar-fill.attention-fill {
  background: linear-gradient(90deg, #fef08a, #f59e0b);
}

.hero-bar-fill.critical-fill {
  background: linear-gradient(90deg, #fecaca, #ef4444);
}

.hero-bar-marker {
  position: absolute;
  top: -2px;
  width: 4px;
  height: 12px;
  border-radius: 2px;
  background: var(--black);
  transform: translateX(-50%);
}

.hero-bar-range {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--gray-400);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero-score-row .biomarker-value {
  font-size: 12px;
  min-width: fit-content;
}

/* ===== FEATURES ===== */
.features {
  scroll-margin-top: 120px;
  width: 100%;
}

.features .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.features-heading {
  font-family: 'Exposure', Georgia, serif;
  font-variation-settings: "EXPO" -10;
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  color: var(--black);
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  width: 100%;
}

.feature-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  width: 296px;
}

.feature-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--black);
  line-height: 1.3;
}

.feature-desc {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.5;
  font-weight: 400;
  text-wrap: balance;
}

/* Chat bubble container */
.chat-container {
  width: 296px;
  height: 220px;
  border-radius: 20px;
  border: 1px solid var(--gray-200);
  box-shadow: inset 0 0 6px 3px rgba(0, 0, 0, 0.03);
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px;
  gap: 8px;
  overflow: hidden;
}

.chat-bubble {
  border-radius: 20px;
  padding: 10px 16px;
  font-size: 17px;
  line-height: 22px;
  max-width: 85%;
}

.chat-bubble.received {
  background: #E9E9EB;
  color: var(--black);
  align-self: flex-start;
}

.chat-bubble.sent {
  background: #0098FF;
  color: #fff;
  align-self: flex-end;
}

/* Mobile: show mobile order, hide desktop order */
.feature-content-mobile {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  width: 296px;
}

.feature-content-desktop {
  display: none;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  scroll-margin-top: 120px;
  width: 100%;
}

.how-it-works .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.section-title {
  font-family: 'Exposure', Georgia, serif;
  font-variation-settings: "EXPO" -10;
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  color: var(--black);
}

.steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  width: 240px;
}

.step-icon {
  color: var(--gray-500);
}

.step-icon svg {
  width: 24px;
  height: 24px;
}

.step-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--black);
}

.step-desc {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.5;
  font-weight: 400;
}

/* ===== PREVIEW SECTION (Score + Plan) ===== */
.preview-section {
  width: 100%;
}

.preview-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.preview-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: 720px;
}

.preview-card {
  border-radius: 20px;
  border: 1px solid var(--gray-200);
  background: #fff;
  overflow: hidden;
}

.preview-card-header {
  padding: 16px 24px;
  border-bottom: 1px solid var(--gray-200);
}

.preview-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-500);
}

.preview-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Score ring */
.score-ring {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto;
}

.score-ring-svg {
  width: 100%;
  height: 100%;
}

.score-value {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: baseline;
  justify-content: center;
  padding-top: 38px;
}

.score-number {
  font-family: 'Exposure', Georgia, serif;
  font-variation-settings: "EXPO" -10;
  font-size: 36px;
  font-weight: 700;
  color: var(--black);
  line-height: 1;
}

.score-max {
  font-size: 14px;
  color: var(--gray-400);
  font-weight: 500;
}

/* Score markers */
.score-markers {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: nowrap;
}

.score-marker {
  display: flex;
  align-items: center;
  gap: 6px;
}

.marker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.marker-optimal {
  background: #22c55e;
}

.marker-attention {
  background: #f59e0b;
}

.marker-critical {
  background: #ef4444;
}

.marker-label {
  font-size: 12px;
  color: var(--gray-600);
  font-weight: 500;
  white-space: nowrap;
}

/* Biomarker rows */
.score-biomarkers {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  overflow: hidden;
}

.biomarker-row {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  gap: 12px;
  border-bottom: 1px solid var(--gray-200);
}

.biomarker-row:last-child {
  border-bottom: none;
}

.biomarker-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--black);
  min-width: 64px;
  white-space: nowrap;
}

.biomarker-value {
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  padding: 2px 8px;
  white-space: nowrap;
}

.biomarker-value.optimal {
  background: #dcfce7;
  color: #15803d;
}

.biomarker-value.attention {
  background: #fef3c7;
  color: #92400e;
}

.biomarker-value.critical {
  background: #fee2e2;
  color: #991b1b;
}

.biomarker-range {
  font-size: 11px;
  color: var(--gray-500);
  margin-left: auto;
  white-space: nowrap;
}

/* Plan sections */
.plan-section {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.plan-section-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #eff6ff;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.plan-section-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.plan-section-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
}

.plan-section-desc {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.5;
}

/* Plan timeline */
.plan-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  overflow: hidden;
}

.plan-week {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-200);
}

.plan-week:last-child {
  border-bottom: none;
}

.week-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  min-width: 70px;
}

.week-desc {
  font-size: 13px;
  color: var(--gray-600);
}

/* ===== COACHING SECTION ===== */
.coaching-section {
  width: 100%;
}

.coaching-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.coaching-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.coaching-subtitle {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.5;
  max-width: 480px;
  text-wrap: balance;
}

.coaching-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 720px;
}

.coaching-card {
  border-radius: 20px;
  border: 1px solid var(--gray-200);
  background: #fff;
  overflow: hidden;
}

/* Streak Card */
.coaching-card-streak {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.streak-display {
  display: flex;
  align-items: center;
  gap: 10px;
}

.streak-flame {
  display: flex;
}

.streak-count {
  font-family: 'Exposure', Georgia, serif;
  font-variation-settings: "EXPO" -10;
  font-size: 40px;
  font-weight: 700;
  color: var(--black);
  line-height: 1;
}

.streak-label {
  font-size: 16px;
  color: var(--gray-500);
  font-weight: 500;
}

.streak-days {
  display: flex;
  gap: 8px;
}

.streak-day {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-400);
  background: var(--gray-200);
}

.streak-day.filled {
  background: var(--accent);
  color: #fff;
}

.streak-day.current {
  background: #fff;
  color: var(--accent);
  border: 2px solid var(--accent);
}

/* Coach Messages Card */
.coaching-card-messages {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.coach-message {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.coach-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.coach-bubble {
  background: #f3f4f6;
  border-radius: 16px;
  border-top-left-radius: 4px;
  padding: 10px 14px;
  max-width: 85%;
}

.coach-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  display: block;
  margin-bottom: 2px;
}

.coach-bubble p {
  font-size: 14px;
  color: var(--black);
  line-height: 1.5;
}

.coach-message-user {
  justify-content: flex-end;
}

.coach-bubble-user {
  background: var(--accent);
  border-radius: 16px;
  border-top-right-radius: 4px;
  padding: 10px 14px;
  max-width: 75%;
}

.coach-bubble-user p {
  font-size: 14px;
  color: #fff;
  line-height: 1.5;
}

/* Adaptation Card */
.coaching-card-adapt {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.adapt-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.adapt-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
}

.adapt-time {
  font-size: 12px;
  color: var(--gray-400);
  margin-left: auto;
}

.adapt-changes {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.adapt-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.adapt-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1;
}

.adapt-icon.up {
  background: #dcfce7;
  color: #15803d;
}

.adapt-icon.swap {
  background: #fef3c7;
  color: #92400e;
}

.adapt-icon.down {
  background: #f3f4f6;
  color: var(--gray-500);
}

.adapt-text {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.5;
}

/* ===== CTA SECTION (pre-footer) ===== */
.cta-section {
  text-align: center;
  scroll-margin-top: 120px;
  width: 100%;
}

.cta-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.cta-section .cta-title-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.cta-title {
  font-family: 'Exposure', Georgia, serif;
  font-variation-settings: "EXPO" -10;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--black);
}

/* Pre-footer badge uses gray-600 and larger text */
.cta-section .hero-badge {
  color: var(--gray-600);
  font-size: 14px;
  gap: 10px;
  margin-top: 0;
}

/* ===== FAQ ===== */
.faq-section {
  scroll-margin-top: 120px;
  width: 100%;
}

.faq-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.faq-section .section-title {
  margin-bottom: 0;
}

.faq-subtitle {
  font-size: 14px;
  color: var(--gray-600);
  text-align: center;
  line-height: 1.5;
  max-width: 600px;
}

.faq-subtitle a {
  color: var(--gray-600);
  text-decoration: underline;
}

.faq-card {
  width: 100%;
  max-width: 600px;
  border-radius: 20px;
  border: 1px solid var(--gray-200);
  padding: 8px 24px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.faq-item {
  border-bottom: 1px solid var(--gray-200);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  text-align: left;
  gap: 16px;
  transition: color 0.15s ease-out;
}

.faq-question:hover {
  color: rgba(0, 0, 0, 0.5);
}

.faq-icon {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  color: var(--gray-400);
  width: 20px;
  height: 20px;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  opacity: 1;
}

.faq-answer p {
  color: var(--gray-600);
  font-size: 14px;
  line-height: 1.625;
  padding-bottom: 16px;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg);
  padding: 32px 24px;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.015px;
  color: rgba(0, 0, 0, 0.5);
}

.footer-center {
  color: rgba(0, 0, 0, 0.5);
}

.footer-right {
  display: flex;
  gap: 20px;
}

.footer-right a {
  color: rgba(0, 0, 0, 0.5);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease-out;
}

.footer-right a:hover {
  color: var(--black);
}

/* ===== FLOATING CTA (mobile) ===== */
.floating-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 99;
}

.btn-floating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 52px;
  border-radius: 16px;
  background: var(--accent);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid var(--accent);
  text-decoration: none;
  box-shadow: inset 0 0 6px 3px rgba(255, 255, 255, 0.4);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.btn-floating svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ===== RESPONSIVE - DESKTOP ===== */
@media (min-width: 768px) {
  .main {
    gap: 140px;
    padding-bottom: 124px;
  }

  .hero {
    padding-top: 152px;
  }

  .hero .container {
    gap: 20px;
  }

  .hero-header {
    gap: 0;
  }

  .hero-content {
    gap: 32px;
    width: auto;
  }

  .hero-title {
    font-size: 56px;
  }

  .hero-subtitle {
    font-size: 17px;
  }

  .hero-score-card {
    margin-top: 48px;
    max-width: 480px;
    padding: 32px 28px;
  }

  .cta-section .container {
    gap: 32px;
  }

  .cta-section .hero-badge {
    font-size: 16px;
  }

  /* Preview grid: side by side on desktop */
  .preview-grid {
    flex-direction: row;
    gap: 24px;
  }

  .preview-card {
    flex: 1;
  }

  /* Coaching grid: streak + adapt on left, messages on right */
  .coaching-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
  }

  .coaching-card-streak {
    grid-column: 1;
    grid-row: 1;
  }

  .coaching-card-messages {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .coaching-card-adapt {
    grid-column: 1;
    grid-row: 2;
  }

  .coaching-subtitle {
    font-size: 17px;
  }

  .section-title {
    font-size: 30px;
  }

  .steps {
    flex-direction: row;
    justify-content: center;
    gap: 48px;
  }

  .step-title {
    font-size: 18px;
  }

  .step-desc {
    font-size: 16px;
  }

  .navbar {
    padding-top: 28px;
  }

  .nav-glass {
    border-radius: 9999px;
  }

  .nav-links {
    display: flex;
  }

  .nav-get-started {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hamburger {
    display: none;
  }

  .mobile-menu {
    display: none;
  }

  .faq-card {
    max-width: 720px;
  }

  .faq-question {
    font-size: 16px;
  }

  .faq-answer p {
    font-size: 16px;
  }

  .how-it-works .container {
    gap: 52px;
  }
}

/* ===== RESPONSIVE - MOBILE ===== */
@media (max-width: 767px) {
  .floating-cta {
    display: block;
  }

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

  .footer-right { order: 1; }
  .footer-center { order: 2; }
  .footer-left { order: 3; }

  .btn-cta {
    padding-left: 28px;
    padding-right: 28px;
    height: 52px;
    font-size: 16px;
  }
}
