/* ============================================
   ATENA CRYPTO — UPGRADE / PREMIUM
   Full upgrade page styles
   ============================================ */

/* ── Hero ── */
.upgrade-hero {
  position: relative; overflow: hidden;
  padding: 5rem 3rem 3rem; text-align: center;
  background: linear-gradient(180deg, rgba(0,60,120,0.25) 0%, transparent 100%);
}
.upgrade-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(0,180,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,180,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
}
.upgrade-glow {
  position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none;
}
.upgrade-glow-1 { width: 600px; height: 400px; background: rgba(0,120,220,0.2); top: -150px; left: 50%; transform: translateX(-50%); }
.upgrade-glow-2 { width: 300px; height: 300px; background: rgba(0,220,180,0.12); bottom: -50px; right: 10%; }

.upgrade-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(0,212,255,0.1); border: 1px solid rgba(0,212,255,0.3);
  color: var(--aqua-bright); font-family: var(--font-mono); font-size: 0.7rem;
  padding: 0.3rem 1rem; border-radius: 100px; margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}
.upgrade-badge .ubadge-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--aqua-bright);
  box-shadow: 0 0 8px var(--aqua-bright); animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; box-shadow: 0 0 8px var(--aqua-bright); }
  50% { opacity:0.4; box-shadow: 0 0 2px var(--aqua-bright); }
}
.upgrade-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 900; letter-spacing: -0.04em;
  line-height: 1.05; margin-bottom: 1rem;
  background: linear-gradient(150deg, #ffffff 0%, #c0e8ff 40%, var(--aqua-bright) 70%, var(--mint) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.upgrade-hero p {
  color: var(--text-dim); font-size: 1.05rem; max-width: 520px;
  margin: 0 auto 2.5rem; line-height: 1.75;
}

/* ── Billing toggle ── */
.billing-toggle {
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: rgba(0,50,90,0.4); border: 1px solid rgba(0,180,255,0.15);
  border-radius: 100px; padding: 0.3rem; margin-bottom: 3rem;
  backdrop-filter: blur(10px);
}
.billing-opt {
  padding: 0.45rem 1.25rem; border-radius: 100px; font-size: 0.85rem;
  font-weight: 600; cursor: pointer; transition: all 0.22s; color: var(--text-dim);
  position: relative;
}
.billing-opt.active {
  background: linear-gradient(135deg, #0090c2, #00ccf5);
  color: #011820;
  box-shadow: 0 2px 12px rgba(0,212,255,0.35), inset 0 1px 0 rgba(255,255,255,0.3);
}
.billing-save {
  font-family: var(--font-mono); font-size: 0.6rem; font-weight: 700;
  background: var(--mint); color: #012020; padding: 0.15rem 0.55rem;
  border-radius: 100px; margin-left: 0.3rem; vertical-align: middle;
}

/* ── Plan cards ── */
.plans-grid {
  display: flex; justify-content: center; gap: 1.25rem;
  padding: 0 3rem 4rem; flex-wrap: wrap;
}
.plan-card {
  background: rgba(255,255,255,0.055);
  backdrop-filter: blur(22px) saturate(1.5);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 26px; padding: 2.25rem;
  width: 300px; position: relative;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 8px 32px rgba(0,0,0,0.25);
  transition: transform 0.2s;
}
.plan-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.28), transparent);
  border-radius: 26px 26px 0 0;
}
.plan-card:hover { transform: translateY(-4px); }
.plan-card.plan-premium {
  border-color: rgba(0,212,255,0.35);
  background: linear-gradient(145deg, rgba(0,80,140,0.3), rgba(0,30,70,0.3));
  box-shadow: inset 0 1px 0 rgba(0,212,255,0.2),
    0 12px 50px rgba(0,70,160,0.3), 0 0 50px rgba(0,150,255,0.08);
}
.plan-popular {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, #0090bb, #00d4ff);
  color: #011820; font-family: var(--font-mono); font-size: 0.6rem; font-weight: 700;
  padding: 0.22rem 1.1rem; border-radius: 100px; text-transform: uppercase;
  letter-spacing: 0.1em; white-space: nowrap;
  box-shadow: 0 2px 12px rgba(0,212,255,0.4), inset 0 1px 0 rgba(255,255,255,0.4);
}
.plan-name { font-size: 0.85rem; font-weight: 600; color: var(--text-dim); margin-bottom: 0.35rem; }
.plan-price {
  font-size: 3rem; font-weight: 900; letter-spacing: -0.05em;
  line-height: 1; margin-bottom: 0.25rem;
}
.plan-price.free-price { color: var(--text); }
.plan-price.premium-price {
  background: linear-gradient(135deg, var(--aqua-bright), var(--mint));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.plan-period { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-faint); margin-bottom: 1.5rem; }
