/* ── Pricing Page & Credit Packs Styles ─────────────────────────────── */

  .pricing-container {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
    padding: 1.5rem 0 3rem 0;
    max-width: 1200px;
    margin: 0 auto;
  }

  .pricing-header-hero {
    text-align: center;
    max-width: 750px;
    margin: 0 auto;
  }

  .pricing-header-hero h2 {
    font-family: var(--font-title);
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
  }

  .pricing-header-hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
  }

  .billing-toggle-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--card-bg, rgba(30, 41, 59, 0.6));
    border: 1px solid var(--card-border, rgba(255, 255, 255, 0.1));
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    backdrop-filter: blur(12px);
  }

  .toggle-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
  }

  .badge-save {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.4);
    padding: 0.15rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 0.35rem;
  }

  .switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
  }

  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }

  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.2);
    transition: 0.3s;
    border-radius: 34px;
  }

  .slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: #fff;
    transition: 0.3s;
    border-radius: 50%;
  }

  input:checked+.slider {
    background-color: var(--accent-primary, #10b981);
  }

  input:checked+.slider:before {
    transform: translateX(22px);
  }

  .pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
  }

  .pricing-card {
    position: relative;
    background: var(--card-bg, rgba(15, 23, 42, 0.8));
    border: 1px solid var(--card-border, rgba(255, 255, 255, 0.1));
    border-radius: var(--radius-lg, 16px);
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  }

  .pricing-card:hover {
    transform: translateY(-4px);
    border-color: rgba(var(--accent-primary-rgb, 16, 185, 129), 0.4);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  }

  .pricing-card.popular {
    border: 2px solid var(--accent-primary, #10b981);
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.08) 0%, rgba(15, 23, 42, 0.95) 100%);
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.15);
  }

  .card-badge {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted, #94a3b8);
    margin-bottom: 0.5rem;
  }

  .plan-title {
    font-family: var(--font-title);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
  }

  .plan-price {
    display: flex;
    align-items: baseline;
    gap: 0.35rem;
    margin-bottom: 1rem;
  }

  .price-val {
    font-family: var(--font-title);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
  }

  .price-period {
    font-size: 0.95rem;
    color: var(--text-secondary);
  }

  .plan-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1.75rem;
  }

  .plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
  }

  .plan-features li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.92rem;
    color: var(--text-primary);
  }

  .plan-cta {
    width: 100%;
    padding: 0.85rem 1.5rem;
    border-radius: var(--radius-md, 10px);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: auto;
    border: none;
    text-align: center;
  }

  .plan-cta.primary {
    background: linear-gradient(135deg, var(--accent-primary, #10b981), #059669);
    color: #fff;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
  }

  .plan-cta.primary:hover {
    opacity: 0.92;
    transform: translateY(-1px);
  }

  .plan-cta.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid var(--card-border);
  }

  .plan-cta.secondary:hover {
    background: rgba(255, 255, 255, 0.18);
  }

  .plan-cta.outline {
    background: transparent;
    color: var(--accent-primary);
    border: 1px solid var(--accent-primary);
  }

  .plan-cta.outline:hover {
    background: rgba(16, 185, 129, 0.1);
  }

  .bulk-credits-section {
    background: var(--card-bg, rgba(15, 23, 42, 0.6));
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg, 16px);
    padding: 2.5rem 2rem;
  }

  .section-title-wrap {
    text-align: center;
    margin-bottom: 2rem;
  }

  .section-title-wrap h3 {
    font-family: var(--font-title);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
  }

  .section-title-wrap p {
    color: var(--text-secondary);
    font-size: 1rem;
  }

  .credit-packs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .credit-pack-card {
    position: relative;
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md, 12px);
    padding: 1.75rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: transform 0.2s ease, border-color 0.2s ease;
  }

  .credit-pack-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent-primary);
  }

  .credit-pack-card.highlight {
    border: 1.5px solid var(--accent-primary);
    background: rgba(16, 185, 129, 0.05);
  }

  .pack-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.15rem 0.65rem;
    border-radius: 12px;
    text-transform: uppercase;
  }

  .pack-credits {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
  }

  .pack-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-primary);
  }

  .pack-price span {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
    display: block;
  }

  .credit-pack-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
  }

  .pricing-faq {
    max-width: 850px;
    margin: 0 auto;
    width: 100%;
  }

  .pricing-faq h3 {
    font-family: var(--font-title);
    font-size: 1.75rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-primary);
  }



