/* ── Scroll hint ──────────────────────────────────────────────── */
.scroll-hint {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--color-neutral-200);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-neutral-500);
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
  transition: opacity 0.4s ease, color 0.2s, box-shadow 0.2s;
  animation: scroll-bounce 1.8s ease-in-out infinite;
}

.scroll-hint:hover {
  color: var(--color-primary);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(7px); }
}

/* ── How it works ─────────────────────────────────────────────── */
.how-it-works {
  padding: 5rem 0;
  background: #FAFBFF;
  border-top: 1px solid var(--color-neutral-200);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.375rem);
  font-weight: 700;
  color: var(--color-neutral-900);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 1.0625rem;
  color: var(--color-neutral-500);
  margin: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  background: #fff;
  border-radius: 1rem;
  border: 1px solid var(--color-neutral-200);
  position: relative;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
}

.step__number {
  position: absolute;
  top: -0.9rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: #fff;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.step__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #EFF6FF;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.75rem 0 1.25rem;
  flex-shrink: 0;
}

.step__title {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-neutral-900);
  margin: 0 0 0.625rem;
}

.step__desc {
  font-size: 0.9375rem;
  color: var(--color-neutral-500);
  line-height: 1.65;
  margin: 0;
}

/* ── Feature sections ─────────────────────────────────────────── */
.feature-section {
  padding: 5rem 0;
}

.feature-section--alt {
  background: #F4F7FF;
}

.feature-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.feature-section__inner--img-left .feature-section__text {
  order: 2;
}

.feature-section__inner--img-left .feature-section__img {
  order: 1;
}

.feature-section__img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 1.25rem;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.13);
  display: block;
}

.feature-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: #EFF6FF;
  border-radius: 2rem;
  padding: 0.3rem 0.875rem;
  margin-bottom: 1.25rem;
}

.feature-section__text h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.125rem);
  font-weight: 700;
  color: var(--color-neutral-900);
  margin: 0 0 1rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.feature-section__text > p {
  font-size: 1.0625rem;
  color: var(--color-neutral-500);
  line-height: 1.7;
  margin: 0 0 1.5rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--color-neutral-700);
  line-height: 1.5;
}

.feature-list li::before {
  content: '';
  flex-shrink: 0;
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #EFF6FF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
  margin-top: 2px;
}

/* ── Stats bar ────────────────────────────────────────────────── */
.stats-section {
  padding: 4.5rem 0;
  background: var(--color-primary);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
}

.stat__number {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat__label {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 400;
  line-height: 1.4;
}

/* ── Responsive ───────────────────────────────────────────────── */
@media (max-width: 900px) {
  .steps {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .how-it-works { padding: 3.5rem 0; }
  .feature-section { padding: 3.5rem 0; }
  .stats-section { padding: 3.5rem 0; }

  .section-header { margin-bottom: 2.5rem; }

  .feature-section__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Image always shows above text on mobile, regardless of desktop variant */
  .feature-section__inner .feature-section__img { order: 1; }
  .feature-section__inner .feature-section__text { order: 2; }

  .feature-section__img img {
    height: 260px;
  }
}

@media (max-width: 540px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .steps { max-width: none; }
}
