:root {
  --bg-deep: #05050c;
  --bg-card: rgba(16, 12, 32, 0.78);
  --bg-card-hover: rgba(28, 20, 52, 0.95);
  --accent: #c084fc;
  --accent-bright: #e879f9;
  --accent2: #f472b6;
  --accent3: #818cf8;
  --gold: #fbbf24;
  --gold-soft: #fcd34d;
  --cyan: #67e8f9;
  --text: #f8f4ff;
  --text-muted: #b8acd4;
  --border: rgba(192, 132, 252, 0.25);
  --border-glow: rgba(232, 121, 249, 0.5);
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 48px rgba(192, 132, 252, 0.22);
  --font: 'Vazirmatn', system-ui, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg-deep);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
.text-muted {
  color: var(--text-muted) !important;
}
/* ===== COSMIC BG ===== */
.stars-bg {
  position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background:
    radial-gradient(ellipse 90% 55% at 15% -5%, rgba(168, 85, 247, 0.28) 0%, transparent 55%),
    radial-gradient(ellipse 70% 45% at 95% 25%, rgba(236, 72, 153, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse 80% 55% at 50% 115%, rgba(99, 102, 241, 0.2) 0%, transparent 55%),
    radial-gradient(ellipse 45% 35% at 75% 65%, rgba(251, 191, 36, 0.08) 0%, transparent 50%),
    var(--bg-deep);
}
.stars-bg::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    radial-gradient(2px 2px at 8% 12%, #fff, transparent),
    radial-gradient(1px 1px at 18% 42%, #e0d4ff, transparent),
    radial-gradient(2.5px 2.5px at 35% 8%, #fff, transparent),
    radial-gradient(1px 1px at 52% 65%, #fbbf24, transparent),
    radial-gradient(2px 2px at 70% 22%, #fff, transparent),
    radial-gradient(1px 1px at 88% 50%, #e879f9, transparent),
    radial-gradient(2px 2px at 12% 75%, #fff, transparent),
    radial-gradient(1px 1px at 42% 88%, #c084fc, transparent),
    radial-gradient(2px 2px at 62% 5%, #fff, transparent),
    radial-gradient(1px 1px at 95% 80%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 28% 28%, #67e8f9, transparent),
    radial-gradient(2px 2px at 78% 70%, #fff, transparent),
    radial-gradient(1px 1px at 48% 48%, #f9a8d4, transparent);
  animation: starTwinkle 7s ease-in-out infinite alternate;
}
@keyframes starTwinkle { 0% { opacity: 0.4; } 50% { opacity: 0.95; } 100% { opacity: 0.55; } }

.orb {
  position: fixed; border-radius: 50%; filter: blur(70px); pointer-events: none; z-index: -2;
  opacity: 0.4; animation: orbFloat 16s ease-in-out infinite;
}
.orb-1 { width: 320px; height: 320px; background: #a855f7; top: 5%; left: -8%; }
.orb-2 { width: 240px; height: 240px; background: #ec4899; bottom: 10%; right: -5%; animation-delay: -5s; }
.orb-3 { width: 180px; height: 180px; background: #6366f1; top: 50%; left: 45%; animation-delay: -10s; opacity: 0.25; }
@keyframes orbFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(40px,-50px) scale(1.12); }
  66% { transform: translate(-30px,25px) scale(0.92); }
}

#particles-canvas { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.55; }

/* ===== NAV ===== */
.glass-nav {
  background: rgba(5, 5, 12, 0.7) !important;
  backdrop-filter: blur(22px) saturate(1.5);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  border-bottom: 1px solid var(--border);
  padding: 0.55rem 0;
  transition: all 0.4s;
}
.glass-nav.scrolled {
  background: rgba(5, 5, 12, 0.94) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.45);
}
.navbar-brand {
  font-size: 1.45rem; font-weight: 800; letter-spacing: -0.03em;
  background: linear-gradient(135deg, #fff 15%, var(--accent-bright) 50%, var(--gold) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.brand-icon {
  font-size: 1.7rem; display: inline-block;
  animation: crystalPulse 2.8s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(232,121,249,0.7));
}
@keyframes crystalPulse {
  0%, 100% { transform: scale(1) rotate(0deg); filter: drop-shadow(0 0 8px rgba(192,132,252,0.6)); }
  50% { transform: scale(1.15) rotate(-10deg); filter: drop-shadow(0 0 20px rgba(251,191,36,0.8)); }
}
.nav-link {
  color: var(--text-muted) !important; font-weight: 500; font-size: 0.95rem;
  padding: 0.5rem 0.95rem !important; border-radius: 12px;
  transition: all 0.3s; position: relative;
}
.nav-link:hover, .nav-link.active {
  color: var(--text) !important; background: rgba(192,132,252,0.14); transform: translateY(-2px);
}
.nav-link::after {
  content: ''; position: absolute; bottom: 3px; right: 50%; width: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2)); border-radius: 2px;
  transition: width 0.35s var(--ease-out), right 0.35s var(--ease-out);
}
.nav-link:hover::after { width: 55%; right: 22%; }

.main-content { padding-top: 90px; min-height: calc(100vh - 110px); }

/* ===== CARDS ===== */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s, border-color 0.4s, background 0.4s;
  position: relative; overflow: hidden;
}
.glass-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}
.glass-card:hover {
  transform: translateY(-10px) scale(1.015);
  box-shadow: var(--shadow), var(--shadow-glow);
  border-color: var(--border-glow); background: var(--bg-card-hover);
}

/* ===== FAL CARDS ===== */
.fal-card {
  padding: 2rem 1.3rem; text-align: center; cursor: pointer; height: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
  text-decoration: none !important; color: inherit !important; min-height: 240px;
}
.fal-card .icon-wrap {
  width: 80px; height: 80px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 2.4rem;
  background: linear-gradient(145deg, rgba(192,132,252,0.25), rgba(244,114,182,0.12));
  border: 1.5px solid rgba(192,132,252,0.35);
  box-shadow: 0 0 28px rgba(192,132,252,0.2), inset 0 1px 0 rgba(255,255,255,0.12);
  transition: transform 0.55s var(--ease-spring), box-shadow 0.45s, background 0.4s;
  position: relative;
}
.fal-card .icon-wrap::after {
  content: ''; position: absolute; inset: -5px; border-radius: 50%;
  border: 1.5px solid transparent;
  background: linear-gradient(135deg, var(--accent), transparent 40%, var(--gold)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.4s; animation: ringSpin 6s linear infinite paused;
}
@keyframes ringSpin { to { transform: rotate(360deg); } }
.fal-card:hover .icon-wrap {
  transform: scale(1.2) rotate(-8deg);
  box-shadow: 0 0 40px rgba(232,121,249,0.5), 0 0 70px rgba(251,191,36,0.2);
  background: linear-gradient(145deg, rgba(232,121,249,0.35), rgba(251,191,36,0.18));
}
.fal-card:hover .icon-wrap::after { opacity: 1; animation-play-state: running; }
.fal-card h3 {
  font-size: 1.15rem; font-weight: 700; margin: 0;
  background: linear-gradient(135deg, #fff 25%, var(--accent-bright));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.fal-card p { font-size: 0.84rem; color: var(--text-muted); margin: 0; flex-grow: 1; line-height: 1.6; }

.badge-premium {
  background: linear-gradient(135deg, var(--gold), #f59e0b); color: #1a1000;
  font-size: 0.7rem; font-weight: 800; padding: 0.28rem 0.75rem; border-radius: 20px;
  box-shadow: 0 2px 14px rgba(251,191,36,0.4); animation: badgeShine 2.5s ease-in-out infinite;
}
@keyframes badgeShine {
  0%, 100% { box-shadow: 0 2px 12px rgba(251,191,36,0.35); }
  50% { box-shadow: 0 2px 24px rgba(251,191,36,0.65); }
}

/* ===== HERO ===== */
.hero {
  text-align: center; padding: 2.5rem 1rem 2rem; position: relative;
}
.hero-visual {
  position: relative;
  width: 400px;
  height: 400px;
  margin: 0 auto 1.5rem;
  animation: fadeUp 0.8s var(--ease-out) both;
  display: flex;
  align-items: center;
  justify-content: center;
}
/*.hero-visual .hero-ring,*/
/*.hero-visual .hero-ring-2 {*/
/*  position: absolute;*/
/*  inset: 0;*/
/*  margin: auto;*/
/*  pointer-events: none;*/
/*}*/
.crystal-ball {
  width: 140px; height: 140px; border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, rgba(255,255,255,0.35) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(192,132,252,0.4) 0%, rgba(99,102,241,0.25) 40%, rgba(15,10,30,0.9) 70%);
  border: 2px solid rgba(192,132,252,0.4);
  box-shadow:
    0 0 40px rgba(168,85,247,0.45),
    0 0 80px rgba(236,72,153,0.2),
    inset 0 -20px 40px rgba(0,0,0,0.3),
    inset 0 10px 30px rgba(255,255,255,0.15);
  position: relative; margin: 0 auto;
  animation: ballFloat 4s ease-in-out infinite;
}
.crystal-ball::before {
  content: '🔮'; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem; animation: crystalPulse 3s ease-in-out infinite;
}
.crystal-ball::after {
  content: ''; position: absolute; bottom: -12px; left: 20%; right: 20%; height: 12px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.4), transparent); border-radius: 50%;
}
@keyframes ballFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.hero-ring {
  position: absolute; inset: 10px; border-radius: 50%;
  border: 1.5px dashed rgba(207,159,255,0.76);
  animation: ringSpin 20s linear infinite;
}
.hero-ring-2 {
  position: absolute; inset: -20px; border-radius: 50%;
  border: 1px dashed rgba(251,191,36,0.42);
  animation: ringSpin 30s linear infinite reverse;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: rgba(192,132,252,0.12); border: 1px solid var(--border); border-radius: 50px;
  padding: 0.4rem 1.1rem; font-size: 0.85rem; color: var(--accent-bright); margin-bottom: 1rem;
  animation: fadeUp 0.7s var(--ease-out) 0.15s both;
}
.hero h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.4rem); font-weight: 800; line-height: 1.25;
  background: linear-gradient(135deg, #fff 0%, var(--accent-bright) 35%, var(--gold) 65%, var(--accent2) 100%);
  background-size: 220% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 1rem;
  animation: fadeUp 0.8s var(--ease-out) 0.2s both, gradientShift 5s ease infinite;
}
@keyframes gradientShift { 0%, 100% { background-position: 0% center; } 50% { background-position: 100% center; } }
.hero p {
  color: var(--text-muted); font-size: 1.12rem; max-width: 560px; margin: 0 auto 1.75rem;
  animation: fadeUp 0.8s var(--ease-out) 0.3s both;
}
.hero-cta {
  animation: fadeUp 0.8s var(--ease-out) 0.4s both;
  display: flex; flex-wrap: wrap; gap: 0.85rem; justify-content: center;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(32px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.88); } to { opacity: 1; transform: scale(1); } }

/* ===== FLOATING DECOR ===== */
.float-deco {
  position: absolute; font-size: 1.4rem; opacity: 0.5; pointer-events: none;
  animation: floatDeco 6s ease-in-out infinite;
  filter: drop-shadow(0 0 6px rgba(192,132,252,0.5));
}
.float-deco.d1 { top: 8%; right: 8%; animation-delay: 0s; }
.float-deco.d2 { top: 20%; left: 6%; animation-delay: -2s; font-size: 1.1rem; }
.float-deco.d3 { bottom: 15%; right: 12%; animation-delay: -4s; font-size: 1.2rem; }
.float-deco.d4 { bottom: 25%; left: 10%; animation-delay: -1s; font-size: 0.95rem; }
@keyframes floatDeco {
  0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.4; }
  50% { transform: translateY(-18px) rotate(12deg); opacity: 0.75; }
}

/* ===== BUTTONS ===== */
.btn-primary {
  background: linear-gradient(135deg, #a855f7 0%, #ec4899 45%, #f59e0b 100%);
  background-size: 200% auto; border: none; border-radius: 14px; font-weight: 700;
  padding: 0.8rem 1.85rem; color: #fff !important;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s, background-position 0.5s;
  box-shadow: 0 8px 28px rgba(168,85,247,0.45); position: relative; overflow: hidden;
}
.btn-primary::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: translateX(-100%); transition: transform 0.55s;
}
.btn-primary:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 14px 40px rgba(236,72,153,0.55);
  background-position: right center; color: #fff !important;
}
.btn-primary:hover::before { transform: translateX(100%); }
.btn-outline-light {
  border-radius: 14px; border: 1.5px solid var(--border); color: var(--text) !important;
  font-weight: 600; padding: 0.75rem 1.6rem; background: rgba(255,255,255,0.04);
  transition: all 0.3s var(--ease-out);
}
.btn-outline-light:hover {
  background: rgba(192,132,252,0.2); border-color: var(--accent); color: #fff !important;
  transform: translateY(-3px); box-shadow: 0 10px 28px rgba(192,132,252,0.25);
}
.btn-lg { padding: 0.95rem 2.3rem; font-size: 1.08rem; border-radius: 16px; }

/* ===== FORMS ===== */
.form-control, .form-select {
  background: rgba(255,255,255,0.05); border: 1.5px solid var(--border); color: var(--text);
  border-radius: var(--radius-sm); padding: 0.85rem 1.15rem;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}
.form-control:focus, .form-select:focus {
  background: rgba(255,255,255,0.09); border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(192,132,252,0.2); color: var(--text); outline: none;
}
.form-control:disabled {
  background-color: #d57cdf3d !important;
  opacity: 1;
}
.form-control::placeholder { color: var(--text-muted); opacity: 0.65; }
.form-label { color: var(--text-muted); font-weight: 600; font-size: 0.9rem; margin-bottom: 0.4rem; }
.form-select option { background: #14102a; color: var(--text); }

/* ===== RESULT ===== */
.result-card { padding: 2.5rem; max-width: 740px; margin: 0 auto; animation: scaleIn 0.65s var(--ease-out); }
.result-card .result-icon {
  font-size: 4rem; display: inline-block; animation: crystalPulse 3.5s ease-in-out infinite;
  filter: drop-shadow(0 0 24px rgba(232,121,249,0.55));
}
.result-card .result-text {
  white-space: pre-wrap; line-height: 2.15; font-size: 1.1rem; color: var(--text);
  border-right: 3px solid transparent;
  border-image: linear-gradient(180deg, var(--accent), var(--gold), var(--accent2)) 1;
  padding-right: 1.4rem; margin-top: 1.5rem;
}

/* ===== PRICING ===== */
.pricing-card {
  padding: 2.4rem 1.8rem; text-align: center; position: relative; height: 100%;
  display: flex; flex-direction: column;
}
.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 60px rgba(168,85,247,0.3), var(--shadow); transform: scale(1.04);
}
.pricing-card.featured::after {
  content: ''; position: absolute; inset: -2px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent), var(--accent2), var(--gold));
  z-index: -1; opacity: 0.4; filter: blur(14px);
  animation: featuredGlow 2.8s ease-in-out infinite alternate;
}
@keyframes featuredGlow { from { opacity: 0.25; } to { opacity: 0.55; } }
.pricing-card .price {
  font-size: 2.2rem; font-weight: 800;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.pricing-card .price small { font-size: 0.85rem; -webkit-text-fill-color: var(--text-muted); font-weight: 500; }
.pricing-card ul li { padding: 0.45rem 1; color: var(--text-muted); font-size: 0.92rem; }
.pricing-card ul li::before { content: '✦ '; color: var(--gold); }

.stat-card { padding: 1.5rem; text-align: center; }
.stat-card .num {
  font-size: 2rem; font-weight: 800;
  background: linear-gradient(135deg, var(--accent-bright), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-card .label { font-size: 0.84rem; color: var(--text-muted); margin-top: 0.3rem; }

/* ===== FEATURES ===== */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.3rem; margin-top: 1rem; }
.feature-item {
  display: flex; align-items: flex-start; gap: 1rem; padding: 1.35rem; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.03); border: 1px solid transparent;
  transition: all 0.35s;
}
.feature-item:hover {
  border-color: var(--border); background: rgba(192,132,252,0.1); transform: translateX(-6px);
}
.feature-item .fi-icon {
  font-size: 1.85rem; flex-shrink: 0; width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center; border-radius: 14px;
  background: linear-gradient(145deg, rgba(192,132,252,0.22), rgba(244,114,182,0.12));
  transition: transform 0.4s var(--ease-spring);
}
.feature-item:hover .fi-icon { transform: scale(1.12) rotate(-5deg); }

.section-title { text-align: center; margin-bottom: 2.2rem; }
.section-title h2 {
  font-size: 1.85rem; font-weight: 800;
  background: linear-gradient(135deg, #fff, var(--accent-bright));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 0.5rem;
}
.section-title p { color: var(--text-muted); margin: 0; }

.divider-ornament {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  margin: 2.8rem 0; color: var(--accent); opacity: 0.65;
}
.divider-ornament::before, .divider-ornament::after {
  content: ''; height: 1px; width: 90px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

/* ===== BANNER / IMAGE STRIP ===== */
.mystic-banner {
  position: relative; border-radius: var(--radius); overflow: hidden;
  height: 180px; margin: 2rem 0;
  background: linear-gradient(135deg, rgba(88,28,135,0.6), rgba(157,23,77,0.5), rgba(30,27,75,0.7));
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.mystic-banner::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(251,191,36,0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 50%, rgba(192,132,252,0.2) 0%, transparent 40%);
  animation: nebulaPulse 5s ease-in-out infinite alternate;
}
@keyframes nebulaPulse { from { opacity: 0.7; } to { opacity: 1; } }
.mystic-banner .banner-content {
  position: relative; z-index: 1; text-align: center; padding: 1.5rem;
}
.banner-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  max-width: 100%;
}
.banner-ayah {
  font-size: clamp(0.95rem, 2.8vw, 2.25rem);
  line-height: 1.9;
  color: #fde68a;
  direction: rtl;
  unicode-bidi: plaintext;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
  padding: 0 0.25rem;
}

.banner-title {
  font-size: clamp(0.95rem, 2.6vw, 1.15rem);
  line-height: 1.75;
  margin: 0;
  max-width: 36rem;
  padding: 0 0.35rem;
  overflow-wrap: break-word;
}

.banner-ref {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted, #b8acd4);
  letter-spacing: 0.02em;
}

/* تبلت */
@media (max-width: 768px) {
  .mystic-banner {
    margin: 1rem auto 1.5rem;
    padding: 1.1rem 1rem;
    border-radius: 14px;
  }

  .banner-content {
    gap: 0.5rem;
  }

  .banner-ayah {
    font-size: 1rem;
    line-height: 1.85;
  }

  .banner-title {
    font-size: 0.98rem;
    line-height: 1.7;
  }
}

/* موبایل */
@media (max-width: 480px) {
  .mystic-banner {
    margin: 0.85rem 0.5rem 1.25rem;
    padding: 0.95rem 0.75rem;
    border-radius: 12px;
  }

  .banner-ayah {
    font-size: 0.92rem;
    line-height: 1.8;
  }

  .banner-title {
    font-size: 0.9rem;
    line-height: 1.65;
  }

  .banner-ref {
    font-size: 0.75rem;
  }
}
.mystic-banner--notice {
  height: auto !important;          /* ارتفاع ثابت را لغو کن */
  min-height: unset;
  margin-left: auto;
  margin-right: auto;
  padding: 1.15rem 1.35rem;
}

.banner-notice {
  margin: 0;
  font-size: clamp(0.88rem, 2.5vw, 1.25rem);
  line-height: 1.85;
  color: var(--text, #ede9fe);
  padding: 0 0.25rem;
  overflow-wrap: break-word;
  text-align: center;
}

.mystic-banner--notice .banner-ref {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted, #b8acd4);
}

@media (max-width: 768px) {
  .mystic-banner--notice {
    padding: 1rem 0.9rem;
    margin-bottom: 1rem;
  }

  .banner-notice {
    font-size: 0.9rem;
    line-height: 1.8;
  }
}

@media (max-width: 480px) {
  .mystic-banner--notice {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    padding: 0.9rem 0.75rem;
    border-radius: 12px;
  }

  .banner-notice {
    font-size: 0.86rem;
    line-height: 1.75;
  }

  .mystic-banner--notice .banner-ref {
    font-size: 0.75rem;
  }
}
.mystic-banner .banner-icons {
  font-size: 2rem; letter-spacing: 0.3rem; margin-bottom: 0.5rem;
  animation: iconWave 3s ease-in-out infinite;
}
@keyframes iconWave {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(251,191,36,0.3)); }
  50% { filter: drop-shadow(0 0 16px rgba(232,121,249,0.6)); }
}

/* ===== TESTIMONIAL STYLE ===== */
.quote-card {
  padding: 1.5rem; border-right: 3px solid var(--gold);
  background: rgba(251,191,36,0.05); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic; color: var(--text-muted); font-size: 0.95rem;
}

/* ===== LOADING ===== */
.loading-overlay {
  position: fixed; inset: 0; background: rgba(5,5,12,0.92); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center; z-index: 9999;
  opacity: 0; pointer-events: none; transition: opacity 0.4s;
}
.loading-overlay.active { opacity: 1; pointer-events: all; }
.spinner-mystic {
  width: 80px; height: 80px; border: 3px solid transparent;
  border-top-color: var(--accent); border-right-color: var(--accent2); border-radius: 50%;
  animation: spin 0.85s linear infinite; position: relative;
}
.spinner-mystic::before {
  content: '✦'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--gold); animation: spin 2s linear infinite reverse;
}
.spinner-mystic::after {
  content: ''; position: absolute; inset: -10px; border-radius: 50%;
  border: 1px dashed rgba(192,132,252,0.3); animation: spin 8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.ticket-status-open { color: #34d399; }
.ticket-status-inprogress { color: #60a5fa; }
.ticket-status-resolved { color: #a3e635; }
.ticket-status-closed { color: #94a3b8; }

.alert {
  border-radius: var(--radius-sm); border: 1px solid var(--border);
  backdrop-filter: blur(12px); animation: fadeUp 0.4s var(--ease-out);
}
.alert-success { background: rgba(16,185,129,0.15); border-color: rgba(16,185,129,0.3); color: #6ee7b7; }
.alert-danger { background: rgba(239,68,68,0.15); border-color: rgba(239,68,68,0.3); color: #fca5a5; }

.glass-footer {
  background: rgba(5,5,12,0.94); border-top: 1px solid var(--border); color: var(--text-muted); position: relative;
}
.glass-footer::before {
  content: ''; position: absolute; top: 0; left: 15%; right: 15%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: 0.55;
}

.table-dark {
  --bs-table-bg: transparent; --bs-table-color: var(--text);
  --bs-table-border-color: var(--border); --bs-table-hover-bg: rgba(192,132,252,0.08);
}
.list-group-item { background: transparent; color: var(--text); }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--accent), var(--accent2)); border-radius: 4px; }

.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }

.shimmer-text {
  background: linear-gradient(90deg, var(--text) 0%, var(--gold) 35%, var(--accent-bright) 55%, var(--text) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: shimmer 3.5s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }

.float-badge { position: absolute; top: 5px; left: 50%; transform: translateX(-50%); white-space: nowrap; z-index: 2; }
.page-enter { animation: fadeUp 0.5s var(--ease-out); }

.sparkle {
  position: fixed; pointer-events: none; width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 12px var(--gold), 0 0 24px var(--accent);
  animation: sparkleOut 0.65s var(--ease-out) forwards; z-index: 10000;
}
@keyframes sparkleOut { 0% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(0) translateY(-45px); } }

/* ===== STEPS ===== */
.steps-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; margin: 2rem 0; }
.step-item {
  text-align: center; max-width: 180px; padding: 1.25rem;
  transition: transform 0.4s var(--ease-spring);
}
.step-item:hover { transform: translateY(-6px); }
.step-num {
  width: 48px; height: 48px; border-radius: 50%; margin: 0 auto 0.75rem;
  display: flex; align-items: center; justify-content: center; font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 4px 20px rgba(168,85,247,0.4);
  animation: stepPulse 3s ease-in-out infinite;
}
@keyframes stepPulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(168,85,247,0.35); }
  50% { box-shadow: 0 4px 28px rgba(236,72,153,0.5); }
}
.step-item p { font-size: 0.85rem; color: var(--text-muted); margin: 0.35rem 0 0; }

@media (max-width: 768px) {
  .hero { padding: 1.5rem 0.5rem 1.25rem; }
  .hero h1 { font-size: 1.8rem; }
  .hero-visual { width: 120px; height: 120px; }
  .crystal-ball { width: 110px; height: 110px; }
  .crystal-ball::before { font-size: 2.6rem; }
  .fal-card { padding: 1.4rem 0.85rem; min-height: 200px; }
  .fal-card .icon-wrap { width: 62px; height: 62px; font-size: 1.85rem; }
  .result-card { padding: 1.4rem; }
  .pricing-card.featured { transform: none; }
  .orb { display: none; }
  .float-deco { display: none; }
  .mystic-banner { height: 140px; }
}

/* هدر */
.brand-logo {
  height: 56px !important;
  width: auto !important;
  max-width: 200px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 0px rgba(251, 191, 36, 0.40)) brightness(1);
}

/* فوتر */
.footer-logo {
  height: 52px !important;
  width: auto !important;
  max-width: 180px;
  display: block;
  object-fit: contain;
}

/* هیرو - صفحه اصلی */
.hero-logo-wrap {
  width: 280px !important;
  height: 280px !important;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: ballFloat 4s ease-in-out infinite;
}
.hero-logo {
  width: 260px !important;
  height: auto !important;
  max-width: 100%;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(170, 128, 0, 0.45));
}
.hero-visual .hero-logo-wrap {
  position: relative;
  z-index: 2;
  width: 280px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  animation: ballFloat 4s ease-in-out infinite;
}

.hero-visual .hero-logo {
  width: 260px;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
@media (max-width: 768px) {
  .brand-logo { height: 44px !important; }
  .footer-logo { height: 42px !important; }
  .hero-logo-wrap { width: 200px !important; height: 200px !important; }
  .hero-logo { width: 180px !important; }
  .hero-visual {
    width: 280px;
    height: 280px;
  }
  .hero-visual .hero-logo-wrap {
    width: 200px;
    height: 200px;
  }
  .hero-visual .hero-logo {
    width: 180px;
  }
}
/* ===== JalaliDatePicker – تم رازی‌نو ===== */
jdp-container {
  --jdp-day-size: 42px;
  --jdp-color-0: #1a1433;          /* پس‌زمینه اصلی */
  --jdp-color-1: rgba(192, 132, 252, 0.12); /* هدر روزهای هفته */
  --jdp-color-2: rgba(251, 191, 36, 0.18);  /* هاور */
  --jdp-color-3: rgba(192, 132, 252, 0.35); /* بوردر */
  --jdp-color-4: #b8acd4;          /* متن کم‌رنگ */
  --jdp-color-5: #f8f4ff;          /* متن اصلی */
  --jdp-primary: #fbbf24;          /* انتخاب + دکمه‌ها */
  --jdp-red: #f472b6;              /* جمعه / تعطیل */

  background: linear-gradient(165deg, #1a1435 0%, #120f22 100%) !important;
  border: 1px solid rgba(251, 191, 36, 0.35) !important;
  border-radius: 18px !important;
  box-shadow:
          0 20px 50px rgba(0, 0, 0, 0.65),
          0 0 0 1px rgba(167, 139, 250, 0.1),
          0 0 40px rgba(168, 85, 247, 0.15) !important;
  font-family: Vazirmatn, Tahoma, sans-serif !important;
  padding: 0.65rem 0 !important;
  z-index: 100000 !important;
  color: #f8f4ff !important;
}

jdp-overlay {
  background-color: rgba(5, 5, 12, 0.55) !important;
  backdrop-filter: blur(4px) !important;
}

/* ماه و سال */
jdp-container .jdp-years,
jdp-container .jdp-months {
  color: #fbbf24 !important;
  fill: #fbbf24 !important;
}

jdp-container .jdp-year input,
jdp-container .jdp-year select,
jdp-container .jdp-month input,
jdp-container .jdp-month select {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #f8f4ff !important;
  border-radius: 8px !important;
}

jdp-container .jdp-year option,
jdp-container .jdp-month option {
  background: #16122a !important;
  color: #f8f4ff !important;
}

/* دکمه‌های + و − */
jdp-container .jdp-icon-plus,
jdp-container .jdp-icon-minus {
  border: 1px solid rgba(251, 191, 36, 0.35) !important;
  border-radius: 8px !important;
  background: rgba(251, 191, 36, 0.1) !important;
}

jdp-container .jdp-icon-plus svg,
jdp-container .jdp-icon-minus svg {
  fill: #fbbf24 !important;
  color: #fbbf24 !important;
}

/* نام روزهای هفته */
jdp-container .jdp-days-header {
  background: rgba(192, 132, 252, 0.12) !important;
  border-radius: 10px !important;
}

jdp-container .jdp-day-name {
  color: #c4b5fd !important;
  font-weight: 700 !important;
}

/* روزها */
jdp-container .jdp-day {
  color: #f3e8ff !important;
  border-radius: 10px !important;
}

jdp-container .jdp-day:not(.disabled-day):hover {
  background: rgba(251, 191, 36, 0.2) !important;
  transform: scale(1.08) !important;
}

jdp-container .jdp-day.today {
  border-color: rgba(251, 191, 36, 0.65) !important;
  box-shadow: inset 0 0 0 1px rgba(251, 191, 36, 0.4);
}

jdp-container .jdp-day.selected {
  background: linear-gradient(135deg, #f59e0b, #fbbf24) !important;
  color: #1a1030 !important;
  font-weight: 800 !important;
  border-radius: 10px !important;
}

jdp-container .jdp-day.not-in-month {
  opacity: 0.28 !important;
}

jdp-container .jdp-day.last-week,
jdp-container .jdp-day.holly-day,
jdp-container .jdp-day.holiday-day {
  color: #f9a8d4 !important;
}

/* دکمه‌های پایین: امروز / خالی */
jdp-container .jdp-btn-today,
jdp-container .jdp-btn-empty,
jdp-container .jdp-btn-close {
  background: linear-gradient(135deg, #a855f7, #ec4899) !important;
  color: #fff !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  padding: 0.4em 0.9em !important;
  box-shadow: 0 4px 16px rgba(168, 85, 247, 0.35) !important;
}

jdp-container .jdp-btn-empty {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(251, 191, 36, 0.3) !important;
  color: #fbbf24 !important;
  box-shadow: none !important;
}

/* ورودی فرم */
input.jdp-input,
input[data-jdp] {
  cursor: pointer !important;
  background: rgba(255, 255, 255, 0.05) !important;
  color: #f8f4ff !important;
  border-radius: 14px !important;
  caret-color: transparent;
}

input.jdp-input:focus,
input[data-jdp]:focus {
  border-color: rgba(251, 191, 36, 0.7) !important;
  box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.15) !important;
}
jdp-container .jdp-year, jdp-container .jdp-year input, jdp-container .jdp-year select, jdp-container .jdp-month, jdp-container .jdp-month input, jdp-container .jdp-month select, jdp-container .jdp-time, jdp-container .jdp-time input, jdp-container .jdp-time select {
  width: 100%;
  height: auto;
  text-align: center;
  background: rgba(255, 255, 255, 0.06) !important;
  border: none;
  border-radius: 0;
  padding: 0;
  margin: 0;
  display: inline-block;
  font-size: inherit;
  font-family: inherit;
  vertical-align: initial;
  font-weight: 300;
  color: inherit;
  line-height: inherit;
  outline: none;
}
.form-check-input:checked {
  background-color: #ca4ee4 !important;
  border-color: #bd80e8 !important;
}
.form-check-input:focus {
  box-shadow: 0 0 0 .25rem rgb(230 136 173 / 32%) !important;
}
/* ===== Legal pages ===== */
.legal-page .legal-body h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
  margin: 1.6rem 0 0.6rem;
}

.legal-page .legal-body p,
.legal-page .legal-body li {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.9;
}

.legal-page .legal-body ul {
  padding-right: 1.2rem;
  margin-bottom: 0.5rem;
}

.legal-page .legal-body a {
  color: var(--accent-bright);
  text-decoration: none;
}

.legal-page .legal-body a:hover {
  text-decoration: underline;
}
.accordion-button:not(.collapsed) {
  color: var(--gold) !important;
  background: rgba(192, 132, 252, 0.1) !important;
}
.accordion-button::after {
  filter: invert(1);
}
* a{
  text-decoration: none !important;
}
.result-text strong {
  color: var(--gold);
  font-weight: 700;
}

.result-text em {
  color: var(--accent-bright);
  font-style: normal;
  font-weight: 600;
}


.pricing-card {
  padding: 2rem 1.4rem 1.5rem;
  text-align: center;
  position: relative;
  min-height: 100%;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-features li {
  padding: 0.35rem 0;
  padding-right: 1.1rem;
  position: relative;
}

.pricing-features li::before {
  content: "✦";
  position: absolute;
  right: 0;
  color: var(--gold);
  font-size: 0.75rem;
}

.pricing-card .price {
  font-size: 1.75rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-card .price small {
  font-size: 0.8rem;
  -webkit-text-fill-color: var(--text-muted);
  font-weight: 500;
  margin-right: 0.25rem;
}

@media (max-width: 991px) {
  .pricing-card.featured {
    transform: none;
  }
}

/* ===== Fal result / Hafez ===== */
.fal-section-title {
  margin-top: 1rem;
  margin-bottom: 0.35rem;
  font-weight: 700;
  color: var(--gold, #fbbf24);
  font-size: 0.95rem;
}
.fal-section-title span { color: var(--text, #ede9fe); font-weight: 600; }
.result-text {
  line-height: 1.9;
  font-size: 1.02rem;
}
.hafez-poem, .result-text .hafez-poem {
  margin: 1rem 0 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  background: rgba(251, 191, 36, 0.06);
  border: 1px solid rgba(251, 191, 36, 0.2);
  text-align: center;
  line-height: 2;
  color: #fde68a;
  font-size: 1.05rem;
}
