/* ═══════════════════════════════════════════
   VITALITY COMPASS — style.css
   Earthy · Warm · Welcoming · Healing
═══════════════════════════════════════════ */

:root {
  /* Vitality palette — vivid, alive, energising */
  --sage:         #3d9e6e;
  --sage-light:   #a8d8b8;
  --sage-pale:    #e0f5ea;
  --terracotta:   #e8623a;
  --terra-light:  #f5b49a;
  --terra-pale:   #fdeee8;
  --gold:         #f0aa18;
  --gold-light:   #fad980;
  --gold-pale:    #fef8e0;
  --teal:         #2ab8c4;
  --teal-light:   #8de0e8;
  --teal-pale:    #e0f8fa;
  --violet:       #9b6dc5;
  --violet-light: #d4b8f0;
  --violet-pale:  #f3edfb;
  --coral:        #f25c7a;
  --cream:        #fffdf8;
  --mushroom:     #a89888;
  --bark:         #2d3d2a;
  --bark-mid:     #3e5e38;
  --text-dark:    #1e2d1a;
  --text-mid:     #3d5038;
  --text-light:   #7a9070;
  --white:        #ffffff;
  --success:      #2e8c58;
  --error-bg:     #fdeee8;
  --error-border: #e8623a;
  --shadow-soft:  0 4px 24px rgba(45,61,42,0.12);
  --shadow-hover: 0 10px 36px rgba(45,61,42,0.20);
  --radius-sm:    10px;
  --radius-md:    18px;
  --radius-lg:    28px;
  --radius-pill:  100px;
  --transition:   0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', sans-serif;
  color: var(--text-dark);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.7;
  /* Watercolour layered paper background */
  background:
    /* Layer 1: subtle paper-fibre texture (soft SVG turbulence) */
    url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values="0 0 0 0 0.35 0 0 0 0 0.32 0 0 0 0 0.18 0 0 0 0.22 0"/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E"),
    /* Layer 2: soft watercolour blooms */
    radial-gradient(ellipse 70% 50% at 12% 8%,   rgba(255,253,235,0.34) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 88% 12%,  rgba(220,240,235,0.30) 0%, transparent 55%),
    radial-gradient(ellipse 55% 45% at 92% 92%,  rgba(245,225,160,0.34) 0%, transparent 60%),
    radial-gradient(ellipse 65% 50% at 8% 95%,   rgba(220,150,110,0.32) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 50% 55%,  rgba(220,200,230,0.20) 0%, transparent 65%),
    /* Layer 3: warm cream paper base */
    linear-gradient(165deg, #BAB86C 0%, #b3b466 35%, #aaa860 70%, #a39c58 100%);
  background-attachment: fixed;
  background-size: 400px 400px, auto, auto, auto, auto, auto, auto;
  position: relative;
}
/* Soft watercolour edge vignette — like paint settling at the borders of a page */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse at 50% 50%, transparent 40%, rgba(232,201,122,0.05) 75%, rgba(192,123,90,0.10) 100%);
  mix-blend-mode: multiply;
}
a { color: inherit; text-decoration: none; }

/* ── BLOBS — softened watercolour pools ── */
.bg-blob { position: fixed; border-radius: 50%; filter: blur(90px); opacity: 0.22; pointer-events: none; z-index: 0; }
.blob-1 { width: 650px; height: 650px; background: radial-gradient(circle, var(--sage), var(--teal));       top: -180px; left: -220px; }
.blob-2 { width: 550px; height: 550px; background: radial-gradient(circle, var(--terracotta), var(--coral)); bottom: 80px;  right: -180px; }
.blob-3 { width: 400px; height: 400px; background: radial-gradient(circle, var(--gold), var(--violet));     top: 38%; left: 38%; opacity: 0.14; }

/* ── PAGE WRAP ── */
.page-wrap { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; padding: 0 24px 80px; }
.hidden { display: none !important; }

