/* ═══════════════════════════════════════════════════════════════
   UMWEKA ACADEMY — Subscription & Pricing CSS
   Extends the homepage design system (umweka.css tokens) — same
   --primary / --accent / --dark-3 / --border / --radius-lg variables,
   same Sora + DM Serif Display fonts, same hero grid+glow pattern.
   Clean single-source rewrite — no duplicate/dead rules.
═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════
   PRICING PAGE
═══════════════════════════════════════════════════════════════ */

/* ── Page Hero — same grid+glow system as the homepage hero ──── */
.sp-page-hero {
    position: relative;
    overflow: hidden;
    padding: 140px 0 64px;
    text-align: center;
}
.sp-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% -10%, rgba(13,110,253,0.22) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 85% 70%, rgba(111,66,193,0.14) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 10% 80%, rgba(245,166,35,0.10) 0%, transparent 60%);
}
.sp-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 40%, black 30%, transparent 100%);
}
.sp-hero-inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }

.sp-hero-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 400;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.15;
}
.sp-hero-title em { font-style: italic; color: var(--accent); }
.sp-hero-sub {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 540px;
    margin: 0 auto 36px;
    line-height: 1.8;
}

/* ── Billing Toggle ──────────────────────────────────────────── */
.sp-billing-toggle {
    display: inline-flex;
    background: rgba(15,23,42,0.6);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 4px;
    gap: 2px;
    flex-wrap: wrap;
    justify-content: center;
}
.sp-billing-btn {
    padding: 9px 20px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    border: none;
    background: transparent;
    font-family: 'Sora', sans-serif;
    transition: all 0.2s;
    position: relative;
    white-space: nowrap;
}
.sp-billing-btn:hover { color: #fff; }
.sp-billing-btn.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 2px 10px rgba(13,110,253,0.4);
}
.sp-billing-save {
    position: absolute;
    top: -8px; right: -6px;
    background: var(--accent);
    color: #0a0e1a;
    font-size: 9px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 100px;
    letter-spacing: 0.3px;
}

/* ── Plans Section / Grid ────────────────────────────────────── */
.sp-plans-section { padding-bottom: 24px; }

.sp-plans-grid {
    display: grid;
    gap: 22px;
    margin-bottom: 64px;
    align-items: start;
}
.sp-plans-count-1 { grid-template-columns: minmax(0,380px); justify-content: center; }
.sp-plans-count-2 { grid-template-columns: repeat(2, 1fr); max-width: 800px; margin-left: auto; margin-right: auto; }
.sp-plans-count-3 { grid-template-columns: repeat(3, 1fr); }
.sp-plans-count-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .sp-plans-count-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
    .sp-plans-count-2, .sp-plans-count-3, .sp-plans-count-4 {
        grid-template-columns: 1fr; max-width: 440px; margin: 0 auto 64px;
    }
}

/* ── Plan Card — glassmorphism per spec ───────────────────────
   background: rgba(15,23,42,0.80); backdrop-filter: blur(12px);
   border: 1px solid rgba(255,255,255,0.08); border-radius: 24px;
   box-shadow: 0 20px 50px rgba(0,0,0,0.30);                      */
.sp-plan-card {
    background: rgba(15,23,42,0.80);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.30);
    padding: 32px 26px;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
}
.sp-plan-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 64px rgba(0,0,0,0.4), 0 0 0 1px var(--plan-color, var(--primary));
    border-color: var(--plan-color, var(--primary));
}
.sp-plan-card.popular {
    border-color: var(--plan-color, var(--primary));
    background: linear-gradient(160deg, rgba(26,34,54,0.85) 0%, rgba(15,23,42,0.80) 100%);
    box-shadow: 0 0 0 1px var(--plan-color, var(--primary)), 0 20px 60px rgba(13,110,253,0.2);
}
.sp-plan-card.current-plan {
    border-color: #4ade80;
    box-shadow: 0 0 0 1px #4ade80, 0 20px 50px rgba(0,0,0,0.3);
}

