/* ═══════════════════════════════════════════════════════════════
   Testchii Landing — Design Tokens + Pixel-Accurate Layout
   ═══════════════════════════════════════════════════════════════ */

.landing-home {
  /* ── Tokens ── */
  --tc-primary: #a78bfa;
  --tc-primary-mid: #b18cff;
  --tc-primary-dark: #7c5ce6;
  --tc-primary-deep: #6d3ce0;
  --tc-secondary-blue: #cfefff;
  --tc-mint: #ddf8f3;
  --tc-soft-cyan: #eafbff;
  --tc-peach: #fff1e8;
  --tc-lavender-bg: #f6f0ff;
  --tc-surface: #ffffff;
  --tc-text: #2e234d;
  --tc-text-muted: #7e7a94;
  --tc-border: #f0ebfa;
  --tc-border-soft: #f1ecfa;
  --tc-shadow: 0 10px 30px rgba(140, 116, 220, 0.08);
  --tc-shadow-lg: 0 20px 50px rgba(100, 80, 180, 0.05);
  --tc-shadow-card: 0 10px 30px rgba(136, 110, 220, 0.06);
  --tc-gradient-btn: linear-gradient(135deg, #b996ff, #9a7bff);
  --tc-gradient-cta: linear-gradient(135deg, #a882ff, #c6a6ff);
  --tc-gradient-hero: linear-gradient(180deg, #ffffff 0%, #f7f3ff 100%);
  --tc-gradient-video: linear-gradient(135deg, #eaf7ff 0%, #fff3e9 100%);
  --tc-radius-sm: 14px;
  --tc-radius-md: 22px;
  --tc-radius-lg: 28px;
  --tc-radius-xl: 34px;
  --tc-radius-shell: 32px;
  --tc-font: 'Vazirmatn', ui-sans-serif, system-ui, sans-serif;
  --tc-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --tc-max: 1520px;
  /* فاصله شِل از لبه viewport و padding داخلی container */
  --tc-shell-gutter: 0.25rem;
  --tc-shell-top: 0.5rem;
  --tc-shell-bottom: var(--tc-shell-top);
  --tc-container-pad: 0.75rem;

  font-family: var(--tc-font);
  color: var(--tc-text);
  line-height: 1.7;
  /* پس‌زمینهٔ بیرون پنل — متمایز از خود سایت */
  --tc-backdrop: #e4dff2;
  background: var(--tc-backdrop);
  min-height: 100vh;
  padding-bottom: var(--tc-shell-bottom);
  overflow-x: clip;
  /* فاصلهٔ زیر پنل + جلوگیری از ریزش margin پایین .tc-shell */
  display: flow-root;
  box-sizing: border-box;
  position: relative;
}

/*
 * Scroll paint guard:
 * هم‌رنگ پس‌زمینه بیرون پنل تا گوشه‌های گرد پایین شِل بنفش دیده شوند.
 */
.landing-home:not(.landing-dashboard)::before {
  content: '';
  position: fixed;
  z-index: 0;
  top: var(--tc-shell-top);
  bottom: 0;
  left: 50%;
  width: min(calc(100% - 2 * var(--tc-shell-gutter)), var(--tc-max));
  transform: translateX(-50%);
  border-radius: var(--tc-radius-shell);
  background: var(--tc-backdrop);
  pointer-events: none;
}

/* صفحات عمومی (غیر داشبورد): حاشیه بیشتر از گوشه‌های صفحه */
.landing-home:not(.landing-dashboard) {
  --tc-shell-gutter: 0.55rem;
  --tc-shell-top: 0.5rem;
  --tc-container-pad: 0.85rem;
}

/* لندینگ: فاصله یکسان از لبه صفحه تا قالب و تا محتوا */
.landing-home[data-landing-root] {
  --tc-shell-gutter: 0.75rem;
  --tc-container-pad: 1rem;
}

.landing-home.landing-dashboard {
  --tc-shell-gutter: 0.25rem;
  --tc-shell-top: 0.35rem;
  --tc-container-pad: 0.75rem;
}

body.tc-has-landing-shell {
  background: #e4dff2 !important;
  overflow-x: clip;
  scrollbar-gutter: stable both-edges;
}

.landing-home *,
.landing-home *::before,
.landing-home *::after {
  box-sizing: border-box;
}

.landing-home img,
.landing-home svg {
  display: block;
  max-width: 100%;
}

.landing-home a {
  color: inherit;
  text-decoration: none;
}

.landing-home .tc-icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.15em;
  flex-shrink: 0;
}

.landing-home .tc-header.is-scrolled {
  box-shadow: var(--tc-shadow-card);
}

/* ── Page shell (rounded panel on viewport) ── */
.landing-home .tc-shell {
  width: min(calc(100% - 2 * var(--tc-shell-gutter)), var(--tc-max));
  margin: var(--tc-shell-top) auto var(--tc-shell-bottom);
  background: var(--tc-surface);
  border-radius: var(--tc-radius-shell);
  box-shadow:
    0 0 0 1px rgba(124, 92, 230, 0.14),
    0 2px 4px rgba(46, 35, 77, 0.06),
    0 12px 32px rgba(46, 35, 77, 0.1),
    0 32px 72px rgba(124, 92, 230, 0.14),
    0 56px 120px rgba(46, 35, 77, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.95);
  overflow: hidden;
  position: relative;
  isolation: isolate;
  z-index: 1;
}

.landing-home .tc-shell-blobs {
  display: none !important;
}

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

.landing-home .tc-shell-blob--1 {
  width: 320px;
  height: 320px;
  background: #eaf7ff;
  top: -80px;
  left: -60px;
}

.landing-home .tc-shell-blob--2 {
  width: 280px;
  height: 280px;
  background: #f5eeff;
  top: 28%;
  right: -80px;
}

.landing-home .tc-shell-blob--3 {
  width: 240px;
  height: 240px;
  background: #fff3e9;
  bottom: 10%;
  left: 20%;
}

.landing-home .tc-shell > *:not(.tc-shell-blobs) {
  position: relative;
  z-index: 1;
}

/* ── Container (حاشیهٔ چپ/راست متقارن) ── */
.landing-home .tc-container {
  box-sizing: border-box;
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--tc-container-pad);
}

/* ── Header ── */
.landing-home .tc-header {
  background: var(--tc-surface);
  border-bottom: 1px solid var(--tc-border);
}

.landing-home .tc-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 84px;
  padding-block: 0.75rem;
}

.landing-home .tc-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--tc-text);
  flex-shrink: 0;
}

