/* ============================================================
   صفحه‌ی اصلی پارادایس (pid.ir) — قبلاً این مسیر یک صفحه‌ی تست توسعه
   بود که از «اتصال دیتابیس» حرف می‌زد؛ این فایل ظاهر واقعی و حرفه‌ای
   سایت اصلی است. کاملاً خوداتکاست و جدا از theme-*.css فروشگاه‌هاست،
   چون این صفحه هیچ shop خاصی ندارد.
   هویت بصری: بنفش سلطنتی + طلایی (الهام از قالب «سلطنتی») برای حس
   «جامع‌ترین فروشگاه‌ساز»، نه یک فروشگاه خاص.
   ============================================================ */

:root {
  --p-ink: #1b0f3a;
  --p-brand: #4c1d95;
  --p-brand-light: #7c3aed;
  --p-accent: #d4af37;
  --p-accent-light: #f0cf6b;
  --p-bg: #0f0a24;
  --p-surface: #ffffff;
  --p-surface-soft: #f6f3ff;
  --p-text: #201a3a;
  --p-muted: #6b6485;
  --p-border: #e5deff;
  --p-radius: 18px;
  --p-max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.landing {
  margin: 0;
  font-family: "Vazirmatn", Tahoma, system-ui, sans-serif;
  background: var(--p-surface-soft);
  color: var(--p-text);
  direction: rtl;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }

.landing .container {
  max-width: var(--p-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- حرکت پس‌زمینه: چند حباب گرادیانی محو که به‌آرامی شناورند --- */
@keyframes blobDrift {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(24px, -30px) scale(1.06); }
  66%  { transform: translate(-18px, 18px) scale(0.97); }
  100% { transform: translate(0, 0) scale(1); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes logoPulse {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50%      { transform: scale(1.045) rotate(-3deg); }
}
@keyframes shine {
  from { transform: translateX(-120%) skewX(-15deg); }
  to   { transform: translateX(220%) skewX(-15deg); }
}

.landing .hero {
  position: relative;
  background: radial-gradient(120% 140% at 20% -10%, #3a1f7a 0%, var(--p-bg) 55%);
  color: #fff;
  padding: 84px 0 110px;
  overflow: hidden;
}
.landing .hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: blobDrift 14s ease-in-out infinite;
}
.landing .hero-blob.b1 { width: 340px; height: 340px; background: var(--p-brand-light); top: -80px; right: -60px; }
.landing .hero-blob.b2 { width: 280px; height: 280px; background: var(--p-accent); bottom: -100px; left: -40px; animation-delay: -6s; }
.landing .hero-blob.b3 { width: 200px; height: 200px; background: #ec4899; top: 40%; left: 30%; animation-delay: -3s; opacity: 0.28; }

.landing .hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  animation: fadeUp 0.6s ease both;
}

/* --- لوگوی برداری پارادایس: فروشگاه + گفت‌وگو، در یک نشان --- */
.landing .brand-mark {
  width: 84px;
  height: 84px;
  margin: 0 auto 22px;
  animation: logoPulse 5s ease-in-out infinite;
}

.landing .brand-word {
  font-size: 15px;
  letter-spacing: 4px;
  color: var(--p-accent-light);
  font-weight: 700;
  margin: 0 0 6px;
}

.landing .hero h1 {
  font-size: clamp(28px, 4.4vw, 46px);
  font-weight: 800;
  margin: 0 0 16px;
  line-height: 1.35;
}
.landing .hero h1 span { color: var(--p-accent-light); }

.landing .hero p.lead {
  max-width: 560px;
  margin: 0 auto 34px;
  color: #d8d0f5;
  font-size: 16.5px;
}

.landing .cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.landing .btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15.5px;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.landing .btn:active { transform: scale(0.97); }

.landing .btn-primary {
  background: linear-gradient(135deg, var(--p-accent) 0%, var(--p-accent-light) 100%);
  color: #2b1a00;
  box-shadow: 0 10px 26px rgba(212, 175, 55, 0.35);
}
.landing .btn-primary:hover { box-shadow: 0 14px 32px rgba(212, 175, 55, 0.45); }
.landing .btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,.55) 50%, transparent 60%);
  animation: shine 3.2s ease-in-out infinite;
}

.landing .btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}
.landing .btn-ghost:hover { background: rgba(255, 255, 255, 0.16); }

