/*! aroitech CardDesk — website styles. © 2026 aroitech. All rights reserved. */
@font-face { font-family: "Vazirmatn"; src: url("../fonts/Vazirmatn-var.woff2") format("woff2-variations"), url("../fonts/Vazirmatn-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --bg: #f5f6fb; --surface: #fff; --surface-2: #f8f9fd; --surface-3: #eef0f7; --border: #e3e6ef; --border-strong: #cfd3e2;
  --text: #121527; --muted: #646b85; --faint: #9aa0b6;
  --primary: #5b3df5; --primary-2: #4a2ee0; --primary-soft: #efebff; --primary-line: #cbc1fd;
  --accent: #11b5a4; --accent-soft: #e0f6f3;
  --ok: #0f9d77; --ok-soft: #e2f6ef; --warn: #c27c00; --warn-soft: #fff3d9; --bad: #d93a40; --bad-soft: #fdeced; --info: #2f6fe0; --info-soft: #e7effd;
  --shadow-sm: 0 1px 2px rgba(18, 21, 39, .06); --shadow: 0 2px 6px rgba(18, 21, 39, .05), 0 12px 32px rgba(18, 21, 39, .07); --shadow-lg: 0 30px 70px rgba(30, 22, 90, .18);
  --r: 12px; --r-lg: 20px;
  --font: "Vazirmatn", "Segoe UI", Tahoma, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); font-size: 15px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; letter-spacing: -.01em; }
