:root {
  --faq-ink: #16121f;
  --faq-muted: #5c5468;
  --faq-plum: #665290;
  --faq-deep: #1a1328;
  --faq-accent: #5ec8d8;
  --faq-mist: #f3f0f8;
  --faq-paper: #faf8fc;
  --faq-line: rgba(102, 82, 144, 0.14);
  --faq-font: "Vazirmatn", Tahoma, sans-serif;
}

.faq-site,
.faq-site * {
  box-sizing: border-box;
}

.faq-site {
  font-family: var(--faq-font);
  color: var(--faq-ink);
  background: var(--faq-paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.faq-wrap {
  width: min(1100px, 90%);
  margin: 0 auto;
}

/* —— Hero —— */
.faq-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 130px 0 72px;
  background:
    radial-gradient(ellipse 70% 55% at 85% 15%, rgba(94, 200, 216, 0.18), transparent 55%),
    radial-gradient(ellipse 55% 50% at 5% 80%, rgba(102, 82, 144, 0.35), transparent 50%),
    linear-gradient(165deg, #0b0910 0%, #1a1328 45%, #221a35 100%);
  color: #fff;
  overflow: hidden;
}

.faq-hero-glow {
  position: absolute;
  width: 50vmax;
  height: 50vmax;
  top: 35%;
  left: 55%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(94, 200, 216, 0.14), transparent 65%);
  pointer-events: none;
  animation: faqPulse 8s ease-in-out infinite;
}

.faq-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 48px;
  align-items: center;
}

@media (min-width: 960px) {
  .faq-hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
  }
}

.faq-back {
  display: inline-block;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 20px;
  transition: color 0.2s ease;
}

.faq-back:hover {
  color: #fff;
}

.faq-kicker {
  margin: 0 0 10px;
  color: var(--faq-accent);
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
}

.faq-hero-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.faq-hero-tag {
  margin: 0 0 16px;
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  font-weight: 700;
  color: #e8e0ff;
  line-height: 1.7;
}

.faq-hero-lead {
  margin: 0 0 30px;
  max-width: 34em;
  line-height: 1.95;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.02rem;
}

.faq-hero-actions,
.faq-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.faq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.98rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-btn:hover {
  transform: translateY(-2px);
}

.faq-btn-primary {
  background: #fff;
  color: var(--faq-deep);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.faq-btn-primary:hover {
  background: #e8f7fa;
}

.faq-btn-ghost {
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  background: transparent;
}

.faq-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

.faq-btn-light {
  background: #fff;
  color: var(--faq-deep);
}

.faq-btn-ghost-light {
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  background: transparent;
}

.faq-btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

.faq-btn-catalog {
  background: var(--faq-deep);
  color: #fff;
  padding: 16px 32px;
  font-size: 1.05rem;
  box-shadow: 0 14px 36px rgba(26, 19, 40, 0.25);
}

.faq-btn-catalog:hover {
  background: #2a1f41;
  color: #fff;
}

.faq-hero-visual {
  position: relative;
}

.faq-hero-photo {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-chat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  overflow: hidden;
  backdrop-filter: blur(18px);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.3);
  animation: faqFloat 6s ease-in-out infinite;
}

.faq-chat-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: rgba(0, 0, 0, 0.25);
  font-size: 0.85rem;
}

.faq-chat-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ff6b6b;
}

.faq-chat-bar span:nth-child(2) { background: #ffd166; }
.faq-chat-bar span:nth-child(3) { background: #6bcf7f; }

.faq-chat-bar strong {
  margin-right: auto;
  font-weight: 700;
}

.faq-chat-body {
  display: grid;
  gap: 12px;
  padding: 20px 18px 22px;
}

.faq-bubble {
  max-width: 90%;
  padding: 12px 14px;
  border-radius: 16px;
  line-height: 1.75;
  font-size: 0.94rem;
}

.faq-bubble.user {
  justify-self: start;
  background: rgba(94, 200, 216, 0.16);
  border: 1px solid rgba(94, 200, 216, 0.28);
}

.faq-bubble.bot {
  justify-self: end;
  background: rgba(255, 255, 255, 0.1);
}

.faq-typing {
  display: flex;
  gap: 5px;
  justify-self: end;
  padding: 8px 4px;
}

.faq-typing i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  animation: faqDot 1.2s infinite ease-in-out;
}

.faq-typing i:nth-child(2) { animation-delay: 0.15s; }
.faq-typing i:nth-child(3) { animation-delay: 0.3s; }

@keyframes faqDot {
  0%, 80%, 100% { opacity: 0.3; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}

@keyframes faqPulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.85; transform: translate(-50%, -50%) scale(1.08); }
}

