/* ------------------------------------------------------------------
   YoozSeen — استایل سایت (نسخه‌ی PHP)
   همان دیزاین‌سیستم نسخه‌ی Next: تم لایت، گرادیان بنفش→سرخابی.
   بدون هیچ وابستگی خارجی؛ همه‌چیز در همین فایل.
   ------------------------------------------------------------------ */

/* Vazirmatn اختیاری است: اگر فایل فونت را در assets/fonts گذاشتی استفاده
   می‌شود، وگرنه مرورگر بی‌سروصدا به فونت سیستم برمی‌گردد. */
@font-face {
  font-family: "Vazirmatn";
  src: url("fonts/Vazirmatn-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("fonts/Vazirmatn-Bold.woff2") format("woff2");
  font-weight: 700 900;
  font-display: swap;
}

:root {
  --primary: #7c3aed;
  --primary-dark: #6d28d9;
  --accent: #d946ef;
  --gradient: linear-gradient(120deg, #7c3aed 0%, #d946ef 100%);
  --bg: #ffffff;
  --tint: #f6f5fb;
  --border: rgba(23, 16, 43, 0.09);
  --text: #171029;
  --dim: #6b6779;
  --radius: 16px;
  --shadow: 0 18px 40px -24px rgba(23, 16, 43, 0.28);
  --shadow-hover: 0 26px 56px -26px rgba(124, 58, 237, 0.42);
  --maxw: 1280px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Vazirmatn, "Segoe UI", Tahoma, system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* لکه‌های رنگی پس‌زمینه */
.bg-blobs {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.bg-blobs span {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}
.bg-blobs span:nth-child(1) {
  width: 520px; height: 520px; top: -180px; inset-inline-end: -120px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.35), transparent 65%);
}
.bg-blobs span:nth-child(2) {
  width: 460px; height: 460px; top: 40%; inset-inline-start: -160px;
  background: radial-gradient(circle, rgba(217, 70, 239, 0.28), transparent 65%);
}

.container {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ─────────────── نوار بالا ─────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav .inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 20px; }
.brand .mark {
  width: 34px; height: 34px; border-radius: 11px;
  background: var(--gradient);
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 10px 22px -10px rgba(124, 58, 237, 0.9);
}
.brand .name { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav-links { display: flex; gap: 22px; margin-inline-start: auto; }
.nav-links a { color: var(--dim); font-size: 15px; font-weight: 600; transition: color .18s; }
.nav-links a:hover { color: var(--primary); }

/* ─────────────── دکمه‌ها ─────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700; font-size: 15.5px;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: transform .18s, box-shadow .18s, background .18s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient); color: #fff;
  box-shadow: 0 14px 30px -12px rgba(124, 58, 237, 0.7);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 38px -12px rgba(124, 58, 237, 0.85); }
.btn-ghost { background: #fff; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: rgba(124, 58, 237, 0.5); color: var(--primary); }
/* روی بنر گرادیانی، دکمه باید سفیدِ توپر باشد — background-image را صفر
   می‌کنیم وگرنه گرادیان روی رنگ پس‌زمینه می‌نشیند و دکمه گم می‌شود. */
.btn-on-gradient {
  background-image: none; background-color: #fff; color: var(--primary-dark);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.4);
}
.btn-on-gradient:hover { background-color: #f5f3ff; transform: translateY(-2px); }

/* ─────────────── بخش‌ها ─────────────── */
section { padding-block: 72px; }
.section-tint { background: var(--tint); border-block: 1px solid var(--border); }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--primary); font-weight: 800; font-size: 13.5px; letter-spacing: .02em;
}
.kicker::before, .kicker::after {
  content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--gradient); opacity: .7;
}

.section-head { text-align: center; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(24px, 3.4vw, 38px); font-weight: 900; margin: 12px 0 8px; line-height: 1.25; }
.section-head p { color: var(--dim); margin: 0; font-size: 16.5px; }

/* ─────────────── هیرو ─────────────── */
.hero { padding-block: 64px 40px; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr .95fr; } }

/* textAlign/alignItems منطقی‌اند تا در fa راست و در en چپ شوند. */
.hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
@media (min-width: 900px) { .hero-copy { text-align: start; align-items: flex-start; } }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 999px;
  background: #fff; border: 1px solid var(--border);
  font-size: 13.5px; font-weight: 700; color: var(--primary);
  box-shadow: var(--shadow);
}
.hero h1 { font-size: clamp(30px, 5.2vw, 54px); font-weight: 900; line-height: 1.22; margin: 0; }
.hero h1 .grad { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: var(--dim); font-size: 17px; margin: 0; max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 8px 16px; border-radius: 999px; background: #fff;
  border: 1px solid var(--border); font-size: 13.5px; box-shadow: var(--shadow);
}
.chip b { color: var(--primary); }

