/* ── Hero Section ─────────────────────────── */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(0,0,0,0.7), rgba(0,0,0,0.6), rgba(0,0,0,0.8));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 5rem 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--y-space-s);
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  color: var(--y-color-white);
  padding: var(--y-space-s) var(--y-space-m);
  border-radius: var(--y-radius-full);
  font-weight: var(--y-weight-medium);
  font-size: 0.9rem;
  margin-bottom: var(--y-space-l);
}

.hero h1 {
  font-size: var(--y-font-4xl);
  font-weight: var(--y-weight-extrabold);
  color: var(--y-color-white);
  line-height: 1.3;
  margin-bottom: var(--y-space-l);
}

.hero h1 .highlight { color: var(--y-color-primary-light); }

.hero p {
  color: rgba(255,255,255,0.8);
  font-size: var(--y-font-l);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--y-space-m);
}

.hero-stats {
  margin-top: var(--y-space-xxl);
  display: inline-flex;
  align-items: center;
  gap: var(--y-space-l);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  padding: var(--y-space-m) var(--y-space-l);
  border-radius: var(--y-radius-l);
  border: 1px solid rgba(255,255,255,0.2);
}

.hero-stats .stat-item { text-align: center; }
.hero-stats .stat-item .stat-val { color: var(--y-color-white); font-size: var(--y-font-xxl); font-weight: var(--y-weight-extrabold);margin-bottom: 0; }
.hero-stats .stat-item .stat-label { color: rgba(255,255,255,0.7); font-size: 0.8rem;margin-bottom: 0; }
.hero-stats .stat-divider { width: 1px; height: 2.5rem; background: rgba(255,255,255,0.2); }

/* ── Stats Bar ───────────────────────────── */
.stats-bar {
  background: var(--y-color-primary);
  padding: 2.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--y-space-l);
  text-align: center;
  color: var(--y-color-white);
}

.stats-grid .stat-val { font-size: var(--y-font-4xl); font-weight: var(--y-weight-extrabold); }
.stats-grid .stat-label { color: rgba(255,255,255,0.8); margin-top: 0.25rem; }

/* ── About Grid ──────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--y-space-xxl);
  align-items: center;
}

.about-grid img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: var(--y-radius-l);
  box-shadow: var(--y-shadow-l);
}

.about-info .label { color: var(--y-color-primary); font-weight: var(--y-weight-semibold); margin-bottom: var(--y-space-s); display: inline-block; }
.about-info h2 { font-size: var(--y-font-xxl); font-weight: var(--y-weight-bold); margin-bottom: 1.25rem; }
.about-info p { color: var(--y-color-text-muted); line-height: 1.8; margin-bottom: var(--y-space-l); }

/* ── Steps ───────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--y-space-xl);
}

.step-card {
  background: var(--y-color-white);
  padding: var(--y-space-xl);
  border-radius: var(--y-radius-l);
  text-align: center;
  box-shadow: var(--y-shadow-s);
  transition: box-shadow var(--y-transition-fast);
}

.step-card:hover { box-shadow: var(--y-shadow-m); }

.step-card .step-icon {
  width: 64px;
  height: 64px;
  background: var(--y-color-primary-subtle);
  border-radius: var(--y-radius-l);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: 1.25rem;
  color: var(--y-color-primary);
}

.step-card .step-num { color: var(--y-color-primary); font-weight: var(--y-weight-bold); font-size: var(--y-font-s); }
.step-card h3 { font-weight: var(--y-weight-semibold); margin: var(--y-space-s) 0 0.75rem; }
.step-card p { color: var(--y-color-text-muted); font-size: 0.95rem; }

/* ── Features Grid ───────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--y-space-l);
}

.feature-card {
  background: var(--y-color-white);
  padding: var(--y-space-l);
  border-radius: var(--y-radius-l);
  text-align: center;
  box-shadow: var(--y-shadow-s);
  transition: box-shadow var(--y-transition-fast);
}

.feature-card:hover { box-shadow: var(--y-shadow-m); }

.feature-card .f-icon {
  width: 56px;
  height: 56px;
  background: var(--y-color-primary-subtle);
  border-radius: var(--y-radius-m);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: var(--y-space-m);
  color: var(--y-color-primary);
}

.feature-card h3 { font-weight: var(--y-weight-semibold); margin-bottom: var(--y-space-s); }
.feature-card p { color: var(--y-color-text-muted); font-size: var(--y-font-s); }

/* ── Testimonials ────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--y-space-l);
}

.testimonial-card {
  background: var(--y-color-white);
  padding: var(--y-space-l);
  border-radius: var(--y-radius-l);
  border: 1px solid var(--y-color-border);
  box-shadow: var(--y-shadow-s);
}

.testimonial-card .stars { display: flex; gap: 0.2rem; margin-bottom: var(--y-space-m); color: #facc15; font-size: 1.1rem; }
.testimonial-card .t-text { color: var(--y-color-text-muted); line-height: 1.7; margin-bottom: 1.25rem; }
.testimonial-card .t-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-card .t-avatar {
  width: 40px; height: 40px;
  background: var(--y-color-primary-subtle);
  border-radius: var(--y-radius-full);
  display: flex; align-items: center; justify-content: center;
  color: var(--y-color-primary);
  font-weight: var(--y-weight-bold);
  flex-shrink: 0;
}
.testimonial-card .t-name { font-weight: var(--y-weight-semibold); }
.testimonial-card .t-role { color: var(--y-color-text-muted); font-size: 0.8rem; }

/* ── CTA Section ─────────────────────────── */
.cta-section {
  background: var(--y-color-primary);
  padding: var(--y-space-xxxl) 0;
  text-align: center;
  color: var(--y-color-white);
}

.cta-section h2 { font-size: var(--y-font-4xl); font-weight: var(--y-weight-bold); margin-bottom: 1.25rem; }
.cta-section p { color: rgba(255,255,255,0.8); font-size: 1.1rem; margin-bottom: var(--y-space-xl); max-width: 640px; margin-inline: auto; }
.cta-section .cta-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--y-space-m); }

/* ═══════════════════════════════════════
   RESPONSIVE STYLES
   ═══════════════════════════════════════ */

/* ── Large Desktop (lg) ─────────────── */
@media (max-width: 1200px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Tablet (md) ────────────────────── */
@media (max-width: 992px) {
  .about-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Mobile Landscape / Large Phone (sm) */
@media (max-width: 768px) {
  .hero { min-height: 500px; }
  .hero h1 { font-size: var(--y-font-xxl); }
  .hero p { font-size: var(--y-font-m); }
  .hero-stats { flex-wrap: wrap; gap: var(--y-space-m); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .cta-section h2 { font-size: var(--y-font-xxl); }
  .about-grid img { height: 280px; }
}

/* ── Small Phone (xs) ───────────────── */
@media (max-width: 480px) {
  .hero { min-height: 420px; }
  .hero h1 { font-size: var(--y-font-xl); }
  .hero-content { padding: var(--y-space-xxl) 0; }
  .hero-stats { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--y-space-m); }
  .cta-section h2 { font-size: var(--y-font-xl); }
}
