/* ================================================================
   landing-addons.css — سِلی
   فقط کلاس‌های جدید — هیچ overrideی از landing.css اصلی نیست
   ================================================================ */

/* ===== sr-only ===== */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ===== Top Bar ===== */
.top-bar {
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 0;
  position: relative;
}
.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.top-bar svg { vertical-align: middle; flex-shrink: 0; }
.top-bar-cta {
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 4px 14px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}
.top-bar-cta:hover { background: rgba(255,255,255,0.3); }
.top-bar-close {
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none;
  color: rgba(255,255,255,0.7);
  cursor: pointer; padding: 4px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 4px;
  line-height: 1;
}
.top-bar-close:hover { color: #fff; }

/* ===== Dropdown nav ===== */
.nav-item-dropdown { position: relative; }
.nav-link-dropdown {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.nav-link-dropdown svg { transition: transform 0.2s; flex-shrink: 0; }
.nav-item-dropdown:hover .nav-link-dropdown svg,
.nav-item-dropdown:focus-within .nav-link-dropdown svg { transform: rotate(180deg); }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(0,0,0,0.10);
  min-width: 230px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.2s ease;
  z-index: 200;
}
.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.15s;
}
.dropdown-item:hover { background: var(--bg); color: var(--primary); }
.dropdown-item-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--primary-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}
.dropdown-item-title { font-size: 13px; font-weight: 700; }
.dropdown-item-desc  { font-size: 11px; color: var(--text-muted); margin-top: 1px; }
.dropdown-divider    { height: 1px; background: var(--border); margin: 6px 0; }

/* header-actions ghost btn */
.header-actions .btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-btn);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  background: transparent;
  color: var(--text-muted);
  border: 1.5px solid var(--border);
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}
.header-actions .btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ===== Hero extras ===== */
.hero-content { max-width: 560px; }

/* span های عنوان */
.hero-title-line { display: block; }
.hero-title-highlight {
  color: var(--primary);
  position: relative;
}
.hero-title-highlight::after {
  content: '';
  position: absolute;
  bottom: 2px; right: 0; left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #A78BFA);
  border-radius: 4px;
  opacity: 0.3;
}

/* trust text */
.trust-text { font-size: 13px; color: var(--text-muted); }
.trust-count { color: var(--primary); font-weight: 800; }

/* mockup glow خط رنگی بالا */
.mockup-glow {
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #A78BFA);
}

/* badge های شناور روی موکاپ */
.hero-badge-qr,
.hero-badge-order {
  position: absolute;
  display: flex; align-items: center; gap: 7px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px 14px;
  font-size: 12px; font-weight: 800; color: var(--text);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  white-space: nowrap;
  animation: float 3s ease-in-out infinite;
  z-index: 2;
}
.hero-badge-qr    { bottom: -16px; right: -20px; animation-delay: 0s; }
.hero-badge-order { top: -16px; left: -20px; animation-delay: 1.5s; }

/* hero blob ها */
.hero-bg-grid { display: none; } /* غیرفعال - CSS اصلی ::before دارد */
.hero-blob    { display: none; } /* غیرفعال - CSS اصلی ::before دارد */

/* ===== stats bar separator ===== */
.stat-sep { display: none; } /* CSS اصلی از border-left روی stat-item استفاده می‌کند */

/* ===== Features section ===== */
/* .features همان .section است */
.features { background: var(--surface); }

/* ===== Demo empty state ===== */
.demo-empty {
  text-align: center;
  padding: 56px 20px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
}
.demo-empty svg { margin: 0 auto 12px; opacity: 0.25; }

/* ===== Steps ===== */
.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  color: #CBD5E1;
  transform: scaleX(-1); /* RTL — جهت فلش */
}
.steps-cta { text-align: center; margin-top: 40px; }

/* ===== FAQ ===== */
.faq-section { padding: 0 0 80px; }
.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 680px; margin: 40px auto 0; }
.faq-item {
  border: 1.5px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.15s;
  user-select: none;
}
.faq-item:hover { border-color: var(--primary); }
.faq-q {
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-a {
  padding: 0 20px 16px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.85;
}

/* FAQ داخل seo-box */
.seo-faq { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--border); }
.seo-faq-title { font-size: 17px; font-weight: 800; margin-bottom: 16px; }

/* seo text با تگ‌های معنایی */
.seo-text-content p       { margin-bottom: 14px; }
.seo-text-content h3      { font-size: 15px; font-weight: 800; color: var(--text); margin: 24px 0 8px; }
.seo-text-content ul      { padding-right: 20px; margin-bottom: 14px; }
.seo-text-content li      { margin-bottom: 6px; font-size: 14px; line-height: 1.8; color: #374151; }
.seo-text-content strong  { color: var(--text); }

/* ===== CTA Box (جایگزین cta-section اصلی) ===== */
/* cta-icon و cta-content برای layout جدید */
.cta-box {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  text-align: right;
  padding: 48px 40px;
}
.cta-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: #fff;
}
.cta-content { flex: 1; min-width: 200px; }
.cta-content .cta-title { text-align: right; margin-bottom: 6px; }
.cta-content .cta-desc  { text-align: right; margin-bottom: 0; }

