/* ===================================================
   CTA.CSS — Styles for the Offer / CTA section
   =================================================== */

/* --- Section wrapper --- */
.offer-section {
  background: var(--color-bg-dark);
  position: relative;
  overflow: hidden;
}

/* Radial decorative background */
.offer-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 212, 200, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

/* --- Main offer card --- */
.offer-card {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin-inline: auto;
  padding: var(--space-3xl);
  background: linear-gradient(160deg, #13253d 0%, #0d1f38 100%);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-xl);
  box-shadow:
    0 0 0 1px rgba(0,212,200,0.08),
    0 20px 60px rgba(0, 0, 0, 0.6),
    0 0 80px rgba(0, 212, 200, 0.08);
  text-align: center;
}

/* Glow line at the top of the card */
.offer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-accent), transparent);
}

/* --- "Exclusive Offer" badge --- */
.offer-card__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.4rem 1rem;
  background: var(--color-accent-gold-dim);
  border: 1px solid rgba(240, 192, 64, 0.35);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-gold);
  margin-bottom: var(--space-xl);
  position: relative;
}

/* Badge pulse effect --- */
.offer-card__badge-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent-gold);
  animation: pulseGold 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulseGold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(240, 192, 64, 0.5); }
  50%       { box-shadow: 0 0 0 8px rgba(240, 192, 64, 0); }
}

/* --- Offer title --- */
.offer-card__headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: var(--color-text-primary);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: var(--space-xl);
}

/* Highlighted amount with gold gradient */
.offer-card__amount {
  display: block;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.15em;
}

/* --- Description --- */
.offer-card__description {
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  max-width: 580px;
  margin-inline: auto;
  margin-bottom: var(--space-2xl);
}

/* --- Scarcity Bar --- */
.offer-card__scarcity {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: rgba(240, 192, 64, 0.07);
  border: 1px solid rgba(240, 192, 64, 0.22);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-2xl);
  text-align: left;
}

.scarcity__icon {
  width: 36px;
  height: 36px;
  color: var(--color-accent-gold);
  flex-shrink: 0;
}

.scarcity__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scarcity__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.scarcity__text strong {
  font-size: 0.92rem;
  color: var(--color-accent-gold);
  font-weight: 700;
}

.scarcity__text span {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

/* --- Step flow --- */
.offer-card__steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-2xl);
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.step__num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-accent);
  color: var(--color-text-inverse);
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px var(--color-accent-glow);
}

.step__label {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  font-weight: 500;
  text-align: center;
  max-width: 80px;
  line-height: 1.3;
}

.step__connector {
  flex: 1;
  height: 1.5px;
  background: linear-gradient(to right, var(--color-accent), rgba(0,212,200,0.3));
  max-width: 80px;
  margin-bottom: 22px; /* visual alignment with numbers */
}

/* --- Main CTA button --- */
.offer-card__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.offer-card__subtext {
  font-size: 0.83rem;
  color: var(--color-text-muted);
  max-width: 400px;
  line-height: 1.6;
}

/* --- Responsive CTA --- */
@media (max-width: 768px) {
  .offer-card {
    padding: var(--space-xl);
  }

  .offer-card__steps {
    flex-direction: column;
    gap: var(--space-md);
  }

  .step__connector {
    width: 1.5px;
    height: 24px;
    background: linear-gradient(to bottom, var(--color-accent), rgba(0,212,200,0.3));
    max-width: none;
    margin-bottom: 0;
  }

  .offer-card__cta .btn {
    width: 100%;
    justify-content: center;
  }

  .offer-card__scarcity {
    text-align: left;
  }
}