p { margin: 0; }
.ico { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: middle; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.mono { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; letter-spacing: .03em; }
.hidden { display: none !important; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 10px; border: 1px solid transparent; background: var(--surface-3); color: var(--text); font: inherit; font-weight: 700; font-size: 14.5px; cursor: pointer; white-space: nowrap; text-decoration: none !important; transition: background .15s, border-color .15s, transform .05s, box-shadow .15s; }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--primary); color: #fff; box-shadow: 0 6px 18px rgba(91, 61, 245, .28); }
.btn.primary:hover { background: var(--primary-2); }
.btn.ghost { background: transparent; border-color: var(--border-strong); }
.btn.ghost:hover { background: var(--surface); border-color: var(--primary-line); }
.btn.soft { background: var(--primary-soft); color: var(--primary); }
.btn.danger { background: var(--bad-soft); color: var(--bad); }
.btn.danger:hover { background: var(--bad); color: #fff; }
.btn.ok { background: var(--ok); color: #fff; }
.btn.wa { background: #25d366; color: #06301a; }
.btn.sm { height: 34px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.btn.lg { height: 52px; padding: 0 26px; font-size: 16px; border-radius: 12px; }
.btn.block { width: 100%; }
.icon-btn { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; }
.icon-btn:hover { background: var(--surface-3); color: var(--text); }

/* header */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(245, 246, 251, .82); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid rgba(227, 230, 239, .7); }
.nav .wrap { display: flex; align-items: center; gap: 22px; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none !important; }
.logo img { width: 38px; height: 38px; }
.logo b { display: block; font-size: 18px; font-weight: 800; line-height: 1.1; }
.logo small { display: block; font-size: 11.5px; color: var(--muted); font-weight: 600; line-height: 1.1; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 8px 12px; border-radius: 8px; color: var(--muted); font-weight: 600; text-decoration: none; }
.nav-links a:hover, .nav-links a.on { color: var(--text); background: var(--surface-3); }
.nav-right { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.lang-switch { display: flex; padding: 3px; gap: 2px; border-radius: 9px; background: var(--surface-3); }
.lang-switch a { padding: 3px 9px; border-radius: 7px; font-size: 12.5px; font-weight: 700; color: var(--muted); text-decoration: none; }
.lang-switch a.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.nav-toggle { display: none; }
form.inline { display: inline; margin: 0; }

/* flashes */
.flashes { width: min(860px, 100% - 40px); margin: 18px auto 0; display: flex; flex-direction: column; gap: 8px; }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: 12px; font-weight: 600; border: 1px solid transparent; word-break: break-word; }
.alert.success { background: var(--ok-soft); color: #08694f; border-color: #bfe9d9; }
.alert.error { background: var(--bad-soft); color: #a8262c; border-color: #f6c8ca; }
.alert.info { background: var(--info-soft); color: #1d4fa8; }
.alert.warn { background: #fff6dd; color: #6b4a00; border-color: #f3dc9b; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 70px 0 40px; }
.hero::before { content: ""; position: absolute; inset: -30% -10% auto; height: 760px; background: radial-gradient(600px 380px at 20% 30%, rgba(91, 61, 245, .18), transparent 70%), radial-gradient(520px 340px at 85% 10%, rgba(17, 181, 164, .16), transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.02fr 1fr; gap: 50px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 14px 5px 6px; border-radius: 99px; background: var(--surface); border: 1px solid var(--border); font-size: 13px; font-weight: 700; color: var(--muted); box-shadow: var(--shadow-sm); }
[dir="rtl"] .pill { padding: 5px 6px 5px 14px; }
.pill b { padding: 1px 9px; border-radius: 99px; background: var(--primary); color: #fff; font-size: 11.5px; }
.hero h1 { font-size: clamp(30px, 4.2vw, 50px); font-weight: 900; margin: 18px 0 16px; line-height: 1.25; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 17px; color: var(--muted); max-width: 560px; }
.hero-cta { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.trust { display: flex; gap: 20px; margin-top: 26px; color: var(--muted); font-weight: 600; font-size: 13.5px; flex-wrap: wrap; }
.trust span { display: inline-flex; align-items: center; gap: 6px; }
.trust .ico { color: var(--ok); width: 18px; height: 18px; }
.hero-shot { position: relative; border-radius: 18px; padding: 10px; background: linear-gradient(145deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .5)); border: 1px solid var(--border); box-shadow: var(--shadow-lg); transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); }
[dir="rtl"] .hero-shot { transform: perspective(1400px) rotateY(6deg) rotateX(2deg); }
.hero-shot img { display: block; width: 100%; border-radius: 10px; }
.hero-badge { position: absolute; bottom: -18px; inset-inline-start: -18px; display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); font-weight: 700; font-size: 13.5px; }
.hero-badge i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--ok-soft); color: var(--ok); }

/* sections */
section.block { padding: 80px 0; }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.sec-head h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 900; margin-bottom: 10px; }
.sec-head p { color: var(--muted); font-size: 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { padding: 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--primary-soft); color: var(--primary); margin-bottom: 16px; }
.feature:nth-child(3n+2) i { background: var(--accent-soft); color: #0b8a7c; }
.feature:nth-child(3n) i { background: var(--warn-soft); color: var(--warn); }
.feature h3 { font-size: 17px; font-weight: 800; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 14.5px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; padding: 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 900; font-size: 18px; }
.step h3 { font-size: 17px; font-weight: 800; }
.step p { color: var(--muted); }
.band { background: linear-gradient(135deg, #1a1442, #2b1d7a 55%, #0d6e66); color: #fff; border-radius: 28px; padding: 50px; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.band h2 { font-size: 30px; font-weight: 900; }
.band p { color: rgba(255, 255, 255, .78); margin-top: 6px; }
.band .btn.primary { background: #fff; color: #2b1d7a; box-shadow: none; }

/* pricing */
.tabs { display: inline-flex; padding: 5px; gap: 4px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); margin-bottom: 30px; }
.tabs button { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border: 0; border-radius: 10px; background: transparent; font: inherit; font-weight: 700; color: var(--muted); cursor: pointer; }
.tabs button.on { background: var(--primary); color: #fff; }
.tab-center { text-align: center; }
.plat-desc { color: var(--muted); margin: -16px 0 26px; font-weight: 600; font-size: 14px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; max-width: 1100px; margin: 0 auto; }
.plan { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px 24px 24px; border-radius: var(--r-lg); background: var(--surface); border: 1.5px solid var(--border); box-shadow: var(--shadow-sm); text-align: start; }
.plan.featured { border-color: var(--primary); box-shadow: 0 18px 50px rgba(91, 61, 245, .18); }
.plan .tag { position: absolute; top: -13px; inset-inline-start: 22px; padding: 2px 12px; border-radius: 99px; background: var(--primary); color: #fff; font-size: 12px; font-weight: 800; }
.plan h3 { font-size: 18px; font-weight: 800; }
.plan .price { font-size: 30px; font-weight: 900; letter-spacing: -.02em; }
.plan .price small { font-size: 14px; color: var(--muted); font-weight: 600; }
.plan ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; color: var(--muted); font-size: 14px; }
.plan li { display: flex; gap: 8px; align-items: center; }
.plan li .ico { color: var(--ok); width: 18px; height: 18px; }
.plan .btn { margin-top: auto; }

/* faq */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq details { border-radius: 14px; background: var(--surface); border: 1px solid var(--border); padding: 4px 20px; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 800; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--primary); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 16px; color: var(--muted); }

/* footer */
.footer { margin-top: 40px; padding: 34px 0; border-top: 1px solid var(--border); background: var(--surface); }
.footer .wrap { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.footer nav { display: flex; gap: 18px; }
.footer a { color: var(--muted); }

/* cards & forms */
.page { padding: 34px 0 60px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); padding: 24px; }
.card h2 { font-size: 18px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.card h2 .ico { color: var(--primary); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.auth { min-height: calc(100vh - 230px); display: grid; place-items: center; padding: 40px 16px; }
.auth .card { width: min(440px, 100%); padding: 32px 30px; }
.auth h1 { font-size: 24px; font-weight: 900; text-align: center; }
.auth .sub { text-align: center; color: var(--muted); margin: 6px 0 22px; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--faint); font-size: 13px; margin: 18px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 13px; font-weight: 700; color: var(--muted); }
.field small { color: var(--faint); font-size: 12px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=tel], input[type=search], input[type=url], input[type=datetime-local], input:not([type]), select, textarea {
  width: 100%; height: 44px; padding: 0 13px; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--surface); font: inherit; color: var(--text); outline: none; transition: border-color .15s, box-shadow .15s; }
textarea { height: auto; padding: 10px 13px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
input[type=file] { font: inherit; font-size: 13.5px; padding: 10px; border: 1.5px dashed var(--border-strong); border-radius: 10px; width: 100%; background: var(--surface-2); }
.check { display: flex; align-items: center; gap: 10px; font-weight: 600; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--primary); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.auth-foot { text-align: center; margin-top: 16px; color: var(--muted); font-size: 14px; }
.gsi-wrap { display: flex; justify-content: center; min-height: 44px; }
.key-input { direction: ltr; text-align: center; font-family: ui-monospace, Consolas, monospace; letter-spacing: .06em; text-transform: uppercase; font-size: 16px !important; height: 50px !important; }

/* account */
.acc-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.acc-head h1 { font-size: 26px; font-weight: 900; }
.acc-grid { display: grid; grid-template-columns: 1fr 360px; gap: 20px; align-items: start; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.keys { display: grid; gap: 14px; }
.keycard { position: relative; border: 1px solid var(--border); border-radius: 16px; padding: 18px 20px; background: linear-gradient(180deg, var(--surface), var(--surface-2)); overflow: hidden; }
.keycard::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 5px; background: var(--primary); }
.keycard.WEB::before { background: var(--accent); }
.keycard.TEST::before { background: var(--warn); }
.keycard .top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.keycard .type { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; }
.keycard .type .ico { color: var(--primary); }
.keycard .plan-name { color: var(--muted); font-weight: 700; }
.keycard .grow { flex: 1; }
.keyline { display: flex; align-items: center; gap: 8px; margin: 12px 0; padding: 8px 8px 8px 14px; border-radius: 10px; background: var(--surface-3); flex-wrap: wrap; }
[dir="rtl"] .keyline { padding: 8px 14px 8px 8px; }
.keyline code { flex: 1; font-size: 15px; font-weight: 700; direction: ltr; text-align: left; font-family: ui-monospace, Consolas, monospace; letter-spacing: .04em; word-break: break-all; }
.meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px 16px; font-size: 13.5px; }
.meta div span { display: block; color: var(--muted); font-size: 12px; font-weight: 700; }
.meta div b { font-weight: 700; }
.bar { height: 7px; border-radius: 7px; background: var(--surface-3); overflow: hidden; margin-top: 12px; }
.bar i { display: block; height: 100%; border-radius: 7px; background: linear-gradient(90deg, var(--primary), var(--accent)); }
.hint-box { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: var(--info-soft); color: #1d4fa8; font-size: 13.5px; font-weight: 600; }
.empty-state { text-align: center; padding: 30px 10px; color: var(--muted); }
.empty-state .ico { width: 40px; height: 40px; color: var(--faint); margin-bottom: 10px; }
.status-hero { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; background: var(--ok-soft); color: #08694f; font-weight: 700; }
.status-hero.off { background: var(--warn-soft); color: #8a5800; }
.status-hero i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .7); }

/* tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: start; font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 800; padding: 12px 14px; background: var(--surface-2); border-bottom: 1px solid var(--border); white-space: nowrap; }
td { padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
tr:hover td { background: var(--surface-2); }
td .sub, .timeline .sub, .kv .sub { display: block; color: var(--muted); font-size: 12.5px; }
td .mono, td a.mono { white-space: nowrap; }
.badge { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 99px; font-size: 12px; font-weight: 800; white-space: nowrap; }
.badge.ok { background: var(--ok-soft); color: #08694f; }
.badge.warn { background: var(--warn-soft); color: #8a5800; }
.badge.bad { background: var(--bad-soft); color: #a8262c; }
.badge.info { background: var(--info-soft); color: #1d4fa8; }
.badge.muted { background: var(--surface-3); color: var(--muted); }
.badge.brand { background: var(--primary-soft); color: var(--primary); }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 16px; }

/* order page */
.stepper { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.stepper span { display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 99px; background: var(--surface); border: 1px solid var(--border); font-weight: 700; font-size: 13.5px; color: var(--muted); }
[dir="rtl"] .stepper span { padding: 6px 6px 6px 14px; }
.stepper span b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--surface-3); font-size: 13px; }
.stepper span.on { color: var(--primary); border-color: var(--primary-line); }
.stepper span.on b { background: var(--primary); color: #fff; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.choice { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: 1.5px solid var(--border); border-radius: 14px; cursor: pointer; background: var(--surface); transition: border-color .15s, background .15s; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice:hover { border-color: var(--primary-line); }
.choice:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); }
.choice b { font-weight: 800; }
.choice .price { font-weight: 900; font-size: 17px; }
.choice small { color: var(--muted); font-weight: 600; }
.pay-methods { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.pay { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--border); cursor: pointer; background: var(--surface); }
.pay:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); }
.pay input { position: absolute; opacity: 0; }
.pay .num { display: flex; align-items: center; gap: 6px; font-size: 18px; font-weight: 900; direction: ltr; justify-content: flex-end; }
[dir="ltr"] .pay .num { justify-content: flex-start; }
.pay-note { padding: 14px 16px; border-radius: 14px; background: var(--warn-soft); color: #6b4500; font-weight: 600; }
.pay-note b { color: var(--text); }

/* admin */
.admin { display: grid; grid-template-columns: 250px 1fr; min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 4px; padding: 18px 14px; background: #121429; color: #c9cce0; }
.side .logo { color: #fff; padding: 4px 8px 18px; }
.side .logo small { color: #8e92b3; }
.side a.item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: #b5b9d3; font-weight: 600; text-decoration: none; }
.side a.item:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.side a.item.on { background: rgba(124, 99, 255, .22); color: #fff; }
.side a.item .count { margin-inline-start: auto; padding: 0 8px; border-radius: 99px; background: var(--warn); color: #241600; font-size: 12px; font-weight: 800; }
.side .grow { flex: 1; }
.side form button { width: 100%; }
.admin-main { min-width: 0; padding: 26px 30px 50px; }
.admin-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.admin-top h1 { font-size: 24px; font-weight: 900; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 22px; }
.tile { padding: 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.tile span { display: flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 700; font-size: 13px; }
.tile b { display: block; font-size: 28px; font-weight: 900; margin-top: 6px; letter-spacing: -.02em; }
.tile.hl { background: linear-gradient(135deg, var(--primary), #7b5cff); color: #fff; border: 0; }
.tile.hl span { color: rgba(255, 255, 255, .8); }
.toolbar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.toolbar input[type=search] { max-width: 300px; height: 38px; }
.toolbar select { width: auto; height: 38px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chips a { padding: 5px 12px; border-radius: 99px; background: var(--surface); border: 1px solid var(--border); color: var(--muted); font-weight: 700; font-size: 13px; text-decoration: none; }
.chips a.on { background: var(--primary); color: #fff; border-color: var(--primary); }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 10px 18px; margin: 0; }
.kv dt { color: var(--muted); font-weight: 700; font-size: 13px; }
.kv dd { margin: 0; font-weight: 600; word-break: break-word; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.act-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); }
.act-form input { height: 36px; width: auto; flex: 1; min-width: 120px; }
.receipt-thumb { width: 54px; height: 54px; border-radius: 8px; object-fit: cover; border: 1px solid var(--border); display: block; }
.issued { border: 2px solid var(--ok); background: var(--ok-soft); border-radius: 16px; padding: 16px 18px; margin-bottom: 20px; }
.issued h3 { font-size: 16px; font-weight: 800; color: #08694f; margin-bottom: 8px; }
.keylist { display: flex; flex-direction: column; gap: 6px; }
.keylist code { display: block; padding: 8px 12px; border-radius: 8px; background: var(--surface); font-family: ui-monospace, Consolas, monospace; direction: ltr; text-align: left; font-weight: 700; letter-spacing: .04em; }
.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.timeline li { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--border); font-size: 13.5px; }
.timeline li:last-child { border: 0; }
.timeline time { color: var(--muted); font-size: 12.5px; direction: ltr; text-align: start; }
dialog { border: 0; border-radius: 16px; padding: 0; box-shadow: var(--shadow-lg); max-width: min(92vw, 900px); }
dialog::backdrop { background: rgba(10, 12, 25, .55); }
dialog img { display: block; max-width: 100%; max-height: 85vh; }

/* responsive */
@media (max-width: 980px) {
  .hero .wrap, .acc-grid, .cols2 { grid-template-columns: 1fr; }
  .hero-shot, [dir="rtl"] .hero-shot { transform: none; }
  .grid3, .steps { grid-template-columns: 1fr 1fr; }
  .admin { grid-template-columns: 1fr; }
  .side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; }
  .side .grow, .side .logo { display: none; }
  .admin-main { padding: 18px; }
}
@media (max-width: 720px) {
  .nav-links, .nav-right .hide-sm { display: none; }
  .nav-toggle { display: inline-grid; }
  .nav.open .nav-links { display: flex; position: absolute; top: 70px; inset-inline: 0; flex-direction: column; padding: 10px 20px 16px; background: var(--surface); border-bottom: 1px solid var(--border); }
  .grid3, .steps, .row2 { grid-template-columns: 1fr; }
  section.block { padding: 54px 0; }
  .band { padding: 30px; }
  .timeline li { grid-template-columns: 1fr; gap: 2px; }
}

/* ---- v1.1: credit, About page, desktop app page */
.footer .foot-brand { display: flex; flex-direction: column; gap: 4px; }
.credit { color: var(--primary) !important; font-weight: 700; font-size: 13px; text-decoration: none; }
.credit:hover { text-decoration: underline; }
.about-card { padding: 34px; }
.about-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.about-head h1 { font-size: 26px; font-weight: 900; margin: 0 0 2px; }
.about-body p { line-height: 2; margin: 0 0 12px; }
.about-brand { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 16px; padding: 26px 30px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 10%, var(--surface)), color-mix(in srgb, var(--accent) 10%, var(--surface))); }
.about-brand h2 { margin: 8px 0 4px; font-size: 20px; font-weight: 900; }
.about-contact { margin-top: 16px; }
.about-contact h2 { margin: 0 0 12px; }
.api-status { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; border-radius: 12px; background: var(--surface-2, #f5f6fa); }
.api-result.good { color: #08694f; } .api-result.bad { color: #b42318; }
.steps-list { margin: 10px 0 0; padding-inline-start: 22px; line-height: 2; }
.file-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px dashed var(--border); border-radius: 12px; }
.file-row .sub { display: block; color: var(--muted); font-size: 12.5px; }
.mini-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.mini-stats div { padding: 14px; border-radius: 12px; background: var(--surface-2, #f5f6fa); }
.mini-stats b { display: block; font-size: 24px; font-weight: 900; }
.mini-stats span { color: var(--muted); font-size: 13px; }

/* ---- plan tiers (v1.3: export quality HD / HD+ / 2K / 4K / 8K / 16K) */
.tier-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px; border-radius: 99px; font-size: 12px; font-weight: 800; white-space: nowrap; line-height: 1.5; }
.tier-badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.tier-badge.tier-hd { background: #eef1f6; color: #4b5570; }
.tier-badge.tier-hdp { background: #e2f5f1; color: #0b7a66; }
.tier-badge.tier-2k { background: var(--primary-soft); color: var(--primary); }
.tier-badge.tier-4k, .tier-badge.tier-8k, .tier-badge.tier-16k { background: linear-gradient(135deg, #fff2d6, #ffe4b8); color: #8a4b00; }
.plan .plan-tier { display: flex; }
.plan .tier-desc { color: var(--muted); font-size: 13.5px; margin-top: -6px; }
.plan.tier-4k, .plan.tier-8k, .plan.tier-16k { border-color: #f1c98a; }
.plan.featured.tier-4k, .plan.featured.tier-8k, .plan.featured.tier-16k { border-color: var(--primary); }
.compare { max-width: 1100px; margin: 54px auto 0; }
.compare h2 { text-align: center; font-size: 24px; font-weight: 900; margin-bottom: 18px; }
.compare-table { min-width: 560px; }
.compare-table th { text-transform: none; letter-spacing: 0; vertical-align: top; text-align: center; white-space: normal; padding: 16px 12px; }
.compare-table th:first-child { width: 34%; }
.compare-table th small { display: block; margin-top: 6px; font-size: 12px; font-weight: 600; color: var(--muted); line-height: 1.5; }
.compare-table td { font-weight: 600; }
.compare-table td.c { text-align: center; }
.compare-table .yes { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); }
.compare-table .yes .ico { width: 16px; height: 16px; stroke-width: 2.4; }
.compare-table .no { color: var(--faint); font-weight: 800; }
.compare-table td b { font-weight: 800; font-size: 13.5px; }
.tier-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tier-opt { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: 12px; cursor: pointer; background: var(--surface); font-size: 13px; }
.tier-opt input { position: absolute; opacity: 0; pointer-events: none; }
.tier-opt small { color: var(--muted); font-size: 11.5px; line-height: 1.5; }
.tier-opt:has(input:checked) { border-color: var(--primary); background: var(--primary-soft); }
.choice .tier-badge { align-self: flex-start; margin-bottom: 4px; }
.keycard .tier-badge { margin-inline-start: 6px; vertical-align: middle; }
@media (max-width: 720px) {
  .tier-pick { grid-template-columns: 1fr; }
  .compare { margin-top: 38px; }
  .compare h2 { font-size: 20px; }
  .compare-table { min-width: 0; font-size: 13px; }
  .compare-table th, .compare-table td { padding: 10px 6px; }
  .compare-table th small { display: none; }
  .compare-table th:first-child { width: 40%; }
  .compare-table .tier-badge { padding: 2px 8px; font-size: 11px; }
  .compare-table .tier-badge::before { display: none; }
}
.plan li.plus { display: block; margin-top: 4px; color: var(--text); font-weight: 800; font-size: 13.5px; }
.plan .compare-link { align-self: center; font-size: 13px; font-weight: 700; margin-top: -4px; }
/* five packages fit on one row on wide screens */
.plans { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); max-width: 1180px; gap: 14px; }
@media (min-width: 1100px) { .plan { padding: 26px 18px 20px; } .plan .price { font-size: 26px; } }
.tier-opt b { display: flex; align-items: center; gap: 6px; }
.tier-opt b::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #8a93ad; }
.tier-opt.tier-hdp b::before { background: #13a58a; }
.tier-opt.tier-2k b::before { background: var(--primary); }
.tier-opt.tier-4k b::before, .tier-opt.tier-8k b::before, .tier-opt.tier-16k b::before { background: #e0a030; }

/* ---- v1.3: verification code (e-mail / WhatsApp), copy boxes */
.verify-card { text-align: start; }
.verify-ico { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); margin-bottom: 10px; }
.verify-ico .ico { width: 28px; height: 28px; }
.verify-steps { margin: 6px 0 16px; padding-inline-start: 20px; display: grid; gap: 12px; }
.verify-steps li { line-height: 1.7; }
.verify-steps .btn { margin: 8px 0 4px; }
.code-input { font-size: 26px !important; letter-spacing: .45em; text-align: center; font-weight: 800; height: 58px !important; font-family: ui-monospace, Consolas, monospace; }
.linklike { background: none; border: 0; padding: 0; color: var(--primary); font: inherit; font-weight: 700; cursor: pointer; }
.copybox { display: flex; gap: 8px; align-items: center; }
.copybox code { flex: 1; min-width: 0; overflow-wrap: anywhere; padding: 8px 10px; border-radius: 10px; background: var(--surface-2, #f1f2f7); font-size: 12.5px; }
.verify-banner { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.verify-banner span { flex: 1; min-width: 200px; }
.wait-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #25d366; vertical-align: middle; animation: waitpulse 1.2s ease-in-out infinite; }
@keyframes waitpulse { 0%, 100% { opacity: .25; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.15); } }
@media (prefers-reduced-motion: reduce) { .wait-dot { animation: none; } }
.tier-badge { direction: ltr; unicode-bidi: isolate; }

/* ---- v1.4.1: WhatsApp verification confirmed by the admin (no token) */
.wa-check { max-width: 560px; }
.wa-check-kind { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.wa-check-label { font-weight: 700; margin-bottom: 8px; }
.wa-check-num { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 18px 14px; margin-bottom: 16px; border-radius: 14px; background: var(--surface-2); border: 2px dashed var(--border-strong);
  font-size: clamp(26px, 7vw, 38px); font-weight: 900; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.wa-check-num small { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.wa-check-num.ok { border-color: var(--ok); background: var(--ok-soft); color: #08694f; }
.wa-check-num.bad { border-color: var(--bad); background: var(--bad-soft); color: #a8262c; }
.wa-check-acts { display: grid; gap: 10px; }
.inline-form { display: flex; gap: 8px; align-items: center; }
.row-acts { display: flex; gap: 6px; justify-content: flex-end; }
.row-acts form { margin: 0; }
/* v1.4.1: the sign-in / sign-up example number is dark and easy to read */
.auth input::placeholder { color: #2b2f45; opacity: 1; }
