/* ===== Reset & base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body.landing-page {
  position: relative;
  width: 100%;
  max-width: 100%;
  font-family: 'Vazirmatn', Tahoma, sans-serif;
  background: var(--bg);
  color: var(--tx);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* ===== Atmosphere ===== */
.landing-atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 20% 0%, color-mix(in srgb, var(--glow_a) 18%, transparent), transparent 50%),
    radial-gradient(ellipse at 80% 40%, color-mix(in srgb, var(--glow_b) 6%, transparent), transparent 50%);
}

.landing-page > *:not(.landing-atmosphere):not(.landing-chat):not(.landing-sticky) {
  position: relative;
  z-index: 1;
}

body[data-landing-scheme="black_friday"] .landing-chat {
  z-index: 46;
}

body[data-landing-scheme="black_friday"] .landing-sticky.is-visible {
  z-index: 46;
}

/* ===== Layout helpers ===== */
.landing-wrap {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.landing-wrap--narrow {
  width: min(720px, calc(100% - 40px));
}

.landing-section {
  padding-block: 72px;
}

.landing-section__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  margin-bottom: 40px;
}

.landing-section__title {
  width: 100%;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 900;
  line-height: 1.4;
}

.landing-section__subtitle {
  width: 100%;
  color: var(--mut);
  font-size: 0.95rem;
}

/* ===== Buttons ===== */
.btn,
.landing-btn {
  display: inline-block;
  padding: 13px 30px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--or), color-mix(in srgb, var(--or) 85%, #000));
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 0 30px color-mix(in srgb, var(--or) 40%, transparent);
  transition: 0.2s;
}

.btn:hover,
.landing-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 42px color-mix(in srgb, var(--or) 60%, transparent);
}

.btn:focus-visible,
.landing-btn:focus-visible {
  outline: 2px solid var(--or2);
  outline-offset: 3px;
}

.landing-btn--ghost {
  background: transparent;
  color: var(--or2);
  border: 1px solid color-mix(in srgb, var(--or) 45%, transparent);
  box-shadow: none;
}

.landing-btn--ghost:hover {
  background: color-mix(in srgb, var(--or) 10%, transparent);
  box-shadow: none;
}

.glow {
  color: var(--or);
  text-shadow: 0 0 22px color-mix(in srgb, var(--or) 55%, transparent);
}

/* ===== Header (original) ===== */
.landing-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  position: sticky;
  top: 0;
  background: var(--header_bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 20;
}

.logo {
  font-weight: 900;
  font-size: 20px;
  white-space: nowrap;
}

.logo b {
  color: var(--or);
}

.pill {
  border: 1px solid color-mix(in srgb, var(--or) 50%, transparent);
  background: color-mix(in srgb, var(--or) 8%, transparent);
  border-radius: 99px;
  padding: 3px 14px;
  font-size: 12px;
  color: var(--or2);
}

.pill span {
  color: var(--tx);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* ===== Hero (original) ===== */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px 90px;
}

.hero-txt {
  text-align: right;
}

.badge {
  display: inline-flex;
  gap: 6px;
  border: 1px solid color-mix(in srgb, var(--or) 40%, transparent);
  background: color-mix(in srgb, var(--or) 10%, transparent);
  color: var(--or2);
  padding: 4px 14px;
  border-radius: 99px;
  font-size: 12px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: 48px;
  line-height: 1.35;
  font-weight: 900;
  margin-bottom: 18px;
}

.hero-txt p.s {
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 24px;
}

.mini {
  font-size: 11px;
  color: var(--mut);
  margin-top: 14px;
}

.hero-img {
  aspect-ratio: 1;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 0 70px color-mix(in srgb, var(--or) 35%, transparent);
  background:
    radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--glow_a) 33%, transparent), transparent 45%),
    radial-gradient(circle at 70% 80%, color-mix(in srgb, var(--glow_b) 33%, transparent), transparent 40%),
    linear-gradient(160deg, var(--surface_from), var(--surface_to));
  display: grid;
  place-items: center;
}

