/* Meemo Wellness Design System
   Palette: Cream (#f5f0f8) / Navy (#2d2438) / Terracotta (#6b4c82)
   Fonts: Lora (headlines) + DM Sans (body)
*/

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;1,400;1,500&family=DM+Sans:wght@400;500;600&display=swap');

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

:root {
  --cream: #f5f0f8;
  --cream-dark: #ebe4f0;
  --navy: #2d2438;
  --navy-light: #443558;
  --terracotta: #6b4c82;
  --terracotta-light: #8a6aa0;
  --gold: #b8923e;
  --terracotta-dark: #553d6b;
  --slate: #6e6178;
  --muted: #9a8fa3;
  --white: #ffffff;
  --border: rgba(45, 36, 56, 0.08);
  --border-dark: rgba(45, 36, 56, 0.12);
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, sans-serif;
  --max-width: 1140px;
  --section-pad: 80px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 400; line-height: 1.2; }
h1 { font-size: clamp(32px, 5vw, 44px); letter-spacing: -0.5px; }
h2 { font-size: clamp(26px, 3.5vw, 34px); letter-spacing: -0.3px; }
h3 { font-size: clamp(20px, 2.5vw, 24px); }
h4 { font-size: 18px; font-weight: 500; }

h1 em, h2 em, h3 em { font-style: italic; }

a { color: var(--terracotta); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.8; }

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

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ─── Eyebrow label ─── */
.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 12px;
}

/* ─── Buttons ─── */
.btn-primary {
  display: inline-block;
  background: var(--terracotta);
  color: var(--cream);
  padding: 14px 32px;
  border-radius: 40px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: background 0.25s, transform 0.15s;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}
.btn-primary:hover { background: var(--terracotta-dark); opacity: 1; transform: translateY(-1px); }

.btn-secondary {
  display: inline-block;
  color: var(--terracotta);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  padding: 12px 0;
}

.btn-outline {
  display: inline-block;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  padding: 12px 28px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.25s;
}
.btn-outline:hover { background: var(--navy); color: var(--cream); opacity: 1; }

/* ─── Navbar ─── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(45,36,56,0.06); }
.navbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.3px;
}
.logo .dot { color: var(--gold); font-weight: 700; }

.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  font-size: 14px;
  color: var(--slate);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--navy); opacity: 1; }
.nav-cta {
  background: var(--terracotta) !important;
  color: var(--cream) !important;
  padding: 9px 20px !important;
  border-radius: 30px !important;
  font-weight: 500 !important;
  font-size: 13px !important;
}

.mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.mobile-toggle span { display: block; width: 22px; height: 2px; background: var(--navy); margin: 5px 0; transition: 0.3s; }

/* ─── Mobile Menu ─── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 200;
  padding: 80px 24px 24px;
  overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu-close {
  position: absolute; top: 20px; right: 24px;
  background: none; border: none; font-size: 28px; cursor: pointer; color: var(--navy);
}
.mobile-menu a {
  display: block;
  padding: 14px 0;
  font-size: 18px;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
}

/* ─── Sections ─── */
.section { padding: var(--section-pad) 0; }
.section-cream { background: var(--cream); }
.section-navy { background: var(--navy); color: var(--cream); }
.section-navy .eyebrow { color: var(--terracotta-light); }
.section-navy p { color: rgba(245,240,248,0.7); }
.section-navy h2 { color: var(--cream); }

/* ─── Hero ─── */
.hero {
  background: var(--cream);
  padding: 140px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  top: -80px; right: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(45,36,56,0.04);
  pointer-events: none;
}
.hero h1 { max-width: 560px; margin-bottom: 18px; }
.hero p { font-size: 16px; color: var(--slate); max-width: 440px; margin-bottom: 28px; }
.hero-checks { display: flex; gap: 20px; margin-top: 18px; flex-wrap: wrap; }
.hero-checks span { font-size: 13px; color: var(--muted); }

/* ─── Cards ─── */
.card {
  background: var(--white);
  border-radius: 12px;
  padding: 24px 20px;
  border: 1px solid var(--border);
  transition: border-color 0.25s, transform 0.2s;
}
.card:hover { border-color: var(--border-dark); transform: translateY(-2px); }
.card-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
  border: 1px solid var(--border);
}
.card h3 { font-size: 17px; font-weight: 500; margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--slate); line-height: 1.55; }
.card-link { font-size: 13px; color: var(--terracotta); font-weight: 500; margin-top: 14px; display: inline-block; }

/* ─── Grid ─── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* ─── Stats bar ─── */
.stats-bar {
  background: var(--navy);
  border-radius: 14px;
  padding: 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}
.stats-bar .stat-num {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--gold);
  margin-bottom: 4px;
}
.stats-bar .stat-label {
  font-size: 12px;
  color: rgba(245,240,248,0.55);
  line-height: 1.4;
}

/* ─── Process Steps ─── */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.step { text-align: center; }
.step-num {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-size: 14px;
  margin: 0 auto 10px;
}
.step-title { font-size: 13px; font-weight: 500; margin-bottom: 2px; }
.step-desc { font-size: 12px; color: var(--muted); }

