:root{
  --bg:#0b1020;
  --card:#0f162d;
  --muted:#90a0b6;
  --text:#e7ecf5;
  --primary:#6ea8fe;
  --primary-2:#4f87f7;
  --accent:#36d399;
  --ring: rgba(110,168,254,.35);
  --border: #7a86ac;
  --surface:#0d1329;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --card-bg: #0a1022;
  --text-color: #f9fafb;

}
/* Light Theme */
:root[data-theme="light"] {
  --card-bg: #ffffff;
  --text-color: #111827;
  --muted: #4b5563;
  --border: #d1d5db;
  --shadow: 0 4px 12px rgba(0,0,0,.1);
}
*{box-sizing:border-box}
html {
  min-height: 100%;
  background: linear-gradient(180deg, var(--bg), #090d1b) fixed; /* ثابت */
}

body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.6;
  background: transparent; /* از body برداشته شد */
}

a{color:inherit;text-decoration:none;transition:color .25s ease, background .25s ease}
img{max-width:100%;display:block}
.container{max-width:1200px;margin:0 auto;padding:0 24px}

main {
  flex: 1; /* Push footer down */
  display: flex;
  flex-direction: column;
  margin-top: 64px;
}


.brand-logo {
  height: 55px;
  margin-right: 2px;
}
.foot-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.foot-logo {
  height: 55px;
}