/* --- بخش ویژگی‌ها --- */
.landing .section {
  padding: 68px 0;
}
.landing .section-title {
  text-align: center;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  margin: 0 0 10px;
  color: var(--p-ink);
}
.landing .section-sub {
  text-align: center;
  color: var(--p-muted);
  max-width: 520px;
  margin: 0 auto 42px;
  font-size: 15px;
}

.landing .feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.landing .feature-card {
  background: var(--p-surface);
  border: 1px solid var(--p-border);
  border-radius: var(--p-radius);
  padding: 26px 22px;
  animation: fadeUp 0.5s ease both;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.landing .feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(76, 29, 149, 0.12);
  border-color: #cdbcf5;
}
.landing .feature-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
  background: linear-gradient(135deg, var(--p-brand) 0%, var(--p-brand-light) 100%);
}
.landing .feature-card h3 {
  margin: 0 0 8px;
  font-size: 16.5px;
  font-weight: 700;
}
.landing .feature-card p {
  margin: 0;
  color: var(--p-muted);
  font-size: 14px;
}

/* تأخیر آبشاری برای کارت‌های ویژگی */
.landing .feature-grid .feature-card:nth-child(1) { animation-delay: 0.02s; }
.landing .feature-grid .feature-card:nth-child(2) { animation-delay: 0.08s; }
.landing .feature-grid .feature-card:nth-child(3) { animation-delay: 0.14s; }
.landing .feature-grid .feature-card:nth-child(4) { animation-delay: 0.20s; }
.landing .feature-grid .feature-card:nth-child(5) { animation-delay: 0.26s; }
.landing .feature-grid .feature-card:nth-child(6) { animation-delay: 0.32s; }

/* --- بخش نمونه فروشگاه‌ها (اختیاری، فقط اگر فروشگاه فعالی هست) --- */
.landing .section-alt {
  background: var(--p-surface);
  border-top: 1px solid var(--p-border);
  border-bottom: 1px solid var(--p-border);
}
.landing .shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.landing .shop-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 18px;
  background: var(--p-surface-soft);
  border: 1px solid var(--p-border);
  border-radius: 14px;
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  animation: fadeUp 0.5s ease both;
}
.landing .shop-chip:hover {
  transform: translateY(-3px);
  border-color: var(--p-brand-light);
  box-shadow: 0 10px 22px rgba(76, 29, 149, 0.1);
}
.landing .shop-chip .go {
  color: var(--p-brand);
  font-size: 13px;
}

/* --- بخش پایانی CTA --- */
.landing .cta-band {
  background: linear-gradient(135deg, var(--p-brand) 0%, #2c0c66 100%);
  color: #fff;
  text-align: center;
  padding: 64px 0;
}
.landing .cta-band h2 {
  font-size: clamp(20px, 3vw, 28px);
  margin: 0 0 12px;
}
.landing .cta-band p {
  color: #d8d0f5;
  margin: 0 0 28px;
}

.landing .site-footer {
  text-align: center;
  padding: 30px 0 calc(30px + env(safe-area-inset-bottom, 0px));
  color: var(--p-muted);
  font-size: 13px;
  background: var(--p-surface);
}
.landing .site-footer a { color: var(--p-brand); font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  .landing * { animation: none !important; transition: none !important; }
}

@media (max-width: 640px) {
  .landing .hero { padding: 64px 0 80px; }
  .landing .section { padding: 48px 0; }
}
