/* ═══════════════════════════════════════════════════════════════
   Testchii — Polish: Header, Hero, Features, Video
   ═══════════════════════════════════════════════════════════════ */

/* ── Header ── */
.landing-home .tc-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(240, 235, 250, 0.9);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.landing-home .tc-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 32px -12px rgba(126, 92, 255, 0.12);
}

.landing-home .tc-header-inner {
  min-height: 80px;
}

.landing-home .tc-nav a {
  position: relative;
  font-weight: 600;
}

.landing-home .tc-nav a.is-active {
  color: var(--tc-primary-dark);
  background: var(--tc-lavender-bg);
}

.landing-home .tc-nav a.is-active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 3px;
  border-radius: 999px;
  background: var(--tc-gradient-btn);
}

.landing-home .tc-nav-actions .tc-btn-outline {
  padding-inline: 1.1rem;
}

.landing-home .tc-nav-actions--auth {
  flex-wrap: nowrap;
  gap: 0.4rem;
}

.landing-home .tc-btn--compact {
  padding: 0.45rem 0.65rem;
  font-size: 0.78rem;
  line-height: 1.2;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .landing-home:not(.site-home):not(.landing-dashboard) .tc-header-inner {
    gap: 0.5rem;
    min-height: 72px;
    padding-block: 0.5rem;
  }

  .landing-home:not(.site-home):not(.landing-dashboard):not([data-landing-root]) .tc-container {
    padding-inline: clamp(0.35rem, 1.2vw, var(--tc-container-pad, 0.75rem));
  }

  .landing-home[data-landing-root] .tc-container {
    padding-inline: var(--tc-container-pad);
  }

  .landing-home:not(.site-home):not(.landing-dashboard) .tc-nav-actions--auth {
    flex-shrink: 1;
    min-width: 0;
    gap: 0.3rem;
  }

  .landing-home:not(.site-home):not(.landing-dashboard) .tc-nav-actions--auth .tc-btn--compact {
    padding: 0.38rem 0.5rem;
    font-size: 0.72rem;
  }

  .landing-home:not(.site-home):not(.landing-dashboard) .tc-menu-toggle {
    flex-shrink: 0;
    width: 2.35rem;
    height: 2.35rem;
  }

  .landing-home:not(.site-home):not(.landing-dashboard) .tc-brand {
    min-width: 0;
    font-size: 1.1rem;
  }
}

.landing-home .tc-btn-lg {
  padding: 0.82rem 1.65rem;
  font-size: 0.95rem;
}

/* ── Hero ── */
.landing-home .tc-hero {
  position: relative;
  padding: 2.75rem 0 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #faf8ff 55%, #ffffff 100%);
  overflow: hidden;
}

.landing-home .tc-hero-bg-deco {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 0;
}

.landing-home .tc-hero-blob {
  display: none !important;
}

.landing-home .tc-hero-blob--1 {
  width: 280px;
  height: 280px;
  background: #eaf7ff;
  top: -40px;
  left: 8%;
  opacity: 0.75;
}

.landing-home .tc-hero-blob--2 {
  width: 220px;
  height: 220px;
  background: #f3eeff;
  bottom: 10%;
  right: 35%;
  opacity: 0.8;
}

.landing-home .tc-hero .tc-container {
  position: relative;
  z-index: 1;
}

.landing-home .tc-hero-grid {
  grid-template-columns: 1.05fr 1fr;
  gap: 2rem 2.5rem;
  align-items: center;
}

.landing-home .tc-hero-copy {
  align-self: center;
  padding-bottom: 2rem;
}

.landing-home .tc-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem 0.4rem 0.75rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--tc-border);
  box-shadow: var(--tc-shadow-card);
  margin-bottom: 1.1rem;
}

.landing-home .tc-hero-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--tc-gradient-btn);
  flex-shrink: 0;
}

.landing-home .tc-hero-title-accent {
  background: linear-gradient(135deg, #7c5ce6 0%, #b18cff 55%, #6d3ce0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.landing-home .tc-hero h1 {
  font-size: clamp(2rem, 4.2vw, 2.9rem);
  line-height: 1.38;
  margin-bottom: 1.1rem;
}

.landing-home .tc-hero-lead {
  font-size: 1.02rem;
  max-width: 32rem;
}

.landing-home .tc-hero-metrics {
  list-style: none;
  margin: 2rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--tc-border);
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  width: 100%;
}

.landing-home .tc-hero-metrics li {
  display: grid;
  gap: 0.2rem;
  flex: 1 1 0;
  min-width: 0;
}

.landing-home .tc-hero-metrics strong {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--tc-text);
  line-height: 1.2;
}

