/* ==========================================================================
   SPEEDMATH - PRICING PAGE STYLES
   Public-facing subscription plans with responsive card layout
   ========================================================================== */

/* ==========================================================================
   1. PRICING GRID & CARDS
   ========================================================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-8);
  max-width: var(--content-xl);
  margin: 0 auto;
  margin-top: -30px;
  justify-content: center;
}

.pricing-card {
  max-height: fit-content;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  padding: var(--space-8) var(--space-5);
  text-align: center;
  position: relative;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-primary);
}

/* Popular Card Highlight */
.pricing-card-popular {
  border: 2px solid var(--accent-secondary);
  box-shadow: 0 0 0 1px rgba(255, 104, 0, 0.15), var(--shadow-lg);
}

.pricing-card-popular:hover {
  border-color: var(--accent-secondary);
}

.pricing-popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--btn-gradient);
  color: #ffffff;
  padding: 4px 20px;
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  white-space: nowrap;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 5px;
}
.pricing-popular-badge .lucide {
  width: 13px;
  height: 13px;
}

/* ==========================================================================
   2. CARD CONTENT
   ========================================================================== */

.pricing-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-align: left;
  margin-bottom: var(--space-4);
}

.pricing-card-titles {
  flex: 1;
  min-width: 0;
}

.pricing-plan-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pricing-plan-icon .lucide {
  width: 22px;
  height: 22px;
}
.pricing-plan-icon.icon-free {
  background: rgba(63, 0, 209, 0.1);
  color: var(--accent-primary);
}
.pricing-plan-icon.icon-crown {
  background: rgba(255, 104, 0, 0.1);
  color: var(--accent-secondary);
}
.pricing-plan-icon.icon-gem {
  background: rgba(63, 0, 209, 0.1);
  color: var(--accent-primary);
}

.pricing-card-name {
  font-size: var(--fs-xl);
  font-weight: var(--fw-bold);
  color: var(--text-main);
  margin-bottom: 2px;
}

.pricing-card-desc {
  font-size: var(--fs-sm);
  color: var(--text-soft);
  line-height: var(--lh-normal);
}

/* Trust pill above the page title */
.pricing-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-gradient);
  color: #fff;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-4);
}
.pricing-trust-pill .lucide {
  width: 18px;
  height: 18px;
}

/* Admin-managed seasonal promo badge, between the page description and the plan cards */
.pricing-promo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #ff6b35, #e8430a);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: var(--fs-md);
  font-weight: var(--fw-semibold);
  margin-top: var(--space-5);
  box-shadow: 0 2px 10px rgba(232, 67, 10, 0.35);
  animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { transform: scale(1);    box-shadow: 0 2px 10px rgba(232, 67, 10, 0.35); }
  50%       { transform: scale(1.04); box-shadow: 0 4px 18px rgba(232, 67, 10, 0.55); }
}
.pricing-promo-badge .lucide {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Trust badges row below the pricing cards */
.pricing-trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-6);
  max-width: var(--content-xl);
  margin: var(--space-6) auto var(--space-8);
  padding: var(--space-5);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
}
.trust-badge-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.trust-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(63, 0, 209, 0.08);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-badge-icon .lucide {
  width: 18px;
  height: 18px;
}
.trust-badge-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.trust-badge-text strong {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--text-main);
}
.trust-badge-text span {
  font-size: 12px;
  color: var(--text-soft);
}

/* Price Display */
.pricing-card-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
  margin-bottom: var(--space-1);
  flex-wrap: nowrap;
}

.pricing-currency {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  color: var(--text-main);
}

.pricing-amount {
  font-size: 2.75rem;
  font-weight: var(--fw-black);
  color: var(--text-main);
  line-height: 1;
}

.pricing-period {
  font-size: var(--fs-sm);
  color: var(--text-soft);
  margin-left: 1px;
  align-self: flex-end;
  padding-bottom: 4px;
}

.pricing-currency-sm {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-semibold);
  color: var(--text-muted);
}

.pricing-amount-sm {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-semibold);
  color: var(--text-muted);
  margin-right: var(--space-2);
}