.plan-divider { height: 1px; background: rgba(0,180,255,0.1); margin-bottom: 1.25rem; }
.plan-features { list-style: none; margin-bottom: 1.75rem; display: flex; flex-direction: column; gap: 0.6rem; }
.plan-features li {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.875rem; color: var(--text-dim);
}
.plan-features li .pf-icon { font-size: 0.75rem; flex-shrink: 0; width: 1rem; text-align: center; }
.plan-features li.pf-highlight { color: var(--text); font-weight: 500; }
.plan-features li.pf-locked { opacity: 0.4; }

/* ── Waitlist / CTA ── */
.waitlist-form {
  display: flex; gap: 0.6rem; flex-direction: column;
}
.wl-input {
  width: 100%; background: rgba(0,40,80,0.5);
  border: 1px solid rgba(0,180,255,0.2); border-radius: 10px;
  padding: 0.65rem 1rem; color: var(--text); font-family: var(--font-display);
  font-size: 0.875rem; outline: none; transition: border-color 0.2s, box-shadow 0.2s;
  backdrop-filter: blur(8px);
}
.wl-input:focus { border-color: rgba(0,212,255,0.5); box-shadow: 0 0 0 3px rgba(0,212,255,0.1); }
.wl-success {
  background: rgba(0,255,179,0.1); border: 1px solid rgba(0,255,179,0.25);
  border-radius: 10px; padding: 0.75rem 1rem; font-size: 0.85rem; color: var(--mint);
  text-align: center; display: none; animation: fadeUp 0.4s ease;
}
.wl-success.show { display: block; }
@keyframes fadeUp {
  from { opacity:0; transform: translateY(6px); }
  to   { opacity:1; transform: translateY(0); }
}

/* ── What's included section ── */
.included-section {
  max-width: 1100px; margin: 0 auto; padding: 0 3rem 5rem;
}
.included-title {
  text-align: center; font-size: 1.8rem; font-weight: 900;
  letter-spacing: -0.03em; margin-bottom: 0.5rem;
  background: linear-gradient(140deg, #fff, var(--aqua));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.included-sub { text-align: center; color: var(--text-dim); font-size: 0.9rem; margin-bottom: 2.5rem; }
.included-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.included-card {
  background: rgba(255,255,255,0.055);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px; padding: 1.5rem;
  position: relative; overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
  transition: all 0.2s;
}
.included-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
}
.included-card:hover { border-color: rgba(0,212,255,0.25); transform: translateY(-2px); }
.ic-icon { font-size: 1.75rem; margin-bottom: 0.65rem; }
.ic-title { font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: 0.35rem; }
.ic-desc { font-size: 0.82rem; color: var(--text-dim); line-height: 1.6; }
.ic-badge {
  margin-top: 0.75rem; display: inline-block;
  font-family: var(--font-mono); font-size: 0.6rem; padding: 0.15rem 0.6rem;
  border-radius: 100px; text-transform: uppercase; letter-spacing: 0.08em;
  background: rgba(0,212,255,0.1); color: var(--aqua-bright);
  border: 1px solid rgba(0,212,255,0.2);
}

/* ── Comparison table ── */
.compare-section {
  max-width: 780px; margin: 0 auto; padding: 0 3rem 5rem;
}
.compare-title {
  text-align: center; font-size: 1.6rem; font-weight: 900;
  letter-spacing: -0.03em; margin-bottom: 2rem;
  background: linear-gradient(140deg, #fff, var(--aqua));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table thead th {
  padding: 0.75rem 1rem; text-align: center;
  font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text-faint);
  border-bottom: 1px solid rgba(0,180,255,0.1);
}
.compare-table thead th.th-premium {
  color: var(--aqua-bright);
  background: rgba(0,212,255,0.05);
  border-radius: 10px 10px 0 0;
}
.compare-table tbody td {
  padding: 0.75rem 1rem; font-size: 0.875rem; color: var(--text-dim);
  border-bottom: 1px solid rgba(0,180,255,0.05);
}
.compare-table tbody td:first-child { font-weight: 500; color: var(--text); }
.compare-table tbody td:not(:first-child) { text-align: center; }
.compare-table tbody td.td-premium { background: rgba(0,212,255,0.03); }
.cmp-yes { color: var(--mint); font-size: 1rem; }
.cmp-no  { color: var(--text-faint); font-size: 1rem; opacity: 0.5; }
.cmp-partial { color: var(--gold); font-size: 0.75rem; font-family: var(--font-mono); }

/* ── Social proof ── */
.social-section {
  max-width: 860px; margin: 0 auto; padding: 0 3rem 5rem; text-align: center;
}
.social-title {
  font-size: 1.2rem; font-weight: 700; color: var(--text-dim); margin-bottom: 1.5rem;
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--aqua);
}
.testimonials { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.testimonial {
  background: rgba(255,255,255,0.05); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 16px;
  padding: 1.25rem; text-align: left;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}
.t-quote { font-size: 0.875rem; color: var(--text-dim); line-height: 1.65; margin-bottom: 1rem; font-style: italic; }
.t-author { display: flex; align-items: center; gap: 0.6rem; }
.t-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--aqua-soft), rgba(0,255,179,0.2));
  border: 1px solid rgba(0,212,255,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
}
.t-name { font-size: 0.8rem; font-weight: 700; color: var(--text); }
.t-role { font-family: var(--font-mono); font-size: 0.62rem; color: var(--text-faint); }

