/* ═══════════════════════════════════════════════════════════
   دلتا (MyDelta) — پلتفرم تخصصی خدمات تلگرام
   Design system: light / clean / flat — Telegram blue · RTL · Vazirmatn
   ═══════════════════════════════════════════════════════════ */

/* ── fonts ── */
@font-face { font-family: "Vazirmatn"; src: url("/fonts/Vazirmatn-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Vazirmatn"; src: url("/fonts/Vazirmatn-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Vazirmatn"; src: url("/fonts/Vazirmatn-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Vazirmatn"; src: url("/fonts/Vazirmatn-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Vazirmatn"; src: url("/fonts/Vazirmatn-Black.woff2") format("woff2"); font-weight: 900; font-display: swap; }

/* ── tokens (light) ── */
:root {
  --bg0: #F4F6F9;          /* page */
  --bg1: #EDF1F6;          /* muted section */
  --bg2: #FFFFFF;          /* card */
  --bg3: #F0F4F8;          /* elevated / hover */
  --bg4: #E7EDF3;          /* pressed */
  --line: #E5EAF0;          /* hairline */
  --line2: #D9E0E8;         /* stronger hairline */
  --txt1: #17222E;          /* ink */
  --txt2: #4E5D6C;          /* secondary */
  --txt3: #8695A5;          /* muted */
  --blue: #0E8FCB;          /* telegram blue (on light) */
  --blue2: #0077B3;         /* hover / deep */
  --blue-ink: #0072A8;      /* link text */
  --blue-soft: #E7F4FB;     /* tint */
  --grad: #0E8FCB;          /* solid — no gradients */
  --grad-soft: #E7F4FB;
  --green: #16A34A;
  --green-soft: #E9F7EF;
  --amber: #D97706;
  --amber-soft: #FDF3E3;
  --red: #DC2626;
  --red-soft: #FDEDEC;
  --violet: #7C3AED;
  --violet-soft: #F1EAFE;
  --r-lg: 16px; --r-md: 12px; --r-sm: 8px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 10px 30px rgba(16, 24, 40, .08);
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06);
  --wrap: 1200px;
  --nav-h: 72px;
}

/* ── reset / base ── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Vazirmatn", system-ui, -apple-system, sans-serif;
  background: var(--bg0);
  color: var(--txt1);
  line-height: 1.85;
  font-size: 15px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: 15px; color: var(--txt1); }
::selection { background: rgba(14, 143, 203, .18); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg0); }
::-webkit-scrollbar-thumb { background: #C6D0DB; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #AEBBC8; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.mono, code { font-family: "SFMono-Regular", Consolas, monospace; }
.mt16 { margin-top: 16px; }

/* ── icons ── */
.ic { display: inline-flex; width: 22px; height: 22px; flex: none; }
.ic svg { width: 100%; height: 100%; }
.ic-s { width: 16px; height: 16px; }
.ic-xl { width: 44px; height: 44px; color: var(--blue); }
.ic-lg { width: 30px; height: 30px; }

/* ── headings / text ── */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.55; color: var(--txt1); }
.txt-blue { color: var(--blue-ink); }
.txt-green { color: var(--green); }
.txt-red { color: var(--red); }
.txt-muted { color: var(--txt3); }

/* ── buttons (solid fills — no stroke outlines) ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 22px; border-radius: var(--r-sm);
  font-size: 14.5px; font-weight: 600; line-height: 1.7;
  transition: background .18s ease, box-shadow .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-grad, .btn-primary { background: var(--blue); color: #fff; box-shadow: 0 2px 8px rgba(14, 143, 203, .28); }
.btn-grad:hover, .btn-primary:hover { background: var(--blue2); box-shadow: 0 4px 14px rgba(14, 143, 203, .36); }
.btn-ghost { background: var(--bg3); color: var(--txt1); }
.btn-ghost:hover { background: var(--bg4); }
.btn-soft { background: var(--blue-soft); color: var(--blue-ink); }
.btn-soft:hover { background: #DBEEF9; }
.btn-outline { background: transparent; color: var(--txt1); }
.btn-outline:hover { background: var(--bg3); }
.btn-outline-light { background: rgba(255, 255, 255, .16); color: #fff; }
.btn-outline-light:hover { background: rgba(255, 255, 255, .26); }
.btn-light { background: #fff; color: #0B5E8A; box-shadow: 0 2px 10px rgba(2, 32, 50, .18); }
.btn-light:hover { background: #F2F8FC; }
.btn-danger { background: var(--red-soft); color: var(--red); }
.btn-danger:hover { background: #FBDBD9; }
.btn-lg { padding: 13px 28px; font-size: 15.5px; border-radius: 10px; }
.btn-sm { padding: 8px 16px; font-size: 13.5px; }
.btn-xs { padding: 5px 12px; font-size: 12.5px; border-radius: 7px; }
.btn-block { width: 100%; }

/* ── chips / badges ── */
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--blue-soft); color: var(--blue-ink);
  padding: 5px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
}
.chip-soft { background: var(--bg3); color: var(--txt2); }
.live-chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: var(--green);
  background: var(--green-soft);
  padding: 4px 12px; border-radius: 999px; font-weight: 600; margin-top: 10px;
}
.live-chip.off { color: var(--amber); background: var(--amber-soft); }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 11px; border-radius: 999px;
  font-size: 11.5px; font-weight: 600; white-space: nowrap;
}
.badge i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex: none; }
.b-green { background: var(--green-soft); color: var(--green); }
.b-blue { background: var(--blue-soft); color: var(--blue-ink); }
.b-amber { background: var(--amber-soft); color: var(--amber); }
.b-red { background: var(--red-soft); color: var(--red); }
.b-violet { background: var(--violet-soft); color: var(--violet); }
.b-gray { background: var(--bg3); color: var(--txt2); }