.pricing-amount-sm del {
  text-decoration: line-through;
  text-decoration-color: #e8430a;
  text-decoration-thickness: 2px;
}

.pricing-discount-badge {
  display: inline-flex;
  align-items: center;
  align-self: center;
  width: fit-content;
  gap: 5px;
  background: linear-gradient(135deg, #ff6b35, #e8430a);
  color: #fff;
  padding: 5px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-4);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(232, 67, 10, 0.3);
  animation: badgePulse 2s ease-in-out infinite;
}

.pricing-per-day {
  font-size: var(--fs-xs);
  color: var(--accent-secondary);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-5);
}

/* ==========================================================================
   3. FEATURES LIST
   ========================================================================== */

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 auto 0;
  text-align: left;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) 0;
  color: var(--text-soft);
  font-size: var(--fs-sm);
}

.pricing-features li .lucide {
  color: var(--color-success);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* CTA Button */
.pricing-btn {
  width: 100%;
  margin-top: var(--space-5);
}

/* Plan 40 Phase 1: USD mode — hide INR checkout btn, show contact btn */
.pricing-btn-usd { display: none; }
.pricing-grid[data-currency="usd"] .pricing-btn-inr { display: none; }
.pricing-grid[data-currency="usd"] .pricing-btn-usd { display: inline-flex; }

/* Currency Switcher Toggle */
.pricing-currency-toggle {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 4px;
  width: fit-content;
  /* margin-bottom accounts for grid pull-up; negative top margin closes section-padding gap */
  margin: -40px auto 54px;
}
.pricing-toggle-btn {
  border: none;
  background: transparent;
  color: var(--text-soft);
  padding: 6px 22px;
  border-radius: var(--radius-full);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  cursor: pointer;
  transition: background var(--transition-base), color var(--transition-base);
  line-height: 1.4;
  white-space: nowrap;
}
.pricing-toggle-btn.active {
  background: var(--btn-gradient);
  color: #fff;
}

/* ==========================================================================
   ORDER REVIEW PAGE (views/checkout/review.ejs) — kept here, not a separate
   file, since it's small and tightly coupled to the checkout flow above.
   ========================================================================== */

.checkout-review-section {
  max-width: 900px;
  margin-top: -30px;
  margin-bottom: 30px;
}

.checkout-review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  align-items: start;
}

/* Plan summary on the right, sticky while the (taller) billing form scrolls
   alongside it — standard checkout-page convention. Billing form first in
   the grid (left) so order:1/2 below reads naturally. */
.checkout-billing-form {
  order: 1;
}

.checkout-plan-summary {
  order: 2;
  position: sticky;
  top: 90px; /* clears the fixed header — same offset as .article-sidebar in blog.css */
}

@media (max-width: 768px) {
  .checkout-review-grid {
    grid-template-columns: 1fr;
  }

  /* Single column on mobile: billing form first, plan summary follows
     below it in normal flow (no sticky — nothing to stick alongside once
     stacked). */
  .checkout-billing-form {
    order: 1;
  }

  .checkout-plan-summary {
    order: 2;
    position: static;
  }
}

.checkout-card {
  background: var(--bg-card, #fff);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.checkout-card-title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  margin: 0 0 var(--space-2);
}

.checkout-card-subtitle {
  font-size: var(--fs-sm);
  color: var(--text-soft);
  margin: 0 0 var(--space-5);
}

.checkout-plan-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: var(--space-4);
  margin-bottom: var(--space-4);
  border-bottom: 1px solid var(--border-subtle);
}

.checkout-plan-name {
  font-weight: var(--fw-semibold);
}

.checkout-plan-price {
  font-weight: var(--fw-bold);
}

.checkout-pay-btn,
.checkout-save-btn {
  width: 100%;
  margin-top: var(--space-5);
}

.checkout-refund-agree {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  margin-top: var(--space-4);
  padding: var(--space-3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: var(--fs-sm);
  color: var(--text-soft);
  transition: border-color var(--transition-base), background var(--transition-base);
}

/* Positive feedback once checked — otherwise the only sign anything happened is the pay
   button un-dimming below, which is easy to miss. */
.checkout-refund-agree.is-checked {
  border-color: rgba(59, 130, 249, 0.6);
  background: var(--admin-active-bg);
  color: var(--text-main);
}

.checkout-refund-agree input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--accent-primary);
}