.sp-badge {
    position: absolute;
    top: -13px; left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 11px; font-weight: 800;
    padding: 4px 16px;
    border-radius: 99px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.sp-badge--popular {
    background: var(--plan-color, var(--primary));
    color: #fff;
    box-shadow: 0 4px 14px rgba(13,110,253,0.45);
}
.sp-badge--current { background: #4ade80; color: #0a0e1a; }

.sp-plan-header { margin-bottom: 18px; text-align: center; }
.sp-plan-icon {
    font-size: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px; height: 52px;
    border-radius: 14px;
    background: rgba(255,255,255,0.05);
    margin-bottom: 12px;
}
.sp-plan-card.popular .sp-plan-icon {
    background: var(--plan-color, var(--primary));
    box-shadow: 0 6px 20px rgba(13,110,253,0.4);
}
.sp-plan-name { font-size: 18px; font-weight: 800; color: #fff; margin-bottom: 5px; }
.sp-plan-tagline { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

.sp-plan-price-block { text-align: center; margin-bottom: 14px; }
.sp-plan-price { display: inline-flex; align-items: baseline; gap: 2px; }
.sp-price-currency { font-size: 20px; font-weight: 700; color: var(--plan-color, var(--primary)); margin-right: 2px; }
.sp-price-amount {
    font-size: 44px; font-weight: 800; color: #fff; line-height: 1;
    font-variant-numeric: tabular-nums;
    display: inline-block;
    transition: transform 0.15s ease, opacity 0.15s ease;
}
.sp-price-period { font-size: 14px; color: var(--text-muted); margin-left: 2px; align-self: flex-end; padding-bottom: 6px; }
.sp-plan-billing { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

.sp-plan-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    margin: 18px 0;
}

.sp-plan-features { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.sp-feature-item { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: #c5d0e6; line-height: 1.4; }
.sp-feature-item.sp-feature--disabled { color: var(--text-faint, #6b7280); opacity: 0.6; }
.sp-feature-icon {
    flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; font-weight: 900; margin-top: 1px;
}
.sp-feature-item:not(.sp-feature--disabled) .sp-feature-icon { background: rgba(74,222,128,0.15); color: #4ade80; }
.sp-feature-item.sp-feature--disabled .sp-feature-icon { background: rgba(255,255,255,0.04); color: var(--text-faint, #6b7280); }

.sp-plan-cta { margin-top: auto; }
.sp-plan-btn {
    display: block; width: 100%; padding: 14px 20px; border-radius: 12px;
    font-size: 13.5px; font-weight: 700; font-family: 'Sora', sans-serif;
    text-decoration: none; text-align: center; cursor: pointer; border: none;
    transition: all 0.2s ease; letter-spacing: 0.2px;
}
.sp-plan-btn--accent {
    background: var(--accent);
    color: #0a0e1a;
    box-shadow: 0 4px 16px rgba(245,166,35,0.35);
}
.sp-plan-btn--accent:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(245,166,35,0.45);
}
.sp-plan-btn--outline {
    border: 1.5px solid rgba(255,255,255,0.14);
    color: #c5d0e6;
    background: transparent;
}
.sp-plan-btn--outline:hover {
    border-color: var(--plan-color, var(--primary));
    color: #fff;
    background: rgba(255,255,255,0.04);
}
.sp-plan-btn--current {
    background: rgba(74,222,128,0.1);
    border: 1.5px solid rgba(74,222,128,0.3);
    color: #4ade80;
    cursor: default;
}

/* ── Trust Strip ───────────────────────────────────────────── */
.sp-trust-strip { padding: 48px 0 80px; border-top: 1px solid var(--border); margin-top: 16px; }
.sp-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
@media (max-width: 768px) { .sp-trust-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (max-width: 480px) { .sp-trust-grid { grid-template-columns: 1fr; } }
.sp-trust-item { padding: 8px; }
.sp-trust-icon { font-size: 28px; margin-bottom: 10px; }
.sp-trust-title { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 5px; }
.sp-trust-desc { font-size: 12px; color: var(--text-muted); line-height: 1.6; }


/* ═══════════════════════════════════════════════════════════════
   CHECKOUT PAGE
═══════════════════════════════════════════════════════════════ */

.sc-page-bg {
    position: fixed; inset: 0; z-index: -2;
    background:
        radial-gradient(ellipse 70% 50% at 50% -10%, rgba(13,110,253,0.18) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 90% 80%, rgba(111,66,193,0.12) 0%, transparent 60%);
}
.sc-page-grid {
    position: fixed; inset: 0; z-index: -1;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 30%, transparent 100%);
}

.sc-wrap { padding: 120px 0 80px; position: relative; z-index: 1; }

.sc-breadcrumb {
    display: flex; align-items: center; gap: 8px;
    font-size: 12px; color: var(--text-muted); margin-bottom: 28px;
}
.sc-breadcrumb a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.sc-breadcrumb a:hover { color: #fff; }
.sc-breadcrumb .current { color: #fff; font-weight: 600; }

.sc-header { text-align: center; max-width: 560px; margin: 0 auto 40px; }
.sc-heading {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 400; color: #fff; line-height: 1.2; margin-bottom: 10px;
}
.sc-heading em { font-style: italic; color: var(--accent); }
.sc-subheading { font-size: 15px; color: var(--text-muted); line-height: 1.7; }

/* ── Premium checkout container — glassmorphism per spec ────── */
.sc-container {
    background: rgba(15,23,42,0.80);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.30);
    max-width: 980px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}
.sc-container::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(13,110,253,0.5), transparent);
}

.sc-grid { display: grid; grid-template-columns: 1fr 360px; }
.sc-left { padding: 36px 36px 36px; border-right: 1px solid var(--border); }
.sc-right { padding: 36px 32px; background: rgba(255,255,255,0.015); }

/* ── Numbered sections ────────────────────────────────────────── */
.sc-section { display: flex; gap: 16px; margin-bottom: 32px; }
.sc-section:last-child { margin-bottom: 0; }
.sc-section-num {
    flex-shrink: 0;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: rgba(13,110,253,0.12);
    border: 1px solid rgba(13,110,253,0.3);
    color: #60a5fa;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 800;
    margin-top: 1px;
}
.sc-section-body { flex: 1; min-width: 0; }
.sc-section-title { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.sc-section-sub { font-size: 12.5px; color: var(--text-muted); margin-bottom: 16px; }

/* ── Plan Summary card ─────────────────────────────────────────── */
.sc-plan-summary-card {
    display: flex; align-items: center; gap: 14px;
    background: rgba(13,110,253,0.08);
    border: 1px solid rgba(13,110,253,0.2);
    border-radius: 14px;
    padding: 16px;
}
.sc-plan-summary-icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: rgba(13,110,253,0.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; flex-shrink: 0;
}
.sc-plan-summary-name { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.sc-plan-summary-desc { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

/* ── Billing Cycle — selectable glow cards ───────────────────── */
.sc-billing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.sc-billing-option { position: relative; }
.sc-billing-option input { position: absolute; opacity: 0; pointer-events: none; }
.sc-billing-option label {
    display: block;
    position: relative;
    background: rgba(255,255,255,0.03);
    border: 1.5px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 14px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.sc-billing-option label:hover { border-color: rgba(13,110,253,0.35); background: rgba(13,110,253,0.05); transform: translateY(-1px); }
.sc-billing-option input:checked + label {
    border-color: var(--primary);
    background: rgba(13,110,253,0.1);
    box-shadow: 0 0 0 3px rgba(13,110,253,0.18), 0 8px 20px rgba(13,110,253,0.15);
    transform: translateY(-1px);
}
.sc-billing-check {
    position: absolute; top: 10px; right: 10px;
    width: 18px; height: 18px; border-radius: 50%;
    background: var(--primary);
    color: #fff; font-size: 10px; font-weight: 900;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transform: scale(0.6);
    transition: all 0.2s ease;
}
.sc-billing-option input:checked + label .sc-billing-check { opacity: 1; transform: scale(1); }
.sc-billing-period { font-size: 13.5px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.sc-billing-price { font-size: 12px; color: var(--text-muted); }
.sc-billing-save-tag {
    position: absolute; top: -8px; left: 12px;
    background: var(--accent); color: #0a0e1a;
    font-size: 9px; font-weight: 800; padding: 2px 7px;
    border-radius: 100px; letter-spacing: 0.2px;
}

/* ── Payment Method tabs ──────────────────────────────────────── */
.sc-tab-bar { display: flex; gap: 8px; margin-bottom: 18px; }
.sc-tab {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
    padding: 12px; border-radius: 12px;
    font-size: 12.5px; font-weight: 700; font-family: 'Sora', sans-serif;
    cursor: pointer; border: 1.5px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.03); color: var(--text-muted);
    transition: all 0.2s ease;
}
.sc-tab-icon { font-size: 14px; }
.sc-tab:not(.sc-tab--disabled):hover { background: rgba(255,255,255,0.07); color: #fff; border-color: rgba(255,255,255,0.18); }
.sc-tab--active {
    background: var(--primary); border-color: var(--primary); color: #fff;
    box-shadow: 0 4px 14px rgba(13,110,253,0.35);
}
.sc-tab--disabled { opacity: 0.4; cursor: not-allowed; }

/* ── Accepted payment chips ──────────────────────────────────── */
.sc-accepted-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.sc-accepted-chip {
    background: rgba(255,255,255,0.04); border: 1px solid var(--border);
    border-radius: 8px; padding: 5px 11px; font-size: 11px; color: var(--text-muted);
}

/* ── Mobile money network cards ──────────────────────────────── */
.sc-network-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.sc-network-card {
    padding: 14px; border-radius: 14px; border: 1.5px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03); cursor: pointer; text-align: center;
    transition: all 0.2s ease;
}
.sc-network-card:hover { border-color: rgba(255,255,255,0.4); transform: translateY(-1px); }
.sc-network--active {
    border-color: var(--primary);
    background: rgba(13,110,253,0.1);
    box-shadow: 0 0 0 3px rgba(13,110,253,0.18);
}
.sc-network-logo {
    display: inline-block; font-size: 11px; font-weight: 900;
    padding: 3px 9px; border-radius: 5px; margin-bottom: 6px;
}
.sc-network-name { font-size: 12.5px; color: #fff; font-weight: 600; }

.sc-phone-field { margin-bottom: 16px; }
.sc-phone-field label { font-size: 12px; color: #8b9bba; display: block; margin-bottom: 6px; }
.sc-phone-field input {
    width: 100%; padding: 13px 14px;
    background: rgba(255,255,255,0.05); border: 1.5px solid rgba(255,255,255,0.1);
    border-radius: 12px; color: #fff; font-size: 14px; outline: none;
    letter-spacing: 1px; font-family: monospace; transition: border-color 0.2s;
}
.sc-phone-field input:focus { border-color: var(--primary); }
.sc-phone-hint { font-size: 11px; color: var(--text-faint, #6b7280); margin-top: 5px; }

.sc-status { padding: 12px; border-radius: 10px; font-size: 13px; text-align: center; margin-top: 10px; }
.sc-status--error { background: rgba(239,68,68,0.1); color: #f87171; }

/* ── Proceed To Payment button — homepage orange accent CTA ───── */
.sc-pay-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; margin-top: 4px; padding: 15px;
    background: var(--accent); color: #0a0e1a;
    border: none; border-radius: 12px;
    font-size: 14.5px; font-weight: 700; font-family: 'Sora', sans-serif;
    cursor: pointer; box-shadow: 0 6px 20px rgba(245,166,35,0.35);
    transition: all 0.2s ease;
}
.sc-pay-btn:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 8px 26px rgba(245,166,35,0.45); }
.sc-pay-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.sc-pay-btn--momo { background: var(--accent); }

.sc-secure-note {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    font-size: 11px; color: rgba(255,255,255,0.3); margin-top: 12px; text-align: center;
}

.sc-user-note {
    font-size: 12px; color: var(--text-muted); line-height: 1.6;
    padding-top: 4px; border-top: 1px solid var(--border); margin-top: 4px;
}
.sc-user-note strong { color: #fff; }

/* ── Order Summary (right column) ────────────────────────────── */
.sc-summary-title { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 18px; }
.sc-summary-plan {
    display: flex; align-items: center; gap: 12px; padding: 14px;
    background: rgba(13,110,253,0.08); border: 1px solid rgba(13,110,253,0.2);
    border-radius: 12px; margin-bottom: 18px;
}
.sc-summary-icon {
    width: 42px; height: 42px; border-radius: 11px;
    background: rgba(13,110,253,0.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; flex-shrink: 0;
}
.sc-summary-plan-name { font-size: 14px; font-weight: 700; color: #fff; }
.sc-summary-plan-billing { font-size: 11.5px; color: var(--text-muted); }

.sc-summary-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-muted); padding: 7px 0; }
.sc-summary-row.total {
    border-top: 1px solid var(--border); margin-top: 8px; padding-top: 16px;
    font-size: 17px; font-weight: 700; color: #fff;
}
.sc-summary-row.total span:last-child { color: var(--accent); }

.sc-terms-note {
    font-size: 10.5px; color: rgba(255,255,255,0.22); text-align: center;
    margin-top: 22px; line-height: 1.7;
}


/* ═══════════════════════════════════════════════════════════════
   MANAGE SUBSCRIPTION (dashboard) — unchanged, out of scope
═══════════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════════
   MANAGE SUBSCRIPTION (dashboard)
═══════════════════════════════════════════════════════════════ */
.sm-grid { display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: start; }

.sm-active-card {
    background: var(--dark-3);
    border: 1px solid rgba(74,222,128,0.25);
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}
.sm-active-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4ade80, #22c55e);
}
.sm-plan-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}
.sm-plan-name { font-size: 26px; font-weight: 800; color: #fff; margin-bottom: 4px; }
.sm-plan-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 100px;
}
.sm-plan-status.active   { background: rgba(74,222,128,0.12); color: #4ade80; }
.sm-plan-status.expired  { background: rgba(248,113,113,0.1); color: #f87171; }
.sm-plan-status.cancelled{ background: rgba(255,255,255,0.06); color: var(--text-muted); }

.sm-details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}
.sm-detail-item {}
.sm-detail-label { font-size: 11px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 4px; }
.sm-detail-value { font-size: 15px; font-weight: 700; color: #fff; }
.sm-detail-value.warning { color: var(--accent); }
.sm-detail-value.danger  { color: #f87171; }

.sm-expiry-bar {
    margin-bottom: 20px;
}
.sm-expiry-label {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.sm-expiry-track {
    height: 6px;
    background: rgba(255,255,255,0.07);
    border-radius: 100px;
    overflow: hidden;
}
.sm-expiry-fill {
    height: 100%;
    border-radius: 100px;
    background: linear-gradient(90deg, #4ade80, #22c55e);
    transition: width 1s ease;
}
.sm-expiry-fill.low { background: linear-gradient(90deg, var(--accent), #f97316); }
.sm-expiry-fill.critical { background: linear-gradient(90deg, #f87171, #ef4444); }

.sm-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.sm-btn {
    padding: 9px 20px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    font-family: 'Sora', sans-serif;
    cursor: pointer;
    text-decoration: none;
    border: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.sm-btn.primary { background: var(--primary); color: #fff; }
.sm-btn.primary:hover { background: var(--primary-dark); }
.sm-btn.danger { background: rgba(248,113,113,0.1); color: #f87171; border: 1px solid rgba(248,113,113,0.25); }
.sm-btn.danger:hover { background: rgba(248,113,113,0.18); }

/* History table */
.sm-history-table { width: 100%; border-collapse: collapse; }
.sm-history-table th {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}
.sm-history-table td {
    font-size: 13px;
    color: var(--text-muted);
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}
.sm-history-table tr:last-child td { border-bottom: none; }
.sm-history-table tr:hover td { background: rgba(255,255,255,0.02); }

.sm-status-pill {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 100px;
    text-transform: uppercase;
}
.sm-status-pill.active    { background: rgba(74,222,128,0.12); color: #4ade80; }
.sm-status-pill.expired   { background: rgba(255,255,255,0.06); color: var(--text-muted); }
.sm-status-pill.cancelled { background: rgba(248,113,113,0.08); color: #f87171; }

/* No sub state */
.sm-no-sub {
    background: var(--dark-3);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 48px 32px;
    text-align: center;
    margin-bottom: 20px;
}
.sm-no-sub-icon { font-size: 48px; margin-bottom: 16px; }
.sm-no-sub h3 { font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.sm-no-sub p  { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; line-height: 1.7; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — 320 / 375 / 414 / tablet / desktop
═══════════════════════════════════════════════════════════════ */

/* Tablet */
@media (max-width: 960px) {
    .sc-grid     { grid-template-columns: 1fr; }
    .sc-left     { border-right: none; border-bottom: 1px solid var(--border); }
    .sm-grid     { grid-template-columns: 1fr; }
    .sm-details-grid { grid-template-columns: 1fr 1fr; }
}

/* Mobile (414 and below) */
@media (max-width: 480px) {
    .sp-page-hero      { padding: 120px 0 48px; }
    .sp-billing-toggle { gap: 0; }
    .sp-billing-btn    { padding: 8px 12px; font-size: 12px; }
    .sp-plan-card      { padding: 26px 20px; }

    .sc-wrap           { padding: 100px 0 60px; }
    .sc-left, .sc-right{ padding: 24px 20px; }
    .sc-billing-grid   { grid-template-columns: 1fr; }
    .sc-network-grid   { grid-template-columns: 1fr 1fr; }
    .sc-section        { gap: 12px; }
    .sm-details-grid   { grid-template-columns: 1fr; }

    .sc-heading        { font-size: 26px; }
}

/* Small phones (375 and below) */
@media (max-width: 375px) {
    .sp-hero-title { font-size: 28px; }
    .sc-left, .sc-right { padding: 20px 16px; }
    .sc-section-num { width: 24px; height: 24px; font-size: 11px; }
}

/* Very small phones (320) */
@media (max-width: 340px) {
    .sp-billing-toggle  { flex-direction: column; width: 100%; border-radius: 16px; }
    .sp-billing-btn     { width: 100%; }
    .sc-tab-bar         { flex-direction: column; }
}

/* Touch target comfort on all mobile */
@media (max-width: 768px) {
    .sc-billing-option label, .sc-network-card, .sc-tab, .sp-plan-btn, .sc-pay-btn {
        min-height: 44px;
    }
}

/* ── Stage 11: Paylink result page ───────────────────────────── */
.paylink-result-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 48px 24px;
}
.paylink-result-card {
    background: var(--dark-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    max-width: 440px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-lg);
}
.paylink-result-card--success { border-color: var(--success-border); }
.paylink-result-card--pending  { border-color: rgba(245,158,11,0.25); }
.paylink-result-icon  { font-size: 56px; margin-bottom: 16px; display: block; }
.paylink-result-title { font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 8px; }
.paylink-result-desc  { font-size: 14px; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
.paylink-result-ref {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 14px;
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--text-muted);
}
.paylink-result-ref-label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--text-muted);
    margin-bottom: 4px;
    font-weight: 700;
}
.paylink-result-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 4px;
}

/* ── Subscription Coupon ── */
.sc-coupon-wrap  { margin: 8px 0 4px; }
.sc-coupon-row   { display:flex;gap:6px; }
.sc-coupon-input {
    flex:1;background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.1);border-radius:9px;
    color:#e2e8f0;font-size:12px;font-family:inherit;
    padding:9px 12px;outline:none;transition:border-color .2s;
    text-transform:uppercase;letter-spacing:.06em;
}
.sc-coupon-input:focus { border-color:rgba(13,110,253,.4); }
.sc-coupon-input::placeholder { text-transform:none;letter-spacing:0;color:rgba(255,255,255,.2); }
.sc-coupon-btn {
    background:rgba(13,110,253,.15);border:1px solid rgba(13,110,253,.3);
    color:#60a5fa;font-size:12px;font-weight:700;font-family:inherit;
    padding:9px 14px;border-radius:9px;cursor:pointer;white-space:nowrap;
    transition:all .15s;
}
.sc-coupon-btn:hover { background:rgba(13,110,253,.25); }
.sc-coupon-msg { font-size:11px;font-weight:600;margin-top:5px;min-height:16px; }
.sc-coupon-msg.success { color:#4ade80; }
.sc-coupon-msg.error   { color:#f87171; }
.sc-coupon-msg.info    { color:var(--text-muted); }
.sc-discount-row span:last-child { color:#4ade80;font-weight:700; }
