/* ==============================================================================
   Skiller Academy - VIP Membership & Manual Payment Gateway Stylesheet
   Stripe-Grade Glassmorphic Checkout UX
   ============================================================================== */

.membership-body {
  background-color: var(--bg-deep);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.membership-main {
  flex: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 24px 80px;
  width: 100%;
}

/* ==============================================================================
   Hero Section & Billing Switcher
   ============================================================================== */
.membership-hero-section {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 48px;
}

.membership-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(79, 70, 229, 0.08);
  border: 1px solid rgba(79, 70, 229, 0.25);
  color: var(--accent-primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

[data-theme="dark"] .membership-hero-badge {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.35);
  color: #a5b4fc;
}

.membership-hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.gradient-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.membership-hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* Cycle Switcher */
.billing-cycle-switch {
  display: inline-flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 4px;
  box-shadow: var(--shadow-sm);
}

.cycle-pill {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cycle-pill.active {
  background: var(--accent-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}

.save-tag {
  background: #10b981;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ==============================================================================
   Pricing Plan Cards
   ============================================================================== */
.membership-plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-card);
}

.plan-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-hover);
}

.plan-card.highlighted-plan {
  border: 2px solid #6366f1;
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.04) 0%, var(--bg-card) 40%);
  box-shadow: 0 12px 32px -4px rgba(99, 102, 241, 0.2), 0 0 0 1px #6366f1;
}

.popular-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-brand);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.06em;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.plan-card-header {
  margin-bottom: 20px;
}

.plan-badge-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(100, 116, 139, 0.12);
  color: var(--text-muted);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.plan-badge-pill.vip-pill {
  background: rgba(99, 102, 241, 0.15);
  color: #6366f1;
}

.plan-badge-pill.ultra-pill {
  background: rgba(14, 165, 233, 0.15);
  color: #0ea5e9;
}

.plan-name {
  font-size: 1.45rem;
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--text-primary);
}

.plan-tagline {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.currency-symbol {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.price-val {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

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

.plan-local-estimate {
  font-size: 0.85rem;
  color: #10b981;
  font-weight: 600;
  margin-bottom: 24px;
  font-family: var(--font-mono);
}

.plan-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-features-list li {
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.plan-features-list li.disabled {
  color: var(--text-muted);
  opacity: 0.55;
}

.feat-check {
  color: var(--accent-cyan);
  font-weight: 700;
}

.feat-check-vip {
  color: #6366f1;
  font-weight: 700;
}

.feat-check-ultra {
  color: #0ea5e9;
  font-weight: 700;
}

.feat-cross {
  color: var(--text-muted);
  font-weight: 700;
}

.plan-action-btn {
  width: 100%;
  padding: 14px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
}

.pulse-glow {
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

.pulse-glow:hover {
  box-shadow: 0 0 28px rgba(99, 102, 241, 0.6);
}

.ultra-action-btn {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  color: #ffffff;
}

.ultra-action-btn:hover {
  filter: brightness(1.1);
}

/* ==============================================================================
   Skiller Academy - Luxury Stripe-Grade Checkout System
   ============================================================================== */

.checkout-page-body {
  background: var(--bg-deep);
}

.checkout-main-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px 80px;
}

/* 1. Top Utility & Breadcrumb Bar */
.checkout-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.checkout-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-fast);
}

.checkout-back-link:hover {
  color: var(--accent-primary);
  border-color: var(--accent-primary);
  transform: translateX(-2px);
}

.checkout-security-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #10b981;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.security-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* 2. Hero Header & Tabs */
.checkout-hero-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.checkout-hero-title-group {
  max-width: 650px;
}

.checkout-tag-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-primary);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.checkout-main-heading {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  line-height: 1.2;
  margin: 0 0 6px;
}

.checkout-subheading {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.user-order-tabs {
  display: flex;
  background: var(--bg-card);
  padding: 4px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  gap: 4px;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 9px;
  font-size: 0.88rem;
  font-weight: 700;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--text-primary);
}

.tab-btn.active {
  background: var(--accent-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}

.badge-mini {
  background: rgba(255, 255, 255, 0.25);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.tab-btn:not(.active) .badge-mini {
  background: var(--border-subtle);
  color: var(--text-muted);
}

/* 3. Auth Notice Banner */
.auth-notice-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(14, 165, 233, 0.06) 100%);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  margin-bottom: 28px;
}

.auth-notice-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.auth-notice-icon {
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.15);
}

