/* ═══════════════════════════════════════════════════════════
   Steps Page — How It Works
   ═══════════════════════════════════════════════════════════ */

/* ── Hero ── */
.steps-hero {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
  animation: fadeInUp 0.8s var(--ease-out-expo);
}

.steps-hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.steps-hero h1 span { color: var(--blue); }

.steps-hero > p {
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* ── Steps Flow ── */
.steps-flow {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 56px;
}

.step-card {
  flex: 1;
  text-align: center;
  padding: 8px 16px;
  animation: fadeInUp 0.7s var(--ease-out-expo) backwards;
}

.step-card:nth-child(1) { animation-delay: 0.15s; }
.step-card:nth-child(3) { animation-delay: 0.3s; }
.step-card:nth-child(5) { animation-delay: 0.45s; }
.step-card:nth-child(7) { animation-delay: 0.6s; }

.step-number {
  width: 44px;
  height: 44px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%);
  box-shadow: 0 6px 20px rgba(38,104,255,0.3);
  transition: transform 0.3s var(--ease-spring);
}

.step-card:hover .step-number {
  transform: scale(1.1);
}

.step-icon-wrap {
  width: 88px;
  height: 88px;
  margin: 0 auto 20px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s var(--ease-out-expo);
}

.step-card:hover .step-icon-wrap {
  transform: scale(1.06) translateY(-2px);
}

.step-icon-wrap.blue { background: rgba(38,104,255,0.08); }
.step-icon-wrap.violet { background: rgba(124,92,252,0.08); }
.step-icon-wrap.mint { background: rgba(16,185,129,0.08); }
.step-icon-wrap.amber { background: rgba(245,158,11,0.08); }

.step-card h3 {
  margin-bottom: 8px;
  font-size: 17px;
  font-weight: 700;
}

.step-card > p {
  color: var(--text-secondary);
  font-size: 13.5px;
  line-height: 1.6;
  max-width: 220px;
  margin: 0 auto;
}

/* ── Step Connectors ── */
.step-connector {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding-top: 88px;
  opacity: 0.5;
}

/* ── Stats Bar ── */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 48px;
  animation: fadeInUp 0.7s 0.5s var(--ease-out-expo) backwards;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease-out-expo);
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-icon.blue { background: rgba(38,104,255,0.08); }
.stat-icon.mint { background: rgba(16,185,129,0.08); }
.stat-icon.amber { background: rgba(245,158,11,0.08); }

.stat-value {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 2px;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
}

/* ── CTA Section ── */
.steps-cta .cta-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 12.5px;
  font-weight: 600;
  margin-bottom: 12px;
}

/* ── Responsive ── */
@media (max-width: 1280px) {
  .steps-flow { flex-wrap: wrap; justify-content: center; }
  .step-card { flex: 0 0 40%; margin-bottom: 28px; }
  .step-connector:nth-child(4) { display: none; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .steps-flow { flex-direction: column; align-items: center; }
  .step-card { flex: none; width: 100%; max-width: 340px; }
  .step-connector { display: none; }
  .stats-bar { grid-template-columns: 1fr; }
}
