@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
:root{
 --bg:#f8fafc;--white:#fff;--text:#111827;--muted:#64748b;--line:#e5e7eb;
 --primary:#5b4bee;--primary2:#6d5df5;--soft:#f0efff;--success:#10b981;
 --warning:#f59e0b;--danger:#ef4444;--navy:#111827;--shadow:0 18px 50px rgba(15,23,42,.08);
}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;background:var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,sans-serif;line-height:1.55;display:flex;flex-direction:column}
a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}button{cursor:pointer}
.topbar{height:74px;background:rgba(255,255,255,.94);backdrop-filter:blur(10px);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 6%;position:sticky;top:0;z-index:20}
.brand{font-size:21px;font-weight:800;letter-spacing:-.7px}.topnav{display:flex;align-items:center;gap:28px;color:#475569;font-size:14px;font-weight:600}.topnav a:hover{color:var(--primary)}
.btn{border:1px solid transparent;border-radius:10px;padding:12px 18px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:.2s}.btn-primary{background:var(--primary);color:white;box-shadow:0 8px 20px rgba(91,75,238,.2)}.btn-primary:hover{background:#4f42d6;transform:translateY(-1px)}.btn-dark{background:#111827;color:#fff}.btn-outline{background:#fff;border-color:var(--line);color:#1f2937}.btn-outline:hover{border-color:#c7cbe2;background:#fafafa}.btn-danger{background:#fff;border-color:#fecaca;color:#dc2626}.btn-sm{padding:8px 11px;font-size:12px}.btn-lg{padding:14px 24px}.btn-full{width:100%}
.hero{min-height:570px;padding:78px 8% 70px;display:grid;grid-template-columns:1.1fr .9fr;gap:70px;align-items:center;background:linear-gradient(110deg,#fff 45%,#eef7ff)}
.hero-copy{max-width:720px}.eyebrow{text-transform:uppercase;letter-spacing:1.8px;color:var(--primary);font-size:11px;font-weight:800;margin-bottom:12px}.hero h1{font-size:66px;line-height:1.01;letter-spacing:-3.5px;margin:0 0 25px;font-weight:800}.hero h1 span{color:var(--primary)}.hero p{color:var(--muted);font-size:18px;max-width:650px}.hero-actions{display:flex;gap:12px;margin:30px 0}.hero-note{display:flex;align-items:center;gap:8px;color:#64748b;font-size:13px}.hero-note span{width:24px;height:24px;border-radius:50%;display:inline-grid;place-items:center;background:#eef0ff;color:var(--primary);font-weight:800}.hero-card{background:#fff;border:1px solid #e8eaf0;border-radius:24px;padding:24px;box-shadow:var(--shadow);max-width:500px}.preview-top{background:#111827;color:#fff;border-radius:16px;padding:18px;display:flex;gap:12px;align-items:center}.avatar{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:#9b83f8;font-weight:800;font-size:20px}.preview-top small,.preview-top b{display:block}.preview-top small{color:#cbd5e1;font-size:11px}.preview-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:14px}.preview-stat,.preview-support{border:1px solid var(--line);border-radius:16px;padding:20px}.preview-stat small,.preview-support small{color:#64748b}.preview-stat strong{display:block;font-size:24px;margin:6px 0}.preview-stat span{font-size:12px;color:#64748b}.preview-support{margin-top:14px}.preview-support p{font-size:13px;color:#334155;margin:5px 0}
.section{padding:90px 8%}.section-heading{text-align:center;max-width:700px;margin:0 auto 45px}.section-heading h1,.section-heading h2{font-size:40px;letter-spacing:-1.8px;margin:0 0 10px}.section-heading p{color:var(--muted)}.feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;max-width:1100px;margin:auto}.feature-grid article{background:#fff;border:1px solid var(--line);border-radius:18px;padding:25px;box-shadow:0 8px 25px rgba(15,23,42,.03)}.feature-grid b{color:var(--primary);font-size:12px}.feature-grid h3{margin:12px 0 6px}.feature-grid p{color:var(--muted);font-size:14px}
.footer{margin-top:auto;padding:35px 8%;border-top:1px solid var(--line);color:#64748b;font-size:13px;background:#fff;text-align:center}.footer-links{justify-content:center}
.center-page{min-height:calc(100vh - 74px);display:grid;place-items:center;padding:40px}.auth-card{width:min(440px,100%);background:#fff;border:1px solid var(--line);border-radius:22px;padding:32px;box-shadow:var(--shadow)}.auth-card h1{font-size:30px;letter-spacing:-1px;margin:0 0 5px}.muted{color:var(--muted)}.form-stack{display:grid;gap:14px}.form-stack label{display:grid;gap:7px;font-size:13px;font-weight:600;color:#334155}.form-stack input,.form-stack textarea,.inline-form input,.credit-form input{width:100%;border:1px solid #dfe3eb;border-radius:10px;padding:11px 12px;outline:0;background:#fff;color:var(--text)}.form-stack input:focus,.form-stack textarea:focus{border-color:#9b91f7;box-shadow:0 0 0 3px #eeecff}.auth-foot{font-size:13px;text-align:center;color:#64748b}.auth-foot a{color:var(--primary);font-weight:700}
.flash{margin:15px 6%;padding:12px 15px;border-radius:10px;font-size:13px;border:1px solid}.flash.success{background:#ecfdf5;border-color:#a7f3d0;color:#047857}.flash.error{background:#fef2f2;border-color:#fecaca;color:#b91c1c}.flash.warning{background:#fffbeb;border-color:#fde68a;color:#b45309}
.pricing-page{max-width:1200px;margin:auto}.pricing-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.price-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:30px;box-shadow:0 10px 30px rgba(15,23,42,.04)}.price{font-size:42px;font-weight:800;margin:15px 0}.credit-big{font-size:18px;font-weight:700;color:var(--primary)}.price-card p{color:var(--muted);min-height:45px}
.dashboard-wrap{max-width:1250px;margin:0 auto;padding:45px 5% 70px}.dashboard-wrap.narrow{max-width:950px}.dash-head{display:flex;align-items:end;justify-content:space-between;gap:25px;margin-bottom:30px}.dash-head h1{font-size:38px;letter-spacing:-1.6px;margin:0 0 5px}.dash-head p{margin:0;color:var(--muted)}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:20px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:17px;padding:22px}.stat-card small{display:block;color:#64748b}.stat-card strong{font-size:30px;letter-spacing:-1px;display:block;margin:6px 0}.stat-card span{font-size:12px;color:#94a3b8}.dash-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:18px;margin-bottom:18px}.panel{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px;margin-bottom:18px;box-shadow:0 7px 25px rgba(15,23,42,.025)}.panel h2{font-size:18px;margin:0 0 16px}.panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.panel-head a{font-size:12px;color:var(--primary);font-weight:700}.api-box,.api-secret{border:1px dashed #cbd5e1;background:#fafaff;border-radius:12px;padding:14px;font-family:ui-monospace,monospace}.api-box{display:flex;justify-content:space-between}.api-box b{font:600 11px Inter;color:#64748b}.notice{background:#f7f7ff;border:1px solid #ddd9ff;border-radius:13px;padding:14px;margin-bottom:18px;color:#334155}.notice code{display:block;background:#fff;border:1px solid #ddd9ff;border-radius:8px;padding:9px;margin:8px 0;font-family:ui-monospace;font-size:12px;overflow:auto}.notice.success{background:#ecfdf5;border-color:#a7f3d0}.notice.warning{background:#fffbeb;border-color:#fde68a;color:#92400e}.api-status-grid{grid-template-columns:repeat(3,1fr);margin:0}.credit-banner{display:flex;align-items:center;gap:10px;padding:15px;background:var(--soft);border-radius:13px;margin-bottom:18px}.credit-banner b{font-size:26px;color:var(--primary)}.credit-banner span{color:#475569}.credit-banner i{margin-left:auto;font-size:12px;color:#64748b}.submit-meta{display:flex;justify-content:space-between;color:#64748b;font-size:12px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:13px}th,td{text-align:left;padding:13px 10px;border-bottom:1px solid #eef0f3;white-space:nowrap}th{color:#64748b;font-size:11px;text-transform:uppercase;letter-spacing:.5px}td{color:#334155}.badge{display:inline-flex;border-radius:99px;padding:4px 9px;font-size:11px;font-weight:700}.badge.success{background:#ecfdf5;color:#047857}.badge.failed{background:#fef2f2;color:#b91c1c}.badge.pending{background:#fffbeb;color:#b45309}.empty{text-align:center;color:#94a3b8;padding:30px}.truncate{max-width:300px;overflow:hidden;text-overflow:ellipsis}.small{font-size:12px}.clean-list{padding-left:18px;color:#64748b}.clean-list li{margin:7px 0}.code-block{display:block;background:#0f172a;color:#e2e8f0;padding:15px;border-radius:12px;overflow:auto;font-size:12px}.setting-row{display:grid;grid-template-columns:180px 1fr;gap:20px;padding:15px 0;border-bottom:1px solid var(--line)}.setting-row code{word-break:break-all}.narrow-panel{max-width:900px}.inline-form{display:flex;gap:8px}.credit-form{display:flex;gap:6px;min-width:300px}.positive{color:#059669!important;font-weight:700}.negative{color:#dc2626!important;font-weight:700}
.admin-layout{display:grid;grid-template-columns:235px 1fr;min-height:100vh}.sidebar{background:#fff;border-right:1px solid var(--line);padding:24px 16px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column}.sidebar .brand{padding:0 12px 25px}.sidebar .brand span{display:block;font-size:10px;color:var(--primary);text-transform:uppercase;letter-spacing:1px;margin-top:3px}.side-nav{display:grid;gap:5px}.side-nav a{padding:11px 12px;border-radius:10px;color:#64748b;font-size:13px;font-weight:600}.side-nav a:hover{background:var(--soft);color:var(--primary)}.sidebar-bottom{margin-top:auto;border-top:1px solid var(--line);padding:15px 12px;color:#64748b;font-size:12px}.sidebar-bottom a{display:block;color:#dc2626;margin-top:8px}.main-area{padding:0 4% 60px}.mobile-admin-head{display:none;padding:18px 0}.admin-shell .flash{margin:15px 0}
@media(max-width:950px){.hero{grid-template-columns:1fr;padding:55px 6%}.hero h1{font-size:52px}.feature-grid{grid-template-columns:repeat(2,1fr)}.stats-grid{grid-template-columns:repeat(2,1fr)}.dash-grid{grid-template-columns:1fr}.pricing-grid{grid-template-columns:1fr}.admin-layout{grid-template-columns:1fr}.sidebar{display:none}.mobile-admin-head{display:flex;justify-content:space-between;align-items:center}.main-area{padding:0 5% 50px}}
@media(max-width:620px){.topbar{padding:0 18px;height:64px}.topnav{gap:10px;font-size:12px}.topnav a:nth-child(1),.topnav a:nth-child(2){display:none}.hero{padding:45px 20px}.hero h1{font-size:43px;letter-spacing:-2px}.hero p{font-size:16px}.hero-actions{flex-direction:column}.section{padding:60px 20px}.section-heading h1,.section-heading h2{font-size:32px}.feature-grid{grid-template-columns:1fr}.dashboard-wrap{padding:35px 18px}.dash-head{align-items:flex-start;flex-direction:column}.dash-head h1{font-size:30px}.stats-grid{grid-template-columns:1fr 1fr}.stat-card{padding:16px}.stat-card strong{font-size:24px}.credit-banner{flex-wrap:wrap}.credit-banner i{width:100%;margin:0}.preview-grid{grid-template-columns:1fr}.inline-form{width:100%}.credit-form{min-width:0;flex-wrap:wrap}.setting-row{grid-template-columns:1fr}.auth-card{padding:25px}.topnav .btn{padding:9px 11px}.footer{padding:30px 20px}}

.api-limit-card{background:#fff;border:1px solid var(--line);border-radius:17px;padding:20px;margin-bottom:18px}.api-limit-card small{color:#64748b;display:block}.api-limit-card strong{display:block;font-size:27px;letter-spacing:-1px;margin:4px 0 10px}.api-limit-card p{margin:8px 0 0;color:#94a3b8;font-size:12px}.api-progress{height:9px;background:#eeeef8;border-radius:99px;overflow:hidden}.api-progress span{display:block;height:100%;background:linear-gradient(90deg,var(--primary),var(--primary2));border-radius:99px}.actions{display:flex;gap:6px;align-items:center}.footer-links{display:flex;gap:12px;flex-wrap:wrap;margin-top:10px;justify-content:center}.footer-links a{color:var(--primary);font-weight:700;font-size:12px}.mobile-admin-head span{font-size:11px;color:#64748b;margin-left:auto;margin-right:15px}.form-stack select{border:1px solid #dfe3eb;border-radius:10px;padding:11px 12px;background:#fff}

.payment-fields{display:grid;gap:14px}.payment-card{min-height:250px}.payment-detail{display:flex;justify-content:space-between;gap:15px;padding:9px 0;border-bottom:1px solid var(--line);font-size:13px}.payment-detail b{color:#64748b;font-weight:600}.payment-detail span{text-align:right;word-break:break-word}.payment-instructions{color:var(--muted);font-size:13px;white-space:normal}.payment-fields[style*="display:none"]{display:none!important}

/* v7 premium branding, packages and payment UI */
.brand-with-logo{display:flex;align-items:center;gap:10px;min-width:0}.brand-with-logo img{width:34px;height:34px;object-fit:contain;border-radius:9px}.brand-with-logo .brand-name{font-weight:800}.premium-pricing{grid-template-columns:repeat(auto-fit,minmax(255px,1fr));align-items:stretch}.premium-price-card{position:relative;overflow:hidden;padding:30px;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.premium-price-card:hover{transform:translateY(-4px);box-shadow:0 22px 55px rgba(91,75,238,.12)}.premium-price-card.is-featured{border:1.5px solid #8b80f8;box-shadow:0 20px 55px rgba(91,75,238,.14)}.package-badge{display:inline-flex;background:linear-gradient(135deg,#5b4bee,#7c6cf6);color:#fff;border-radius:999px;padding:6px 11px;font-size:11px;font-weight:800;margin-bottom:16px}.package-top{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}.package-top h3{font-size:22px;margin:0}.package-check{width:34px;height:34px;border-radius:11px;background:var(--soft);color:var(--primary);display:grid;place-items:center;font-weight:900}.package-description{min-height:42px;color:var(--muted);font-size:13px;margin:6px 0 0}.premium-price-card .price{font-size:40px;margin:20px 0 0}.price-period{font-size:11px;color:#94a3b8;text-transform:uppercase;letter-spacing:.7px}.premium-price-card .credit-big{margin-top:14px}.package-divider{height:1px;background:var(--line);margin:20px 0}.included-title{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.6px;color:#64748b;margin-bottom:8px}.package-features{list-style:none;padding:0;margin:0 0 24px;display:grid;gap:10px;min-height:115px}.package-features li{font-size:13px;color:#334155;display:flex;gap:9px;align-items:flex-start}.package-features li span{color:#10b981;font-weight:900}.compact-grid{margin-bottom:0}.check-label{display:flex!important;grid-template-columns:none!important;align-items:center;gap:9px!important;padding:10px 0}.check-label input{width:auto!important}.payment-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:15px;margin-bottom:15px}.payment-card-head h3{margin:3px 0 0;font-size:20px}.premium-payment-card{border-radius:22px;box-shadow:0 14px 40px rgba(15,23,42,.06);min-height:0}.mode-badge{display:inline-flex;align-items:center;border-radius:999px;padding:6px 10px;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.5px;white-space:nowrap}.mode-badge.personal{background:#eef2ff;color:#4f46e5}.mode-badge.merchant{background:#ecfdf5;color:#047857}.logo-preview{display:flex;gap:16px;align-items:center;border:1px solid var(--line);background:#fafaff;border-radius:14px;padding:14px}.logo-preview img{width:70px;height:70px;object-fit:contain;background:#fff;border:1px solid var(--line);border-radius:12px;padding:8px}.payment-card .eyebrow{margin-bottom:2px}
@media(max-width:620px){.premium-pricing{grid-template-columns:1fr}.premium-price-card{padding:24px}.package-features{min-height:0}.logo-preview{align-items:flex-start}.logo-preview img{width:58px;height:58px}}
.feature-builder{display:grid;gap:10px}.feature-row{display:grid;grid-template-columns:28px 1fr auto;gap:8px;align-items:center}.feature-row input{margin:0!important}.feature-drag{color:#94a3b8;text-align:center;font-weight:900;user-select:none}.feature-remove{min-width:38px;padding:9px 12px!important;font-size:16px!important}.feature-row+.feature-row{margin-top:1px}.feature-builder .btn{width:max-content}.package-features{min-height:0}.package-features li span{width:18px;height:18px;display:inline-grid;place-items:center;border-radius:50%;background:#ecfdf5;color:#059669;font-size:11px;flex:0 0 18px;margin-top:1px}

/* v11 premium public pricing + payments */
/* v13: match the user dashboard palette exactly */
body.premium-front{background:#0b101b;color:#f8fafc}
body.premium-front .topbar{background:#0d1422;border-bottom:1px solid #1f2a40;color:#e5e7eb}
body.premium-front .brand{color:#f8fafc}
body.premium-front .topnav{color:#b9c4d8}
body.premium-front .topnav a:hover{color:#ffffff}
body.premium-front .footer{background:#0b101b;border-top-color:#1f2a40;color:#8290a8}
body.premium-front .footer-links a{color:#aeb9ce}
body.premium-front .flash{margin-left:6%;margin-right:6%}
.premium-front .pricing-page{width:min(1320px,92%);max-width:none;padding-top:62px;padding-bottom:80px}
.premium-front .pricing-page .section-heading{max-width:850px;margin-bottom:48px}
.premium-front .pricing-page .section-heading h1{color:#fff;font-size:40px}
.premium-front .pricing-page .section-heading p{color:#94a3b8}
.premium-pricing{grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
.premium-front .premium-price-card{background:#141c2f;border:1px solid #27344d;border-radius:18px;padding:30px 28px 28px;box-shadow:0 0 0 1px rgba(99,102,241,.05),0 20px 55px rgba(0,0,0,.24);min-height:410px}
.premium-front .premium-price-card:hover{transform:translateY(-5px);border-color:#34435f;box-shadow:0 24px 60px rgba(0,0,0,.30)}
.premium-front .premium-price-card.is-featured{border-color:#33435f}
.premium-front .package-badge{display:table;margin:-43px auto 18px;background:#182238;color:#fff;border:0;padding:6px 14px;font-size:10px;letter-spacing:.5px;text-transform:uppercase}
.premium-front .package-top h3{color:#fff;font-size:21px}
.premium-front .package-description{color:#94a3b8}
.premium-front .price-line{display:flex;align-items:baseline;gap:6px;margin:20px 0 8px}
.premium-front .premium-price-card .price{color:#fff;font-size:38px;margin:0;line-height:1}
.premium-front .price-period{color:#9aa7c2;text-transform:none;font-size:12px;letter-spacing:0}
.premium-front .credit-big{color:#9aa8c0;margin-top:10px}
.premium-front .package-divider{background:#26334b;margin:18px 0}
.premium-front .included-title{color:#aab5ca}
.premium-front .package-features{gap:11px;margin-bottom:25px}
.premium-front .package-features li{color:#e2e8f0;font-size:13px}
.premium-front .package-features li span{background:transparent;color:#19c995;width:16px;height:16px;font-size:14px;flex-basis:16px}
.premium-front .premium-price-card .btn-primary{background:#12bd8c;box-shadow:0 10px 24px rgba(18,189,140,.20)}
.premium-payment-page{width:min(1320px,92%);margin:0 auto;padding:62px 0 82px;min-height:calc(100vh - 74px)}
.premium-payment-intro{text-align:center;max-width:760px;margin:0 auto 45px}
.premium-payment-intro .eyebrow{color:#8176ff}
.premium-payment-intro h1{font-size:42px;letter-spacing:-1.8px;margin:0 0 10px;color:#fff}
.premium-payment-intro p{color:#94a3b8;margin:0}
.payment-grid{display:grid}
.premium-payment-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;align-items:stretch}
.payment-premium-card{background:#141c2f;border:1px solid #27344d;border-radius:18px;padding:26px;box-shadow:0 18px 48px rgba(0,0,0,.25);min-height:300px;transition:.2s ease}
.payment-premium-card:hover{transform:translateY(-4px);border-color:#34435f;box-shadow:0 24px 58px rgba(0,0,0,.30)}
.payment-brand-row{display:flex;align-items:center;gap:13px;margin-bottom:22px}
.payment-icon{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;background:#192238;border:1px solid #2b3955;color:#fff;font-weight:800;font-size:12px;flex:0 0 48px}
.payment-icon.mobile_wallet{color:#8d82ff;border-color:#554be0;background:#1d1a40;font-size:22px}
.payment-icon.bank{color:#6ee7b7;background:#0d2b27;border-color:#176052}
.payment-icon.binance{color:#fbbf24;background:#302817;border-color:#66521b}
.payment-title-wrap{min-width:0;flex:1}
.payment-name{font-size:19px;font-weight:800;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.payment-type-label{font-size:11px;color:#8f9bb3;margin-top:3px;text-transform:uppercase;letter-spacing:.7px}
.premium-front .mode-badge{border:1px solid rgba(255,255,255,.08);padding:6px 9px}
.premium-front .mode-badge.personal{background:#211e48;color:#a99fff}
.premium-front .mode-badge.merchant{background:#10342d;color:#6ee7b7}
.payment-card-body{border-top:1px solid rgba(148,163,184,.12);padding-top:10px}
.premium-front .payment-detail{border-bottom:1px solid rgba(148,163,184,.10);padding:11px 0;color:#e2e8f0}
.premium-front .payment-detail b{color:#8f9bb3}
.premium-front .payment-detail span{color:#f1f5f9}
.premium-front .payment-instructions{margin:15px 0 0;padding:12px 14px;border-radius:12px;background:#0b1223;color:#aab5ca;font-size:12px}
.payment-empty{grid-column:1/-1;text-align:center;color:#94a3b8;border:1px dashed #334155;border-radius:18px;padding:45px}
@media(max-width:1050px){.premium-pricing,.premium-payment-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.premium-front .pricing-page,.premium-payment-page{width:calc(100% - 32px);padding-top:45px}.premium-pricing,.premium-payment-grid{grid-template-columns:1fr;gap:22px}.premium-front .section-heading h1,.premium-payment-intro h1{font-size:32px}.premium-front .premium-price-card{margin-top:12px}.payment-premium-card{padding:22px}.payment-name{font-size:17px}}


/* v12 exact premium layout fixes */
.premium-front .premium-pricing.single-package{grid-template-columns:minmax(0,380px);justify-content:center}
.premium-front .premium-pricing.single-package .premium-price-card{width:100%;justify-self:center}
.premium-front .premium-price-card{display:flex;flex-direction:column}
.premium-front .premium-price-card .package-features{flex:1 1 auto}
.premium-front .premium-price-card .btn-full{margin-top:auto}
.premium-front .pricing-page{min-height:calc(100vh - 74px)}
.premium-front .premium-payment-page{display:block}
.premium-front .premium-payment-grid{width:100%;}
.premium-front .payment-premium-card{display:flex;flex-direction:column}
.premium-front .payment-card-body{flex:1}
@media(max-width:1050px){.premium-front .premium-pricing.single-package{grid-template-columns:minmax(0,380px)}}
@media(max-width:700px){.premium-front .premium-pricing.single-package{grid-template-columns:1fr}}

/* v14 checkout / package payment flow */
.premium-front .checkout-page{width:min(1280px,92%);margin:0 auto;padding:58px 0 86px;min-height:calc(100vh - 74px)}
.premium-front .checkout-intro{text-align:center;max-width:780px;margin:0 auto 38px}.premium-front .checkout-intro h1{color:#fff;font-size:42px;letter-spacing:-1.8px;margin:0 0 10px}.premium-front .checkout-intro p{color:#94a3b8;margin:0}
.checkout-layout{display:grid;grid-template-columns:360px minmax(0,1fr);gap:28px;align-items:start}.checkout-package{position:sticky;top:24px;background:#141c2f;border:1px solid #27344d;border-radius:20px;padding:28px;box-shadow:0 18px 50px rgba(0,0,0,.25)}.checkout-package h2{color:#fff;font-size:25px;margin:10px 0 8px}.checkout-package>p{color:#94a3b8;font-size:13px;line-height:1.65;margin:0 0 20px}.checkout-badge{display:inline-flex;background:#12bd8c;color:#07151a;border-radius:999px;padding:6px 11px;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.5px}.checkout-price{font-size:40px;font-weight:900;color:#fff;line-height:1}.checkout-price span{font-size:12px;font-weight:600;color:#94a3b8;margin-left:5px}.checkout-credit{color:#12bd8c;font-weight:800;font-size:17px;margin-top:12px}.checkout-divider{height:1px;background:#27344d;margin:22px 0}.checkout-included{font-size:11px;color:#aebbd0;text-transform:uppercase;font-weight:800;letter-spacing:.7px;margin-bottom:12px}.checkout-features{list-style:none;margin:0 0 22px;padding:0;display:grid;gap:10px}.checkout-features li{display:flex;gap:9px;color:#dce4f0;font-size:13px}.checkout-features li span{color:#12bd8c;font-weight:900}.checkout-back{color:#aebbd0;font-size:13px;font-weight:700}.checkout-back:hover{color:#fff}
.checkout-methods{min-width:0}.checkout-methods-head{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:18px}.checkout-methods-head h2{color:#fff;margin:0;font-size:25px}.checkout-count{color:#9eabc0;font-size:12px;border:1px solid #27344d;background:#10182a;border-radius:999px;padding:7px 10px}.checkout-payment-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.checkout-payment-card{background:#141c2f;border:1px solid #27344d;border-radius:18px;padding:22px;box-shadow:0 16px 45px rgba(0,0,0,.22);transition:.2s ease}.checkout-payment-card:hover{transform:translateY(-3px);border-color:#34435f}.checkout-payment-head{display:flex;align-items:center;gap:12px;margin-bottom:18px}.checkout-payment-icon{width:46px;height:46px;border-radius:13px;background:#10283a;color:#12bd8c;display:grid;place-items:center;font-size:11px;font-weight:900;flex:0 0 46px}.checkout-payment-icon.bank{background:#18283a;color:#8ab4ff}.checkout-payment-icon.binance{background:#2c2614;color:#f0bd38}.checkout-payment-title{min-width:0;flex:1;display:grid;gap:3px}.checkout-payment-title strong{color:#fff;font-size:16px}.checkout-payment-title span{color:#8e9bb0;font-size:11px}.checkout-payment-details{display:grid;gap:10px}.checkout-payment-details>div{display:flex;justify-content:space-between;gap:15px;padding:10px 0;border-bottom:1px solid #202b40}.checkout-payment-details b{color:#8e9bb0;font-size:11px}.checkout-payment-details span{color:#e7edf7;font-size:12px;text-align:right;overflow-wrap:anywhere}.checkout-instructions{margin-top:14px;background:#10182a;border:1px solid #27344d;border-radius:12px;padding:12px}.checkout-instructions b{display:block;color:#b9c4d8;font-size:11px;text-transform:uppercase;letter-spacing:.4px;margin-bottom:6px}.checkout-instructions p{color:#dce4f0;font-size:12px;line-height:1.6;margin:0}.checkout-payment-note{margin-top:14px;color:#718096;font-size:11px;line-height:1.5}.checkout-empty{background:#141c2f;border:1px solid #27344d;border-radius:18px;padding:30px;color:#94a3b8;text-align:center}
@media(max-width:1000px){.checkout-layout{grid-template-columns:1fr}.checkout-package{position:relative;top:auto}.checkout-payment-grid{grid-template-columns:1fr}}
@media(max-width:620px){.premium-front .checkout-page{width:calc(100% - 32px);padding-top:42px}.premium-front .checkout-intro h1{font-size:32px}.checkout-package{padding:22px}.checkout-methods-head{align-items:flex-start;flex-direction:column}.checkout-payment-card{padding:18px}.checkout-payment-head{align-items:flex-start}.mode-badge{font-size:9px;padding:5px 8px}}


/* v15: Packages use the public homepage light/purple visual system */
body.pricing-light{background:var(--bg);color:var(--text)}
body.pricing-light .topbar{background:rgba(255,255,255,.94);border-bottom:1px solid var(--line);color:var(--text)}
body.pricing-light .brand{color:var(--text)}
body.pricing-light .topnav{color:#475569}
body.pricing-light .topnav a:hover{color:var(--primary)}
body.pricing-light .footer{background:#fff;border-top-color:var(--line);color:#64748b}
body.pricing-light .footer-links a{color:#475569}
body.pricing-light .pricing-page{width:min(1320px,92%);max-width:none;padding-top:62px;padding-bottom:80px}
body.pricing-light .pricing-page .section-heading{max-width:850px;margin:0 auto 48px;text-align:center}
body.pricing-light .pricing-page .section-heading h1{color:#111827;font-size:40px;letter-spacing:-1.8px}
body.pricing-light .pricing-page .section-heading p{color:#64748b}
body.pricing-light .premium-pricing{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
body.pricing-light .premium-price-card{background:#fff;border:1px solid #e5e7eb;border-radius:20px;padding:30px 28px 28px;box-shadow:0 12px 36px rgba(15,23,42,.07);min-height:410px;color:#111827}
body.pricing-light .premium-price-card:hover{transform:translateY(-5px);border-color:#c7c2ff;box-shadow:0 22px 50px rgba(91,75,238,.12)}
body.pricing-light .premium-price-card.is-featured{border:1.5px solid #8b80f8;box-shadow:0 18px 45px rgba(91,75,238,.12)}
body.pricing-light .package-badge{background:linear-gradient(135deg,#5b4bee,#6d5df5);color:#fff;border:0}
body.pricing-light .package-top h3{color:#111827}
body.pricing-light .package-description{color:#64748b}
body.pricing-light .premium-price-card .price{color:#111827}
body.pricing-light .price-period{color:#64748b}
body.pricing-light .credit-big{color:#5b4bee}
body.pricing-light .package-divider{background:#e5e7eb}
body.pricing-light .included-title{color:#64748b}
body.pricing-light .package-features li{color:#334155}
body.pricing-light .package-features li span{color:#5b4bee}
body.pricing-light .premium-price-card .btn-primary{background:#5b4bee;color:#fff;box-shadow:0 10px 24px rgba(91,75,238,.20)}
body.pricing-light .premium-price-card .btn-primary:hover{background:#4f42d6}
@media(max-width:1050px){body.pricing-light .premium-pricing{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){body.pricing-light .premium-pricing{grid-template-columns:1fr;gap:22px}body.pricing-light .pricing-page{width:calc(100% - 32px);padding-top:45px}body.pricing-light .pricing-page .section-heading h1{font-size:32px}}


/* v16: unified homepage purple accent + fully visible package badges */
body.pricing-light .premium-price-card{overflow:visible}
body.pricing-light .premium-price-card .package-badge{
  position:relative;
  z-index:3;
  display:table;
  margin:-43px auto 18px;
  background:#5b4bee;
  color:#fff;
  border:0;
  box-shadow:0 8px 18px rgba(91,75,238,.20);
  white-space:nowrap;
}
body.pricing-light .premium-price-card:not(.is-featured) .package-badge{background:#5b4bee}

/* Checkout keeps the same #5b4bee brand accent. */
.premium-front .checkout-badge{
  background:#5b4bee;
  color:#fff;
  box-shadow:0 8px 18px rgba(91,75,238,.20);
}
.premium-front .checkout-credit{color:#5b4bee}
.premium-front .checkout-features li span{color:#5b4bee}
.premium-front .checkout-payment-icon{color:#5b4bee}
.premium-front .checkout-payment-icon.bank{color:#5b4bee}
.premium-front .checkout-count{border-color:#3a355f}
.premium-front .mode-badge.personal{background:#211e48;color:#a99fff}
.premium-front .mode-badge.merchant{background:#12372f;color:#6ee7b7}

@media(max-width:700px){
  body.pricing-light .premium-price-card .package-badge{margin:-39px auto 16px}
}

/* Maintenance notice */
.maintenance-banner{display:flex;align-items:flex-start;gap:14px;padding:14px 22px;background:#fff7ed;border-bottom:1px solid #fed7aa;color:#7c2d12;position:relative;z-index:50}.maintenance-admin{margin-left:0}.maintenance-icon{width:28px;height:28px;min-width:28px;border-radius:50%;display:grid;place-items:center;background:#5b4bee;color:#fff;font-weight:800}.maintenance-copy{display:flex;flex-direction:column;gap:3px;max-width:1100px}.maintenance-copy strong{font-size:14px}.maintenance-copy span{font-size:13px;line-height:1.5}.maintenance-meta{font-size:12px;color:#9a3412;margin-top:2px}.maintenance-settings{margin-top:26px;padding-top:24px;border-top:1px solid var(--border,#e5e7eb)}.maintenance-settings h2{margin-bottom:7px}.check-row{display:flex!important;flex-direction:row!important;align-items:center;gap:8px}.check-row input{width:auto!important}.maintenance-banner a{color:inherit}@media(max-width:700px){.maintenance-banner{padding:12px 14px}.maintenance-meta{line-height:1.5}}


/* v18: checkout matches the public homepage light/purple visual system */
body.checkout-light{background:#f8fafc;color:#111827}
body.checkout-light .topbar{background:rgba(255,255,255,.96);border-bottom:1px solid #e5e7eb;color:#111827}
body.checkout-light .brand{color:#111827}
body.checkout-light .topnav{color:#475569}
body.checkout-light .topnav a:hover{color:#5b4bee}
body.checkout-light .footer{background:#fff;border-top-color:#e5e7eb;color:#64748b}
body.checkout-light .footer-links a{color:#475569}
body.checkout-light .checkout-page{width:min(1280px,92%);margin:0 auto;padding:58px 0 86px;min-height:calc(100vh - 74px)}
body.checkout-light .checkout-intro h1{color:#111827}
body.checkout-light .checkout-intro p{color:#64748b}
body.checkout-light .checkout-package{background:#fff;border:1px solid #e5e7eb;box-shadow:0 18px 50px rgba(15,23,42,.08)}
body.checkout-light .checkout-package h2{color:#111827}
body.checkout-light .checkout-package>p{color:#64748b}
body.checkout-light .checkout-badge{background:#5b4bee;color:#fff;box-shadow:0 8px 18px rgba(91,75,238,.20)}
body.checkout-light .checkout-price{color:#111827}
body.checkout-light .checkout-price span{color:#64748b}
body.checkout-light .checkout-credit{color:#5b4bee}
body.checkout-light .checkout-divider{background:#e5e7eb}
body.checkout-light .checkout-included{color:#64748b}
body.checkout-light .checkout-features li{color:#334155}
body.checkout-light .checkout-features li span{color:#5b4bee}
body.checkout-light .checkout-back{color:#64748b}
body.checkout-light .checkout-back:hover{color:#5b4bee}
body.checkout-light .checkout-methods-head h2{color:#111827}
body.checkout-light .checkout-count{color:#64748b;border-color:#e5e7eb;background:#fff}
body.checkout-light .checkout-payment-card{background:#fff;border:1px solid #e5e7eb;box-shadow:0 12px 36px rgba(15,23,42,.07)}
body.checkout-light .checkout-payment-card:hover{border-color:#c7c2ff;box-shadow:0 18px 45px rgba(91,75,238,.10)}
body.checkout-light .checkout-payment-icon{background:#f0efff;color:#5b4bee}
body.checkout-light .checkout-payment-icon.bank{background:#f0efff;color:#5b4bee}
body.checkout-light .checkout-payment-icon.binance{background:#f0efff;color:#5b4bee}
body.checkout-light .checkout-payment-title strong{color:#111827}
body.checkout-light .checkout-payment-title span{color:#64748b}
body.checkout-light .checkout-payment-details>div{border-bottom-color:#e5e7eb}
body.checkout-light .checkout-payment-details b{color:#64748b}
body.checkout-light .checkout-payment-details span{color:#111827}
body.checkout-light .checkout-instructions{background:#f8f7ff;border:1px solid #e5e7eb}
body.checkout-light .checkout-instructions b{color:#475569}
body.checkout-light .checkout-instructions p{color:#334155}
body.checkout-light .checkout-payment-note{color:#64748b}
body.checkout-light .checkout-empty{background:#fff;border-color:#e5e7eb;color:#64748b}
body.checkout-light .mode-badge.personal{background:#f0efff;color:#5b4bee;border-color:#ddd9ff}
body.checkout-light .mode-badge.merchant{background:#ecfdf5;color:#047857;border-color:#a7f3d0}
@media(max-width:700px){body.checkout-light .checkout-page{width:calc(100% - 32px);padding-top:45px}}

/* v19: force checkout to use the same light homepage palette */
body.checkout-light{background:#f8fafc!important;color:#111827!important}
body.checkout-light .topbar{background:#fff!important;border-bottom:1px solid #e5e7eb!important;color:#111827!important}
body.checkout-light .brand{color:#111827!important}
body.checkout-light .topnav{color:#475569!important}
body.checkout-light .checkout-intro h1{color:#111827!important}
body.checkout-light .checkout-intro p{color:#64748b!important}
body.checkout-light .checkout-package{background:#fff!important;border:1px solid #e5e7eb!important;box-shadow:0 18px 50px rgba(15,23,42,.08)!important}
body.checkout-light .checkout-package h2{color:#111827!important}
body.checkout-light .checkout-package>p{color:#64748b!important}
body.checkout-light .checkout-badge{background:#5b4bee!important;color:#fff!important}
body.checkout-light .checkout-price{color:#111827!important}
body.checkout-light .checkout-price span{color:#64748b!important}
body.checkout-light .checkout-credit{color:#5b4bee!important}
body.checkout-light .checkout-divider{background:#e5e7eb!important}
body.checkout-light .checkout-included{color:#64748b!important}
body.checkout-light .checkout-features li{color:#334155!important}
body.checkout-light .checkout-features li span{color:#5b4bee!important}
body.checkout-light .checkout-back{color:#64748b!important}
body.checkout-light .checkout-methods-head h2{color:#111827!important}
body.checkout-light .checkout-count{color:#64748b!important;border-color:#e5e7eb!important;background:#fff!important}
body.checkout-light .checkout-payment-card{background:#fff!important;border:1px solid #e5e7eb!important;box-shadow:0 12px 36px rgba(15,23,42,.07)!important}
body.checkout-light .checkout-payment-icon,body.checkout-light .checkout-payment-icon.bank,body.checkout-light .checkout-payment-icon.binance{background:#f0efff!important;color:#5b4bee!important}
body.checkout-light .checkout-payment-title strong{color:#111827!important}
body.checkout-light .checkout-payment-title span{color:#64748b!important}
body.checkout-light .checkout-payment-details>div{border-bottom-color:#e5e7eb!important}
body.checkout-light .checkout-payment-details b{color:#64748b!important}
body.checkout-light .checkout-payment-details span{color:#111827!important}
body.checkout-light .checkout-instructions{background:#f8f7ff!important;border:1px solid #e5e7eb!important}
body.checkout-light .checkout-instructions b{color:#475569!important}
body.checkout-light .checkout-instructions p{color:#334155!important}
body.checkout-light .checkout-payment-note{color:#64748b!important}
body.checkout-light .checkout-empty{background:#fff!important;border-color:#e5e7eb!important;color:#64748b!important}
body.checkout-light .mode-badge.personal{background:#f0efff!important;color:#5b4bee!important;border-color:#ddd9ff!important}
body.checkout-light .mode-badge.merchant{background:#ecfdf5!important;color:#047857!important;border-color:#a7f3d0!important}