/* ── FAQ ── */
.faq-section { max-width: 680px; margin: 0 auto; padding: 0 3rem 6rem; }
.faq-title {
  text-align: center; font-size: 1.6rem; font-weight: 900;
  letter-spacing: -0.03em; margin-bottom: 2rem;
  background: linear-gradient(140deg, #fff, var(--aqua));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.faq-item {
  background: rgba(255,255,255,0.05); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.1); border-radius: 14px;
  margin-bottom: 0.75rem; overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 1.25rem; cursor: pointer; font-size: 0.9rem;
  font-weight: 600; color: var(--text); transition: background 0.18s;
}
.faq-q:hover { background: rgba(0,180,255,0.05); }
.faq-q .faq-arrow { color: var(--aqua); font-size: 0.8rem; transition: transform 0.25s; }
.faq-q.open .faq-arrow { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s;
  font-size: 0.875rem; color: var(--text-dim); line-height: 1.7;
  padding: 0 1.25rem;
}
.faq-a.open { max-height: 200px; padding: 0 1.25rem 1rem; }

/* ── Sticky bottom CTA bar ── */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 300;
  background: rgba(3,14,28,0.9); backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0,212,255,0.15);
  padding: 0.85rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; transform: translateY(100%); transition: transform 0.35s ease;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.4);
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta-text { font-size: 0.9rem; font-weight: 600; color: var(--text); }
.sticky-cta-sub { font-family: var(--font-mono); font-size: 0.68rem; color: var(--text-faint); }
.sticky-cta-actions { display: flex; gap: 0.75rem; align-items: center; flex-shrink: 0; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .upgrade-hero { padding: 4rem 1.5rem 2rem; }
  .plans-grid { padding: 0 1rem 3rem; }
  .included-section, .compare-section, .social-section, .faq-section { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sticky-cta { flex-direction: column; text-align: center; }
}

/* ================================================
   CHECKOUT MODAL
   ================================================ */

/* Overlay */
.checkout-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(2, 10, 22, 0.85);
  backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
.checkout-overlay.open { opacity: 1; pointer-events: all; }

/* Modal box */
.checkout-modal {
  max-height: 90vh; overflow-y: auto;
  background: rgba(4, 22, 44, 0.98);
  backdrop-filter: blur(30px) saturate(1.6);
  border: 1px solid rgba(0, 212, 255, 0.22);
  border-radius: 26px;
  width: 100%; max-width: 500px;
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.09),
    0 40px 80px rgba(0, 0, 0, 0.7),
    0 0 60px rgba(0, 120, 220, 0.15);
  transform: translateY(20px);
  transition: transform 0.3s ease;
  overflow: hidden;
}
.checkout-overlay.open .checkout-modal { transform: translateY(0); }

.checkout-modal::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,0.5), transparent);
}

/* Header */
.cm-header {
  padding: 1.5rem 1.75rem 1.25rem;
  border-bottom: 1px solid rgba(0,180,255,0.1);
  display: flex; align-items: center; justify-content: space-between;
}
.cm-title {
  font-size: 1.1rem; font-weight: 800; letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff, var(--aqua-bright));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.cm-close {
  width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1); color: var(--text-dim);
  cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center;
  transition: all 0.18s;
}
.cm-close:hover { background: rgba(255,77,109,0.15); color: var(--red); border-color: rgba(255,77,109,0.3); }