/* ماکت گفتگو */
.mock {
  background: #fff; border: 1px solid var(--border); border-radius: 26px;
  box-shadow: var(--shadow); overflow: hidden;
}
.mock-top { background: var(--gradient); color: #fff; padding: 16px 20px; display: flex; align-items: center; gap: 12px; }
.mock-top .av { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.25); display: grid; place-items: center; }
.mock-body { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.bubble { padding: 12px 16px; border-radius: 18px; font-size: 14.5px; max-width: 86%; }
.bubble.in { background: var(--tint); align-self: flex-start; }
.bubble.out { background: var(--gradient); color: #fff; align-self: flex-end; }
.reacts { display: flex; gap: 8px; flex-wrap: wrap; }
.react {
  padding: 6px 12px; border-radius: 999px; background: #fff;
  border: 1px solid var(--border); font-size: 13.5px; font-weight: 700;
}
.react.on { background: var(--gradient); color: #fff; border-color: transparent; }

/* ─────────────── کارت‌ها ─────────────── */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(124,58,237,.42); box-shadow: var(--shadow-hover); }
.card h3 { margin: 14px 0 6px; font-size: 17px; font-weight: 800; }
.card p { margin: 0; color: var(--dim); font-size: 14.5px; }

.tile {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(124,58,237,.14), rgba(217,70,239,.14));
  color: var(--primary);
}

/* آمار */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.stat { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; text-align: center; box-shadow: var(--shadow); }
.stat .v { font-size: 26px; font-weight: 900; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .l { color: var(--dim); font-size: 14px; }

/* مراحل */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; text-align: center; }
.step .num {
  width: 46px; height: 46px; border-radius: 50%; margin-inline: auto;
  background: var(--gradient); color: #fff; display: grid; place-items: center;
  font-weight: 900; font-size: 18px; box-shadow: 0 12px 26px -12px rgba(124,58,237,.9);
}
.step h3 { margin: 14px 0 6px; font-size: 17px; font-weight: 800; }
.step p { color: var(--dim); font-size: 14.5px; margin: 0; }

/* درباره ما */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-copy { text-align: start; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.about-copy h2 { font-size: clamp(24px, 3.2vw, 36px); font-weight: 900; margin: 0; line-height: 1.25; }
.about-copy p { color: var(--dim); margin: 0; }
.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.point {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; display: flex; align-items: center; gap: 12px; box-shadow: var(--shadow);
  font-weight: 700; font-size: 14.5px;
}
.point .ok { color: var(--primary); flex-shrink: 0; }

/* بنر پایانی */
.cta-band {
  position: relative; overflow: hidden; border-radius: 34px;
  padding: 56px 32px; text-align: center;
  background: linear-gradient(135deg, #7c3aed 0%, #a021d6 50%, #d946ef 100%);
  box-shadow: 0 50px 90px -40px rgba(124, 58, 237, 0.8);
}
.cta-band h2 { color: #fff; font-size: clamp(24px, 3.4vw, 40px); font-weight: 900; margin: 0 auto 14px; max-width: 720px; line-height: 1.25; }
.cta-band p { color: rgba(255,255,255,.9); margin: 0 auto 26px; max-width: 620px; }

/* تماس */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.contact-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; display: flex; align-items: center; gap: 16px; box-shadow: var(--shadow);
  transition: transform .2s, border-color .2s;
}
.contact-card:hover { transform: translateY(-4px); border-color: rgba(124,58,237,.42); }
.contact-card .tile { width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0; }
.contact-card .label { color: var(--dim); font-size: 13.5px; font-weight: 700; }
.contact-card .value { font-weight: 800; font-size: 15.5px; }

/* ─────────────── فوتر ─────────────── */
footer { background: var(--tint); border-top: 1px solid var(--border); padding-block: 48px 28px; }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.foot-grid h4 { font-size: 15px; font-weight: 800; margin: 0 0 14px; }
.foot-grid a, .foot-grid li { color: var(--dim); font-size: 14px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.foot-grid a { text-align: start; display: block; transition: color .18s; }
.foot-grid a:hover { color: var(--primary); }
.enamad-slot {
  border: 1px dashed var(--border); border-radius: 12px; padding: 14px;
  font-size: 12.5px; color: var(--dim); text-align: center; background: #fff;
}
.enamad-slot img { max-width: 100px; height: auto; }
.foot-bottom {
  margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
  color: var(--dim); font-size: 13px;
}

/* ─────────────── صفحه‌ی سفارش ─────────────── */
.order-wrap { padding-block: 48px 72px; }
.product {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px;
  transition: transform .2s, border-color .2s;
}
.product:hover { transform: translateY(-4px); border-color: rgba(124,58,237,.42); }
.product .price { color: var(--primary); font-weight: 800; font-size: 14.5px; }
.product .btn { margin-top: auto; align-self: stretch; }

.form-card {
  background: #fff; border: 1px solid var(--border); border-radius: 22px;
  padding: 28px; box-shadow: var(--shadow); max-width: 620px; margin-inline: auto;
}
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-weight: 700; font-size: 14.5px; }
.field input {
  font-family: inherit; font-size: 15px; padding: 12px 15px;
  border: 1px solid var(--border); border-radius: 12px; background: #fff; color: var(--text);
  transition: border-color .18s, box-shadow .18s;
}
.field input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(124,58,237,.14); }
.field .hint { color: var(--dim); font-size: 12.5px; }
.total {
  background: var(--tint); border: 1px solid var(--border); border-radius: 14px;
  padding: 15px 18px; display: flex; justify-content: space-between; align-items: center;
  font-weight: 800; margin-bottom: 20px;
}
.total .amount { color: var(--primary); font-size: 18px; }
.alert {
  background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c;
  border-radius: 12px; padding: 12px 16px; font-size: 14.5px; margin-bottom: 18px;
}
.success { text-align: center; }
.success .icon {
  width: 74px; height: 74px; border-radius: 50%; margin-inline: auto
  ; background: linear-gradient(135deg, rgba(22,163,74,.16), rgba(22,163,74,.06));
  color: #16a34a; display: grid; place-items: center; margin-bottom: 18px;
}
.success h2 { font-size: 24px; font-weight: 900; margin: 0 0 10px; }
.success p { color: var(--dim); margin: 0 0 24px; }
.success .row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* اعداد و شناسه‌های لاتین نباید در متن فارسی جابه‌جا شوند */
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }

@media (max-width: 780px) {
  .nav-links { display: none; }
  section { padding-block: 52px; }
  .cta-band { padding: 44px 22px; border-radius: 26px; }
}
