/* =============================================================
   AskSara.care — Home page styles
   Ported from page-asksara-home.php inline <style>.
   Shared shell (header/footer/tokens) lives in tokens.css + global.css.
   ============================================================= */

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg, var(--light-fog) 0%, var(--off-white) 70%);
  padding: 80px 24px 140px;
  text-align: center;
  position: relative;
  overflow: visible;
}
.hero::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--deep-teal), var(--soft-cyan));
}
.hero-container { max-width: var(--maxw-hero); margin: auto; }
.hero-kicker {
  font-size: 13px; font-weight: 600; text-transform: uppercase;
  color: var(--deep-teal); margin-bottom: 14px; letter-spacing: .5px;
}
.hero h1 { font-size: var(--fs-h1); margin-bottom: 16px; line-height: 1.2; }
.hero-subtitle { font-size: 20px; margin-bottom: 14px; }
.hero-mission { color: var(--soft-cyan); font-size: 15px; margin-bottom: 40px; font-weight: 500; }

/* ---- Search Canvas (inert "coming soon" state) ---- */
.search-canvas { margin-top: -90px; padding: 0 24px 60px; position: relative; z-index: 10; }
.canvas-container { max-width: var(--maxw-hero); margin: auto; }
.search-panel {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-lg);
}
.search-container { display: flex; gap: 10px; }
.search-input, .search-select {
  flex: 1; padding: 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 16px; font-family: inherit;
  color: var(--deep-teal);
  background: var(--off-white);
}
/* Disabled / coming-soon styling */
.search-input:disabled, .search-select:disabled { background: var(--light-fog); cursor: not-allowed; color: var(--neutral-slate); }
.search-button {
  background: var(--neutral-slate);
  border: none; color: var(--off-white);
  font-weight: 600; font-family: inherit; font-size: 16px;
  padding: 16px 32px; border-radius: 10px;
  cursor: not-allowed;
}
.search-soon-badge {
  display: inline-block; margin-bottom: 14px;
  padding: 5px 14px; border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase;
  color: var(--deep-teal);
  background: rgba(55, 150, 131, .10);
  border: 1px solid rgba(55, 150, 131, .25);
}
.search-microcopy { margin-top: 12px; font-size: 14px; color: var(--text-muted); text-align: center; }

/* ---- Mission Banner ---- */
.mission-banner { background: var(--deep-teal); color: var(--off-white); padding: 28px 24px; text-align: center; }
.mission-banner-content { max-width: 1000px; margin: auto; display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.mission-point { display: flex; align-items: center; gap: 8px; font-weight: 500; font-size: 16px; }
.mission-point::before { content: "\2713"; color: var(--soft-cyan); font-size: 20px; font-weight: 700; }

/* ---- Section layout ---- */
.section-container { max-width: var(--maxw); margin: auto; padding: 80px 24px; }
.home h2 { font-size: var(--fs-h2); text-align: center; margin-bottom: 12px; }
.section-intro { max-width: 680px; margin: 0 auto 40px; text-align: center; font-size: 18px; line-height: 1.7; }

/* ---- How It Works ---- */
#how { background: var(--off-white); }
.home-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 36px; margin-top: 8px; }
.home-step {
  background: var(--light-fog); padding: 36px 32px; border-radius: 14px;
  text-align: center; border: 2px solid transparent;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.home-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--soft-cyan); }
.home-step-number {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--deep-teal), var(--soft-cyan));
  color: var(--off-white); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700; margin: 0 auto 16px;
}
.home-step h3 { font-size: 20px; color: var(--deep-teal); margin-bottom: 10px; font-weight: 600; }
.home-step p { color: var(--neutral-slate); line-height: 1.7; }

/* ---- Why This Exists ---- */
.mission-explainer { background: var(--light-fog); }
.mission-explainer .section-intro { margin-bottom: 16px; }

/* ---- Education ---- */
.education { background: var(--off-white); }
.education-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; margin-top: 40px; }
.edu-card {
  background: var(--light-fog); padding: 28px; border-radius: var(--radius);
  border-top: 3px solid var(--soft-cyan);
  transition: transform var(--ease), box-shadow var(--ease);
  display: flex; flex-direction: column; height: 100%;
  text-decoration: none; color: inherit;
}
.edu-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.edu-card h3 { font-size: 17px; color: var(--deep-teal); margin-bottom: 10px; font-weight: 600; }
.edu-card p { font-size: 15px; line-height: 1.6; }
.edu-cta { margin-top: auto; padding-top: 14px; font-size: 14px; font-weight: 600; color: var(--soft-cyan); }
.edu-card:hover .edu-cta { color: var(--deep-teal); }

/* ---- Sara ---- */
.sara-preview { background: var(--light-fog); }
.sara-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; max-width: 960px; margin: auto; align-items: center; }
.sara-label {
  display: inline-block; padding: 5px 14px; border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase;
  color: var(--soft-cyan); background: rgba(55, 150, 131, .10);
  border: 1px solid rgba(55, 150, 131, .25); margin-bottom: 16px;
}
.sara-text h2 { text-align: left; font-size: 30px; margin-bottom: 16px; }
.sara-text p { font-size: 17px; margin-bottom: 16px; line-height: 1.8; }
.sara-note { font-style: italic; font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }
.sara-visual { display: flex; align-items: center; justify-content: center; }

/* Sara orb — CSS placeholder (lavender, reserved for Sara).
   Drop in /images/Sara_Bellum.png later by replacing .sara-orb markup. */
.sara-orb {
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, var(--sara-lavender-soft) 35%, var(--sara-lavender) 100%);
  box-shadow: 0 8px 24px var(--sara-glow);
  animation: sara-breathe 4s ease-in-out infinite;
}
@keyframes sara-breathe {
  0%   { transform: scale(1);    box-shadow: 0 8px 24px var(--sara-glow); }
  50%  { transform: scale(1.04); box-shadow: 0 12px 32px rgba(150, 130, 200, 0.42); }
  100% { transform: scale(1);    box-shadow: 0 8px 24px var(--sara-glow); }
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .hero-subtitle { font-size: 18px; }
  .search-container { flex-direction: column; }
  .sara-content { grid-template-columns: 1fr; gap: 40px; }
}