.checkout-refund-agree a {
  color: var(--accent-primary);
  font-weight: var(--fw-semibold);
  text-decoration: underline;
}

/* Order success page */
.checkout-success-icon {
  color: var(--exam-success, #10b981);
  margin-bottom: var(--space-3);
}
.checkout-success-icon .lucide {
  width: 56px;
  height: 56px;
}

.checkout-success-card {
  max-width: 480px;
  margin: 0 auto;
}

.checkout-success-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: var(--fs-sm);
}
.checkout-success-detail-row:last-of-type {
  border-bottom: none;
}
.checkout-success-detail-row span {
  color: var(--text-soft);
}

.checkout-success-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-5);
}
.checkout-success-actions .btn {
  width: 100%;
}

/* Form fields */
.checkout-form-field {
  margin-bottom: var(--space-4);
}

.checkout-form-field label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  margin-bottom: var(--space-2);
}

.checkout-input {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  font-size: var(--fs-sm);
  background: var(--bg-card);
  color: var(--text-main);
  outline: none;
  transition: border-color var(--transition-fast);
}
.checkout-input:focus,
.checkout-coupon-input:focus {
  border-color: var(--input-focus-border);
  box-shadow: 0 0 0 3px var(--input-focus-ring);
  outline: none;
}

.required {
  color: var(--color-error, #f87171);
  font-weight: 600;
}

/* Custom Dropdown for Checkout */
.custom-dropdown {
  position: relative;
  width: 100%;
  cursor: pointer;
  user-select: none;
}
.custom-dropdown-selected {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  font-size: var(--fs-sm);
  background: var(--bg-card);
  color: var(--text-main);
  transition: border-color var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.custom-dropdown:focus .custom-dropdown-selected,
.custom-dropdown.active .custom-dropdown-selected {
  border-color: var(--input-focus-border);
  box-shadow: 0 0 0 3px var(--input-focus-ring);
  outline: none;
}
.custom-dropdown-icon {
  width: 16px;
  height: 16px;
  color: var(--text-soft);
  transition: transform 0.2s;
  pointer-events: none;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}
.custom-dropdown.active .custom-dropdown-icon {
  transform: translateY(-50%) rotate(180deg);
}
.custom-dropdown-options {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  z-index: 100;
  max-height: 220px;
  overflow-y: auto;
  display: none;
}
.custom-dropdown.active .custom-dropdown-options {
  display: block;
}
.custom-dropdown-option {
  padding: 10px 12px;
  font-size: var(--fs-sm);
  color: var(--text-main);
  transition: background var(--transition-fast);
}
.custom-dropdown-option:hover {
  background: var(--hover-bg);
}
.custom-dropdown-option.selected {
  background: var(--accent-transparent);
  color: var(--accent);
  font-weight: 600;
}
/* Custom Scrollbar for Dropdown */
.custom-dropdown-options::-webkit-scrollbar {
  width: 6px;
}
.custom-dropdown-options::-webkit-scrollbar-track {
  background: transparent;
}
.custom-dropdown-options::-webkit-scrollbar-thumb {
  background: var(--border-strong, rgba(148, 163, 184, 0.5));
  border-radius: 4px;
}
.custom-dropdown-options::-webkit-scrollbar-thumb:hover {
  background: var(--text-soft);
}

/* Flash messages */
.checkout-flash {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-top: var(--space-4);
  margin-bottom: var(--space-4);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
}

.checkout-flash-success {
  background: var(--color-success-bg);
  color: var(--color-success-text, var(--color-success));
}

.checkout-flash-error {
  background: var(--color-error-bg);
  color: var(--color-error-text, var(--color-error));
}

/* Coupon code — relocated here from the plan cards above; the Order Review
   page is now the final step where coupons actually get applied. */
.checkout-coupon-toggle {
  width: 100%;
  background: none;
  border: none;
  margin-top: var(--space-2);
  padding: 4px;
  font-size: var(--fs-xs);
  color: var(--text-soft);
  text-decoration: underline;
  cursor: pointer;
}

.checkout-coupon-box {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.checkout-coupon-input {
  flex: 1;
  min-width: 0;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  font-size: var(--fs-sm);
  text-transform: uppercase;
  background: var(--bg-card);
  color: var(--text-main);
  outline: none;
  transition: border-color var(--transition-fast);
}

.checkout-coupon-apply-btn {
  flex-shrink: 0;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  border: none;
  background: var(--btn-gradient);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  cursor: pointer;
}

.checkout-coupon-apply-btn:hover {
  background: var(--accent-gradient);
}

.checkout-coupon-feedback {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  margin-top: var(--space-2);
}

.checkout-coupon-feedback.success {
  color: var(--color-success);
}

.checkout-coupon-feedback.error {
  color: var(--color-error);
}

/* Replaces the coupon input box once validated — reads as a removable chip, not a
   re-editable field, the standard checkout pattern. */
.checkout-coupon-discount-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: var(--space-3);
  padding: 8px 0;
}

.checkout-coupon-discount-info {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 10px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  background: var(--color-success-bg);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--color-success);
  text-transform: uppercase;
}

.checkout-coupon-discount-info .lucide {
  width: 14px;
  height: 14px;
}

.checkout-coupon-remove-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--admin-hover-bg);
  color: var(--text-soft);
  cursor: pointer;
}

