*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* پالت رنگی اختصاصی مایندزآپ */
  --purple: #741054;
  --purple-dark: #580c40;
  --purple-light: #9c1b74;
  --black: #1f271b;
  --white: #fbfffe;
  
  --gray-100: #f2f5f4;
  --gray-200: #e0e5e3;
  --gray-400: #a3aba8;
  --gray-600: #575e5a;
  --gray-800: #2a332c;
}

body {
  font-family: 'Vazirmatn', sans-serif;
  background: var(--white);
  color: var(--black);
  direction: rtl;
  overflow-x: hidden;
}

/* ─── NAVBAR ─── */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 0 48px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}/* ─── استایل لوگوی واقعی در هدر ─── */
.header-real-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 10px;
    background: transparent;
    box-shadow: none;
    clip-path: inset(4.5% round 24%);
    transform: scale(1.06);
    transition: transform 0.3s ease;
  }
  
  header .logo:hover .header-real-logo {
    transform: scale(1.12);
    box-shadow: none;
  }
  
  /* اصلاح استایل لینک لوگو برای چیدمان بهتر عکس و متن */
  header .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--black);
  }

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  font-size: 22px;
  color: var(--black);
  text-decoration: none;
}
.logo-badge {
  background: var(--black);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 1px;
}
.logo span { color: var(--purple); }

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
nav a {
  text-decoration: none;
  color: var(--gray-600);
  font-size: 14px;
  font-weight: 500;
  transition: color .2s;
}
nav a:hover { color: var(--black); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-outline {
  border: 1.5px solid var(--gray-200);
  background: transparent;
  color: var(--black);
  padding: 9px 20px;
  border-radius: 8px;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.btn-outline:hover { border-color: var(--gray-400); }
.btn-primary {
  background: var(--purple);
  color: var(--white);
  border: none;
  padding: 9px 22px;
  border-radius: 8px;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}
.btn-primary:hover { background: var(--purple-dark); }

/* ─── HERO ─── */
.hero {
  padding: 60px 48px 80px;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-text { order: 2; }
.hero-visual { order: 1; position: relative; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--purple);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--purple);
  border-radius: 50%;
}

.hero-title {
  font-size: 58px;
  font-weight: 900;
  line-height: 1.2;
  color: var(--black);
  margin-bottom: 6px;
}
.hero-title .accent { color: var(--purple); }

.hero-subtitle {
  font-size: 28px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 20px;
  line-height: 1.5;
}

.hero-desc {
  color: var(--gray-600);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 32px;
  max-width: 440px;
}

.hero-btns {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.btn-lg {
  padding: 13px 28px;
  font-size: 15px;
  border-radius: 10px;
}
.btn-secondary {
  background: transparent;
  border: 1.5px solid var(--gray-200);
  color: var(--black);
  padding: 13px 28px;
  border-radius: 10px;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.btn-secondary:hover { background: var(--gray-100); }

.hero-trust {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.avatars {
  display: flex;
}
.avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid var(--white);
  margin-left: -10px;
  background: var(--gray-200);
  overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.trust-text { font-size: 13px; color: var(--gray-600); font-weight: 500; }
.trust-text strong { color: var(--black); }

/* Hero image area */
.hero-img-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: auto; /* ارتفاع خودکار برای جلوگیری از تداخل */
}
.hero-main-img {
  width: 110%; /* کمی بزرگتر برای حالت سرتاسری در دسکتاپ */
  max-width: none;
  height: auto;
  object-fit: contain;
  display: block;
  background: transparent;
  margin-right: -5%; /* مرکزیت دادن به تصویر بزرگ شده */
  z-index: 1;
}

/* Floating card - AI access */
.float-card {
  position: absolute;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  padding: 16px 18px;
  z-index: 2;
}
.float-card-right {
  left: -30px;
  top: 10%;
  width: 180px;
}
.float-card .card-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 4px;
}
.float-card .card-sub {
  font-size: 11px;
  color: var(--gray-400);
  line-height: 1.6;
  margin-bottom: 10px;
}
.float-card .arrow-link {
  font-size: 16px;
  color: var(--black);
  text-decoration: none;
}

/* Floating card - UI mockup */
.float-card-bottom {
  left: -20px;
  bottom: 10%;
  width: 160px;
  padding: 12px;
}
.mockup-lines { display: flex; flex-direction: column; gap: 6px; }
.mockup-line {
  height: 8px;
  border-radius: 4px;
  background: var(--gray-200);
}
.mockup-line.short { width: 60%; }
.mockup-box {
  width: 100%;
  height: 50px;
  background: var(--gray-100);
  border-radius: 6px;
  margin-top: 8px;
}

/* Floating pill - trust */
.float-pill-right {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--white);
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.10);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--black);
  white-space: nowrap;
  z-index: 2;
}
.pill-icons {
  display: flex;
  gap: 4px;
}
.pill-icon {
  width: 22px; height: 22px;
  background: var(--gray-100);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
}

