/* صفحه‌ی معرفی اپ دستیار زیما — بدنه‌ی صفحه.
   هدر و فوتر با site.css (همان CSS سایت zimalab.co) رندر می‌شوند؛ این فایل فقط بدنه را می‌چیند
   و همه‌ی کلاس‌هایش با پیشوند zl- است تا با کلاس‌های سایت تداخل نکند. */

:root {
  --zl-green: #095926;      /* سبز اصلی سایت (h1/h2 سایت) */
  --zl-green-dark: #06401b;
  --zl-green-soft: #e6efe7;
  --zl-cream: #f6f1e6;
  --zl-sand: #efe6d2;
  --zl-gold: #f3d879;
  --zl-ink: #333;           /* رنگ متن سایت */
  --zl-muted: #6b746e;
  --zl-line: #e2e5e1;
  --zl-white: #fff;
  --zl-page: #eee;          /* پس‌زمینه‌ی body سایت */
  --zl-radius: 18px;
}

.zl { display: block; padding-top: 160px; /* پیش از اجرای اسکریپت؛ بعد با ارتفاع واقعی هدر جایگزین می‌شود */ font-family: dana, Tahoma, sans-serif; color: var(--zl-ink); background: var(--zl-page); overflow-x: clip; }
.zl *, .zl *::before, .zl *::after { box-sizing: border-box; }
.zl a { color: var(--zl-green); }
.zl img { max-width: 100%; display: block; }
.zl-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.zl-narrow { max-width: 860px; }

