@font-face {
  font-family: 'IRANSansWeb';
  src: url('fonts/IRANSansWeb-Light.woff2') format('woff2');
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: 'IRANSansWeb';
  src: url('fonts/IRANSansWeb-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'IRANSansWeb';
  src: url('fonts/IRANSansWeb-Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'IRANSansWeb';
  src: url('fonts/IRANSansWeb-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --bg-tint: #f7f7f8;
  --ink: #000000;
  --ink-soft: #6b6b6e;
  --line: #e6e6e8;
  --accent: #4f39d9;
  --accent-soft: #ece9fb;
  --radius-pill: 999px;
  --radius-btn: 10px;
  --radius: 14px;
  --max-w: 1180px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
}

body {
  font-family: 'IRANSansWeb', system-ui, sans-serif;
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

html[dir="rtl"] body, html[dir="ltr"] body { font-family: 'IRANSansWeb', system-ui, sans-serif; }

h1, h2, h3, .wordmark, .btn { font-weight: 700; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

a { color: inherit; }

img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Header ---------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;

  flex-wrap: wrap;
  gap: 16px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 15px;
  font-weight: 500;
  flex-wrap: wrap;
}
.nav-links a:hover { color: var(--ink-soft); }

.wordmark {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.lang-toggle {
  border: 1px solid var(--line);
  background: none;
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  color: var(--ink);
}
.lang-toggle:hover { background: var(--bg-tint); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn:hover { opacity: 0.88; }
.btn:active { transform: scale(0.98); }

.btn.secondary {
  background: none;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn.secondary:hover { background: var(--bg-tint); opacity: 1; }

.btn-play {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}
.btn-play:hover { transform: scale(1.08); }

/* ---------- Hero ---------- */

.hero {
  padding: 40px 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 4px;
}

.hero h1 em {
  font-style: italic;
  font-weight: 800;
}

.hero-side p {
  color: var(--ink-soft);
  font-size: 16px;
  margin: 18px 0 22px;
  max-width: 40ch;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Equalizer ---------- */

.equalizer {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 90px;
  margin: 50px 0;
}

.equalizer .bar {
  flex: 1;
  max-width: 10px;
  background: var(--ink);
  border-radius: 6px;
  animation: eq-bounce 1.2s ease-in-out infinite;
}

.equalizer .bar.accent { background: var(--accent); }

@keyframes eq-bounce {
  0%, 100% { height: 18%; }
  50% { height: 100%; }
}

/* ---------- Sections ---------- */

.section { padding: 64px 0; }
.section.tint { background: var(--bg-tint); }

.section-head {
  margin-bottom: 36px;
  max-width: 60ch;
}

.section-head h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 17px;
  margin: 0;
}

/* ---------- Bot cards ---------- */

.bot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.bot-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.bot-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 20px;
}

.bot-card .icon.avatar-icon { object-fit: cover; }

.bot-card h3 { font-size: 20px; margin: 0 0 8px; }
.bot-card p { color: var(--ink-soft); font-size: 15px; margin: 0 0 20px; }

.bot-card .btn.secondary { padding: 10px 20px; font-size: 14px; }

/* ---------- Use-case horizontal scroll ---------- */

.usecase-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 4px 20px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.usecase-scroll::-webkit-scrollbar { height: 6px; }
.usecase-scroll::-webkit-scrollbar-thumb { background: var(--line); border-radius: 6px; }

.usecase-card {
  flex: 0 0 220px;
  scroll-snap-align: start;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
}

.usecase-card .emoji { font-size: 30px; margin-bottom: 14px; }
.usecase-card p { margin: 0; font-weight: 600; font-size: 15.5px; }

/* ---------- Stat ---------- */

.stat-block {
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
}

.stat-number {
  font-size: clamp(56px, 8vw, 110px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat-label { color: var(--ink-soft); font-size: 17px; max-width: 24ch; }

/* ---------- Hero motion ---------- */

.hero h1, .hero-side p, .hero-side .btn {
  animation: slide-in-side 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-side p { animation-delay: 0.08s; }
.hero-side .btn { animation-delay: 0.16s; }

@keyframes slide-in-side {
  from { opacity: 0; transform: translateX(36px); }
  to { opacity: 1; transform: translateX(0); }
}
html[dir="ltr"] .hero h1,
html[dir="ltr"] .hero-side p,
html[dir="ltr"] .hero-side .btn {
  animation-name: slide-in-side-ltr;
}
@keyframes slide-in-side-ltr {
  from { opacity: 0; transform: translateX(-36px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ---------- Radial equalizer ---------- */

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.radial-eq {
  position: relative;
  width: 540px;
  height: 540px;
  max-width: 100%;
}

.radial-eq .rbar {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 54px;
  margin-left: -2px;
  background: var(--ink);
  border-radius: 4px;
  transform-origin: top center;
  animation: rbar-pulse 1.6s ease-in-out infinite;
}
.radial-eq .rbar.accent { background: var(--accent); }

@keyframes rbar-pulse {
  0%, 100% { height: 28px; opacity: 0.4; }
  50% { height: 118px; opacity: 1; }
}

/* ---------- Bot card placeholder ---------- */

.bot-card.placeholder {
  border-style: dashed;
  opacity: 0.55;
}
.bot-card.placeholder .icon {
  background: var(--bg-tint);
  color: var(--ink-soft);
  border: 1px dashed var(--line);
}

/* ---------- Stat band (photo + overlay) ---------- */

.stat-band {
  position: relative;
  background-image: linear-gradient(rgba(17,17,17,0.72), rgba(17,17,17,0.72)), var(--stat-bg-image, none);
  background-size: cover;
  background-position: center;
  filter: grayscale(0.6);
  color: #fff;
  padding: 64px 0;
}
.stat-band .wrap { filter: none; }
.stat-band .stat-number,
.stat-band .stat-label { color: #fff; }
.stat-band .stat-label { color: rgba(255,255,255,0.75); }

.stat-band-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.stat-band .btn { background: #fff; color: var(--ink); flex-shrink: 0; }
.stat-band .btn:hover { opacity: 0.85; }

/* ---------- Features row (blue icons) ---------- */

.features-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 34px;
  text-align: center;
}

.feature-item .icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.feature-item p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* ---------- Testimonial avatar (stacked/centered) ---------- */

.testi-card {
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
}

.testi-card .who-row {
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.testi-card .avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--bg-tint);
  object-fit: cover;
  border: 3px solid var(--accent-soft);
}

.testi-card .who-info { text-align: center; }
.testi-card .who-name { justify-content: center; font-weight: 700; font-size: 15.5px; }
.testi-card .who-job { color: var(--ink-soft); font-size: 13.5px; margin-top: 2px; }

.testi-card .linkedin-circle {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
}

.testi-card p.quote { margin-top: 16px; }

/* ---------- Testimonials carousel ---------- */

.testi-carousel {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  overflow: hidden;
}

.testi-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.testi-track .testi-card {
  flex: 0 0 100%;
  max-width: 100%;
}

.testi-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 26px;
}
.testi-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}
.testi-dots button.active { background: var(--accent); width: 22px; border-radius: 4px; }

/* ---------- Use-case CTA ---------- */

.usecase-cta { text-align: center; margin-top: 26px; }

/* ---------- Instagram-style vertical sample cards ---------- */

.ig-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.ig-card {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
}

.ig-card .ig-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(1.5px) brightness(0.55);
  transform: scale(1.06);
}

.ig-card .ig-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0.1) 55%);
}

.ig-card .ig-content {
  position: absolute;
  bottom: 0; right: 0; left: 0;
  padding: 18px;
  color: #fff;
  z-index: 2;
}

.ig-card .ig-content h3 { margin: 0 0 4px; font-size: 15.5px; }
.ig-card .ig-content p { margin: 0; font-size: 13px; color: rgba(255,255,255,0.75); }

.ig-card .btn-play {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  z-index: 2;
  width: 34px;
  height: 34px;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 50px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  color: var(--ink-soft);
  font-size: 14px;
}

.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a:hover { color: var(--ink); }
