/* ==============================
   STEPS PAGE — Premium Timeline
   ============================== */

/* Hero */
.st-hero {
  padding: 140px 0 64px;
  background: var(--black);
  position: relative;
  overflow: hidden;
}

.st-hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(160, 32, 32, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.st-hero__badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 8px;
  background: rgba(160, 32, 32, 0.12);
  border: 1px solid rgba(160, 32, 32, 0.25);
  color: #e04040;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.st-hero__title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.st-hero__desc {
  font-size: 1.1rem;
  color: var(--gray-40);
  max-width: 560px;
  line-height: 1.6;
}

/* ===== Timeline ===== */
.st-timeline {
  padding: 0 0 40px;
  background: var(--black);
}

.st-timeline__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Step */
.st-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 28px;
  position: relative;
}

@media (min-width: 768px) {
  .st-step {
    grid-template-columns: 80px 1fr;
    gap: 40px;
  }
}

/* Timeline line */
.st-step__line {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.st-step__line::after {
  content: '';
  position: absolute;
  top: 56px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, rgba(160, 32, 32, 0.3), rgba(160, 32, 32, 0.05));
}

.st-step--last .st-step__line::after {
  display: none;
}

.st-step__num {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(160, 32, 32, 0.1);
  border: 1px solid rgba(160, 32, 32, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: #e04040;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

/* Content card */
.st-step__content {
  padding: 32px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 24px;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.st-step__content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(160, 32, 32, 0.3), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.st-step__content:hover {
  border-color: rgba(160, 32, 32, 0.15);
  background: rgba(160, 32, 32, 0.02);
  transform: translateX(4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.st-step__content:hover::before {
  opacity: 1;
}

.st-step__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.st-step__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(160, 32, 32, 0.1);
  border: 1px solid rgba(160, 32, 32, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e04040;
  flex-shrink: 0;
}

.st-step__header h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  flex: 1;
}

.st-step__time {
  padding: 5px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-40);
  white-space: nowrap;
}

.st-step__text {
  font-size: 0.92rem;
  color: var(--gray-40);
  line-height: 1.7;
  margin-bottom: 20px;
}

.st-step__details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 640px) {
  .st-step__details {
    flex-direction: row;
    gap: 24px;
    flex-wrap: wrap;
  }
}

.st-step__detail {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-30);
  font-size: 0.82rem;
}

.st-step__detail svg {
  color: #e04040;
  flex-shrink: 0;
}

/* ===== Total Card ===== */
.st-total {
  padding: 40px 0 80px;
  background: var(--black);
}

.st-total__card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 48px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(160, 32, 32, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(160, 32, 32, 0.12);
  align-items: center;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .st-total__card {
    grid-template-columns: 1fr 1fr;
  }
}

.st-total__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(160, 32, 32, 0.4), transparent);
}

.st-total__left h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.st-total__left h2 span {
  color: #e04040;
}

.st-total__left p {
  font-size: 0.95rem;
  color: var(--gray-40);
  line-height: 1.6;
}

.st-total__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.st-total__stat {
  text-align: center;
  padding: 20px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.st-total__val {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.st-total__label {
  font-size: 0.72rem;
  color: var(--gray-30);
}