.checkout-coupon-remove-btn .lucide {
  width: 12px;
  height: 12px;
}

.checkout-coupon-remove-btn:hover {
  background: var(--color-error-bg);
  color: var(--color-error);
}

.checkout-coupon-discount-amount {
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  color: var(--color-success);
}

.checkout-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--border-subtle);
}

.checkout-total-label {
  font-weight: var(--fw-bold);
}

.checkout-total-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
}

.checkout-total-original {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--text-soft);
}

/* ==========================================================================
   4. ACTIVE SUBSCRIPTION BANNER
   ========================================================================== */

.pricing-active-banner {
  background: linear-gradient(135deg, rgba(22,163,74,0.08) 0%, rgba(22,163,74,0.04) 100%);
  border: 1.5px solid rgba(22, 163, 74, 0.3);
  border-radius: var(--radius-xl);
  padding: var(--space-3) var(--space-8);
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
  margin: 0 auto;
  box-shadow: 0 2px 12px rgba(22, 163, 74, 0.08);
  min-width: 420px;
  max-width: 100%;
}

/* Center the banner inside its container */
.pricing-active-banner-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-5);
}

.pricing-active-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(22, 163, 74, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pricing-active-icon-wrap .lucide {
  width: 20px;
  height: 20px;
  color: var(--color-success);
}

.pricing-active-body {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-3);
}

.pricing-active-title {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--color-success);
}

.pricing-active-meta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.pricing-active-plan-pill {
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--color-success);
  background: rgba(22, 163, 74, 0.12);
  border: 1px solid rgba(22, 163, 74, 0.25);
  border-radius: 999px;
  padding: 2px 10px;
}

.pricing-active-expiry {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-xs);
  color: var(--text-soft);
}

