/* =====================================================================
   Onay SMS Paneli - koyu tema
   Harici framework yok; CSP 'self' ile uyumludur.
   ===================================================================== */
:root {
  color-scheme: dark;
  --bg: #060b14;
  --bg-soft: #0a1220;
  --panel: #0e1829;
  --panel-2: #12203a;
  --panel-3: #172845;
  --line: rgba(148, 178, 255, .13);
  --line-strong: rgba(148, 178, 255, .24);
  --text: #e9effd;
  --text-soft: #c3d0e8;
  --muted: #8496ba;
  --brand: #5b8cff;
  --brand-2: #8b5cf6;
  --brand-soft: rgba(91, 140, 255, .14);
  --success: #2dd4a7;
  --success-soft: rgba(45, 212, 167, .13);
  --warning: #f5b13d;
  --warning-soft: rgba(245, 177, 61, .13);
  --danger: #ff6b7d;
  --danger-soft: rgba(255, 107, 125, .13);
  --info: #4cc9f0;
  --info-soft: rgba(76, 201, 240, .13);
  --muted-soft: rgba(132, 150, 186, .14);
  --radius: 16px;
  --radius-sm: 11px;
  --shadow: 0 22px 55px -22px rgba(0, 0, 0, .85);
  --sidebar: 268px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  min-height: 100vh;
  background:
    radial-gradient(1100px 620px at 82% -10%, rgba(91, 140, 255, .16), transparent 60%),
    radial-gradient(900px 520px at -5% 25%, rgba(139, 92, 246, .10), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 14.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-decoration: none; }
a:hover { color: #8fb0ff; }
h1, h2, h3, h4 { margin: 0 0 .5rem; line-height: 1.2; font-weight: 650; letter-spacing: -.02em; }
h1 { font-size: 1.7rem; }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.05rem; }
p { margin: .35rem 0; }
small, .muted { color: var(--muted); }
code, kbd, .mono { font-family: "Cascadia Code", Consolas, monospace; font-size: .92em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 1.2rem 0; }
::selection { background: rgba(91, 140, 255, .35); }

/* ---------- Shell ---------- */
.app-shell { min-height: 100vh; }
.sidebar {
  position: fixed; inset: 0 auto 0 0; width: var(--sidebar); z-index: 60;
  display: flex; flex-direction: column; gap: 1.1rem;
  padding: 1.15rem 1rem;
  background: linear-gradient(180deg, rgba(13, 24, 42, .97), rgba(8, 14, 25, .99));
  border-right: 1px solid var(--line);
  backdrop-filter: blur(10px);
  transition: transform .25s ease;
}
.brand { display: flex; align-items: center; gap: .7rem; padding: .25rem .35rem; }
.brand-logo {
  width: 42px; height: 42px; border-radius: 13px; object-fit: cover;
  border: 1px solid var(--line-strong); background: var(--panel-2);
}
.brand-name { font-weight: 700; letter-spacing: -.02em; font-size: 1rem; }
.brand-sub { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .13em; }
.nav-group { display: flex; flex-direction: column; gap: .2rem; }
.nav-label { font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .14em; padding: .55rem .65rem .25rem; }
.nav-item {
  display: flex; align-items: center; gap: .7rem; padding: .62rem .7rem;
  border-radius: var(--radius-sm); color: var(--text-soft); font-weight: 520;
  border: 1px solid transparent; transition: background .16s, color .16s, border-color .16s;
}
.nav-item .ico { width: 19px; height: 19px; flex: 0 0 19px; opacity: .85; }
.nav-item:hover { background: rgba(91, 140, 255, .08); color: var(--text); }
.nav-item.is-active {
  background: linear-gradient(90deg, rgba(91, 140, 255, .22), rgba(139, 92, 246, .10));
  border-color: rgba(91, 140, 255, .28); color: #fff;
}
.nav-item.is-active .ico { opacity: 1; color: #a9c2ff; }
.nav-badge { margin-left: auto; font-size: .68rem; padding: .12rem .42rem; border-radius: 999px; background: var(--danger); color: #fff; }
.sidebar-footer { margin-top: auto; padding-top: .8rem; border-top: 1px solid var(--line); }
.side-user { display: flex; align-items: center; gap: .6rem; padding: .35rem; }
.avatar {
  width: 36px; height: 36px; border-radius: 11px; flex: 0 0 36px;
  display: grid; place-items: center; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.side-user .name { font-weight: 600; font-size: .88rem; overflow: hidden; text-overflow: ellipsis; }
.side-user .role { font-size: .7rem; color: var(--muted); }
.main { margin-left: var(--sidebar); min-height: 100vh; display: flex; flex-direction: column; }
.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: .9rem;
  padding: .8rem clamp(1rem, 3vw, 2rem);
  background: rgba(6, 11, 20, .78); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar .spacer { flex: 1; }
.icon-btn {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 11px;
  border: 1px solid var(--line); background: rgba(18, 32, 58, .65); color: var(--text-soft);
  cursor: pointer; transition: .16s;
}
.icon-btn:hover { border-color: var(--line-strong); color: #fff; background: var(--panel-2); }
.icon-btn .ico { width: 19px; height: 19px; }
.menu-toggle { display: none; }
.content { padding: clamp(1rem, 3vw, 2rem); width: 100%; max-width: 1500px; margin: 0 auto; }

/* ---------- Page head ---------- */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.page-head .eyebrow { color: var(--brand); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; }
.page-head h1 { margin: .1rem 0 .15rem; }
.page-head p { color: var(--muted); margin: 0; }
.head-actions { display: flex; gap: .55rem; flex-wrap: wrap; }
.feature-page-head, .dashboard-page-head {
  position: relative; align-items: center; overflow: hidden;
  min-height: 154px; padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid rgba(91, 140, 255, .24); border-radius: var(--radius);
  background: radial-gradient(520px 230px at 92% 0%, rgba(91, 140, 255, .2), transparent 68%), linear-gradient(120deg, rgba(18, 32, 58, .92), rgba(12, 22, 39, .9));
  box-shadow: var(--shadow);
}
.feature-page-head::after, .dashboard-page-head::after {
  content: ""; position: absolute; width: 220px; height: 220px; right: 24%; bottom: -180px;
  border: 1px solid rgba(148, 178, 255, .1); border-radius: 50%; pointer-events: none;
}
.feature-page-intro, .dashboard-page-intro { position: relative; z-index: 1; min-width: 0; }
.feature-page-intro .eyebrow, .dashboard-page-intro .eyebrow { margin-bottom: .35rem; }
.feature-page-intro h1, .dashboard-page-intro h1 { margin: 0 0 .4rem; font-size: clamp(1.55rem, 3vw, 2rem); }
.feature-page-intro p, .dashboard-page-intro p { max-width: 58ch; color: var(--text-soft); }
.feature-head-actions, .dashboard-head-actions { position: relative; z-index: 1; flex: 0 0 auto; }
.feature-head-actions .btn, .dashboard-head-actions .btn { min-height: 44px; padding-inline: 1rem; }
.security-page-head {
  display: flex; align-items: center; justify-content: space-between; gap: 1.25rem;
  margin-bottom: 1.25rem; padding: clamp(1.1rem, 2.5vw, 1.6rem);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: radial-gradient(550px 180px at 100% 0%, rgba(91, 140, 255, .16), transparent 68%), linear-gradient(135deg, rgba(18, 32, 58, .78), rgba(12, 22, 39, .9));
  box-shadow: var(--shadow);
}
.security-page-intro { min-width: 0; }
.security-page-intro h1 { margin: .2rem 0 .35rem; }
.security-page-intro p { max-width: 58ch; margin: 0; color: var(--text-soft); }
.security-status {
  display: flex; align-items: center; gap: .75rem; width: min(440px, 48%);
  padding: .8rem .9rem; border: 1px solid var(--line); border-radius: 14px;
  background: rgba(6, 12, 23, .42);
}
.security-status.is-enabled { border-color: rgba(45, 212, 167, .3); }
.security-status.is-disabled { border-color: rgba(245, 177, 61, .32); }
.security-status-icon { display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px; border-radius: 12px; }
.security-status-icon .ico { width: 22px; height: 22px; }
.security-status.is-enabled .security-status-icon { color: var(--success); background: var(--success-soft); }
.security-status.is-disabled .security-status-icon { color: var(--warning); background: var(--warning-soft); }
.security-status-copy { display: flex; flex: 1; min-width: 0; flex-direction: column; line-height: 1.35; }
.security-status-label { color: var(--muted); font-size: .7rem; }
.security-status-copy strong { font-size: .9rem; }
.security-status-copy > span:last-child { color: var(--text-soft); font-size: .72rem; }
.security-status > .btn { flex: 0 0 auto; }

/* ---------- Cards / grid ---------- */
.card { background: linear-gradient(180deg, rgba(18, 32, 58, .72), rgba(12, 22, 39, .9)); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.card-body { padding: 1.1rem 1.15rem; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: 1rem 1.15rem; border-bottom: 1px solid var(--line); }
.card-head h2, .card-head h3 { margin: 0; }
.card-foot { padding: .8rem 1.15rem; border-top: 1px solid var(--line); }
.grid { display: grid; gap: 1rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.stack { display: flex; flex-direction: column; gap: 1rem; }
.row { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; }

.stat { position: relative; overflow: hidden; padding: 1.05rem 1.1rem; }
.stat::after { content: ""; position: absolute; inset: auto -30% -70% auto; width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle, rgba(91, 140, 255, .18), transparent 65%); }
.stat-top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.stat-label { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.stat-value { font-size: 1.55rem; font-weight: 700; letter-spacing: -.03em; margin-top: .35rem; }
.stat-hint { font-size: .76rem; color: var(--muted); margin-top: .2rem; }
.stat-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: #a9c2ff; }
.stat-ico .ico { width: 21px; height: 21px; }

.hero-card { position: relative; overflow: hidden; padding: clamp(1.2rem, 4vw, 2rem); border-radius: var(--radius); border: 1px solid rgba(91, 140, 255, .25); background: radial-gradient(700px 300px at 100% 0%, rgba(91, 140, 255, .3), transparent 60%), linear-gradient(135deg, rgba(18, 32, 58, .95), rgba(20, 20, 55, .9)); }
.hero-card .balance { font-size: clamp(1.8rem, 5vw, 2.6rem); font-weight: 750; letter-spacing: -.04em; }

/* ---------- Badges / status ---------- */
.badge { display: inline-flex; align-items: center; gap: .3rem; padding: .22rem .55rem; border-radius: 999px; font-size: .72rem; font-weight: 650; border: 1px solid transparent; white-space: nowrap; }
.badge.success { background: var(--success-soft); color: #7ff0cf; border-color: rgba(45, 212, 167, .25); }
.badge.success-strong { background: rgba(45, 212, 167, .24); color: #a4ffe2; border-color: rgba(45, 212, 167, .58); box-shadow: inset 0 0 0 1px rgba(45, 212, 167, .12); }
.badge.warning { background: var(--warning-soft); color: #ffd083; border-color: rgba(245, 177, 61, .28); }
.badge.danger { background: var(--danger-soft); color: #ffb0ba; border-color: rgba(255, 107, 125, .28); }
.badge.info { background: var(--info-soft); color: #9be8ff; border-color: rgba(76, 201, 240, .25); }
.badge.muted { background: var(--muted-soft); color: #b3c0d8; border-color: rgba(132, 150, 186, .2); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 12px currentColor; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  min-height: 40px; padding: .55rem .95rem; border-radius: 11px; border: 1px solid var(--line-strong);
  background: rgba(18, 32, 58, .8); color: var(--text); font-weight: 600; font-size: .88rem;
  cursor: pointer; transition: .16s; text-decoration: none; white-space: nowrap;
}
.btn:hover { background: var(--panel-3); color: #fff; border-color: rgba(148, 178, 255, .38); }
.btn:disabled, .btn.is-disabled { opacity: .48; cursor: not-allowed; pointer-events: none; }
.btn .ico { width: 17px; height: 17px; }
.btn-primary { background: linear-gradient(135deg, #5b8cff, #7c5cff); border-color: transparent; color: #fff; box-shadow: 0 10px 26px -12px rgba(91, 140, 255, .8); }
.btn-primary:hover { background: linear-gradient(135deg, #6d99ff, #8d70ff); }
.btn-success { background: linear-gradient(135deg, #0ea77c, #2dd4a7); border-color: transparent; color: #04211a; }
.btn-danger { background: linear-gradient(135deg, #e9485e, #ff7d7d); border-color: transparent; color: #2a0509; }
.btn-warning { background: linear-gradient(135deg, #d99325, #f5b13d); border-color: transparent; color: #2a1a00; }
.btn-ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn-ghost:hover { background: rgba(148, 178, 255, .08); color: var(--text); }
.btn-sm { min-height: 32px; padding: .35rem .65rem; font-size: .78rem; border-radius: 9px; }
.btn-block { width: 100%; }
.btn-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn-loading::after {
  content: ""; position: absolute; width: 17px; height: 17px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: .35rem; }
.field > label, .label { font-size: .8rem; font-weight: 600; color: var(--text-soft); }
.input, .select, .textarea, input[type="text"], input[type="password"], input[type="email"], input[type="number"], input[type="search"], select, textarea {
  width: 100%; min-height: 42px; padding: .55rem .75rem; border-radius: 11px;
  border: 1px solid var(--line-strong); background: rgba(6, 12, 23, .65); color: var(--text);
  font: inherit; outline: none; transition: border-color .16s, box-shadow .16s;
}
.textarea, textarea { min-height: 92px; resize: vertical; }
.input:focus, select:focus, textarea:focus, input:focus { border-color: rgba(91, 140, 255, .65); box-shadow: 0 0 0 3px rgba(91, 140, 255, .14); }
.input::placeholder, textarea::placeholder { color: #5f7295; }
select option { background: #0e1829; color: var(--text); }
.form-grid { display: grid; gap: .9rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid .span-2 { grid-column: 1 / -1; }
.check { display: flex; align-items: center; gap: .5rem; color: var(--text-soft); font-size: .85rem; cursor: pointer; }
.check input { width: 17px; height: 17px; accent-color: var(--brand); }
.form-hint { font-size: .76rem; color: var(--muted); }
.form-error { font-size: .8rem; color: #ffb0ba; }
.search-form { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.search-form .input { min-width: 220px; }

/* ---------- Alerts / flash ---------- */
.alert { display: flex; gap: .65rem; align-items: flex-start; padding: .8rem .95rem; border-radius: 12px; border: 1px solid var(--line); background: rgba(18, 32, 58, .65); margin-bottom: .8rem; }
.alert .ico { width: 19px; height: 19px; flex: 0 0 19px; margin-top: .1rem; }
.alert.success { border-color: rgba(45, 212, 167, .3); background: var(--success-soft); color: #b9ffe9; }
.alert.warning { border-color: rgba(245, 177, 61, .32); background: var(--warning-soft); color: #ffe3b3; }
.alert.danger { border-color: rgba(255, 107, 125, .32); background: var(--danger-soft); color: #ffd0d6; }
.alert.info { border-color: rgba(76, 201, 240, .3); background: var(--info-soft); color: #c9f4ff; }
.purchase-balance-alert[hidden] { display: none; }
.purchase-balance-alert { align-items: flex-start; }
.purchase-balance-content { width: 100%; }
.purchase-balance-content > p { margin: .25rem 0 .75rem; }
.purchase-balance-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; margin-bottom: .8rem; }
.purchase-balance-details > div { display: grid; gap: .2rem; padding: .6rem .7rem; border: 1px solid var(--line); border-radius: 10px; background: rgba(6, 12, 23, .28); }
.purchase-balance-details span { color: var(--muted); font-size: .75rem; }
.purchase-balance-details strong { font-variant-numeric: tabular-nums; }
.purchase-balance-details .purchase-balance-shortage strong { color: #ffd0d6; }
@media (max-width: 640px) {
  .purchase-balance-details { grid-template-columns: 1fr; }
}
.flash-stack { margin-bottom: 1rem; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); }
table.table { width: 100%; border-collapse: collapse; min-width: 680px; }
.table th, .table td { padding: .72rem .8rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table th { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; background: rgba(6, 12, 23, .35); }
.table tbody tr:hover { background: rgba(91, 140, 255, .045); }
.table tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table .actions { display: flex; gap: .35rem; flex-wrap: wrap; }
.table-empty { padding: 2.2rem 1rem; text-align: center; color: var(--muted); }
.table-empty .ico { width: 34px; height: 34px; opacity: .5; margin-bottom: .4rem; }

/* ---------- Pagination ---------- */
.pagination { display: flex; gap: .35rem; align-items: center; flex-wrap: wrap; padding: .8rem 1.1rem; border-top: 1px solid var(--line); }
.page-link { display: grid; place-items: center; min-width: 34px; height: 34px; padding: 0 .55rem; border-radius: 9px; border: 1px solid var(--line); color: var(--text-soft); font-size: .8rem; }
.page-link:hover { background: var(--panel-2); color: #fff; }
.page-link.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.page-info { color: var(--muted); font-size: .78rem; margin-left: auto; }

/* ---------- Service / country cards ---------- */
.service-tabs { display: flex; gap: .55rem; flex-wrap: wrap; }
.service-tab { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1rem; border-radius: 12px; border: 1px solid var(--line); background: rgba(18, 32, 58, .6); color: var(--text-soft); font-weight: 650; }
.service-tab:hover { border-color: var(--line-strong); color: #fff; }
.service-tab.is-active { border-color: rgba(91, 140, 255, .55); background: var(--brand-soft); color: #fff; }
.country-tools { display: flex; align-items: center; gap: .55rem; min-width: 0; }
.sort-dropdown { min-height: 42px; padding: .55rem 2rem .55rem .75rem; border: 1px solid var(--line); border-radius: 10px; background: var(--panel-2); color: var(--text); font: inherit; }
.country-tools .search-form { min-width: 220px; }
.country-tools .search-form .input { min-width: 0; width: 100%; }
.service-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; flex: 0 0 34px; }
.service-ico .ico { width: 19px; height: 19px; }
.service-ico.whatsapp { background: linear-gradient(135deg, #1faf54, #25d366); }
.service-ico.telegram { background: linear-gradient(135deg, #1d9bf0, #2aabee); }
.service-ico.muted { background: var(--panel-3); color: var(--muted); }
.table-service-ico { width: 23px; height: 23px; display: inline-grid; vertical-align: middle; border-radius: 7px; margin-right: .25rem; }
.table-service-ico .ico { width: 15px; height: 15px; }
.country-card { display: flex; flex-direction: column; gap: .7rem; padding: 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(18, 32, 58, .55), rgba(12, 22, 39, .85)); transition: border-color .16s, transform .16s; }
.country-card:hover { border-color: rgba(91, 140, 255, .35); transform: translateY(-2px); }
.country-head { display: flex; align-items: center; gap: .65rem; min-width: 0; }
.flag { font-size: 1.55rem; line-height: 1; flex: 0 0 auto; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .35)); }
.country-name { font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.country-code { color: var(--muted); font-size: .76rem; }
.country-price { font-size: 1.22rem; font-weight: 750; letter-spacing: -.02em; }
.country-meta { display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
.country-card .btn { margin-top: auto; }
.empty-state { text-align: center; padding: 3rem 1.2rem; color: var(--muted); }
.empty-state > .ico { width: 44px; height: 44px; opacity: .4; margin-bottom: .6rem; }
.twofa-start-form { display: flex; justify-content: center; margin-top: .9rem; }
.twofa-start-btn { width: auto; min-height: 40px; gap: .45rem; white-space: nowrap; }
.twofa-start-btn .ico { width: 17px; height: 17px; flex: 0 0 17px; margin: 0; opacity: 1; }

/* ---------- Activation / code ---------- */
.code-box { display: flex; align-items: center; justify-content: center; gap: .8rem; padding: 1.2rem; border-radius: 14px; border: 1px dashed rgba(45, 212, 167, .45); background: var(--success-soft); }
.code-value { font-family: "Cascadia Code", Consolas, monospace; font-size: clamp(1.8rem, 6vw, 2.6rem); font-weight: 750; letter-spacing: .18em; color: #b9ffe9; }
.phone-box { font-family: "Cascadia Code", Consolas, monospace; font-size: clamp(1.15rem, 4vw, 1.6rem); font-weight: 650; letter-spacing: .04em; }
.activation-page { max-width: 900px; margin: 0 auto; }
.activation-order-header { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: 1rem 1.15rem; border-bottom: 1px solid var(--line); }
.activation-order-header > div { display: flex; flex-direction: column; gap: .2rem; }
.activation-order-header > div strong { font-size: .95rem; }
.activation-order-header > div span { color: var(--muted); font-size: .78rem; }
.activation-info-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.activation-info-item { display: flex; flex-direction: column; gap: .45rem; min-width: 0; padding: .8rem; border: 1px solid var(--line); border-radius: 11px; background: rgba(6, 12, 23, .3); }
.activation-info-item > strong { display: flex; align-items: center; gap: .5rem; min-width: 0; }
.activation-info-item .service-ico { width: 28px; height: 28px; flex-basis: 28px; }
.activation-info-item .service-ico .ico { width: 17px; height: 17px; }
.activation-info-item .flag { font-size: 1.2rem; }
.activation-number { padding: .8rem; border: 1px solid var(--line); border-radius: 11px; background: rgba(6, 12, 23, .3); }
.activation-code-section { display: flex; flex-direction: column; gap: .45rem; }
.activation-code-label { display: flex; align-items: center; gap: .4rem; }
.activation-code-label span { display: inline-grid; place-items: center; width: 17px; height: 17px; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--muted); font-size: .7rem; cursor: help; }
.activation-code-field { display: flex; align-items: center; gap: .5rem; padding: .45rem .6rem; border: 1px solid var(--line); border-radius: 11px; background: rgba(6, 12, 23, .45); }
.activation-code-input { width: 100%; min-width: 0; padding: .55rem; border: 0; outline: 0; background: transparent; color: var(--text); font: 600 1rem "Cascadia Code", Consolas, monospace; letter-spacing: .1em; }
.activation-code-input::placeholder { color: var(--muted); font-family: inherit; font-size: .9rem; font-weight: 500; letter-spacing: 0; }
.activation-sms-notifications { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; }
.activation-sms-notifications .btn[aria-pressed="true"] { border-color: var(--success, #22c55e); }
.activation-sms-arrived { margin: .25rem 0 0; padding: .65rem .8rem; }
.activation-sms-arrived[hidden], #sms-code-copy[hidden], .activation-actions[hidden] { display: none; }
#sms-notification-audio { display: none; }
.activation-whatsapp-warning { margin: 0; border-color: #fed7aa; background: #fff7ed; color: #9a3412; font-size: .84rem; line-height: 1.5; }
.activation-whatsapp-warning .ico { color: #f59e0b; flex: 0 0 19px; }
.activation-status-row { display: flex; align-items: center; justify-content: space-between; gap: .8rem; flex-wrap: wrap; }
.activation-time-left { display: inline-flex; align-items: center; gap: .4rem; }
.activation-time-left .ico { width: 18px; height: 18px; color: var(--muted); }
.activation-time-left strong { font-variant-numeric: tabular-nums; }
.activation-actions { display: flex; justify-content: flex-end; padding-top: .8rem; border-top: 1px solid var(--line); }
.activation-action-group { display: flex; align-items: center; justify-content: flex-end; gap: .55rem; flex-wrap: wrap; }
.activation-action-group > .muted { display: inline-flex; align-items: center; gap: .3rem; }
.activation-action-group > .muted .ico { width: 18px; height: 18px; flex: 0 0 18px; }
.activation-refund-row { display: flex; align-items: center; justify-content: space-between; padding-top: .8rem; border-top: 1px solid var(--line); }
.activation-help { margin: 0; padding-top: .8rem; border-top: 1px solid var(--line); font-size: .84rem; }
.timeline { display: flex; flex-direction: column; gap: .65rem; }
.timeline-item { display: flex; gap: .7rem; align-items: flex-start; }
.timeline-dot { width: 10px; height: 10px; border-radius: 50%; margin-top: .38rem; background: var(--brand); box-shadow: 0 0 0 4px rgba(91, 140, 255, .12); flex: 0 0 10px; }
.timeline-item.done .timeline-dot { background: var(--success); box-shadow: 0 0 0 4px rgba(45, 212, 167, .13); }
.timeline-item.fail .timeline-dot { background: var(--danger); box-shadow: 0 0 0 4px rgba(255, 107, 125, .13); }
.timeline-text { color: var(--text-soft); font-size: .86rem; }
.countdown { font-variant-numeric: tabular-nums; font-weight: 700; }
.pulse { animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

/* ---------- Modal ---------- */
.modal-backdrop { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 1rem; background: rgba(3, 7, 14, .72); backdrop-filter: blur(6px); }
.modal-backdrop.is-open { display: flex; }
.modal { width: min(520px, 100%); max-height: 92vh; overflow-y: auto; border-radius: 18px; border: 1px solid var(--line-strong); background: linear-gradient(180deg, #12203a, #0b1424); box-shadow: 0 40px 100px -30px #000; }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: 1rem 1.15rem; border-bottom: 1px solid var(--line); }
.modal-body { padding: 1.15rem; }
.modal-foot { display: flex; gap: .55rem; justify-content: flex-end; padding: 1rem 1.15rem; border-top: 1px solid var(--line); flex-wrap: wrap; }
.modal-price { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .8rem .9rem; border-radius: 12px; background: rgba(6, 12, 23, .55); border: 1px solid var(--line); margin: .8rem 0; }
.modal-price strong { font-size: 1.15rem; }

/* ---------- Toast ---------- */
.toast-stack { position: fixed; z-index: 120; right: 1rem; bottom: 1rem; display: flex; flex-direction: column; gap: .5rem; width: min(360px, calc(100vw - 2rem)); }
.toast { display: flex; gap: .6rem; align-items: flex-start; padding: .75rem .85rem; border-radius: 12px; border: 1px solid var(--line-strong); background: #12203a; color: var(--text); box-shadow: var(--shadow); animation: toastIn .22s ease; }
.toast.success { border-color: rgba(45, 212, 167, .4); }
.toast.danger { border-color: rgba(255, 107, 125, .45); }
.toast.warning { border-color: rgba(245, 177, 61, .45); }
.toast .ico { width: 18px; height: 18px; flex: 0 0 18px; }
.toast.danger .toast-icon { color: #ff6b7d; }
.toast.success .toast-icon { color: #2dd4a7; }
@keyframes toastIn { from { opacity: 0; transform: translateY(8px); } }

/* ---------- Auth / landing ---------- */
.guest .main { margin-left: 0; }
.guest-wrap { min-height: 100vh; display: flex; flex-direction: column; }
.auth-wrap { flex: 1; display: grid; place-items: center; padding: clamp(1.2rem, 5vw, 3rem); }
.auth-card { width: min(440px, 100%); padding: clamp(1.3rem, 4vw, 2rem); }
.auth-brand { display: flex; align-items: center; gap: .7rem; justify-content: center; margin-bottom: 1.3rem; }
.auth-brand .brand-logo { width: 52px; height: 52px; border-radius: 16px; }
.auth-footer { text-align: center; color: var(--muted); font-size: .8rem; margin-top: 1rem; }
.landing-nav { position: sticky; top: 0; z-index: 45; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem clamp(1rem, 5vw, 4.5rem); border-bottom: 1px solid var(--line); background: rgba(6, 11, 20, .84); backdrop-filter: blur(16px); }
.landing-nav .brand { padding: .15rem 0; }
.landing-nav-links { display: flex; align-items: center; gap: 1.5rem; margin-left: auto; margin-right: 1.25rem; }
.landing-nav-links a { color: #aab9d4; font-size: .82rem; font-weight: 550; transition: color .16s ease; }
.landing-nav-links a:hover { color: #fff; }
.landing-login { min-height: 40px; padding-inline: .95rem; }
.landing { position: relative; flex: 1; width: min(1240px, 100%); margin: 0 auto; padding: clamp(2rem, 5vw, 4.5rem) clamp(1rem, 4vw, 2.5rem) 3.25rem; }
.landing-hero { display: grid; grid-template-columns: 1fr .94fr; gap: clamp(1.4rem, 5vw, 4rem); align-items: center; min-height: 470px; }
.landing-hero-copy { position: relative; z-index: 1; padding-block: 1.25rem; }
.landing h1 { font-size: clamp(2.5rem, 5.4vw, 4.55rem); letter-spacing: -.06em; line-height: 1.04; margin: 1.1rem 0 1.15rem; }
.landing h1 span { color: #96b2ff; }
.landing-tagline { margin: -.65rem 0 .7rem; color: #8fa6d0; font-size: .83rem; font-weight: 650; letter-spacing: .025em; }
.landing .lead { color: #b6c5e1; font-size: clamp(1rem, 1.55vw, 1.14rem); line-height: 1.75; max-width: 55ch; }
.landing-badge { display: inline-flex; align-items: center; gap: .4rem; padding: .38rem .72rem; border-radius: 999px; border: 1px solid rgba(91, 140, 255, .35); background: var(--brand-soft); color: #c3d3ff; font-size: .68rem; letter-spacing: .07em; font-weight: 750; }
.landing-badge .ico { width: 15px; height: 15px; }
.landing-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.4rem; }
.landing-main-cta { min-height: 48px; padding-inline: 1.1rem; }
.landing-secondary-cta { min-height: 48px; padding-inline: 1rem; }
.landing-secondary-cta .ico { width: 17px; height: 17px; }
.landing-proof { display: flex; flex-wrap: wrap; gap: .55rem 1.2rem; margin-top: 1.2rem; }
.landing-proof span { display: inline-flex; align-items: center; gap: .38rem; color: #aab9d4; font-size: .76rem; }
.landing-proof .ico { width: 15px; height: 15px; color: var(--success); }
.landing-showcase { position: relative; display: grid; place-items: center; min-height: 410px; isolation: isolate; }
.showcase-glow { position: absolute; z-index: -2; width: 75%; height: 75%; border-radius: 50%; background: radial-gradient(circle, rgba(91, 140, 255, .2), rgba(91, 140, 255, .04) 48%, transparent 72%); filter: blur(8px); }
.showcase-orbit { position: absolute; z-index: -1; width: 360px; height: 360px; max-width: 90%; border: 1px solid rgba(148, 178, 255, .12); border-radius: 50%; }
.showcase-orbit-one { transform: rotateX(62deg) rotate(-24deg); }
.showcase-orbit-two { width: 290px; height: 290px; transform: rotateX(62deg) rotate(28deg); border-color: rgba(45, 212, 167, .11); }
.showcase-card { position: relative; width: min(390px, 82%); padding: 1rem; border: 1px solid rgba(157, 181, 255, .25); border-radius: 23px; background: linear-gradient(155deg, rgba(20, 35, 61, .97), rgba(8, 15, 27, .98)); box-shadow: 0 35px 90px -38px #000, 0 0 50px rgba(91, 140, 255, .12); transform: rotateY(-7deg) rotateX(3deg); }
.showcase-topbar, .showcase-brand, .showcase-service, .showcase-code, .showcase-foot { display: flex; align-items: center; }
.showcase-topbar { justify-content: space-between; gap: .6rem; padding: .15rem .1rem .9rem; border-bottom: 1px solid rgba(148, 178, 255, .11); }
.showcase-brand { gap: .55rem; }
.showcase-brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(91, 140, 255, .25); border-radius: 11px; color: #b9ccff; background: rgba(91, 140, 255, .13); }
.showcase-brand-mark .ico { width: 19px; height: 19px; }
.showcase-brand strong, .showcase-brand small { display: block; }
.showcase-brand strong { font-size: .78rem; }
.showcase-brand small { margin-top: .08rem; color: var(--muted); font-size: .63rem; }
.showcase-live { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .48rem; border: 1px solid rgba(148, 178, 255, .15); border-radius: 999px; color: #c1cde3; background: rgba(6, 12, 23, .42); font-size: .62rem; }
.showcase-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--success); box-shadow: 0 0 10px rgba(45, 212, 167, .75); }
.showcase-order { margin-top: .9rem; padding: .95rem; border: 1px solid rgba(148, 178, 255, .12); border-radius: 15px; background: rgba(6, 12, 23, .48); }
.showcase-order-label { display: flex; justify-content: space-between; gap: .5rem; color: #7385a7; font-size: .58rem; font-weight: 750; letter-spacing: .1em; }
.showcase-service { gap: .65rem; margin-top: .9rem; }
.showcase-service-icon { display: grid; place-items: center; width: 39px; height: 39px; flex: 0 0 39px; border-radius: 12px; color: #48d597; background: rgba(45, 212, 167, .12); }
.showcase-service-icon .ico { width: 21px; height: 21px; }
.showcase-service > div { min-width: 0; }
.showcase-service strong, .showcase-service small { display: block; }
.showcase-service strong { font-size: .8rem; }
.showcase-service small { margin-top: .15rem; color: var(--muted); font-size: .66rem; }
.showcase-status { margin-left: auto; padding: .23rem .48rem; border-radius: 999px; color: #6fe5bd; background: rgba(45, 212, 167, .1); font-size: .62rem; }
.showcase-progress { height: 4px; margin: 1rem 0; overflow: hidden; border-radius: 99px; background: rgba(148, 178, 255, .1); }
.showcase-progress span { display: block; width: 63%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #5b8cff, #2dd4a7); }
.showcase-code { justify-content: space-between; gap: .6rem; }
.showcase-code small, .showcase-code strong { display: block; }
.showcase-code small { color: #7184a5; font-size: .56rem; letter-spacing: .09em; }
.showcase-code strong { margin-top: .2rem; color: #dce6fc; font-family: var(--font); font-size: 1.08rem; letter-spacing: .14em; }
.showcase-wait { display: inline-flex; align-items: center; gap: .3rem; color: #9eb0ce; font-size: .62rem; white-space: nowrap; }
.showcase-wait .ico { width: 14px; height: 14px; }
.showcase-foot { justify-content: space-between; gap: .5rem; padding: .8rem .2rem .05rem; color: #8092b2; font-size: .62rem; }
.showcase-foot span:first-child { display: inline-flex; align-items: center; gap: .32rem; }
.showcase-foot .ico { width: 14px; height: 14px; color: #8ca9ff; }
.showcase-float { position: absolute; z-index: 2; display: flex; align-items: center; gap: .55rem; padding: .6rem .75rem; border: 1px solid rgba(164, 184, 255, .2); border-radius: 14px; background: rgba(15, 27, 47, .92); box-shadow: 0 16px 40px -22px #000; backdrop-filter: blur(10px); }
.showcase-float > span { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 10px; color: #b9ccff; background: rgba(91, 140, 255, .14); }
.showcase-float > span .ico { width: 17px; height: 17px; }
.showcase-float small, .showcase-float strong { display: block; }
.showcase-float small { color: var(--muted); font-size: .58rem; }
.showcase-float strong { margin-top: .08rem; font-size: .68rem; }
.showcase-float-top { top: 13%; right: -1%; }
.showcase-float-bottom { bottom: 13%; left: -1%; }
.showcase-float-bottom > span { color: #70e2bc; background: rgba(45, 212, 167, .12); }
.landing-stats { display: flex; align-items: center; justify-content: center; gap: clamp(1rem, 4vw, 3.4rem); margin: clamp(1.3rem, 3vw, 2rem) 0 clamp(3rem, 7vw, 5.5rem); padding: 1.15rem 1.4rem; border: 1px solid rgba(148, 178, 255, .14); border-radius: 17px; background: linear-gradient(100deg, rgba(17, 29, 49, .85), rgba(11, 20, 35, .9)); }
.landing-stat { display: flex; align-items: center; gap: .7rem; min-width: 0; }
.landing-stat-icon { display: grid; place-items: center; width: 41px; height: 41px; flex: 0 0 41px; border: 1px solid rgba(91, 140, 255, .2); border-radius: 13px; color: #aec4ff; background: rgba(91, 140, 255, .11); }
.landing-stat-icon .ico { width: 20px; height: 20px; }
.landing-stat-icon-green { color: #77e7c1; border-color: rgba(45, 212, 167, .18); background: rgba(45, 212, 167, .09); }
.landing-stat-icon-purple { color: #c4a8ff; border-color: rgba(139, 92, 246, .22); background: rgba(139, 92, 246, .11); }
.landing-stat strong, .landing-stat div > span { display: block; }
.landing-stat strong { color: #f0f4ff; font-size: 1.05rem; letter-spacing: -.02em; }
.landing-stat div > span { margin-top: .08rem; color: var(--muted); font-size: .68rem; }
.landing-stat-divider { width: 1px; height: 36px; background: var(--line-strong); }
.landing-how { padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.landing-section-heading { margin-bottom: 1.25rem; text-align: center; }
.landing-section-heading h2 { margin: .75rem 0 .35rem; font-size: clamp(1.7rem, 3.4vw, 2.45rem); letter-spacing: -.04em; }
.landing-section-heading > p { margin: 0; color: var(--muted); font-size: .9rem; }
.hero-art { position: relative; min-height: 320px; border-radius: 22px; border: 1px solid var(--line); background: radial-gradient(420px 260px at 70% 15%, rgba(37, 211, 102, .18), transparent 60%), radial-gradient(420px 260px at 25% 90%, rgba(42, 171, 238, .18), transparent 60%), linear-gradient(160deg, #101d34, #0a1220); display: grid; place-items: center; overflow: hidden; }
.hero-phone { width: min(250px, 70%); border-radius: 26px; border: 1px solid var(--line-strong); background: #0c1626; padding: .7rem; box-shadow: 0 30px 70px -25px #000; }
.hero-phone-screen { border-radius: 20px; background: linear-gradient(180deg, #132441, #0b1424); padding: 1rem; min-height: 260px; }
.hero-msg { display: flex; gap: .5rem; align-items: flex-start; margin-top: .7rem; }
.hero-msg .service-ico { width: 28px; height: 28px; flex: 0 0 28px; }
.hero-bubble { padding: .55rem .7rem; border-radius: 10px 12px 12px 12px; background: #1b2e4d; font-size: .74rem; color: var(--text-soft); }
.hero-code { margin-top: .9rem; text-align: center; padding: .7rem; border-radius: 12px; border: 1px dashed rgba(45, 212, 167, .4); background: rgba(45, 212, 167, .1); }
.hero-code strong { display: block; font-family: monospace; font-size: 1.35rem; letter-spacing: .2em; color: #b9ffe9; }
.landing-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .85rem; }
.landing-step { position: relative; min-height: 225px; padding: 1.25rem; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: linear-gradient(155deg, rgba(18, 32, 54, .83), rgba(10, 18, 31, .9)); transition: transform .18s ease, border-color .18s ease; }
.landing-step:hover { transform: translateY(-3px); border-color: rgba(91, 140, 255, .3); }
.landing-step-number { position: absolute; top: .8rem; right: 1rem; color: rgba(148, 178, 255, .22); font-size: 1.15rem; font-weight: 800; letter-spacing: .08em; }
.landing-step-icon { display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid rgba(91, 140, 255, .22); border-radius: 13px; color: #b6caff; background: rgba(91, 140, 255, .11); }
.landing-step-icon .ico { width: 21px; height: 21px; }
.landing-step h3 { margin: 1rem 0 .4rem; font-size: .98rem; }
.landing-step p { max-width: 42ch; margin: 0; color: #9eafcb; font-size: .79rem; line-height: 1.7; }
.landing-bottom-cta { display: flex; align-items: center; gap: 1rem; margin-top: .5rem; padding: 1.2rem 1.3rem; border: 1px solid rgba(91, 140, 255, .24); border-radius: 17px; background: radial-gradient(400px 160px at 0% 50%, rgba(91, 140, 255, .13), transparent 75%), linear-gradient(110deg, rgba(17, 29, 50, .94), rgba(10, 18, 31, .96)); }
.landing-cta-icon { display: grid; place-items: center; width: 48px; height: 48px; flex: 0 0 48px; border: 1px solid rgba(91, 140, 255, .25); border-radius: 15px; color: #b8ccff; background: rgba(91, 140, 255, .13); }
.landing-cta-icon .ico { width: 23px; height: 23px; }
.landing-cta-copy { min-width: 0; flex: 1; }
.landing-cta-copy h2 { margin: .2rem 0; font-size: 1.12rem; }
.landing-cta-copy p { margin: 0; color: var(--muted); font-size: .76rem; }
.landing-bottom-cta > .btn { flex: 0 0 auto; }
.landing-footer { border-top: 1px solid var(--line); padding: 1.2rem clamp(1rem, 4vw, 2.5rem); color: var(--muted); font-size: .8rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.landing-footer-links { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; }
.landing-footer-links a { color: #9cacc7; }
.landing-footer-links a:hover { color: #fff; }

/* ---------- Misc ---------- */
.kv { display: grid; grid-template-columns: minmax(130px, .42fr) 1fr; gap: .45rem .9rem; font-size: .88rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; color: var(--text); overflow-wrap: anywhere; }
.divider { height: 1px; background: var(--line); margin: 1rem 0; }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-danger { color: var(--danger); }
.text-info { color: var(--info); }
.text-right { text-align: right; }
.text-center { text-align: center; }
.nowrap { white-space: nowrap; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; }
.hidden { display: none !important; }
.mobile-only { display: none; }
.tabs { display: flex; gap: .35rem; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: .5rem; }
.tab { padding: .4rem .7rem; border-radius: 9px; color: var(--muted); font-weight: 600; font-size: .84rem; }
.tab:hover { color: var(--text); background: rgba(148, 178, 255, .06); }
.tab.is-active { background: var(--brand-soft); color: #cfe0ff; }
.secret { word-break: break-all; font-family: "Cascadia Code", Consolas, monospace; padding: .7rem; border-radius: 10px; border: 1px solid var(--line); background: rgba(6, 12, 23, .6); font-size: .85rem; }
.qr-box { display: grid; place-items: center; padding: .8rem; border-radius: 14px; background: #fff; width: 220px; height: 220px; margin: 0 auto; }
.qr-box img, .qr-box canvas { max-width: 100%; height: auto; }
.recovery-codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; }
.recovery-codes code { padding: .45rem .55rem; border-radius: 8px; background: rgba(6, 12, 23, .6); border: 1px solid var(--line); text-align: center; letter-spacing: .05em; }
.progress { height: 7px; border-radius: 999px; background: rgba(148, 178, 255, .12); overflow: hidden; }
.progress > span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); }
.sticky-actions { position: sticky; bottom: .8rem; z-index: 20; }

/* ---------- Public legal pages ---------- */
.terms-page { width: min(1120px, calc(100% - 2rem)); margin: clamp(1.25rem, 4vw, 3.25rem) auto; }
.terms-hero {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem;
  min-height: 270px; overflow: hidden; padding: clamp(1.35rem, 5vw, 3.25rem);
  border: 1px solid rgba(115, 151, 255, .27); border-radius: 26px;
  background:
    radial-gradient(430px 260px at 88% 48%, rgba(119, 105, 255, .2), transparent 70%),
    radial-gradient(450px 240px at 5% 100%, rgba(45, 212, 167, .08), transparent 72%),
    linear-gradient(125deg, rgba(18, 32, 58, .98), rgba(9, 17, 31, .98));
  box-shadow: 0 30px 80px -42px rgba(37, 83, 190, .7);
}
.terms-hero::before, .terms-hero::after { content: ""; position: absolute; border: 1px solid rgba(177, 194, 255, .1); border-radius: 50%; pointer-events: none; }
.terms-hero::before { width: 380px; height: 380px; right: 3%; top: -210px; }
.terms-hero::after { width: 280px; height: 280px; right: 7%; bottom: -205px; }
.terms-hero-copy { position: relative; z-index: 1; max-width: 650px; }
.terms-back-link { display: inline-flex; align-items: center; gap: .4rem; margin-bottom: 1.65rem; color: var(--text-soft); font-size: .82rem; }
.terms-back-link:hover { color: #fff; }
.terms-back-link .ico { width: 15px; height: 15px; transform: rotate(180deg); }
.terms-kicker { display: inline-flex; align-items: center; gap: .42rem; color: #a9c1ff; font-size: .68rem; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; }
.terms-kicker .ico { width: 15px; height: 15px; }
.terms-hero h1 { margin: .55rem 0 .65rem; font-size: clamp(2rem, 5vw, 3.35rem); letter-spacing: -.045em; }
.terms-hero-copy > p { max-width: 54ch; color: #b6c5e1; font-size: clamp(.95rem, 1.5vw, 1.08rem); }
.terms-meta { display: flex; flex-wrap: wrap; gap: .55rem 1.1rem; margin-top: 1.25rem; }
.terms-meta span { display: inline-flex; align-items: center; gap: .35rem; color: #d3def3; font-size: .76rem; }
.terms-meta .ico { width: 15px; height: 15px; color: var(--success); }
.terms-hero-mark { position: relative; z-index: 1; display: grid; place-items: center; width: 190px; height: 190px; flex: 0 0 190px; margin-right: 3%; }
.terms-mark-orbit { position: absolute; inset: 5px; border: 1px solid rgba(166, 185, 255, .19); border-radius: 50%; box-shadow: inset 0 0 50px rgba(91, 140, 255, .08); }
.terms-mark-orbit::before, .terms-mark-orbit::after { content: ""; position: absolute; border: 1px solid rgba(166, 185, 255, .13); border-radius: 50%; }
.terms-mark-orbit::before { inset: 15px; }
.terms-mark-orbit::after { inset: 32px; }
.terms-mark-icon { display: grid; place-items: center; width: 92px; height: 108px; border: 1px solid rgba(165, 190, 255, .38); border-radius: 21px; color: #c6d6ff; background: linear-gradient(145deg, rgba(91, 140, 255, .3), rgba(124, 92, 255, .2)); box-shadow: 0 20px 50px rgba(4, 9, 20, .4); transform: rotate(-7deg); }
.terms-mark-icon .ico { width: 40px; height: 40px; }
.terms-mark-check { position: absolute; right: 21px; bottom: 30px; display: grid; place-items: center; width: 38px; height: 38px; border: 4px solid #111d33; border-radius: 50%; color: #06291f; background: var(--success); }
.terms-mark-check .ico { width: 19px; height: 19px; }
.terms-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 1.15rem; align-items: start; margin-top: 1.15rem; }
.terms-document, .terms-aside-card { border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(160deg, rgba(17, 29, 49, .96), rgba(10, 18, 31, .96)); box-shadow: 0 18px 50px -38px #000; }
.terms-document { padding: clamp(1.1rem, 3vw, 1.8rem); }
.terms-document-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.terms-document-head .terms-kicker, .terms-aside-card > .terms-kicker { color: var(--muted); font-size: .64rem; }
.terms-document-head h2 { margin: .22rem 0 0; font-size: 1.28rem; }
.terms-count { padding: .3rem .6rem; border: 1px solid var(--line); border-radius: 999px; color: var(--text-soft); background: rgba(91, 140, 255, .08); font-size: .72rem; white-space: nowrap; }
.faq-list { display: grid; gap: .55rem; padding: 1.1rem 0; }
.faq-item { overflow: hidden; border: 1px solid rgba(148, 178, 255, .12); border-radius: 13px; background: rgba(6, 12, 23, .28); }
.faq-item[open] { border-color: rgba(91, 140, 255, .3); background: rgba(91, 140, 255, .045); }
.faq-item summary { display: grid; grid-template-columns: 39px minmax(0, 1fr) 32px; align-items: center; gap: .75rem; min-height: 64px; padding: .7rem .85rem; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-question { color: var(--text); font-size: .9rem; font-weight: 650; }
.faq-toggle { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 9px; color: #b7caff; background: rgba(91, 140, 255, .08); transition: transform .18s ease, background .18s ease; }
.faq-toggle .ico { width: 16px; height: 16px; }
.faq-item[open] .faq-toggle { transform: rotate(45deg); background: rgba(91, 140, 255, .16); }
.faq-answer { padding: 0 3.65rem 1rem; }
.faq-answer p { max-width: 70ch; margin: 0; color: #aab9d4; font-size: .84rem; line-height: 1.75; }
.terms-sections { display: grid; }
.terms-section { display: grid; grid-template-columns: 39px minmax(0, 1fr); gap: .8rem; padding: 1.2rem .1rem; border-bottom: 1px solid rgba(148, 178, 255, .09); scroll-margin-top: 1rem; }
.terms-section:last-child { border-bottom: 0; }
.terms-section-number { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(91, 140, 255, .25); border-radius: 11px; color: #adc4ff; background: rgba(91, 140, 255, .1); font-size: .72rem; font-weight: 750; }
.terms-section h3 { margin: .12rem 0 .35rem; font-size: .98rem; letter-spacing: -.01em; }
.terms-section p { max-width: 72ch; margin: 0; color: #aab9d4; font-size: .87rem; line-height: 1.75; }
.terms-document-foot { display: flex; align-items: flex-start; gap: .6rem; margin-top: .55rem; padding: .8rem .9rem; border: 1px solid rgba(76, 201, 240, .17); border-radius: 12px; background: rgba(76, 201, 240, .055); }
.terms-document-foot .ico { width: 17px; height: 17px; flex: 0 0 17px; margin-top: .1rem; color: var(--info); }
.terms-document-foot p { margin: 0; color: #b3c5dc; font-size: .78rem; }
.terms-aside { display: grid; gap: .85rem; }
.terms-aside-card { padding: 1.1rem; }
.terms-aside-card h2 { margin: .35rem 0 .85rem; font-size: 1.08rem; }
.terms-summary ul { display: grid; gap: .8rem; margin: 0; padding: 0; list-style: none; }
.terms-summary li { display: grid; grid-template-columns: 31px minmax(0, 1fr); gap: .6rem; align-items: start; }
.terms-summary li > span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; color: #a9c2ff; background: rgba(91, 140, 255, .12); }
.terms-summary li .ico { width: 16px; height: 16px; }
.terms-summary li p { margin: .1rem 0 0; color: #b4c1d9; font-size: .78rem; line-height: 1.55; }
.terms-help { background: radial-gradient(270px 140px at 100% 0%, rgba(91, 140, 255, .17), transparent 74%), linear-gradient(155deg, rgba(19, 34, 60, .98), rgba(10, 18, 31, .98)); }
.terms-help-icon { display: grid; place-items: center; width: 39px; height: 39px; margin-bottom: .85rem; border: 1px solid rgba(91, 140, 255, .25); border-radius: 12px; color: #b8ccff; background: rgba(91, 140, 255, .13); }
.terms-help-icon .ico { width: 20px; height: 20px; }
.terms-help h2 { margin-bottom: .35rem; }
.terms-help > p { margin: 0 0 .9rem; color: #aab9d4; font-size: .8rem; }
.terms-help .btn { width: 100%; justify-content: center; min-height: 42px; font-size: .8rem; }
.terms-help .btn .ico { width: 16px; height: 16px; }
.terms-related { display: grid; gap: .15rem; padding: .2rem .25rem; }
.terms-related > span { margin: 0 0 .35rem .55rem; color: var(--muted); font-size: .63rem; font-weight: 750; letter-spacing: .13em; }
.terms-related a { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: .52rem .55rem; border-radius: 9px; color: #b9c7df; font-size: .77rem; }
.terms-related a:hover { color: #fff; background: rgba(148, 178, 255, .07); }
.terms-related .ico { width: 14px; height: 14px; opacity: .7; }
@media (max-width: 820px) {
  .terms-layout { grid-template-columns: minmax(0, 1fr) 270px; }
  .terms-hero-mark { width: 150px; height: 150px; flex-basis: 150px; margin-right: 0; }
  .terms-mark-icon { width: 76px; height: 92px; }
}
@media (max-width: 680px) {
  .terms-page { width: min(calc(100% - 1rem), 560px); margin: .55rem auto 1.25rem; }
  .terms-hero { min-height: 0; padding: 1.15rem; border-radius: 19px; }
  .terms-hero-mark { position: absolute; right: -25px; bottom: -38px; width: 130px; height: 130px; opacity: .3; }
  .terms-mark-icon { width: 68px; height: 82px; }
  .terms-mark-check { right: 14px; bottom: 20px; }
  .terms-back-link { margin-bottom: 1.25rem; }
  .terms-meta { gap: .45rem .8rem; }
  .terms-meta span { font-size: .69rem; }
  .terms-layout { grid-template-columns: 1fr; gap: .8rem; margin-top: .8rem; }
  .terms-document { padding: 1rem; border-radius: 17px; }
  .terms-aside { grid-template-columns: 1fr; }
  .faq-item summary { grid-template-columns: 34px minmax(0, 1fr) 30px; gap: .55rem; padding-inline: .65rem; }
  .faq-answer { padding: 0 .85rem 1rem 3.15rem; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .landing-hero { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .landing h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
  .landing-showcase { min-height: 370px; }
  .hero-art { min-height: 280px; }
}
@media (max-width: 860px) {
  :root { --sidebar: 280px; }
  .sidebar { transform: translateX(-102%); box-shadow: 40px 0 80px rgba(0, 0, 0, .5); }
  body.nav-open .sidebar { transform: translateX(0); }
  .main { margin-left: 0; }
  .menu-toggle { display: inline-grid; }
  .mobile-only { display: initial; }
  .mobile-hide { display: none !important; }
  .topbar { gap: .5rem; padding: .65rem .8rem; }
  .topbar-balance { flex: 0 0 auto; gap: .25rem; padding: .22rem .4rem; font-size: .68rem; }
  .topbar-balance .ico { width: 14px; height: 14px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .landing-steps { grid-template-columns: 1fr; }
  .landing-nav { padding-inline: 1rem; }
  .landing-nav-links { gap: .75rem; margin-right: .25rem; }
  .landing-nav-links a { font-size: .72rem; }
  .landing-hero { grid-template-columns: 1fr; gap: .5rem; }
  .landing-hero-copy { padding-top: .5rem; }
  .landing-showcase { min-height: 350px; }
  .landing-stats { gap: 1rem; padding: 1rem; }
  .landing-stat { gap: .5rem; }
  .landing-stat-icon { width: 35px; height: 35px; flex-basis: 35px; }
  .landing-stat strong { font-size: .92rem; }
  .landing-stat div > span { font-size: .62rem; }
  .landing-bottom-cta { flex-wrap: wrap; }
  .landing-bottom-cta > .btn { margin-left: calc(48px + 1rem); }
  .page-head { align-items: flex-start; }
  .feature-page-head, .dashboard-page-head { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .feature-head-actions, .dashboard-head-actions { width: 100%; }
  .nav-scrim { position: fixed; inset: 0; z-index: 55; background: rgba(3, 7, 14, .6); backdrop-filter: blur(3px); display: none; }
  body.nav-open .nav-scrim { display: block; }
}
@media (max-width: 520px) {
  .landing-nav { gap: .45rem; padding: .65rem .7rem; }
  .landing-nav .brand { gap: .45rem; }
  .landing-nav .brand-logo { width: 35px; height: 35px; }
  .landing-nav .brand-name { font-size: .84rem; }
  .landing-nav .brand-sub { font-size: .58rem; }
  .landing-nav-links { display: none; }
  .landing-login { min-height: 36px; padding: .4rem .62rem; font-size: .7rem; }
  .landing-login .ico { width: 14px; height: 14px; }
  .landing { padding: 1.15rem .9rem 2rem; }
  .landing h1 { font-size: clamp(2.25rem, 11vw, 3.1rem); }
  .landing .lead { font-size: .94rem; }
  .landing-proof { display: grid; gap: .5rem; }
  .landing-showcase { min-height: 310px; margin-inline: -.15rem; }
  .showcase-orbit { width: 250px; height: 250px; max-width: 76%; transform: none; }
  .showcase-card { width: 84%; padding: .75rem; border-radius: 18px; transform: none; }
  .showcase-order { padding: .75rem; }
  .showcase-float { padding: .45rem .55rem; }
  .showcase-float-top { top: 4%; right: 0; }
  .showcase-float-bottom { bottom: 3%; left: 0; }
  .landing-stats { display: grid; grid-template-columns: 1fr; justify-content: stretch; gap: .8rem; margin: 1rem 0 2.8rem; padding: .9rem; }
  .landing-stat-divider { width: 100%; height: 1px; }
  .landing-stat-icon { width: 38px; height: 38px; flex-basis: 38px; }
  .landing-section-heading { text-align: left; }
  .landing-section-heading h2 { font-size: 1.8rem; }
  .landing-steps { gap: .65rem; }
  .landing-step { min-height: 0; padding: 1rem; }
  .landing-bottom-cta { gap: .7rem; padding: 1rem; }
  .landing-cta-icon { width: 40px; height: 40px; flex-basis: 40px; }
  .landing-cta-copy { flex-basis: calc(100% - 55px); }
  .landing-bottom-cta > .btn { width: 100%; margin-left: 0; justify-content: center; }
  .landing-footer { padding: 1rem; font-size: .72rem; }
  .landing-footer-links { gap: .45rem .75rem; }
  .content { padding: .9rem; }
  .country-tools { width: 100%; }
  .country-tools .sort-dropdown { flex: 0 0 auto; max-width: 45%; }
  .country-tools .search-form { flex: 1 1 0; min-width: 0; }
  .card-body { padding: .95rem; }
  .card-head, .card-foot { padding: .8rem .95rem; }
  .activation-order-header { padding: .8rem .95rem; }
  .activation-info-grid { grid-template-columns: 1fr; }
  .activation-actions .btn { width: 100%; }
  .activation-actions, .activation-action-group { width: 100%; }
  .activation-action-group { flex-direction: column; }
  .recovery-codes { grid-template-columns: 1fr; }
  .stat-value { font-size: 1.3rem; }
  .table th, .table td { padding: .6rem .55rem; }
  .topbar { gap: .4rem; padding: .65rem .55rem; }
  .topbar-balance .ico { display: none; }
  .feature-page-head, .dashboard-page-head { min-height: 0; padding: 1.1rem; }
  .dashboard-head-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
  .dashboard-head-actions .btn { min-width: 0; padding-inline: .55rem; font-size: .78rem; }
  .dashboard-head-actions .btn .ico { flex: 0 0 16px; }
  .auth-card { padding: 1.1rem; }
}
@media (max-width: 760px) {
  .security-page-head { align-items: stretch; flex-direction: column; }
  .security-status { width: 100%; }
}

/* ---------- Top-up request ---------- */
.topup-layout { display: grid; grid-template-columns: minmax(0, 900px); justify-content: center; }
.topup-request-card { overflow: hidden; border-color: rgba(91, 140, 255, .26); }
.topup-card-head {
  min-height: 82px; padding: 1.1rem 1.35rem;
  background: radial-gradient(420px 140px at 0% 0%, rgba(91, 140, 255, .16), transparent 75%), rgba(6, 12, 23, .18);
}
.topup-card-title { display: flex; align-items: center; gap: .85rem; min-width: 0; }
.topup-card-title h2 { font-size: 1.05rem; }
.topup-card-subtitle { display: block; margin-top: .2rem; color: var(--muted); font-size: .78rem; }
.topup-card-icon, .topup-iban-icon {
  display: grid; place-items: center; width: 42px; height: 42px; flex: 0 0 42px;
  border: 1px solid rgba(91, 140, 255, .25); border-radius: 13px;
  color: #b6caff; background: rgba(91, 140, 255, .12);
}
.topup-card-icon .ico, .topup-iban-icon .ico { width: 21px; height: 21px; }
.topup-card-head > .badge { padding: .38rem .65rem; }
.topup-form-fields { min-width: 0; margin: 0; padding: 0; border: 0; }
.topup-form-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.topup-form-grid .field { min-width: 0; }
.topup-input-wrap { position: relative; }
.topup-input-wrap > span {
  position: absolute; z-index: 1; top: 50%; left: .85rem; transform: translateY(-50%);
  color: var(--muted); font-weight: 700;
}
.topup-input-wrap .input { min-height: 48px; padding-left: 2rem; font-size: 1rem; font-variant-numeric: tabular-nums; }
.topup-form-grid .select { min-height: 48px; }
.topup-state-alert { align-items: flex-start; padding: .9rem 1rem; }
.topup-state-alert > div { display: flex; flex-direction: column; gap: .2rem; line-height: 1.45; }
.topup-state-alert > div > strong { font-size: .9rem; }
.topup-alert-icon { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 30px; border-radius: 9px; background: rgba(0, 0, 0, .12); }
.topup-alert-icon .ico { width: 17px; height: 17px; }
.topup-alert-amount { margin-top: .15rem; font-size: .8rem; font-weight: 650; }
.topup-iban-panel {
  display: flex; flex-direction: column; gap: .85rem; margin-top: 1.15rem; padding: 1rem 1.1rem;
  border: 1px solid rgba(76, 201, 240, .24); border-radius: 14px;
  background: radial-gradient(480px 150px at 100% 0%, rgba(76, 201, 240, .09), transparent 70%), rgba(6, 12, 23, .42);
}
.topup-iban-heading { display: flex; align-items: center; gap: .75rem; }
.topup-iban-heading > div { display: flex; flex-direction: column; gap: .15rem; }
.topup-iban-heading > div > strong { font-size: .88rem; }
.topup-iban-heading > div > span, .topup-account-holder > span { color: var(--muted); font-size: .74rem; }
.topup-account-holder { display: flex; flex-direction: column; gap: .15rem; }
.topup-account-holder > strong { font-size: .9rem; }
.topup-iban-copy-row { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .65rem .75rem; border: 1px solid var(--line); border-radius: 11px; background: rgba(0, 0, 0, .16); }
.topup-iban-copy-row code { min-width: 0; overflow-wrap: anywhere; color: #d7e3ff; font-size: .9rem; letter-spacing: .035em; }
.topup-iban-description { padding-top: .7rem; border-top: 1px solid var(--line); color: var(--text-soft); font-size: .82rem; line-height: 1.55; }
.topup-form-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.topup-secure-note { display: inline-flex; align-items: center; gap: .4rem; color: var(--muted); font-size: .76rem; }
.topup-secure-note .ico { width: 16px; height: 16px; color: var(--success); }
.topup-submit { min-height: 46px; padding-inline: 1.15rem; }
.topup-form-fields:disabled { opacity: .68; }

@media (max-width: 860px) {
  .topup-form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topup-form-grid > .field:last-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .topup-card-head { align-items: flex-start; flex-direction: column; gap: .8rem; padding: 1rem; }
  .topup-form-grid { grid-template-columns: 1fr; }
  .topup-form-grid > .field:last-child { grid-column: auto; }
  .topup-form-footer { align-items: stretch; flex-direction: column; }
  .topup-submit { width: 100%; }
  .topup-iban-copy-row { align-items: stretch; flex-direction: column; }
  .topup-iban-copy-row .btn { width: 100%; }
}