/* ── cards ── */
.card {
  background: var(--bg2);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.card-head h3 { font-size: 16px; display: flex; align-items: center; gap: 8px; }
.card-sub { color: var(--txt2); font-size: 13.5px; margin: -8px 0 14px; }
.sc-link { color: var(--blue-ink); font-size: 13px; display: inline-flex; gap: 5px; align-items: center; font-weight: 600; }
.sc-link:hover { color: var(--blue); }

/* ── forms ── */
.fitem { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.fitem > span { font-size: 13.5px; font-weight: 600; color: var(--txt2); }
.fitem input, .fitem select, .fitem textarea {
  background: #FBFCFE;
  border: 1.5px solid var(--line2);
  border-radius: var(--r-sm);
  padding: 11px 14px;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.fitem input:focus, .fitem select:focus, .fitem textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(14, 143, 203, .13);
  background: #fff;
}
.fitem select option { background: #fff; color: var(--txt1); }
.fitem textarea { resize: vertical; min-height: 90px; }
.fitem .f-note { font-size: 12px; color: var(--txt3); font-style: normal; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { display: flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--txt3); margin-top: 12px; }
.is-err input { border-color: var(--red); }
.form-center { max-width: 520px; margin: 0 auto; }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; }
.inp-sm { padding: 7px 12px; font-size: 13px; border-radius: 7px; }
.sel-sm { padding: 7px 30px 7px 12px; font-size: 13px; }

.check { display: flex; align-items: center; gap: 9px; cursor: pointer; font-size: 14px; color: var(--txt2); }
.check input { display: none; }
.check i {
  width: 19px; height: 19px; border-radius: 6px; flex: none;
  border: 1.5px solid var(--line2); background: #fff;
  position: relative; transition: .18s;
}
.check input:checked + i { background: var(--blue); border-color: var(--blue); }
.check input:checked + i::after {
  content: ""; position: absolute; inset: 4px;
  background: #fff; clip-path: polygon(14% 44%, 0 60%, 40% 100%, 100% 16%, 84% 4%, 40% 70%);
}

/* ── flash ── */
.flash {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 16px; border-radius: var(--r-md);
  font-size: 13.5px; font-weight: 600; margin-bottom: 18px;
  animation: fadeIn .3s ease;
}
.flash .ic { flex: none; }
.flash-ok { background: var(--green-soft); color: #0E7A38; }
.flash-err { background: var(--red-soft); color: #B01F1F; }
.flash-x { margin-inline-start: auto; color: inherit; opacity: .6; }
.flash-x:hover { opacity: 1; }

/* ── reveal (subtle fade-up only) ── */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .45s ease, transform .45s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ═══════════ HEADER ═══════════ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.nav-row { display: flex; align-items: center; gap: 28px; height: var(--nav-h); }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-logo {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  background: var(--blue); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.brand-logo .ic { width: 22px; height: 22px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.35; }
.brand-txt b { font-size: 19px; font-weight: 800; }
.brand-txt i { font-style: normal; font-size: 10.5px; color: var(--txt3); letter-spacing: .3px; }

.main-nav { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.nav-item { position: relative; }
.nav-item > a {
  display: block; padding: 9px 13px; border-radius: var(--r-sm);
  font-size: 14px; font-weight: 500; color: var(--txt2); transition: .18s;
}
.nav-item > a:hover { color: var(--txt1); background: var(--bg3); }
.nav-item.active > a { color: var(--blue-ink); background: var(--blue-soft); }
.has-drop > a::after { content: " ⌄"; font-size: 11px; }
.nav-drop {
  position: absolute; top: calc(100% + 8px); inset-inline-start: -60px;
  background: #fff; border-radius: var(--r-md);
  box-shadow: 0 4px 10px rgba(16, 24, 40, .08), 0 18px 44px rgba(16, 24, 40, .14);
  padding: 14px; min-width: 380px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 20;
}
.has-drop:hover .nav-drop { opacity: 1; visibility: visible; transform: none; }
.drop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.drop-grid a {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 12px; border-radius: var(--r-sm); transition: background .15s;
}
.drop-grid a:hover { background: var(--bg3); }
.drop-grid .ic { width: 20px; height: 20px; color: var(--blue); background: var(--blue-soft); border-radius: 7px; padding: 5px; }
.drop-grid span { font-size: 13.5px; font-weight: 600; display: block; }
.drop-grid em { font-style: normal; font-size: 11px; color: var(--txt3); display: block; }
.drop-all {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  margin-top: 10px; padding: 10px; border-radius: var(--r-sm);
  background: var(--bg3); font-size: 12.5px; font-weight: 600; color: var(--txt2);
}
.drop-all:hover { background: var(--bg4); color: var(--txt1); }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-mobile-auth { display: none; }

.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-burger span { width: 22px; height: 2.5px; border-radius: 2px; background: var(--txt1); transition: .2s; }

/* ═══════════ FOOTER ═══════════ */
.site-footer { background: #fff; border-top: 1px solid var(--line); margin-top: 24px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; padding: 52px 0 40px; }
.foot-brand p { color: var(--txt2); font-size: 13.5px; margin-top: 16px; max-width: 360px; }
.foot-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.foot-badges span {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg3); color: var(--txt2);
  font-size: 11.5px; font-weight: 600; padding: 5px 12px; border-radius: 999px;
}
.foot-badges .ic-s { color: var(--green); }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col h4 { font-size: 14px; margin-bottom: 6px; }
.foot-col a { color: var(--txt2); font-size: 13.5px; }
.foot-col a:hover { color: var(--blue-ink); }
.foot-note { font-size: 12px; color: var(--txt3); }
.foot-bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  padding: 20px 0; border-top: 1px solid var(--line);
  color: var(--txt3); font-size: 12.5px;
}
.foot-live { display: inline-flex; align-items: center; gap: 6px; }
.foot-live .ic-s { width: 14px; height: 14px; }

/* ── sections ── */
.sec { padding: 64px 0; }
.sec-alt { background: #fff; }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.sec-kicker {
  display: inline-block; color: var(--blue-ink); background: var(--blue-soft);
  font-size: 12.5px; font-weight: 700; letter-spacing: .2px;
  padding: 5px 15px; border-radius: 999px; margin-bottom: 14px;
}
.sec-head h2 { font-size: 26px; margin-bottom: 10px; }
.sec-head p { color: var(--txt2); font-size: 14.5px; }

.page-hero {
  padding: 52px 0 36px; position: relative;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: 30px; margin-bottom: 10px; }
.page-hero p { color: var(--txt2); max-width: 720px; font-size: 14.5px; }

/* ═══════════ HERO (home) ═══════════ */
.hero { position: relative; overflow: hidden; padding: 60px 0 56px; background: #fff; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 44px; align-items: center; position: relative; }
.hero-copy h1 { font-size: 38px; font-weight: 900; line-height: 1.6; margin: 16px 0 14px; }
.hero-copy h1 em { font-style: normal; color: var(--blue-ink); }
.hero-copy > p { color: var(--txt2); font-size: 15.5px; max-width: 540px; }
.hero-actions { display: flex; gap: 12px; margin: 26px 0 30px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 34px; flex-wrap: wrap; }
.hero-stats div { position: relative; padding-inline-start: 16px; }
.hero-stats div::before { content: ""; position: absolute; inset-inline-start: 0; top: 50%; transform: translateY(-50%); width: 3px; height: 68%; border-radius: 3px; background: var(--blue); }
.hero-stats b { display: block; font-size: 23px; font-weight: 800; color: var(--txt1); }
.hero-stats span { font-size: 12px; color: var(--txt3); }

/* order tracking card (product mock — replaces chat phone) */
.hero-art { position: relative; display: flex; justify-content: center; }
.order-card {
  width: 100%; max-width: 430px;
  background: #fff; border-radius: var(--r-lg);
  box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 22px 60px rgba(16, 24, 40, .12);
  overflow: hidden;
}
.oc-head {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 22px; background: var(--blue); color: #fff;
}
.oc-head b { font-size: 15px; display: block; }
.oc-head i { font-style: normal; font-size: 11.5px; opacity: .85; display: block; }
.oc-ic { width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .18); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.oc-ic .ic { width: 22px; height: 22px; }
.oc-state { margin-inline-start: auto; background: rgba(255, 255, 255, .2); font-size: 11px; font-weight: 700; padding: 4px 11px; border-radius: 999px; }
.oc-body { padding: 20px 22px 22px; }
.oc-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.oc-row:last-of-type { border-bottom: none; }
.oc-row span { color: var(--txt3); }
.oc-row b { font-weight: 700; }
.oc-progress { margin: 14px 0 6px; }
.oc-progress .mini-pbar { height: 8px; border-radius: 8px; background: var(--bg1); overflow: hidden; }
.oc-progress .mini-pbar i { display: block; height: 100%; background: var(--blue); border-radius: 8px; }
.oc-progress-meta { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--txt3); margin-top: 7px; }
.oc-steps { display: flex; gap: 6px; margin-top: 16px; }
.oc-step { flex: 1; text-align: center; font-size: 10.5px; color: var(--txt3); padding-top: 8px; position: relative; }
.oc-step::before { content: ""; position: absolute; top: -4px; inset-inline-start: 50%; transform: translateX(50%); width: 10px; height: 10px; border-radius: 50%; background: var(--line2); }
.oc-step.done { color: var(--blue-ink); font-weight: 600; }
.oc-step.done::before { background: var(--blue); }
.oc-step.now { color: var(--txt1); font-weight: 700; }
.oc-step.now::before { background: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.mini-pbar { height: 6px; border-radius: 6px; background: var(--bg1); overflow: hidden; }
.mini-pbar i { display: block; height: 100%; background: var(--blue); border-radius: 6px; transition: width .6s; }

/* trust strip */
.trust-strip { border-bottom: 1px solid var(--line); background: var(--bg0); }
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 22px 0; }
.trust-row > div { display: flex; align-items: center; gap: 13px; }
.trust-row .ic { width: 36px; height: 36px; color: var(--blue-ink); background: var(--blue-soft); border-radius: 10px; padding: 8px; }
.trust-row b { font-size: 13.5px; display: block; }
.trust-row span { font-size: 11.5px; color: var(--txt3); }

/* services grid */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border-radius: var(--r-lg); padding: 26px; gap: 9px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .22s ease, transform .22s ease;
}
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.svc-ic {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--blue-soft);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--blue-ink); margin-bottom: 4px;
}
.svc-ic .ic { width: 26px; height: 26px; }
.svc-card h3 { font-size: 16.5px; }
.svc-card > p { font-size: 13px; color: var(--txt2); }
.svc-meta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 2px; }
.svc-meta span { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--txt2); }
.svc-meta b { color: var(--txt1); }
.svc-meta .ic-s { width: 14px; height: 14px; color: var(--blue-ink); }
.svc-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.svc-tags em {
  font-style: normal; display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; padding: 3px 10px; border-radius: 999px;
  background: var(--green-soft); color: var(--green); font-weight: 600;
}
.svc-tags .ic-s { width: 12px; height: 12px; }
.svc-go {
  margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 7px;
  color: var(--blue-ink); font-size: 13px; font-weight: 700;
}
.svc-card:hover .svc-go { gap: 11px; }
.svc-go { transition: gap .2s; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  position: relative; text-align: center;
  background: #fff; border-radius: var(--r-lg);
  padding: 30px 22px;
  box-shadow: var(--shadow-sm);
}
.step-n {
  position: absolute; top: -13px; inset-inline-start: 50%; transform: translateX(50%);
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 800; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.step-ic { width: 56px; height: 56px; margin: 8px auto 14px; border-radius: 16px; background: var(--blue-soft); display: flex; align-items: center; justify-content: center; color: var(--blue-ink); }
.step-ic .ic { width: 26px; height: 26px; }
.step h3 { font-size: 15.5px; margin-bottom: 8px; }
.step p { font-size: 12.5px; color: var(--txt2); }

/* plans */
.plan-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border-radius: var(--r-lg); padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s, box-shadow .22s;
}
.plan-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.plan-card.rec {
  background: #0B77AC; color: #EAF5FB;
  box-shadow: 0 12px 34px rgba(11, 119, 172, .34);
}
.plan-card.rec h3, .plan-card.rec .plan-price b { color: #fff; }
.plan-card.rec .plan-price s { color: rgba(255, 255, 255, .6); }
.plan-card.rec .plan-price i { color: rgba(255, 255, 255, .75); }
.plan-card.rec .plan-per { background: rgba(255, 255, 255, .14); color: #D9EDF7; }
.plan-card.rec .plan-feats li { color: #E2F1F9; }
.plan-card.rec .plan-feats .ic-s { color: #7CD4F4; }
.plan-card.rec .plan-desc { color: #BFE0EF; }
.plan-badge {
  position: absolute; top: -12px; inset-inline-start: 50%; transform: translateX(50%);
  background: #fff; color: #0B77AC; font-size: 11.5px; font-weight: 800;
  padding: 4px 16px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 4px 12px rgba(11, 119, 172, .25);
}
.plan-card h3 { font-size: 16.5px; text-align: center; }
.plan-price { text-align: center; margin: 14px 0 6px; }
.plan-price s { display: block; color: var(--txt3); font-size: 13px; }
.plan-price b { font-size: 29px; font-weight: 900; color: var(--txt1); }
.plan-price i { font-style: normal; font-size: 12.5px; color: var(--txt3); margin-inline-start: 5px; }
.plan-per { display: block; text-align: center; font-size: 11.5px; color: var(--txt2); background: var(--bg3); border-radius: 999px; padding: 5px 10px; margin-bottom: 16px; }
.plan-feats { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.plan-feats li { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--txt2); line-height: 1.75; }
.plan-feats .ic-s { width: 15px; height: 15px; color: var(--green); flex: none; margin-top: 5px; }
.plan-desc { font-size: 12px; color: var(--txt3); margin: -6px 0 16px; line-height: 1.9; }
.plan-buy { margin-top: auto; }
.plan-card.rec .plan-buy { background: #fff; color: #0B5E8A; }
.plan-card.rec .plan-buy:hover { background: #EAF4FB; }
.plans-foot { text-align: center; color: var(--txt3); font-size: 13px; margin-top: 26px; }
.plans-foot b { color: var(--green); }
.plans-foot a { color: var(--blue-ink); font-weight: 600; }

/* quality compare (replaces testimonials) */
.qcmp-note { text-align: center; color: var(--txt3); font-size: 12.5px; margin-top: 14px; }

/* faq teaser + cta */
.cta-faq { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.faq-mini h2 { font-size: 22px; margin-bottom: 20px; }
.acc {
  background: #fff; border-radius: var(--r-md);
  margin-bottom: 10px; overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.acc summary {
  display: flex; align-items: center; gap: 10px;
  padding: 15px 18px; font-weight: 600; font-size: 14px; cursor: pointer;
  list-style: none; transition: background .15s;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary:hover { background: var(--bg3); }
.acc .ic-s { color: var(--blue-ink); transition: transform .2s; }
.acc[open] summary .ic-s { transform: rotate(45deg); }
.acc p { padding: 0 18px 18px; font-size: 13px; color: var(--txt2); line-height: 2; }
.link-more { display: inline-flex; align-items: center; gap: 7px; color: var(--blue-ink); font-weight: 600; font-size: 13.5px; margin-top: 6px; }

.cta-box {
  position: relative; overflow: hidden; text-align: center;
  background: #0B77AC; border-radius: var(--r-lg); padding: 46px 34px;
  box-shadow: 0 14px 36px rgba(11, 119, 172, .3);
}
.cta-box h2 { color: #fff; font-size: 24px; margin-bottom: 10px; }
.cta-box p { color: rgba(255, 255, 255, .88); font-size: 14px; max-width: 400px; margin: 0 auto 24px; }
.cta-box p b { color: #fff; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.cta-note { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: rgba(255, 255, 255, .82); }
.cta-note .ic-s { width: 14px; height: 14px; }

/* ═══════════ SERVICES PAGE ═══════════ */
.svc-anchor-row { display: flex; gap: 10px; flex-wrap: wrap; padding: 22px 0; }
.svc-anchor {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff;
  padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: .18s;
}
.svc-anchor .ic { width: 16px; height: 16px; color: var(--blue-ink); }
.svc-anchor:hover { background: var(--blue-soft); color: var(--blue-ink); }
.cat-block { margin-bottom: 44px; scroll-margin-top: 92px; }
.cat-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.cat-ic {
  width: 50px; height: 50px; border-radius: 13px; flex: none;
  background: var(--blue-soft);
  color: var(--blue-ink); display: inline-flex; align-items: center; justify-content: center;
}
.cat-ic .ic { width: 24px; height: 24px; }
.cat-head h2 { font-size: 19px; }
.cat-head p { font-size: 13px; color: var(--txt2); }
.cat-head .btn { margin-inline-start: auto; }

/* tables */
.table-wrap { overflow-x: auto; border-radius: var(--r-md); background: #fff; box-shadow: var(--shadow-sm); }
.tbl { width: 100%; border-collapse: collapse; min-width: 640px; }
.tbl thead th {
  background: var(--bg1); color: var(--txt2); font-size: 11.5px; font-weight: 700;
  padding: 12px 16px; text-align: right; white-space: nowrap;
  border-bottom: 1px solid var(--line2);
}
.tbl tbody td { padding: 13px 16px; font-size: 13px; border-bottom: 1px solid var(--line); vertical-align: middle; background: #fff; }
.tbl tbody tr:last-child td { border-bottom: none; }
.tbl tbody tr { transition: background .15s; }
.tbl tbody tr:hover { background: #F7FAFC; }
.tbl-svc b { display: block; font-size: 13px; margin-bottom: 2px; }
.tbl-svc span { font-size: 12px; color: var(--txt3); display: block; max-width: 380px; line-height: 1.7; }
.feat-chip { display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-size: 10.5px; color: var(--amber); background: var(--amber-soft); padding: 2px 8px; border-radius: 999px; margin-top: 5px; font-weight: 700; }
.feat-chip .ic-s { width: 11px; height: 11px; }
.price-cell { font-size: 14.5px; color: var(--txt1); font-weight: 800; }
.td-link a { color: var(--txt2); font-size: 12.5px; direction: ltr; }
.td-link a:hover { color: var(--blue-ink); }
.td-desc { max-width: 320px; font-size: 12.5px; color: var(--txt2); }
.td-user b { display: block; }
.td-user span { font-size: 12px; color: var(--txt3); direction: ltr; }

/* plans compare */
.plan-compare { margin-top: 54px; }
.plan-compare h2 { font-size: 22px; margin-bottom: 20px; }
.plan-compare .ic { width: 18px; height: 18px; color: var(--green); }
.plan-faq { margin-top: 26px; }
.plan-faq .acc { margin-bottom: 10px; }

/* ═══════════ FAQ / ABOUT / TERMS / CONTACT ═══════════ */
.faq-cols { display: grid; grid-template-columns: 1.7fr 1fr; gap: 34px; align-items: start; }
.faq-side { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 18px; }
.side-card { background: #fff; border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.side-card h3 { font-size: 15.5px; display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.side-card h3 .ic { color: var(--blue-ink); }
.side-card p { font-size: 13px; color: var(--txt2); line-height: 2; margin-bottom: 16px; }
.side-tint { background: var(--blue-soft); }
.side-row { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--txt2); margin-top: 12px; }
.side-row .ic-s { color: var(--blue-ink); }

.about-grid { display: grid; grid-template-columns: 1.7fr 1fr; gap: 40px; align-items: start; }
.about-txt h2 { font-size: 22px; margin: 26px 0 14px; }
.about-txt h2:first-child { margin-top: 0; }
.about-txt p { font-size: 14px; color: var(--txt2); line-height: 2.2; }
.about-list { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.about-list li { display: flex; gap: 14px; align-items: flex-start; }
.about-list .ic { width: 38px; height: 38px; flex: none; color: var(--blue-ink); background: var(--blue-soft); border-radius: 11px; padding: 8px; }
.about-list b { display: block; font-size: 15px; }
.about-list span { font-size: 13px; color: var(--txt3); }
.about-side { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; position: sticky; top: 100px; }
.about-side .side-card { text-align: center; padding: 22px 14px; }
.about-side b { display: block; font-size: 24px; font-weight: 900; color: var(--blue-ink); }
.about-side span { font-size: 12px; color: var(--txt3); }

.terms { max-width: 860px; }
.term-block { background: #fff; border-radius: var(--r-lg); padding: 26px 30px; margin-bottom: 18px; box-shadow: var(--shadow-sm); }
.term-block h2 { font-size: 16.5px; color: var(--blue-ink); margin-bottom: 12px; }
.term-block p { font-size: 13.5px; color: var(--txt2); line-height: 2.2; margin-bottom: 8px; }
.terms-date { text-align: center; color: var(--txt3); font-size: 13px; margin-top: 24px; }

.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 34px; align-items: start; }
.form-card h2 { margin-bottom: 18px; font-size: 18px; }
.contact-side { display: flex; flex-direction: column; gap: 18px; }
.contact-row { display: flex; align-items: center; gap: 13px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.contact-row:last-of-type { border-bottom: none; }
.contact-row .ic { color: var(--blue-ink); width: 26px; height: 26px; }
.contact-row b { display: block; font-size: 13.5px; }
.contact-row span { font-size: 12.5px; color: var(--txt3); }

/* ═══════════ 404 ═══════════ */
.nf { text-align: center; padding: 110px 24px; }
.nf b { font-size: 88px; font-weight: 900; color: var(--blue); display: block; line-height: 1.2; }
.nf h1 { font-size: 23px; margin: 6px 0 10px; }
.nf p { color: var(--txt2); margin-bottom: 26px; }
.nf-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ═══════════ AUTH PAGES ═══════════ */
.auth-body { background: var(--bg0); }
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 1.15fr; }
.auth-art {
  position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center;
  background: #0B77AC;
  padding: 40px;
}
.auth-art-in { max-width: 460px; position: relative; z-index: 2; color: #fff; }
.auth-art-in h2 { font-size: 25px; margin-bottom: 10px; color: #fff; }
.auth-art-in > p { color: rgba(255, 255, 255, .82); font-size: 14.5px; margin-bottom: 22px; }
.brand-logo-lg { width: 64px; height: 64px; border-radius: 18px; margin-bottom: 22px; background: #fff; color: #0B77AC; }
.brand-logo-lg .ic { width: 32px; height: 32px; }
.auth-art-in ul { list-style: none; display: flex; flex-direction: column; gap: 13px; margin-bottom: 30px; }
.auth-art-in li { display: flex; gap: 10px; align-items: center; color: #fff; font-size: 14px; }
.auth-art-in li .ic-s { color: #A8E0F6; }
.auth-art-stats { display: flex; gap: 40px; }
.auth-art-stats b { display: block; font-size: 22px; font-weight: 800; color: #fff; }
.auth-art-stats span { font-size: 12px; color: rgba(255, 255, 255, .72); }
.auth-form-col { display: flex; align-items: center; justify-content: center; padding: 40px 24px; background: #fff; }
.auth-card { width: 100%; max-width: 440px; animation: fadeIn .4s ease; }
.auth-card h1 { font-size: 23px; margin-bottom: 6px; }
.auth-sub { color: var(--txt3); font-size: 13.5px; margin-bottom: 24px; }
.auth-row { display: flex; align-items: center; justify-content: space-between; margin: -6px 0 20px; font-size: 13.5px; }
.auth-row a { color: var(--blue-ink); font-weight: 600; }
.auth-alt { text-align: center; margin-top: 20px; font-size: 13.5px; color: var(--txt2); }
.auth-alt a { color: var(--blue-ink); font-weight: 700; }
.auth-perks { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 26px; }
.auth-perks span { display: inline-flex; gap: 5px; align-items: center; font-size: 11.5px; color: var(--txt2); background: var(--bg3); padding: 5px 11px; border-radius: 999px; }
.auth-perks .ic-s { width: 12px; height: 12px; color: var(--blue-ink); }
.reg-check { margin: 2px 0 18px; }
.sent-box { text-align: center; padding: 20px 0; }
.sent-box .ic-xl { margin: 0 auto 16px; }
.pw-wrap { position: relative; }
.pw-eye { position: absolute; inset-inline-end: 12px; top: 50%; transform: translateY(-50%); color: var(--txt3); padding: 4px; }
.pw-eye:hover { color: var(--blue-ink); }

/* ═══════════ PAYMENT / GATEWAY ═══════════ */
.pay-body { background: var(--bg0); }
.pay-wrap, .gw-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.pay-card, .gw-panel {
  width: 100%; max-width: 470px;
  background: #fff;
  border-radius: 18px; padding: 30px; box-shadow: var(--shadow);
}
.pay-head, .gw-head { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.pay-head b, .gw-head b { font-size: 16.5px; display: block; }
.pay-head i, .gw-head i { font-style: normal; font-size: 11.5px; color: var(--txt3); display: block; }
.pay-secure {
  margin-inline-start: auto; display: inline-flex; align-items: center; gap: 5px;
  color: var(--green); background: var(--green-soft);
  font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px;
}
.pay-secure .ic-s { width: 12px; height: 12px; }
.pay-card h1, .pay-card .h1 { font-size: 18px; margin-bottom: 16px; }
.pay-summary { background: var(--bg1); border-radius: var(--r-md); padding: 6px 18px; margin-bottom: 20px; }
.pay-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.pay-row:last-child { border-bottom: none; }
.pay-row span { color: var(--txt3); }
.pay-row b { font-weight: 600; text-align: left; max-width: 300px; }
.pay-total b { font-size: 16.5px; color: var(--blue-ink); font-weight: 800; }
.pay-total i { font-style: normal; font-size: 12px; color: var(--txt3); }
.pay-actions { display: flex; flex-direction: column; gap: 12px; }
.pay-trust { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 20px; font-size: 11.5px; color: var(--txt3); }
.pay-trust span { display: inline-flex; align-items: center; gap: 5px; }
.pay-trust .ic-s { width: 13px; height: 13px; color: var(--green); }
.pay-expired { display: flex; gap: 10px; align-items: flex-start; background: var(--amber-soft); color: #A15C07; padding: 14px 16px; border-radius: var(--r-md); font-size: 13px; margin-bottom: 18px; }
.receipt { text-align: center; }
.receipt .rc-ic {
  width: 68px; height: 68px; margin: 6px auto 18px; border-radius: 50%;
  background: var(--green-soft); color: var(--green);
  display: flex; align-items: center; justify-content: center;
}
.receipt .rc-ic .ic { width: 34px; height: 34px; }
.rc-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }

/* gateway */
.gw-body { background: var(--bg0); }
.gw-merchant {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  background: var(--bg1); border-radius: var(--r-sm);
  padding: 10px 14px; font-size: 12.5px; color: var(--txt2); margin-bottom: 22px;
}
.gw-merchant b { color: var(--txt1); }
.gw-bank { width: 44px; height: 44px; border-radius: 12px; background: var(--blue); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.gw-card h2, .gw-otp h2 { font-size: 17px; margin-bottom: 6px; }
.gw-sub { color: var(--txt3); font-size: 12.5px; margin-bottom: 20px; }
.cc-cells { display: flex; gap: 8px; }
.cc-cell {
  width: 100%; text-align: center; letter-spacing: 2px; font-size: 16px; font-weight: 600;
  background: #FBFCFE; border: 1.5px solid var(--line2); border-radius: var(--r-sm);
  padding: 12px 6px; transition: border-color .2s, box-shadow .2s;
}
.cc-cell:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(14, 143, 203, .13); }
.cc-cell.sm { width: 72px; letter-spacing: 0; }
.gw-num { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.gw-num > span, .gw-exp > span, .gw-cvv > span { font-size: 13px; font-weight: 600; color: var(--txt2); }
.gw-row { display: flex; gap: 14px; margin-bottom: 18px; }
.gw-exp, .gw-cvv { display: flex; flex-direction: column; gap: 8px; }
.gw-exp > div { display: flex; align-items: center; gap: 6px; color: var(--txt3); }
.otp-inputs { display: flex; gap: 8px; justify-content: center; margin: 22px 0; }
.otp-cell {
  width: 52px; height: 56px; text-align: center; font-size: 20px; font-weight: 700;
  background: #FBFCFE; border: 1.5px solid var(--line2); border-radius: var(--r-sm);
  transition: border-color .2s, box-shadow .2s;
}
.otp-cell:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(14, 143, 203, .13); }
.gw-amount { font-size: 13px; color: var(--txt2); text-align: center; margin-bottom: 18px; }
.gw-amount b { color: var(--txt1); font-size: 16px; }
.gw-resend { text-align: center; font-size: 12.5px; color: var(--txt3); margin-top: 16px; }
.gw-resend b { color: var(--blue-ink); cursor: pointer; }
.gw-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 22px; font-size: 11.5px; color: var(--txt3); }
.gw-cancel { color: var(--txt3); font-size: 12.5px; }
.gw-cancel:hover { color: var(--red); }
.gw-anim { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 30px 0 6px; }
.gw-anim .spinner { width: 46px; height: 46px; border-radius: 50%; border: 4px solid var(--blue-soft); border-top-color: var(--blue); animation: spin .8s linear infinite; }

/* ═══════════ PANEL SHELL ═══════════ */
.panel-body { background: var(--bg0); }
.panel-shell { display: flex; min-height: 100vh; }
.panel-side {
  width: 268px; flex: none; position: sticky; top: 0; height: 100vh; overflow-y: auto;
  background: #fff; border-inline-end: 1px solid var(--line);
  display: flex; flex-direction: column; z-index: 60;
}
.ps-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.ps-head .brand { flex: 1; min-width: 0; }
.ps-burger { display: none; color: var(--txt3); padding: 8px; }
.ps-user { padding: 18px 20px 6px; }
.ps-user > div { min-width: 0; }
.ps-user b { display: block; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ps-user i { font-style: normal; font-size: 11.5px; color: var(--txt3); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; direction: ltr; text-align: right; }
.ps-ava {
  width: 46px; height: 46px; border-radius: 13px; flex: none;
  background: var(--blue); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 17px;
}
.ps-ava.sm { width: 34px; height: 34px; border-radius: 10px; font-size: 14px; }
.ps-user { display: flex; align-items: center; gap: 12px; }
.ps-nav { display: flex; flex-direction: column; gap: 2px; padding: 14px 12px; flex: 1; }
.ps-item {
  display: flex; align-items: center; gap: 11px;
  padding: 10.5px 13px; border-radius: var(--r-sm);
  font-size: 14px; font-weight: 500; color: var(--txt2);
  transition: background .15s, color .15s; position: relative;
}
.ps-item .ic { width: 19px; height: 19px; }
.ps-item:hover { background: var(--bg3); color: var(--txt1); }
.ps-item.active { background: var(--blue-soft); color: var(--blue-ink); font-weight: 700; }
.ps-badge {
  position: absolute; inset-inline-end: 10px; top: 50%; transform: translateY(-50%);
  background: var(--red); color: #fff; font-style: normal; font-size: 10.5px; font-weight: 700;
  min-width: 20px; text-align: center; padding: 1px 6px; border-radius: 999px;
}
.ps-admin { color: var(--violet); font-weight: 600; }
.ps-admin:hover { background: var(--violet-soft); color: var(--violet); }
.ps-foot { padding: 12px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.as-btn { width: 100%; font-size: 14px; font-weight: 500; text-align: right; }

.panel-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.panel-topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 16px;
  background: #fff; border-bottom: 1px solid var(--line);
  padding: 0 26px; height: 66px;
}
.pt-burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.pt-burger span { width: 22px; height: 2.5px; border-radius: 2px; background: var(--txt1); }
.pt-title { font-size: 17px; font-weight: 700; }
.pt-right { margin-inline-start: auto; display: flex; align-items: center; gap: 16px; }
.pt-bell { position: relative; color: var(--txt2); padding: 8px; cursor: pointer; }
.pt-bell:hover { color: var(--txt1); }
.pt-bell > .ic { width: 21px; height: 21px; }
.pt-bell em {
  position: absolute; top: 2px; inset-inline-end: 0;
  background: var(--red); color: #fff; font-style: normal; font-size: 10px; font-weight: 700;
  min-width: 17px; height: 17px; border-radius: 999px; display: flex; align-items: center; justify-content: center; padding: 0 4px;
}
.pt-drop {
  position: absolute; top: calc(100% + 10px); inset-inline-end: -80px;
  width: 320px; background: #fff; border-radius: var(--r-md);
  box-shadow: 0 4px 10px rgba(16, 24, 40, .08), 0 18px 44px rgba(16, 24, 40, .14);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.pt-bell.open .pt-drop { opacity: 1; visibility: visible; transform: none; }
.pt-drop-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.pt-drop-head a { font-size: 12px; color: var(--blue-ink); font-weight: 600; }
.pt-drop-body { max-height: 300px; overflow-y: auto; padding: 6px; }
.pt-drop-item { display: flex; gap: 10px; padding: 10px 12px; border-radius: var(--r-sm); }
.pt-drop-item:hover { background: var(--bg3); }
.pt-drop-item b { display: block; font-size: 12.5px; }
.pt-drop-item span { font-size: 11.5px; color: var(--txt3); }
.pt-drop-item time { font-size: 10.5px; color: var(--txt3); }
.pt-empty { display: block; text-align: center; padding: 24px; color: var(--txt3); font-size: 12.5px; }
.pt-balance {
  display: flex; align-items: center; gap: 7px;
  background: var(--blue-soft); color: var(--blue-ink);
  padding: 8px 14px; border-radius: 999px; font-size: 13px;
}
.pt-balance b { font-weight: 800; }
.pt-balance i { font-style: normal; font-size: 10.5px; opacity: .75; }
.pt-balance .ic-s { width: 15px; height: 15px; }
.pt-user { display: flex; align-items: center; gap: 9px; }
.pt-uname { font-size: 13.5px; font-weight: 600; }

.panel-content { padding: 26px; max-width: 1240px; width: 100%; margin: 0 auto; }

/* ── dashboard ── */
.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.stat-card {
  position: relative; background: #fff; border-radius: var(--r-lg); padding: 22px;
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.stat-card b { display: block; font-size: 22px; font-weight: 800; margin: 12px 0 3px; }
.stat-card span { font-size: 12px; color: var(--txt3); }
.sc-ic { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; }
.sc-ic .ic { width: 22px; height: 22px; }
.c-blue .sc-ic { background: var(--blue-soft); color: var(--blue-ink); }
.c-green .sc-ic { background: var(--green-soft); color: var(--green); }
.c-amber .sc-ic { background: var(--amber-soft); color: var(--amber); }
.c-violet .sc-ic { background: var(--violet-soft); color: var(--violet); }
.sc-link { margin-top: 12px; display: inline-flex; }

.dash-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; margin-bottom: 22px; }
.bar-chart { display: flex; align-items: flex-end; gap: 10px; height: 160px; padding-top: 10px; }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; justify-content: flex-end; }
.bar-v { width: 100%; max-width: 34px; background: var(--blue); border-radius: 6px 6px 2px 2px; min-height: 6px; transition: height .5s ease; opacity: .85; }
.bar-col:hover .bar-v { opacity: 1; }
.bar-col span { font-size: 11px; color: var(--txt3); }

.vip-box { text-align: center; padding: 8px 4px; }
.vip-star { display: inline-flex; width: 52px; height: 52px; border-radius: 16px; background: var(--amber-soft); color: var(--amber); align-items: center; justify-content: center; margin-bottom: 14px; }
.vip-star .ic { width: 26px; height: 26px; }
.vip-box h3 { font-size: 16px; margin-bottom: 8px; }
.vip-box p { font-size: 12.5px; color: var(--txt2); margin-bottom: 14px; }
.vip-exp { font-size: 12px; color: var(--green); background: var(--green-soft); display: inline-flex; align-items: center; gap: 6px; padding: 5px 13px; border-radius: 999px; }
.vip-chip { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; color: var(--amber); background: var(--amber-soft); padding: 4px 12px; border-radius: 999px; }

/* ── new order ── */
.order-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; align-items: start; }
.svc-hint { margin-top: 6px; background: var(--blue-soft); border-radius: var(--r-sm); padding: 10px 14px; font-size: 12px; color: var(--blue-ink); line-height: 1.9; }
.os-hint { font-size: 11.5px; color: var(--txt3); margin-top: 6px; }
.order-summary { background: var(--bg1); border-radius: var(--r-md); padding: 18px; position: sticky; top: 92px; }
.os-row { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.os-row:last-of-type { border-bottom: none; }
.os-row span { color: var(--txt3); }
.os-total { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding-top: 12px; border-top: 1.5px solid var(--line2); font-size: 14px; }
.os-total b { font-size: 19px; color: var(--blue-ink); font-weight: 800; }
.os-total i { font-style: normal; font-size: 11.5px; color: var(--txt3); }

/* ── order detail ── */
.detail-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; align-items: start; }
.detail-side { display: flex; flex-direction: column; gap: 16px; }
.big-progress { padding: 18px; background: var(--bg1); border-radius: var(--r-md); }
.pbar { position: relative; height: 10px; border-radius: 10px; background: #DCE4EC; overflow: hidden; }
.pbar-fill { height: 100%; background: var(--blue); border-radius: 10px; transition: width .5s ease; }
.pbar-txt { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; color: var(--txt1); }
.timeline { margin-top: 26px; }
.tl-step { position: relative; padding-inline-start: 30px; padding-bottom: 24px; }
.tl-step::before { content: ""; position: absolute; inset-inline-start: 9px; top: 22px; bottom: 0; width: 2px; background: var(--line2); }
.tl-step:last-child::before { display: none; }
.tl-dot {
  position: absolute; inset-inline-start: 0; top: 3px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--bg3); display: flex; align-items: center; justify-content: center;
}
.tl-dot .ic-s { width: 11px; height: 11px; color: var(--txt3); }
.tl-step.done .tl-dot { background: var(--blue); }
.tl-step.done .tl-dot .ic-s { color: #fff; }
.tl-step.now .tl-dot { background: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.tl-step.now .tl-dot .ic-s { color: #fff; }
.tl-step b { display: block; font-size: 13.5px; }
.tl-step span { font-size: 11.5px; color: var(--txt3); }
.tl-step.now b { color: var(--blue-ink); }

/* ── orders list ── */
.page-head-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.tab-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.tab {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; color: var(--txt2);
  padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 600;
  box-shadow: var(--shadow-sm); transition: .18s;
}
.tab:hover { background: var(--bg3); }
.tab.active { background: var(--blue); color: #fff; }
.search-row { display: flex; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; align-items: center; }
.search-row input, .search-row select {
  background: #fff; border: 1.5px solid var(--line2); border-radius: var(--r-sm); padding: 9px 14px; font-size: 13.5px;
}
.search-row input:focus, .search-row select:focus { outline: none; border-color: var(--blue); }
.count-row { color: var(--txt3); font-size: 12.5px; margin-inline-start: auto; }

/* ── empty state ── */
.empty { text-align: center; padding: 44px 20px; color: var(--txt3); }
.empty .ic { width: 44px; height: 44px; margin: 0 auto 14px; color: #C2CBD5; }
.empty p { font-size: 13.5px; margin-bottom: 16px; }

/* ── tickets / chat ── */
.back-link { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--txt2); margin-bottom: 16px; }
.back-link:hover { color: var(--blue-ink); }
.ticket-head { margin-bottom: 16px; }
.ticket-head h3 { font-size: 17px; margin-bottom: 10px; }
.ticket-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12px; color: var(--txt3); }
.chat { display: flex; flex-direction: column; gap: 14px; margin-bottom: 16px; }
.chat-msg { display: flex; }
.chat-msg.me { justify-content: flex-start; }
.chat-msg.staff { justify-content: flex-end; }
.chat-bubble { max-width: 78%; background: #fff; border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow-sm); }
.chat-msg.me .chat-bubble { background: var(--blue-soft); }
.chat-who { font-size: 11.5px; font-weight: 700; color: var(--blue-ink); margin-bottom: 6px; display: flex; align-items: center; gap: 6px; }
.chat-bubble p { font-size: 13.5px; line-height: 2; }
.chat-bubble time { display: block; font-size: 10.5px; color: var(--txt3); margin-top: 8px; }
.reply-actions { display: flex; gap: 10px; }
.closed-note { display: flex; align-items: center; gap: 10px; color: var(--txt3); font-size: 13.5px; }

/* ── notifications ── */
.notif-list { padding: 8px; }
.notif-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r-sm); }
.notif-row:hover { background: var(--bg3); }
.notif-row.unread { background: var(--blue-soft); }
.notif-row.unread:hover { background: #DBEEF9; }
.notif-row b { display: block; font-size: 13.5px; }
.notif-row span { font-size: 12.5px; color: var(--txt2); }
.notif-row time { margin-inline-start: auto; font-size: 11px; color: var(--txt3); white-space: nowrap; }
.notif-ic { width: 40px; height: 40px; border-radius: 12px; flex: none; display: inline-flex; align-items: center; justify-content: center; }
.notif-ic .ic { width: 20px; height: 20px; }
.n-success { background: var(--green-soft); color: var(--green); }
.n-warning { background: var(--amber-soft); color: var(--amber); }
.n-info { background: var(--blue-soft); color: var(--blue-ink); }

/* ── profile ── */
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; margin-bottom: 16px; }
.profile-meta { margin-top: 16px; }
.kv { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin-bottom: 18px; }
.kv span { display: block; font-size: 12px; color: var(--txt3); margin-bottom: 3px; }
.kv b { font-size: 13.5px; }
.danger-zone { background: var(--red-soft); border-radius: var(--r-md); padding: 18px; }
.danger-zone h4 { font-size: 14px; color: var(--red); margin-bottom: 6px; }
.danger-zone p { font-size: 12.5px; color: #A13030; margin-bottom: 14px; }

/* ── wallet ── */
.wallet-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; align-items: start; }
.wallet-hero { position: relative; overflow: hidden; background: #0B77AC; color: #fff; margin-bottom: 16px; }
.wallet-hero .card-head h3 { color: #fff; }
.wh-glow { display: none; }
.wh-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.wh-ic { width: 56px; height: 56px; border-radius: 16px; background: rgba(255, 255, 255, .16); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.wh-ic .ic { width: 27px; height: 27px; }
.wh-info span { font-size: 12px; opacity: .82; display: block; }
.wh-info b { font-size: 27px; font-weight: 900; color: #fff; }
.wh-info i { font-style: normal; font-size: 12.5px; opacity: .8; }
.wallet-hero .vip-chip { background: rgba(255, 255, 255, .18); color: #FFE3AD; margin-inline-start: auto; }
.wallet-main { display: flex; flex-direction: column; gap: 0; }
.wallet-main > .card { margin-bottom: 16px; }
.wallet-side { display: flex; flex-direction: column; gap: 16px; }
.wallet-side h3 { font-size: 15px; display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.wallet-side h3 .ic { color: var(--blue-ink); }
.wallet-side p { font-size: 12.5px; color: var(--txt2); line-height: 2; margin-bottom: 14px; }
.mini-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.mini-list li { font-size: 12.5px; color: var(--txt2); line-height: 1.9; }
.mini-list b { color: var(--txt1); }
.pack-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pack-card {
  position: relative; text-align: center;
  background: var(--bg1); border-radius: var(--r-md); padding: 20px 14px;
  transition: .18s;
}
.pack-card:hover { background: #E9EFF5; }
.pack-card.rec { background: var(--blue-soft); }
.pack-card.selected { background: var(--blue); color: #fff; }
.pack-card.selected .pack-title, .pack-card.selected .pack-price, .pack-card.selected .pack-bonus { color: #fff; }
.pack-card.selected .pack-bonus { opacity: .85; }
.pack-badge {
  position: absolute; top: -10px; inset-inline-start: 50%; transform: translateX(50%);
  background: #fff; color: var(--blue-ink); font-size: 10.5px; font-weight: 800;
  padding: 3px 12px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 3px 10px rgba(16, 24, 40, .12);
}
.pack-title { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.pack-price { font-size: 17px; font-weight: 800; color: var(--txt1); }
.pack-price i { font-style: normal; font-size: 11px; color: var(--txt3); }
.pack-bonus { display: block; font-size: 11px; color: var(--green); font-weight: 600; margin: 7px 0 13px; }
.custom-charge { display: flex; flex-direction: column; }

/* ── API docs ── */
.api-block { background: #fff; border-radius: var(--r-md); padding: 22px; margin-bottom: 16px; box-shadow: var(--shadow-sm); }
.api-block h4 { font-size: 14.5px; margin-bottom: 8px; }
.api-block p { font-size: 13px; color: var(--txt2); margin-bottom: 14px; }
.code-box { background: #0F1C2B; border-radius: var(--r-sm); padding: 16px; margin-bottom: 10px; overflow-x: auto; position: relative; }
.code-box pre { color: #C9E3F5; font-family: "SFMono-Regular", Consolas, monospace; font-size: 12px; line-height: 1.9; white-space: pre; direction: ltr; text-align: left; }
.code-box.ok { background: #10241A; }
.code-box.ok pre { color: #B7E4C7; }
.code-tag {
  position: absolute; top: 10px; inset-inline-end: 12px;
  font-size: 10px; font-weight: 700; letter-spacing: .5px;
  background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .75);
  padding: 2px 9px; border-radius: 999px;
}
.key-row { display: flex; align-items: center; gap: 10px; background: var(--bg1); border-radius: var(--r-sm); padding: 10px 14px; margin: 12px 0; }
.key-row code { font-size: 12.5px; color: var(--txt1); word-break: break-all; }
.api-note { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--txt3); margin-top: 10px; }

/* ── toast ── */
#toast-root { position: fixed; bottom: 22px; inset-inline-start: 22px; z-index: 999; display: flex; flex-direction: column; gap: 10px; }
.toast {
  display: flex; align-items: center; gap: 10px;
  background: #17222E; color: #fff;
  padding: 13px 18px; border-radius: 12px; font-size: 13.5px; font-weight: 600;
  box-shadow: 0 10px 30px rgba(16, 24, 40, .3);
  animation: fadeIn .25s ease; max-width: 380px;
}
.toast .ic-s { flex: none; }
.toast-ok .ic-s { color: #6EE7A0; }
.toast-err .ic-s { color: #FF9B93; }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-copy { text-align: center; }
  .hero-copy > p { margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .plan-grid { grid-template-columns: 1fr 1fr; }
  .dash-grid, .order-grid, .detail-grid, .wallet-grid { grid-template-columns: 1fr; }
  .order-summary, .detail-side, .wallet-side { position: static; }
  .stat-cards { grid-template-columns: 1fr 1fr; }
  .pack-grid { grid-template-columns: 1fr 1fr 1fr; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-art { display: none; }
  .faq-cols, .about-grid, .contact-grid, .cta-faq { grid-template-columns: 1fr; }
  .faq-side, .about-side { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-burger { display: flex; }
  .nav-cta { display: none; }
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 86vw);
    background: #fff; flex-direction: column; align-items: stretch; gap: 4px;
    padding: 20px 16px; overflow-y: auto;
    transform: translateX(-100%); transition: transform .25s ease; z-index: 110;
    box-shadow: -14px 0 40px rgba(16, 24, 40, .12);
    margin: 0; padding-top: 80px;
  }
  .main-nav.open { transform: none; }
  .nav-item > a { padding: 12px 14px; font-size: 15px; }
  .nav-drop { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; min-width: 0; padding: 6px 8px; display: none; }
  .has-drop:hover .nav-drop { display: block; }
  .drop-grid { grid-template-columns: 1fr; }
  .nav-mobile-auth { display: flex; gap: 10px; margin-top: 16px; }
  .nav-burger.on span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-burger.on span:nth-child(2) { opacity: 0; }
  .nav-burger.on span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

  .hero-copy h1 { font-size: 28px; }
  .sec { padding: 44px 0; }
  .sec-head h2 { font-size: 21px; }
  .plan-grid { grid-template-columns: 1fr; }
  .pack-grid { grid-template-columns: 1fr; }
  .stat-cards { grid-template-columns: 1fr; }
  .profile-grid { grid-template-columns: 1fr; }

  /* panel mobile */
  .panel-side {
    position: fixed; inset: 0 0 0 auto; height: 100dvh; transform: translateX(-100%);
    transition: transform .25s ease;
  }
  .panel-side.open { transform: none; }
  .ps-burger { display: inline-flex; }
  .pt-burger { display: flex; }
  .panel-topbar { padding: 0 16px; }
  .panel-content { padding: 16px; }
  .pt-uname { display: none; }
  .pt-balance { padding: 6px 10px; font-size: 11.5px; }
}

@media (max-width: 560px) {
  .svc-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .trust-row { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 20px; }
  .hero-stats b { font-size: 19px; }
  .frow { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .kv { grid-template-columns: 1fr; }
  .otp-cell { width: 44px; height: 50px; }
  .cc-cells { flex-wrap: wrap; }
  .cc-cell { min-width: calc(25% - 6px); }
}