/* ═══ HEADER ═══ */
.site-header { text-align: center; padding: 56px 20px 36px; }
.logo-mark {
  width: 88px;
  height: 88px;
  display: block;
  margin: 0 auto 12px;
  animation: drawIn 2s ease-out both, breathe 5s ease-in-out 2s infinite;
  filter: drop-shadow(0 2px 8px rgba(42,184,196,0.25));
}
.logo-mark path,
.logo-mark line {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: drawStroke 2s ease-out forwards;
}
.logo-mark line:nth-child(2) { animation-delay: 0.2s; }
.logo-mark line:nth-child(3) { animation-delay: 0.4s; }
.logo-mark line:nth-child(4) { animation-delay: 0.6s; }
.logo-mark line:nth-child(5) { animation-delay: 0.8s; }
.logo-mark line:nth-child(6) { animation-delay: 1.0s; }
@keyframes drawStroke {
  to { stroke-dashoffset: 0; }
}
@keyframes drawIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.03); }
}
.brand-name { font-family:'Playfair Display',serif; font-size:0.9rem; font-weight:500; color:var(--teal); letter-spacing:2.5px; text-transform:uppercase; margin-bottom:10px; }
.site-title { font-family:'Playfair Display',serif; font-size:clamp(1.9rem,4.5vw,3rem); font-weight:700; color:var(--bark); letter-spacing:-0.5px; line-height:1.2; margin-bottom:14px; }
.site-tagline { font-size:1.05rem; color:var(--text-mid); max-width:580px; margin:0 auto 24px; font-weight:300; }
.site-tagline em { font-style:italic; color:var(--sage); }

/* Sample notice */
.sample-notice {
  display: flex; align-items: flex-start; gap: 14px;
  background: linear-gradient(135deg, rgba(42,184,196,0.10), rgba(240,170,24,0.10));
  border: 1.5px solid rgba(42,184,196,0.30); border-left: 4px solid var(--teal);
  border-radius: var(--radius-md); padding: 16px 22px;
  margin: 0 auto 24px; max-width: 680px; text-align: left;
  font-size: 0.92rem; color: var(--text-mid); line-height: 1.65;
}
.sample-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.sample-notice strong { color: var(--bark); }

.trust-bar { display:flex; justify-content:center; flex-wrap:wrap; gap:16px; font-size:0.78rem; font-weight:700; color:var(--mushroom); letter-spacing:0.5px; text-transform:uppercase; margin-top:4px; }

/* ═══ PROGRESS BAR ═══ */
.progress-wrap { margin-bottom:32px; }
.progress-steps { display:flex; align-items:center; justify-content:center; gap:0; flex-wrap:nowrap; }
.progress-step { display:flex; flex-direction:column; align-items:center; gap:6px; }
.progress-step span { font-size:0.75rem; font-weight:700; color:var(--mushroom); white-space:nowrap; transition:color var(--transition); }
.step-dot {
  width:36px; height:36px; border-radius:50%;
  background:var(--cream); border:2px solid var(--mushroom);
  display:flex; align-items:center; justify-content:center;
  font-size:0.85rem; font-weight:800; color:var(--mushroom);
  transition:all var(--transition);
}
.progress-step.active .step-dot { background: linear-gradient(135deg,var(--sage),var(--teal)); border-color: var(--teal); color: var(--white); box-shadow: 0 2px 14px rgba(42,184,196,0.45); }
.progress-step.active span { color: var(--teal); }
.progress-step.completed .step-dot { background: var(--sage); border-color: var(--sage); color: var(--white); }
.progress-step.completed span { color:var(--sage); }
.progress-line { flex:1; height:2px; background:var(--sage-light); min-width:24px; max-width:80px; margin-bottom:22px; }

/* ═══ FORM STEPS ═══ */
.form-step { display:none; animation:fadeUp 0.4s ease both; }
.form-step.active { display:block; }
@keyframes fadeUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }

