/* =====================
   PRICING PAGE
   ===================== */

.pricing-hero {
  padding: 80px 24px 48px;
  text-align: center;
}

.pricing-headline {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.pricing-sub {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

/* Toggle */
.toggle-wrap {
  display: inline-flex;
  background: var(--tag-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px;
  gap: 4px;
}

.toggle-btn {
  background: none;
  border: none;
  padding: 9px 22px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  color: var(--text-secondary);
  border-radius: 7px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.toggle-btn.active {
  background: var(--surface);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

/* Section */
.pricing-section {
  padding: 48px 24px 80px;
}

/* Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
  margin-bottom: 40px;
}

/* Cards */
.pricing-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}

.pricing-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(42, 92, 230, 0.08), var(--shadow-md);
}

.popular-badge {
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 7px 12px;
}

.pricing-card-top {
  padding: 28px 24px 24px;
  border-bottom: 1px solid var(--border);
}

.tier-name {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.tier-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}

.price-amount {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.price-note {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

.tier-best {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.5;
}

.btn-select {
  width: 100%;
  background: var(--tag-bg);
  border: 1.5px solid var(--border);
  color: var(--text-primary);
  padding: 11px 0;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.btn-select:hover {
  background: #ECEAE5;
  border-color: #C5C0B8;
  transform: translateY(-1px);
}

.btn-select-featured {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn-select-featured:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

/* Features list */
.tier-features {
  padding: 24px;
}

.features-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.tier-features ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.tier-features ul li {
  font-size: 13.5px;
  color: var(--text-secondary);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}

.tier-features ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #2C7A3B;
  font-weight: 700;
  font-size: 12px;
}

.tier-delivery {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.delivery-icon {
  font-size: 8px;
  color: #2C7A3B;
}

/* Payment Schedule */
.payment-schedule {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 20px;
}

.payment-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.payment-steps {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.payment-step {
  text-align: center;
}

.payment-pct {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--accent);
  margin-bottom: 4px;
}

.payment-desc {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

.payment-divider {
  font-size: 18px;
  color: var(--border);
  flex-shrink: 0;
}

/* Bonuses */
.bonuses-bar {
  background: #F0F4FD;
  border: 1px solid #D4E0FA;
  border-radius: var(--radius);
  padding: 24px 32px;
}

.bonuses-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.bonuses-list {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.bonus-item {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-primary);
}

/* Section heading */
.pricing-section-heading {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 8px;
}

.pricing-section-sub {
  text-align: center;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

/* Retainer */
.retainer-note {
  text-align: center;
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.retainer-terms {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
  padding: 20px;
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
}

/* =====================
   ROI CALCULATOR
   ===================== */
.roi-calc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
}

.roi-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.roi-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.roi-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}

.roi-slider-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.roi-slider-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

.roi-slider-label strong {
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 700;
}

input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 5px;
  border-radius: 100px;
  background: var(--border);
  outline: none;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 0 0 3px rgba(42, 92, 230, 0.15);
  transition: box-shadow 0.2s;
}

input[type="range"]::-webkit-slider-thumb:hover {
  box-shadow: 0 0 0 5px rgba(42, 92, 230, 0.2);
}

.roi-slider-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

.roi-results {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.roi-result-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.roi-result-card.highlight {
  background: var(--accent-light);
  border-color: #D4E0FA;
}

.roi-result-num {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1;
}

.roi-result-card.highlight .roi-result-num {
  color: var(--accent);
}

.roi-result-label {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 500;
}

.roi-disclaimer {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.6;
  padding-top: 4px;
}

@media (max-width: 860px) {
  .roi-calc {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 28px;
  }
}

/* =====================
   RETAINER UPSELL (inside modal)
   ===================== */
.bundle-highlight {
  color: #2C7A3B;
}

.retainer-upsell-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 4px;
}

.retainer-upsell-card {
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px 14px;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.retainer-upsell-card:hover {
  border-color: #C5C0B8;
  background: #F2F0EB;
}

.retainer-upsell-card.selected {
  border-color: var(--accent);
  background: var(--accent-light);
  box-shadow: 0 0 0 3px rgba(42, 92, 230, 0.10);
}

.retainer-upsell-card.recommended {
  border-color: #B8CDF8;
}

.retainer-upsell-card.recommended.selected {
  border-color: var(--accent);
}

.ru-recommended-badge {
  position: absolute;
  top: -1px;
  right: 14px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 0 0 6px 6px;
}

.ru-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
}

.ru-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.ru-pricing {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.ru-original {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: line-through;
}

.ru-discounted {
  font-size: 18px;
  font-weight: 700;
  color: #2C7A3B;
  letter-spacing: -0.02em;
}

.ru-per {
  font-size: 12px;
  font-weight: 500;
}

.ru-features {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-bottom: 10px;
}

.ru-features li {
  font-size: 12px;
  color: var(--text-secondary);
  padding-left: 14px;
  position: relative;
}

.ru-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #2C7A3B;
  font-size: 11px;
  font-weight: 700;
}

.ru-save-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #2C7A3B;
  background: #E8F5EB;
  border: 1px solid #C3E0C9;
  padding: 3px 8px;
  border-radius: 100px;
  letter-spacing: 0.03em;
}

.ru-skip-btn {
  display: block;
  width: 100%;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  padding: 12px 0 4px;
  text-align: center;
  transition: color 0.2s;
}

.ru-skip-btn:hover {
  color: var(--text-secondary);
}

/* Bundle summary on step 4 */
.bundle-summary {
  background: #E8F5EB;
  border: 1px solid #C3E0C9;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 20px;
}

.bundle-summary-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-primary);
}

.bundle-check {
  font-size: 14px;
  color: #2C7A3B;
  font-weight: 700;
  flex-shrink: 0;
}

.bundle-discount-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: #2C7A3B;
  background: #fff;
  border: 1px solid #C3E0C9;
  padding: 2px 7px;
  border-radius: 100px;
  margin-left: 6px;
  letter-spacing: 0.03em;
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .payment-steps {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .payment-divider {
    transform: rotate(90deg);
  }

  .bonuses-list {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 720px) {
  .nav-links a:not(.btn-nav) {
    display: none;
  }

  .pricing-hero {
    padding: 60px 24px 36px;
  }

  .toggle-wrap {
    flex-wrap: wrap;
    justify-content: center;
    max-width: 320px;
  }

  .toggle-btn {
    padding: 8px 14px;
    font-size: 13px;
  }
}
