/* ═══════════════════════════════════════════════════════
   coaching.cool — Global Stylesheet
   ═══════════════════════════════════════════════════════ */

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

:root {
  --teal: #1A5C5E;
  --teal-light: #2A7D80;
  --teal-dark: #134647;
  --amber: #D4A843;
  --amber-light: #E4C06A;
  --cream: #FAF8F5;
  --cream-dark: #F0EDE7;
  --charcoal: #2D2D2D;
  --charcoal-light: #4A4A4A;
  --coral: #C4653A;
  --coral-light: #D87A52;
  --sage: #8BA88E;
  --sage-light: #A8C4AB;
  --white: #FFFFFF;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --max-w: 1200px;
  --max-w-narrow: 640px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); background: var(--cream); color: var(--charcoal); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ─── Container ─── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--max-w-narrow); margin: 0 auto; padding: 0 24px; }

/* ─── Typography ─── */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; color: var(--charcoal); }
h1 { font-size: clamp(40px, 5.5vw, 64px); font-weight: 700; }
h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 700; }
h3 { font-size: clamp(22px, 3vw, 28px); font-weight: 600; }
p { line-height: 1.65; }
.text-teal { color: var(--teal); }
.text-coral { color: var(--coral); }
.text-amber { color: var(--amber); }
.text-muted { color: var(--charcoal-light); }
.text-center { text-align: center; }
.font-display { font-family: var(--font-display); }

/* ─── Section spacing ─── */
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }
.section-teal { background: linear-gradient(135deg, var(--teal), var(--teal-dark)); color: var(--white); }
.section-cream { background: var(--cream); }
.section-cream-dark { background: var(--cream-dark); }

/* ─── Badge / pill ─── */
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 50px;
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
}
.badge-teal { background: rgba(26,92,94,0.1); color: var(--teal); }
.badge-coral { background: rgba(196,101,58,0.1); color: var(--coral); }
.badge-amber { background: rgba(212,168,67,0.1); color: var(--amber); }

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px; border: none;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  letter-spacing: 0.3px; cursor: pointer; transition: all 0.3s ease;
  text-decoration: none; line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
.btn-coral { background: var(--coral); color: var(--white); }
.btn-teal { background: var(--teal); color: var(--white); }
.btn-white { background: var(--white); color: var(--teal); }
.btn-amber { background: var(--amber); color: var(--charcoal); }
.btn-outline { background: transparent; color: var(--teal); border: 2px solid var(--teal); }
.btn-sm { padding: 10px 24px; font-size: 13px; }
.btn-full { width: 100%; justify-content: center; }

/* ─── Cards ─── */
.card {
  background: var(--white); border-radius: 20px; padding: 32px;
  border: 1px solid rgba(0,0,0,0.04);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.card-flat { box-shadow: none; }
.card-flat:hover { transform: none; box-shadow: none; }

/* ─── Grid ─── */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ─── Navigation ─── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 0; transition: all 0.3s ease;
}
.nav.scrolled {
  background: rgba(250,248,245,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06); padding: 12px 0;
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 8px; }
.nav-logo-icon { font-size: 28px; }
.nav-logo-text { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--teal); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-link { font-weight: 500; font-size: 14px; letter-spacing: 0.3px; transition: color 0.2s; }
.nav-link:hover { color: var(--teal); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }

/* Mobile nav */
.nav-mobile {
  position: fixed; inset: 0; background: var(--cream); z-index: 99;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.nav-mobile.open { opacity: 1; pointer-events: all; }
.nav-mobile-close { position: absolute; top: 20px; right: 24px; background: none; border: none; cursor: pointer; }
.nav-mobile a { font-size: 20px; font-weight: 500; }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
}

/* ─── Footer ─── */
.footer { background: var(--charcoal); padding: 60px 0 32px; color: rgba(255,255,255,0.6); }
.footer h4 { color: var(--white); font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: 1px; margin-bottom: 16px; }
.footer a { display: block; font-size: 14px; color: rgba(255,255,255,0.6); margin-bottom: 10px; transition: color 0.2s; }
.footer a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; margin-top: 48px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px;
}

