:root {
  --bg: #060819;
  --blue: #3b82f6;
  --purple: #8b5cf6;
  --cyan: #22d3ee;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  background: var(--bg);
  color: #e2e8f0;
  overflow-x: hidden;
}

/* ---- Brand gradient text ---- */
.brand-gradient {
  background: linear-gradient(90deg, var(--cyan), var(--blue) 45%, var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---- Background atmosphere ---- */
.orbs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.06) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse at 50% 0%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 0%, black 30%, transparent 75%);
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}
.orb-1 {
  width: 420px; height: 420px;
  background: var(--blue);
  top: -120px; right: -80px;
  animation: float1 14s ease-in-out infinite;
}
.orb-2 {
  width: 380px; height: 380px;
  background: var(--purple);
  top: 40%; left: -120px;
  animation: float2 18s ease-in-out infinite;
}
.orb-3 {
  width: 320px; height: 320px;
  background: var(--cyan);
  bottom: -100px; right: 30%;
  opacity: 0.3;
  animation: float1 20s ease-in-out infinite;
}
@keyframes float1 {
  0%,100% { transform: translate(0,0); }
  50% { transform: translate(-40px, 40px); }
}
@keyframes float2 {
  0%,100% { transform: translate(0,0); }
  50% { transform: translate(50px, -30px); }
}

/* ---- Glass ---- */
.glass {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.09);
}

/* ---- Buttons ---- */
.btn-primary {
  border-radius: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  box-shadow: 0 8px 30px rgba(59,130,246,0.4);
  transition: transform .2s, box-shadow .2s, filter .2s;
  cursor: pointer;
  border: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(139,92,246,0.55);
  filter: brightness(1.08);
}
.btn-ghost {
  border-radius: 14px;
  font-weight: 700;
  color: #cbd5e1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  transition: all .2s;
  cursor: pointer;
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  transform: translateY(-2px);
}
.btn-telegram {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 16px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(90deg, #229ED9, #1d7fc0);
  box-shadow: 0 10px 40px rgba(34,158,217,0.5);
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
  border: none;
}
.btn-telegram:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 50px rgba(34,158,217,0.7);
}

/* ---- Nav link underline ---- */
.nav-link::after {
  content: "";
  position: absolute;
  right: 0; bottom: -6px;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  transition: width .25s;
}
.nav-link:hover::after { width: 100%; }

/* ---- Feature cards ---- */
.feature-card {
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(59,130,246,0.5);
  box-shadow: 0 14px 40px rgba(59,130,246,0.25);
}
.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(59,130,246,0.25), rgba(139,92,246,0.25));
  border: 1px solid rgba(255,255,255,0.1);
}

/* ---- Pricing ---- */
.price-card {
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 45px rgba(59,130,246,0.3);
}
.price-popular {
  background: rgba(139,92,246,0.08);
  border: 1.5px solid rgba(139,92,246,0.6);
  box-shadow: 0 0 40px rgba(139,92,246,0.35);
}
.price-popular:hover {
  box-shadow: 0 0 55px rgba(139,92,246,0.6);
}
.popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--purple), var(--blue));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(139,92,246,0.5);
}

/* ---- Avatar ---- */
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  flex-shrink: 0;
}

/* ---- CTA box ---- */
.cta-box {
  background: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(139,92,246,0.15));
  border: 1px solid rgba(139,92,246,0.3);
  box-shadow: 0 20px 60px rgba(59,130,246,0.2);
  backdrop-filter: blur(10px);
}

/* ---- Floating telegram ---- */
.float-tg {
  position: fixed;
  bottom: 22px;
  left: 22px;
  z-index: 60;
  width: 56px; height: 56px;
  border-radius: 50%;
  border: none;
  font-size: 26px;
  color: #fff;
  background: linear-gradient(135deg, #229ED9, #1d7fc0);
  box-shadow: 0 8px 30px rgba(34,158,217,0.6);
  cursor: pointer;
  animation: pulse 2.4s ease-in-out infinite;
  transition: transform .2s;
}
.float-tg:hover { transform: scale(1.12); }
@keyframes pulse {
  0%,100% { box-shadow: 0 8px 30px rgba(34,158,217,0.6); }
  50% { box-shadow: 0 8px 40px rgba(34,158,217,0.95); }
}

/* ---- Reveal animation ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-in {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Selection ---- */
::selection {
  background: rgba(139,92,246,0.5);
  color: #fff;
}

/* ---- Checkout Modal ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(3,5,18,0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 16px;
  overflow-y: auto;
  animation: fadeIn .25s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-card {
  width: 100%;
  max-width: 460px;
  border-radius: 24px;
  padding: 26px;
  background: rgba(12,16,38,0.92) !important;
  border: 1px solid rgba(139,92,246,0.35);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 50px rgba(139,92,246,0.2);
  animation: popIn .3s cubic-bezier(.2,.9,.3,1.2);
  margin: auto 0;
}
@keyframes popIn {
  from { opacity: 0; transform: translateY(20px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.steps-list {
  list-style: none;
  counter-reset: s;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.steps-list li {
  counter-increment: s;
  position: relative;
  padding-right: 34px;
  font-size: 13px;
  color: #cbd5e1;
  line-height: 1.7;
}
.steps-list li::before {
  content: counter(s);
  position: absolute;
  right: 0;
  top: 1px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-box {
  background: linear-gradient(135deg, rgba(59,130,246,0.14), rgba(139,92,246,0.14));
  border: 1px dashed rgba(139,92,246,0.5);
  border-radius: 16px;
  padding: 14px 16px;
}
.card-number {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff;
}
.copy-btn {
  flex-shrink: 0;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 10px;
  color: #fff;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  transition: all .2s;
}
.copy-btn:hover { background: rgba(139,92,246,0.4); }

.field {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 12px;
  padding: 11px 14px;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field::placeholder { color: #64748b; }
.field:focus {
  border-color: rgba(139,92,246,0.7);
  box-shadow: 0 0 0 3px rgba(139,92,246,0.2);
}

.drop-zone {
  display: block;
  cursor: pointer;
  border: 1.5px dashed rgba(255,255,255,0.2);
  border-radius: 14px;
  padding: 16px;
  background: rgba(255,255,255,0.03);
  transition: all .2s;
}
.drop-zone:hover, .drop-zone.drag-over {
  border-color: rgba(139,92,246,0.7);
  background: rgba(139,92,246,0.08);
}
.hidden { display: none; }
.receipt-preview {
  max-height: 180px;
  width: 100%;
  object-fit: contain;
  border-radius: 10px;
}

.err-box {
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.4);
  color: #fecaca;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 12px;
}

.space-y-4 > * + * { margin-top: 16px; }
</parameter>