/* ==== Boostino — استایل اصلی برند و فرم ==== */
:root {
  --bg: #0d1020;
  --bg-2: #141833;
  --card: #1a1f3d;
  --text: #eef1ff;
  --muted: #9aa3c7;
  --brand: #6c5ce7;
  --brand-2: #00d2ff;
  --accent: #ffb020;
  --ok: #22c55e;
  --danger: #ef4444;
  --radius: 18px;
  --shadow: 0 20px 60px rgba(0,0,0,.35);
  --shadow-sm: 0 8px 24px rgba(0,0,0,.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'IRANSans', "Segoe UI", Tahoma, sans-serif;
  background: radial-gradient(1200px 600px at 80% -10%, #23285a 0%, transparent 60%),
              radial-gradient(900px 500px at -10% 20%, #1b2350 0%, transparent 55%),
              var(--bg);
  color: var(--text);
  line-height: 1.9;
  direction: rtl;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* --- ناوبار --- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  background: rgba(13,16,32,.72);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.nav .container { position: relative; display: flex; align-items: center; justify-content: space-between; height: 66px; }
.nav-toggle { display: none; background: transparent; border: 1px solid rgba(255,255,255,.15); color: var(--text); width: 44px; height: 44px; border-radius: 12px; font-size: 21px; line-height: 1; cursor: pointer; align-items: center; justify-content: center; transition: background .18s, border-color .18s; }
.nav-toggle:active { background: rgba(255,255,255,.06); }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; }
.logo .dot { width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  display: grid; place-items: center; font-size: 18px; box-shadow: 0 6px 20px rgba(108,92,231,.5); }
.nav-links { display: flex; gap: 22px; align-items: center; color: var(--muted); font-size: 15px; }
.nav-links a { transition: color .16s; }
.nav-links a:hover { color: var(--text); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; border: 0; cursor: pointer;
  padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 15px;
  font-family: inherit; transition: transform .15s, box-shadow .18s, filter .18s;
  box-shadow: 0 10px 30px rgba(108,92,231,.4);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(108,92,231,.55); }
.btn:active { transform: translateY(0) scale(.98); }
.btn.ghost { background: transparent; border: 1px solid rgba(255,255,255,.18); box-shadow: none; }
.btn.ghost:hover { border-color: var(--brand); background: rgba(108,92,231,.08); }
.btn.block { width: 100%; justify-content: center; padding: 16px; font-size: 17px; }

/* --- هیرو --- */
.hero { padding: 82px 0 58px; text-align: center; }
.badge {
  display: inline-block; padding: 8px 18px; border-radius: 999px; font-size: 14px;
  background: rgba(108,92,231,.15); color: #c9c2ff; border: 1px solid rgba(108,92,231,.35);
  margin-bottom: 22px; backdrop-filter: blur(6px);
}
.hero h1 { font-size: clamp(32px, 6vw, 56px); line-height: 1.28; margin: 0 0 18px; font-weight: 800; letter-spacing: -.5px; }
.hero h1 .grad {
  background: linear-gradient(135deg, var(--brand-2), var(--brand), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: clamp(16px, 2.4vw, 21px); color: var(--muted); max-width: 680px; margin: 0 auto 34px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.url-demo {
  margin-top: 38px; display: inline-flex; align-items: center; gap: 2px; max-width: 100%;
  background: var(--card); border: 1px solid rgba(255,255,255,.08); border-radius: 12px;
  padding: 12px 18px; font-family: ui-monospace, monospace; direction: ltr; font-size: 16px;
  box-shadow: var(--shadow); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.url-demo .host { color: var(--muted); }
.url-demo .slug { color: var(--brand-2); font-weight: 700; }

/* --- بخش‌ها --- */
section { padding: 66px 0; }
.section-head { text-align: center; margin-bottom: 46px; }
.section-head h2 { font-size: clamp(26px, 4vw, 38px); margin: 0 0 12px; font-weight: 800; letter-spacing: -.4px; }
.section-head p { color: var(--muted); max-width: 620px; margin: 0 auto; font-size: 17px; }

.grid { display: grid; gap: 20px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: linear-gradient(180deg, var(--card), var(--bg-2));
  border: 1px solid rgba(255,255,255,.07); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.feature { transition: transform .18s ease, border-color .18s, box-shadow .18s; }
.feature:hover { transform: translateY(-4px); border-color: rgba(108,92,231,.4); box-shadow: 0 24px 50px rgba(108,92,231,.16); }
.feature .ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  font-size: 24px; margin-bottom: 16px; background: linear-gradient(135deg, rgba(108,92,231,.18), rgba(0,210,255,.14)); }
.feature h3 { margin: 0 0 8px; font-size: 20px; }
.feature p { color: var(--muted); margin: 0; }

/* --- مراحل --- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.step { text-align: center; }
.step .num { counter-increment: step; width: 54px; height: 54px; margin: 0 auto 14px; border-radius: 50%;
  display: grid; place-items: center; font-size: 22px; font-weight: 800; color:#fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2)); box-shadow: 0 10px 24px rgba(108,92,231,.4); }
.step .num::before { content: counter(step); }
.step h4 { margin: 0 0 6px; }
.step p { color: var(--muted); margin: 0; font-size: 15px; }

/* --- نمونه‌ها --- */
.samples { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.sample-card { overflow: hidden; padding: 0; transition: transform .18s ease, box-shadow .18s; }
.sample-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(0,0,0,.4); }
.sample-card .top { height: 116px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); position: relative; }
.sample-card .body { padding: 18px 22px; }
.sample-card .body h4 { margin: 0 0 4px; }
.sample-card .body .u { direction: ltr; font-family: ui-monospace, monospace; color: var(--brand-2); font-size: 13px; }

/* --- فرم سفارش --- */
.order-wrap { background:
  linear-gradient(180deg, rgba(108,92,231,.14), rgba(0,210,255,.06)); border-radius: 26px; padding: 8px; }
.form-card { padding: 34px; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 15px; }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; font-family: inherit; font-size: 15px;
  background: var(--bg); border: 1px solid rgba(255,255,255,.12); color: var(--text);
  transition: border-color .16s, box-shadow .16s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(108,92,231,.25);
}
.field textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hint { color: var(--muted); font-size: 13px; margin-top: 6px; }
.hint a { color: var(--brand-2); }

/* --- فوتر --- */
.footer { border-top: 1px solid rgba(255,255,255,.07); padding: 38px 0; color: var(--muted); text-align: center; }
.footer .logo { justify-content: center; margin-bottom: 12px; }

/* --- فلش --- */
.flash { background: rgba(255,176,32,.15); border: 1px solid rgba(255,176,32,.4); color: #ffe0a3;
  padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; }

/* --- ریسپانسیو --- */
@media (max-width: 860px) {
  .grid.cols-3, .grid.cols-2, .steps, .samples { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  /* منوی موبایل: لینک‌ها به‌صورت کشویی زیر نوار */
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .nav-links {
    display: none;
    position: absolute; top: 66px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(13,16,32,.98); backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,.08); border-radius: 0 0 16px 16px;
    padding: 6px 0; box-shadow: 0 20px 40px rgba(0,0,0,.4);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 15px 22px; font-size: 16px; color: var(--text); }
  .nav-links a + a { border-top: 1px solid rgba(255,255,255,.05); }
}

/* موبایل: جمع‌وجورتر */
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .hero { padding: 48px 0 38px; }
  .badge { margin-bottom: 16px; font-size: 13px; padding: 7px 14px; }
  .hero p.lead { margin-bottom: 26px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .url-demo { margin-top: 28px; font-size: 14px; padding: 11px 14px; }
  section { padding: 44px 0; }
  .section-head { margin-bottom: 30px; }
  .card { padding: 22px; }
  .grid { gap: 14px; }
  .steps, .samples { gap: 14px; }
  .order-wrap { border-radius: 20px; padding: 6px; }
  .form-card { padding: 22px 20px; }
  .field { margin-bottom: 15px; }
}

/* لوگوی برند (تصویری) */
.brand-ic{width:34px;height:34px;border-radius:9px;object-fit:cover;flex:0 0 auto;box-shadow:0 4px 14px rgba(108,92,231,.35)}
.logo-full{height:40px;width:auto;display:block}
.footer .logo .brand-ic{width:30px;height:30px}

/* ===== بخش دعوت به همکاری در فروش (صفحه اصلی) ===== */
.earn-sec { padding: 60px 0; }
.earn-box {
  max-width: 760px; margin: 0 auto; text-align: center;
  background: radial-gradient(120% 120% at 50% 0%, rgba(108,92,231,.16), rgba(0,210,255,.06) 55%, transparent),
              var(--card);
  border: 1px solid rgba(108,92,231,.35); border-radius: 22px;
  padding: 40px 26px; box-shadow: 0 20px 60px rgba(60,50,160,.25);
}
.earn-box h2 { font-size: clamp(24px, 4vw, 34px); margin: 14px 0 12px; }
.earn-box .lead { color: var(--muted); font-size: clamp(15px, 2.2vw, 18px); line-height: 2; max-width: 620px; margin: 0 auto 22px; }
.earn-box .lead strong { color: var(--brand-2); }
.earn-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
@media (max-width: 480px) { .earn-cta .btn { width: 100%; } .earn-box { padding: 32px 18px; } }