/* ─── Pricing ─── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 24px;
  position: relative;
}
.price-card.featured { border: 2px solid var(--terracotta); }
.price-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--terracotta); color: var(--cream);
  padding: 4px 16px; border-radius: 20px;
  font-size: 12px; font-weight: 500;
}
.price-name { font-family: var(--font-heading); font-size: 20px; margin-bottom: 4px; }
.price-amount { font-family: var(--font-heading); font-size: 36px; font-weight: 500; margin-bottom: 4px; }
.price-amount span { font-size: 16px; font-weight: 400; color: var(--slate); }
.price-desc { font-size: 14px; color: var(--slate); margin-bottom: 20px; line-height: 1.5; }
.price-features { list-style: none; margin-bottom: 24px; }
.price-features li { font-size: 14px; padding: 6px 0; padding-left: 22px; position: relative; color: var(--navy); }
.price-features li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 600; }
.price-features li.excluded { color: var(--muted); text-decoration: line-through; display: none; }

/* ─── Trust badges ─── */
.trust-badges {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 24px 0;
}
.trust-badge {
  font-size: 13px;
  color: var(--slate);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ─── FAQ / Accordion ─── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  color: var(--navy);
  background: none; border: none; width: 100%;
  font-family: var(--font-body);
  text-align: left;
}
.faq-q::after { content: '+'; font-size: 22px; color: var(--terracotta); transition: transform 0.3s; }
.faq-q.open::after { content: '−'; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  font-size: 15px;
  color: var(--slate);
  line-height: 1.65;
}
.faq-a.open { max-height: 500px; padding-bottom: 20px; }

/* ─── Timeline ─── */
.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: ''; position: absolute; left: 8px; top: 0; bottom: 0;
  width: 2px; background: var(--border-dark);
}
.tl-item { position: relative; padding-bottom: 24px; }
.tl-dot {
  position: absolute; left: -24px; top: 4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--white);
}
.tl-time { font-size: 13px; font-weight: 500; color: var(--gold); margin-bottom: 2px; }
.tl-text { font-size: 14px; color: var(--slate); }

/* ─── Comparison table ─── */
.compare-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare-table th { padding: 12px 10px; text-align: left; font-weight: 500; border-bottom: 2px solid var(--border-dark); }
.compare-table td { padding: 10px; border-bottom: 1px solid var(--border); }
.compare-table td:first-child { color: var(--slate); }

/* ─── Footer ─── */
.footer {
  background: var(--cream);
  padding: 60px 0 30px;
  border-top: 1px solid var(--border);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand { font-size: 14px; color: var(--slate); line-height: 1.6; max-width: 280px; }
.footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--navy); margin-bottom: 14px; font-family: var(--font-body); }
.footer a { display: block; font-size: 14px; color: var(--slate); padding: 4px 0; text-decoration: none; }
.footer a:hover { color: var(--navy); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { display: inline; font-size: 13px; color: var(--muted); }

/* ─── Sticky CTA ─── */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 14px 24px;
  border-top: 1px solid var(--border);
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta p { font-size: 14px; color: var(--slate); }
.sticky-cta .btn-primary { padding: 10px 24px; font-size: 14px; }

/* ─── Quiz ─── */
.quiz-container {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px;
  max-width: 560px;
}
.quiz-progress { display: flex; gap: 6px; margin-bottom: 24px; }
.quiz-progress-dot {
  flex: 1; height: 4px;
  border-radius: 2px;
  background: var(--border-dark);
  transition: background 0.3s;
}
.quiz-progress-dot.active { background: var(--gold); }
.quiz-progress-dot.done { background: var(--navy); }
.quiz-q { font-family: var(--font-heading); font-size: 20px; margin-bottom: 20px; }
.quiz-options { display: flex; flex-direction: column; gap: 10px; }
.quiz-opt {
  display: block;
  padding: 14px 18px;
  border: 1px solid var(--border-dark);
  border-radius: 10px;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--white);
  color: var(--navy);
  text-align: left;
  font-family: var(--font-body);
}
.quiz-opt:hover { border-color: var(--terracotta); background: var(--cream); }
.quiz-opt.selected { border-color: var(--terracotta); background: var(--cream); color: var(--terracotta); font-weight: 500; }
.quiz-result { text-align: center; }
.quiz-result h3 { margin-bottom: 12px; }
.quiz-result p { color: var(--slate); margin-bottom: 20px; }
.quiz-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; }
.quiz-step-label { font-size: 13px; color: var(--muted); }
.quiz-secure { font-size: 12px; color: var(--muted); margin-top: 14px; }

/* ─── Social proof (simple) ─── */
.social-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 0;
}
.sp-stars { color: var(--gold); font-size: 16px; letter-spacing: 2px; }
.sp-text { font-size: 14px; color: var(--slate); }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .grid-3, .pricing-grid { grid-template-columns: 1fr; }
  .grid-4, .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .hero { padding: 120px 0 60px; }
  :root { --section-pad: 56px; }
}

@media (max-width: 600px) {
  .grid-2 { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