.landing-home .tc-brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  flex-shrink: 0;
}

.landing-home .tc-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
  justify-content: center;
}

.landing-home .tc-nav a {
  padding: 0.5rem 0.95rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: #51596f;
  border-radius: 10px;
  transition: color 0.25s var(--tc-ease), background 0.25s var(--tc-ease);
}

.landing-home .tc-nav a:hover,
.landing-home .tc-nav a.is-active {
  color: var(--tc-primary-dark);
}

.landing-home .tc-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.landing-home .tc-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid var(--tc-border);
  border-radius: 12px;
  background: #fff;
  color: var(--tc-text);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.landing-home .tc-mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0 0 1rem;
  border-top: 1px solid var(--tc-border);
  margin-top: -0.25rem;
}

.landing-home .tc-mobile-nav.open {
  display: flex;
}

.landing-home .tc-mobile-nav a:not(.tc-btn) {
  padding: 0.65rem 0.5rem;
  font-weight: 500;
  color: var(--tc-text);
}

.landing-home .tc-mobile-nav .tc-btn-primary {
  color: #fff !important;
  margin-top: 0;
  text-align: center;
}

.landing-home .tc-mobile-nav__auth {
  display: flex;
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.landing-home .tc-mobile-nav__auth .tc-btn {
  flex: 1;
  justify-content: center;
  text-align: center;
}

/* ── Buttons ── */
.landing-home .tc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.72rem 1.45rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--tc-ease), box-shadow 0.25s var(--tc-ease), background 0.25s var(--tc-ease);
}

.landing-home .tc-btn:hover {
  transform: translateY(-1px);
}

.landing-home .tc-btn-primary {
  background: var(--tc-gradient-btn);
  color: #fff;
  box-shadow: 0 12px 28px -12px rgba(154, 123, 255, 0.65);
}

.landing-home .tc-btn-primary:hover {
  box-shadow: 0 16px 34px -12px rgba(154, 123, 255, 0.75);
}

.landing-home .tc-btn-outline {
  background: #fff;
  color: var(--tc-primary-dark);
  border: 1.5px solid #efeaf8;
}

.landing-home .tc-btn-outline:hover {
  background: var(--tc-lavender-bg);
  border-color: #ddd1ff;
}

.landing-home .tc-btn-white {
  background: #fff;
  color: var(--tc-primary-dark);
  box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.2);
}

.landing-home .tc-btn-pill {
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--tc-primary-dark);
  border: 1px solid rgba(255, 255, 255, 0.6);
  font-weight: 700;
}

.landing-home .tc-btn-pill:hover {
  background: #fff;
}

/* ── Section utilities ── */
.landing-home .tc-section {
  padding-block: 3.5rem;
}

/* باندهای پاستلی سکشن — مثل کارت‌های نظرات */
.landing-home .tc-band {
  padding-block: clamp(2.5rem, 5vw, 3.75rem);
}

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

.landing-home .tc-band--lavender {
  background: linear-gradient(160deg, #f3eeff 0%, #ebe2ff 100%);
}

.landing-home .tc-band--peach {
  background: linear-gradient(160deg, #fff3e9 0%, #ffe8d6 100%);
}

.landing-home .tc-section-title {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 800;
  color: var(--tc-text);
  text-align: center;
  margin-bottom: 2rem;
}

.landing-home [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--tc-ease), transform 0.55s var(--tc-ease);
}

.landing-home [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* ── Hero ── */
.landing-home .tc-hero {
  padding: 2rem 0 0;
  background: #ffffff;
  position: relative;
  overflow: visible;
}

.landing-home .tc-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1.5rem 2rem;
  align-items: end;
}

.landing-home .tc-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--tc-primary-dark);
  margin-bottom: 0.85rem;
}

.landing-home .tc-hero h1 {
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
  font-weight: 800;
  line-height: 1.45;
  color: var(--tc-text);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.landing-home .tc-hero-lead {
  font-size: 1rem;
  color: var(--tc-text-muted);
  line-height: 1.9;
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.landing-home .tc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.landing-home .tc-hero-visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  line-height: 0;
  min-height: 0;
}

.landing-home .tc-hero-visual img,
.landing-home .tc-hero-img {
  width: 100%;
  max-width: none;
  max-height: min(500px, 54vh);
  height: auto;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  outline: none;
  background: transparent;
  object-fit: contain;
  object-position: left bottom;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
}

/* دکور اضافی — ایلاستریشن خودش blob دارد */
.landing-home .tc-hero-deco {
  display: none;
}

.landing-home .tc-hero-grid > [data-reveal]:first-child {
  padding-bottom: 3rem;
  align-self: center;
}

/* ── Feature cards (3) ── */
.landing-home .tc-features {
  padding-block: 2rem 3.5rem;
}

.landing-home .tc-features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.landing-home .tc-feature-card {
  background: var(--tc-surface);
  border: 1px solid var(--tc-border);
  border-radius: var(--tc-radius-md);
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: var(--tc-shadow-card);
  text-align: center;
  transition: transform 0.28s var(--tc-ease), box-shadow 0.28s var(--tc-ease), border-color 0.28s var(--tc-ease);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 280px;
}

.landing-home .tc-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--tc-shadow);
  border-color: #e2d6ff;
}