.step-card {
  position: relative;
  background:
    /* Soft paper grain on the card itself */
    url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.55 0 0 0 0 0.50 0 0 0 0 0.42 0 0 0 0.10 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E"),
    linear-gradient(150deg, rgba(255,251,240,0.97), rgba(250,244,225,0.94));
  background-size: 200px 200px, 100% 100%;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  box-shadow:
    0 4px 24px rgba(107,78,61,0.10),
    inset 0 1px 0 rgba(255,255,255,0.85);
  border: 1.5px solid rgba(232,201,122,0.35);
}
/* Soft watercolour edge bleed on the cards — like paint settling at the corners */
.step-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: var(--radius-lg);
  pointer-events: none;
  background:
    radial-gradient(ellipse 40% 30% at 0% 0%,   rgba(61,158,110,0.10) 0%, transparent 60%),
    radial-gradient(ellipse 35% 25% at 100% 100%, rgba(232,98,58,0.08) 0%, transparent 60%);
  opacity: 0.8;
}
.step-card > * { position: relative; z-index: 1; }
.step-header { display:flex; align-items:flex-start; gap:16px; margin-bottom:28px; }
.step-emoji { font-size:2.2rem; flex-shrink:0; margin-top:2px; }
.step-title { font-family:'Playfair Display',serif; font-size:1.55rem; color:var(--bark); margin-bottom:4px; }
.step-sub { font-size:0.92rem; color:var(--text-light); }

/* ─ Fields ─ */
.field-grid { display:grid; gap:18px; margin-bottom:20px; }
.field-grid.two-col { grid-template-columns:1fr 1fr; }
.field-group { display:flex; flex-direction:column; gap:6px; margin-bottom:20px; }
.field-group:last-of-type { margin-bottom:0; }

label { font-size:0.88rem; font-weight:700; color:var(--text-mid); }
.req { color:var(--terracotta); }
.field-hint { font-size:0.8rem; color:var(--text-light); font-weight:400; margin-left:4px; }