/* ─── FEATURES BAR ─── */
.features-bar {
  background: var(--gray-100);
  padding: 40px 48px;
}
.features-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.feat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}
.feat-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  color: var(--purple);
}
.feat-icon svg { width: 28px; height: 28px; }
.feat-item h4 { font-size: 15px; font-weight: 700; color: var(--black); }
.feat-item p { font-size: 13px; color: var(--gray-600); line-height: 1.7; }

/* ─── TOOLS SECTION ─── */
.tools-section {
  padding: 70px 48px;
  max-width: 1280px;
  margin: 0 auto;
}
.section-label {
  color: var(--purple);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}
.section-title {
  font-size: 40px;
  font-weight: 900;
  color: var(--black);
  line-height: 1.25;
}
.section-title .highlight { color: var(--purple); }

.tools-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
}
.see-all {
  color: var(--gray-600);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}
.see-all:hover { color: var(--black); }

.tools-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.tool-card {
  background: var(--gray-100);
  border-radius: 14px;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow .2s;
  cursor: pointer;
}
.tool-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.09); background: var(--white); }
.tool-logo {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.tool-logo img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transform: scale(1.08); }
.tool-logo-placeholder {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--gray-200);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 14px;
  color: var(--gray-600);
}
.tool-card h5 { font-size: 14px; font-weight: 700; color: var(--black); }
.tool-card p { font-size: 12px; color: var(--gray-600); line-height: 1.6; }

.tools-nav {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
.nav-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: var(--black);
  transition: all .2s;
}
.nav-btn:hover { background: var(--black); color: var(--white); border-color: var(--black); }

/* ─── PRICING ─── */
.pricing-section {
  padding: 70px 48px;
  background: var(--gray-100);
}
.pricing-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
}
.pricing-left { display: flex; flex-direction: column; gap: 16px; }
.pricing-left .section-label { margin-bottom: 0; }
.pricing-left .section-title { font-size: 36px; }
.pricing-left .section-desc {
  color: var(--gray-600);
  font-size: 14px;
  line-height: 1.8;
}

.pricing-img-placeholder {
  width: 100%;
  height: 200px;
  background: var(--gray-200);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-400);
  font-size: 13px;
  gap: 8px;
  border: 2px dashed var(--gray-400);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.plan-card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px 22px;
  border: 1.5px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: box-shadow .2s;
}
.plan-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.08); }
.plan-card.featured {
  border-color: var(--purple);
  box-shadow: 0 8px 32px rgba(116, 16, 84, 0.15); /* هماهنگ با رویال پرپل */
}
.plan-badge {
  position: absolute;
  top: -14px;
  right: 50%;
  transform: translateX(50%);
  background: var(--purple);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
}
.plan-name { font-size: 15px; font-weight: 700; color: var(--gray-600); }
.plan-desc { font-size: 12px; color: var(--gray-400); margin-top: 2px; }
.plan-price {
  font-size: 32px;
  font-weight: 900;
  color: var(--black);
  line-height: 1;
}
.plan-price span {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-400);
}
.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.plan-features li {
  font-size: 13px;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 8px;
}
.plan-features li::before {
  content: '✓';
  color: var(--purple);
  font-weight: 700;
  font-size: 12px;
}
.plan-btn {
  width: 100%;
  padding: 12px;
  border-radius: 9px;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
  border: none;
}
.plan-btn-outline {
  background: transparent;
  border: 1.5px solid var(--gray-200);
  color: var(--black);
}
.plan-btn-outline:hover { background: var(--gray-100); }
.plan-btn-fill {
  background: var(--black);
  color: var(--white);
}
.plan-btn-fill:hover { background: var(--purple); }

