/* ============================================================
   Ignite Your Health — Enhancements CSS
   Phase 1 + Phase 2 (created during site remediation)
   ============================================================ */

/* ── Phase 1.4: Hero Video Wrapper ────────────────────────── */
.hero-video-wrapper {
  position: relative;
  width: 100%;
  min-height: 60vh;
  overflow: hidden;
  background: url('/images/home/community.png') center/cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Phase 2.1: Sticky Navigation ─────────────────────────── */
.sticky-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s ease;
}

/* ── Phase 2.2: Hero CTA Block ────────────────────────────── */
.hero-headline {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 1rem;
}
.hero-accent {
  color: var(--primary);
}
.hero-subtext {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
  margin: 0 auto 1.75rem;
  line-height: 1.65;
}
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
/* Ghost/outline variant for dark hero backgrounds only — does not override .btn-secondary */
.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.7);
  transition: background 0.2s, border-color 0.2s;
}
.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

/* ── Phase 2.3: Testimonials ──────────────────────────────── */
.testimonials-section {
  padding: 4rem 1.5rem;
  background: #f8f9fa;
}
/* Large section title — on pages that also load leadership.css,
   that stylesheet's .section-heading (eyebrow variant) loads after
   and overrides this correctly via cascade order. */
.section-heading {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  color: var(--foreground);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.testimonial-card {
  background: #fff;
  border-left: 4px solid var(--primary);
  border-radius: 6px;
  padding: 1.5rem;
  margin: 0;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
}
.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #333;
  font-style: italic;
  margin-bottom: 1rem;
}
.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.875rem;
  color: #555;
}
.testimonial-author strong {
  color: #111;
}

/* ── Phase 2.4: Stats Bar ─────────────────────────────────── */
.stats-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background: #111;
  padding: 1.5rem;
}
.stat-item {
  flex: 1;
  min-width: 140px;
  text-align: center;
  padding: 0.75rem 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}
.stat-item:last-child {
  border-right: none;
}
.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Phase 2.5: Booking / Calendly ───────────────────────── */
.booking-section {
  max-width: 900px;
  margin: 3rem auto 0;
  padding: 0 1.5rem;
}
.booking-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.booking-section > p {
  color: #555;
  margin-bottom: 1.5rem;
}

/* ── Phase 2.6: Lead Magnet ───────────────────────────────── */
.lead-magnet-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  padding: 4rem 1.5rem;
}
.lead-magnet-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.lead-magnet-text h2 {
  font-size: 1.7rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}
.lead-magnet-text p {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
}
.lead-magnet-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lead-magnet-form input {
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.95rem;
}
.lead-magnet-form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.lead-magnet-disclaimer {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 4px;
}
@media (max-width: 640px) {
  .lead-magnet-inner { grid-template-columns: 1fr; }
}

/* ── Phase 3.2: Pricing Tiers ────────────────────────────── */
.pricing-signal {
  padding: 4rem 1.5rem;
  text-align: center;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 2rem auto;
  text-align: left;
}
.pricing-card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 2rem 1.5rem;
  position: relative;
}
.pricing-card--featured {
  border-color: var(--primary);
  border-width: 2px;
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}
.pricing-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.pricing-who {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 1rem;
}
.pricing-card ul {
  padding-left: 1.2rem;
  margin-bottom: 1.5rem;
}
.pricing-card ul li {
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: #333;
}
.pricing-note {
  font-size: 0.875rem;
  color: #555;
  margin-top: 1.5rem;
}
@media (max-width: 768px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ── Phase 3.4: FAQ Accordion ────────────────────────────── */
.faq-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}
.faq-section h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.faq-item {
  border-bottom: 1px solid #e0e0e0;
}
.faq-question {
  display: block;
  padding: 1rem 0;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  color: #111;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: "+";
  float: right;
  font-size: 1.25rem;
  color: var(--primary);
  transition: transform 0.2s;
}
details[open] .faq-question::after {
  content: "−";
}
.faq-answer {
  padding: 0 0 1rem;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.65;
}
