:root {
  --bg: #eef1f7;
  --card: #ffffff;
  --ink: #1e1b4b;
  --muted: #64748b;
  --line: #e4e7f0;
  --violet: #5b21b6;
  --violet-2: #4c1d95;
  --violet-deep: #2e1065;
  --violet-soft: #f3e8ff;
  --navy: #1e1b4b;
  --sky: #60a5fa;
  --mci: #0f766e;
  --mtn: #d97706;
  --rtl: #7c3aed;
  --ok: #059669;
  --bad: #dc2626;
  --shadow: 0 12px 32px rgba(30, 27, 75, .07);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: Vazirmatn, sans-serif; background: var(--bg); color: var(--ink); line-height: 1.75; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input { font-family: inherit; }
img { max-width: 100%; display: block; }
.dir-ltr { direction: ltr; text-align: left; }
.mt-2 { margin-top: .7rem; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 2px; }

.dash { display: grid; grid-template-columns: 268px 1fr; min-height: 100vh; }
.side {
  background: #f7f8fc;
  border-left: 1px solid var(--line);
  padding: 1.15rem 1rem 1.2rem;
  display: flex; flex-direction: column; gap: .85rem;
  position: sticky; top: 0; height: 100vh; overflow: auto;
}
.guest { display: flex; align-items: center; gap: .7rem; position: relative; }
.avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--violet-soft); color: var(--violet);
  display: grid; place-items: center; flex-shrink: 0;
}
.avatar svg { width: 18px; height: 18px; }
.guest strong { display: block; font-size: .92rem; }
.guest small { display: block; color: var(--muted); font-size: .75rem; }
.mobile-menu-btn { display: none; background: none; border: 0; cursor: pointer; color: var(--ink); }

