/* ============================================================
   HOW WE WORK – Steps Slider + Benefits Grid
   Namespace: hww-*
   ============================================================ */

/* ---------- SECTION 1: STEPS SLIDER ---------- */

.hww-wrap {
  --hww-bg: #050505;
  --hww-text: #ffffff;
  --hww-text-dim: rgba(255, 255, 255, 0.78);
  --hww-chip-bg: rgba(0, 0, 0, 0.3);
  --hww-chip-br: rgba(255, 255, 255, 0.18);
  --hww-red: #D90404;

  background: var(--hww-bg);
  color: var(--hww-text);
  margin-top: 12px;
  position: relative;
  overflow: hidden;
}

.hww-inner {
  padding: 32px 0 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.7);
}

/* kicker */
.hww-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--hww-chip-br);
  background: var(--hww-chip-bg);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--hww-text-dim);
  margin-bottom: 10px;
}

.hww-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--hww-red), #730707);
  box-shadow: 0 0 0 4px rgba(217, 4, 4, 0.22);
}

/* header row */
.hww-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.hww-header-text {
  max-width: 880px;
}

.hww-title {
  margin: 0 0 8px 0;
  font-size: clamp(26px, 2.7vw, 36px);
  line-height: 1.15;
}

.hww-subtitle {
  margin: 0;
  color: var(--hww-text-dim);
  font-size: clamp(14px, 1.35vw, 16px);
}

/* steps nav */
.hww-steps-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hww-steps-btn {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: #111;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}

.hww-steps-btn:hover {
  background: #181818;
  border-color: rgba(217, 4, 4, 0.7);
}

.hww-steps-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.hww-steps-counter {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

/* steps track */
.hww-steps-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: #333 transparent;
}

.hww-steps-track::-webkit-scrollbar {
  height: 6px;
}
.hww-steps-track::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 10px;
}

/* step cards */
.hww-step-card {
  flex: 0 0 100%;
  max-width: 100%;
  scroll-snap-align: start;
  border-radius: 18px;
  background: #101010;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
  padding: 16px 18px 18px;
  transform: translateY(18px);
  opacity: 0;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.hww-wrap.is-visible .hww-step-card {
  opacity: 1;
  transform: translateY(0);
}
.hww-wrap.is-visible .hww-step-card:nth-child(1) { transition-delay: 0.05s; }
.hww-wrap.is-visible .hww-step-card:nth-child(2) { transition-delay: 0.10s; }
.hww-wrap.is-visible .hww-step-card:nth-child(3) { transition-delay: 0.15s; }
.hww-wrap.is-visible .hww-step-card:nth-child(4) { transition-delay: 0.20s; }
.hww-wrap.is-visible .hww-step-card:nth-child(5) { transition-delay: 0.25s; }
.hww-wrap.is-visible .hww-step-card:nth-child(6) { transition-delay: 0.30s; }

.hww-step-card:hover {
  border-color: rgba(217, 4, 4, 0.45);
  background: radial-gradient(circle at top left, #191919 0%, #0b0b0b 40%, #050505 100%);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
}

.hww-step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 0, #ff3b3b 0%, #D90404 45%, #730707 100%);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow:
    0 0 0 3px rgba(0, 0, 0, 0.8),
    0 0 18px rgba(217, 4, 4, 0.58);
  margin-bottom: 6px;
}

.hww-step-label {
  margin: 0 0 4px 0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.55);
}

.hww-step-title {
  margin: 0 0 4px 0;
  font-size: 1rem;
}

.hww-step-desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--hww-text-dim);
}

/* CTAs – full width */
.hww-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.hww-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
  transition:
    box-shadow 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease;
}

.hww-btn i {
  font-size: 1rem;
}

.hww-btn-primary {
  background: linear-gradient(135deg, var(--hww-red), #730707);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.16);
}

.hww-btn-primary:hover {
  background: linear-gradient(135deg, #ff3b3b, var(--hww-red));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75);
}

.hww-btn-ghost {
  background: rgba(0, 0, 0, 0.3);
  color: var(--hww-text-dim);
  border-color: rgba(255, 255, 255, 0.16);
}

.hww-btn-ghost:hover {
  background: rgba(0, 0, 0, 0.55);
  color: #ffffff;
  border-color: rgba(217, 4, 4, 0.5);
}

/* reveal for whole section */
.hww-wrap {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.hww-wrap.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- SECTION 2: BENEFITS (STATIC GRID) ---------- */

.hww-benefits-wrap {
  background: #050505;
  color: #ffffff;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.hww-benefits-wrap.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hww-benefits-inner {
  padding: 28px 0 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.7);
}

.hww-benefits-header {
  text-align: left;
  max-width: 760px;
  margin-bottom: 24px;
}

.hww-benefits-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.3);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 8px;
}

.hww-benefits-kicker::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, #D90404, #730707);
}

.hww-benefits-title {
  margin: 0 0 6px 0;
  font-size: clamp(22px, 2.2vw, 30px);
}

.hww-benefits-lead {
  margin: 0;
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.78);
}

/* grid */
.hww-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.hww-benefit-card {
  border-radius: 20px;
  background: linear-gradient(145deg, #101010 0%, #171717 45%, #0c0c0c 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6);
  padding: 18px 18px 20px;
  transform: translateY(16px);
  opacity: 0;
  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.hww-benefits-wrap.is-visible .hww-benefit-card {
  opacity: 1;
  transform: translateY(0);
}
.hww-benefits-wrap.is-visible .hww-benefit-card:nth-child(1) { transition-delay: 0.05s; }
.hww-benefits-wrap.is-visible .hww-benefit-card:nth-child(2) { transition-delay: 0.10s; }
.hww-benefits-wrap.is-visible .hww-benefit-card:nth-child(3) { transition-delay: 0.15s; }

.hww-benefit-card:hover {
  border-color: rgba(217, 4, 4, 0.5);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.8);
}

.hww-benefit-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 0, #ff3b3b 0%, #D90404 45%, #730707 100%);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.85), 0 0 18px rgba(217, 4, 4, 0.7);
  margin-bottom: 10px;
}

.hww-benefit-icon i {
  font-size: 1rem;
  color: #fff;
}

.hww-benefit-title {
  margin: 0 0 4px 0;
  font-size: 0.98rem;
}

.hww-benefit-desc {
  margin: 0 0 10px 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.hww-benefit-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.78);
}

.hww-benefit-list li::before {
  content: "•";
  margin-right: 6px;
  color: #D90404;
}

/* responsive */
@media (max-width: 992px) {
  .hww-benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .hww-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hww-steps-nav {
    align-self: flex-end;
  }

  .hww-benefits-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hww-inner {
    padding: 28px 0 36px;
  }
}
