/* ── SECTION DIVIDERS ────────────────────────────────────── */
.section-divider {
  position: relative;
  width: 100%;
  line-height: 0;
  overflow: hidden;
}
.section-divider svg {
  display: block;
  width: 100%;
  height: 80px;
}
.divider-hero-stats {
  background: linear-gradient(160deg, #fff 0%, #F0F5FF 55%, #EEF9F4 100%);
}
.divider-stats-features {
  background: var(--bg-secondary);
}
.divider-features-how {
  background: var(--bg-primary);
}
.divider-reviews-cta {
  background: var(--bg-secondary);
}
@media (max-width: 600px) {
  .section-divider svg { height: 50px; }
}

/* ── STATS ───────────────────────────────────────────────── */
#stats {
  padding: clamp(4rem,8vw,7rem) clamp(1.5rem,7vw,7rem);
  background: var(--bg-secondary);
}
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; max-width: 1100px; margin: 0 auto; }
.stat-item { text-align: center; padding: 2rem 1rem; position: relative; }
.stat-item:not(:last-child)::after {
  content: ''; position: absolute; right: 0; top: 20%; height: 60%; width: 1px;
  background: var(--border-strong);
}
.stat-number {
  font-size: clamp(2.8rem,5.5vw,4.5rem); font-weight: 800; line-height: 1;
  color: var(--text-primary); display: block; letter-spacing: -.03em;
}
.stat-prefix { color: var(--color-primary); }
.stat-suffix { color: var(--color-accent); }
.stat-label {
  font-size: .8rem; font-weight: 600; color: var(--text-muted);
  margin-top: .6rem; letter-spacing: .06em; text-transform: uppercase;
}

/* ── FEATURES ────────────────────────────────────────────── */
#features {
  padding: clamp(5rem,10vw,9rem) clamp(1.5rem,7vw,7rem);
  background: var(--bg-primary);
}
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; max-width: 1100px; margin: 0 auto; }

.feature-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2.25rem 2rem;
  position: relative; overflow: hidden;
  transition: transform .25s var(--ease-out), box-shadow .25s, border-color .25s;
  will-change: transform;
}
.feature-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  opacity: 0; transition: opacity .25s;
}
.feature-card:hover { border-color: transparent; }
.feature-card:hover::before { opacity: 1; }

.feature-icon-wrap {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  background: rgba(26,107,255,.08); display: grid; place-items: center;
  font-size: 1.5rem; margin-bottom: 1.25rem;
  transition: background .25s;
}
.feature-card:hover .feature-icon-wrap { background: rgba(26,107,255,.14); }
.feature-title { font-size: 1.1rem; font-weight: 800; color: var(--text-primary); margin-bottom: .6rem; }
.feature-desc { font-size: .9rem; color: var(--text-secondary); line-height: 1.65; }

/* ── HOW IT WORKS ────────────────────────────────────────── */
#how-it-works { position: relative; }
.how-header {
  padding: clamp(5rem,10vw,9rem) clamp(1.5rem,7vw,7rem) 0;
  max-width: 1100px; margin: 0 auto;
}
#how-scroll-container { overflow: hidden; position: relative; }
#how-track { display: flex; width: max-content; }

.how-step {
  width: 100vw; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  gap: clamp(2rem,4vw,5rem);
  padding: clamp(2rem,5vw,5rem) clamp(2rem,6vw,6rem);
  background: var(--bg-primary); position: relative; overflow: hidden;
  box-sizing: border-box;
}
.how-step-img {
  flex-shrink: 1;
  width: clamp(200px,22vw,300px); height: auto;
  max-height: 70vh;
  object-fit: contain; object-position: center;
  position: relative; z-index: 1;
  border-radius: 20px;
  filter: drop-shadow(0 24px 48px rgba(10,15,30,.12));
}
.how-step-content { position: relative; z-index: 1; max-width: 550px; flex-shrink: 1; min-width: 0; }
.how-step:nth-child(even) { background: var(--bg-secondary); }

.how-step-bg-num {
  position: absolute; font-size: clamp(16rem,28vw,26rem); font-weight: 800;
  color: var(--text-primary); opacity: .03;
  right: -2rem; bottom: -4rem; line-height: 1;
  pointer-events: none; user-select: none; letter-spacing: -.05em;
}
.how-step-label {
  font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--color-primary); margin-bottom: 1.25rem;
  display: flex; align-items: center; gap: .9rem;
}
.how-step-label::before { content: ''; display: block; width: 36px; height: 2px; background: var(--color-primary); border-radius: 2px; }
.how-step-title { font-size: clamp(2.5rem,5.5vw,5rem); font-weight: 800; line-height: 1.05; letter-spacing: -.03em; margin-bottom: 1.25rem; color: var(--text-primary); }
.how-step-desc { font-size: 1.05rem; color: var(--text-secondary); line-height: 1.7; max-width: 500px; }
.how-step-chips { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 2rem; }
.how-chip {
  padding: .45rem 1rem; border: 1.5px solid var(--border); border-radius: 100px;
  font-size: .78rem; font-weight: 600; color: var(--text-muted);
  transition: border-color .2s, color .2s, background .2s;
}
.how-chip.active { border-color: var(--color-primary); color: var(--color-primary); background: rgba(26,107,255,.07); }

/* ── RESPONSIVE — SECTIONS ──────────────────────────────── */
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat-item:nth-child(2)::after { display: none; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .how-step { flex-direction: column; gap: 2rem; padding: clamp(2rem,5vw,4rem) clamp(1.5rem,5vw,4rem); }
  .how-step-img { width: clamp(160px,40vw,240px); max-height: 50vh; }
}
@media (max-width: 600px) {
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 0; }
  .stat-item { padding: 1.25rem .5rem; }
  .stat-item:not(:last-child)::after { display: none; }
  .stat-number { font-size: clamp(2rem,8vw,2.8rem); }
  .stat-label { font-size: .7rem; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 1.5rem; }
  .how-step { min-height: auto; padding: 3rem 1.25rem; }
  .how-step-content { max-width: 100%; }
  .how-step-title { font-size: clamp(2rem,8vw,3rem); }
  .how-step-img { width: 180px; max-height: 40vh; }
  .how-step-bg-num { font-size: clamp(8rem,30vw,14rem); }
}