.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== Pain (original) ===== */
.pain {
  max-width: 900px;
  margin: 0 auto 110px;
  padding: 0 20px;
}

.pain h2 {
  text-align: center;
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 50px;
}

.pain .landing-title-decorated__text {
  display: block;
  margin-inline: auto;
  text-align: center;
}

.pain .row {
  display: grid;
  grid-template-columns: 1fr 30px 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.pain__rows {
  -webkit-mask-image: none;
  mask-image: none;
}

.pain .p,
.pain .s2 {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  border-radius: 14px;
  padding: 22px 24px;
  font-weight: 700;
}

.pain .p {
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--soft_tx);
}

.pain .s2 {
  background: var(--card);
  border: 1px solid color-mix(in srgb, var(--or) 50%, transparent);
  box-shadow: 0 0 28px color-mix(in srgb, var(--or) 15%, transparent);
}

.pain .ic {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  font-size: 14px;
  font-style: normal;
}

.pain .x {
  background: color-mix(in srgb, var(--red) 25%, transparent);
  color: var(--red);
}

.pain .ck {
  background: color-mix(in srgb, var(--or) 25%, transparent);
  color: var(--or);
}

.pain .arrow {
  color: var(--or);
  text-align: center;
  font-size: 20px;
}

.pain .row:nth-of-type(n+2) .p,
.pain .row:nth-of-type(n+2) .s2 {
  font-size: 13px;
  padding: 14px 20px;
}

/* ===== Products ===== */
.landing-products__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.landing-product {
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.landing-product:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--or) 45%, transparent);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.landing-product__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
}

.landing-product__media {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 0.9;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--media_mid) 55%, transparent), transparent 64%),
    linear-gradient(165deg, var(--surface_from), var(--surface_to));
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}

.landing-product__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.landing-product:hover .landing-product__media img {
  transform: scale(1.04);
}

.landing-product__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0;
  padding: 10px 14px 14px;
}

.landing-product__title {
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.55;
  min-height: 3.1em;
  text-align: center;
}

.landing-product__pricing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-top: auto;
  text-align: center;
}

.landing-product__old {
  color: var(--mut);
  font-size: 0.66rem;
  text-decoration: line-through;
  text-decoration-color: currentColor;
  text-decoration-thickness: 1.5px;
}

.landing-product__price {
  color: var(--or);
  font-size: 0.88rem;
  font-weight: 800;
  padding-top: 2px;
}

.landing-product__cta {
  display: grid;
  place-items: center;
  min-height: 32px;
  margin-top: 10px;
  border-radius: 8px;
  background: var(--btn_product);
  color: var(--btn_product_tx);
  font-size: 0.75rem;
  font-weight: 700;
  transition: filter 0.2s ease;
}

.landing-product__cta:hover {
  filter: brightness(1.08);
}

.landing-products__more {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

/* ===== Banner ===== */
.landing-banner {
  padding-block: 20px 40px;
}

.landing-banner__frame {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  aspect-ratio: 2.2 / 1;
  background:
    radial-gradient(circle at 80% 20%, color-mix(in srgb, var(--glow_b) 18%, transparent), transparent 45%),
    radial-gradient(circle at 20% 80%, color-mix(in srgb, var(--glow_a) 22%, transparent), transparent 50%),
    linear-gradient(160deg, var(--surface_from), var(--surface_to));
  box-shadow: 0 20px 50px color-mix(in srgb, var(--or) 14%, transparent);
}

.landing-banner__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== CTA ===== */
.landing-cta__panel {
  text-align: center;
  padding: clamp(28px, 5vw, 48px) 24px;
  border: 1px solid color-mix(in srgb, var(--or) 28%, transparent);
  border-radius: 28px;
  background:
    radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--or) 14%, transparent), transparent 55%),
    linear-gradient(180deg, var(--card2), var(--card));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.25);
}

.landing-cta__title {
  margin-bottom: 12px;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  font-weight: 900;
  line-height: 1.4;
  color: var(--or);
  text-shadow: 0 0 24px color-mix(in srgb, var(--or) 35%, transparent);
}

