/* ══════════════════════════════════════
   HOW IT WORKS PAGE  (hwp-*)
   ══════════════════════════════════════ */

/* ─── HERO ─── */
.hwp-hero {
  padding: 8rem 0 3rem;
  background: linear-gradient(180deg, #f7f9ff 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}
.hwp-hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 260px at 20% 15%, rgba(26,111,204,0.10), transparent 70%),
    radial-gradient(500px 220px at 80% 30%, rgba(34,197,94,0.08), transparent 70%);
  pointer-events: none;
}
.hwp-hero-inner {
  position: relative;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}
.hwp-hero-inner .section-badge { margin: 0 auto 1.2rem; }
.hwp-hero-inner .section-title { margin-bottom: 1rem; }
.hwp-hero-sub {
  font-size: 1.05rem;
  color: #64748b;
  line-height: 1.65;
  max-width: 620px;
  margin: 0 auto 2rem;
}
.hwp-hero-btns {
  display: inline-flex;
  gap: 0.85rem;
  justify-content: center;
}
.hwp-hero-btns .ip-btn-p,
.hwp-hero-btns .ip-btn-o {
  padding: 0.85rem 1.6rem;
  border-radius: var(--r-sm);
  font-size: 0.92rem;
  font-weight: 700;
  display: inline-flex; align-items: center; gap: 0.4rem;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.hwp-hero-btns .ip-btn-p {
    background: linear-gradient(135deg, #1a6fcc 0%, #062743 40%, #1e7bd6 70%, #062743 100%);
    background-size: 220% auto;
    animation: btnGradient 5s ease infinite;
    color: #fff;
}
.hwp-hero-btns .ip-btn-p:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,87,255,0.32); }
.hwp-hero-btns .ip-btn-o {
  background: #fff;
  color: #062743;
  border: 1px solid rgba(6,39,67,0.14);
}
.hwp-hero-btns .ip-btn-o:hover { border-color: #008CFF; color: #008CFF; }

/* ─── STEPS ─── */
.hwp-steps-sec { padding: 3rem 0 3rem; background: #fff; }
.hwp-steps-sec .section-header { margin-bottom: 3rem; }
.hwp-steps {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}
.hwp-steps::before {
  content: "";
  position: absolute;
  left: 34px;
  top: 40px;
  bottom: 40px;
  width: 2px;
  background: linear-gradient(180deg, rgba(26,111,204,0.20), rgba(26,111,204,0.05));
  z-index: 0;
}
.hwp-step {
  display: flex;
  gap: 1.4rem;
  background: #fff;
  border: 1px solid rgba(6,39,67,0.08);
  border-radius: 16px;
  padding: 1.4rem 1.5rem;
  position: relative;
  z-index: 1;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.hwp-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(6,39,67,0.08);
  border-color: rgba(26,111,204,0.20);
}
.hwp-step-ico {
  position: relative;
  flex-shrink: 0;
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--bg, rgba(26,111,204,0.10));
  color: var(--c, #1a6fcc);
  display: flex; align-items: center; justify-content: center;
}
.hwp-step-ico svg { width: 28px; height: 28px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hwp-step-num {
  position: absolute;
  top: -6px; left: -6px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: #003153;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(6,39,67,0.20);
}
.hwp-step-body { flex: 1; }
.hwp-step-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #062743;
  margin: 0 0 0.5rem;
  line-height: 1.35;
}
.hwp-step-body p {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.65;
  margin: 0 0 0.4rem;
}
.hwp-step-body p:last-child { margin-bottom: 0; }
.hwp-step-body .hwp-step-p2 { color: #64748b; }

/* ─── EXAMPLE ─── */
.hwp-example-sec { padding: 3rem 0; background: #fff; }
.hwp-example {
  max-width: 780px;
  margin: 0 auto;
  padding: 2rem 2.2rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(34,197,94,0.06), rgba(16,185,129,0.10));
  border: 1px solid rgba(34,197,94,0.22);
  position: relative;
  overflow: hidden;
}
.hwp-example::before {
  content: "";
  position: absolute; right: -60px; top: -60px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,197,94,0.14), transparent 70%);
}
.hwp-example-badge {
  position: relative;
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(34,197,94,0.15);
  color: #15803d;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}
.hwp-example-badge::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%; background: #22c55e;
}
.hwp-example-grid {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1.25rem;
}
.hwp-ex-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 1rem;
  background: #fff;
  border-radius: 10px;
  border: 1px solid rgba(34,197,94,0.14);
  font-size: 0.92rem;
  color: #475569;
}
.hwp-ex-row strong { color: #15803d; font-weight: 800; font-size: 1rem; }
.hwp-example-total {
  position: relative;
  padding-top: 1.1rem;
  border-top: 1px dashed rgba(34,197,94,0.35);
  font-size: 1.05rem;
  font-weight: 700;
  color: #062743;
  line-height: 1.5;
}
.hwp-example-total .hwp-zero {
  color: #15803d;
  font-weight: 800;
  font-size: 1.15rem;
}

/* ─── TWO-COL (Track + Why) ─── */
.hwp-track-sec { padding: 3rem 0 4rem; background: #f7f9ff; }
.hwp-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.hwp-card {
  background: #fff;
  border: 1px solid rgba(6,39,67,0.08);
  border-radius: 16px;
  padding: 1.75rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.hwp-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(6,39,67,0.08);
}
.hwp-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #062743;
  margin: 0 0 0.5rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.hwp-card h3 svg { width: 20px; height: 20px; color: #1a6fcc; flex-shrink: 0; }
.hwp-card > p {
  font-size: 0.92rem;
  color: #64748b;
  margin: 0 0 1.1rem;
  line-height: 1.6;
}
.hwp-checks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex; flex-direction: column;
  gap: 0.7rem;
}
.hwp-checks li {
  display: flex; align-items: flex-start; gap: 0.65rem;
  font-size: 0.92rem;
  color: #334155;
  line-height: 1.55;
}
.hwp-checks li svg {
  flex-shrink: 0;
  width: 20px; height: 20px;
  color: #22c55e;
  margin-top: 2px;
}

/* ─── CLOSING ─── */
.hwp-closing-sec { padding: 3rem 0; background: #fff; }
.hwp-closing {
  max-width: 780px;
  margin: 0 auto;
  padding: 2rem 2.2rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(26,111,204,0.06), rgba(99,102,241,0.08));
  border: 1px solid rgba(26,111,204,0.16);
  text-align: center;
}
.hwp-closing .hwp-c1 {
  font-size: 0.95rem;
  color: #64748b;
  margin: 0 0 0.8rem;
  line-height: 1.6;
}
.hwp-closing .hwp-c2 {
  font-size: 1.15rem;
  color: #062743;
  font-weight: 700;
  margin: 0;
  line-height: 1.5;
}
.hwp-closing .hwp-c2 .grad {
  background: linear-gradient(90deg, #008CFF, #0057FF);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ─── FINAL CTA ─── */
.hwp-cta-sec { padding: 4rem 0 5rem; background: #f7f9ff; }
.hwp-cta {
  max-width: 780px;
  margin: 0 auto;
  padding: 3rem 2rem;
  border-radius: 24px;
  background: linear-gradient(135deg, #003153 0%, #062743 60%, #001a2e 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(6,39,67,0.25);
}
.hwp-cta::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(400px 200px at 20% 30%, rgba(0,140,255,0.20), transparent 70%),
    radial-gradient(400px 200px at 80% 70%, rgba(34,197,94,0.14), transparent 70%);
  pointer-events: none;
}
.hwp-cta h2 {
  position: relative;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  line-height: 1.3;
}
.hwp-cta p {
  position: relative;
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  margin: 0 0 1.75rem;
}
.hwp-cta-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.95rem 1.9rem;
  background: #fff;
  color: #003153;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.hwp-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .hwp-hero-btns .ip-btn-p{
        padding: 0.85rem 1.3rem;
        font-size: 0.85rem;
           
  }
  .hwp-hero-btns .ip-btn-o{
      padding: 0.85rem 1.3rem;
        font-size: 0.85rem;
  }
  .hwp-hero-btns{
 gap: 0.5rem;
  }

  .hwp-steps-sec{
    padding: 1.5rem 0 1rem;
  }
  .hwp-closing-sec{
    padding: 1.5rem 0 1rem;
  }
  .hwp-cta-sec{
    padding: 1.5rem 0 1.5rem;
  }
  .hwp-card h3{
    font-size: 1rem;
  }
  .hwp-card{
    padding: 1.3rem;
  }
  .hwp-checks li{
        font-size: 0.82rem;
  }
  .hwp-track-sec{
    padding: 1.5rem 0 1rem;
  }
  .hwp-steps-sec .section-header{
    margin-bottom: 1.6rem;
  }
  .hwp-example-sec{
    padding:1.5rem 0;
  }
  .hwp-step-body h3{
    font-size: 1rem;
  }
  .hwp-step-body p{
        font-size: 0.75rem;
  }
  .hwp-closing .hwp-c1{
        font-size: 0.85rem;
  }
  .hwp-closing .hwp-c2{
    font-size: 1rem;
  }
  .hwp-two-col { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hwp-hero { padding: 6rem 0 1.5rem; }
  .hwp-hero-sub { font-size: 0.85rem; }
  .hwp-steps::before { display: none; }
  .hwp-step { padding: 1.2rem 1.1rem; gap: 1rem; }
  .hwp-step-ico { width: 50px; height: 50px; }
  .hwp-step-ico svg { width: 24px; height: 24px; }
  .hwp-example, .hwp-closing { padding: 1.2rem 1.25rem; border-radius: 16px; }
  .hwp-ex-row { flex-direction: column; align-items: flex-start; gap: 0.15rem; padding: 0.75rem 0.9rem; }
  .hwp-cta { padding: 2.25rem 1.5rem; border-radius: 18px; }
  .hwp-cta h2 { font-size: 1.2rem; }
}