.auth-notice-text h4 {
  margin: 0 0 2px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
}

.auth-notice-text p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.auth-notice-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* 4. Dual Grid Structure */
.checkout-dual-grid {
  display: grid;
  grid-template-columns: 4.5fr 5.5fr;
  gap: 28px;
  align-items: start;
}

.pane-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  position: relative;
}

/* 5. Left Pane: Order Summary */
.summary-card {
  position: sticky;
  top: 90px;
  background: var(--bg-card);
}

.summary-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.pane-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--text-primary);
}

.summary-plan-badge {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(99, 102, 241, 0.12);
  color: #6366f1;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.summary-plan-badge.ultra {
  background: rgba(14, 165, 233, 0.15);
  color: #0ea5e9;
  border-color: rgba(14, 165, 233, 0.35);
}

/* Plan Toggle Buttons in Summary */
.checkout-plan-selector-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.checkout-plan-option-btn {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.checkout-plan-option-btn:hover {
  border-color: var(--accent-primary);
  transform: translateY(-1px);
}

.checkout-plan-option-btn.active {
  border-color: #6366f1;
  background: rgba(99, 102, 241, 0.06);
  box-shadow: 0 0 0 1px #6366f1, 0 4px 12px rgba(99, 102, 241, 0.15);
}

[data-theme="dark"] .checkout-plan-option-btn.active {
  background: rgba(99, 102, 241, 0.12);
}

.plan-btn-info {
  display: flex;
  flex-direction: column;
}

.plan-btn-name {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-primary);
}

.plan-btn-tag {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.checkout-plan-option-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-primary);
  font-family: var(--font-mono);
}

/* Billing Cycle Switcher in Summary */
.checkout-cycle-switch {
  width: 100%;
  display: flex;
  margin-bottom: 22px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 4px;
}

.checkout-cycle-switch .cycle-pill {
  flex: 1;
  justify-content: center;
  text-align: center;
  padding: 8px 12px;
  font-size: 0.85rem;
}

/* Perks list */
.summary-perks-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 22px;
}

.perks-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.summary-perks-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.summary-perks-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.35;
}

.summary-perks-list li svg {
  flex-shrink: 0;
}

/* Price Box */
.summary-price-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 20px;
}

.summary-usd-row, .summary-cycle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.summary-usd-row .label, .summary-cycle-row .label {
  color: var(--text-muted);
}

.summary-usd-row .value, .summary-cycle-row .value {
  font-weight: 700;
  color: var(--text-primary);
}

.fee-free {
  color: #10b981 !important;
  font-size: 0.82rem;
  font-weight: 800;
}

.summary-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 14px 0;
}

/* Local Exchange Highlight Card */
.summary-local-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(5, 150, 105, 0.12) 100%);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}

[data-theme="dark"] .summary-local-box {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(5, 150, 105, 0.18) 100%);
  border-color: rgba(16, 185, 129, 0.4);
}

.local-title {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.local-amount {
  font-size: 2.2rem;
  font-weight: 800;
  color: #10b981;
  font-family: var(--font-mono);
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(16, 185, 129, 0.25);
}

.local-note {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Voucher Accordion */
.voucher-accordion {
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
  margin-bottom: 20px;
}

.voucher-toggle-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  color: var(--accent-primary);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  padding: 6px 0;
}

.voucher-toggle-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.voucher-content {
  margin-top: 12px;
}

.voucher-input-group {
  display: flex;
  gap: 8px;
}

.input-voucher {
  flex: 1;
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  color: var(--text-primary);
  text-transform: uppercase;
  font-weight: 700;
}

.input-voucher:focus {
  outline: none;
  border-color: var(--accent-primary);
}

.voucher-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Trust list */
.trust-guarantee-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.trust-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.trust-icon {
  font-size: 1.3rem;
  line-height: 1;
}

.trust-heading {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.trust-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* 6. Right Pane: Payment Process Steps */
.checkout-step-block {
  margin-bottom: 30px;
}

.step-badge-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.step-number-bubble {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-primary);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.35);
  flex-shrink: 0;
}

.step-heading {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
}