.landing-home .tc-feature-icon {
  width: 88px;
  height: 88px;
  margin-bottom: 1.25rem;
}

.landing-home .tc-feature-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 0.65rem;
  color: var(--tc-text);
}

.landing-home .tc-feature-card p {
  font-size: 0.88rem;
  color: var(--tc-text-muted);
  line-height: 1.8;
  margin: 0;
  flex: 1;
}

.landing-home .tc-dots {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  margin-top: 1.25rem;
}

.landing-home .tc-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e8e4f4;
}

.landing-home .tc-dots span.is-active {
  background: var(--tc-primary-mid);
  width: 18px;
  border-radius: 999px;
}

/* ── Video section ── */
.landing-home .tc-video-block {
  background: var(--tc-gradient-video);
  border-radius: var(--tc-radius-lg);
  border: 1px solid var(--tc-border);
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  box-shadow: var(--tc-shadow-card);
}

.landing-home .tc-video-visual {
  position: relative;
  display: grid;
  place-items: center;
}

.landing-home .tc-video-visual img {
  width: 100%;
  max-width: 420px;
}

.landing-home .tc-play-btn {
  position: absolute;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.25);
  color: var(--tc-primary-dark);
}

.landing-home .tc-video-text h2 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 800;
  margin: 0 0 0.75rem;
}

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

/* ── Promo banners (3) ── */
.landing-home .tc-promo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.landing-home .tc-promo-card {
  border-radius: var(--tc-radius-md);
  padding: 1.5rem;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid transparent;
  transition: transform 0.28s var(--tc-ease);
}

.landing-home .tc-promo-card:hover {
  transform: translateY(-3px);
}

