/* ═══════════════════════════════════════════════════════
   HOMEPAGE CSS — VertiGoes
   Headspace-exact: airy, warm, illustration-forward
   ═══════════════════════════════════════════════════════ */

/* ═══ HERO ══════════════════════════════════════════════ */
.hero-wrap {
  background: var(--surface);
  position: relative;
  overflow: hidden;
}
/* Decorative organic blobs — softer, larger, more Headspace */
.hero-wrap::before {
  content: '';
  position: absolute; top: -200px; left: -150px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(244,125,91,.06) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.hero-wrap::after {
  content: '';
  position: absolute; bottom: -150px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(123,198,126,.05) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.hero {
  max-width: 720px; margin: 0 auto;
  padding: 120px 36px 96px; text-align: center;
  position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px;
  background: var(--orange-light);
  border-radius: var(--r-full); font-size: 13px; font-weight: 600;
  color: var(--orange); margin-bottom: 36px;
  letter-spacing: .02em;
}
.hero h1 {
  font-size: clamp(38px, 5.5vw, 64px);
  font-weight: 800; line-height: 1.08;
  letter-spacing: -2.5px; color: var(--gray-900);
  margin-bottom: 24px;
}
.hero h1 span { color: var(--orange); }
.hero p {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-2); line-height: 1.7;
  max-width: 540px; margin: 0 auto 48px;
}
.hero-search {
  display: flex; align-items: center;
  max-width: 520px; margin: 0 auto 48px;
  background: var(--bg);
  border: none;
  border-radius: var(--r-full);
  padding: 6px;
  box-shadow: var(--shadow);
  transition: box-shadow .3s var(--ease);
}
.hero-search:focus-within {
  box-shadow: 0 0 0 4px rgba(244,125,91,.08), var(--shadow-md);
}
.hero-search input {
  flex: 1; border: none; outline: none;
  font-family: var(--font); font-size: 16px;
  color: var(--text); background: transparent;
  text-align: start;
  padding-inline: 18px 4px;
}
.hero-search input::placeholder { color: var(--text-3); }
.hero-search .clear-btn {
  background: none; border: none; color: var(--text-3);
  cursor: pointer; font-size: 14px;
  padding: 6px 8px; flex-shrink: 0;
  display: none; line-height: 1;
}
.hero-search .search-btn {
  flex-shrink: 0; padding: 14px 28px;
  background: var(--orange); color: #fff;
  border: none; border-radius: var(--r-full);
  font-family: var(--font); font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all .2s var(--ease);
  white-space: nowrap;
}
.hero-search .search-btn:hover { background: var(--orange-hover); }
#searchResults { max-width: 520px; margin: 8px auto 28px; text-align: start; }
.hero-chips {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center;
}
.chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 22px;
  background: var(--bg);
  border: none;
  border-radius: var(--r-full); font-size: 14px; font-weight: 500;
  color: var(--text-2); cursor: pointer;
  text-decoration: none;
  transition: all .25s var(--ease);
  box-shadow: var(--shadow-xs);
}
.chip:hover {
  color: var(--orange);
  background: var(--orange-light);
  transform: translateY(-1px); /* Subtler — vestibular-friendly */
  box-shadow: var(--shadow-sm);
}

