/* ============================================================
   Missing Middle SA — Home Page Styles
   ============================================================ */

/* ── Hero ── */
.hero {
  position: relative;
  padding: 5rem 0 4rem;
  overflow: hidden;
  background: var(--surface);
}
.hero__bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 20%, var(--green-50) 0%, transparent 60%),
                    radial-gradient(circle at 10% 80%, var(--green-50) 0%, transparent 50%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: center;
}
.hero__title {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.hero__title em {
  font-style: italic;
  color: var(--green-700);
}
.hero__sub {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 480px;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero card */
.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
}
.hero-card__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--subtle);
  margin-bottom: 1.25rem;
}
.hero-card__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
}
.hero-card__row:last-of-type { border-bottom: none; }
.hero-card__row span:first-child { color: var(--muted); }
.hero-card__row span:last-child  { font-weight: 600; color: var(--ink); }
.hero-card__row .warn { color: var(--amber-600); }
.hero-card__row .green { color: var(--green-700); }
.hero-card__row--verdict { background: var(--base); margin: 0 -1.75rem; padding: 9px 1.75rem; }
.hero-card__divider { border: none; border-top: 1px solid var(--border); margin: 1rem 0; }
.hero-card__cta {
  display: block;
  text-align: center;
  background: var(--green-700);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background var(--transition);
}
.hero-card__cta:hover { background: var(--green-800); text-decoration: none; color: #fff; }

/* ── Stats ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1.5rem;
  text-align: center;
}
.stat-item__num {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--green-700);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-item__label {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.4;
}

/* ── Steps ── */
.step-card {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: box-shadow var(--transition);
}
.step-card:hover { box-shadow: var(--shadow); }
.step-card__num {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--green-200);
  line-height: 1;
  margin-bottom: 1rem;
}
.step-card__title {
  font-size: 18px;
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
}
.step-card__body { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ── Features ── */
.feature-card {
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: box-shadow var(--transition);
}
.feature-card:hover { box-shadow: var(--shadow); }
.feature-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
}
.feature-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
  font-family: var(--font-body);
  font-weight: 600;
}
.feature-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── CTA section ── */
.cta-section { padding: 5rem 0; }
.cta-box {
  background: var(--green-800);
  border-radius: var(--radius-xl);
  padding: 4rem 2rem;
  text-align: center;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__card { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .hero { padding: 3rem 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .stat-item__num { font-size: 30px; }
  .features-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
}