.pay-direct {
  display: flex; align-items: center; gap: .65rem;
  background: linear-gradient(145deg, #1e1b4b, #312e81);
  color: #fff; border-radius: 18px; padding: .85rem .9rem;
}
.wallet-ico {
  width: 36px; height: 36px; border-radius: 12px;
  background: rgba(255,255,255,.12); display: grid; place-items: center;
}
.wallet-ico svg { width: 16px; height: 16px; }
.pay-direct small { display: block; font-size: .7rem; opacity: .75; }
.pay-direct b { display: block; font-size: .88rem; }
.plus {
  margin-inline-start: auto; width: 34px; height: 34px; border-radius: 50%;
  background: #fff; color: var(--violet-2);
  display: grid; place-items: center; flex-shrink: 0;
}
.plus svg { width: 16px; height: 16px; }

.nav-links { display: flex; flex-direction: column; gap: .12rem; }
.nav-links a {
  display: flex; align-items: center; gap: .55rem;
  padding: .62rem .7rem; border-radius: 12px;
  color: var(--muted); font-weight: 700; font-size: .9rem;
}
.nav-links a svg { width: 17px; height: 17px; }
.nav-links a.active, .nav-links a:hover {
  background: var(--violet-soft); color: var(--violet-2);
}
.nav-links a.active svg { color: var(--violet); }

.promo {
  margin-top: auto;
  background: linear-gradient(160deg, #ede9fe, #dbeafe);
  border-radius: 20px; padding: 1rem 1rem 1.1rem; position: relative; overflow: hidden;
}
.promo-phone {
  width: 54px; height: 78px; border-radius: 10px;
  background: linear-gradient(180deg, #c4b5fd, #818cf8);
  margin-bottom: .7rem; position: relative;
  box-shadow: 8px 10px 0 #a5b4fc;
}
.promo-phone::after {
  content: ""; position: absolute; inset: 8px 7px 12px;
  background: #1e1b4b; border-radius: 6px;
}
.promo b { display: block; margin-bottom: .25rem; color: var(--ink); }
.promo p { font-size: .78rem; color: var(--muted); margin-bottom: .7rem; }
.promo a {
  display: inline-block; background: var(--violet-2); color: #fff;
  font-weight: 800; font-size: .8rem; padding: .4rem .85rem; border-radius: 10px;
}

.side-brand { display: flex; align-items: center; gap: .6rem; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 11px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #1e1b4b;
  display: grid; place-items: center; flex-shrink: 0;
}
.logo-mark svg { width: 16px; height: 16px; }
.side-brand strong { display: block; font-size: .9rem; }
.side-brand small { display: block; color: var(--muted); font-size: .72rem; }
.enamad { margin: .1rem 0 .2rem; }
.enamad img { width: 72px; height: 72px; object-fit: contain; background: #fff; border-radius: 12px; }
.enamad a { font-size: .75rem; font-weight: 800; color: var(--violet-2); }

.canvas { padding: 1.15rem 1.35rem 1.8rem; }

.hero {
  position: relative; overflow: hidden;
  border-radius: 24px; color: #fff; margin-bottom: 1rem;
  padding: 1rem 1.2rem 1.15rem;
  background:
    linear-gradient(180deg, rgba(15, 12, 40, .42) 0%, rgba(18, 10, 48, .82) 100%),
    radial-gradient(800px 280px at 80% 20%, rgba(91, 33, 182, .35), transparent 55%),
    linear-gradient(160deg, #3b4a38 0%, #1e293b 45%, #0f172a 100%);
  box-shadow: var(--shadow);
}
.hero-nav {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 1.4rem;
}
.hero-nav .logo {
  display: flex; align-items: center; gap: .45rem;
  font-weight: 800; font-size: 1.05rem; color: #fff;
}
.hero-menu { display: flex; gap: .15rem; flex-wrap: wrap; }
.hero-menu a {
  color: rgba(255,255,255,.78); font-size: .82rem; font-weight: 700;
  padding: .28rem .65rem; border-radius: 999px;
}
.hero-menu a.active, .hero-menu a:hover { background: rgba(255,255,255,.14); color: #fff; }
.hero-bell {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.14); color: #fff;
  display: grid; place-items: center; flex-shrink: 0;
  margin-inline-start: auto;
}
.hero-bell svg { width: 16px; height: 16px; }

.hero-body {
  display: grid; grid-template-columns: 1fr 280px;
  gap: 1rem; align-items: end; min-height: 168px;
}
.hero-copy h1 { font-size: clamp(1.55rem, 3.2vw, 2.25rem); line-height: 1.35; margin-bottom: .35rem; }
.hero-copy p { color: rgba(255,255,255,.78); font-size: .95rem; }

.hero-art { position: relative; height: 168px; }
.phone {
  position: absolute; left: 18px; bottom: 0;
  width: 92px; height: 148px; border-radius: 16px;
  background: linear-gradient(180deg, #1e293b, #0f172a);
  border: 3px solid #334155; box-shadow: 0 16px 28px rgba(0,0,0,.28);
}
.phone-notch {
  width: 36px; height: 8px; background: #0b1220; border-radius: 0 0 8px 8px; margin: 0 auto;
}
.bars { display: flex; align-items: flex-end; gap: 4px; height: 88px; padding: 18px 12px 0; }
.bars i {
  flex: 1; border-radius: 4px 4px 0 0; display: block;
  background: linear-gradient(180deg, #34d399, #22d3ee);
}
.bars i:nth-child(1) { height: 28%; }
.bars i:nth-child(2) { height: 48%; }
.bars i:nth-child(3) { height: 36%; }
.bars i:nth-child(4) { height: 72%; }
.bars i:nth-child(5) { height: 54%; }
.bars i:nth-child(6) { height: 90%; }
.bars i:nth-child(7) { height: 62%; }
.sim {
  position: absolute; width: 72px; height: 50px; border-radius: 10px;
  color: #fff; font-size: .62rem; font-weight: 800;
  display: grid; place-items: center;
  box-shadow: 0 10px 18px rgba(0,0,0,.22);
}
.sim-mtn { background: linear-gradient(145deg, #fbbf24, #d97706); right: 78px; top: 8px; transform: rotate(-14deg); }
.sim-mci { background: linear-gradient(145deg, #2dd4bf, #0f766e); right: 18px; top: 52px; transform: rotate(-4deg); }
.sim-rtl { background: linear-gradient(145deg, #c084fc, #6d28d9); right: 88px; top: 96px; transform: rotate(10deg); }

.hero-feats {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem;
}
.hero-feats li {
  display: flex; align-items: center; gap: .4rem;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px; padding: .4rem .7rem;
  font-size: .78rem; font-weight: 700; color: #fff;
}
.hero-feats svg { width: 14px; height: 14px; color: #fde68a; }

.buy-card, .amount-card, .page-card {
  background: var(--card); border-radius: 24px; padding: 1.15rem 1.25rem;
  margin-bottom: 1rem; box-shadow: var(--shadow);
}
.buy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px 78px;
  gap: 1rem; align-items: stretch;
}
.buy-main h2 { font-size: 1.2rem; margin-bottom: .7rem; }
.type-tabs { display: flex; gap: .4rem; margin-bottom: 1rem; }
.type-tabs span {
  padding: .35rem .85rem; border-radius: 999px; font-size: .8rem; font-weight: 800;
  background: #f1f5f9; color: var(--muted);
}
.type-tabs .is-on { background: var(--violet-soft); color: var(--violet-2); }
.type-tabs .is-off { opacity: .45; cursor: not-allowed; }

.plane-art { display: grid; place-items: center; align-content: center; text-align: center; }
.plane-art svg { width: 120px; height: auto; }
.plane-art .scribble { width: 70px; margin: .15rem auto 0; }
.plane-art p { font-size: .75rem; color: var(--muted); font-weight: 700; margin-top: .2rem; }

.v-steps {
  display: flex; flex-direction: column; justify-content: space-between;
  border-inline-start: 2px dashed var(--line); padding-inline-start: .7rem;
}
.v-steps li {
  display: flex; flex-direction: column; align-items: center; gap: .3rem;
  color: var(--muted); font-size: .68rem; font-weight: 800; text-align: center;
}
.v-steps i {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font-style: normal; background: #f1f5f9; color: var(--muted); font-weight: 800;
}
.v-steps .is-on { color: var(--violet-2); }
.v-steps .is-on i { background: var(--violet); color: #fff; }

.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: .84rem; font-weight: 800; margin-bottom: .4rem; }
.input-wrapper { position: relative; display: flex; align-items: center; }
.input-icon { position: absolute; right: 12px; width: 18px; color: #94a3b8; }
.input-wrapper input {
  width: 100%; border: 1px solid var(--line); background: #f8fafc; border-radius: 16px;
  padding: 14px 42px 14px 12px; outline: 0; font-size: 1rem;
}
.input-wrapper input:focus { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(91, 33, 182, .12); }
.input-wrapper.is-ok input { border-color: var(--ok); }
.input-wrapper.is-bad input { border-color: var(--bad); }
.currency-wrapper input { padding-left: 48px; padding-right: 12px; }
.currency { position: absolute; left: 12px; color: #94a3b8; font-size: .8rem; }

.buy-card .operator-logos { display: none; }
.buy-card .form-group:has(.amount-grid) {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0);
}

.extra-options:not([hidden]) { display: flex; gap: .4rem; flex-wrap: wrap; margin-top: .45rem; }
.check-option { display: flex; gap: .3rem; align-items: center; font-size: .82rem; cursor: pointer; }

.payable-box { background: var(--violet-soft); border-radius: 14px; padding: .8rem 1rem; margin-bottom: .85rem; }
.payable-row { display: flex; justify-content: space-between; font-weight: 700; }
.payable-box small { display: block; margin-top: .25rem; color: var(--muted); font-size: .74rem; }
.field-hint { font-size: .76rem; color: var(--muted); margin-top: .35rem; }
.form-error { color: var(--bad); background: #fef2f2; padding: .5rem .7rem; border-radius: 12px; margin-bottom: .55rem; font-size: .82rem; }
.btn-submit {
  width: 100%; border: 0; background: linear-gradient(135deg, var(--violet-deep), var(--violet));
  color: #fff; font-weight: 800; padding: 1rem; border-radius: 16px; cursor: pointer;
  display: flex; justify-content: center; gap: .4rem; align-items: center;
  box-shadow: 0 12px 24px rgba(76, 29, 149, .32);
}
.btn-submit:disabled, .btn-submit.is-loading { opacity: .7; cursor: wait; }

.op-banners {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: .7rem; margin-bottom: 1rem;
}
.op-banners .op-badge {
  border-radius: 18px; padding: 1.05rem 1rem .95rem;
  color: #fff; display: flex; flex-direction: column; gap: .15rem;
  opacity: .72; border: 2px solid transparent; min-height: 92px; justify-content: flex-end;
}
.op-banners .op-badge b { font-size: 1.05rem; }
.op-banners .op-badge span {
  display: inline-block; align-self: flex-start;
  background: rgba(255,255,255,.2); border-radius: 999px;
  font-size: .72rem; font-weight: 800; padding: .2rem .6rem; margin-top: .35rem;
}
.op-banners .rightel { background: linear-gradient(135deg, #7c3aed, #4c1d95); }
.op-banners .mci { background: linear-gradient(135deg, #14b8a6, #0f766e); }
.op-banners .mtn { background: linear-gradient(135deg, #fbbf24, #d97706); }
.op-banners .op-badge.active {
  opacity: 1; transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(30, 27, 75, .16);
  border-color: #fff;
}

.amount-card h2 {
  display: flex; align-items: center; gap: .4rem;
  font-size: 1.05rem; margin-bottom: .9rem;
}
.amount-card h2 svg { width: 16px; height: 16px; color: var(--sky); }
.price-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: .55rem; }
.amount-btn {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: .85rem .3rem .7rem; cursor: pointer; font-weight: 800; color: var(--ink);
  display: flex; flex-direction: column; align-items: center; gap: .12rem;
  box-shadow: 0 4px 10px rgba(30, 27, 75, .04);
}
.amount-btn small { font-size: .7rem; font-weight: 600; color: var(--muted); }
.amount-btn:hover { border-color: var(--violet); background: var(--violet-soft); color: var(--violet-2); }
.amount-btn.active {
  border-color: transparent; background: var(--violet-deep); color: #fff;
}
.amount-btn.active small { color: rgba(255,255,255,.8); }
.amount-btn.active:hover { background: var(--violet-deep); color: #fff; }
.amount-btn:disabled { opacity: .35; cursor: not-allowed; background: #f8fafc; color: var(--ink); }
.amount-btn:disabled small { color: var(--muted); }
.amount-custom {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem;
  border: 1px dashed var(--violet); border-radius: 14px; padding: .55rem .35rem; text-align: center;
  background: var(--violet-soft);
}
.amount-custom svg { width: 16px; height: 16px; color: var(--violet); }
.amount-custom span { font-size: .78rem; font-weight: 700; color: var(--violet-2); }
.amount-custom input { width: 90%; border: 0; outline: 0; text-align: center; font-size: .85rem; background: transparent; }

.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; }
.trust-row article {
  background: var(--card); border-radius: 18px; padding: .95rem .85rem;
  box-shadow: var(--shadow); text-align: right;
}
.trust-row svg { width: 20px; height: 20px; color: var(--violet); margin-bottom: .4rem; }
.trust-row strong { display: block; font-size: .88rem; }
.trust-row p { color: var(--muted); font-size: .75rem; }

.page-card .kicker { font-size: .75rem; letter-spacing: .14em; color: var(--violet); font-weight: 800; margin-bottom: .4rem; }
.page-card h1 { font-size: 1.7rem; margin-bottom: .7rem; }
.page-card > p { color: var(--muted); margin-bottom: 1rem; }
.page-cta {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--violet); color: #fff; font-weight: 800;
  padding: .7rem 1.1rem; border-radius: 14px;
}
.contact-rows { display: grid; gap: .55rem; }
.contact-rows a, .contact-rows p {
  display: flex; align-items: center; gap: .5rem;
  background: var(--violet-soft); border-radius: 12px; padding: .7rem .85rem; font-weight: 700;
}
.contact-rows svg { width: 16px; height: 16px; color: var(--violet); }
.legal .rules-list { display: flex; flex-direction: column; gap: .6rem; width: 100%; text-align: right; }
.legal .rules-list article {
  width: 100%; background: #f8fafc; border-radius: 12px; padding: .8rem .9rem; text-align: right;
}
.legal .rules-list h4 { color: var(--violet-2); margin: 0 0 .25rem; }
.legal .rules-list p { color: var(--muted); margin: 0; text-align: right; width: 100%; }

@media (max-width: 1080px) {
  .price-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-body { grid-template-columns: 1fr 220px; }
}
@media (max-width: 980px) {
  .dash { grid-template-columns: 1fr; }
  .side { position: relative; height: auto; border-left: 0; border-bottom: 1px solid var(--line); }
  .nav-links { display: none; }
  .nav-links.is-open { display: flex; }
  .mobile-menu-btn { display: grid; place-items: center; margin-right: auto; }
  .promo { margin-top: 0; }
  .buy-layout { grid-template-columns: 1fr; }
  .plane-art { display: none; }
  .v-steps {
    flex-direction: row; border-inline-start: 0; padding-inline-start: 0;
    border-bottom: 2px dashed var(--line); padding-bottom: .7rem; gap: .5rem;
  }
  .v-steps li { flex: 1; flex-direction: row; justify-content: center; }
  .hero-body, .op-banners, .trust-row { grid-template-columns: 1fr 1fr; }
  .hero-menu { display: none; }
}
@media (max-width: 560px) {
  .hero-body, .op-banners, .trust-row, .price-grid { grid-template-columns: 1fr; }
  .canvas { padding: 1rem; }
  .hero-art { height: 140px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
