/* ══════════════════════════════════════════
   Basalt — Shared Styles (Dark/Stone Theme)
   basalt.fit — AI Climbing Coach
   ══════════════════════════════════════════ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --accent: #C8845A;
  --accent-dark: #A86B42;
  --accent-glow: rgba(200,132,90,.15);
  --bg: #0B0B0F;
  --bg-card: #141419;
  --bg-card-hover: #1A1A22;
  --text: #F0EDE8;
  --text-muted: #9A9690;
  --border: rgba(255,255,255,.06);
  --radius: 16px;
  --max-w: 1120px;
  --max-w-narrow: 760px;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-dark); }
img { max-width: 100%; display: block; }

/* ── Utility ── */
.container { width: 90%; max-width: var(--max-w); margin: 0 auto; }
.container-narrow { width: 90%; max-width: var(--max-w-narrow); margin: 0 auto; }
.section { padding: 100px 0; }
.section-label {
  font-size: .75rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700; line-height: 1.15; margin-bottom: 20px;
}
.section-sub {
  font-size: 1.05rem; color: var(--text-muted); max-width: 600px; line-height: 1.7;
}

/* ── Nav (shared) ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 16px 0;
  background: rgba(11,11,15,.82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
nav .container { display: flex; align-items: center; justify-content: space-between; }
.logo {
  font-family: 'Space Grotesk', sans-serif; font-size: 1.35rem; font-weight: 700;
  color: var(--text); display: flex; align-items: center; gap: 8px; text-decoration: none;
}
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--text-muted); font-size: .88rem; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--accent); color: #fff !important; padding: 8px 20px;
  border-radius: 99px; font-weight: 600; font-size: .85rem; transition: background .2s;
}
.nav-cta:hover { background: var(--accent-dark); }
.menu-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 99px; font-weight: 600;
  font-size: .95rem; border: none; cursor: pointer; transition: all .2s;
  text-decoration: none;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(200,132,90,.25); }
.btn-ghost {
  background: transparent; color: var(--text); border: 1px solid rgba(255,255,255,.15);
}
.btn-ghost:hover { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.04); }

/* ── Hero (Landing) ── */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding-top: 80px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -180px; right: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; max-width: 680px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 99px; padding: 6px 16px 6px 10px;
  font-size: .8rem; font-weight: 600; color: var(--text-muted); margin-bottom: 28px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #34D399; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 700; line-height: 1.08; margin-bottom: 24px;
}
.hero h1 .highlight { color: var(--accent); }
.hero p { font-size: 1.15rem; color: var(--text-muted); max-width: 520px; margin-bottom: 36px; line-height: 1.7; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 40px; margin-top: 56px;
  padding-top: 32px; border-top: 1px solid var(--border);
}
.hero-stat-num { font-family: 'Space Grotesk', sans-serif; font-size: 1.6rem; font-weight: 700; color: var(--accent); }
.hero-stat-label { font-size: .8rem; color: var(--text-muted); margin-top: 2px; }

/* ── Sub-page Hero ── */
.hero-sub {
  padding: 120px 0 60px;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero-sub::before {
  content: ''; position: absolute; top: -120px; right: -150px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
}
.hero-sub .container-narrow { position: relative; z-index: 2; }
.breadcrumb {
  font-size: .82rem; color: var(--text-muted); margin-bottom: 20px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { margin: 0 8px; opacity: .4; }
.hero-sub h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 700; line-height: 1.12; margin-bottom: 20px;
}
.hero-sub h1 .highlight { color: var(--accent); }
.hero-sub p { font-size: 1.1rem; color: var(--text-muted); max-width: 560px; line-height: 1.7; margin-bottom: 28px; }
.hero-sub .cta-sub { font-size: .82rem; color: var(--text-muted); margin-top: 10px; display: block; }

/* ── Cards ── */
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; margin: 20px 0;
}
.card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; }
.card p, .card li { color: var(--text-muted); }
.card ul { padding-left: 20px; margin: 12px 0; }
.card li { margin-bottom: 8px; font-size: .95rem; line-height: 1.6; }