/* ─── STATS BAR ─── */
.stats-bar {
  padding: 50px 48px;
  background: var(--white);
}
.stats-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-item { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.stat-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  color: var(--purple);
}
.stat-icon svg { width: 22px; height: 22px; }
.stat-number {
  font-size: 28px;
  font-weight: 900;
  color: var(--black);
}
.stat-label { font-size: 13px; color: var(--gray-600); }

/* ─── CTA ─── */
.cta-section {
  padding: 70px 48px;
  background: var(--gray-100);
}
.cta-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.cta-img-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cta-text { display: flex; flex-direction: column; gap: 16px; }
.cta-title {
  font-size: 36px;
  font-weight: 900;
  color: var(--black);
  line-height: 1.3;
}
.cta-title .accent { color: var(--purple); }
.cta-desc { font-size: 14px; color: var(--gray-600); line-height: 1.9; }
.cta-link {
  color: var(--black);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cta-link:hover { color: var(--purple); }

/* ─── FOOTER ─── */
footer {
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: 50px 48px 24px;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo { margin-bottom: 12px; display: inline-flex; }
.footer-brand p { font-size: 13px; color: var(--gray-600); line-height: 1.8; margin-bottom: 16px; }
.newsletter-input-wrap {
  display: flex;
  gap: 0;
  border: 1.5px solid var(--gray-200);
  border-radius: 9px;
  overflow: hidden;
}
.newsletter-input-wrap input {
  flex: 1;
  border: none;
  outline: none;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 13px;
  padding: 10px 14px;
  background: var(--white);
  color: var(--black);
}
.newsletter-input-wrap input::placeholder { color: var(--gray-400); }
.newsletter-input-wrap button {
  background: var(--black);
  border: none;
  color: var(--white);
  padding: 10px 16px;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
}
.newsletter-input-wrap button:hover { background: var(--purple); }

.footer-col h6 {
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  text-decoration: none;
  color: var(--gray-600);
  font-size: 13px;
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--black); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
}
.footer-copy { font-size: 12px; color: var(--gray-400); }
.footer-ai-logos { display: flex; gap: 12px; align-items: center; color: var(--gray-400); }
.footer-ai-logos svg { width: 20px; height: 20px; opacity: 0.8; }
.footer-bottom-right {
  display: flex; align-items: center; gap: 8px;
}
.footer-bottom-logo {
  font-size: 13px; font-weight: 700; color: var(--black);
}
.footer-bottom-desc { font-size: 12px; color: var(--gray-400); }

/* Dashed placeholder style for all image slots */
.img-slot {
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
  border: 2px dashed var(--gray-400);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gray-600);
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
}
.img-slot svg { opacity: 0.35; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
    header { padding: 0 20px; }
    nav { display: none; }
    
    .hero { 
      grid-template-columns: 1fr; /* تغییر به حالت تک‌ستونه */
      padding: 32px 20px 10px;
      gap: 32px;
    }
    
    /* ۱. انتقال تصویر به بالا */
    .hero-visual { 
      order: 1; 
      width: 100%;
      display: flex;
      justify-content: center;
      overflow: visible;
    }
    
    /* ۲. انتقال متن به پایین و وسط‌چین کردن برای زیبایی در موبایل */
    .hero-text { 
      order: 2; 
      text-align: center; 
    }
    
    .hero-title { font-size: 34px; }
    .hero-desc { margin: 0 auto 32px auto; }
    
    /* مرتب‌سازی دکمه‌ها و آواتارها در موبایل */
    .hero-btns { justify-content: center; }
    .hero-trust { justify-content: center; flex-wrap: wrap; margin-top: 24px;}
    .hero-badge { margin: 0 auto 16px auto; }
    
    .hero-main-img { 
      width: 100%; 
      max-width: 380px; 
      margin: 0; 
    }
    
    /* ۳. کنترل المان‌های شناور برای جلوگیری از شکستن عرض صفحه (اسکرول افقی) */
    .float-card-right { 
      left: 0; 
      top: 5%; 
      transform: scale(0.75); 
      transform-origin: top left; 
    }
    .float-card-bottom { 
      left: 0; 
      bottom: 0; 
      transform: scale(0.75); 
      transform-origin: bottom left; 
    }
    .float-pill-right { 
      right: 0; 
      top: auto; 
      bottom: 8%; 
      transform: scale(0.75); 
      transform-origin: bottom right; 
    }
  
    /* جلوگیری از تداخل المان‌های هیرو با سکشن ویژگی‌ها */
    .features-bar { 
      position: relative; 
      z-index: 10; 
      clear: both; 
      padding: 32px 20px; 
    }
    
    .features-bar-inner { grid-template-columns: repeat(2, 1fr); padding: 0; gap: 24px;}
    .tools-section, .pricing-section, .cta-section { padding: 40px 20px; }
    .plans-grid { grid-template-columns: 1fr; }
    .pricing-inner { grid-template-columns: 1fr; }
    .cta-inner { grid-template-columns: 1fr; text-align: center; }
    .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 24px;}
    .footer-top { grid-template-columns: 1fr 1fr; gap: 32px;}
    .tools-grid { grid-template-columns: repeat(2, 1fr); }
  }

  