/* Order summary strip */
.cm-summary {
  background: rgba(0,212,255,0.05);
  border-bottom: 1px solid rgba(0,180,255,0.1);
  padding: 0.85rem 1.75rem;
  display: flex; justify-content: space-between; align-items: center;
}
.cm-summary-plan { font-size: 0.875rem; font-weight: 600; color: var(--text); }
.cm-summary-plan span { font-family: var(--font-mono); font-size: 0.7rem; color: var(--aqua-bright); margin-left: 0.5rem; }
.cm-summary-price {
  font-size: 1.3rem; font-weight: 900; letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--aqua-bright), var(--mint));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* Payment method tabs */
.cm-tabs {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; border-bottom: 1px solid rgba(0,180,255,0.1);
  padding: 0 1.75rem; padding-top: 1rem;
}
.cm-tab {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.65rem 0.5rem; font-size: 0.875rem; font-weight: 600;
  color: var(--text-dim); cursor: pointer; border-bottom: 2px solid transparent;
  transition: all 0.18s; justify-content: center;
}
.cm-tab:hover { color: var(--text); }
.cm-tab.active { color: var(--aqua-bright); border-bottom-color: var(--aqua-bright); }
.cm-tab-icon { font-size: 1rem; }

/* Form body */
.cm-body { padding: 1.5rem 1.75rem; }
.cm-panel { display: none; }
.cm-panel.active { display: block; }

/* Form fields */
.cm-field { margin-bottom: 1rem; }
.cm-label {
  display: block; font-family: var(--font-mono); font-size: 0.65rem;
  color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.09em;
  margin-bottom: 0.35rem;
}
.cm-input {
  width: 100%; background: rgba(0,40,80,0.5);
  border: 1px solid rgba(0,180,255,0.18); border-radius: 10px;
  padding: 0.65rem 1rem; color: var(--text);
  font-family: var(--font-display); font-size: 0.9rem;
  outline: none; transition: border-color 0.2s, box-shadow 0.2s;
  backdrop-filter: blur(8px);
}
.cm-input:focus { border-color: rgba(0,212,255,0.5); box-shadow: 0 0 0 3px rgba(0,212,255,0.1); }
.cm-input.error { border-color: rgba(255,77,109,0.5); }
.cm-input.success { border-color: rgba(0,255,179,0.4); }
.cm-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.cm-error { font-family: var(--font-mono); font-size: 0.65rem; color: var(--red); margin-top: 0.25rem; display: none; }
.cm-error.show { display: block; }

/* Card brand icons in input */
.cm-card-field { position: relative; }
.cm-card-brands {
  position: absolute; right: 0.75rem; top: 50%; transform: translateY(-50%);
  display: flex; gap: 0.3rem; pointer-events: none;
}
.cm-card-brand {
  font-family: var(--font-mono); font-size: 0.6rem;
  background: rgba(0,80,130,0.6); border: 1px solid rgba(0,180,255,0.15);
  border-radius: 4px; padding: 0.15rem 0.35rem; color: var(--text-faint);
  transition: all 0.2s;
}
.cm-card-brand.active { color: var(--aqua-bright); border-color: rgba(0,212,255,0.3); background: rgba(0,120,180,0.4); }

/* Crypto panel */
.crypto-selector { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin-bottom: 1.25rem; }
.crypto-opt {
  background: rgba(0,50,90,0.4); border: 1px solid rgba(0,180,255,0.15);
  border-radius: 10px; padding: 0.75rem 0.5rem; text-align: center;
  cursor: pointer; transition: all 0.18s;
}
.crypto-opt:hover { border-color: rgba(0,212,255,0.3); background: rgba(0,80,130,0.4); }
.crypto-opt.selected { border-color: var(--aqua-bright); background: rgba(0,100,160,0.35); box-shadow: 0 0 12px rgba(0,212,255,0.15); }
.crypto-opt-icon { font-size: 1.4rem; margin-bottom: 0.3rem; }
.crypto-opt-name { font-size: 0.78rem; font-weight: 600; color: var(--text); }
.crypto-opt-sym { font-family: var(--font-mono); font-size: 0.6rem; color: var(--text-faint); }

