@import url("/css/fonts.css?v=1");

:root {
  --bg: #f7f7f8;
  --ink: #0d0d0d;
  --muted: #676767;
  --stroke: #e5e5e5;
  --card: #ffffff;
  --hover: rgba(0, 0, 0, 0.04);
  --accent: #0285ff;
  --font: "IRANSansX", Tahoma, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 400;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(247,247,248,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--stroke);
}
.nav-in {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 17px;
}
.brand svg { display: block; color: var(--ink); }
.nav-links {
  display: flex;
  gap: 18px;
  margin-inline-start: auto;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.nav-links a:hover { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  transition: background .15s ease, transform .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #222; }
.btn-ghost { background: #fff; border-color: var(--stroke); color: var(--ink); }
.btn-ghost:hover { background: var(--hover); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { filter: brightness(1.05); }

.hero {
  position: relative;
  padding: 56px 0 40px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 70%;
  background:
    radial-gradient(ellipse 50% 60% at 80% 20%, rgba(2,133,255,.14), transparent 60%),
    radial-gradient(ellipse 40% 50% at 10% 40%, rgba(13,13,13,.06), transparent 55%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 36px;
  align-items: center;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #e8f3ff;
  color: #0264c2;
  font-weight: 700;
  font-size: 12px;
}
.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4.4vw, 46px);
  line-height: 1.28;
  letter-spacing: -.03em;
}
.lead {
  margin: 0 0 22px;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--muted);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pill-row li {
  border: 1px solid var(--stroke);
  background: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.preview {
  background: #fff;
  border: 1px solid var(--stroke);
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(0,0,0,.08);
  overflow: hidden;
}
.preview-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--stroke);
  background: #fafafa;
  font-size: 13px;
  font-weight: 600;
}
.preview-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #22c55e;
}
.preview-body { padding: 16px; display: grid; gap: 10px; }
.bubble {
  max-width: 92%;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.7;
}
.bubble.user {
  margin-inline-start: auto;
  background: #0d0d0d;
  color: #fff;
  border-bottom-left-radius: 4px;
}
.bubble.ai {
  background: #f3f4f6;
  color: var(--ink);
  border-bottom-right-radius: 4px;
}
.preview-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 16px 16px;
  padding: 10px 12px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  background: #fff;
}
.preview-send {
  margin-inline-start: auto;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: grid; place-items: center; font-size: 14px;
}

.section { padding: 28px 0 16px; }
.section h2, .wrap > h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: -.02em;
}
.sub {
  margin: 0 0 22px;
  max-width: 640px;
  color: var(--muted);
  line-height: 1.85;
  font-size: 15px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 0 0 36px;
}
.card {
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  padding: 22px;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.card:hover {
  border-color: #d0d0d0;
  box-shadow: 0 8px 24px rgba(0,0,0,.05);
  transform: translateY(-2px);
}
.card-ico {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center;
  background: #eef6ff; color: var(--accent);
  font-weight: 800; font-size: 16px; margin-bottom: 12px;
}
.card h3 { margin: 0 0 8px; font-size: 16px; }
.card p { margin: 0; color: var(--muted); line-height: 1.8; font-size: 14px; }

.faq details {
  border: 1px solid var(--stroke);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 10px;
  background: #fff;
}
.faq summary { cursor: pointer; font-weight: 700; font-size: 15px; }
.faq p { margin: 10px 0 0; color: var(--muted); line-height: 1.9; font-size: 14px; }

.cta-band {
  background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%);
  color: #fff;
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin: 8px 0 56px;
}
.cta-band h2 { margin: 0 0 6px; font-size: 22px; color: #fff; }
.cta-band p { margin: 0; color: rgba(255,255,255,.72); }
.cta-band .btn-primary { background: #fff; color: #0d0d0d; }

.foot {
  border-top: 1px solid var(--stroke);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 13px;
  background: #fff;
}
.foot-in { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.foot a:hover { color: var(--ink); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .preview { order: -1; max-width: 420px; }
  .grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}