.landing-cta__subtitle {
  margin-bottom: 28px;
  color: var(--mut);
  font-size: 0.98rem;
}

.landing-countdown {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
  direction: ltr;
}

.landing-countdown__item {
  min-width: 72px;
  padding: 12px 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: color-mix(in srgb, var(--bg) 55%, var(--card));
}

.landing-countdown__item b {
  display: block;
  font-size: 1.85rem;
  font-weight: 900;
  line-height: 1.2;
  color: var(--or);
  font-variant-numeric: tabular-nums;
}

.landing-countdown__item small {
  color: var(--mut);
  font-size: 0.72rem;
}

/* ===== Trust ===== */
.landing-trust {
  padding-top: 20px;
}

.landing-trust__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.landing-trust__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 22px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.landing-trust__icon {
  color: var(--or);
  font-size: 1.35rem;
  line-height: 1;
}

/* ===== Reviews ===== */
.landing-reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.landing-review {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}

.landing-review__stars {
  display: flex;
  gap: 2px;
  direction: ltr;
  justify-content: flex-start;
  letter-spacing: 1px;
  color: var(--or);
}

.landing-review__stars .is-off {
  color: var(--line);
}

.landing-review__text {
  flex: 1;
  color: var(--mut);
  font-size: 0.88rem;
}

.landing-review__author {
  font-size: 0.85rem;
  font-weight: 800;
}

/* ===== FAQ ===== */
.landing-faq__list {
  display: grid;
  gap: 10px;
}

.landing-faq__item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  padding: 4px 4px;
  transition: border-color 0.2s ease;
}

.landing-faq__item[open] {
  border-color: color-mix(in srgb, var(--or) 35%, transparent);
}

.landing-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  list-style: none;
  padding: 14px 16px;
  font-size: 0.9rem;
  font-weight: 700;
}

.landing-faq__item summary::-webkit-details-marker {
  display: none;
}

.landing-faq__item summary::after {
  content: "";
  width: 8px;
  height: 8px;
  flex: none;
  border-right: 2px solid var(--mut);
  border-bottom: 2px solid var(--mut);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.landing-faq__item[open] summary::after {
  transform: rotate(225deg);
}

.landing-faq__item p {
  padding: 0 16px 16px;
  color: var(--mut);
  font-size: 0.88rem;
}

/* ===== Footer ===== */
.landing-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 36px;
  text-align: center;
  color: var(--mut);
  font-size: 0.82rem;
}

.landing-footer .logo {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--tx);
}

.landing-footer__address {
  max-width: 42ch;
  margin-inline: auto;
  line-height: 1.8;
}

.landing-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 20px 0;
}

.landing-socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--card);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.landing-socials a:hover {
  border-color: color-mix(in srgb, var(--or) 45%, transparent);
  transform: translateY(-2px);
}

.landing-socials img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.landing-footer__phone {
  margin-top: 4px;
}

.landing-footer__copy {
  margin-top: 16px;
}

/* ===== Floating chat + sticky CTA ===== */
.landing-chat {
  position: fixed;
  left: 16px;
  right: auto;
  bottom: 18px;
  z-index: 45;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.9);
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  box-shadow: 0 12px 30px rgba(18, 140, 126, 0.35),
    0 0 0 6px rgba(37, 211, 102, 0.14);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, bottom 0.25s ease;
}

.landing-chat:hover {
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 16px 34px rgba(18, 140, 126, 0.42),
    0 0 0 8px rgba(37, 211, 102, 0.16);
}

.landing-chat img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.landing-chat:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.landing-sticky {
  display: none;
  pointer-events: none;
}

/* ===== Reveal motion ===== */
.reveal {
  opacity: 1;
  transform: none;
}

.js-ready .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(16px);
}