.pricing-active-expiry .lucide {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.pricing-active-crown {
  flex-shrink: 0;
  opacity: 0.6;
}

.pricing-active-crown .lucide {
  width: 20px;
  height: 20px;
  color: var(--color-success);
}

/* ==========================================================================
   5. COMPARISON TABLE
   ========================================================================== */

.pricing-comparison {
  max-width: 700px;
  margin: var(--space-8) auto 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.pricing-comparison table {
  width: 100%;
  border-collapse: collapse;
}

.pricing-comparison thead {
  background: var(--bg-card);
}

.pricing-comparison th {
  padding: var(--space-3) var(--space-4);
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--text-main);
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-comparison th:first-child {
  text-align: left;
}

.pricing-comparison td {
  padding: var(--space-3) var(--space-4);
  font-size: var(--fs-sm);
  color: var(--text-soft);
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
}

.pricing-comparison td:first-child {
  text-align: left;
  font-weight: var(--fw-medium);
  color: var(--text-main);
}

.pricing-comparison tr:last-child td {
  border-bottom: none;
}

.comparison-check {
  color: var(--color-success);
  font-size: 20px;
}

.comparison-cross {
  color: var(--text-muted);
  font-size: 20px;
  opacity: 0.5;
}

/* ==========================================================================
   6. NO-REFUND NOTE (below pricing grid)
   ========================================================================== */

.pricing-no-refund-note {
  max-width: fit-content;
  margin: var(--space-4) auto 0;
  padding: var(--space-3) var(--space-4);
  text-align: center;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--color-warning-text);
  background: var(--color-warning-bg);
  border: 1px solid var(--color-warning);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.pricing-no-refund-note .lucide {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.pricing-no-refund-note a {
  color: var(--color-info);
  font-weight: var(--fw-semibold);
  text-decoration: underline;
}

/* ==========================================================================
   7. REFUND POLICY CARD (used on the dedicated /refund-policy page)
   ========================================================================== */

.pricing-refund-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--admin-hover-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
}

.pricing-refund-card h2 {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  color: var(--text-main);
  margin-bottom: var(--space-6);
  text-align: center;
}

/* top shield icon */
.refund-glance-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--admin-active-bg);
  color: var(--color-info);
  margin: 0 auto var(--space-4);
}
.refund-glance-icon svg { width: 26px; height: 26px; }

/* bullet list */
.refund-glance-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.refund-glance-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
}
.refund-glance-icon-wrap {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.refund-glance-icon-wrap svg { width: 16px; height: 16px; }
.refund-glance-icon--no   { background: var(--color-error-bg); color: var(--color-error); }
.refund-glance-icon--ok   { background: var(--color-success-bg); color: var(--color-success); }
.refund-glance-icon--info { background: var(--color-info-bg);    color: var(--color-info); }
.refund-glance-list li strong {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--text-main);
  margin-bottom: var(--space-1);
}
.refund-glance-list li span {
  font-size: var(--fs-sm);
  color: var(--text-soft);
  line-height: var(--lh-relaxed);
}
.refund-glance-list li span a {
  color: var(--accent-primary);
  text-decoration: underline;
}

@media (max-width: 480px) {
  .pricing-refund-card { padding: var(--space-6) var(--space-4); }
}

/* ==========================================================================
   8. SECTION TITLES (shared across pricing page)
   ========================================================================== */

.section-title {
  font-size: var(--fs-4xl);
  font-weight: var(--fw-extrabold);
  color: var(--text-main);
  margin-bottom: var(--space-2);
}

.section-subtitle {
  font-size: var(--fs-base);
  max-width: 500px;
  margin: 0 auto;
}

/* ==========================================================================
   8. ICON BOXES (How To Subscribe Section)
   ========================================================================== */

.icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-4);
  font-size: 24px;
  color: #ffffff;
}



/* ==========================================================================
   10. RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 960px) {
  .pricing-grid {
    max-width: 600px;
  }

  .section-title {
    font-size: var(--fs-3xl);
  }
}

@media (max-width: 640px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
  }

  .pricing-amount {
    font-size: 2.25rem;
  }

  .pricing-active-banner {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    padding: var(--space-3) var(--space-4);
    min-width: 0;
  }

  .pricing-active-body {
    justify-content: center;
  }

  .pricing-active-crown {
    display: none;
  }

  .pricing-active-meta {
    justify-content: center;
  }

  .pricing-comparison th,
  .pricing-comparison td {
    padding: var(--space-2) var(--space-3);
    font-size: var(--fs-xs);
  }
}

/* ==========================================================================
   11. COMING SOON SECTION
   ========================================================================== */

.pricing-coming-soon {
  text-align: center;
  padding: none;
  max-width: 600px;
  margin: 0 auto;
}

.pricing-coming-soon-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #3f00d1, var(--accent-secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-5);
  color: #fff;
}

.pricing-coming-soon-icon svg {
  width: 28px;
  height: 28px;
}

.pricing-coming-soon-title {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-3);
  color: var(--text-main);
}

.pricing-coming-soon-subtitle {
  color: var(--text-soft);
  font-size: var(--fs-base);
  margin-bottom: var(--space-8);
  line-height: 1.6;
}