.landing-home .tc-hero-metrics span {
  font-size: 0.8rem;
  color: var(--tc-text-muted);
  font-weight: 500;
}

.landing-home .tc-hero-visual {
  align-items: center;
  justify-content: center;
}

.landing-home .tc-hero-img {
  max-height: min(480px, 58vh);
  object-position: center;
}

/* ── Features ── */
.landing-home .tc-features {
  padding-block: 3.5rem 4rem;
  background: #ffffff;
}

.landing-home .tc-features-head {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2.5rem;
}

.landing-home .tc-features-head .tc-kicker {
  margin-inline: auto;
}

.landing-home .tc-features-head h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 800;
  color: var(--tc-text);
  margin: 0.75rem 0 0.5rem;
}

.landing-home .tc-features-head p {
  margin: 0;
  color: var(--tc-text-muted);
  font-size: 0.95rem;
  line-height: 1.85;
}

.landing-home .tc-kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--tc-lavender-bg);
  color: var(--tc-primary-dark);
  font-size: 0.78rem;
  font-weight: 700;
}

.landing-home .tc-feature-card {
  position: relative;
  text-align: center;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid transparent;
  transition: transform 0.3s var(--tc-ease), box-shadow 0.3s var(--tc-ease);
}

.landing-home .tc-feature-card--lavender {
  background: linear-gradient(160deg, #f3eeff 0%, #ebe2ff 100%);
  border-color: rgba(216, 201, 255, 0.55);
  box-shadow: 0 14px 36px -18px rgba(124, 92, 230, 0.14);
}

.landing-home .tc-feature-card--sky {
  background: linear-gradient(160deg, #eaf7ff 0%, #dff4ff 100%);
  border-color: rgba(186, 230, 253, 0.55);
  box-shadow: 0 14px 36px -18px rgba(56, 140, 200, 0.12);
}

.landing-home .tc-feature-card--peach {
  background: linear-gradient(160deg, #fff3e9 0%, #ffe8d6 100%);
  border-color: rgba(253, 213, 180, 0.55);
  box-shadow: 0 14px 36px -18px rgba(220, 140, 80, 0.12);
}

.landing-home .tc-feature-card--lavender:hover,
.landing-home .tc-feature-card--sky:hover,
.landing-home .tc-feature-card--peach:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px -16px rgba(124, 92, 230, 0.18);
}

.landing-home .tc-feature-card--lavender .tc-feature-icon-wrap {
  background: rgba(255, 255, 255, 0.55);
}

.landing-home .tc-feature-card--sky .tc-feature-icon-wrap {
  background: rgba(255, 255, 255, 0.55);
}

.landing-home .tc-feature-card--peach .tc-feature-icon-wrap {
  background: rgba(255, 255, 255, 0.55);
}

.landing-home .tc-feature-num {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--tc-primary-mid);
  opacity: 0.55;
  letter-spacing: 0.05em;
}

.landing-home .tc-feature-icon-wrap {
  width: 100px;
  height: 100px;
  border-radius: 28px;
  display: grid;
  place-items: center;
  margin: 0 auto 1.35rem;
  transition: transform 0.3s var(--tc-ease);
}

.landing-home .tc-feature-card:hover .tc-feature-icon-wrap {
  transform: scale(1.06) translateY(-4px);
}

.landing-home .tc-feature-icon-wrap--mint {
  background: linear-gradient(160deg, #eefcf9 0%, #ddf8f3 100%);
}

.landing-home .tc-feature-icon-wrap--lavender {
  background: linear-gradient(160deg, #f5eeff 0%, #ebe2ff 100%);
}

.landing-home .tc-feature-icon-wrap--sky {
  background: linear-gradient(160deg, #eaf7ff 0%, #dff4ff 100%);
}

.landing-home .tc-feature-icon-wrap img {
  width: 72px;
  height: 72px;
}

.landing-home .tc-feature-card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.6rem;
}

.landing-home .tc-feature-card p {
  font-size: 0.9rem;
  line-height: 1.85;
}

/* hide old dots in feature cards */
.landing-home .tc-feature-card .tc-dots {
  display: none;
}

/* ── Video — پس‌زمینه سفید، بلوک پاستلی ── */
.landing-home .tc-video-section {
  position: relative;
  padding-block: clamp(2.5rem, 5vw, 4rem);
  background: #ffffff;
}

.landing-home .tc-video-block {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem;
  border-radius: 32px;
  border: 1px solid rgba(216, 201, 255, 0.45);
  background: linear-gradient(145deg, #f3eeff 0%, #eaf7ff 48%, #fff3e9 100%);
  box-shadow:
    0 20px 50px -24px rgba(124, 92, 230, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.landing-home .tc-video-copy .tc-kicker {
  margin-bottom: 0.75rem;
}

.landing-home .tc-video-copy h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 800;
  line-height: 1.45;
  margin: 0 0 0.75rem;
  color: var(--tc-text);
}

.landing-home .tc-video-lead {
  color: var(--tc-text-muted);
  font-size: 0.96rem;
  line-height: 1.9;
  margin: 0 0 1.25rem;
}

.landing-home .tc-video-points {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.landing-home .tc-video-points li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #4a4568;
}

.landing-home .tc-video-points .tc-icon {
  width: 18px;
  height: 18px;
  color: var(--tc-primary-dark);
  flex-shrink: 0;
}

.landing-home .tc-video-stage {
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  min-height: 0;
}

.landing-home .tc-video-frame {
  position: relative;
  width: 100%;
  max-width: 480px;
  border-radius: 24px;
  padding: 1rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.9) 0%, rgba(243, 238, 255, 0.6) 100%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 20px 48px -20px rgba(124, 92, 230, 0.28);
  transition: transform 0.35s var(--tc-ease), box-shadow 0.35s var(--tc-ease);
}

.landing-home .tc-video-frame:not(.tc-video-frame--illus):hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 56px -18px rgba(124, 92, 230, 0.35);
}

.landing-home .tc-video-frame img,
.landing-home .tc-video-frame video {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}

.landing-home .tc-video-frame .tc-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 76px;
  height: 76px;
  border: none;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--tc-primary-dark);
  cursor: pointer;
  box-shadow: 0 16px 40px -10px rgba(124, 92, 230, 0.45);
  transition: transform 0.25s var(--tc-ease), box-shadow 0.25s var(--tc-ease);
}

.landing-home .tc-video-frame .tc-play-btn:hover {
  transform: translate(-50%, -50%) scale(1.06);
  box-shadow: 0 20px 48px -10px rgba(124, 92, 230, 0.55);
}

.landing-home .tc-video-frame.is-playing .tc-play-btn {
  display: none;
}

.landing-home .tc-video-frame[data-tc-video-player] video {
  cursor: pointer;
}

.landing-home .tc-admin-banners {
  padding: 0.5rem 0 1.5rem;
}

.landing-home .tc-admin-banners img {
  border-radius: 20px;
  box-shadow: var(--tc-shadow-card);
}

/* ── Responsive (top sections only) ── */
@media (max-width: 1100px) {
  .landing-home .tc-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .landing-home .tc-hero-copy {
    padding-bottom: 0;
  }

  .landing-home .tc-hero-eyebrow {
    margin-inline: auto;
  }

  .landing-home .tc-hero-lead {
    margin-inline: auto;
  }

  .landing-home .tc-hero-actions {
    justify-content: center;
  }

  .landing-home .tc-hero-metrics {
    justify-content: center;
  }

  .landing-home .tc-video-block {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
  }

  .landing-home .tc-video-copy {
    text-align: center;
  }

  .landing-home .tc-video-points {
    text-align: right;
    max-width: 20rem;
    margin-inline: auto;
  }

  .landing-home .tc-video-copy .tc-btn {
    margin-inline: auto;
  }
}

@media (max-width: 768px) {
  .landing-home .tc-hero {
    padding-top: 2rem;
  }

  .landing-home .tc-hero-metrics {
    gap: 1rem 1.5rem;
  }

  .landing-home .tc-feature-card {
    min-height: auto;
  }

  .landing-home .tc-video-block {
    border-radius: 24px;
    padding: 1.5rem var(--tc-container-pad, 1rem);
    align-content: start;
  }

  .landing-home .tc-video-copy {
    position: relative;
    z-index: 2;
  }

  .landing-home .tc-video-stage {
    position: relative;
    z-index: 1;
    width: 100%;
  }

  .landing-home .tc-video-frame {
    transform: none !important;
  }

  .landing-home .tc-video-frame.is-playing {
    transform: none !important;
  }

  .landing-home .tc-video-frame[data-tc-video-player] video {
    width: 100%;
    max-height: min(56vw, 300px);
    object-fit: contain;
    background: #0f0d1f;
  }
}

/* بنر تخفیف — موبایل */
@media (max-width: 768px) {
  .landing-home .tc-hero-promo-card--branded .tc-hero-promo-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .landing-home .tc-hero-promo-card--branded .tc-hero-promo-visual {
    order: -1;
    justify-content: center;
    padding: 0.5rem 1rem 0;
  }

  .landing-home .tc-hero-promo-card--branded .tc-hero-promo-visual img {
    max-height: 160px;
    margin: 0 auto;
    object-position: center bottom;
  }

  .landing-home .tc-hero-promo-card--branded .tc-hero-promo-body {
    padding: 1.25rem 1.5rem 1.75rem;
  }
}