/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(9,13,27, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.brand{display:flex;align-items:center;gap:10px;font-weight:800;letter-spacing:.4px}
.brand-badge{width:32px;height:32px;border-radius:10px;background:linear-gradient(135deg,var(--primary),var(--accent));box-shadow:0 6px 18px rgba(79,135,247,.45), 0 0 12px rgba(54,211,153,.35)}
.menu{display:flex;gap:18px;align-items:center}
.menu a{color:var(--muted);font-weight:500;padding:8px 10px;border-radius:10px;transition:background .25s ease, color .25s ease}
.menu a:hover,.menu a.active{color:var(--text);background:rgba(110,168,254,.12)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:12px;font-weight:600;transition:transform .15s ease, box-shadow .25s ease}
.btn.primary{background:linear-gradient(135deg,var(--primary),var(--primary-2));color:#0b1020;padding:10px 14px;border:1px solid #7fb5ff;box-shadow:0 6px 16px rgba(110,168,254,.35)}
.btn.ghost{border:1px solid var(--border);padding:10px 14px;background:#0b1127}
.btn:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(110,168,254,.25)}
.menu-toggle{display:none;background:none;border:0;color:var(--text);font-size:22px}

.header-controls{display:flex;align-items:center;gap:10px;margin-left:10px}
.toggle-btn,.lang-switcher{border:1px solid var(--border);background:#0b1127;color:var(--text);border-radius:10px;padding:6px 10px;cursor:pointer;transition:background .25s ease, color .25s ease, border-color .25s ease}
.toggle-btn:hover,.lang-switcher:hover{background:rgba(110,168,254,.15);border-color:var(--primary)}

@media (max-width: 860px){
  .menu{display:none;position:absolute;left:0;top:64px;right:0;background:rgba(9,13,27,.95);border-bottom:1px solid var(--border);padding:12px 16px;flex-direction:column;gap:6px;opacity:0;transform:translateY(-10px);transition:opacity .3s ease, transform .3s ease}
  .menu.open{display:flex;opacity:1;transform:translateY(0)}
  .menu .cta{display:flex;gap:8px}
  .menu-toggle{display:block}
}

/* Hero */
.hero{padding:72px 0 32px;border-bottom:1px solid var(--border);background:
  radial-gradient(1000px 400px at 50% -10%,rgba(110,168,254,.15),transparent 70%),
  radial-gradient(800px 300px at 80% 10%,rgba(54,211,153,.12),transparent 70%)}
.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center}
@media (max-width: 980px){.hero-grid{grid-template-columns:1fr;gap:26px}}
.eyebrow{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--border);background:rgba(13,19,41,.8);border-radius:999px;padding:6px 12px;color:var(--muted);font-size:13px}
.eyebrow .dot{width:8px;height:8px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 6px rgba(54,211,153,.12)}
h1{font-size:42px;line-height:1.15;margin:16px 0 10px;letter-spacing:.2px}
.lead{color:#374151;font-size:18px}
.hero-cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}
.hero-card{border:1px solid var(--border);border-radius:16px;background:linear-gradient(180deg,#0c132b,#0a1125);box-shadow:var(--shadow);padding:18px}
.hero-code{font-family: ui-monospace,SFMono-Regular,Menlo,Consolas,"Liberation Mono",monospace;background:#0a1022;border-radius:12px;border:1px solid #1a2445;padding:14px;overflow:auto;font-size:13px;color:#374151}
.tag{display:inline-flex;align-items:center;gap:6px;border:1px dashed #203057;color:#b9c7de;border-radius:999px;padding:6px 10px;font-size:12px}

/* Section base */
section{padding: 30px 0;border-bottom: 1px solid var(--border);margin-bottom: 30px !important;}

section h2{font-size:28px;margin:0 0 12px}
section p.section-lead{color:var(--muted);margin:0 0 24px}
.section-lead {
  max-width: 700px;
  margin: 0 auto 24px;
  line-height: 1.6;
  padding: 0 10px; /* فاصله کناری توی موبایل */
  text-align: center;
  word-break: break-word;
}

/* How it works */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
@media (max-width: 980px){.steps{grid-template-columns:1fr}}
.step{border:1px solid var(--border);background:var(--surface);border-radius:16px;padding:18px;position:relative}
.step .num{position:absolute;right:16px;top:14px;color:#7fa1ff;font-weight:800;font-size:22px;opacity:.5}
.step h3{margin:0 0 6px;font-size:18px}
.step p{margin:0;color:#374151}

/* Trusted */
.trust{display:grid;grid-template-columns:repeat(6,1fr);gap:14px;align-items:center}
@media (max-width: 1100px){.trust{grid-template-columns:repeat(4,1fr)}}
@media (max-width: 700px){.trust{grid-template-columns:repeat(3,1fr)}}
.logo{height:38px;opacity:.75;filter:grayscale(100%);border:1px solid var(--border);border-radius:12px;background:linear-gradient(180deg,#0f1731,#0b1229);display:flex;align-items:center;justify-content:center;transition:opacity .25s ease, transform .25s ease}
.logo:hover{opacity:1;transform:scale(1.05)}

/* Apps */
.apps{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
@media (max-width: 980px){.apps{grid-template-columns:1fr}}
.app{border:1px solid var(--border);background:linear-gradient(180deg,#0f1731,#0b1229);border-radius:16px;padding:18px;transition:transform .2s ease, box-shadow .25s ease}
.app h3{margin:0 0 6px}
.app p{margin:0;color:#374151}
.app:hover{transform:translateY(-4px);box-shadow:0 8px 22px rgba(0,0,0,.25)}

/* FAQ */
.faq{max-width:900px}
.faq-item{border:1px solid var(--border);border-radius:14px;margin-bottom:10px;background:#0d142c;transition:box-shadow .25s ease}
.faq-item:hover{box-shadow:0 6px 18px rgba(0,0,0,.3)}
.faq-q{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:16px;cursor:pointer}
.faq-q h3{margin:0;font-size:16px}
.faq-a{max-height:0;overflow:hidden;transition:max-height .3s ease;padding:0 16px}
.faq-a.open{padding:0 16px 16px}
.faq-a p{margin:12px 0 0;color:#374151}

/* Footer */
footer{padding:28px 0;color:var(--muted);background:#0a1127}
.foot-grid{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:center}
.foot-links{display:flex;gap:14px;flex-wrap:wrap}
.foot-links a{color:var(--muted);transition:color .25s ease}
.foot-links a:hover{color:var(--text)}

/* Cookie banner */
.cookie-banner{position:fixed;inset:auto 16px 16px 16px;background:#0a1022;border:1px solid var(--border);border-radius:16px;padding:16px;display:none;gap:14px;box-shadow:var(--shadow);z-index:60}
.cookie-banner.show{display:grid;grid-template-columns:1fr auto}
.cookie-text{color:#374151;font-size:12px}

@media (max-width: 768px) {
  .cookie-banner.show {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .cookie-text {
    font-size: 10px;
    line-height: 1.5;
  }
  .cookie-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-actions .btn {
    width: 100%;
    justify-content: center;
  }
}


.cookie-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.cookie-actions .btn{padding:10px 14px}
.cookie-actions .btn.accept{background:linear-gradient(135deg,var(--accent),#2fbd89);color:#04131a;border:1px solid #52e3b4}
.cookie-actions .btn.manage{background:#0b1127;border:1px solid var(--border);color:#e7ecf5}

/* Modal */
.modal{position:fixed;inset:0;background:rgba(5,7,16,.6);display:none;align-items:center;justify-content:center;z-index:70}
.modal.show{display:flex}
.modal-card {
  width: min(680px, 92vw);
  background: var(--card-bg);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 18px;
}

.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.modal-head h3{margin:0}
.prefs{display:grid;grid-template-columns:1fr 1fr;gap:14px}


@media (max-width: 720px){.prefs{grid-template-columns:1fr}}
.pref{border:1px solid var(--border);border-radius:12px;padding:12px}
.switch{position:relative;display:inline-block;width:44px;height:24px;vertical-align:middle}
.switch input{opacity:0;width:0;height:0}
.slider{position:absolute;cursor:pointer;inset:0;background:#142042;border-radius:999px;transition:.2s}
.slider:before{content:"";position:absolute;height:18px;width:18px;left:3px;top:3px;background:white;border-radius:50%;transition:.2s}
.switch input:checked + .slider{background:#3f7cf5}
.switch input:checked + .slider:before{transform:translateX(20px)}

/* Utilities */
.kbd{font-family:ui-monospace,Menlo,Consolas,monospace;background:#0a1022;border:1px solid #1a2445;border-radius:8px;padding:2px 6px}
.ring{box-shadow:0 0 0 6px var(--ring)}

/* Light theme overrides */
:root[data-theme="light"]{
  --bg:#f7f9ff;
  --card:#ffffff;
  --surface:#ffffff;
  --text:#111827;
  --muted:#4b5563;
  --border: #466591;
  --shadow:0 8px 24px rgba(0,0,0,.08);
}
:root[data-theme="light"] html,
:root[data-theme="light"] body{
  background:linear-gradient(180deg,#f7f9ff,#ffffff);
}
:root[data-theme="light"] header{background: var(--card);backdrop-filter:saturate(180%) blur(10px);border-bottom:1px solid var(--border)}
:root[data-theme="light"] .btn.ghost{background:#f3f4f6}
:root[data-theme="light"] .hero-card{background:#ffffff;border-color:var(--border)}
:root[data-theme="light"] .hero-code{background:#0f172a;color:#e5e7eb;border-color:#1f2937}
:root[data-theme="light"] .logo{background:#ffffff;border-color:var(--border);filter:none;opacity:.9}
:root[data-theme="light"] .app{background:#ffffff;border-color:var(--border)}
:root[data-theme="light"] .faq-item{background:#ffffff;border-color:var(--border)}
:root[data-theme="light"] footer{background:#f3f4f6;color:#6b7280}
:root[data-theme="light"] .cookie-banner{background:#ffffff}
:root[data-theme="light"] .lang-switcher,
:root[data-theme="light"] .toggle-btn{background:#f3f4f6;color:#111827;border-color:var(--border)}


/* ---------- Ask Section ---------- */
.ask-section {
  margin-top: 28px;
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.ask-section h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 600;
}

.ask-section p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 15px;
}

.ask-section form {
  display: grid;
  gap: 12px;
}

.ask-section .row {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 12px;
}

.ask-section input,
.ask-section textarea {

  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-size: 15px;
}

.ask-section textarea {
  resize: vertical;
  min-height: 100px;
}

.ask-section .actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.ask-section #askMsg {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.highlights {
  margin: 40px 0;
  text-align: center;
}
.highlights h3 {
  font-size: 24px;
  margin-bottom: 20px;
}
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.highlight-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  transition: transform .2s ease, box-shadow .3s ease;
}
.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
}
.highlight-card .icon {
  font-size: 32px;
  margin-bottom: 10px;
}
.highlight-card h4 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}
.highlight-card p {
  margin: 6px 0 0;
  color: var(--muted);
}

.how-it-works {
  text-align: center;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;
}
.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  transition: transform .2s ease, box-shadow .3s ease;
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0,0,0,.3);
}
.step-card .icon {
  font-size: 32px;
  margin-bottom: 10px;
}
.step-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}
.step-card p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}
.how-cta {
  margin-top: 40px;
}


.video-section {
  text-align: center;
  margin: 40px 0;
}

.video-section h2 {
  font-size: 26px;
  margin-bottom: 10px;
}

.video-section .section-lead {
  margin-bottom: 20px;
  font-size: 16px;
  color: var(--muted);
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--shadow);
  max-width: 900px;
  margin: 0 auto;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
}


.docs {
  max-width: 900px;
}

.doc-section {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.doc-section h3 {
  margin-top: 0;
  font-size: 20px;
  font-weight: 600;
}

.doc-section p {
  margin: 6px 0 12px;
  color: var(--muted);
}

.doc-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.doc-section ul li {
  margin: 8px 0;
}

.doc-section ul li a {
  color: var(--primary);
  font-weight: 500;
  transition: color .25s ease;
}

.doc-section ul li a:hover {
  color: var(--primary-2);
}


.accordion {
  display: grid;
  gap: 10px;
}

.accordion-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
}

.accordion-header {
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 600;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  padding: 0 16px;
}

.accordion-body.open {
  padding: 16px;
  max-height: 500px; /* enough for video */
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
}

.video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border-radius: 12px;
}


/* ---------- Pricing ---------- */
.pricing {
  text-align: center;
  padding: 60px 0;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  transition: transform .2s ease, box-shadow .3s ease;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(0,0,0,.25);
}
.pricing-card.highlight {
  border: 2px solid var(--primary);
  box-shadow: 0 0 16px rgba(110,168,254,.35);
}
.pricing-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
}
.pricing-card .price {
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 16px;
  color: var(--primary);
}
.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.pricing-card ul li {
  margin: 8px 0;
  color: var(--muted);
  font-size: 15px;
}
.pricing-card .btn {
  width: 100%;
  justify-content: center;
}

.pricing-toggle {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 20px 0;
}
.pricing-toggle .btn.active {
  border-color: var(--primary);
  background: rgba(110,168,254,0.15);
  color: var(--text);
}

/* ---------- Pricing ---------- */
.pricing { text-align: center; padding: 60px 0; }
.pricing-toggle { display:flex; justify-content:center; gap:10px; margin:20px 0; }
.pricing-toggle .btn.active { border-color: var(--primary); background: rgba(110,168,254,.15); color: var(--text); }

.pricing-grid {
  display:grid; grid-template-columns: repeat(4, 1fr);
  gap:24px; margin-top:30px;
}
.pricing-card {
  position:relative;
  background: var(--surface);
  border:1px solid var(--border);
  border-radius:14px;
  padding:28px 20px;
  text-align:center;
  transition:transform .2s ease, box-shadow .3s ease;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 8px 22px rgba(0,0,0,.25); }
.pricing-card.highlight { border:2px solid var(--primary); box-shadow: 0 0 16px rgba(110,168,254,.35); }

.pricing-card .badge {
  position:absolute; top:12px; right:12px;
  font-size:12px; font-weight:700;
  padding:6px 10px; border-radius:999px;
  background:linear-gradient(135deg,var(--primary),var(--primary-2));
  color:#0b1020; border:1px solid #7fb5ff;
}
.pricing-card h3 { margin:0 0 8px; font-size:20px; font-weight:800; }
.pricing-card .desc { margin:0 0 12px; color:var(--muted); font-size:14px; }

.pricing-card .price {
  font-size:28px; font-weight:900; margin:0 0 6px; color: var(--primary);
}
.pricing-card .subnote { margin:0 0 14px; color:var(--muted); font-size:13px; }

.pricing-card ul { list-style:none; padding:0; margin:0 0 18px; text-align:left; }
.pricing-card ul li { margin:8px 0; color:var(--text); opacity:.9; }
.pricing-card .feature-muted { color: var(--muted); }

.pricing-card .btn { width:100%; justify-content:center; }

.pricing-notes { margin-top:18px; color:var(--muted); font-size:13px; }
.pricing-notes p { margin:4px 0; }

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; }
}




.contact-form {
  margin-top: 28px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  padding: 20px;
  box-shadow: var(--shadow);
}

.contact-form .row {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 12px;
  margin-bottom: 12px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-size: 15px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .actions {
  display: flex;
  justify-content: flex-end;
}

.form-status {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}


.changelog-list {
  display: grid;
  gap: 20px;
  margin-top: 20px;
}
.changelog-item {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: var(--shadow);
}
.changelog-item h3 {
  margin: 0 0 8px;
  font-size: 18px;
}
.changelog-item small {
  color: var(--muted);
  font-weight: normal;
}
.changelog-item ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}
.changelog-item li {
  margin: 4px 0;
}



@media (max-width: 768px) {
  .contact-form .row {
    grid-template-columns: 1fr; /* زیر هم در موبایل */
  }
}


@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 980px) {
  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 768px) {
  .container {
    padding: 0 18px; /* کمی کمتر از دسکتاپ */
  }

  #impressum p {
    margin: 0 0 16px;
    line-height: 1.65;
  }

  #impressum strong {
    display: inline-block;
    margin-bottom: 4px; /* متن بولد جدا بشه */
  }
    .ask-section .row {
    grid-template-columns: 1fr; /* نام و ایمیل زیر هم */
  }
    .highlight-grid {
    grid-template-columns: 1fr;
  }
}



/* Default (dark theme) */
.modal .modal-lead {
  margin: 0 0 12px;
  color: #c7d3ea;
}

/* Light theme override */
:root[data-theme="light"] .modal .modal-lead {
  color: #444; /* یه خاکستری شیک برای لایت */
}
.modal .pref p {
  color: var(--muted); /* از همون متغیر رنگی استفاده کن */
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.4;
}




.hero {
  padding: 4rem 1rem;
  text-align: left;
}
.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
  gap: 2rem;
  align-items: center;
}
.hero-visual img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.features {

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 30px;

}
.feature-card {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow);
}
.feature-card .icon { font-size: 2rem; margin-bottom: .5rem; }

.trusted {
  text-align: center;
  margin: 4rem 0;
}
.trusted-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(120px,1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.trusted-logos img {
  max-height: 50px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.8;
}

.mini-how .steps-grid {
  display: flex;
  justify-content: space-around;
  gap: 1rem;
  flex-wrap: wrap;
}
.step-card {
  background: var(--card-bg);
  padding: 1rem;
  border-radius: 10px;
  flex: 1 1 150px;
  text-align: center;
}

.cta-footer {
  text-align: center;
  padding: 3rem 1rem;
  background: var(--card-bg);
  border-radius: 12px;
  margin: 3rem 0;
}


/* --- جلوگیری از اسکرول افقی در موبایل --- */
html, body {
  overflow-x: hidden;
  width: 100%;
}

.container, section, .apps, .highlight-grid, .steps-grid, .hero-grid {
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  .apps, .highlight-grid {
    display: grid;
    grid-template-columns: 1fr;
  }
}