/* Payment Method Chips Grid (2x2) */
.payment-methods-selector {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.payment-method-chip {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
  position: relative;
}

.payment-method-chip:hover {
  border-color: var(--accent-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.payment-method-chip.active {
  border-color: #6366f1;
  background: rgba(99, 102, 241, 0.06);
  box-shadow: 0 0 0 1px #6366f1, 0 6px 16px -2px rgba(99, 102, 241, 0.25);
}

[data-theme="dark"] .payment-method-chip.active {
  background: rgba(99, 102, 241, 0.12);
}

.chip-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-avatar {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.88rem;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.brand-ep {
  background: linear-gradient(135deg, #00A651 0%, #008741 100%);
}

.brand-sp {
  background: linear-gradient(135deg, #1DE9B6 0%, #7C4DFF 100%);
}

.brand-binance {
  background: linear-gradient(135deg, #F3BA2F 0%, #D89800 100%);
  color: #111827;
  font-size: 1.1rem;
}

.brand-upi {
  background: linear-gradient(135deg, #FF6B00 0%, #5F259F 100%);
  font-size: 0.78rem;
}

.chip-info {
  display: flex;
  flex-direction: column;
}

.chip-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
}

.chip-badge-text {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
}

.chip-radio {
  display: flex;
  align-items: center;
  justify-content: center;
}

.chip-radio-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  transition: all var(--transition-fast);
}

.payment-method-chip.active .chip-radio-circle {
  border-color: #6366f1;
  background: #6366f1;
  color: #ffffff;
  box-shadow: 0 0 8px rgba(99, 102, 241, 0.5);
}

/* Account Credentials Box */
.account-credentials-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.account-credentials-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--grad-brand);
}

.cred-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

.cred-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cred-method-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
}

.cred-badge {
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  padding: 3px 9px;
  border-radius: var(--radius-full);
}

.cred-verified-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: #10b981;
}

.cred-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.cred-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.cred-row.highlight-row {
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(99, 102, 241, 0.05);
}

.cred-row-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.cred-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.cred-value.mono {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: var(--accent-primary);
}

.cred-value.price-highlight {
  color: #10b981;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 800;
}

.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-copy:hover {
  background: var(--accent-primary);
  color: #ffffff;
  border-color: var(--accent-primary);
  transform: translateY(-1px);
}

.btn-copy.copied {
  background: #10b981 !important;
  color: #ffffff !important;
  border-color: #10b981 !important;
}

.btn-copy-primary {
  background: var(--accent-primary);
  color: #ffffff;
  border-color: var(--accent-primary);
  box-shadow: 0 2px 8px rgba(79, 70, 229, 0.3);
}

.btn-copy-primary:hover {
  background: var(--accent-primary-hover);
  border-color: var(--accent-primary-hover);
}

.cred-instructions-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--text-muted);
  background: rgba(99, 102, 241, 0.05);
  border: 1px dashed rgba(99, 102, 241, 0.25);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
}

.instructions-icon {
  font-size: 1.1rem;
  line-height: 1;
}

/* Proof Form */
.payment-proof-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}

.form-label .required {
  color: #ef4444;
}

.form-label .optional {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.78rem;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-with-icon .input-icon {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  pointer-events: none;
}

.input-with-icon .form-input {
  padding-left: 42px;
}

.form-input {
  width: 100%;
  padding: 12px 14px;
  font-size: 0.92rem;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.form-input.mono {
  font-family: var(--font-mono);
  letter-spacing: 0.03em;
}

.input-helper {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.form-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Receipt Dropzone */
.receipt-dropzone {
  border: 2px dashed var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  background: var(--bg-surface);
  transition: all var(--transition-fast);
}

.receipt-dropzone:hover, .receipt-dropzone.dragover {
  border-color: var(--accent-primary);
  background: rgba(79, 70, 229, 0.04);
}

.dropzone-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.dropzone-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(99, 102, 241, 0.1);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.dropzone-text {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
}

.dropzone-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.dropzone-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.dropzone-preview img {
  max-height: 180px;
  max-width: 100%;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
}

.preview-actions {
  display: flex;
  gap: 8px;
}

/* Submit CTA Button */
.btn-submit-order {
  width: 100%;
  padding: 16px 24px;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: none;
  background: var(--grad-brand);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}

.btn-submit-order:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(99, 102, 241, 0.55);
}

.btn-submit-order:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.spinner-svg {
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

.checkout-footer-assurance {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 6px;
}

/* 7. Orders History Table */
.orders-pane-card {
  padding: 32px;
}

.orders-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.pane-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.user-orders-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
}

.orders-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.orders-table th, .orders-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-subtle);
  text-align: left;
}

