/* Landing FAQ — premium section (loaded in main head, not deferred) */

.landing-home #faq.tc-landing-faq,
.landing-home[data-landing-root] #faq.tc-landing-faq {
  position: relative;
  overflow: hidden;
}

.landing-home #faq .tc-section-kicker,
.landing-home[data-landing-root] #faq .tc-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.65rem;
  padding: 0.38rem 0.9rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: none;
  color: #6d3ce0;
  opacity: 1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(243, 238, 255, 0.9) 100%);
  border: 1px solid rgba(216, 201, 255, 0.55);
  box-shadow: none;
}

.landing-home #faq .tc-section-title::after {
  width: 4.25rem;
  height: 5px;
  margin-block-start: 0.7rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #7c5ce6, #38bdf8);
}

.landing-home #faq .tc-landing-faq__bg {
  display: none;
}

.landing-home #faq .tc-landing-faq__blob {
  display: none;
}

.landing-home #faq .tc-landing-faq__blob--1 {
  width: 20rem;
  height: 20rem;
  top: -5rem;
  right: -4rem;
  background: rgba(167, 139, 250, 0.38);
}

.landing-home #faq .tc-landing-faq__blob--2 {
  width: 16rem;
  height: 16rem;
  bottom: 0;
  left: -3rem;
  background: rgba(72, 202, 228, 0.32);
}

.landing-home #faq .tc-landing-faq__blob--3 {
  width: 11rem;
  height: 11rem;
  top: 38%;
  left: 42%;
  background: rgba(254, 215, 170, 0.35);
}

/* ── Header ── */
.landing-home #faq .tc-section-head--center {
  position: relative;
  z-index: 1;
  margin-bottom: 2.5rem;
}

.landing-home #faq .tc-section-lead {
  margin-top: 0.85rem;
}

.landing-home #faq .tc-landing-faq-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  list-style: none;
  margin: 1.15rem 0 0;
  padding: 0;
}

.landing-home #faq .tc-landing-faq-chip {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
}

.landing-home #faq .tc-landing-faq-chip--violet {
  color: #5b21b6;
  background: rgba(237, 233, 254, 0.95);
  border-color: rgba(196, 181, 253, 0.55);
}

.landing-home #faq .tc-landing-faq-chip--sky {
  color: #0369a1;
  background: rgba(224, 242, 254, 0.95);
  border-color: rgba(125, 211, 252, 0.55);
}

.landing-home #faq .tc-landing-faq-chip--peach {
  color: #c2410c;
  background: rgba(255, 237, 213, 0.95);
  border-color: rgba(253, 186, 116, 0.55);
}

/* ── Accordion panel (مثل ستون‌های فید) ── */
.landing-home[data-landing-root] #faq .tc-landing-faq-panel {
  position: relative;
  z-index: 1;
  max-width: 52rem;
  margin-inline: auto;
  padding: clamp(1rem, 2.5vw, 1.35rem);
  border-radius: 28px;
  border: 1px solid rgba(216, 201, 255, 0.58);
  background: #f8f5ff;
  box-shadow: none;
  overflow: hidden;
}

.landing-home[data-landing-root] #faq .tc-landing-faq-panel::before {
  content: none;
}

.landing-home[data-landing-root] #faq .tc-landing-faq-panel > * {
  position: relative;
  z-index: 1;
}

.landing-home #faq .tc-landing-faq-stage {
  position: relative;
  z-index: 1;
  max-width: none;
  margin-inline: 0;
}

.landing-home #faq .tc-landing-faq-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 0;
  border-radius: 0;
  background: none;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
}

/* ── FAQ items ── */
.landing-home #faq .tc-landing-faq-item {
  position: relative;
  overflow: hidden;
  border-radius: 1.2rem;
  border: 1px solid rgba(216, 201, 255, 0.4);
  background: #fff;
  box-shadow: none;
  transition: none;
  will-change: auto;
}

.landing-home #faq .tc-landing-faq-item--violet {
  border-top: 3px solid rgba(167, 139, 250, 0.55);
}

.landing-home #faq .tc-landing-faq-item--sky {
  border-top: 3px solid rgba(56, 189, 248, 0.55);
}

.landing-home #faq .tc-landing-faq-item--peach {
  border-top: 3px solid rgba(251, 146, 60, 0.55);
}

.landing-home #faq .tc-landing-faq-item:hover {
  transform: none;
  box-shadow: none;
}

.landing-home #faq .tc-landing-faq-item.is-expanded {
  border-color: rgba(167, 139, 250, 0.5);
  box-shadow: none;
}

.landing-home #faq .tc-landing-faq-item summary {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 1.2rem;
  font-weight: 800;
  color: #1e1b4b;
  transition: none;
}

.landing-home #faq .tc-landing-faq-item summary::-webkit-details-marker {
  display: none;
}

.landing-home #faq .tc-landing-faq-item summary::marker {
  content: '';
}

.landing-home #faq .tc-landing-faq-item__num {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding-inline: 0.35rem;
  border-radius: 0.7rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #fff;
  background: #8b6cf6;
  box-shadow: none;
}

.landing-home #faq .tc-landing-faq-item--sky .tc-landing-faq-item__num {
  background: #0ea5e9;
}