@keyframes faqFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.faq-promise {
  margin: 0;
  padding: 32px 8%;
  text-align: center;
  font-size: clamp(1.15rem, 2.6vw, 1.65rem);
  font-weight: 800;
  color: var(--faq-deep);
  background: linear-gradient(90deg, #efeaf8, #e6f5f8, #efeaf8);
  line-height: 1.7;
  border-block: 1px solid var(--faq-line);
}

/* —— Sections —— */
.faq-block {
  padding: 92px 0;
  scroll-margin-top: 100px;
}

.faq-block-mist {
  background: var(--faq-mist);
}

.faq-block-deep {
  background: linear-gradient(165deg, #14101c 0%, #1f1730 100%);
  color: #fff;
}

.faq-block-deep .faq-kicker {
  color: var(--faq-accent);
}

.faq-block-deep .faq-head p {
  color: rgba(255, 255, 255, 0.75);
}

.faq-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 800;
  color: inherit;
  letter-spacing: -0.02em;
}

.faq-block:not(.faq-block-deep) .faq-head h2 {
  color: var(--faq-deep);
}

.faq-head p {
  margin: 0;
  max-width: 40em;
  line-height: 1.9;
  color: var(--faq-muted);
}

.faq-head-center {
  text-align: center;
  margin: 0 auto 44px;
}

.faq-head-center p {
  margin-left: auto;
  margin-right: auto;
}

.faq-about-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 860px) {
  .faq-about-grid {
    grid-template-columns: 0.65fr 1.35fr;
    align-items: start;
    gap: 48px;
  }
}

.faq-prose {
  font-size: 1.06rem;
  line-height: 2;
  color: #3d364c;
}

.faq-prose p {
  margin: 0 0 1em;
}

.faq-prose p:last-child {
  margin-bottom: 0;
}

.faq-use-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.faq-use-grid li {
  background: #fff;
  border: 1px solid var(--faq-line);
  border-radius: 18px;
  padding: 22px 20px;
  display: grid;
  gap: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-use-grid li:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(26, 19, 40, 0.08);
}

.faq-use-index {
  font-weight: 800;
  color: var(--faq-plum);
  letter-spacing: 0.06em;
  font-size: 0.88rem;
}

.faq-use-grid strong {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--faq-deep);
}

.faq-how-note {
  text-align: center;
  max-width: 40em;
  margin: 0 auto 40px;
  line-height: 1.95;
  color: var(--faq-muted);
}

.faq-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 14px;
}

.faq-flow li:not(.faq-flow-arrow) {
  flex: 1 1 220px;
  max-width: 280px;
  background: #fff;
  border: 1px solid var(--faq-line);
  border-radius: 20px;
  padding: 28px 22px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-flow li:not(.faq-flow-arrow):hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(26, 19, 40, 0.08);
}

.faq-flow li span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--faq-deep);
  color: #fff;
  font-weight: 800;
  margin-bottom: 14px;
}

.faq-flow h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
  color: var(--faq-deep);
}

.faq-flow p {
  margin: 0;
  color: var(--faq-muted);
  line-height: 1.8;
}

.faq-flow-arrow {
  display: flex;
  align-items: center;
  font-size: 1.4rem;
  color: var(--faq-plum);
  flex: 0 0 auto;
  opacity: 0.7;
}

.faq-split {
  display: grid;
  gap: 36px;
}

@media (min-width: 800px) {
  .faq-split {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 48px;
  }
}

