/* ============================================================
   JETEDCO HOW IT WORKS PAGE — Styles
   ============================================================ */

/* --- Hero --- */
.hiw-hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hiw-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--sky-start) 0%, var(--sky-end) 60%, var(--white) 100%);
  z-index: 0;
}
.hiw-hero-content {
  position: relative;
  z-index: 2;
  padding: 140px 32px 60px;
  max-width: 740px;
}
.hiw-hero-headline {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-top: 24px;
  max-width: 780px;
}
.hiw-hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-top: 20px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Timeline --- */
.hiw-timeline {
  padding: 80px 0 40px;
}
.hiw-step {
  display: flex;
  gap: 48px;
  position: relative;
}

/* Marker column */
.hiw-step-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 60px;
}
.hiw-step-num {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--white);
  background: var(--black);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}
.hiw-step-line {
  width: 2px;
  flex: 1;
  background: linear-gradient(180deg, var(--black) 0%, rgba(0,0,0,0.08) 100%);
  margin: 0 auto;
}
.hiw-step--last .hiw-step-num {
  background: var(--accent);
}

/* Content card */
.hiw-step-content {
  flex: 1;
  padding: 0 0 72px 0;
  position: relative;
}
.hiw-step--last .hiw-step-content {
  padding-bottom: 0;
}
.hiw-step-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(86,145,218,0.08);
  color: var(--accent);
  border-radius: 14px;
  margin-bottom: 20px;
}
.hiw-step-content h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 12px;
  line-height: 1.2;
}
.hiw-step-content p {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.7;
  max-width: 520px;
}

/* Alternating layout for visual interest */
.hiw-step:nth-child(even) .hiw-step-content {
  background: var(--gray-50);
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: var(--radius);
  padding: 36px 40px 36px 40px;
  margin-bottom: 36px;
}
.hiw-step--last.hiw-step:nth-child(even) .hiw-step-content {
  margin-bottom: 0;
}

/* --- Start CTA Card --- */
.hiw-start {
  padding: 40px 0 80px;
}
.hiw-start-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: var(--black);
  border-radius: 20px;
  padding: 48px 56px;
}
.hiw-start-content h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 8px;
}
.hiw-start-content p {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}
.hiw-start-card .hp-btn-primary {
  background: var(--accent);
  flex-shrink: 0;
}
.hiw-start-card .hp-btn-primary:hover {
  background: #3d7ac4;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .hiw-step {
    gap: 24px;
  }
  .hiw-step-marker {
    width: 44px;
  }
  .hiw-step-num {
    width: 44px;
    height: 44px;
    font-size: 13px;
  }
  .hiw-step-content h2 {
    font-size: 20px;
  }
  .hiw-step:nth-child(even) .hiw-step-content {
    padding: 28px 24px;
  }
  .hiw-start-card {
    flex-direction: column;
    text-align: center;
    padding: 40px 32px;
  }
  .hiw-hero-content {
    padding: 120px 20px 40px;
  }
}