.js-ready .reveal {
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.js-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .btn,
  .landing-btn,
  .landing-product {
    animation: none;
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .landing-products__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .landing-topbar {
    padding: 12px 16px;
  }

  .landing-section__head {
    margin-bottom: 28px;
  }

  .landing-section__title {
    font-size: 1.35rem;
  }

  .landing-section__subtitle {
    font-size: 0.82rem;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 30px;
  }

  .hero-img {
    order: -1;
    max-width: 340px;
    margin: 0 auto;
  }

  .hero h1 {
    font-size: 34px;
  }

  .pain .row {
    grid-template-columns: 1fr;
  }

  .pain .arrow {
    transform: rotate(-90deg);
  }

  .pain h2 {
    font-size: 24px;
  }

  .landing-trust__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-reviews__grid {
    grid-template-columns: 1fr;
  }

  .landing-banner__frame {
    aspect-ratio: 16 / 9;
  }

  .landing-section {
    padding-block: 56px;
  }

  .landing-wrap,
  .landing-wrap--narrow {
    width: calc(100% - 28px);
  }

  .landing-products__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .landing-product__body {
    padding: 12px;
  }

  .landing-countdown__item {
    min-width: 58px;
    padding: 10px 4px;
  }

  .landing-countdown__item b {
    font-size: 1.4rem;
  }

  .landing-sticky {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    left: 12px;
    right: 12px;
    width: auto;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 42;
    min-height: 48px;
    padding: 12px 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--or), color-mix(in srgb, var(--or) 82%, #000));
    color: #fff;
    text-align: center;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.4;
    box-shadow: 0 10px 28px color-mix(in srgb, var(--or) 35%, transparent);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    box-sizing: border-box;
  }

  .landing-sticky.is-visible {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .landing-chat {
    width: 58px;
    height: 58px;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    transition: bottom 0.25s ease;
  }

  .landing-chat img {
    width: 36px;
    height: 36px;
  }

  body.landing-page.has-sticky-cta .landing-chat {
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }

  body.landing-page.has-sticky-cta {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 420px) {
  .landing-trust__grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Yalda: red + green pair (#ab011c / #2a461f) ===== */
body[data-landing-scheme="yalda"] .landing-topbar {
  border-bottom-color: var(--line);
}

body[data-landing-scheme="yalda"] .logo {
  color: var(--or);
}

body[data-landing-scheme="yalda"] .logo b {
  color: var(--pu);
}

body[data-landing-scheme="yalda"] .badge {
  border-color: color-mix(in srgb, var(--pu) 45%, transparent);
  background: color-mix(in srgb, var(--pu) 10%, transparent);
  color: var(--pu);
}

body[data-landing-scheme="yalda"] .hero h1.glow .landing-title-decorated__text {
  color: var(--or);
  background: linear-gradient(105deg, var(--pu) 0%, var(--pu) 38%, var(--or) 52%, var(--or) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

body[data-landing-scheme="yalda"] .landing-title-decorated {
  position: relative;
  display: block;
  width: 100%;
}

body[data-landing-scheme="yalda"] .landing-yalda-melon-png {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  user-select: none;
  transform-origin: 50% 58%;
}

body[data-landing-scheme="yalda"] .landing-melon-morph {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

body[data-landing-scheme="yalda"] .landing-melon-morph::after {
  content: "";
  position: absolute;
  inset: 12% 8% 8%;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 70% at 50% 58%, rgb(171 1 28 / 38%), transparent 72%),
    radial-gradient(ellipse 50% 40% at 50% 80%, rgb(42 70 31 / 28%), transparent 70%);
  filter: blur(7px);
  pointer-events: none;
  animation: yalda-melon-glow 3.8s ease-in-out infinite;
}

@keyframes yalda-melon-glow {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.92);
  }

  50% {
    opacity: 0.95;
    transform: scale(1.08);
  }
}

body[data-landing-scheme="yalda"] .landing-melon-morph__motion {
  position: absolute;
  inset: 0;
  z-index: 1;
  transform-origin: 50% 60%;
  will-change: transform;
}

body[data-landing-scheme="yalda"] .landing-melon-morph__layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform-origin: 50% 58%;
  will-change: opacity, transform;
}

body[data-landing-scheme="yalda"] .landing-melon-morph__layer--wedge {
  opacity: 1;
}

body[data-landing-scheme="yalda"].js-ready .landing-melon-morph[data-yalda-melon-morph] .landing-melon-morph__layer {
  opacity: 0;
}

body[data-landing-scheme="yalda"] .landing-yalda-title-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  width: 100%;
  max-width: 100%;
}

body[data-landing-scheme="yalda"] .landing-yalda-title-row--hero {
  align-items: flex-start;
  margin-bottom: 6px;
}

body[data-landing-scheme="yalda"] .pain .landing-yalda-title-row--section,
body[data-landing-scheme="yalda"] .landing-yalda-title-row--center {
  justify-content: center;
}

body[data-landing-scheme="yalda"] .landing-yalda-title-row .landing-title-decorated,
body[data-landing-scheme="yalda"] .landing-yalda-title-row .landing-section__title,
body[data-landing-scheme="yalda"] .landing-yalda-title-row .landing-cta__title,
body[data-landing-scheme="yalda"] .landing-yalda-title-row h1.landing-title-decorated {
  display: inline-flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
  flex: 0 1 auto;
  width: auto;
  max-width: 100%;
  margin-bottom: 0;
  text-align: start;
}

body[data-landing-scheme="yalda"] .landing-yalda-title-row--hero .landing-title-decorated,
body[data-landing-scheme="yalda"] .landing-yalda-title-row--hero h1.landing-title-decorated {
  gap: 10px;
  margin-bottom: 18px;
}

body[data-landing-scheme="yalda"] .pain .landing-yalda-title-row--section {
  margin-bottom: 50px;
}

body[data-landing-scheme="yalda"] .landing-yalda-title-melon {
  position: relative;
  flex: none;
  order: -1;
  width: 52px;
  height: 52px;
  margin: 0;
  opacity: 0.98;
  filter:
    drop-shadow(0 4px 10px rgb(171 1 28 / 32%))
    drop-shadow(0 0 12px rgb(42 70 31 / 18%));
}

body[data-landing-scheme="yalda"] .landing-yalda-title-melon.landing-title-decoration--end {
  order: 1;
}

body[data-landing-scheme="yalda"] .landing-yalda-title-row--hero .landing-yalda-title-melon {
  width: 62px;
  height: 62px;
  margin-top: 2px;
}

body[data-landing-scheme="yalda"] .landing-yalda-title-melon .landing-melon-morph {
  width: 100%;
  height: 100%;
}

@media (max-width: 640px) {
  body[data-landing-scheme="yalda"] .landing-yalda-title-melon {
    width: 42px;
    height: 42px;
  }

  body[data-landing-scheme="yalda"] .landing-yalda-title-row--hero .landing-yalda-title-melon {
    width: 48px;
    height: 48px;
  }
}

body[data-landing-scheme="yalda"] .pill {
  border-color: color-mix(in srgb, var(--pu) 55%, transparent);
  background: color-mix(in srgb, var(--pu) 12%, transparent);
  color: var(--pu);
}

body[data-landing-scheme="yalda"] .pain h2 {
  color: var(--pu);
}

body[data-landing-scheme="yalda"] .landing-section__title {
  color: var(--pu);
}

body[data-landing-scheme="yalda"] .landing-section__subtitle,
body[data-landing-scheme="yalda"] .mini,
body[data-landing-scheme="yalda"] .landing-cta__subtitle {
  color: color-mix(in srgb, var(--pu) 72%, var(--mut));
}

body[data-landing-scheme="yalda"] .landing-cta__title {
  color: var(--pu);
}

body[data-landing-scheme="yalda"] .hero-txt p.s {
  color: color-mix(in srgb, var(--pu) 55%, var(--tx));
}

body[data-landing-scheme="yalda"] .landing-trust__item {
  border-color: color-mix(in srgb, var(--pu) 40%, var(--line));
  background: color-mix(in srgb, var(--pu) 5%, var(--card));
}

body[data-landing-scheme="yalda"] .landing-trust__icon {
  color: var(--pu);
}

body[data-landing-scheme="yalda"] .landing-trust__item:nth-child(odd) .landing-trust__icon {
  color: var(--or);
}

body[data-landing-scheme="yalda"] .landing-product {
  border-color: color-mix(in srgb, var(--pu) 28%, var(--line));
}

body[data-landing-scheme="yalda"] .landing-product:hover {
  border-color: color-mix(in srgb, var(--pu) 58%, transparent);
  box-shadow: 0 12px 32px color-mix(in srgb, var(--pu) 14%, transparent);
}

body[data-landing-scheme="yalda"] .landing-product__cta {
  background: var(--pu);
  color: #fff;
}

body[data-landing-scheme="yalda"] .landing-product__cta:hover {
  background: color-mix(in srgb, var(--pu) 88%, #000);
}

body[data-landing-scheme="yalda"] .landing-faq__item summary {
  color: color-mix(in srgb, var(--pu) 80%, var(--tx));
}

body[data-landing-scheme="yalda"] .landing-faq__item[open] {
  border-color: color-mix(in srgb, var(--pu) 45%, var(--line));
}

body[data-landing-scheme="yalda"] .landing-countdown__item {
  border: 1px solid color-mix(in srgb, var(--pu) 35%, var(--line));
  background: color-mix(in srgb, var(--pu) 6%, var(--card));
}

body[data-landing-scheme="yalda"] .landing-countdown__item b {
  color: var(--pu);
}

body[data-landing-scheme="yalda"] .pain .arrow {
  color: var(--pu);
}

@media (prefers-reduced-motion: reduce) {
  body[data-landing-scheme="yalda"] .landing-melon-morph::after,
  body[data-landing-scheme="yalda"] .landing-melon-morph__motion {
    animation: none !important;
    transform: none !important;
  }

  body[data-landing-scheme="yalda"] .landing-melon-morph__layer {
    opacity: 0 !important;
    transform: none !important;
  }

  body[data-landing-scheme="yalda"] .landing-melon-morph__layer--full {
    opacity: 1 !important;
  }
}

body[data-landing-scheme="yalda"] .pain .ck {
  background: color-mix(in srgb, var(--pu) 22%, transparent);
  color: var(--pu);
}

body[data-landing-scheme="yalda"] .pain .s2 {
  border-color: color-mix(in srgb, var(--pu) 42%, transparent);
  box-shadow: 0 0 28px color-mix(in srgb, var(--pu) 12%, transparent);
}

body[data-landing-scheme="yalda"] .landing-trust__item:nth-child(odd) .landing-trust__icon {
  color: var(--or);
}

body[data-landing-scheme="yalda"] .landing-trust__item:nth-child(even) .landing-trust__icon {
  color: var(--pu);
}

body[data-landing-scheme="yalda"] .landing-atmosphere {
  opacity: 1;
  background:
    radial-gradient(ellipse at 12% 8%, color-mix(in srgb, var(--glow_b) 22%, transparent), transparent 54%),
    radial-gradient(ellipse at 88% 18%, color-mix(in srgb, var(--glow_b) 18%, transparent), transparent 52%),
    radial-gradient(ellipse at 50% 100%, color-mix(in srgb, var(--glow_a) 10%, transparent), transparent 55%),
    radial-gradient(ellipse at 70% 40%, color-mix(in srgb, var(--glow_a) 8%, transparent), transparent 48%);
}

/* ===== Black Friday: flame PNG + plate + soft glow ===== */
body[data-landing-scheme="black_friday"] .landing-atmosphere {
  animation: bf-atmosphere-breathe 9s ease-in-out infinite;
}

body[data-landing-scheme="black_friday"] .landing-bf-flame-stack {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
}

body[data-landing-scheme="black_friday"] .landing-bf-flame-plate {
  position: relative;
  z-index: 2;
  display: block;
  width: 70%;
  max-width: 76px;
  height: auto;
  margin-top: 9px;
  opacity: 0.9;
  pointer-events: none;
  animation: bf-plate-glow 5.2s ease-in-out infinite;
}

body[data-landing-scheme="black_friday"] .landing-bf-flame-png {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  mix-blend-mode: screen;
  pointer-events: none;
  user-select: none;
}

body[data-landing-scheme="black_friday"] .landing-bf-flame__inner {
  display: block;
  width: 100%;
  flex: 1;
  min-height: 0;
  transform-origin: 50% 100%;
  will-change: transform, filter, opacity;
  animation: bf-flame-breathe calc(3.4s + var(--ember-i, 0) * 0.32s) ease-in-out infinite;
  animation-delay: calc(var(--ember-i, 0) * -0.65s);
}

body[data-landing-scheme="black_friday"] .landing-bf-flame__inner--title {
  --ember-i: 0;
  animation-duration: 4.8s;
  animation-delay: 0s;
}

@keyframes bf-plate-glow {
  0%,
  100% {
    opacity: 0.72;
    filter: brightness(0.9);
  }

  50% {
    opacity: 1;
    filter: brightness(1.1);
  }
}

@keyframes bf-atmosphere-breathe {
  0%,
  100% {
    opacity: 0.88;
    filter: brightness(0.94) saturate(0.96);
  }

  50% {
    opacity: 1;
    filter: brightness(1.06) saturate(1.05);
  }
}

@keyframes bf-flame-breathe {
  0%,
  100% {
    transform: scale(0.94) scaleY(0.96);
    filter:
      drop-shadow(0 0 10px rgb(255 152 48 / 38%))
      drop-shadow(0 0 22px rgb(208 35 45 / 24%))
      brightness(0.96);
  }

  45% {
    transform: scale(1.02) scaleY(1.04);
    filter:
      drop-shadow(0 0 18px rgb(255 180 70 / 62%))
      drop-shadow(0 0 36px rgb(255 90 35 / 38%))
      brightness(1.06);
  }

  70% {
    transform: scale(0.97) scaleY(0.99);
    filter:
      drop-shadow(0 0 14px rgb(255 165 55 / 48%))
      drop-shadow(0 0 28px rgb(208 35 45 / 28%))
      brightness(1);
  }
}

body[data-landing-scheme="black_friday"] .landing-bf-title-row,
body[data-landing-scheme="black_friday"] .landing-theme-title-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  width: 100%;
}

body[data-landing-scheme="black_friday"] .landing-bf-title-row--hero {
  align-items: flex-start;
  margin-bottom: 6px;
}

body[data-landing-scheme="black_friday"] .landing-bf-title-row--center {
  justify-content: center;
}

/* Pain: center title text in section; decoration sits beside it (no title-row wrapper) */
body[data-landing-scheme="black_friday"] .pain h2.landing-title-decorated,
body[data-landing-scheme="yalda"] .pain h2.landing-title-decorated {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 8px;
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  margin-bottom: 50px;
  text-align: center;
}

body[data-landing-scheme="black_friday"] .pain .landing-title-decorated__text,
body[data-landing-scheme="yalda"] .pain .landing-title-decorated__text {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  min-width: 0;
  margin-inline: 0;
  text-align: center;
}

body[data-landing-scheme="black_friday"] .pain h2 .landing-bf-title-flame.landing-title-decoration--start,
body[data-landing-scheme="yalda"] .pain h2 .landing-yalda-title-melon.landing-title-decoration--start {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
  align-self: center;
  order: unset;
}

body[data-landing-scheme="black_friday"] .pain h2 .landing-bf-title-flame.landing-title-decoration--end,
body[data-landing-scheme="yalda"] .pain h2 .landing-yalda-title-melon.landing-title-decoration--end {
  grid-column: 3;
  grid-row: 1;
  justify-self: start;
  align-self: center;
  order: unset;
}

body[data-landing-scheme="black_friday"] .landing-bf-title-row .landing-title-decorated,
body[data-landing-scheme="black_friday"] .landing-bf-title-row .landing-section__title,
body[data-landing-scheme="black_friday"] .landing-bf-title-row .landing-cta__title,
body[data-landing-scheme="black_friday"] .landing-bf-title-row h1.landing-title-decorated {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  flex: 0 1 auto;
  width: auto;
  max-width: 100%;
  margin-bottom: 0;
  text-align: start;
}

body[data-landing-scheme="black_friday"] .landing-bf-title-row--hero .landing-title-decorated {
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 18px;
}

body[data-landing-scheme="black_friday"] .landing-title-decorated__text {
  flex: 0 1 auto;
  min-width: 0;
}

body[data-landing-scheme="black_friday"] .landing-bf-title-flame {
  flex: none;
  order: -1;
  width: 52px;
  height: 68px;
  margin: 0;
  opacity: 0.98;
}

body[data-landing-scheme="black_friday"] .landing-bf-title-flame.landing-title-decoration--end {
  order: 1;
}

body[data-landing-scheme="black_friday"] .landing-bf-title-row--hero .landing-bf-title-flame {
  width: 58px;
  height: 74px;
  margin-top: 2px;
}

body[data-landing-scheme="black_friday"] .landing-bf-flame-stack--title .landing-bf-flame-plate {
  max-width: 68px;
}

body[data-landing-scheme="black_friday"] .landing-bf-flame-morph {
  position: relative;
  display: block;
  width: 100%;
  flex: 1;
  min-height: 0;
  margin-bottom: -3px;
  isolation: isolate;
}

body[data-landing-scheme="black_friday"] .landing-bf-flame-morph__anchor {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.48;
  pointer-events: none;
}

body[data-landing-scheme="black_friday"] .landing-bf-flame-morph__anchor .landing-bf-flame__inner {
  width: 100%;
  height: 100%;
  animation: none;
  transform: scale(0.98) scaleY(0.97);
  filter:
    drop-shadow(0 0 12px rgb(255 150 50 / 34%))
    brightness(0.94);
}

body[data-landing-scheme="black_friday"] .landing-bf-flame-morph__motion {
  position: absolute;
  inset: 0;
  z-index: 1;
  transform-origin: 50% 100%;
  will-change: transform;
}

body[data-landing-scheme="black_friday"] .landing-bf-flame-morph__layer {
  position: absolute;
  inset: 0;
  opacity: 0;
}

body[data-landing-scheme="black_friday"] .landing-bf-flame-morph__layer--0 {
  opacity: 1;
}

body[data-landing-scheme="black_friday"].js-ready .landing-bf-flame-morph[data-bf-flame-morph] .landing-bf-flame-morph__layer {
  opacity: 0;
}

body[data-landing-scheme="black_friday"] .landing-bf-flame-morph__layer .landing-bf-flame__inner {
  width: 100%;
  height: 100%;
  animation: none;
  transform-origin: 50% 100%;
  transition: transform 0.12s ease-out;
}

@media (prefers-reduced-motion: reduce) {
  body[data-landing-scheme="black_friday"] .landing-atmosphere {
    animation: none;
  }

  body[data-landing-scheme="black_friday"] .landing-bf-flame-morph__motion {
    transform: none !important;
  }

  body[data-landing-scheme="black_friday"] .landing-bf-flame-morph__anchor {
    opacity: 0.85;
  }

  body[data-landing-scheme="black_friday"] .landing-bf-flame-morph__layer {
    opacity: 0 !important;
  }

  body[data-landing-scheme="black_friday"] .landing-bf-flame-morph__layer--0 {
    opacity: 1 !important;
  }

  body[data-landing-scheme="black_friday"] .landing-bf-flame__inner {
    animation: none;
    opacity: 0.85;
    filter: none;
  }

  body[data-landing-scheme="black_friday"] .landing-bf-flame-png {
    mix-blend-mode: normal;
  }

  body[data-landing-scheme="black_friday"] .landing-bf-flame-plate {
    animation: none;
    opacity: 0.8;
  }
}