/* ----------------------------------------------------
   Silver (PRO) & Gold (Enterprise) Color-Coded Themes
   ---------------------------------------------------- */
.silver-badge,
.pro-badge {
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 50%, #94a3b8 100%) !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 0 10px rgba(148, 163, 184, 0.4) !important;
  font-weight: 700 !important;
}

.pro-plan-card {
  border: 1.5px solid #94a3b8 !important;
  box-shadow: 0 0 18px rgba(148, 163, 184, 0.15) !important;
}

.silver-cta {
  background: linear-gradient(135deg, #475569, #334155) !important;
  color: #f8fafc !important;
  border: 1px solid #64748b !important;
}

.silver-cta:hover {
  background: linear-gradient(135deg, #334155, #1e293b) !important;
}

.gold-badge,
.enterprise-badge {
  background: linear-gradient(135deg, #fef08a 0%, #fbbf24 50%, #d97706 100%) !important;
  color: #451a03 !important;
  border: 1px solid #f59e0b !important;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.45) !important;
  font-weight: 700 !important;
}

.enterprise-plan-card {
  border: 1.5px solid #f59e0b !important;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.18) !important;
}

.gold-cta {
  background: linear-gradient(135deg, #d97706, #b45309) !important;
  color: #ffffff !important;
  border: 1px solid #f59e0b !important;
}

.gold-cta:hover {
  background: linear-gradient(135deg, #b45309, #78350f) !important;
}

/* Light Theme Pricing & Account Adjustments */
[data-theme="light"] .silver-badge,
[data-theme="light"] .pro-badge {
  background: linear-gradient(135deg, #f1f5f9 0%, #cbd5e1 100%) !important;
  color: #0f172a !important;
  border: 1px solid #94a3b8 !important;
  box-shadow: 0 2px 8px rgba(100, 116, 139, 0.25) !important;
}
[data-theme="light"] .gold-badge,
[data-theme="light"] .enterprise-badge {
  background: linear-gradient(135deg, #fef3c7 0%, #fbbf24 100%) !important;
  color: #78350f !important;
  border: 1px solid #d97706 !important;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.3) !important;
}

[data-theme="light"] .pricing-card {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05) !important;
}

[data-theme="light"] .pricing-card.pro-plan-card {
  border: 2px solid #94a3b8 !important;
  box-shadow: 0 6px 20px rgba(148, 163, 184, 0.25) !important;
}

[data-theme="light"] .pricing-card.enterprise-plan-card {
  border: 2px solid #f59e0b !important;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.22) !important;
}

[data-theme="light"] .plan-price .price-val {
  color: #0f172a !important;
}

[data-theme="light"] .plan-desc {
  color: #475569 !important;
}

[data-theme="light"] .plan-features li {
  color: #334155 !important;
}

[data-theme="light"] .credit-pack-card {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .pricing-header-hero h2 {
  color: #0f172a !important;
}

[data-theme="light"] .pricing-header-hero p {
  color: #475569 !important;
}

[data-theme="light"] .faq-summary {
  color: #0f172a !important;
}

[data-theme="light"] .faq-content {
  color: #334155 !important;
}


/* ── Pricing Responsive Rules ───────────────────────────────────────── */
@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .credit-packs-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .pricing-header-hero h1 {
    font-size: 1.6rem;
  }

  .bulk-credits-section {
    padding: 1.25rem 1rem;
  }
}