.crypto-address-box {
  background: rgba(0,30,60,0.6); border: 1px solid rgba(0,212,255,0.2);
  border-radius: 12px; padding: 1rem;
  display: none;
}
.crypto-address-box.show { display: block; animation: acFadeIn 0.3s ease; }
@keyframes acFadeIn { from{opacity:0;transform:translateY(4px)} to{opacity:1;transform:translateY(0)} }
.cab-label { font-family: var(--font-mono); font-size: 0.62rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.5rem; }
.cab-address {
  font-family: var(--font-mono); font-size: 0.75rem; color: var(--aqua-bright);
  word-break: break-all; line-height: 1.5;
  background: rgba(0,50,90,0.5); border-radius: 8px; padding: 0.6rem 0.75rem;
  cursor: pointer; transition: background 0.18s; position: relative;
}
.cab-address:hover { background: rgba(0,80,120,0.6); }
.cab-copy { font-size: 0.72rem; color: var(--text-faint); margin-top: 0.35rem; }
.cab-amount { font-size: 0.88rem; font-weight: 700; color: var(--mint); margin-top: 0.5rem; }
.cab-timer { font-family: var(--font-mono); font-size: 0.68rem; color: var(--text-faint); margin-top: 0.3rem; }
.cab-timer span { color: var(--gold); }
.cab-simulate {
  margin-top: 0.75rem; width: 100%;
  background: rgba(0,255,179,0.08); border: 1px solid rgba(0,255,179,0.2);
  border-radius: 8px; padding: 0.55rem;
  color: var(--mint); font-size: 0.78rem; font-weight: 600;
  cursor: pointer; transition: all 0.18s; font-family: var(--font-display);
}
.cab-simulate:hover { background: rgba(0,255,179,0.15); }

/* Processing state */
.cm-processing {
  display: none; text-align: center; padding: 2rem 0 1rem;
}
.cm-processing.show { display: block; }
.processing-spinner {
  width: 52px; height: 52px; border-radius: 50%;
  border: 3px solid rgba(0,212,255,0.15);
  border-top-color: var(--aqua-bright);
  animation: spin 0.8s linear infinite;
  margin: 0 auto 1.25rem;
}
@keyframes spin { to { transform: rotate(360deg); } }
.processing-title { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 0.35rem; }
.processing-sub { font-size: 0.82rem; color: var(--text-dim); }
.processing-steps { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.4rem; }
.ps-step {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-faint);
  opacity: 0; animation: fadeStepIn 0.4s ease forwards;
}
.ps-step.done { color: var(--mint); }
.ps-step .ps-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
@keyframes fadeStepIn { to { opacity: 1; } }

/* Success state */
.cm-success {
  display: none; text-align: center; padding: 2rem 1rem 1.5rem;
}
.cm-success.show { display: block; animation: acFadeIn 0.5s ease; }
.success-icon { font-size: 3rem; margin-bottom: 1rem; animation: popIn 0.5s cubic-bezier(0.175,0.885,0.32,1.275); }
@keyframes popIn { from{transform:scale(0)} to{transform:scale(1)} }
.success-title {
  font-size: 1.5rem; font-weight: 900; letter-spacing: -0.03em; margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #fff, var(--aqua-bright));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.success-sub { font-size: 0.875rem; color: var(--text-dim); line-height: 1.65; margin-bottom: 1.5rem; }
.success-features {
  display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; margin-bottom: 1.75rem;
}
.sf-badge {
  font-family: var(--font-mono); font-size: 0.65rem;
  background: rgba(0,212,255,0.08); border: 1px solid rgba(0,212,255,0.2);
  color: var(--aqua-bright); border-radius: 100px; padding: 0.25rem 0.75rem;
}

/* Footer */
.cm-footer {
  padding: 1rem 1.75rem 1.5rem;
  border-top: 1px solid rgba(0,180,255,0.08);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.cm-footer-secure { font-family: var(--font-mono); font-size: 0.62rem; color: var(--text-faint); display: flex; align-items: center; gap: 0.4rem; }
.cm-submit {
  background: linear-gradient(135deg, #0090c2, #00ccf5, #30f0ff);
  color: #011820; font-family: var(--font-display); font-weight: 700; font-size: 0.9rem;
  padding: 0.65rem 1.75rem; border-radius: 100px; border: none; cursor: pointer;
  box-shadow: 0 2px 16px rgba(0,212,255,0.38), inset 0 1px 0 rgba(255,255,255,0.35);
  transition: all 0.2s; position: relative; overflow: hidden; white-space: nowrap;
}
.cm-submit::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.22) 0%, transparent 55%);
  pointer-events: none; border-radius: inherit;
}
.cm-submit:hover { transform: translateY(-1px); box-shadow: 0 5px 24px rgba(0,212,255,0.55); }
.cm-submit:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

@media (max-width: 540px) {
  .checkout-modal { border-radius: 20px 20px 0 0; }
  .checkout-overlay { align-items: flex-end; padding: 0; }
}