input[type="text"],
input[type="email"],
select,
textarea {
  font-family:'Nunito',sans-serif; font-size:0.95rem; color:var(--text-dark);
  background:var(--cream); border:1.5px solid var(--sage-light);
  border-radius:var(--radius-sm); padding:12px 16px;
  outline:none; transition:border-color var(--transition), box-shadow var(--transition);
  width:100%;
}
input:focus, select:focus, textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(42,184,196,0.18); }
input.error-field, select.error-field, textarea.error-field { border-color:var(--error-border); }
textarea { resize:vertical; min-height:110px; line-height:1.6; }
select { cursor:pointer; appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239e8878' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 14px center; padding-right:38px; }

/* char count */
.char-count { font-size:0.78rem; color:var(--text-light); text-align:right; margin-top:4px; }

/* ─ Chips ─ */
.chip-grid { display:flex; flex-wrap:wrap; gap:9px; margin:10px 0 6px; }
.chip {
  background:var(--cream); border:1.5px solid var(--sage-light);
  color:var(--text-mid); border-radius:var(--radius-pill);
  padding:8px 16px; font-size:0.84rem; font-family:'Nunito',sans-serif;
  font-weight:600; cursor:pointer; transition:all var(--transition);
}
.chip:hover { background:var(--sage-pale); border-color:var(--sage); color:var(--bark); transform:translateY(-1px); }
.chip.active { background: linear-gradient(135deg,var(--sage),var(--teal)); border-color: var(--teal); color: var(--white); box-shadow: 0 2px 12px rgba(42,184,196,0.40); }

/* ─ Slider ─ */
.slider-row { display:flex; align-items:center; gap:14px; padding-top:8px; }
.energy-slider { flex:1; -webkit-appearance:none; height:6px; border-radius:4px; background:linear-gradient(to right,var(--terracotta),var(--gold),var(--sage)); outline:none; cursor:pointer; }
.energy-slider::-webkit-slider-thumb { -webkit-appearance:none; width:22px; height:22px; border-radius:50%; background:var(--white); border:3px solid var(--terracotta); box-shadow:0 2px 8px rgba(192,123,90,0.4); cursor:pointer; }
.energy-val { min-width:52px; font-family:'Playfair Display',serif; font-size:1.1rem; font-weight:700; color:var(--terracotta); }

/* ─ Consent ─ */
.consent-row {
  display:flex; align-items:flex-start; gap:12px;
  background:var(--sage-pale); border:1.5px solid var(--sage-light);
  border-radius:var(--radius-sm); padding:16px 18px;
  margin:24px 0 16px; font-size:0.88rem; color:var(--text-mid);
}
.consent-row input[type="checkbox"] { width:18px; height:18px; flex-shrink:0; margin-top:2px; accent-color:var(--sage); cursor:pointer; }

/* ─ Submit note ─ */
.submit-note { display:flex; gap:8px; font-size:0.8rem; color:var(--text-light); margin-bottom:24px; }

/* ─ Step nav ─ */
.step-nav { display:flex; gap:12px; margin-top:28px; }
.step-nav.two-btn { justify-content:space-between; }
.step-nav:not(.two-btn) { justify-content:flex-end; }
.nav-arrow { margin-left:4px; }

/* ─ Error ─ */
.step-error { font-size:0.85rem; color:var(--terracotta); margin-top:12px; font-weight:600; }

/* ═══ BUTTONS ═══ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--sage) 0%, var(--teal) 100%);
  color: var(--white); border: none; border-radius: var(--radius-pill);
  padding: 14px 32px; font-size: 1rem; font-family: 'Nunito', sans-serif;
  font-weight: 700; cursor: pointer;
  box-shadow: 0 4px 18px rgba(42,184,196,0.40);
  transition: all var(--transition);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(42,184,196,0.55); filter: brightness(1.06); }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.btn-ghost {
  background: transparent; border: 1.5px solid var(--mushroom); color: var(--text-light);
  border-radius: var(--radius-pill); padding: 13px 28px;
  font-size: 0.95rem; font-family: 'Nunito', sans-serif; font-weight: 700;
  cursor: pointer; transition: all var(--transition);
}
.btn-ghost:hover { border-color: var(--sage); color: var(--sage); }
.btn-secondary {
  display: inline-block; background: transparent; color: var(--teal);
  border: 2px solid var(--teal); border-radius: var(--radius-pill);
  padding: 12px 28px; font-size: 0.95rem; font-family: 'Nunito', sans-serif;
  font-weight: 700; cursor: pointer; transition: all var(--transition);
}
.btn-secondary:hover { background: var(--teal); color: var(--white); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(42,184,196,0.45); }
.btn-leaf { font-size: 1.1rem; }

/* ═══ CONFIRMATION SCREEN ═══ */
.confirmation { animation:fadeUp 0.5s ease; }
.confirm-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.93), rgba(240,255,245,0.90));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255,255,255,0.85);
  border: 1.5px solid rgba(42,184,196,0.25);
  text-align: center;
  margin-bottom: 48px;
}
.confirm-icon { font-size:4rem; margin-bottom:16px; }
.confirm-title { font-family:'Playfair Display',serif; font-size:2rem; color:var(--bark); margin-bottom:10px; }
.confirm-lead { font-size:1.05rem; color:var(--text-mid); margin-bottom:32px; }

.confirm-timeline { text-align:left; display:flex; flex-direction:column; gap:20px; margin-bottom:28px; }
.timeline-item { display:flex; gap:16px; align-items:flex-start; }
.timeline-dot {
  width:36px; height:36px; border-radius:50%; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  font-size:0.85rem; font-weight:800;
}
.timeline-dot.done   { background:var(--sage);       color:var(--white); }
.timeline-dot.pending{ background:var(--gold-light);  color:var(--bark);  border:2px dashed var(--gold); }
.timeline-dot.future { background:var(--terra-pale);  color:var(--terracotta); border:2px dashed var(--terra-light); }
.timeline-item strong { display:block; font-size:0.95rem; color:var(--bark); margin-bottom:2px; }
.timeline-item p { font-size:0.88rem; color:var(--text-mid); }

.confirm-spam-note {
  background:var(--gold-pale); border:1.5px solid var(--gold-light);
  border-radius:var(--radius-sm); padding:14px 18px;
  font-size:0.85rem; color:var(--text-mid); margin-bottom:32px; text-align:left;
}