/* ─── PRICING OVERVIEW ─── */
.pricing-overview { background: linear-gradient(135deg, #f5f7f5 0%, #fbfffe 100%); }
.pricing-overview-inner { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: .9fr 1.1fr; gap: 54px; align-items: center; }
.pricing-overview-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.pricing-overview-copy .section-title { max-width: 470px; margin: 0; }
.pricing-overview-copy .section-desc { max-width: 500px; color: var(--gray-600); line-height: 2; font-size: 14px; }
.pricing-overview-link { color: var(--purple); font-size: 13px; font-weight: 800; text-decoration: none; }
.pricing-overview-link:hover { color: var(--black); }
.pricing-overview-modes { display: grid; gap: 15px; }
.pricing-mode-card { display: flex; align-items: center; gap: 16px; padding: 24px 22px; border: 1px solid var(--gray-200); border-radius: 18px; background: var(--white); color: var(--black); text-decoration: none; box-shadow: 0 12px 36px rgba(31,39,27,.05); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.pricing-mode-card:hover { transform: translateY(-4px); border-color: rgba(116,16,84,.35); box-shadow: 0 18px 42px rgba(116,16,84,.12); }
.pricing-mode-card > div { flex: 1; }
.pricing-mode-card strong { display: block; margin-bottom: 5px; font-size: 16px; }
.pricing-mode-card p { margin: 0; color: var(--gray-600); font-size: 12px; line-height: 1.9; }
.pricing-mode-icon { width: 42px; height: 42px; display: grid; place-items: center; flex: none; border-radius: 13px; background: rgba(116,16,84,.1); color: var(--purple); font-size: 22px; }
.pricing-mode-arrow { color: var(--purple); font-size: 19px; }
.pricing-mode-card-dark { background: var(--black); border-color: var(--black); color: var(--white); }
.pricing-mode-card-dark p { color: #bcc3be; }
.pricing-mode-card-dark .pricing-mode-icon { background: rgba(255,255,255,.1); color: #f2b9df; }
.pricing-mode-card-dark .pricing-mode-arrow { color: #f2b9df; }
@media (max-width: 768px) {
  .pricing-overview-inner { grid-template-columns: 1fr; gap: 30px; }
  .pricing-overview-copy { align-items: stretch; }
}
