@font-face {
  font-family: "IRANSansFaNum";
  src: url("../../HFonts/IRANSans(FaNum)_UltraLight.ttf") format("truetype");
  font-style: normal;
  font-weight: 200;
  font-display: swap;
}

@font-face {
  font-family: "IRANSansFaNum";
  src: url("../../HFonts/IRANSans(FaNum)_Light.ttf") format("truetype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "IRANSansFaNum";
  src: url("../../HFonts/IRANSans(FaNum).ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IRANSansFaNum";
  src: url("../../HFonts/IRANSans(FaNum)_Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "IRANSansFaNum";
  src: url("../../HFonts/IRANSans(FaNum)_Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "IRANSansFaNum";
  src: url("../../HFonts/IRANSans(FaNum)_Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "IRANSansFaNum";
  src: url("../../HFonts/IRANSans(FaNum)_Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

:root {
  --navy: #0b1230;
  --navy-2: #111a43;
  --blue: #243a89;
  --blue-2: #3155b7;
  --gold: #f4b400;
  --gold-2: #ffd45a;
  --ink: #131827;
  --muted: #667085;
  --line: #e6e9f0;
  --surface: #f6f8fc;
  --white: #fff;
  --success: #16855b;
  --danger: #c23939;
  --shadow: 0 18px 60px rgba(12, 18, 48, .10);
  --shadow-soft: 0 10px 32px rgba(12, 18, 48, .08);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  direction: rtl;
  color: var(--ink);
  background: var(--white);
  font-family: "IRANSansFaNum", Tahoma, Arial, sans-serif;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; font-family: "IRANSansFaNum", Tahoma, Arial, sans-serif; }
button { cursor: pointer; }
svg { display: block; }

.container { width: min(calc(100% - 36px), var(--container)); margin-inline: auto; }
.section { padding: 92px 0; }
.section-soft { background: var(--surface); }
.section-dark { background: var(--navy); color: var(--white); }
.section-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }
.section-head.align-start { margin-inline: 0; text-align: right; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-2);
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 10px;
}
.section-dark .eyebrow { color: var(--gold-2); }
.eyebrow::before { content: ""; width: 24px; height: 3px; border-radius: 10px; background: var(--gold); }
.section-title { margin: 0; font-size: clamp(27px, 4vw, 42px); line-height: 1.35; letter-spacing: -.4px; }
.section-desc { margin: 16px 0 0; color: var(--muted); font-size: 16px; }
.section-dark .section-desc { color: #cbd2ea; }

.topbar { background: #071022; color: #dbe1f3; font-size: 13px; }
.topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: flex-start; gap: 20px; }
.topbar-links { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar a:hover { color: var(--gold-2); }
.phone-link { display: inline-flex; align-items: center; gap: 6px; }
.phone-inline { display: inline-block; direction: ltr; unicode-bidi: isolate; letter-spacing: .3px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(12,18,48,.06);
}
.nav { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 900; font-size: 21px; color: var(--navy); flex-shrink: 0; }
.brand img { width: 42px; height: 42px; background: var(--navy); border-radius: 12px; padding: 6px; object-fit: contain; }
.brand small { display: block; color: var(--muted); font-size: 10px; font-weight: 500; line-height: 1; margin-top: 4px; }
.nav-menu { display: flex; align-items: center; gap: 24px; list-style: none; margin: 0; padding: 0; font-size: 14px; font-weight: 700; }
.nav-menu a { transition: color .2s ease; }
.nav-menu a:hover { color: var(--blue-2); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  align-items: center;
  justify-content: center;
  padding: 0;
}
.menu-toggle span, .menu-toggle::before, .menu-toggle::after {
  content: "";
  display: block;
  width: 19px;
  height: 2px;
  background: var(--navy);
  border-radius: 10px;
  transition: .2s ease;
}
.menu-toggle span { margin: 4px 0; }

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 13px;
  border: 1px solid transparent;
  padding: 10px 18px;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gold); color: #1a1a1a; box-shadow: 0 10px 24px rgba(244,180,0,.24); }
.btn-primary:hover { background: #ffbf11; }
.btn-dark { background: var(--navy); color: var(--white); box-shadow: 0 10px 24px rgba(11,18,48,.18); }
.btn-outline { border-color: #d6dbe9; color: var(--navy); background: var(--white); }
.btn-ghost { color: var(--white); border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.08); }
.btn-ghost-light { color: var(--white); border-color: rgba(255,255,255,.24); background: rgba(255,255,255,.10); }
.btn-ghost-light:hover { background: rgba(255,255,255,.16); }
.btn-small { min-height: 40px; padding: 7px 13px; font-size: 13px; }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 25%, rgba(76,102,220,.25), transparent 28%),
    linear-gradient(118deg, #08112f 0%, #111b4e 55%, #0e2552 100%);
  color: var(--white);
  min-height: 660px;
  display: flex;
  align-items: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: 76px 0; }
.hero-badge { display: inline-flex; gap: 9px; align-items: center; padding: 7px 12px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.08); border-radius: 999px; color: #eef1ff; font-size: 13px; }
.hero-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 6px rgba(244,180,0,.11); }
.hero h1 { font-size: clamp(38px, 5.4vw, 67px); line-height: 1.25; margin: 22px 0 20px; letter-spacing: -1.2px; }
.hero h1 span { color: var(--gold-2); }
.hero p { color: #d2d8ec; margin: 0; max-width: 690px; font-size: 17px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero-points { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 28px; color: #e7eaff; font-size: 13px; }
.hero-points span { display: inline-flex; align-items: center; gap: 8px; }
.hero-points span::before { content: "✓"; display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; color: #111; background: var(--gold); font-size: 12px; font-weight: 900; }
.hero-visual { position: relative; }
.hero-visual::before { content: ""; position: absolute; inset: -18px 38px 18px -18px; border: 1px solid rgba(255,255,255,.13); border-radius: 30px; transform: rotate(3deg); }
.hero-card { position: relative; overflow: hidden; border-radius: 28px; box-shadow: 0 35px 90px rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06); }
.hero-card img { width: 100%; aspect-ratio: 1.25; object-fit: cover; object-position: center; }
.hero-float { position: absolute; right: 22px; bottom: 22px; left: auto; max-width: 255px; background: linear-gradient(180deg, rgba(9,18,48,.88), rgba(14,28,74,.94)); color: var(--white); padding: 16px 18px; border-radius: 18px; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 20px 42px rgba(3,10,29,.36); backdrop-filter: blur(8px); text-align: right; }
.hero-float::before { content: ""; position: absolute; top: 16px; right: 0; bottom: 16px; width: 4px; border-radius: 99px; background: linear-gradient(180deg, var(--gold-2), var(--gold)); }
.hero-float em { display: inline-flex; font-style: normal; padding: 4px 10px; margin: 0 0 9px; border-radius: 999px; background: rgba(255,255,255,.10); color: #eef2ff; font-size: 11px; font-weight: 700; }
.hero-float strong { display: block; font-size: 23px; line-height: 1.35; margin-right: 10px; }
.hero-float span { display: block; font-size: 12px; color: #d5ddf6; margin-top: 6px; margin-right: 10px; line-height: 1.8; }

.quick-stats { margin-top: -44px; position: relative; z-index: 5; }
.stats-card { display: grid; grid-template-columns: repeat(4,1fr); background: var(--white); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); overflow: hidden; }
.stat { padding: 24px; text-align: center; position: relative; }
.stat:not(:last-child)::after { content: ""; position: absolute; left: 0; top: 24%; height: 52%; width: 1px; background: var(--line); }
.stat strong { display: block; color: var(--navy); font-size: 25px; line-height: 1.3; }
.stat span { display: block; color: var(--muted); margin-top: 4px; font-size: 13px; }

.solution-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.solution-card { position: relative; min-height: 360px; border-radius: var(--radius); overflow: hidden; color: var(--white); box-shadow: var(--shadow-soft); }
.solution-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.solution-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,14,44,.96) 10%, rgba(6,14,44,.34) 72%, rgba(6,14,44,.08)); }
.solution-card-content { position: absolute; z-index: 2; inset-inline: 22px; bottom: 22px; }
.solution-card h3 { margin: 0 0 8px; font-size: 24px; }
.solution-card p { margin: 0; color: #dfe4f6; font-size: 14px; }
.solution-tag { display: inline-flex; margin-bottom: 13px; background: var(--gold); color: #111; border-radius: 999px; padding: 4px 10px; font-size: 11px; font-weight: 900; }

.product-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.product-card { border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 6px 28px rgba(12,18,48,.05); }
.product-image { aspect-ratio: 1.45; overflow: hidden; background: #edf1f7; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.product-card:hover .product-image img { transform: scale(1.035); }
.product-body { padding: 23px; }
.product-body h3 { margin: 0 0 9px; color: var(--navy); font-size: 21px; }
.product-body p { margin: 0; color: var(--muted); font-size: 14px; }
.product-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pill { display: inline-flex; align-items: center; border-radius: 999px; background: #f0f3fa; color: #4d5d87; padding: 5px 9px; font-size: 11px; font-weight: 700; }

.services-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 34px; align-items: start; }
.service-intro { position: sticky; top: 110px; }
.service-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.service-card { display: flex; gap: 15px; padding: 20px; border-radius: 18px; border: 1px solid var(--line); background: var(--white); min-height: 170px; }
.service-icon { width: 48px; height: 48px; flex: 0 0 48px; display: grid; place-items: center; border-radius: 14px; background: #eef2ff; color: var(--blue-2); font-size: 22px; font-weight: 900; }
.service-card h3 { margin: 1px 0 7px; font-size: 17px; color: var(--navy); }
.service-card p { margin: 0; color: var(--muted); font-size: 13px; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.video-card { position: relative; border-radius: 28px; overflow: hidden; background: #060d24; min-height: 440px; box-shadow: var(--shadow); }
.video-card video, .video-card .video-poster { width: 100%; height: 100%; min-height: 440px; object-fit: cover; }
.video-overlay { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(to top, rgba(4,10,34,.72), rgba(4,10,34,.10)); transition: opacity .25s ease; }
.video-card.is-playing .video-overlay { opacity: 0; pointer-events: none; }
.play-btn { width: 72px; height: 72px; border: 0; border-radius: 50%; background: var(--gold); color: #111; display: grid; place-items: center; font-size: 24px; box-shadow: 0 12px 35px rgba(244,180,0,.35); }
.about-list { display: grid; gap: 13px; margin-top: 25px; }
.about-item { display: flex; gap: 12px; align-items: flex-start; }
.about-item i { font-style: normal; width: 27px; height: 27px; border-radius: 50%; flex: 0 0 27px; display: grid; place-items: center; background: #fff2c5; color: #9c7100; font-weight: 900; }
.about-item strong { display: block; color: var(--navy); margin-bottom: 3px; }
.about-item span { color: var(--muted); font-size: 13px; }

.client-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 12px; align-items: stretch; }
.client-card { min-height: 112px; display: grid; place-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.client-card img { max-height: 70px; max-width: 110px; object-fit: contain; filter: saturate(.9); }

.testimonials { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.quote-card { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 24px; box-shadow: 0 8px 28px rgba(12,18,48,.05); }
.quote-mark { font-size: 46px; color: var(--gold); line-height: 1; height: 30px; }
.quote-card p { color: #465064; font-size: 14px; margin: 12px 0 20px; }
.quote-person { border-top: 1px solid var(--line); padding-top: 15px; }
.quote-person strong { display: block; color: var(--navy); }
.quote-person span { color: var(--muted); font-size: 12px; }

.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.blog-card { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--white); transition: transform .2s ease, box-shadow .2s ease; }
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.blog-card-media { aspect-ratio: 1.65; background: #edf1f8; padding: 22px; display: grid; place-items: center; }
.blog-card-media img { width: 100%; height: 100%; object-fit: contain; }
.blog-card-body { padding: 20px; }
.blog-card-body h3 { margin: 7px 0 8px; color: var(--navy); font-size: 17px; line-height: 1.65; }
.blog-card-body p { color: var(--muted); margin: 0; font-size: 13px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-meta { font-size: 11px; color: #7b8497; display: flex; justify-content: space-between; gap: 10px; margin-top: 16px; }
.blog-link { display: inline-flex; margin-top: 15px; color: var(--blue-2); font-size: 13px; font-weight: 900; }

.cta-band { background: linear-gradient(125deg, #12205a, #0b1230); border-radius: 28px; padding: 42px; color: var(--white); display: flex; align-items: center; justify-content: space-between; gap: 28px; overflow: hidden; position: relative; }
.cta-band::before { content: ""; position: absolute; width: 280px; height: 280px; border-radius: 50%; background: rgba(244,180,0,.12); left: -80px; top: -120px; }
.cta-band h2 { margin: 0; font-size: clamp(26px, 4vw, 38px); }
.cta-band p { margin: 10px 0 0; color: #d9def0; }
.cta-band > * { position: relative; z-index: 1; }

.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 30px; align-items: start; }
.contact-panel { background: var(--navy); color: var(--white); border-radius: 24px; padding: 28px; }
.contact-panel h3 { margin: 0 0 12px; font-size: 24px; }
.contact-panel p { color: #cad1e9; margin: 0 0 23px; }
.contact-item { display: grid; grid-template-columns: 38px 1fr; gap: 12px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.11); }
.contact-item:first-of-type { border-top: 0; }
.contact-item-icon { width: 38px; height: 38px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: var(--gold-2); }
.contact-item strong { display: block; margin-bottom: 3px; }
.contact-item span, .contact-item a { color: #cbd2e8; font-size: 13px; }
.form-card { border: 1px solid var(--line); border-radius: 24px; padding: 28px; background: var(--white); box-shadow: 0 10px 34px rgba(12,18,48,.05); }
.form-card h3 { margin: 0 0 6px; color: var(--navy); }
.form-card > p { margin: 0 0 20px; color: var(--muted); font-size: 13px; }
.form-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.field { display: grid; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12px; font-weight: 800; color: #3c465c; }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid #dce1ea; background: #fbfcfe; color: var(--ink); border-radius: 12px; min-height: 48px; padding: 11px 13px; outline: none; transition: border .18s ease, box-shadow .18s ease;
}
.field textarea { min-height: 118px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: #8ea0d6; box-shadow: 0 0 0 4px rgba(49,85,183,.09); }
.form-note { margin-top: 11px; color: var(--muted); font-size: 11px; }
.form-status { margin-top: 12px; min-height: 24px; font-size: 13px; font-weight: 800; }
.form-status.ok { color: var(--success); }
.form-status.err { color: var(--danger); }

.site-footer { background: #070d20; color: #d1d7e7; padding: 64px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .7fr .9fr 1fr; gap: 30px; }
.footer-brand p { max-width: 410px; font-size: 13px; color: #aeb7ce; }
.footer-title { color: var(--white); font-size: 14px; margin: 4px 0 15px; }
.footer-links { display: grid; gap: 9px; font-size: 13px; }
.footer-links a { color: #aeb7ce; }
.footer-links a:hover { color: var(--gold-2); }
.social-links { display: flex; gap: 10px; margin-top: 18px; }
.social-links a { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.13); border-radius: 12px; display: grid; place-items: center; color: #e9eefc; background: rgba(255,255,255,.03); transition: background .18s ease, border-color .18s ease, transform .18s ease; }
.social-links a:hover { background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.26); transform: translateY(-1px); }
.social-links svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); margin-top: 42px; padding-top: 18px; display: flex; justify-content: space-between; gap: 16px; color: #8d97af; font-size: 11px; }

.modal { position: fixed; inset: 0; z-index: 1200; display: none; place-items: center; padding: 20px; }
.modal.is-open { display: grid; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(4,8,22,.66); backdrop-filter: blur(6px); }
.modal-dialog { position: relative; width: min(100%, 620px); max-height: calc(100vh - 40px); overflow: auto; background: var(--white); border-radius: 24px; box-shadow: 0 40px 120px rgba(0,0,0,.35); padding: 28px; }
.modal-close { position: absolute; left: 18px; top: 18px; width: 38px; height: 38px; border: 1px solid var(--line); background: var(--white); border-radius: 11px; font-size: 20px; }
.modal-dialog h2 { margin: 0 0 7px; color: var(--navy); }
.modal-dialog > p { margin: 0 0 22px; color: var(--muted); font-size: 13px; }

.downloads-modal-dialog {
  width: min(100%, 720px);
  padding: 0;
  overflow: hidden;
  background: var(--white);
}
.downloads-modal-dialog .modal-close {
  z-index: 4;
  background: rgba(255,255,255,.92);
  box-shadow: 0 6px 18px rgba(10,18,48,.12);
}
.downloads-modal-head {
  position: relative;
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 18px;
  align-items: center;
  padding: 30px 30px 25px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 15% 10%, rgba(244,180,0,.22), transparent 32%),
    linear-gradient(135deg, #0b1230 0%, #172c72 100%);
}
.downloads-modal-head::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  left: -90px;
  bottom: -170px;
  border-radius: 50%;
  border: 38px solid rgba(255,255,255,.035);
}
.downloads-modal-head > * { position: relative; z-index: 1; }
.downloads-head-icon {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #17203f;
  box-shadow: 0 14px 30px rgba(244,180,0,.22);
}
.downloads-head-icon svg { width: 31px; height: 31px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.downloads-kicker { display: block; color: #ffd967; font-size: 12px; font-weight: 800; margin-bottom: 3px; }
.downloads-modal-head h2 { margin: 0; color: var(--white); font-size: clamp(24px, 4vw, 34px); line-height: 1.5; }
.downloads-modal-head p { margin: 5px 0 0; color: #d5dcf3; font-size: 13px; }
.downloads-list {
  display: grid;
  gap: 11px;
  max-height: min(52vh, 470px);
  overflow: auto;
  padding: 18px 20px 8px;
  scrollbar-width: thin;
  scrollbar-color: #c8cfdd transparent;
}
.download-item {
  display: grid;
  grid-template-columns: 58px minmax(0,1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 82px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fbfcff;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.download-item:hover {
  transform: translateY(-1px);
  border-color: #c9d3eb;
  background: var(--white);
  box-shadow: 0 10px 25px rgba(12,18,48,.07);
}
.download-item-icon {
  position: relative;
  width: 58px;
  height: 58px;
  overflow: hidden;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #eef2fb;
  border: 1px solid #e1e6f2;
}
.download-item-icon img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  background: #fff;
}
.download-icon-fallback { color: var(--blue-2); display: grid; place-items: center; }
.download-icon-fallback svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.download-item-content { min-width: 0; display: grid; gap: 3px; }
.download-item-content strong { color: var(--navy); font-size: 15px; line-height: 1.7; }
.download-item-content small { color: var(--muted); font-size: 11px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.download-item-action {
  min-width: 78px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 10px;
  border-radius: 11px;
  background: #edf2ff;
  color: var(--blue-2);
  font-size: 12px;
  font-weight: 900;
}
.download-item-action svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transform: rotate(180deg); }
.downloads-loading {
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: var(--muted);
}
.downloads-loading span { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-2); animation: downloadsPulse .8s infinite alternate; }
.downloads-loading span:nth-child(2) { animation-delay: .15s; }
.downloads-loading span:nth-child(3) { animation-delay: .3s; }
.downloads-loading em { margin-right: 8px; font-style: normal; font-size: 12px; }
@keyframes downloadsPulse { to { opacity: .25; transform: translateY(-3px); } }
.downloads-empty, .downloads-error {
  min-height: 145px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 4px;
  text-align: center;
  padding: 24px;
  border-radius: 18px;
  background: #f8faff;
  border: 1px dashed #ccd5e6;
}
.downloads-empty strong, .downloads-error strong { color: var(--navy); font-size: 15px; }
.downloads-empty span, .downloads-error span { color: var(--muted); font-size: 11px; }
.downloads-error { background: #fff9f9; border-color: #efcaca; }
.downloads-error strong { color: #9d3232; }
.downloads-footnote { padding: 11px 20px 18px; color: #8a94a8; font-size: 10px; text-align: center; }
.code-chip { direction: ltr; unicode-bidi: isolate; display: inline-block; padding: 2px 6px; border-radius: 6px; background: #f1f3f8; color: #4f5b73; font-family: Consolas, monospace; }

.sales-modal-dialog { width: min(100%, 560px); padding: 0; overflow: hidden; background: transparent; }
.sales-modal-dialog .modal-close { left: 16px; top: 16px; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.16); color: var(--white); z-index: 2; }
.sales-modal-body { position: relative; overflow: hidden; padding: 34px 30px 28px; color: var(--white); background: radial-gradient(circle at top right, rgba(255,212,90,.22), transparent 34%), linear-gradient(135deg, #0d1740 0%, #12256b 100%); }
.sales-modal-body::before { content: ""; position: absolute; width: 230px; height: 230px; left: -70px; bottom: -80px; border-radius: 50%; background: rgba(255,255,255,.06); }
.sales-modal-body > * { position: relative; z-index: 1; }
.sales-modal-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.13); color: #eef2ff; font-size: 12px; font-weight: 700; }
.sales-modal-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(244,180,0,.15); }
.sales-modal-body h2 { margin: 16px 0 10px; color: var(--white); font-size: clamp(28px, 4vw, 38px); line-height: 1.4; }
.sales-modal-lead { margin: 0; color: #d7def6; font-size: 14px; line-height: 2; }
.sales-person-card { margin-top: 22px; display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: 22px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.11); backdrop-filter: blur(8px); }
.sales-avatar { position: relative; width: 74px; height: 74px; border-radius: 22px; flex: 0 0 74px; display: grid; place-items: center; background: linear-gradient(180deg, #ffe482, #f4b400); color: #1f1f1f; box-shadow: 0 12px 28px rgba(244,180,0,.24); overflow: hidden; }
.sales-avatar::after { content: "مدیر"; position: absolute; bottom: 6px; left: 6px; padding: 2px 6px; border-radius: 999px; background: rgba(11,18,48,.92); color: var(--white); font-size: 9px; font-weight: 800; line-height: 1.6; }
.sales-avatar-svg { width: 100%; height: 100%; display: block; }
.sales-person-meta { display: grid; gap: 2px; }
.sales-role { color: #d0d9fb; font-size: 12px; }
.sales-person-meta strong { font-size: 24px; line-height: 1.45; }
.sales-phone-link { display: inline-flex; align-items: center; margin-top: 5px; font-size: 21px; font-weight: 900; color: var(--gold-2); }
.sales-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.sales-actions .btn { min-width: 170px; }
.sales-modal-note { margin-top: 14px; color: #c6d1f2; font-size: 12px; }

.page-hero { background: linear-gradient(120deg, #0b1230, #152867); color: var(--white); padding: 76px 0; }
.page-hero h1 { margin: 0 0 10px; font-size: clamp(32px, 5vw, 52px); }
.page-hero p { margin: 0; color: #d0d7ed; max-width: 720px; }
.breadcrumbs { color: #b6c0dd; font-size: 12px; margin-bottom: 13px; }
.breadcrumbs a:hover { color: var(--gold-2); }

.blog-page-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.blog-toolbar { display: flex; justify-content: space-between; gap: 14px; margin-bottom: 28px; flex-wrap: wrap; }
.search-input { width: min(100%, 380px); border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; min-height: 46px; }
.empty-state { padding: 44px 20px; text-align: center; border: 1px dashed #cfd5e2; border-radius: 18px; color: var(--muted); background: #fafbfe; }

.article-shell { width: min(calc(100% - 36px), 900px); margin: 0 auto; }
.article-card { margin-top: -38px; position: relative; z-index: 3; background: var(--white); border-radius: 24px; box-shadow: var(--shadow); padding: clamp(24px,5vw,50px); }
.article-cover { max-height: 430px; width: 100%; object-fit: contain; background: #f5f7fb; border-radius: 18px; padding: 18px; margin-bottom: 24px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 12px; margin-bottom: 18px; }
.article-title { font-size: clamp(28px,5vw,44px); line-height: 1.5; color: var(--navy); margin: 0 0 20px; }
.article-content { color: #343d50; line-height: 2.05; font-size: 15px; }
.article-content h2, .article-content h3, .article-content h4 { color: var(--navy); margin-top: 28px; line-height: 1.65; }
.article-content img { border-radius: 16px; margin: 18px auto; }
.article-source { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }

.version-toolbar { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.version-toolbar select, .version-toolbar input { min-height: 46px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--white); }
.version-toolbar input { flex: 1 1 280px; }
.version-list { display: grid; gap: 12px; }
.version-card { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--white); }
.version-toggle { width: 100%; border: 0; background: var(--white); min-height: 62px; padding: 15px 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: right; color: var(--navy); font-weight: 900; }
.version-toggle::after { content: "+"; width: 28px; height: 28px; border-radius: 50%; background: #f0f3f9; display: grid; place-items: center; flex: 0 0 auto; }
.version-card.open .version-toggle::after { content: "−"; }
.version-content { display: none; border-top: 1px solid var(--line); padding: 18px; }
.version-card.open .version-content { display: block; }
.version-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.version-group h4 { margin: 0 0 10px; color: var(--navy); }
.version-group ul { margin: 0; padding-right: 18px; color: #4a5367; }
.version-group li { margin-bottom: 7px; }

.support-page { min-height: 100vh; background: var(--surface); padding: 48px 0; }
.support-card { width: min(calc(100% - 32px), 800px); margin: auto; background: var(--white); border-radius: 24px; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 32px; }
.support-card ol { padding-right: 22px; }
.support-card li { margin-bottom: 12px; }
.copy-value { color: var(--blue-2); font-weight: 900; cursor: pointer; word-break: break-all; }

.payment-page { min-height: 100vh; display: grid; place-items: center; background: #f3f6fb; padding: 20px; }
.payment-card { width: min(100%, 560px); background: var(--white); border-radius: 24px; box-shadow: var(--shadow); padding: 28px; text-align: center; }
.payment-state { display: none; padding: 25px 18px; border-radius: 18px; margin-top: 18px; }
.payment-state.show { display: block; }
.payment-state.success { background: #e8f7f1; color: #126645; }
.payment-state.error { background: #fdecec; color: #8f2c2c; }
.payment-icon { width: 60px; height: 60px; margin: 0 auto 12px; }
.loading-dots { display: inline-flex; gap: 5px; }
.loading-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue-2); animation: blink 1s infinite alternate; }
.loading-dots i:nth-child(2){ animation-delay:.18s; }.loading-dots i:nth-child(3){ animation-delay:.36s; }
@keyframes blink { to { opacity: .2; transform: translateY(-3px); } }

.not-found { min-height: 100vh; display: grid; place-items: center; background: linear-gradient(130deg,#0a1230,#182b69); color: var(--white); padding: 24px; text-align: center; }
.not-found strong { font-size: clamp(90px, 18vw, 180px); line-height: .9; color: var(--gold); display: block; }
.not-found h1 { font-size: 28px; }
.not-found p { color: #ccd3e8; }

@media (max-width: 1050px) {
  .nav-menu { gap: 15px; }
  .nav-menu li:nth-child(4), .nav-menu li:nth-child(5) { display: none; }
  .hero-inner { grid-template-columns: 1fr 1fr; gap: 30px; }
  .services-layout { grid-template-columns: 1fr; }
  .service-intro { position: static; }
  .client-grid { grid-template-columns: repeat(4,1fr); }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-grid > :last-child { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .topbar { display: none; }
  .nav { min-height: 68px; }
  .menu-toggle { display: inline-flex; flex-direction: column; }
  .nav-actions .btn-outline { display: none; }
  .nav-menu {
    position: fixed;
    top: 68px;
    right: 0;
    left: 0;
    display: none;
    padding: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 45px rgba(12,18,48,.10);
  }
  .nav-menu.open { display: flex; }
  .nav-menu li, .nav-menu li:nth-child(4), .nav-menu li:nth-child(5) { display: block; }
  .nav-menu a { display: block; padding: 10px 4px; }
  .hero { min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; padding: 60px 0 90px; }
  .hero-visual { max-width: 620px; margin: 0 auto; width: 100%; }
  .hero-float { right: 14px; left: auto; bottom: 14px; max-width: 225px; }
  .stats-card { grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(2)::after { display: none; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .solution-grid, .product-grid, .blog-grid, .blog-page-grid, .testimonials { grid-template-columns: 1fr; }
  .solution-card { min-height: 320px; }
  .service-list { grid-template-columns: 1fr; }
  .about-grid, .contact-layout { grid-template-columns: 1fr; }
  .client-grid { grid-template-columns: repeat(3,1fr); }
  .cta-band { align-items: flex-start; flex-direction: column; padding: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :last-child { grid-column: auto; }
  .version-cols { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 24px), var(--container)); }
  .section { padding: 70px 0; }
  .nav-actions .btn-primary { display: none; }
  .brand { font-size: 18px; }
  .brand img { width: 38px; height: 38px; }
  .hero h1 { font-size: 39px; }
  .hero p { font-size: 15px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .hero-float { position: static; max-width: none; margin-top: 12px; }
  .hero-float strong { font-size: 21px; margin-right: 0; }
  .hero-float span { margin-right: 0; }
  .hero-float::before { display: none; }
  .hero-visual::before { display: none; }
  .quick-stats { margin-top: -32px; }
  .stat { padding: 18px 8px; }
  .stat strong { font-size: 20px; }
  .stat span { font-size: 11px; }
  .client-grid { grid-template-columns: repeat(2,1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .modal-dialog { padding: 22px 16px; border-radius: 18px; }
  .downloads-modal-dialog { padding: 0; border-radius: 18px; }
  .downloads-modal-head { grid-template-columns: 52px 1fr; gap: 12px; padding: 24px 18px 20px; }
  .downloads-head-icon { width: 52px; height: 52px; border-radius: 16px; }
  .downloads-head-icon svg { width: 25px; height: 25px; }
  .downloads-modal-head h2 { font-size: 23px; }
  .downloads-modal-head p { font-size: 11px; }
  .downloads-list { padding: 14px 12px 6px; max-height: 55vh; }
  .download-item { grid-template-columns: 48px minmax(0,1fr); gap: 10px; padding: 10px; }
  .download-item-icon { width: 48px; height: 48px; border-radius: 13px; }
  .download-item-action { grid-column: 1 / -1; width: 100%; min-height: 36px; }
  .downloads-footnote { padding: 10px 12px 14px; }
  .sales-modal-dialog { padding: 0; }
  .sales-modal-body { padding: 28px 18px 22px; }
  .sales-person-card { align-items: flex-start; padding: 16px; }
  .sales-avatar { width: 68px; height: 68px; flex-basis: 68px; }
  .sales-person-meta strong { font-size: 22px; }
  .sales-phone-link { font-size: 18px; }
  .sales-actions { display: grid; grid-template-columns: 1fr; }
  .sales-actions .btn { width: 100%; min-width: 0; }
  .article-card { padding: 24px 17px; border-radius: 19px; }
  .support-card { padding: 24px 18px; }
}


.download-nav-item { display: flex; align-items: center; }
.download-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffd967 0%, #f4b400 100%);
  color: #161616 !important;
  font-weight: 900 !important;
  box-shadow: 0 12px 28px rgba(244,180,0,.24);
  border: 1px solid rgba(244,180,0,.45);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  white-space: nowrap;
}
.download-nav-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(244,180,0,.30);
  filter: brightness(1.02);
}
.download-nav-link .download-nav-icon {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(11,18,48,.10);
  color: #0b1230;
  flex: 0 0 24px;
}
.download-nav-link .download-nav-icon svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.download-nav-link span:last-child { line-height: 1; }

/* Download launcher for utility pages that do not have the main navigation */
.download-floating-trigger {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 1050;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 16px;
  border: 1px solid rgba(244,180,0,.42);
  border-radius: 15px;
  background: linear-gradient(180deg, #ffd967 0%, #f4b400 100%);
  color: #161616;
  box-shadow: 0 16px 40px rgba(244,180,0,.28);
  font: inherit;
  font-weight: 900;
}
.download-floating-trigger:hover { transform: translateY(-1px); box-shadow: 0 18px 44px rgba(244,180,0,.34); filter: brightness(1.02); }
.download-floating-trigger svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.download-floating-trigger span { line-height: 1; }
@media (max-width: 820px) {
  .nav-menu .download-nav-link { width: 100%; justify-content: center; border-radius: 14px; margin-top: 8px; }
}
@media (max-width: 560px) {
  .download-floating-trigger { left: 12px; bottom: 12px; min-height: 44px; padding: 8px 12px; font-size: 12px; }
}