/* ===== Pricing extras ===== */
.pricing-hero { padding: 120px 0 48px; text-align: center; background: linear-gradient(180deg, var(--primary-light) 0%, var(--bg) 100%); }
.pricing-section { padding: 0 0 80px; }

/* trial banner */
.trial-banner-section { padding: 0 0 48px; }
.trial-banner {
  background: var(--primary-light);
  border: 1.5px solid rgba(108,99,255,0.25);
  border-radius: 16px;
  padding: 20px 28px;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.trial-banner-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.trial-banner-text { flex: 1; min-width: 200px; }
.trial-banner-title { font-size: 15px; font-weight: 800; margin-bottom: 3px; }
.trial-banner-desc  { font-size: 13px; color: var(--text-muted); }

/* pricing card های جدید */
.pricing-badge-wrap { min-height: 28px; margin-bottom: 4px; }
.pricing-popular-badge {
  display: inline-block;
  background: #fff;
  color: var(--primary);
  font-size: 11px; font-weight: 800;
  padding: 3px 14px;
  border-radius: 99px;
}
.pricing-name     { font-size: 18px; font-weight: 800; margin-bottom: 16px; }
.pricing-amount   { font-size: 32px; font-weight: 800; }
.pricing-currency { font-size: 14px; opacity: .7; }
.pricing-duration { font-size: 12px; opacity: .65; margin-bottom: 24px; }

/* pricing-card-popular */
.pricing-card-popular {
  background: linear-gradient(145deg, #1A1A2E, #2D2B55);
  border-color: transparent !important;
  color: #fff;
  transform: scale(1.03);
  box-shadow: 0 12px 40px rgba(108,99,255,0.35);
}
.pricing-card-popular:hover { transform: scale(1.03) translateY(-2px); }

/* guarantee bar */
.pricing-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  padding: 20px;
  background: var(--bg);
  border-radius: 12px;
  margin-top: 32px;
}
.guarantee-item {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700;
  color: var(--text-muted);
}

/* ===== About extras ===== */
.stat-full-item {
  text-align: center;
  padding: 28px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: box-shadow 0.2s;
}
.stat-full-item:hover { box-shadow: var(--shadow-sm); }
.stat-full-num   { font-size: 32px; font-weight: 800; color: var(--primary); margin-bottom: 6px; }
.stat-full-label { font-size: 13px; color: var(--text-muted); font-weight: 600; }
.stats-full-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* ===== Contact extras ===== */
.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 18px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.2s;
}
.contact-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.contact-card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-card-icon--telegram  { background: #e8f4fd; color: #0088cc; }
.contact-card-icon--whatsapp  { background: #f0fdf4; color: #25D366; }
.contact-card-icon--bale      { background: #e8f6fd; color: #00A8E0; }
.contact-card-icon--email     { background: var(--primary-light); color: var(--primary); }
.contact-card:hover.contact-card--telegram  { border-color: #0088cc; }
.contact-card:hover.contact-card--whatsapp  { border-color: #25D366; }
.contact-card:hover.contact-card--bale      { border-color: #00A8E0; }
.contact-card:hover.contact-card--email     { border-color: var(--primary); }

.contact-card-body { flex: 1; min-width: 0; }
.contact-card-title  { font-size: 14px; font-weight: 800; margin-bottom: 3px; }
.contact-card-handle { font-size: 13px; color: var(--text-muted); }
.contact-card-note   { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.contact-card-arrow  { color: var(--text-muted); flex-shrink: 0; transition: color 0.15s; }
.contact-card:hover .contact-card-arrow { color: var(--primary); }

.contact-info-box {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 22px;
  max-width: 720px;
  margin: 16px auto 0;
}
.contact-info-title {
  font-size: 11px; font-weight: 800; letter-spacing: 0.5px;
  color: var(--text-muted); text-transform: uppercase;
  margin-bottom: 12px;
}
.contact-info-grid { display: flex; flex-direction: column; gap: 10px; }
.contact-info-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 600; color: var(--text-muted);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .stats-full-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-box { flex-direction: column; text-align: center; padding: 36px 24px; }
  .cta-content .cta-title,
  .cta-content .cta-desc { text-align: center; }
  .cta-icon { display: none; }
}

@media (max-width: 600px) {
  .top-bar .container { justify-content: center; }
  .top-bar-cta { display: none; }
  .hero-badge-qr, .hero-badge-order { display: none; }
  .pricing-card-popular { transform: none; }
  .pricing-guarantee { gap: 14px; }
  .stats-full-grid { grid-template-columns: 1fr 1fr; }
  .nav-item-dropdown .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; background: var(--bg); border-radius: 8px; margin-top: 4px; }
  .cta-box { padding: 28px 20px; }
  .faq-list { margin-top: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-badge-qr, .hero-badge-order { animation: none; }
}

/* ===== Mobile nav fix — top-bar compensation ===== */
@media (max-width: 600px) {
  .site-header { position: relative; }
  .nav-links {
    top: 100%;
    position: absolute;
    z-index: 200;
  }
}