.landing-home .tc-promo-card--lavender {
  background: linear-gradient(160deg, #f0e8ff 0%, #e8def9 100%);
}

.landing-home .tc-promo-card--cyan {
  background: linear-gradient(160deg, #eafbff 0%, #dff8f4 100%);
}

.landing-home .tc-promo-card--peach {
  background: linear-gradient(160deg, #fff1e8 0%, #ffe6d4 100%);
}

.landing-home .tc-promo-card img {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
}

.landing-home .tc-promo-card h3 {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.55;
  margin: 0 0 1rem;
  color: var(--tc-text);
}

/* ── Popular dual boxes ── */
.landing-home .tc-popular-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.landing-home .tc-popular-box {
  background: var(--tc-surface);
  border: 1px solid var(--tc-border);
  border-radius: var(--tc-radius-lg);
  padding: 1.5rem 1.4rem 1.75rem;
  box-shadow: var(--tc-shadow-card);
}

.landing-home .tc-popular-box--sky {
  background: linear-gradient(155deg, #eafbff 0%, var(--tc-mint) 28%, #eefbf7 58%, #fafcff 100%);
  border-color: rgba(83, 221, 169, 0.42);
}

.landing-home .tc-popular-box--lavender {
  background: linear-gradient(155deg, #fff3e9 0%, var(--tc-peach) 28%, #fff8f0 55%, #fffaf5 100%);
  border-color: rgba(253, 186, 116, 0.55);
}

.landing-home .tc-popular-box--violet {
  background: linear-gradient(155deg, #f3eeff 0%, #ede6ff 28%, #faf6ff 55%, #fff8f5 100%);
  border-color: rgba(216, 201, 255, 0.58);
}

.landing-home .tc-popular-box--blue {
  background: linear-gradient(155deg, #e8f7ff 0%, #dff4ff 28%, #f0fbff 58%, #fafcff 100%);
  border-color: rgba(125, 211, 252, 0.55);
}

.landing-home .tc-popular-box--sky .tc-popular-item:not(.tc-popular-item--product),
.landing-home .tc-popular-box--lavender .tc-popular-item:not(.tc-popular-item--product),
.landing-home .tc-popular-box--violet .tc-popular-item:not(.tc-popular-item--product),
.landing-home .tc-popular-box--blue .tc-popular-item:not(.tc-popular-item--product) {
  background: rgba(255, 255, 255, 0.65);
}

.landing-home .tc-popular-box--sky .tc-popular-item:not(.tc-popular-item--product):hover,
.landing-home .tc-popular-box--lavender .tc-popular-item:not(.tc-popular-item--product):hover,
.landing-home .tc-popular-box--violet .tc-popular-item:not(.tc-popular-item--product):hover,
.landing-home .tc-popular-box--blue .tc-popular-item:not(.tc-popular-item--product):hover {
  background: rgba(255, 255, 255, 0.92);
}

.landing-home .tc-popular-box--sky .tc-popular-item--product,
.landing-home .tc-popular-box--lavender .tc-popular-item--product,
.landing-home .tc-popular-box--violet .tc-popular-item--product,
.landing-home .tc-popular-box--blue .tc-popular-item--product {
  background: transparent;
}

.landing-home .tc-popular-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin-bottom: 1.35rem;
}

.landing-home .tc-popular-head__text {
  min-width: 0;
}

.landing-home .tc-popular-head h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0;
}

.landing-home .tc-popular-head__sub {
  margin: 0.3rem 0 0;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--tc-text-muted);
}

.landing-home .tc-popular-shop-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0.45rem 1.05rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid rgba(124, 92, 230, 0.22);
  background: rgba(255, 255, 255, 0.92);
  color: var(--tc-primary-dark);
  box-shadow:
    0 1px 2px rgba(46, 35, 77, 0.05),
    0 3px 12px rgba(124, 92, 230, 0.1);
  transition:
    transform 0.22s var(--tc-ease),
    box-shadow 0.22s var(--tc-ease),
    border-color 0.22s,
    background 0.22s;
}

.landing-home .tc-popular-shop-btn:hover {
  transform: translateY(-2px);
  background: #fff;
  border-color: rgba(124, 92, 230, 0.38);
  box-shadow: 0 5px 18px rgba(124, 92, 230, 0.16);
}

.landing-home .tc-popular-box--sky .tc-popular-shop-btn {
  border-color: rgba(83, 221, 169, 0.32);
  color: #0f766e;
  box-shadow:
    0 1px 2px rgba(15, 118, 110, 0.06),
    0 3px 12px rgba(83, 221, 169, 0.12);
}

.landing-home .tc-popular-box--sky .tc-popular-shop-btn:hover {
  background: #fff;
  border-color: rgba(83, 221, 169, 0.48);
  box-shadow: 0 5px 18px rgba(83, 221, 169, 0.18);
}

.landing-home .tc-popular-box--lavender .tc-popular-shop-btn {
  border-color: rgba(234, 88, 12, 0.28);
  color: #ea580c;
  box-shadow:
    0 1px 2px rgba(234, 88, 12, 0.06),
    0 3px 12px rgba(234, 88, 12, 0.12);
}

.landing-home .tc-popular-box--lavender .tc-popular-shop-btn:hover {
  background: #fff;
  border-color: rgba(234, 88, 12, 0.42);
  box-shadow: 0 5px 18px rgba(234, 88, 12, 0.18);
}

.landing-home .tc-popular-box--violet .tc-popular-shop-btn {
  border-color: rgba(124, 92, 230, 0.32);
  color: #6d3ce0;
  box-shadow:
    0 1px 2px rgba(109, 60, 224, 0.06),
    0 3px 12px rgba(124, 92, 230, 0.12);
}

.landing-home .tc-popular-box--violet .tc-popular-shop-btn:hover {
  background: #fff;
  border-color: rgba(124, 92, 230, 0.48);
  box-shadow: 0 5px 18px rgba(124, 92, 230, 0.18);
}

.landing-home .tc-popular-box--blue .tc-popular-shop-btn {
  border-color: rgba(56, 189, 248, 0.35);
  color: #0369a1;
  box-shadow:
    0 1px 2px rgba(3, 105, 161, 0.06),
    0 3px 12px rgba(56, 189, 248, 0.12);
}

.landing-home .tc-popular-box--blue .tc-popular-shop-btn:hover {
  background: #fff;
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 5px 18px rgba(56, 189, 248, 0.18);
}

.landing-home .tc-popular-items {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.landing-home .tc-popular-item {
  text-align: center;
  padding: 0.75rem 0.35rem;
  border-radius: var(--tc-radius-sm);
  transition: background 0.25s var(--tc-ease);
}

.landing-home .tc-popular-item:not(.tc-popular-item--product):hover {
  background: var(--tc-lavender-bg);
}

.landing-home .tc-popular-item-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 0.65rem;
  border-radius: 16px;
  display: grid;
  place-items: center;
}

.landing-home .tc-popular-item-icon svg {
  width: 26px;
  height: 26px;
  color: #fff;
}

.landing-home .tc-popular-item strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--tc-text);
}

.landing-home .tc-popular-item small {
  display: block;
  font-size: 0.68rem;
  color: var(--tc-text-muted);
  margin-top: 0.2rem;
  line-height: 1.4;
}

/* آیتم محصول — فقط تصویر گرد + عنوان، بدون هیچ پس‌زمینه/حاشیه دور عکس */
.landing-home a.tc-popular-item--product {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: inherit;
  padding: 0;
  border: none;
  border-radius: 0;
  background: none !important;
  box-shadow: none !important;
  transition: transform 0.25s var(--tc-ease);
}

.landing-home a.tc-popular-item--product:hover {
  transform: translateY(-3px);
  background: none !important;
  box-shadow: none !important;
}

.landing-home .tc-popular-item__media {
  display: block;
  width: 100%;
  line-height: 0;
  background: none;
}

.landing-home .tc-popular-item__img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 13.5rem;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 10px;
  object-fit: contain;
  object-position: center;
  background: none !important;
  box-shadow: none !important;
}

.landing-home .tc-popular-item__fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  margin-inline: auto;
  padding: 0;
  border: none;
  border-radius: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--tc-primary-dark);
  background: rgba(255, 255, 255, 0.65);
  box-shadow: none;
}

@media (max-width: 767px) {
  .landing-home .tc-popular-item__img {
    max-height: none;
    border-radius: 8px;
  }

  .landing-home .tc-popular-item__fallback {
    border-radius: 8px;
  }
}

.landing-home .tc-popular-item__title {
  display: -webkit-box;
  width: 100%;
  margin: 0;
  text-align: center;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.45;
}

.landing-home .tc-popular-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 1rem 0.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--tc-text-muted);
}