/* ── Problem / Solution ── */
.problem-section { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.ps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.ps-card { padding: 36px; border-radius: var(--radius); }
.ps-card.problem-card { background: rgba(239,68,68,.06); border: 1px solid rgba(239,68,68,.12); }
.ps-card.solution-card { background: var(--accent-glow); border: 1px solid rgba(200,132,90,.2); }
.ps-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.ps-card ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.ps-card li { font-size: .95rem; color: var(--text-muted); padding-left: 24px; position: relative; line-height: 1.5; }
.ps-card.problem-card li::before { content: '✗'; position: absolute; left: 0; color: #EF4444; font-weight: 700; }
.ps-card.solution-card li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* ── Phases ── */
.phases-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.phase-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; transition: all .25s; position: relative; overflow: hidden;
}
.phase-card:hover { border-color: rgba(255,255,255,.12); transform: translateY(-4px); background: var(--bg-card-hover); }
.phase-num {
  font-family: 'Space Grotesk', sans-serif; font-size: 3rem; font-weight: 700;
  position: absolute; top: 12px; right: 16px; opacity: .06;
}
.phase-icon { font-size: 2rem; margin-bottom: 14px; }
.phase-name { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px; }
.phase-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.phase-desc { font-size: .88rem; color: var(--text-muted); line-height: 1.6; }
.phase-card:nth-child(1) { border-top: 3px solid #EF4444; }
.phase-card:nth-child(2) { border-top: 3px solid #F59E0B; }
.phase-card:nth-child(3) { border-top: 3px solid #FBBF24; }
.phase-card:nth-child(4) { border-top: 3px solid #34D399; }

/* ── Steps (How It Works) ── */
.steps-section { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 48px; counter-reset: step; }
.step {
  text-align: center; padding: 40px 24px;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  font-family: 'Space Grotesk', sans-serif; font-size: 3.5rem; font-weight: 700;
  color: var(--accent); opacity: .15; position: absolute; top: 16px; left: 24px;
}
.step-emoji { font-size: 2.4rem; margin-bottom: 16px; }
.step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: .9rem; color: var(--text-muted); line-height: 1.6; }

/* ── Features ── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.feature {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; transition: border-color .2s;
}
.feature:hover { border-color: rgba(255,255,255,.12); }
.feature-icon { font-size: 1.6rem; margin-bottom: 12px; }
.feature h3 { font-size: .95rem; font-weight: 700; margin-bottom: 8px; }
.feature p { font-size: .88rem; color: var(--text-muted); line-height: 1.6; }

/* ── Social Proof ── */
.social-proof { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.quotes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.quote-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; position: relative;
}
.quote-card::before { content: '"'; font-size: 3rem; color: var(--accent); opacity: .3; position: absolute; top: 12px; right: 20px; font-family: Georgia, serif; }
.quote-text { font-size: .92rem; color: var(--text-muted); line-height: 1.7; font-style: italic; margin-bottom: 16px; }
.quote-author { font-size: .82rem; font-weight: 600; }
.quote-meta { font-size: .75rem; color: var(--text-muted); }

/* ── Waitlist / CTA ── */
.waitlist { text-align: center; }
.waitlist .section-sub { margin: 0 auto 40px; }
.waitlist-note { font-size: .78rem; color: var(--text-muted); margin-top: 14px; }

/* ── CTA Block (sub-pages) ── */
.cta-block {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 48px; text-align: center;
  margin: 48px 0;
}
.cta-block h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem; font-weight: 700; margin-bottom: 12px;
}
.cta-block p { color: var(--text-muted); font-size: 1rem; margin-bottom: 24px; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-block .cta-sub { font-size: .82rem; color: var(--text-muted); margin-top: 10px; display: block; }

/* ── Timeline ── */
.timeline { list-style: none; padding: 0; position: relative; }
.timeline::before {
  content: ''; position: absolute; left: 18px; top: 8px; bottom: 8px;
  width: 3px; background: var(--accent); opacity: .3; border-radius: 2px;
}
.timeline li {
  padding-left: 48px; position: relative; margin-bottom: 24px;
  font-size: .95rem; color: var(--text-muted); line-height: 1.6;
}
.timeline li::before {
  content: ''; position: absolute; left: 12px; top: 6px;
  width: 14px; height: 14px; background: var(--accent); border-radius: 50%;
}
.timeline .phase { font-weight: 700; color: var(--text); display: block; margin-bottom: 4px; }

/* ── Injury Grid ── */
.injuries-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.injury-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px; border-left: 3px solid var(--accent);
}
.injury-item h3 { margin: 0 0 6px; font-size: 1rem; color: var(--accent); }
.injury-item p { font-size: .92rem; margin: 0; color: var(--text-muted); }

/* ── Compare ── */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0; }
.compare-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
}
.compare-item h3 { color: var(--accent); margin: 0 0 8px; font-size: 1.05rem; }
.compare-item p { font-size: .92rem; color: var(--text-muted); margin: 0; }

/* ── FAQ ── */
details {
  margin: 12px 0; border-bottom: 1px solid var(--border); padding-bottom: 12px;
}
summary {
  cursor: pointer; font-weight: 600; font-size: 1rem;
  color: var(--text); padding: 8px 0; list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::before { content: '+ '; color: var(--accent); font-weight: 700; }
details[open] summary::before { content: '− '; }
details p { margin-top: 8px; font-size: .95rem; color: var(--text-muted); line-height: 1.7; }

/* ── Disclaimer ── */
.disclaimer {
  background: rgba(255,255,255,.03); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 24px; margin-top: 40px;
  max-width: 600px; margin-left: auto; margin-right: auto;
}
.disclaimer p { font-size: .78rem; color: var(--text-muted); line-height: 1.6; text-align: center; }

/* ── Footer (shared) ── */
footer {
  padding: 48px 0; border-top: 1px solid var(--border); text-align: center;
}
footer .logo { justify-content: center; margin-bottom: 16px; }
footer p { font-size: .82rem; color: var(--text-muted); }
.footer-links { display: flex; gap: 24px; justify-content: center; margin-top: 12px; flex-wrap: wrap; }
.footer-links a { font-size: .82rem; color: var(--text-muted); }
.footer-links a:hover { color: var(--text); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .ps-grid { grid-template-columns: 1fr; gap: 24px; }
  .phases-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .quotes-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .injuries-grid { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .phases-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .nav-open .nav-links {
    display: flex; flex-direction: column;
    position: absolute; top: 60px; left: 0; right: 0;
    background: rgba(11,11,15,.96); padding: 24px;
    border-bottom: 1px solid var(--border);
  }
  .hero-stats { flex-direction: column; gap: 16px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { text-align: center; justify-content: center; }
  .cta-block { padding: 32px 20px; }
}