.orders-table th {
  font-size: 0.76rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 800;
  letter-spacing: 0.04em;
  background: var(--bg-card);
}

.orders-table tr:hover td {
  background: rgba(99, 102, 241, 0.03);
}

.status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-badge.pending {
  background: rgba(217, 119, 6, 0.15);
  color: #d97706;
}

.status-badge.approved {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.status-badge.rejected {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.orders-empty-state {
  text-align: center;
  padding: 60px 20px;
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: 12px;
}

.empty-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.empty-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 400px;
  margin: 0 auto;
}

/* Lightbox Modal */
.receipt-lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-close-lightbox {
  position: absolute;
  top: -44px;
  right: 0;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
}

/* ==============================================================================
   FAQ Section
   ============================================================================== */
.membership-faq-section {
  max-width: 960px;
  margin: 0 auto;
}

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

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.faq-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
}

.faq-q {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.faq-a {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ==============================================================================
   Feature Comparison Matrix & Promo Banner
   ============================================================================== */
.pricing-comparison-section {
  max-width: 1140px;
  margin: 80px auto 60px;
}

.section-heading-center {
  text-align: center;
  margin-bottom: 40px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.comparison-table-wrapper {
  overflow-x: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: middle;
}

.comparison-table th {
  background: var(--bg-surface);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
}

.comparison-table th.col-feature {
  width: 40%;
}

.comparison-table th.col-tier {
  width: 20%;
  text-align: center;
}

.comparison-table td.cell-tier {
  text-align: center;
}

.comparison-category-row td {
  background: rgba(99, 102, 241, 0.05);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-primary);
  padding: 12px 20px;
}

[data-theme="dark"] .comparison-category-row td {
  background: rgba(99, 102, 241, 0.12);
  color: #a5b4fc;
}

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

.feature-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.val-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  font-weight: 800;
  font-size: 0.85rem;
}

.val-cross {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  font-weight: 700;
  font-size: 0.85rem;
}

.val-text-strong {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}

.val-badge-pro {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(99, 102, 241, 0.15);
  color: #6366f1;
}

.val-badge-ultra {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(14, 165, 233, 0.15);
  color: #0ea5e9;
}

/* Promo Voucher Banner */
.promo-voucher-banner {
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(219, 39, 119, 0.08) 100%), var(--bg-surface);
  border: 1.5px dashed rgba(99, 102, 241, 0.4);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 64px auto;
  max-width: 1140px;
}

.promo-banner-content h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 6px;
}

.promo-banner-content p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
}

.promo-banner-action .btn {
  white-space: nowrap;
}

/* Payment Methods Grid */
.accepted-payments-section {
  text-align: center;
  margin: 60px auto 40px;
  max-width: 900px;
}

.payments-grid-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.payment-brand-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: all var(--transition-fast);
}

.payment-brand-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-sm);
}

.payment-brand-icon {
  font-size: 1.8rem;
}

.payment-brand-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
}

.payment-brand-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}
/* Responsive Layout Rules */
@media (max-width: 992px) {
  .membership-plans-grid {
    grid-template-columns: 1fr;
  }
  .checkout-dual-grid {
    grid-template-columns: 1fr;
  }
  .summary-card {
    position: static;
  }
  .checkout-hero-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .payment-methods-selector {
    grid-template-columns: 1fr;
  }
  .form-grid-2col {
    grid-template-columns: 1fr;
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .payments-grid-cards {
    grid-template-columns: 1fr 1fr;
  }
  .promo-voucher-banner {
    flex-direction: column;
    text-align: center;
  }
  .membership-hero-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 640px) {
  .checkout-main-wrap {
    padding: 16px 12px 60px;
  }
  .pane-card {
    padding: 18px 14px;
  }
  .checkout-plan-selector-bar {
    grid-template-columns: 1fr;
  }
  .checkout-top-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .checkout-main-heading {
    font-size: 1.65rem;
  }
  .auth-notice-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .auth-notice-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

