/* ============================================================
   VARIABLES
============================================================ */
:root {
  --navy-900:#060f1a; --navy-800:#0a1628; --navy-700:#0f2038;
  --navy-600:#1a2f4a; --navy-500:#2a4562;
  --gold:#d4af37; --gold-light:#e8c97a; --gold-dark:#b8941f;
  --emerald:#10b981; --emerald-light:#34d399; --emerald-dark:#059669;
  --cream:#faf7f0; --white:#fff;
  --gray-100:#f1f5f9; --gray-200:#e2e8f0; --gray-400:#94a3b8;
  --gray-500:#64748b; --gray-700:#334155;
  --text-dark:#0a1628; --text-muted:#5b6b7f;
  --font-fa:'Vazir',Tahoma,sans-serif;
  --t-fast:.2s ease; --t-med:.35s cubic-bezier(.25,.46,.45,.94);
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family:var(--font-fa);
  background:var(--cream);
  color:var(--text-dark);
  line-height:1.6;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
body[dir="ltr"] { font-family:'Vazir','Segoe UI',sans-serif; }
a { text-decoration:none; color:inherit; cursor:pointer; }
button { font-family:inherit; }
img { max-width:100%; display:block; }
.container { max-width:1280px; margin:0 auto; padding:0 24px; }

/* ============================================================
   HEADER
============================================================ */
.site-header { position:relative; z-index:100; background:var(--navy-900); box-shadow:0 2px 20px rgba(0,0,0,.15); }
.nav-bar { padding:14px 0; border-bottom:1px solid rgba(212,175,55,.18); }
.nav-inner { display:flex; justify-content:space-between; align-items:center; gap:20px; flex-wrap:wrap; }
.brand { display:flex; align-items:center; gap:10px; font-size:22px; font-weight:900; letter-spacing:.5px; color:#fff; }
.brand-mark { width:36px; height:36px; display:inline-flex; align-items:center; justify-content:center; background:linear-gradient(135deg,var(--gold) 0%,var(--gold-dark) 100%); color:var(--navy-900); border-radius:10px; font-size:20px; box-shadow:0 4px 20px rgba(212,175,55,.35); }
.brand .accent { color:var(--gold); }

.main-menu { display:flex; align-items:center; gap:4px; flex-wrap:wrap; }
.main-menu a { color:rgba(255,255,255,.75); padding:8px 14px; font-size:14px; font-weight:500; border-radius:8px; cursor:pointer; transition:var(--t-fast); white-space:nowrap; }
.main-menu a:hover { color:var(--gold); background:rgba(212,175,55,.08); }
.main-menu a.active { color:var(--gold); }
.main-menu a.hidden { display:none !important; }

.menu-actions { display:flex; align-items:center; gap:10px; }
.lang-switcher { display:flex; background:rgba(255,255,255,.06); border:1px solid rgba(212,175,55,.25); border-radius:10px; overflow:hidden; }
.lang-switcher button { background:transparent; border:none; color:rgba(255,255,255,.7); padding:7px 11px; font-size:12px; font-weight:600; cursor:pointer; transition:var(--t-fast); font-family:var(--font-fa); }
.lang-switcher button:hover { color:#fff; background:rgba(255,255,255,.06); }
.lang-switcher button.active { background:var(--gold); color:var(--navy-900); }
.btn-nav-cta { background:var(--gold); color:var(--navy-900); border:none; padding:8px 20px; border-radius:30px; font-size:13px; font-weight:700; cursor:pointer; transition:var(--t-fast); white-space:nowrap; }
.btn-nav-cta:hover { background:var(--gold-light); transform:translateY(-1px); }

/* ===== HEADER VIDEO ===== */
.header-video { position:relative; width:100%; height:280px; overflow:hidden; }
.header-video video { width:100%; height:100%; object-fit:cover; opacity:.7; }
.header-video .video-overlay { position:absolute; top:0; left:0; width:100%; height:100%; display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center; color:#fff; padding:20px; background:linear-gradient(180deg,rgba(6,15,26,.35) 0%,rgba(6,15,26,.7) 100%); }
.header-video .video-overlay h2 { font-size:clamp(22px,3.5vw,36px); font-weight:800; margin-bottom:10px; text-shadow:0 4px 30px rgba(0,0,0,.7); line-height:1.3; }
.header-video .video-overlay h2 span { color:var(--gold); }
.header-video .video-overlay p { font-size:15px; color:#e0e0e0; text-shadow:0 2px 10px rgba(0,0,0,.6); max-width:640px; margin:0 auto; }
.header-video::after { content:''; position:absolute; bottom:0; left:0; width:100%; height:4px; background:linear-gradient(90deg,var(--gold),var(--gold-light),var(--gold)); z-index:10; }

/* ============================================================
   PAGE SYSTEM
============================================================ */
.page { display:none; }
.page.active { display:block; animation:pageIn .4s ease; }
@keyframes pageIn { from { opacity:0; transform:translateY(15px); } to { opacity:1; transform:translateY(0); } }

/* ============================================================
   SECTIONS
============================================================ */
section { padding:70px 0; }
section.cream { background:var(--cream); }
section.white { background:var(--white); }
section.dark { background:var(--navy-800); color:#fff; }

.section-head { text-align:center; margin-bottom:50px; }
.section-tag { display:inline-block; color:var(--gold); font-size:12px; font-weight:700; letter-spacing:2.5px; text-transform:uppercase; margin-bottom:12px; }
.section-head h2 { font-size:clamp(24px,3vw,36px); font-weight:800; line-height:1.3; margin-bottom:12px; }
.section-head h2 .accent { color:var(--gold); }
.section-head h2 .accent-em { color:var(--emerald); }
.section-head p { color:var(--text-muted); font-size:15px; max-width:640px; margin:0 auto; }
section.dark .section-head p { color:rgba(255,255,255,.65); }

/* ============================================================
   BUTTONS
============================================================ */
.btn-gold { display:inline-flex; align-items:center; gap:8px; background:var(--gold); color:var(--navy-900); padding:13px 32px; border-radius:40px; font-weight:700; font-size:15px; border:none; cursor:pointer; transition:var(--t-med); box-shadow:0 8px 30px rgba(212,175,55,.35); text-decoration:none; font-family:inherit; }
.btn-gold:hover { background:var(--gold-light); transform:translateY(-3px); box-shadow:0 14px 40px rgba(212,175,55,.5); }
.btn-ghost { display:inline-flex; align-items:center; gap:8px; background:transparent; color:#fff; padding:13px 32px; border-radius:40px; font-weight:700; font-size:15px; border:1.5px solid rgba(255,255,255,.3); cursor:pointer; transition:var(--t-med); text-decoration:none; font-family:inherit; }
.btn-ghost:hover { border-color:var(--gold); color:var(--gold); background:rgba(212,175,55,.08); }

/* ============================================================
   PRODUCTS GRID
============================================================ */
.products-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(340px,1fr)); gap:32px; }
.product-card { position:relative; background:var(--white); border-radius:26px; padding:40px 34px; border:2px solid var(--gray-200); transition:var(--t-med); cursor:pointer; overflow:hidden; }
.product-card::before { content:''; position:absolute; top:0; left:0; width:100%; height:5px; background:var(--gold); transform:scaleX(0); transform-origin:right; transition:transform var(--t-med); }
.product-card.trading::before { background:linear-gradient(90deg,var(--gold),var(--gold-light)); }
.product-card.accounting::before { background:linear-gradient(90deg,var(--emerald),var(--emerald-light)); }
.product-card:hover { transform:translateY(-8px); box-shadow:0 30px 60px rgba(10,22,40,.1); border-color:transparent; }
.product-card:hover::before { transform:scaleX(1); transform-origin:left; }
.pc-icon { width:68px; height:68px; border-radius:18px; display:flex; align-items:center; justify-content:center; font-size:34px; margin-bottom:22px; background:linear-gradient(135deg,rgba(212,175,55,.12) 0%,rgba(212,175,55,.05) 100%); border:1.5px solid rgba(212,175,55,.2); }
.product-card.accounting .pc-icon { background:linear-gradient(135deg,rgba(16,185,129,.12) 0%,rgba(16,185,129,.05) 100%); border-color:rgba(16,185,129,.2); }
.pc-title { font-size:24px; font-weight:800; margin-bottom:10px; }
.pc-desc { color:var(--text-muted); font-size:14px; line-height:1.8; margin-bottom:22px; }
.pc-features { list-style:none; margin-bottom:26px; }
.pc-features li { padding:7px 0; display:flex; align-items:center; gap:12px; font-size:14px; color:var(--gray-700); }
.pc-features li::before { content:'✓'; width:22px; height:22px; display:inline-flex; align-items:center; justify-content:center; border-radius:50%; font-weight:900; font-size:12px; flex-shrink:0; background:rgba(212,175,55,.12); color:var(--gold-dark); }
.product-card.accounting .pc-features li::before { background:rgba(16,185,129,.12); color:var(--emerald-dark); }
.pc-btn { display:inline-flex; align-items:center; gap:10px; padding:13px 30px; border-radius:30px; font-weight:700; font-size:14px; border:none; cursor:pointer; transition:var(--t-fast); background:var(--navy-800); color:#fff; font-family:inherit; }
.pc-btn:hover { background:var(--navy-600); transform:translateY(-2px); }
.product-card.accounting .pc-btn:hover { background:var(--emerald-dark); }

/* ============================================================
   STATS
============================================================ */
.stats-section { background:var(--navy-800); padding:50px 0; }
.stats-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:24px; text-align:center; }
.stat-item .num { font-size:38px; font-weight:900; color:var(--gold); direction:ltr; margin-bottom:4px; }
.stat-item .lbl { font-size:13px; color:rgba(255,255,255,.7); }

/* ============================================================
   FEATURES
============================================================ */
.features-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:24px; }
.feature-card { background:var(--white); padding:30px 24px; border-radius:18px; border:1px solid var(--gray-200); transition:var(--t-med); text-align:center; }
.feature-card:hover { border-color:var(--gold); transform:translateY(-6px); box-shadow:0 20px 50px rgba(10,22,40,.08); }
.feature-card.em:hover { border-color:var(--emerald); }
.feature-card .icon { font-size:38px; display:block; margin-bottom:14px; }
.feature-card h4 { font-size:16px; font-weight:700; margin-bottom:8px; }
.feature-card p { font-size:13px; color:var(--text-muted); line-height:1.7; }

/* ============================================================
   TESTIMONIALS CAROUSEL
============================================================ */
.testimonials-section { background:var(--white); padding:70px 0; }
.test-carousel { max-width:1100px; margin:0 auto; overflow:hidden; padding:0 10px; }
.test-track { display:flex; transition:transform .5s ease; }
.test-card { flex:0 0 calc(33.333% - 14px); margin:0 7px; background:var(--cream); padding:24px 20px; border-radius:16px; border:1px solid var(--gray-200); text-align:center; min-height:180px; display:flex; flex-direction:column; justify-content:space-between; box-sizing:border-box; }
.test-card .stars { color:var(--gold); font-size:18px; margin-bottom:8px; }
.test-card p { font-size:13.5px; color:#1e293b; line-height:1.75; margin-bottom:8px; flex-grow:1; }
.test-card .user { font-size:12.5px; color:var(--gray-500); font-weight:600; }
.test-nav { display:flex; justify-content:center; gap:12px; margin-top:20px; }
.test-nav button { background:var(--navy-800); color:#fff; border:none; border-radius:50%; width:42px; height:42px; font-size:20px; font-weight:700; cursor:pointer; transition:var(--t-fast); font-family:inherit; }
.test-nav button:hover { background:var(--gold); color:var(--navy-900); }
.test-dots { display:flex; justify-content:center; gap:8px; margin-top:14px; }
.test-dots span { width:10px; height:10px; border-radius:50%; background:#cbd5e1; cursor:pointer; transition:var(--t-fast); }
.test-dots span.active { background:var(--gold); transform:scale(1.3); }

/* ============================================================
   PRICING
============================================================ */
.pricing-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:22px; }
.pricing-card { background:#fff; border-radius:22px; padding:32px 24px 26px; text-align:center; border:2px solid transparent; transition:var(--t-med); position:relative; box-shadow:0 4px 15px rgba(0,0,0,.04); }
.pricing-card:hover { border-color:var(--gold); transform:scale(1.02); }
.pricing-card.em-card:hover { border-color:var(--emerald); }
.pricing-card .tier { display:inline-block; background:var(--navy-800); color:#fff; padding:3px 16px; border-radius:20px; font-size:12px; font-weight:700; margin-bottom:10px; }
.pricing-card.em-card .tier { background:#064e3b; }
.pricing-card .name { font-size:20px; font-weight:800; margin-bottom:5px; }
.pricing-card .price { font-size:32px; font-weight:900; color:var(--gold); margin:10px 0 5px; direction:ltr; }
.pricing-card.em-card .price { color:var(--emerald); }
.pricing-card .price small { font-size:13px; font-weight:400; color:var(--gray-500); }
.pricing-card .desc { font-size:12px; color:var(--gray-500); margin-bottom:16px; min-height:18px; }
.pricing-card ul { list-style:none; text-align:right; font-size:13px; line-height:2.1; color:#1e293b; padding:0 8px; margin-bottom:20px; }
.pricing-card ul li::before { content:'✓'; color:var(--gold); font-weight:700; margin-left:8px; }
.pricing-card.em-card ul li::before { color:var(--emerald); }
.pricing-card .btn-buy { display:inline-block; padding:11px 35px; border-radius:40px; background:var(--navy-800); color:#fff; font-weight:700; font-size:14px; transition:var(--t-fast); border:none; cursor:pointer; font-family:inherit; width:100%; }
.pricing-card .btn-buy:hover { background:var(--gold); color:var(--navy-900); }
.pricing-card.em-card .btn-buy:hover { background:var(--emerald); color:#fff; }
.pricing-card.popular { border-color:var(--gold); background:#fffbeb; }
.pricing-card.popular::after { content:'⭐'; position:absolute; top:-13px; left:50%; transform:translateX(-50%); background:var(--gold); color:var(--navy-900); padding:3px 16px; border-radius:20px; font-size:11px; font-weight:700; white-space:nowrap; }
.pricing-card.em-popular { border-color:var(--emerald); background:#ecfdf5; }

/* ============================================================
   VERSIONS (accounting)
============================================================ */
.versions-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(320px,1fr)); gap:30px; max-width:1000px; margin:0 auto; }
.version-card { background:#fff; border-radius:24px; padding:38px 30px; border:2px solid var(--gray-200); transition:var(--t-med); cursor:pointer; position:relative; }
.version-card:hover { border-color:var(--emerald); transform:translateY(-6px); box-shadow:0 20px 50px rgba(16,185,129,.15); }
.version-card .v-icon { font-size:52px; margin-bottom:18px; display:block; }
.version-card h3 { font-size:22px; font-weight:800; margin-bottom:10px; color:var(--navy-800); }
.version-card .v-sub { font-size:14px; color:var(--gray-500); line-height:1.7; margin-bottom:20px; }
.version-card ul { list-style:none; margin-bottom:24px; }
.version-card ul li { font-size:14px; padding:6px 0; display:flex; align-items:center; gap:10px; color:#1e293b; }
.version-card ul li::before { content:'✓'; color:var(--emerald); font-weight:900; font-size:15px; }
.version-card .v-btn { display:block; width:100%; padding:13px 30px; border-radius:40px; background:var(--emerald); color:#fff; font-weight:700; font-size:15px; text-align:center; transition:var(--t-fast); border:none; cursor:pointer; font-family:inherit; }
.version-card .v-btn:hover { background:var(--emerald-dark); transform:translateY(-2px); box-shadow:0 10px 30px rgba(16,185,129,.3); }
.version-card .badge-top { position:absolute; top:20px; left:20px; background:var(--gold); color:var(--navy-900); padding:4px 14px; border-radius:20px; font-size:11px; font-weight:700; }

/* ============================================================
   WHY US
============================================================ */
.why-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:24px; }
.why-card { background:var(--white); padding:32px 24px; border-radius:18px; border:1px solid var(--gray-200); transition:var(--t-med); text-align:center; }
.why-card:hover { border-color:var(--gold); transform:translateY(-5px); box-shadow:0 18px 45px rgba(10,22,40,.07); }
.why-icon { width:60px; height:60px; margin:0 auto 16px; border-radius:16px; display:flex; align-items:center; justify-content:center; font-size:28px; background:linear-gradient(135deg,rgba(212,175,55,.15),rgba(212,175,55,.05)); }
.why-card h4 { font-size:16px; font-weight:700; margin-bottom:8px; }
.why-card p { font-size:13px; color:var(--text-muted); line-height:1.7; }

/* ============================================================
   PROMO VIDEO
============================================================ */
.promo-video { background:var(--navy-800); color:#fff; text-align:center; }
.promo-video video { max-width:100%; width:70%; border-radius:16px; box-shadow:0 12px 30px rgba(0,0,0,.5); border:2px solid var(--gold); }

/* ============================================================
   MOBILE DOWNLOAD
============================================================ */
.mobile-download { background:var(--navy-600); color:#fff; text-align:center; }
.mobile-download .btns { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; margin-top:24px; }
.btn-download { display:inline-flex; align-items:center; gap:10px; background:var(--navy-500); padding:12px 28px; border-radius:40px; color:#fff; font-weight:700; font-size:15px; transition:var(--t-fast); border:none; cursor:pointer; font-family:inherit; }
.btn-download:hover { background:var(--gold); color:var(--navy-900); }
.btn-download .icon { font-size:24px; }

/* ============================================================
   CTA
============================================================ */
.cta-section { background:linear-gradient(135deg,var(--gold) 0%,var(--gold-light) 100%); color:var(--navy-900); text-align:center; }
.cta-section h2 { font-size:clamp(24px,3vw,34px); margin-bottom:8px; font-weight:800; }
.cta-section p { margin-bottom:22px; font-weight:500; font-size:15px; }
.cta-section .btn-gold { background:var(--navy-800); color:#fff; box-shadow:0 8px 25px rgba(10,22,40,.25); }
.cta-section .btn-gold:hover { background:var(--navy-600); }

/* ============================================================
   COMPARISON TABLE
============================================================ */
.comparison-table { width:100%; max-width:900px; margin:40px auto 0; border-collapse:separate; border-spacing:0; border-radius:18px; overflow:hidden; box-shadow:0 4px 20px rgba(0,0,0,.06); background:#fff; }
.comparison-table th { background:var(--navy-800); color:#fff; padding:16px; font-size:14px; font-weight:700; text-align:center; }
.comparison-table th:first-child { text-align:right; }
.comparison-table td { padding:13px 16px; border-bottom:1px solid #f1f5f9; text-align:center; font-size:13.5px; }
.comparison-table td:first-child { text-align:right; font-weight:600; color:var(--navy-800); }
.comparison-table tr:last-child td { border-bottom:none; }
.comparison-table tr:nth-child(even) td { background:#f8fafc; }
.comparison-table .check { color:var(--emerald); font-weight:900; font-size:17px; }
.comparison-table .cross { color:#cbd5e1; font-size:17px; }
.comparison-table .highlight { color:var(--gold); font-weight:700; }

/* ============================================================
   FOOTER
============================================================ */
.site-footer { background:var(--navy-900); color:rgba(255,255,255,.7); padding:60px 0 25px; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1.5fr; gap:44px; margin-bottom:44px; }
.footer-col h4 { color:#fff; font-size:15px; font-weight:700; margin-bottom:20px; letter-spacing:.5px; }
.footer-col p { font-size:14px; line-height:1.9; }
.footer-col ul { list-style:none; }
.footer-col ul li { margin-bottom:11px; font-size:14px; }
.footer-col ul li a { cursor:pointer; transition:var(--t-fast); }
.footer-col ul li a:hover { color:var(--gold); }
.footer-col .contact-item { display:flex; gap:10px; align-items:flex-start; margin-bottom:12px; font-size:13.5px; line-height:1.7; }
.contact-item .ci-label { color:var(--gold); font-weight:600; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.08); padding-top:24px; text-align:center; font-size:13px; color:rgba(255,255,255,.45); }

/* ============================================================
   REVEAL
============================================================ */
.reveal { opacity:0; transform:translateY(30px); transition:opacity .8s ease,transform .8s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width:1024px) { .footer-grid { grid-template-columns:1fr 1fr; gap:36px; } }
@media (max-width:900px) { .test-card { flex:0 0 calc(50% - 14px); } }
@media (max-width:768px) {
  section { padding:55px 0; }
  .header-video { height:200px; }
  .header-video .video-overlay h2 { font-size:20px; }
  .header-video .video-overlay p { font-size:13px; }
  .products-grid { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr; gap:30px; }
  .versions-grid { grid-template-columns:1fr; }
  .promo-video video { width:100%; }
  .mobile-download .btns { flex-direction:column; align-items:center; }
}
@media (max-width:600px) { .test-card { flex:0 0 calc(100% - 14px); } }
/* ===== بخش مقایسه و نوار آزمایشی (CapitalManage) ===== */
.compare { display:grid; grid-template-columns:1fr 1fr; gap:24px; max-width:900px; margin:0 auto; }
.compare-col { background:var(--white); border:1px solid var(--gray-200); border-radius:18px; padding:28px 26px; }
.compare-col h3 { font-size:17px; font-weight:800; margin-bottom:16px; }
.compare-col.bad h3 { color:var(--gray-500); }
.compare-col.good { border-color:var(--emerald); }
.compare-col.good h3 { color:var(--emerald); }
.compare-col ul { list-style:none; padding:0; display:flex; flex-direction:column; gap:12px; }
.compare-col li { font-size:14px; line-height:1.8; color:var(--text-muted); padding-inline-start:18px; position:relative; }
.compare-col.good li { color:#1e293b; }
.compare-col li::before { content:''; position:absolute; inset-inline-start:0; top:.9em; width:8px; height:2px; background:var(--gray-500); }
.compare-col.good li::before { background:var(--emerald); }
.trial-bar { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; margin-top:26px; padding:16px 22px; border:1px dashed var(--gold); border-radius:14px; color:var(--text-muted); font-size:14px; }
.trial-bar b { color:var(--navy-800); }
.trial-bar .btn-trial { padding:9px 22px; border-radius:40px; background:var(--navy-800); color:#fff; font-weight:700; font-size:13px; }
.trial-bar .btn-trial:hover { background:var(--gold); color:var(--navy-900); }
@media (max-width:760px){ .compare { grid-template-columns:1fr; } }

.pricing-card .toman { font-size:13px; color:var(--gray-500); margin:-2px 0 8px; }
.rate-note { text-align:center; color:var(--text-muted); font-size:12px; margin-top:14px; }

/* ===== ویدیوی پس‌زمینه‌ی هدر: خط جداکننده و حالت بدون ویدیو ===== */
.header-video { background:radial-gradient(ellipse at 50% 120%,rgba(212,175,55,.22),transparent 60%),var(--navy-900); }
.header-video::before { content:''; position:absolute; top:0; left:0; width:100%; height:4px; background:linear-gradient(90deg,var(--gold),var(--gold-light),var(--gold)); z-index:10; }
.header-video.no-video video { display:none; }

/* ===== کارت‌های نسخه: هم‌ترازی ردیف دکمه‌ها ===== */
.pricing-grid { align-items:stretch; }
.pricing-card { display:flex; flex-direction:column; }
.pricing-card .desc { min-height:4.8em; }
.pricing-card ul { flex:1; }
.pricing-card .btn-buy { margin-top:auto; align-self:center; }

/* ===== صفحه‌ی قوانین ===== */
.legal { max-width:820px; margin:0 auto; background:var(--white); border:1px solid var(--gray-200); border-radius:18px; padding:34px 30px; line-height:2; }
.legal h2 { font-size:26px; margin-bottom:14px; }
.legal-intro { color:var(--text-muted); margin-bottom:18px; }
.legal ol { padding-inline-start:22px; display:flex; flex-direction:column; gap:12px; font-size:14.5px; }
.legal li b { color:var(--navy-800); }

/* ===== دانلودها ===== */
.cta-btns { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; align-items:center; }
.trial-btns { display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
.btn-dl { display:inline-flex; align-items:center; gap:8px; padding:12px 26px; border-radius:40px; background:transparent; color:var(--navy-800); border:2px solid var(--navy-800); font-weight:700; font-size:14px; cursor:pointer; font-family:inherit; transition:var(--t-fast); }
.btn-dl:hover:not(:disabled) { background:var(--navy-800); color:#fff; }
.btn-dl.soon, .btn-dl:disabled { opacity:.55; cursor:not-allowed; }
.trial-bar .btn-dl { padding:7px 18px; font-size:13px; }
.dl-tabs { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; margin-bottom:38px; }
.dl-tab { display:flex; flex-direction:column; gap:3px; padding:14px 28px; border-radius:16px; background:#fff; border:2px solid var(--gray-200); cursor:pointer; font-family:inherit; transition:var(--t-fast); min-width:200px; }
.dl-tab b { font-size:17px; color:var(--navy-800); }
.dl-tab span { font-size:12.5px; color:var(--gray-500); }
.dl-tab:hover { border-color:var(--gold); }
.dl-tab.active { background:var(--navy-800); border-color:var(--gold); }
.dl-tab.active b { color:#fff; }
.dl-tab.active span { color:rgba(255,255,255,.7); }
.dl-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:22px; max-width:1000px; margin:0 auto; }
.dl-card { position:relative; background:#fff; border-radius:22px; padding:32px 22px 24px; text-align:center; border:2px solid transparent; box-shadow:0 4px 15px rgba(0,0,0,.04); display:flex; flex-direction:column; gap:10px; }
.dl-card.dl-detected { border-color:var(--gold); background:#fffbeb; }
.dl-card.dl-detected::after { content:attr(data-badge); position:absolute; top:-13px; left:50%; transform:translateX(-50%); background:var(--gold); color:var(--navy-900); padding:3px 16px; border-radius:20px; font-size:11px; font-weight:700; white-space:nowrap; }
.dl-ico { font-size:42px; line-height:1; }
.dl-card h3 { font-size:20px; font-weight:800; color:var(--navy-800); }
.dl-sub { font-size:13px; color:var(--gray-500); margin-bottom:6px; }
.dl-main { display:block; padding:13px 18px; border-radius:40px; background:var(--emerald); color:#fff; font-weight:700; font-size:15px; text-decoration:none; border:none; cursor:pointer; font-family:inherit; transition:var(--t-fast); }
.dl-main:hover:not(:disabled) { background:var(--emerald-dark); transform:translateY(-2px); box-shadow:0 10px 30px rgba(16,185,129,.3); }
.dl-main small { font-weight:400; opacity:.85; }
.dl-main.dl-soon { background:#e2e8f0; color:var(--gray-500); cursor:default; }
.dl-meta { font-size:12.5px; color:var(--gray-500); }
.dl-notes { font-size:13px; color:var(--gray-700); line-height:1.9; white-space:pre-line; }
.dl-old { text-align:right; font-size:13px; }
.dl-old summary { cursor:pointer; color:var(--gray-700); font-weight:600; }
.dl-old a { display:flex; justify-content:space-between; gap:10px; padding:7px 4px; border-bottom:1px solid var(--gray-200); color:var(--navy-800); text-decoration:none; }
.dl-old a:hover { color:var(--emerald-dark); }
.dl-hint { font-size:12px; color:var(--gray-500); line-height:1.9; }

/* پنجره‌ی انتخاب روش دانلود */
.dlm-back { position:fixed; inset:0; z-index:9990; background:rgba(6,15,26,.72); display:flex; align-items:center; justify-content:center; padding:16px; }
.dlm { background:#fff; border-radius:22px; width:100%; max-width:420px; padding:28px 22px 22px; text-align:center; box-shadow:0 20px 60px rgba(0,0,0,.35); max-height:90vh; overflow:auto; }
.dlm h3 { font-size:19px; font-weight:800; color:var(--navy-800); margin-bottom:6px; }
.dlm p { font-size:13px; color:var(--gray-500); margin-bottom:16px; }
.dlm-opt { display:block; width:100%; padding:13px 18px; margin:9px 0; border-radius:40px; background:var(--navy-800); color:#fff; font-weight:700; font-size:15px; text-decoration:none; border:none; cursor:pointer; font-family:inherit; transition:var(--t-fast); box-sizing:border-box; }
.dlm-opt.direct { background:var(--emerald); }
.dlm-opt:hover { background:var(--gold); color:var(--navy-900); }
.dlm-x { margin-top:8px; background:none; border:none; color:var(--gray-500); cursor:pointer; font:inherit; font-size:13px; }

.dlm-opt:has(.dlm-logo) { display:grid; grid-template-columns:116px 1fr; align-items:center; gap:8px; padding:9px 14px; }
.dlm-opt:has(.dlm-logo) .dlm-logo { grid-column:1; grid-row:1; justify-self:start; }
.dlm-opt:has(.dlm-logo) .dlm-t { grid-column:2; grid-row:1; text-align:center; white-space:nowrap; }
.dlm-logo { height:44px; width:auto; max-width:150px; object-fit:contain; background:#fff; border-radius:8px; flex:none; }

/* ===== PRICING JUMP + DIAMOVIEW (indigo) ===== */
:root { --indigo:#2563eb; --indigo-light:#60a5fa; --indigo-dark:#1d4ed8; --indigo-deep:#1e3a8a; --indigo-bg:#eff6ff; }
#pr-capital, #pr-tools, #pr-acc { scroll-margin-top:24px; }
.pr-jump { display:flex; flex-wrap:wrap; gap:14px; justify-content:center; max-width:900px; margin:0 auto 46px; }
.pr-jump button { flex:1 1 230px; display:flex; align-items:center; gap:14px; background:#fff; border:2px solid var(--gray-200); border-top-width:4px; border-radius:18px; padding:14px 18px; cursor:pointer; font-family:inherit; text-align:right; transition:var(--t-fast); box-shadow:0 4px 15px rgba(0,0,0,.04); }
.pr-jump button .ic { font-size:28px; line-height:1; }
.pr-jump button b { display:block; font-size:15px; font-weight:800; color:var(--navy-800); }
.pr-jump button small { display:block; font-size:12px; color:var(--gray-500); margin-top:2px; }
.pr-jump button.cap { border-top-color:var(--gold); }
.pr-jump button.tool { border-top-color:var(--indigo); }
.pr-jump button.acc { border-top-color:var(--emerald); }
.pr-jump button:hover { transform:translateY(-4px); box-shadow:0 14px 34px rgba(10,22,40,.10); }
.pr-jump button.cap:hover { border-color:var(--gold); }
.pr-jump button.tool:hover { border-color:var(--indigo); }
.pr-jump button.acc:hover { border-color:var(--emerald); }
.ind-head .section-tag { color:var(--indigo); }
.pricing-card.ind-card:hover { border-color:var(--indigo); }
.pricing-card.ind-card .tier { background:var(--indigo-deep); }
.pricing-card.ind-card .price { color:var(--indigo); }
.pricing-card.ind-card ul li::before { color:var(--indigo); }
.pricing-card.ind-card .btn-buy:hover { background:var(--indigo); color:#fff; }
.ind-more { background:var(--indigo-bg); color:var(--indigo-dark); border:1.5px solid var(--indigo-light); border-radius:40px; padding:11px 26px; font-weight:700; font-size:14px; font-family:inherit; cursor:pointer; transition:var(--t-fast); }
.ind-more:hover { background:var(--indigo); color:#fff; border-color:var(--indigo); }

/* ===== POPULAR STARS (all colors) ===== */
.pricing-card.em-popular::after { content:'⭐'; position:absolute; top:-13px; left:50%; transform:translateX(-50%); background:var(--emerald); color:#fff; padding:3px 16px; border-radius:20px; font-size:11px; font-weight:700; white-space:nowrap; }
.pricing-card.ind-popular { border-color:var(--indigo); background:var(--indigo-bg); }
.pricing-card.ind-popular::after { content:'⭐'; position:absolute; top:-13px; left:50%; transform:translateX(-50%); background:var(--indigo); color:#fff; padding:3px 16px; border-radius:20px; font-size:11px; font-weight:700; white-space:nowrap; }
