@font-face { font-family: 'Aviny'; src: url('/aviny.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Vazir'; src: url('/fonts/Vazir-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Vazir'; src: url('/fonts/Vazir-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  --bg: #FFFCFB;
  --surface: #0b222d;
  --surface-2: #0f2d3a;
  --text: #10262c;
  --muted: #3a5359;
  --faint: #55696e;
  --ink: #0b6b5f;
  --mint: #62efcb;
  --mint-deep: #20c9b1;
  --blue: #65baff;
  --on-mint: #04201c;
  --line: rgba(16, 38, 44, .14);
  --line-strong: rgba(32, 201, 177, .55);
  --font-display: 'Aviny', 'Vazir', Tahoma, sans-serif;
  --font-body: 'Vazir', Tahoma, sans-serif;
  --r-card: 22px;
  --r-ctl: 14px;
  --gap: 20px;
}

* { box-sizing: border-box; }
html { font-synthesis: none; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; overflow-x: hidden; color: var(--text);
  background:
    radial-gradient(ellipse 70% 50% at 50% -10%, rgba(32, 201, 177, .10), transparent 70%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(36, 123, 200, .07), transparent 70%),
    var(--bg);
  font-family: var(--font-body); font-size: 17px; line-height: 2; letter-spacing: 0;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
body > * { position: relative; z-index: 1; }
.carpet { position: fixed; inset: 0; z-index: 0 !important; pointer-events: none; overflow: hidden; opacity: .55; }
.carpet i { position: absolute; inset: -20%; background-repeat: repeat; will-change: transform; }
.carpet i:nth-child(1) { background-image: repeating-radial-gradient(ellipse 140px 90px at 30% 40%, rgba(32,201,177,.07) 0 2px, transparent 2px 26px); animation: rug1 38s ease-in-out infinite alternate; }
.carpet i:nth-child(2) { background-image: repeating-radial-gradient(ellipse 180px 120px at 70% 60%, rgba(36,123,200,.05) 0 2px, transparent 2px 34px); animation: rug2 52s ease-in-out infinite alternate; }
@keyframes rug1 { from { transform: translate3d(-2%, -1%, 0) rotate(-1deg) scale(1); } to { transform: translate3d(2%, 2%, 0) rotate(1deg) scale(1.06); } }
@keyframes rug2 { from { transform: translate3d(2%, 1%, 0) rotate(1.5deg) scale(1.05); } to { transform: translate3d(-2%, -2%, 0) rotate(-1deg) scale(1); } }
html.no-carpet .carpet { display: none; }
@media (prefers-reduced-motion: reduce) { .carpet i { animation: none; } }
.skip { position: absolute; top: -80px; right: 16px; z-index: 10; padding: 10px 18px; border-radius: var(--r-ctl); background: var(--mint); color: var(--on-mint); font-weight: 700; }
.skip:focus { top: 12px; }
.wrap { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
svg.i { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.topbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; color: var(--on-mint); background: linear-gradient(145deg, #a2ffe3, var(--mint-deep)); box-shadow: 0 0 0 1px rgba(255, 255, 255, .25) inset, 0 8px 24px rgba(32, 201, 177, .25); font-family: var(--font-display); font-size: 26px; line-height: 1; }
.brand-name { font-family: var(--font-display); font-size: 24px; line-height: 1.4; }
.nav { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 16px; border-radius: 999px; color: var(--muted); transition: color .2s ease, background-color .2s ease; }
.nav a:hover { color: var(--text); background: rgba(16, 38, 44, .06); }
.nav a[aria-current="page"] { color: var(--ink); background: rgba(32, 201, 177, .16); font-weight: 700; }
.nav .nav-cta { white-space: nowrap; margin-inline-start: 8px; border: 1px solid var(--line); background: #fff; color: var(--text); font-weight: 700; }
.nav .nav-cta:hover { border-color: var(--line-strong); }

.pricing { padding-block: clamp(24px, 5vw, 56px) clamp(56px, 8vw, 104px); }
.head { text-align: center; max-width: 40em; margin-inline: auto; }
.head h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(36px, 5.4vw, 60px); line-height: 1.4; }
.lead { margin-top: 12px; color: var(--muted); font-size: clamp(16px, 1.7vw, 19px); line-height: 2.1; }
.lead:empty { display: none; }

.switch { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; width: fit-content; max-width: 100%; margin: 32px auto 0; padding: 6px; border: 1px solid var(--line); border-radius: 999px; background: #fff; box-shadow: 0 6px 22px rgba(16, 38, 44, .06); }
.switch[hidden] { display: none; }
.sw { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 700 15px/1 var(--font-body); cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.sw:hover { color: var(--text); }
.sw[aria-pressed="true"] { background: linear-gradient(135deg, #9bffe0, var(--mint-deep)); color: var(--on-mint); }
.sw .badge { padding: 2px 8px; border-radius: 999px; background: rgba(32, 201, 177, .16); color: var(--ink); font-size: 12px; line-height: 1.6; }
.sw[aria-pressed="true"] .badge { background: rgba(4, 32, 28, .16); color: var(--on-mint); }

.status { margin-top: 40px; text-align: center; color: var(--muted); }
.status:empty { display: none; }
.status .retry { width: auto; margin-top: 14px; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; margin-top: 44px; align-items: stretch; }
.card, .mb { color: var(--text); --text: #eef9f6; --muted: #b9d0d0; --faint: #93aeae; --line: rgba(150, 230, 215, .16); --line-strong: rgba(98, 239, 203, .38); }
.card { position: relative; display: flex; flex-direction: column; padding: 28px 24px 26px; border: 1px solid var(--line); border-radius: var(--r-card); background: linear-gradient(150deg, var(--surface-2), var(--surface)); }
.card { box-shadow: 0 12px 34px rgba(16, 38, 44, .14); transition: transform .25s ease, box-shadow .25s ease; }
.card.pop { border-color: var(--line-strong); box-shadow: 0 0 0 1px rgba(98, 239, 203, .35), 0 22px 54px rgba(32, 201, 177, .22); }
@media (hover: hover) { .card:hover { transform: translateY(-4px); } }
.pop-badge { position: absolute; top: -14px; right: 24px; padding: 2px 14px; border-radius: 999px; background: linear-gradient(135deg, #9bffe0, var(--mint-deep)); color: var(--on-mint); font-size: 13px; font-weight: 700; line-height: 1.9; }
.pico { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 14px; border: 1px solid rgba(98, 239, 203, .22); border-radius: 15px; background: rgba(98, 239, 203, .08); color: var(--mint); font-size: 26px; }
.pname { font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 1.5; }
.pdesc { min-height: 2em; margin-top: 2px; color: var(--muted); font-size: 14px; line-height: 1.9; overflow-wrap: anywhere; }
.price { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.old { display: block; color: var(--faint); font-size: 14px; text-decoration: line-through; line-height: 1.6; }
.old.ph { visibility: hidden; }
.amount { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; }
.amount strong { font-size: clamp(30px, 3.4vw, 38px); line-height: 1.4; }
.amount span { color: var(--muted); font-size: 14px; }
.total { min-height: 1.8em; margin-top: 2px; color: var(--faint); font-size: 13px; line-height: 1.8; }
.quota { margin-top: 14px; padding: 10px 14px; border: 1px solid rgba(98, 239, 203, .22); border-radius: var(--r-ctl); background: rgba(98, 239, 203, .07); color: var(--mint); font-weight: 700; font-size: 15px; line-height: 1.8; overflow-wrap: anywhere; }
.feats { margin: 16px 0 26px; padding: 0; list-style: none; display: grid; gap: 4px; font-size: 15px; line-height: 1.9; color: var(--muted); }
.feats li { display: flex; align-items: flex-start; gap: 10px; overflow-wrap: anywhere; }
.feats .i { margin-top: 6px; font-size: 16px; color: var(--mint); stroke-width: 2.4; }
.feats .no { color: var(--faint); }
.feats .no .i { color: var(--faint); }
.cta { margin-top: auto; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 52px; padding: 0 24px; border: 1px solid transparent; border-radius: var(--r-ctl); font: 700 16px/1 var(--font-body); cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.btn:active { transform: scale(.98); }
.btn-primary { background: linear-gradient(135deg, #9bffe0, var(--mint-deep)); color: var(--on-mint); box-shadow: 0 10px 28px rgba(32, 201, 177, .24); }
.btn-ghost { border-color: rgba(190, 255, 243, .24); background: rgba(255, 255, 255, .04); color: var(--text); }
.mo { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(2, 10, 15, .72); backdrop-filter: blur(6px); }
.mb { display: grid; gap: 12px; width: min(420px, 100%); max-height: 92vh; overflow: auto; padding: 24px; border: 1px solid var(--line-strong); border-radius: var(--r-card); background: linear-gradient(150deg, var(--surface-2), var(--surface)); }
.mb h3 { font-family: var(--font-display); font-weight: 400; font-size: 24px; line-height: 1.5; }
.mm { color: var(--muted); font-size: 14px; line-height: 1.9; }
.fl { display: grid; gap: 4px; color: var(--muted); font-size: 13px; }
.fl[hidden] { display: none; }
.fl input { width: 100%; min-height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-ctl); background: rgba(255, 255, 255, .05); color: var(--text); font: 400 16px/1 var(--font-body); }
.fl input:focus-visible { border-color: var(--mint); }
.err { min-height: 1.6em; color: #ffb3b3; font-size: 13px; line-height: 1.6; }
.btn:disabled { opacity: .55; cursor: wait; }
.btn-soon { border-color: var(--line); background: rgba(255, 255, 255, .04); color: var(--faint); cursor: not-allowed; }
.btn-soon:active { transform: none; }

footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding-block: 32px 40px; border-top: 1px solid var(--line); color: var(--faint); font-size: 14px; line-height: 1.9; }
.footer-brand { color: var(--text); font-family: var(--font-display); font-size: 20px; }
.footer-mid { display: flex; flex-wrap: wrap; gap: 4px 24px; }
footer a:hover { color: var(--ink); }

@media (max-width: 720px) {
  .wrap { width: calc(100% - 32px); }
  .topbar { padding-block: 16px; }
  .topbar { gap: 8px; }
  .nav { gap: 2px; }
  .nav a:not(.nav-cta) { padding-inline: 8px; font-size: 14px; }
  .nav .nav-cta { margin-inline-start: 0; padding-inline: 10px; font-size: 12px; }
  .brand { gap: 8px; }
  .brand-mark { width: 40px; height: 40px; font-size: 22px; }
  .brand-name { font-size: 19px; }
  .grid { grid-template-columns: 1fr; }
  .sw { padding: 0 12px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { * { transition-duration: .01ms !important; } }
html { -webkit-text-size-adjust: 100%; }
img, svg, video { max-width: 100%; }
h1, h2, h3, p, li, a { overflow-wrap: anywhere; }
@media (max-width: 380px) {
  body { font-size: 15px; }
  .wrap { width: calc(100% - 24px); }
  .brand-name { font-size: 20px; }
  .btn { padding: 0 16px; }
  .chip { font-size: 13px; padding-inline: 12px; }
  .visual { overflow: hidden; }
}
@media (min-width: 1600px) { .wrap { max-width: 1280px; } }

.brand-logo{width:46px;height:46px;border-radius:14px;flex:none;object-fit:cover;box-shadow:0 8px 24px rgba(32,201,177,.25)}

.card{margin-top:30px;padding-top:50px}.grid{row-gap:56px}.card.pop .pop-badge{top:14px;right:16px}
.pico{position:absolute;top:-30px;left:50%;right:auto;transform:translateX(-50%);width:64px;height:64px;margin:0;border-radius:20px;font-size:32px;background:linear-gradient(150deg,var(--surface-2),var(--surface));border:2px solid rgba(98,239,203,.5);box-shadow:0 10px 24px rgba(16,38,44,.25)}
.card{text-align:center}.card .pdesc,.card .feats{text-align:start}.card .amount{justify-content:center}
@media (max-width:720px){
  .switch{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;width:100%;padding:5px;border-radius:22px}
  .sw{flex-direction:column;justify-content:center;gap:2px;min-height:56px;padding:6px 2px;font-size:13px;line-height:1.4;text-align:center;border-radius:16px}
  .sw .badge{padding:1px 6px;font-size:11px}
  .brand-logo{width:40px;height:40px}
}