/* ─── Scroll animations ─── */
.fade-up {
  opacity: 0; transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(.22,1,.36,1), transform 0.7s cubic-bezier(.22,1,.36,1);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ─── Hero specific ─── */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 80px; position: relative; overflow: hidden; }
.hero-bg { background: linear-gradient(165deg, var(--cream) 0%, #F5F0E8 50%, #EDE8DD 100%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 768px) { .hero-grid { grid-template-columns: 1fr; } }

.hero-visual {
  width: 100%; aspect-ratio: 4/4.5; border-radius: 24px; overflow: hidden;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 60%, var(--sage) 100%);
  position: relative;
}

/* ─── Decorative ─── */
.circle-deco {
  position: absolute; border-radius: 50%; pointer-events: none;
}

/* ─── Pricing specific ─── */
.pricing-card { position: relative; }
.pricing-card.popular {
  background: var(--teal); color: var(--white);
  box-shadow: 0 12px 40px rgba(26,92,94,0.2); transform: scale(1.03);
}
.pricing-card.popular:hover { transform: scale(1.03) translateY(-4px); }
.pricing-card .price { font-family: var(--font-display); font-size: 36px; font-weight: 700; }
.pricing-card .period { font-size: 13px; color: var(--charcoal-light); }
.pricing-card.popular .period { color: rgba(255,255,255,0.6); }
.pricing-feature { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; font-size: 14px; }
.pricing-feature .check { color: var(--teal); flex-shrink: 0; margin-top: 2px; }
.pricing-card.popular .check { color: var(--amber); }
.popular-badge {
  position: absolute; top: -12px; right: 20px;
  background: var(--amber); color: var(--charcoal);
  font-size: 11px; font-weight: 700; padding: 6px 14px; border-radius: 50px;
}

/* ─── Quiz specific ─── */
.quiz-progress-bar { height: 6px; border-radius: 3px; background: rgba(26,92,94,0.1); overflow: hidden; }
.quiz-progress-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--teal), var(--teal-light)); transition: width 0.5s cubic-bezier(.22,1,.36,1); }
.likert-btn {
  width: 100px; min-height: 80px; border-radius: 16px;
  border: 2px solid rgba(0,0,0,0.08); background: var(--white);
  cursor: pointer; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 4px;
  padding: 12px 8px; transition: all 0.25s ease;
}
.likert-btn:hover { border-color: rgba(26,92,94,0.4); transform: translateY(-2px); }
.likert-btn.selected { border-color: var(--teal); background: rgba(26,92,94,0.08); box-shadow: 0 0 0 3px rgba(26,92,94,0.12); }

/* ─── Wheel of Life specific ─── */
.wol-slider-row {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: 14px; transition: background 0.2s;
}
.wol-slider-row:hover { background: rgba(26,92,94,0.04); }
.wol-num-btn {
  flex: 1; height: 28px; border-radius: 6px; border: none; cursor: pointer;
  font-size: 10px; font-weight: 600; transition: all 0.15s ease;
}

/* ─── Trust bar ─── */
.trust-bar { background: var(--teal); padding: 20px 0; }
.trust-bar-inner { display: flex; justify-content: center; flex-wrap: wrap; gap: 32px; }
.trust-item { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.9); font-size: 14px; font-weight: 500; }

/* ─── Star rating ─── */
.stars { display: flex; gap: 2px; color: var(--amber); }

/* ─── Form elements ─── */
.input {
  padding: 12px 16px; border-radius: 50px;
  border: 2px solid rgba(0,0,0,0.1); background: var(--white);
  font-family: var(--font-body); font-size: 14px; outline: none;
  transition: border-color 0.2s;
}
.input:focus { border-color: var(--teal); }
.input-dark {
  border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.1);
  color: var(--white);
}
.input-dark::placeholder { color: rgba(255,255,255,0.5); }

/* ─── Utility ─── */
.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }
.mb-60 { margin-bottom: 60px; }
.mt-24 { margin-top: 24px; }
.gap-12 { gap: 12px; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.inline-flex { display: inline-flex; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