/* ─────────────── بنر اصلی */
.zl-hero { position: relative; background: linear-gradient(160deg, var(--zl-cream) 0%, #f9f6ef 45%, var(--zl-sand) 100%); padding: 48px 0 40px; overflow: hidden; }
.zl-leaf { position: absolute; border-radius: 0 100% 0 100%; background: linear-gradient(135deg, #0b6b2e, var(--zl-green-dark)); opacity: .9; pointer-events: none; }
.zl-leaf::after { content: ""; position: absolute; inset: 12% 48% 12% 48%; background: rgba(255,255,255,.18); border-radius: 2px; transform: rotate(45deg); }
.zl-leaf-1 { width: 220px; height: 220px; top: -80px; left: -60px; transform: rotate(10deg); }
.zl-leaf-2 { width: 140px; height: 140px; bottom: -50px; right: 38%; transform: rotate(-30deg); opacity: .14; }
.zl-hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }
.zl-eyebrow { display: inline-block; background: var(--zl-green-soft); color: var(--zl-green); font-weight: 600; font-size: 13px; padding: 6px 14px; border-radius: 999px; }
.zl-hero h1 { margin: 16px 0 14px; font-size: 40px; line-height: 1.45; font-weight: 800; color: var(--zl-green); letter-spacing: -.5px; }
.zl-lead { margin: 0 0 26px; font-size: 17px; line-height: 2; color: #444; max-width: 560px; }

.zl-dl { display: flex; flex-wrap: wrap; gap: 12px; }
.zl-dl-btn { display: inline-flex; align-items: center; gap: 12px; min-width: 230px; padding: 12px 18px; border-radius: 14px; text-decoration: none; transition: transform .15s, box-shadow .15s, background .15s; }
.zl-dl-btn svg { width: 30px; height: 30px; flex: 0 0 auto; fill: currentColor; }
.zl-dl-btn span { display: flex; flex-direction: column; line-height: 1.5; }
.zl-dl-btn b { font-size: 16px; font-weight: 700; }
.zl-dl-btn small { font-size: 12px; opacity: .8; }
.zl a.zl-android { background: var(--zl-green); color: #fff; box-shadow: 0 10px 24px rgba(9,89,38,.25); }
.zl a.zl-android:hover { background: var(--zl-green-dark); transform: translateY(-2px); }
.zl a.zl-ios { background: #111; color: #fff; box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.zl a.zl-ios:hover { background: #000; transform: translateY(-2px); }
.zl a.zl-web { background: #fff; color: var(--zl-green); border: 1.5px solid var(--zl-green); }
/* گوشی بازدیدکننده تشخیص داده شد → دکمه‌ی مناسب اول */
.zl-is-ios .zl-hero .zl-ios { order: -1; }
.zl-web-link { display: inline-block; margin-top: 16px; font-weight: 600; font-size: 15px; text-decoration: none; border-bottom: 1px dashed currentColor; }
.zl-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 22px 0 0; }
.zl-chips li { background: rgba(255,255,255,.75); border: 1px solid var(--zl-line); color: var(--zl-muted); font-size: 13px; padding: 5px 12px; border-radius: 999px; }

.zl-hero-phones { position: relative; height: 610px; }
.zl-phone { position: relative; width: 270px; aspect-ratio: 390 / 844; border-radius: 38px; background: #111; padding: 9px; box-shadow: 0 30px 60px rgba(6,64,27,.28), 0 0 0 1px rgba(0,0,0,.4) inset; }
.zl-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 30px; }
.zl-phone::before { content: ""; position: absolute; top: 15px; left: 50%; width: 70px; height: 18px; margin-left: -35px; background: #111; border-radius: 0 0 12px 12px; z-index: 2; }
.zl-hero-phones .zl-phone { position: absolute; }
.zl-phone-front { left: 6%; top: 24px; z-index: 2; }
.zl-phone-back { right: 4%; top: 70px; transform: rotate(-6deg) scale(.88); opacity: .95; }

/* ─────────────── اعداد */
.zl-stats { background: var(--zl-green); color: #fff; }
.zl-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; padding-top: 26px; padding-bottom: 26px; }
.zl-stats-grid div { display: flex; flex-direction: column; gap: 4px; padding: 0 10px; border-left: 1px solid rgba(255,255,255,.18); }
.zl-stats-grid div:last-child { border-left: 0; }
.zl-stats-grid b { font-size: 34px; font-weight: 800; color: var(--zl-gold); line-height: 1.3; }
.zl-stats-grid span { font-size: 14px; opacity: .9; }

/* ─────────────── بخش‌ها */
.zl-section { padding: 64px 0; }
.zl-alt { background: #fff; }
.zl-head { text-align: center; margin: 0 auto 40px; max-width: 640px; }
.zl-head h2 { margin: 0 0 8px; font-size: 28px; font-weight: 800; color: var(--zl-green); }
.zl-head p { margin: 0; color: var(--zl-muted); font-size: 15px; }

.zl-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; background: #fff; border-radius: 24px; padding: 40px 48px; margin-bottom: 28px; border: 1px solid var(--zl-line); }
.zl-flip .zl-feature-text { order: 2; }
.zl-tag { display: inline-block; font-size: 13px; font-weight: 700; color: var(--zl-green); background: var(--zl-green-soft); border-radius: 8px; padding: 4px 10px; }
.zl-feature h3 { margin: 12px 0 10px; font-size: 26px; font-weight: 800; color: #1d2b22; line-height: 1.6; }
.zl-feature p { margin: 0 0 14px; font-size: 16px; line-height: 2; color: #444; }
.zl-feature ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.zl-feature li { position: relative; padding-right: 26px; font-size: 15px; line-height: 1.9; color: #3b443e; }
.zl-feature li::before { content: "✓"; position: absolute; right: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; background: var(--zl-green); color: #fff; font-size: 11px; display: grid; place-items: center; line-height: 1; margin-top: 5px; }
.zl-feature-img { display: flex; justify-content: center; background: radial-gradient(circle at 50% 55%, var(--zl-green-soft) 0, transparent 68%); padding: 8px 0; }
.zl-feature-img .zl-phone { width: 250px; }

.zl-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.zl-card { background: var(--zl-page); border-radius: var(--zl-radius); padding: 24px; }
.zl-ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #fff; font-size: 24px; margin-bottom: 12px; }
.zl-card h4 { margin: 0 0 6px; font-size: 18px; font-weight: 700; color: var(--zl-green); }
.zl-card p { margin: 0; font-size: 14.5px; line-height: 1.95; color: #4a524c; }

.zl-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: none; }
.zl-steps li { position: relative; background: #fff; border-radius: var(--zl-radius); padding: 26px 22px; border: 1px solid var(--zl-line); }
.zl-steps b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--zl-green); color: #fff; font-size: 18px; font-weight: 800; margin-bottom: 12px; }
.zl-steps h4 { margin: 0 0 6px; font-size: 17px; font-weight: 700; color: #1d2b22; }
.zl-steps p { margin: 0; font-size: 14.5px; line-height: 1.95; color: #4a524c; }

/* ─────────────── راهنمای نصب */
.zl-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.zl-tabs button { font: inherit; font-size: 15px; font-weight: 600; border: 1.5px solid var(--zl-line); background: #fff; color: var(--zl-muted); padding: 10px 26px; border-radius: 999px; cursor: pointer; }
.zl-tabs button[aria-selected="true"] { background: var(--zl-green); border-color: var(--zl-green); color: #fff; }
.zl-panel { max-width: 720px; margin: 0 auto; background: var(--zl-page); border-radius: 24px; padding: 30px 34px; }
.zl-guide { margin: 0 0 22px; padding: 0; list-style: none; counter-reset: zlstep; display: grid; gap: 14px; }
.zl-guide li { counter-increment: zlstep; position: relative; padding-right: 44px; font-size: 16px; line-height: 2; }
.zl-guide li::before { content: counter(zlstep, persian); position: absolute; right: 0; top: 2px; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--zl-green); border: 1.5px solid var(--zl-green); font-weight: 800; display: grid; place-items: center; line-height: 1; }
.zl-guide code { background: #fff; padding: 2px 8px; border-radius: 6px; font-size: 14px; }
.zl-share { display: inline-grid; place-items: center; vertical-align: middle; width: 26px; height: 26px; border-radius: 6px; background: #fff; }
.zl-share svg { width: 18px; height: 18px; fill: #0a84ff; }
.zl-btn { display: inline-block; background: var(--zl-green); color: #fff !important; text-decoration: none; font-weight: 700; padding: 12px 24px; border-radius: 12px; }
.zl-btn:hover { background: var(--zl-green-dark); }
.zl-note { margin: 16px 0 0; font-size: 14px; line-height: 1.9; color: var(--zl-muted); }

/* ─────────────── سؤالات متداول */
.zl-faq { display: grid; gap: 10px; }
.zl-faq details { background: #fff; border-radius: 14px; border: 1px solid var(--zl-line); }
.zl-faq summary { list-style: none; cursor: pointer; padding: 18px 22px; font-size: 16px; font-weight: 700; color: #1d2b22; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.zl-faq summary::-webkit-details-marker { display: none; }
.zl-faq summary::after { content: "+"; flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: var(--zl-green-soft); color: var(--zl-green); display: grid; place-items: center; font-size: 20px; font-weight: 400; transition: transform .2s; }
.zl-faq details[open] summary::after { transform: rotate(45deg); }
.zl-faq details p { margin: 0; padding: 0 22px 20px; font-size: 15px; line-height: 2; color: #4a524c; }

/* ─────────────── دعوت پایانی */
.zl-final { background: linear-gradient(135deg, var(--zl-green), var(--zl-green-dark)); color: #fff; text-align: center; padding: 56px 0; }
.zl-final h2 { margin: 0 0 22px; font-size: 30px; font-weight: 800; color: #fff; }
.zl-dl-center { justify-content: center; }
.zl-final .zl-dl-btn { min-width: 0; justify-content: center; }
.zl-final a.zl-android { background: var(--zl-gold); color: var(--zl-green-dark); box-shadow: none; }
.zl-final a.zl-ios { box-shadow: none; }
.zl-final a.zl-web { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.zl-disclaimer { margin: 22px 0 0; font-size: 13px; opacity: .8; }

/* زیرمنوی موبایل هدر سایت (جایگزین slideToggle جی‌کوئری) */
@media (max-width: 767px) { .main-menu li.zl-sub-open > .sub-menu { display: block !important; } }

/* ─────────────── واکنش‌گرا */
@media (max-width: 1024px) {
  .zl-hero h1 { font-size: 32px; }
  .zl-feature { padding: 32px; gap: 28px; }
  .zl-cards { grid-template-columns: repeat(2, 1fr); }
  .zl-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .zl-hero { padding: 28px 0 8px; }
  .zl-leaf-1 { width: 120px; height: 120px; top: -70px; left: -50px; opacity: .55; }
  .zl-leaf-2 { display: none; }
  .zl-hero-grid { grid-template-columns: 1fr; gap: 10px; }
  .zl-hero h1 { font-size: 27px; margin-top: 12px; }
  .zl-lead { font-size: 15.5px; margin-bottom: 20px; }
  .zl-dl { flex-direction: column; }
  .zl-dl-btn { min-width: 0; width: 100%; }
  .zl-hero-phones { height: 440px; }
  .zl-hero-phones .zl-phone { width: 190px; border-radius: 30px; padding: 7px; }
  .zl-hero-phones .zl-phone img { border-radius: 24px; }
  .zl-phone-front { left: 50%; margin-left: -125px; }
  .zl-phone-back { right: 50%; margin-right: -150px; top: 40px; }
  .zl-stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .zl-stats-grid div:nth-child(2) { border-left: 0; }
  .zl-stats-grid b { font-size: 28px; }
  .zl-section { padding: 44px 0; }
  .zl-head { margin-bottom: 26px; }
  .zl-head h2 { font-size: 23px; }
  .zl-feature { grid-template-columns: 1fr; padding: 24px 20px; border-radius: 20px; }
  .zl-flip .zl-feature-text { order: 0; }
  .zl-feature h3 { font-size: 21px; }
  .zl-feature-img .zl-phone { width: 220px; }
  .zl-cards, .zl-steps { grid-template-columns: 1fr; }
  .zl-panel { padding: 22px 18px; }
  .zl-tabs button { padding: 9px 18px; }
  .zl-final h2 { font-size: 24px; }
  .zl-final .zl-dl { flex-direction: column; }
}

/* هشدار وی‌پی‌ان زیر دکمه‌های دانلود */
.zl-vpn { margin: 14px 0 0; display: inline-block; background: #fff6d6; border: 1px solid #f3d879; color: #6a4e14; border-radius: 10px; padding: 8px 12px; font-size: 13.5px; line-height: 1.8; }

/* دکمه‌ی دانلود راهنمای PDF */
.zl a.zl-pdf { background: #fff; color: var(--zl-green); border: 1.5px solid var(--zl-green); }
.zl a.zl-pdf:hover { background: var(--zl-green-soft); transform: translateY(-2px); }
.zl-final a.zl-web + a.zl-web { border-style: dashed; }