.landing-home #faq .tc-landing-faq-item--peach .tc-landing-faq-item__num {
  background: #f97316;
}

.landing-home #faq .tc-landing-faq-item--mint .tc-landing-faq-item__num {
  background: #3bc990;
  box-shadow: 0 6px 14px -8px rgba(83, 221, 169, 0.5);
}

.landing-home #faq .tc-landing-faq-item--mint {
  border-top-color: rgba(83, 221, 169, 0.55);
}

.landing-home #faq .tc-landing-faq-item--mint.is-expanded summary {
  color: #2a9d6a;
}

.landing-home #faq .tc-landing-faq-item--mint.is-expanded .tc-landing-faq-item__toggle {
  background: #3bc990;
}

.landing-home #faq .tc-landing-faq-item__q {
  flex: 1;
  font-size: clamp(0.92rem, 1.8vw, 1rem);
  line-height: 1.6;
  text-align: right;
}

.landing-home #faq .tc-landing-faq-item__toggle {
  flex-shrink: 0;
  position: relative;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0.7rem;
  background: #f5f3ff;
  border: 1px solid rgba(216, 201, 255, 0.5);
  transition: none;
}

.landing-home #faq .tc-landing-faq-item__toggle::before,
.landing-home #faq .tc-landing-faq-item__toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.8rem;
  height: 2px;
  border-radius: 999px;
  background: #6d28d9;
  transform: translate(-50%, -50%);
  transition: none;
}

.landing-home #faq .tc-landing-faq-item__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.landing-home #faq .tc-landing-faq-item.is-expanded summary {
  color: #6d28d9;
  padding-bottom: 0.5rem;
}

.landing-home #faq .tc-landing-faq-item.is-expanded .tc-landing-faq-item__toggle {
  background: #8b6cf6;
  border-color: transparent;
  transform: none;
}

.landing-home #faq .tc-landing-faq-item.is-expanded .tc-landing-faq-item__toggle::before,
.landing-home #faq .tc-landing-faq-item.is-expanded .tc-landing-faq-item__toggle::after {
  background: #fff;
}

.landing-home #faq .tc-landing-faq-item.is-expanded .tc-landing-faq-item__toggle::after {
  opacity: 0;
}

.landing-home #faq .tc-landing-faq-item__panel {
  display: block;
}

.landing-home #faq .tc-landing-faq-item.is-expanded .tc-landing-faq-item__panel {
  display: block;
}

.landing-home #faq .tc-landing-faq-item__panel-inner {
  overflow: hidden;
  min-height: 0;
}

.landing-home #faq .tc-landing-faq-item__body {
  padding: 0 1.2rem 1.15rem;
  margin-inline: 1.2rem 3.5rem;
  border-top: 1px dashed rgba(216, 201, 255, 0.55);
  opacity: 1;
  transform: none;
  transition: none;
}

.landing-home #faq .tc-landing-faq-item.is-expanded .tc-landing-faq-item__body {
  opacity: 1;
  transform: none;
  transition-delay: 0s;
}

.landing-home #faq .tc-landing-faq-item:not(.is-expanded) .tc-landing-faq-item__body {
  transition-delay: 0s;
}

.landing-home #faq .tc-landing-faq-item__body p {
  margin: 0.9rem 0 0;
  font-size: 0.93rem;
  line-height: 1.95;
  color: #5f5b75;
}

@media (prefers-reduced-motion: reduce) {
  .landing-home #faq .tc-landing-faq-item,
  .landing-home #faq .tc-landing-faq-item__body,
  .landing-home #faq .tc-landing-faq-item__panel,
  .landing-home #faq .tc-landing-faq-item__toggle,
  .landing-home #faq .tc-landing-faq-item summary {
    animation: none;
    transition: none;
    transform: none;
    opacity: 1;
  }

  .landing-home #faq .tc-landing-faq-item:hover {
    transform: none;
  }

  .landing-home #faq .tc-landing-faq-item.is-expanded .tc-landing-faq-item__panel {
    display: block;
  }
}

.landing-home #faq .tc-landing-faq-item summary:focus-visible {
  outline: 2px solid rgba(124, 92, 230, 0.55);
  outline-offset: 3px;
  border-radius: 0.85rem;
}

/* ── Footer CTA ── */
.landing-home #faq .tc-landing-faq-foot {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  margin-top: 1.35rem;
}

.landing-home #faq .tc-landing-faq-foot .tc-btn {
  min-width: 14rem;
  box-shadow: none;
}

@media (max-width: 639px) {
  .landing-home #faq .tc-landing-faq-item__body {
    margin-inline: 1.2rem;
  }
}

@media (max-width: 768px) {
  .landing-home #faq .tc-landing-faq__blob {
    display: none;
  }

  .landing-home #faq .tc-landing-faq-item,
  .landing-home #faq .tc-landing-faq-item summary,
  .landing-home #faq .tc-landing-faq-item__body,
  .landing-home #faq .tc-landing-faq-item__toggle {
    transition: none;
    transform: none;
  }

  .landing-home #faq .tc-landing-faq-item:hover {
    transform: none;
    box-shadow: 0 6px 20px -16px rgba(46, 35, 77, 0.12);
  }
}