.landing-home .tc-popular-item-icon--violet { background: linear-gradient(135deg, #c4b5fd, #a78bfa); }
.landing-home .tc-popular-item-icon--peach { background: linear-gradient(135deg, #fdba74, #fb923c); }
.landing-home .tc-popular-item-icon--pink { background: linear-gradient(135deg, #f9a8d4, #f472b6); }
.landing-home .tc-popular-item-icon--mint { background: linear-gradient(135deg, #6ee7b7, #34d399); }
.landing-home .tc-popular-item-icon--sky { background: linear-gradient(135deg, #7dd3fc, #38bdf8); }
.landing-home .tc-popular-item-icon--lilac { background: linear-gradient(135deg, #ddd6fe, #a78bfa); }
.landing-home .tc-popular-item-icon--gold { background: linear-gradient(135deg, #fcd34d, #f59e0b); }
.landing-home .tc-popular-item-icon--rose { background: linear-gradient(135deg, #fda4af, #fb7185); }

/* ── اخبار + وبلاگ (دو ستون متنی) ── */
.landing-home .tc-section-feed {
  padding-top: 0.5rem;
}

.landing-home .tc-section-head--center {
  text-align: center;
  max-width: 40rem;
  margin-inline: auto;
  margin-bottom: 2.25rem;
}

.landing-home .tc-section-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tc-primary-dark);
  opacity: 0.9;
}

.landing-home .tc-section-lead {
  margin: 0.65rem 0 0;
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--tc-text-muted);
}

.landing-home .tc-feed-dual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
  align-items: stretch;
}

.landing-home .tc-feed-col {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.landing-home .tc-feed-col-head {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.45rem;
}

.landing-home .tc-feed-col-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--tc-text);
}

.landing-home .tc-feed-col--news .tc-feed-col-title--accent {
  background: linear-gradient(135deg, #0891b2 0%, #48cae4 55%, #0e7490 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.landing-home .tc-feed-col--blog .tc-feed-col-title--accent {
  background: linear-gradient(135deg, #7c5ce6 0%, #a78bfa 50%, #6d3ce0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.landing-home .tc-feed-col-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.2rem;
  padding: 0.48rem 1.2rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid rgba(124, 92, 230, 0.2);
  background: #fff;
  color: var(--tc-primary-dark);
  box-shadow:
    0 1px 2px rgba(46, 35, 77, 0.05),
    0 4px 14px rgba(124, 92, 230, 0.1);
  transition:
    transform 0.22s var(--tc-ease),
    box-shadow 0.22s var(--tc-ease),
    border-color 0.22s,
    background 0.22s;
}

.landing-home .tc-feed-col-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(124, 92, 230, 0.38);
  box-shadow: 0 6px 20px rgba(124, 92, 230, 0.18);
  background: #faf8ff;
}

.landing-home .tc-feed-col--news .tc-feed-col-btn {
  border-color: rgba(72, 202, 228, 0.35);
  color: #0e7490;
  box-shadow:
    0 1px 2px rgba(14, 116, 144, 0.06),
    0 4px 14px rgba(72, 202, 228, 0.12);
}

.landing-home .tc-feed-col--news .tc-feed-col-btn:hover {
  background: rgba(234, 251, 255, 0.95);
  border-color: rgba(72, 202, 228, 0.55);
}

.landing-home .tc-feed-col--blog .tc-feed-col-btn {
  border-color: rgba(167, 139, 250, 0.4);
  color: #6d3ce0;
}

.landing-home .tc-feed-col--blog .tc-feed-col-btn:hover {
  background: rgba(246, 240, 255, 0.98);
  border-color: rgba(124, 92, 230, 0.5);
}

.landing-home .tc-text-feed {
  flex: 1;
  background: linear-gradient(165deg, #faf8ff 0%, #ffffff 55%, #f8fbff 100%);
  border: 1px solid var(--tc-border);
  border-radius: var(--tc-radius-lg);
  box-shadow: var(--tc-shadow-card);
  overflow: hidden;
}

.landing-home .tc-feed-col--news .tc-text-feed {
  border-top: 3px solid rgba(72, 202, 228, 0.55);
}

.landing-home .tc-feed-col--blog .tc-text-feed {
  border-top: 3px solid rgba(167, 139, 250, 0.65);
}

.landing-home .tc-text-feed-list {
  list-style: none;
  margin: 0;
  padding: 0.35rem 0;
}

.landing-home .tc-text-feed-list > li + li {
  border-top: 1px solid var(--tc-border-soft);
}

.landing-home .tc-text-feed-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 0.85rem;
  padding: 0.9rem 1.1rem;
  transition: background 0.22s var(--tc-ease);
}

.landing-home .tc-text-feed-item:hover {
  background: rgba(124, 92, 230, 0.06);
}

.landing-home .tc-text-feed-index {
  font-size: 0.7rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--tc-primary-mid);
  opacity: 0.65;
  padding-top: 0.15rem;
  min-width: 1.25rem;
}

.landing-home .tc-feed-col--news .tc-text-feed-index {
  color: #0891b2;
}

.landing-home .tc-text-feed-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.landing-home .tc-text-feed-date {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--tc-text-muted);
  letter-spacing: 0.02em;
}

.landing-home .tc-text-feed-title {
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.55;
  color: var(--tc-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.landing-home .tc-text-feed-excerpt {
  font-size: 0.78rem;
  line-height: 1.65;
  color: var(--tc-text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.landing-home .tc-text-feed-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(124, 92, 230, 0.08);
  color: var(--tc-primary-dark);
  flex-shrink: 0;
  margin-top: 0.1rem;
  transition: transform 0.22s var(--tc-ease), background 0.22s;
}

.landing-home .tc-text-feed-item:hover .tc-text-feed-arrow {
  transform: translateX(-3px);
  background: rgba(124, 92, 230, 0.16);
}

.landing-home .tc-feed-col--news .tc-text-feed-item:hover .tc-text-feed-arrow {
  background: rgba(72, 202, 228, 0.2);
  color: #0e7490;
}

.landing-home .tc-text-feed-empty {
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.landing-home .tc-text-feed-empty-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--tc-text);
}

.landing-home .tc-text-feed-empty-text {
  margin: 0.5rem 0 1.25rem;
  font-size: 0.82rem;
  color: var(--tc-text-muted);
  line-height: 1.7;
}

/* ── Blog (کارت تصویری — legacy) ── */
.landing-home .tc-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.landing-home .tc-blog-card {
  background: var(--tc-surface);
  border: 1px solid var(--tc-border);
  border-radius: var(--tc-radius-md);
  overflow: hidden;
  box-shadow: var(--tc-shadow-card);
  transition: transform 0.28s var(--tc-ease), box-shadow 0.28s var(--tc-ease);
}

.landing-home .tc-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--tc-shadow);
}

.landing-home .tc-blog-thumb {
  aspect-ratio: 16 / 10;
  background: var(--tc-lavender-bg);
  overflow: hidden;
  position: relative;
}

.landing-home .tc-blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-home .tc-blog-badge {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  background: var(--tc-gradient-btn);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}

.landing-home .tc-blog-body {
  padding: 1.25rem 1.2rem 1.35rem;
}

.landing-home .tc-blog-body h3 {
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.55;
  margin: 0 0 0.5rem;
}

.landing-home .tc-blog-body p {
  font-size: 0.82rem;
  color: var(--tc-text-muted);
  line-height: 1.75;
  margin: 0;
}

.landing-home .tc-blog-meta {
  font-size: 0.72rem;
  color: var(--tc-text-muted);
  margin-top: 0.75rem;
}

/* ── Testimonials ── */
.landing-home .tc-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.landing-home .tc-testimonial {
  border-radius: var(--tc-radius-md);
  padding: 1.75rem 1.5rem;
  border: 1px solid transparent;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s var(--tc-ease);
}

.landing-home .tc-testimonial:hover {
  transform: translateY(-3px);
}

.landing-home .tc-testimonial--blue {
  background: linear-gradient(160deg, #eaf7ff 0%, #dff4ff 100%);
}

.landing-home .tc-testimonial--lavender {
  background: linear-gradient(160deg, #f3eeff 0%, #ebe2ff 100%);
}

.landing-home .tc-testimonial--peach {
  background: linear-gradient(160deg, #fff3e9 0%, #ffe8d6 100%);
}

.landing-home .tc-testimonial-quote-icon {
  width: 28px;
  height: 28px;
  color: var(--tc-primary-mid);
  opacity: 0.5;
  margin-bottom: 0.75rem;
}

.landing-home .tc-testimonial p {
  font-size: 0.9rem;
  line-height: 1.95;
  color: #3f3966;
  flex: 1;
  margin: 0;
}

.landing-home .tc-testimonial-foot {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.landing-home .tc-testimonial-avatar {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: linear-gradient(135deg, #ede9fe, #e0f2fe);
  color: #6d3ce0;
  font-weight: 900;
}

.landing-home .tc-testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-home .tc-testimonial-meta strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
}

.landing-home .tc-testimonial-meta small {
  font-size: 0.78rem;
  color: var(--tc-text-muted);
}

.landing-home .tc-testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1.75rem;
}

/* ── CTA بنر نهایی (زیر نظرات) ── */
.landing-home .tc-cta {
  padding-block: 2.5rem 4rem;
  background: #ffffff;
}

.landing-home .tc-cta-banner {
  position: relative;
  border-radius: 32px;
  overflow: visible;
  background: linear-gradient(118deg, #9a7bff 0%, #b18cff 38%, #c9b0ff 68%, #ddb8ff 100%);
  box-shadow:
    0 4px 8px -2px rgba(109, 60, 224, 0.2),
    0 28px 64px -20px rgba(109, 60, 224, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.landing-home .tc-cta-banner-bg {
  pointer-events: none;
  position: absolute;
  inset: 0;
  overflow: hidden;
}

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

.landing-home .tc-cta-blob--1 {
  width: 280px;
  height: 280px;
  background: rgba(255, 255, 255, 0.35);
  top: -90px;
  inset-inline-start: -40px;
}

.landing-home .tc-cta-blob--2 {
  width: 220px;
  height: 220px;
  background: rgba(234, 247, 255, 0.45);
  bottom: -60px;
  inset-inline-end: 15%;
}

.landing-home .tc-cta-blob--3 {
  width: 200px;
  height: 200px;
  background: rgba(255, 210, 235, 0.42);
  top: 38%;
  inset-inline-end: 6%;
}

.landing-home .tc-cta-banner-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: center;
  padding: clamp(2rem, 4vw, 3rem) clamp(1.75rem, 4vw, 3rem);
  min-height: clamp(280px, 36vw, 340px);
}

.landing-home .tc-cta-banner-copy {
  text-align: right;
}

.landing-home .tc-cta-banner-kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  margin-bottom: 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
}

.landing-home .tc-cta-banner-copy h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  font-weight: 800;
  line-height: 1.42;
  color: #fff;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 16px rgba(80, 50, 150, 0.2);
}

.landing-home .tc-cta-banner-copy p {
  margin: 0;
  font-size: clamp(0.92rem, 1.6vw, 1.02rem);
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.92);
  max-width: 28rem;
}

.landing-home .tc-cta-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.landing-home .tc-btn-cta-ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
}

.landing-home .tc-btn-cta-ghost:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.landing-home .tc-cta-banner-visual {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 0;
  line-height: 0;
}

.landing-home .tc-cta-banner-visual picture {
  display: block;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
}

.landing-home .tc-cta-banner-img {
  width: 100%;
  height: auto;
  max-height: min(320px, 46vh);
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 24px 40px rgba(46, 35, 77, 0.28));
}

/* سازگاری با کلاس‌های قدیمی */
.landing-home .tc-cta-inner {
  background: var(--tc-gradient-cta);
  border-radius: var(--tc-radius-xl);
  padding: 2.75rem 2.5rem;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 32px 64px -32px rgba(109, 60, 224, 0.45);
}

/* ── Footer (چسبیده به محتوا؛ فاصلهٔ بنفش زیر پنل از padding-bottom .landing-home) ── */
.landing-home .tc-footer {
  background: #faf8ff;
  border-top: 1px solid var(--tc-border);
  padding: 3rem 0 2rem;
  border-bottom-left-radius: var(--tc-radius-shell);
  border-bottom-right-radius: var(--tc-radius-shell);
}

.landing-home .tc-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.1fr);
  gap: 1.25rem 1rem;
  align-items: start;
}

.landing-home .tc-footer-col--brand .tc-brand {
  display: inline-flex;
  margin-top: 0.15rem;
}

.landing-home .tc-footer-col--newsletter .tc-newsletter-form {
  flex-direction: column;
  align-items: stretch;
}

.landing-home .tc-footer-col--newsletter .tc-newsletter-form button {
  width: 100%;
}

.landing-home .tc-footer-about--compact {
  margin-bottom: 0.65rem;
  max-width: none;
}

.landing-home .tc-footer h4 {
  font-size: 0.95rem;
  font-weight: 800;
  margin: 0 0 1rem;
  color: var(--tc-text);
}

.landing-home .tc-footer-about {
  font-size: 0.88rem;
  color: var(--tc-text-muted);
  line-height: 1.85;
  margin: 0.75rem 0 1.25rem;
  max-width: 22rem;
}

.landing-home .tc-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.landing-home .tc-footer-links li {
  margin-bottom: 0.5rem;
}

.landing-home .tc-footer-links a {
  font-size: 0.88rem;
  color: var(--tc-text-muted);
  transition: color 0.2s;
}

.landing-home .tc-footer-links a:hover {
  color: var(--tc-primary-dark);
}

.landing-home .tc-social {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
  align-items: center;
}

.landing-home .tc-social-link {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(230, 235, 245, 0.95);
  display: grid;
  place-items: center;
  padding: 0;
  transition:
    transform 0.25s var(--tc-ease),
    border-color 0.25s var(--tc-ease),
    box-shadow 0.25s var(--tc-ease);
}

.landing-home .tc-social-link svg,
.landing-home .tc-social-link img {
  width: 22px;
  height: 22px;
  display: block;
}

.landing-home .tc-social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px -8px rgba(46, 35, 77, 0.2);
}

.landing-home .tc-social-link--rubika {
  background: #f6effc;
  border-color: #e9d5ff;
}

.landing-home .tc-social-link--bale {
  background: #ecfdf3;
  border-color: #bbf7d0;
}

.landing-home .tc-social-link--telegram {
  background: #eff8fd;
  border-color: #bae6fd;
}

.landing-home .tc-social-link--instagram {
  background: #fff5f8;
  border-color: #fbcfe8;
}

.landing-home .tc-social-link--whatsapp {
  background: #effdf4;
  border-color: #bbf7d0;
}

.landing-home .tc-social-link.is-disabled {
  opacity: 0.45;
  pointer-events: none;
  cursor: default;
}

.landing-home .tc-footer-trust {
  margin: 1.4rem 0 0.8rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(155, 126, 230, 0.28);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.landing-home .tc-footer-trust__item {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  border: 1px solid rgba(196, 181, 253, 0.52);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 8px 22px -16px rgba(63, 46, 101, 0.45);
}

.landing-home .tc-footer-trust__item--embed {
  position: relative;
  width: 86px;
  min-width: 86px;
  height: 96px;
  padding: 0.25rem;
  overflow: visible;
}

.landing-home a.tc-footer-trust__item {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.landing-home a.tc-footer-trust__item:hover {
  transform: translateY(-2px);
  border-color: rgba(139, 92, 246, 0.55);
  box-shadow: 0 12px 26px -14px rgba(109, 60, 224, 0.45);
}

.landing-home .tc-footer-trust__item a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.landing-home .tc-footer-trust__item--embed > a {
  position: relative;
  z-index: 1;
  background: #fff;
}

.landing-home .tc-footer-trust__item a:hover {
  transform: translateY(-2px);
}

.landing-home .tc-footer-trust__item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.landing-home .tc-footer-trust__item--embed img {
  width: auto;
  max-width: 76px !important;
  max-height: 86px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  object-fit: contain;
}

.landing-home .tc-footer-trust__item--embed iframe,
.landing-home .tc-footer-trust__item--embed object {
  max-width: 76px !important;
  max-height: 86px !important;
}

.landing-home .tc-footer-trust__fallback {
  position: absolute;
  inset: 0.45rem;
  display: grid;
  place-items: center;
  padding: 0.5rem;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f3ff 100%);
  color: #6d3ce0;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.7;
  text-align: center;
}

.landing-home .tc-newsletter-form {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.landing-home .tc-newsletter-form input {
  flex: 1;
  min-width: 0;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--tc-border);
  font-family: inherit;
  font-size: 0.88rem;
  background: #fff;
  text-align: right;
}

.landing-home .tc-newsletter-form button {
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  border: 0;
  background: var(--tc-gradient-btn);
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
}

.landing-home .tc-footer-copy {
  text-align: center;
  font-size: 0.8rem;
  color: var(--tc-text-muted);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--tc-border);
}

.landing-home .tc-help-fab {
  display: none !important;
}

/* ── Optional admin banners ── */
.landing-home .tc-admin-banners {
  padding: 1rem 0 0;
}

.landing-home .tc-admin-banners img {
  width: 100%;
  border-radius: var(--tc-radius-md);
  max-height: 200px;
  object-fit: cover;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .landing-home .tc-hero-grid,
  .landing-home .tc-video-block,
  .landing-home .tc-cta-inner,
  .landing-home .tc-cta-banner-grid {
    grid-template-columns: 1fr;
  }

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

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

  .landing-home .tc-cta-banner-kicker {
    margin-inline: auto;
  }

  .landing-home .tc-hero-grid {
    align-items: center;
  }

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

  .landing-home .tc-hero-visual img,
  .landing-home .tc-hero-img {
    object-position: center bottom;
    max-height: 380px;
  }

  .landing-home .tc-hero-grid > [data-reveal]:first-child {
    padding-bottom: 0;
  }

  .landing-home .tc-features-grid,
  .landing-home .tc-promo-grid,
  .landing-home .tc-blog-grid,
  .landing-home .tc-testimonials-grid,
  .landing-home .tc-feed-dual {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-home .tc-popular-grid {
    grid-template-columns: 1fr;
  }

  .landing-home .tc-popular-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-home .tc-footer-grid {
    grid-template-columns: minmax(0, 1.15fr) repeat(3, minmax(0, 0.95fr)) minmax(0, 1.05fr);
    gap: 1rem 0.75rem;
  }

  .landing-home .tc-footer h4 {
    font-size: 0.88rem;
    margin-bottom: 0.75rem;
  }

  .landing-home .tc-footer-about {
    font-size: 0.8rem;
    max-width: none;
  }

  .landing-home .tc-footer-links a {
    font-size: 0.82rem;
  }
}

@media (max-width: 768px) {
  body.tc-has-landing-shell {
    scrollbar-gutter: auto;
  }

  .landing-home {
    padding-inline: var(--tc-shell-gutter);
    /* پایین = بالا (همان فاصلهٔ margin-top شِل در موبایل) */
    padding-bottom: var(--tc-shell-gutter);
  }

  .landing-home .tc-shell {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: var(--tc-shell-gutter) auto var(--tc-shell-gutter);
    border-radius: 18px;
  }

  .landing-home:not(.landing-dashboard)::before {
    top: var(--tc-shell-gutter);
    width: calc(100% - 2 * var(--tc-shell-gutter));
    border-radius: 18px;
  }

  .landing-home .tc-footer {
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
  }

  .landing-home .tc-container {
    width: 100%;
    max-width: 100%;
    padding-inline: var(--tc-container-pad);
  }

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

  .landing-home .tc-nav {
    display: none;
  }

  .landing-home .tc-menu-toggle {
    display: inline-flex;
  }

  .landing-home .tc-nav-actions .tc-btn {
    padding: 0.42rem 0.72rem;
    font-size: 0.78rem;
  }

  .landing-home .tc-features-grid,
  .landing-home .tc-promo-grid,
  .landing-home .tc-blog-grid,
  .landing-home .tc-testimonials-grid,
  .landing-home .tc-feed-dual {
    grid-template-columns: 1fr;
  }

  .landing-home .tc-text-feed-item {
    padding: 0.85rem 0.95rem;
    gap: 0.65rem;
  }

  .landing-home .tc-popular-items {
    grid-template-columns: 1fr 1fr;
  }

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

  .landing-home .tc-footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem 0.55rem;
    justify-items: center;
  }

  .landing-home .tc-footer-col--brand {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .landing-home .tc-footer-col--brand .tc-footer-about {
    max-width: 20rem;
    margin-inline: auto;
  }

  .landing-home .tc-footer-col--brand .tc-social {
    justify-content: center;
  }

  .landing-home .tc-footer-grid > .tc-footer-col:nth-child(2),
  .landing-home .tc-footer-grid > .tc-footer-col:nth-child(3),
  .landing-home .tc-footer-grid > .tc-footer-col:nth-child(4) {
    width: 100%;
    text-align: center;
  }

  .landing-home .tc-footer-grid > .tc-footer-col:nth-child(2) h4,
  .landing-home .tc-footer-grid > .tc-footer-col:nth-child(3) h4,
  .landing-home .tc-footer-grid > .tc-footer-col:nth-child(4) h4 {
    font-size: 0.82rem;
    margin-bottom: 0.65rem;
  }

  .landing-home .tc-footer-grid > .tc-footer-col:nth-child(2) .tc-footer-links a,
  .landing-home .tc-footer-grid > .tc-footer-col:nth-child(3) .tc-footer-links a,
  .landing-home .tc-footer-grid > .tc-footer-col:nth-child(4) .tc-footer-links a {
    font-size: 0.76rem;
  }

  .landing-home .tc-footer-col--newsletter {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 22rem;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .landing-home .tc-footer-trust {
    justify-content: center;
  }

  .landing-home .tc-cta-inner {
    padding: 2rem 1.5rem;
    text-align: center;
  }

  .landing-home .tc-cta-banner-grid {
    padding: 1.75rem 1.35rem 1.5rem;
    min-height: auto;
  }

  .landing-home .tc-cta-banner-visual {
    order: -1;
  }

  .landing-home .tc-cta-banner-img {
    max-height: 220px;
  }

  .landing-home .tc-cta-actions,
  .landing-home .tc-cta-banner-actions {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-home [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
