/* ==========================================================================
   ZYNOX HOW TO BUY - NEON ALTERNATING TIMELINE
   ========================================================================== */

.htb-hero {
  padding: 60px 0 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% -20%, rgba(255, 107, 43, 0.25), transparent 70%),
              linear-gradient(180deg, rgba(11, 16, 26, 0.8) 0%, transparent 100%);
  border-bottom: 1px solid var(--color-border);
}

.htb-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(255, 107, 43, 0.12);
  border: 1px solid rgba(255, 107, 43, 0.4);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #ff8c5a;
  margin-bottom: 14px;
  box-shadow: 0 0 20px rgba(255, 107, 43, 0.2);
}

.htb-hero__title {
  font-size: 2.8rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.5px;
  margin: 0 0 12px;
  text-shadow: 0 0 35px rgba(255, 107, 43, 0.35);
}

.htb-hero__title span {
  background: linear-gradient(135deg, #ff8c5a 0%, #ff5500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.htb-hero__desc {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 680px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.htb-hero__actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Timeline Container */
.htb-timeline-wrap {
  position: relative;
  padding: 60px 0 80px;
}

/* Central Neon Vertical Line */
.htb-timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, 
    rgba(255, 107, 43, 0.1) 0%, 
    rgba(255, 107, 43, 0.85) 15%, 
    rgba(255, 85, 0, 0.85) 85%, 
    rgba(255, 107, 43, 0.1) 100%
  );
  box-shadow: 0 0 18px rgba(255, 107, 43, 0.6), 0 0 35px rgba(255, 107, 43, 0.3);
  z-index: 1;
}

/* Timeline Rows (Alternating) */
.htb-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  margin-bottom: 70px;
  position: relative;
  z-index: 2;
}

.htb-row:last-child {
  margin-bottom: 0;
}

/* Central glowing node marker */
.htb-row::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background: #070a12;
  border: 3px solid #ff6b2b;
  border-radius: 50%;
  box-shadow: 0 0 16px #ff6b2b, 0 0 25px rgba(255, 107, 43, 0.6);
  z-index: 3;
  transition: transform 0.3s ease, background 0.3s ease;
}

.htb-row:hover::after {
  transform: translate(-50%, -50%) scale(1.3);
  background: #ff6b2b;
}

/* Row Direction Variation (Inverted / Normal) */
.htb-row--invert .htb-col--info {
  grid-column: 2;
  grid-row: 1;
}

.htb-row--invert .htb-col--media {
  grid-column: 1;
  grid-row: 1;
}

/* Info Card */
.htb-info-card {
  background: rgba(14, 20, 32, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 107, 43, 0.3);
  border-radius: 18px;
  padding: 32px 28px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(255, 107, 43, 0.08);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.htb-info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #ff8c5a 0%, #ff5500 100%);
  box-shadow: 0 0 12px #ff6b2b;
}

[dir="rtl"] .htb-info-card::before {
  left: auto;
  right: 0;
}

.htb-info-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 107, 43, 0.6);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.65), 0 0 35px rgba(255, 107, 43, 0.25);
}

.htb-info-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.htb-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(255, 107, 43, 0.12);
  border: 1px solid rgba(255, 107, 43, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 0 15px rgba(255, 107, 43, 0.2);
  flex-shrink: 0;
}

.htb-step-badge {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  color: #ff8c5a;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.htb-info-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
  line-height: 1.3;
}

.htb-info-desc {
  font-size: 0.96rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0 0 18px;
}

.htb-info-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.htb-feat-pill {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
}

.htb-feat-pill--highlight {
  background: rgba(255, 107, 43, 0.15);
  border-color: rgba(255, 107, 43, 0.35);
  color: #ff8c5a;
}

/* Mockup Media Frame */
.htb-media-frame {
  background: #080c14;
  border: 1px solid rgba(255, 107, 43, 0.35);
  border-radius: 18px;
  padding: 10px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 107, 43, 0.15);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.htb-media-frame:hover {
  transform: translateY(-5px) scale(1.015);
  border-color: rgba(255, 107, 43, 0.7);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 45px rgba(255, 107, 43, 0.35);
}

.htb-media-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
}

.htb-media-overlay-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(7, 10, 18, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 107, 43, 0.5);
  color: #ff8c5a;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

[dir="rtl"] .htb-media-overlay-badge {
  right: auto;
  left: 20px;
}

/* Support CTA Banner */
.htb-cta-box {
  margin-top: 40px;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(255, 107, 43, 0.15), transparent 70%),
              linear-gradient(135deg, rgba(14, 20, 32, 0.9) 0%, rgba(8, 12, 20, 0.95) 100%);
  border: 1px solid rgba(255, 107, 43, 0.35);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 107, 43, 0.12);
}

.htb-cta-box h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 10px;
}

.htb-cta-box p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  max-width: 580px;
  margin: 0 auto 24px;
}

/* Responsive Media Queries */
@media (max-width: 960px) {
  .htb-timeline-line {
    left: 24px;
    transform: none;
  }

  [dir="rtl"] .htb-timeline-line {
    left: auto;
    right: 24px;
  }

  .htb-row {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 50px;
    padding-left: 54px;
  }

  [dir="rtl"] .htb-row {
    padding-left: 0;
    padding-right: 54px;
  }

  .htb-row::after {
    left: 24px;
    top: 30px;
    transform: translate(-50%, -50%);
  }

  [dir="rtl"] .htb-row::after {
    left: auto;
    right: 24px;
  }

  .htb-row--invert .htb-col--info {
    grid-column: 1;
    grid-row: 1;
  }

  .htb-row--invert .htb-col--media {
    grid-column: 1;
    grid-row: 2;
  }

  .htb-hero__title {
    font-size: 2.1rem;
  }
}