.faq-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.faq-chips li {
  padding: 11px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.faq-chips li:hover {
  background: rgba(94, 200, 216, 0.15);
  border-color: rgba(94, 200, 216, 0.35);
}

.faq-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.faq-why-grid article {
  background: #fff;
  border-radius: 20px;
  padding: 28px 24px;
  border: 1px solid var(--faq-line);
  border-top: 3px solid var(--faq-plum);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-why-grid article:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(26, 19, 40, 0.07);
}

.faq-why-grid h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  color: var(--faq-deep);
}

.faq-why-grid p {
  margin: 0;
  line-height: 1.85;
  color: var(--faq-muted);
}

.faq-audience {
  max-width: 720px;
  text-align: center;
  margin: 0 auto;
}

.faq-audience h2 {
  margin: 0 0 14px;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  color: var(--faq-deep);
}

.faq-audience p:last-child {
  margin: 0;
  line-height: 2;
  color: var(--faq-muted);
  font-size: 1.05rem;
}

/* —— Catalog —— */
.faq-catalog {
  padding: 0 0 20px;
}

.faq-catalog-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 40px 36px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(94, 200, 216, 0.12), transparent 50%),
    linear-gradient(165deg, #fff 0%, #f3f0f8 100%);
  border: 1px solid var(--faq-line);
  box-shadow: 0 20px 50px rgba(26, 19, 40, 0.06);
}

.faq-catalog-copy {
  flex: 1 1 280px;
  max-width: 520px;
}

.faq-catalog-copy h2 {
  margin: 0 0 10px;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 800;
  color: var(--faq-deep);
}

.faq-catalog-copy p:last-child {
  margin: 0;
  line-height: 1.85;
  color: var(--faq-muted);
}

/* —— Video —— */
.h_iframe-aparat_embed_frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 24px 56px rgba(26, 19, 40, 0.15);
}

.h_iframe-aparat_embed_frame .ratio {
  display: block;
  width: 100%;
  padding-top: 57%;
}

.h_iframe-aparat_embed_frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* —— CTA —— */
.faq-cta {
  margin: 20px 5% 48px;
  padding: 68px 8%;
  border-radius: 28px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(500px 220px at 85% 0%, rgba(94, 200, 216, 0.2), transparent 60%),
    linear-gradient(145deg, #1a1328 0%, #3d2f5c 100%);
}

.faq-cta h2 {
  margin: 0 0 14px;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
}

.faq-cta p {
  margin: 0 auto 16px;
  max-width: 36em;
  line-height: 1.95;
  opacity: 0.9;
}

.faq-cta-line {
  font-weight: 800 !important;
  font-size: 1.12rem !important;
  color: var(--faq-accent) !important;
  opacity: 1 !important;
}

.faq-cta-actions {
  justify-content: center;
  margin-top: 28px;
}

/* —— Other products —— */
.faq-other-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.faq-other-card {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--faq-line);
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.faq-other-card:hover {
  transform: translateY(-3px);
  border-color: rgba(102, 82, 144, 0.3);
  box-shadow: 0 14px 32px rgba(26, 19, 40, 0.08);
}

.faq-other-card img,
.faq-other-fallback {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: 14px;
}

.faq-other-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--faq-mist);
  color: var(--faq-plum);
  font-weight: 800;
  font-size: 1.4rem;
}

.faq-other-card h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  color: var(--faq-deep);
}

.faq-other-card p {
  margin: 0;
  color: var(--faq-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* —— Motion —— */
[data-animate] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-animate].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 700px) {
  .faq-hero {
    padding-top: 110px;
    min-height: auto;
  }

  .faq-block {
    padding: 64px 0;
  }

  .faq-flow-arrow {
    display: none;
  }

  .faq-catalog-inner {
    padding: 28px 22px;
    text-align: center;
    justify-content: center;
  }

  .faq-catalog-copy {
    max-width: none;
  }

  .faq-cta {
    margin: 0 4% 28px;
    padding: 44px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-chat,
  .faq-hero-glow,
  .faq-typing i,
  [data-animate] {
    animation: none !important;
    transition: none !important;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
  }
}
