:root {
  --bg: #0b1220;
  --card: #121a2b;
  --line: rgba(255, 255, 255, 0.08);
  --text: #eef3ff;
  --muted: #9aa8c7;
  --accent: #4f8cff;
  --accent-2: #22c55e;
  --warn: #f59e0b;
  --danger: #fb7185;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Vazirmatn, Tahoma, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

.bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 400px at 90% -10%, rgba(79, 140, 255, 0.25), transparent 60%),
    radial-gradient(700px 360px at 0% 100%, rgba(34, 197, 94, 0.12), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.top, .wrap, .foot { position: relative; z-index: 1; }

.top {
  max-width: 920px;
  margin: 0 auto;
  padding: 28px 20px 8px;
  display: flex;
  align-items: center;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #4f8cff, #22c55e);
  font-weight: 800;
  letter-spacing: 0.5px;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.wrap {
  max-width: 920px;
  margin: 0 auto;
  padding: 12px 20px 64px;
}

.hero h1 {
  font-size: 28px;
  margin: 18px 0 8px;
}

.hero p {
  color: var(--muted);
  margin: 0 0 28px;
  line-height: 1.9;
}

.card {
  background: rgba(18, 26, 43, 0.9);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.field { margin-bottom: 16px; }
.field label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
}

input[type="tel"] {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #0d1524;
  color: var(--text);
  font-family: inherit;
  font-size: 18px;
  letter-spacing: 1px;
  outline: none;
}

input[type="tel"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(79, 140, 255, 0.15);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 18px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #4f8cff, #3b6fe0);
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.btn:hover { filter: brightness(1.06); }

.btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  margin-top: 10px;
}

.alert {
  background: rgba(251, 113, 133, 0.12);
  border: 1px solid rgba(251, 113, 133, 0.35);
  color: #fecdd3;
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 16px;
  line-height: 1.8;
}

.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.plan {
  background: rgba(18, 26, 43, 0.9);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plan.featured {
  border-color: rgba(79, 140, 255, 0.55);
  box-shadow: var(--shadow);
}

.badge {
  display: inline-block;
  background: rgba(34, 197, 94, 0.15);
  color: #86efac;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  width: fit-content;
}

.price {
  font-size: 28px;
  font-weight: 800;
  margin: 6px 0;
}

.muted { color: var(--muted); font-size: 14px; line-height: 1.8; }

.ok {
  text-align: center;
}

.ok .check {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(34, 197, 94, 0.15);
  color: var(--accent-2);
  font-size: 34px;
}

.creds {
  text-align: right;
  margin-top: 22px;
}

.row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.row span { color: var(--muted); }
.row b { font-family: ui-monospace, Tahoma, sans-serif; direction: ltr; }

.foot {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  padding: 0 20px 32px;
}

@media (max-width: 700px) {
  .plans { grid-template-columns: 1fr; }
  .hero h1 { font-size: 22px; }
}