/* ═══ TRUST STRIP ═══════════════════════════════════════ */
.trust-strip {
  background: var(--bg);
  padding: 16px 36px;
}
.trust-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; align-items: center;
  justify-content: center; gap: 28px;
  flex-wrap: wrap;
}
.trust-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-3); white-space: nowrap;
}
.trust-badges { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
.trust-badge {
  display: inline-flex; align-items: center;
  padding: 6px 16px;
  background: var(--surface);
  border-radius: var(--r-full); font-size: 12px; font-weight: 600;
  color: var(--gray-500);
  box-shadow: var(--shadow-xs);
}

/* ═══ STATS BAR (warm, not cold dark) ══════════════════ */
.stats-bar {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.stats-bar::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(244,125,91,.1) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.stats-bar::after {
  content: '';
  position: absolute; bottom: -60px; left: -60px;
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(126,184,212,.08) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.stats-inner {
  max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  position: relative; z-index: 1;
}
.stat-item {
  padding: 40px 28px; text-align: center;
  border-inline-start: 1px solid rgba(255,255,255,.06);
}
.stat-item:first-child { border-inline-start: none; }
.stat-num {
  font-size: 44px; font-weight: 800;
  letter-spacing: -2px; color: var(--orange);
  line-height: 1; margin-bottom: 10px;
}
.stat-label { font-size: 14px; color: rgba(255,255,255,.45); line-height: 1.6; }
.stat-source {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  letter-spacing: .02em;
  color: rgba(255,255,255,.32);
}
.stat-source a {
  color: inherit;
  text-decoration: underline dotted;
  text-underline-offset: 2px;
}
.stat-source a:hover { color: rgba(255,255,255,.55); }

/* ═══ COMMUNITY BANNER ══════════════════════════════════ */
.community-banner {
  background: var(--navy);
  border-radius: var(--r-2xl);
  padding: 72px 56px; text-align: center; color: #fff;
  position: relative; overflow: hidden;
}
.community-banner::before {
  content: '';
  position: absolute; top: -60px; left: -60px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(244,125,91,.15) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.community-banner::after {
  content: '';
  position: absolute; bottom: -80px; right: -40px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(255,206,0,.1) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.community-banner h2 {
  font-size: 40px; font-weight: 800;
  letter-spacing: -.8px; margin-bottom: 16px;
  position: relative; z-index: 1;
}
.community-banner p {
  color: rgba(255,255,255,.55);
  font-size: 18px; margin-bottom: 40px;
  position: relative; z-index: 1;
  line-height: 1.7;
}
.email-form {
  display: flex; gap: 12px; max-width: 420px; margin: 0 auto;
  position: relative; z-index: 1;
}
.email-form input {
  flex: 1; padding: 15px 20px;
  border: 2px solid rgba(255,255,255,.1);
  border-radius: var(--r-full);
  background: rgba(255,255,255,.08);
  color: #fff; font-family: var(--font);
  font-size: 15px; outline: none; direction: rtl;
  transition: border-color .25s;
}
.email-form input::placeholder { color: rgba(255,255,255,.35); }
.email-form input:focus { border-color: rgba(255,255,255,.3); }
.email-form button {
  padding: 15px 28px; background: var(--orange);
  color: #fff;
  border: none; border-radius: var(--r-full);
  font-family: var(--font); font-size: 15px; font-weight: 700;
  cursor: pointer; white-space: nowrap;
  transition: all .2s var(--ease);
}
.email-form button:hover { background: var(--orange-hover); }

/* ═══ BLOG (homepage section) ═══════════════════════════ */
.blog-featured {
  display: grid; grid-template-columns: 1fr 1fr;
  border-radius: var(--r-2xl); overflow: hidden;
  margin-bottom: 32px; background: var(--surface);
  box-shadow: var(--shadow);
  text-decoration: none; color: inherit;
  transition: all .35s var(--ease);
}
.blog-featured:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.blog-feat-accent {
  background: var(--navy);
  padding: 52px 48px;
  display: flex; flex-direction: column;
  justify-content: flex-end; min-height: 300px;
  position: relative; overflow: hidden;
}
.blog-feat-accent::before {
  content: '';
  position: absolute; top: 20px; right: 20px;
  width: 140px; height: 140px;
  background: radial-gradient(circle, rgba(244,125,91,.12) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.feat-eyebrow {
  font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.35); margin-bottom: 16px;
}
.blog-feat-accent h3 {
  font-size: 28px; font-weight: 800;
  color: #fff; letter-spacing: -.6px;
  line-height: 1.3;
}
.blog-feat-body {
  padding: 44px;
  display: flex; flex-direction: column;
  justify-content: center;
}
.blog-feat-body > p {
  font-size: 16px; color: var(--text-2);
  line-height: 1.8; margin-bottom: 28px;
}
.blog-feat-meta {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 22px; font-size: 13px;
  color: var(--text-3); flex-wrap: wrap;
}
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border-radius: var(--r-xl); overflow: hidden;
  text-decoration: none; color: inherit;
  box-shadow: var(--shadow-sm);
  transition: all .35s var(--ease);
}
.blog-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.blog-card-bar { height: 4px; flex-shrink: 0; }
.blog-card-bar.blue { background: var(--blue); }
.blog-card-bar.green { background: var(--green); }
.blog-card-bar.amber { background: var(--yellow); }
.blog-card-body {
  padding: 30px; flex: 1;
  display: flex; flex-direction: column;
}
.blog-card-body h3 {
  font-size: 17px; font-weight: 700;
  color: var(--text); letter-spacing: -.3px;
  line-height: 1.45; margin-bottom: 12px;
}
.blog-card-body > p {
  font-size: 15px; color: var(--text-2);
  line-height: 1.75; flex: 1; margin-bottom: 20px;
}
.blog-card-meta {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; color: var(--text-3);
}
.blog-more {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 16px; font-weight: 600;
  color: var(--orange);
  text-decoration: none; margin-top: 36px;
  transition: gap .25s var(--ease);
}
.blog-more:hover { gap: 14px; }

/* ═══ HOMEPAGE RESPONSIVE ═══════════════════════════════ */
@media (max-width: 900px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(odd) { border-inline-start: none; }
  .stat-item:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.06); }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-feat-accent { min-height: 200px; padding: 36px; }
  .blog-feat-accent h3 { font-size: 24px; }
  .blog-feat-body { padding: 32px 36px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .hero { padding: 80px 20px 64px; }
  .hero h1 { letter-spacing: -1.2px; }
  .hero p { font-size: 16px; margin-bottom: 36px; }
  .hero-search { margin: 0 auto 36px; max-width: 100%; }
  .hero-chips { gap: 8px; }
  .chip { font-size: 13px; padding: 9px 18px; }
  .stats-inner { padding: 0 20px; }
  .stat-item { padding: 28px 16px; }
  .stat-num { font-size: 36px; }
  .community-banner { padding: 48px 28px; border-radius: var(--r-xl); }
  .community-banner h2 { font-size: 28px; }
  .email-form { flex-direction: column; max-width: 100%; }
  .email-form input, .email-form button { width: 100%; }
  .trust-strip { padding: 12px 20px; }
  .trust-inner { gap: 14px; }
  .hero-badge { font-size: 12px; }
  .blog-grid { grid-template-columns: 1fr; }
}

/* ═════════════════════════════════════════════════════════════════
   PHASE 2 — Start Here, Attack-Now, disorder tiering, clinician CTA
   ═════════════════════════════════════════════════════════════════ */

/* ── "Start Here" 4-card path picker (sits under hero) ── */
.start-here {
  background: var(--bg);
  padding: 24px 36px 72px;
}
.start-here-inner {
  max-width: 1120px; margin: 0 auto;
}
.start-here-eyebrow {
  display: block; text-align: center;
  font-size: 12px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 28px;
}
.start-here-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.start-card {
  display: flex; flex-direction: column;
  padding: 28px 24px;
  background: var(--surface);
  border-radius: var(--r-lg);
  text-decoration: none; color: inherit;
  box-shadow: var(--shadow-xs);
  transition: box-shadow .25s var(--ease), transform .25s var(--ease);
  cursor: pointer; border: none;
  font-family: var(--font); text-align: start;
  width: 100%;
}
.start-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.start-card-icon {
  width: 44px; height: 44px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  background: var(--orange-light); color: var(--orange);
}
.start-card-icon svg { width: 22px; height: 22px; }
.start-card-icon.green { background: var(--green-light); color: var(--green); }
.start-card-icon.blue  { background: var(--blue-light);   color: var(--blue-dark); }
.start-card-icon.amber { background: var(--yellow-light); color: #D4A017; }
.start-card h3 {
  font-size: 16px; font-weight: 700;
  color: var(--text); letter-spacing: -.2px;
  margin-bottom: 6px; line-height: 1.3;
}
.start-card p {
  font-size: 13px; color: var(--text-2);
  line-height: 1.6; margin-bottom: 12px;
  flex: 1;
}
.start-card-arrow {
  font-size: 13px; font-weight: 600;
  color: var(--orange); display: inline-flex; align-items: center; gap: 4px;
}
html[lang="he"] .start-card-arrow::after { content: " ←"; }
html[lang="en"] .start-card-arrow::after { content: " →"; }
.start-card.urgent .start-card-icon { background: #FFE8E8; color: #C44E4E; }
.start-card.urgent .start-card-arrow { color: #C44E4E; }

/* ── Disorder tier heading (Common vs Less Common) ── */
.tier-heading {
  display: flex; align-items: center; gap: 16px;
  margin: 56px 0 28px;
}
.tier-heading:first-of-type { margin-top: 28px; }
.tier-heading h3 {
  font-size: 14px; font-weight: 700;
  color: var(--text); letter-spacing: -.2px;
  text-transform: uppercase; letter-spacing: .12em;
  white-space: nowrap;
}
.tier-heading .tier-line {
  flex: 1; height: 1px; background: var(--hairline);
}
.tier-heading .tier-count {
  font-size: 12px; color: var(--text-3);
  font-variant-numeric: tabular-nums;
}

/* ── Find a Clinician promo section ── */
.clinician-cta {
  background: var(--surface);
  border-radius: var(--r-2xl);
  padding: 56px 48px;
  display: grid; grid-template-columns: 1fr auto;
  gap: 32px; align-items: center;
  box-shadow: var(--shadow);
}
.clinician-cta-text h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700; letter-spacing: -.6px;
  color: var(--text); margin-bottom: 10px; line-height: 1.2;
}
.clinician-cta-text p {
  font-size: 16px; color: var(--text-2);
  line-height: 1.7; max-width: 540px;
}
.clinician-cta-actions {
  display: flex; flex-direction: column; gap: 10px;
  flex-shrink: 0;
}
.clinician-cta-meta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--text-3);
  font-variant-numeric: tabular-nums;
}
.clinician-cta-meta::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
}

@media (max-width: 900px) {
  .start-here-grid { grid-template-columns: repeat(2, 1fr); }
  .clinician-cta {
    grid-template-columns: 1fr;
    padding: 40px 32px;
  }
  .clinician-cta-actions { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .start-here-grid { grid-template-columns: 1fr; }
  .start-here { padding: 16px 20px 56px; }
  .clinician-cta { padding: 32px 24px; }
}
