
:root {
  --bg: #0f172a;
  --primary: #0ea5e9;
  --primary-dark: #0284c7;
  --text: #0f172a;
  --muted: #475569;
  --light: #f8fafc;
  --card: #ffffff;
  --border: #e2e8f0;
  --accent: #f59e0b;
  --success: #10b981;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Tahoma, Vazirmatn, IRANSans, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.8;
}
a { text-decoration: none; color: inherit; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.topbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 74px;
}
.brand { font-size: 1.5rem; font-weight: 900; }
.brand span { color: var(--primary); }
nav { display: flex; gap: 18px; flex-wrap: wrap; }
nav a { color: var(--muted); font-weight: 700; }
.cta-btn {
  background: var(--primary); color: #fff; padding: 12px 18px; border-radius: 12px; font-weight: 700;
}
.hero {
  background: linear-gradient(135deg, #eff6ff, #f8fafc 60%, #fff7ed);
  padding: 72px 0 48px;
}
.hero-grid {
  display: grid; grid-template-columns: 1.25fr .95fr; gap: 32px; align-items: center;
}
.badge {
  display: inline-block; padding: 8px 14px; border-radius: 999px; background: #e0f2fe; color: #075985; font-weight: 800; font-size: .9rem;
}
.hero h1 { font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.3; margin: 16px 0; }
.hero h1 span { color: var(--primary-dark); }
.hero p { color: var(--muted); font-size: 1.05rem; }
.hero-actions { display: flex; gap: 14px; margin: 24px 0; flex-wrap: wrap; }
.hero-actions .primary, .hero-actions .secondary, .product-footer button, .contact-form button, .mock-product button {
  border: none; cursor: pointer; border-radius: 14px; padding: 14px 18px; font-weight: 800; font-size: .95rem;
}
.hero-actions .primary, .product-footer button, .contact-form button, .mock-product button {
  background: var(--primary); color: #fff;
}
.hero-actions .secondary {
  background: #fff; color: var(--text); border: 1px solid var(--border);
}
.trust-list {
  display: flex; gap: 12px; padding: 0; list-style: none; flex-wrap: wrap;
}
.trust-list li {
  background: #fff; border: 1px solid var(--border); padding: 10px 14px; border-radius: 999px; font-weight: 700; color: var(--muted);
}
.hero-card {
  background: linear-gradient(135deg, var(--bg), #1e293b);
  padding: 24px; border-radius: 28px; color: #fff; box-shadow: 0 30px 60px rgba(2,8,23,.18);
}
.mock-product {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: 22px;
}
.mock-badge {
  display: inline-block; background: var(--accent); color: #111827; padding: 6px 12px; border-radius: 999px; font-weight: 900; margin-bottom: 10px;
}
.price-row, .product-footer {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px;
}
.section { padding: 72px 0; }
.alt { background: #f8fafc; }
.section-head { margin-bottom: 28px; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 0 0 10px; }
.section-head p { color: var(--muted); margin: 0; }
.stats { background: #fff; padding: 18px 0 8px; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 18px;
}
.stats-grid div, .card, .product-card, .feature-card, .blog-card {
  background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 22px;
}
.stats-grid strong { display: block; font-size: 1.8rem; color: var(--primary-dark); }
.stats-grid span { color: var(--muted); font-weight: 700; }
.cards-4, .cards-3, .products-grid {
  display: grid; gap: 20px;
}
.cards-4 { grid-template-columns: repeat(4,1fr); }
.cards-3 { grid-template-columns: repeat(3,1fr); }
.products-grid { grid-template-columns: repeat(4,1fr); }
.card h3, .feature-card h3, .blog-card h3, .product-card h3 { margin-top: 0; }
.product-card { position: relative; }
.product-tag {
  position: absolute; top: 16px; left: 16px; background: #dcfce7; color: #166534; padding: 6px 10px; border-radius: 999px; font-size: .8rem; font-weight: 900;
}
.faq details {
  background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 16px 18px; margin-bottom: 12px;
}
.faq summary { cursor: pointer; font-weight: 800; }
.contact-section {
  background: linear-gradient(135deg, #082f49, #0f172a); color: #fff;
}
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start;
}
.contact-form {
  background: rgba(255,255,255,.08); padding: 22px; border-radius: 22px; border: 1px solid rgba(255,255,255,.12);
}
.contact-form input, .contact-form textarea {
  width: 100%; margin-bottom: 12px; border: none; padding: 14px 15px; border-radius: 12px; font-family: inherit;
}
.footer {
  background: #020617; color: #cbd5e1; padding: 24px 0;
}
.footer-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
}
.mini-links { display: flex; gap: 16px; }
.toast {
  position: fixed; bottom: 20px; left: 20px; background: var(--success); color: #fff; padding: 12px 16px; border-radius: 12px; display: none; z-index: 2000; font-weight: 800;
}
@media (max-width: 1000px) {
  .hero-grid, .contact-grid, .cards-4, .products-grid, .cards-3, .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  nav { display:none; }
}
@media (max-width: 640px) {
  .hero-grid, .contact-grid, .cards-4, .products-grid, .cards-3, .stats-grid {
    grid-template-columns: 1fr;
  }
  .topbar-inner { flex-wrap: wrap; padding: 10px 0; }
  .price-row, .product-footer, .hero-actions { flex-direction: column; align-items: stretch; }
}