.confirm-cta-band { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.confirm-cta-card {
  background:var(--cream); border-radius:var(--radius-md);
  padding:28px 24px; border:1.5px solid var(--sage-light);
  text-align:center; position:relative;
}
.confirm-cta-card.cta-paid { border-color:var(--terra-light); background:var(--terra-pale); }
.cta-badge-new {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--terracotta), var(--coral));
  color: var(--white); font-size: 0.68rem;
  font-weight: 800; letter-spacing: 1px; padding: 3px 14px;
  border-radius: var(--radius-pill); white-space: nowrap;
  box-shadow: 0 2px 10px rgba(242,92,122,0.40);
}
.cta-icon { font-size:2rem; margin-bottom:10px; }
.confirm-cta-card h3 { font-family:'Playfair Display',serif; font-size:1.15rem; color:var(--bark); margin-bottom:8px; }
.confirm-cta-card p { font-size:0.85rem; color:var(--text-mid); margin-bottom:16px; }
.paid-features { list-style:none; text-align:left; margin-bottom:16px; display:flex; flex-direction:column; gap:5px; }
.paid-features li { font-size:0.82rem; color:var(--text-mid); font-weight:600; }

/* ═══ ABOUT SECTION ═══ */
.about-section {
  background: linear-gradient(135deg, rgba(42,184,196,0.12) 0%, rgba(255,253,235,0.32) 50%, rgba(240,170,24,0.10) 100%);
  border: 1.5px solid rgba(42,184,196,0.28);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  margin-bottom: 36px;
  backdrop-filter: blur(6px);
}
.about-inner { display:flex; align-items:center; gap:32px; }
.about-photo { font-size:4.5rem; background:var(--white); border-radius:50%; width:100px; height:100px; display:flex; align-items:center; justify-content:center; flex-shrink:0; box-shadow:var(--shadow-soft); }
.about-h2 { font-family:'Playfair Display',serif; font-size:1.35rem; color:var(--bark); margin-bottom:10px; }
.about-text p { font-size:0.92rem; color:var(--text-mid); margin-bottom:8px; }

/* ═══ FAQ SECTION ═══ */
.faq-section { margin-bottom:44px; }
.faq-heading { font-family:'Playfair Display',serif; font-size:1.5rem; color:var(--bark); text-align:center; margin-bottom:24px; }
.faq-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:14px; }
.faq-item { background:var(--white); border:1.5px solid var(--gold-light); border-radius:var(--radius-md); overflow:hidden; transition:box-shadow var(--transition); }
.faq-item:hover { box-shadow:var(--shadow-soft); }
.faq-q { font-weight:700; color:var(--bark); font-size:0.92rem; padding:16px 20px; cursor:pointer; list-style:none; display:flex; justify-content:space-between; align-items:center; }
.faq-q::-webkit-details-marker { display:none; }
.faq-q::after { content:'+'; font-size:1.2rem; color:var(--sage); flex-shrink:0; margin-left:10px; }
.faq-item[open] .faq-q::after { content:'−'; }
.faq-a { padding:0 20px 16px; font-size:0.88rem; color:var(--text-mid); border-top:1px solid var(--gold-pale); padding-top:12px; }

/* ═══ FOOTER ═══ */
.site-footer { text-align:center; padding:28px 0 0; color:var(--mushroom); font-size:0.83rem; border-top:1px solid var(--terra-light); }
.footer-keywords { font-size:0.73rem; margin-top:5px; opacity:0.6; }
.disclaimer { font-size:0.74rem; margin-top:6px; opacity:0.65; max-width:560px; margin-left:auto; margin-right:auto; }

/* ═══ RESPONSIVE ═══ */
@media (max-width:680px) {
  .step-card { padding:28px 20px; }
  .field-grid.two-col { grid-template-columns:1fr; }
  .confirm-cta-band { grid-template-columns:1fr; }
  .about-inner { flex-direction:column; text-align:center; }
  .progress-step span { font-size:0.65rem; }
  .progress-line { min-width:12px; }
  .site-header { padding:40px 0 28px; }
  .about-section { padding:28px 20px; }
}
@media (max-width:420px) {
  .trust-bar { gap:8px; font-size:0.68rem; }
  .confirm-card { padding:32px 20px; }
}
