:root {
  --landing-hero-bg-image: url("images/hero.jpg");
  --landing-hero-bg-fallback: var(--bg);
  --bg: #f4f0e8;
  --surface: #fffcf7;
  --surface-rgb: 255, 252, 247;
  --surface-opacity: 0.88;
  --surface-soft: #f3efe6;
  --text: #2a2f28;
  --muted: #5a6258;
  --primary: #6b7f62;
  --primary-dark: #556650;
  --border: #e2dbd0;
  --success: #5a8068;
  --shadow: 0 20px 50px rgba(42, 47, 40, 0.08);
  --radius: 20px;
  --landing-cta-shadow: 0 14px 36px rgba(115, 98, 85, 0.18);
}

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

html,
body {
  margin: 0;
  padding: 0;
  background: var(--page-background, linear-gradient(165deg, #f7f4ec 0%, #eef2ee 45%, #f4f6f8 100%));
  color: var(--text);
  font-family: var(--app-font, "M PLUS Rounded 1c", "Heebo", "Rubik", sans-serif);
  min-height: 100%;
  overflow-x: hidden;
}

/*
 * Landing: scroll only on <html> so RTL doesn’t show two vertical gutters.
 * overflow-x: clip contains 112vw-style layers from widening the layout.
 */
html:has(body.landing-view) {
  height: auto;
  overflow-x: clip;
  overflow-y: auto;
  /* Match hero blend terminal color so no seam vs page gradient. */
  background: var(--bg);
}

body {
  line-height: 1.6;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

body.landing-view {
  height: auto;
  min-height: 100%;
  overflow-x: clip;
  overflow-y: hidden;
  background: var(--bg);
}

/*
 * Readability without “boxes”: layered scrims (no hard edges) + strong text halos.
 * Radials mimic soft mist behind copy; linear balances top/bottom luminance.
 */
body.landing-view::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 115% 80% at 50% 18%, rgba(255, 253, 249, 0.58) 0%, rgba(255, 249, 240, 0.22) 52%, transparent 68%),
    radial-gradient(ellipse 100% 55% at 50% 88%, rgba(250, 243, 232, 0.5) 0%, rgba(245, 235, 220, 0.12) 48%, transparent 62%),
    linear-gradient(
      180deg,
      rgba(255, 252, 248, 0.18) 0%,
      rgba(255, 248, 240, 0.12) 35%,
      rgba(246, 238, 226, 0.32) 78%,
      rgba(240, 230, 218, 0.38) 100%
    );
}

/* Blur / saturation for photo backgrounds are applied inline in JS (theme.backgroundImageBlurPx). */

#fixedBackgroundLayer {
  position: fixed;
  top: -6vh;
  left: -6vw;
  width: 112vw;
  height: 112vh;
  pointer-events: none;
  z-index: -1;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* On landing the layer is only a flat fill: keep it within the viewport (112vw + inset causes horizontal scrollbars). */
body.landing-view #fixedBackgroundLayer {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: auto;
  height: auto;
  max-width: 100%;
  transform: none !important;
  transform-origin: center center !important;
}

.hidden {
  display: none !important;
}

.site-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 1040px);
  margin-inline: auto;
  padding: 16px;
}

body.landing-view .site-shell {
  width: 100%;
  max-width: min(100%, 26.5rem);
  padding-inline: clamp(1.15rem, 5vw, 1.65rem);
  padding-block: 0;
  height: auto;
  max-height: none;
  min-height: 0;
  box-sizing: border-box;
}

.landing {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-block: clamp(1.75rem, 7vh, 3.25rem) clamp(2.5rem, 10vh, 4rem);
}

/* Theme photo fills the inner layer only; blend stays sharp on top. */
.landing-hero-stage {
  position: relative;
  width: 100%;
  overflow: hidden;
  min-height: min(46vh, 560px);
  isolation: isolate;
}

.landing-hero-photo {
  position: absolute;
  inset: 0 -1px 0 -1px;
  z-index: 0;
  background-color: var(--landing-hero-bg-fallback);
  background-image: var(--landing-hero-bg-image);
  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
  pointer-events: none;
  /* Fade the artwork itself at the bottom so the hard edge never shows through the veil */
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 min(52%, calc(100% - 11rem)),
    rgba(0, 0, 0, 0.92) min(78%, calc(100% - 4rem)),
    rgba(0, 0, 0, 0.55) 94%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 min(52%, calc(100% - 11rem)),
    rgba(0, 0, 0, 0.92) min(78%, calc(100% - 4rem)),
    rgba(0, 0, 0, 0.55) 94%,
    transparent 100%
  );
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.landing-hero-blend {
  position: absolute;
  z-index: 1;
  left: -1px;
  right: -1px;
  bottom: 0;
  height: min(44vh, 380px);
  pointer-events: none;
  /* Feathered mid; bottom “stitch” to content is solid var(--bg) so no photo peeks through. */
  background: linear-gradient(
    180deg,
    rgba(244, 240, 232, 0) 0%,
    rgba(244, 240, 232, 0.02) 28%,
    rgba(244, 240, 232, 0.08) 48%,
    rgba(244, 240, 232, 0.2) 66%,
    rgba(244, 240, 232, 0.42) 80%,
    var(--bg) 94%,
    var(--bg) 100%
  );
}

/* Short line over the hero art (i18n: landingPullQuote) */
.landing-hero-tagline {
  position: absolute;
  z-index: 7;
  left: 50%;
  transform: translateX(-50%);
  bottom: clamp(3.5rem, 12vh, 7.5rem);
  width: min(92vw, 34rem);
  margin: 0;
  padding: 0 clamp(0.75rem, 3vw, 1.25rem);
  box-sizing: border-box;
  text-align: center;
  font-size: clamp(0.92rem, 2.4vw, 1.2rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: #2a231c;
  pointer-events: none;
  text-wrap: balance;
  text-shadow:
    0 0 18px rgba(255, 254, 252, 1),
    0 0 36px rgba(255, 251, 245, 0.95),
    0 0 56px rgba(255, 246, 232, 0.85),
    0 2px 0 rgba(255, 255, 255, 0.9),
    0 4px 22px rgba(60, 48, 36, 0.12);
}

.landing-hero-tagline:empty {
  display: none;
}

/* Edge-to-edge hero: break out of narrow .site-shell (margin trick; 50% = parent content width). */
/* --landing-hero-band-h: mobile default; desktop override in @media (min-width: 768px). */
body.landing-view .landing {
  --landing-hero-band-h: min(46vh, 560px);
  background-color: var(--bg);
  width: 100vw;
  max-width: 100vw;
  margin-inline: calc(50% - 50vw);
  box-sizing: border-box;
  display: block;
  min-height: 0;
  padding-block: 0;
  overflow-x: clip;
  overflow-y: visible;
  isolation: isolate;
}

/* Subtle decorative stars behind all landing content. */
body.landing-view .landing-bg-stars {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
  /* Keep stars mostly below the hero band. */
  mask-image: linear-gradient(180deg, transparent 0%, transparent 52%, rgba(0, 0, 0, 0.75) 66%, #000 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, transparent 52%, rgba(0, 0, 0, 0.75) 66%, #000 100%);
}

body.landing-view .landing-bg-star {
  position: absolute;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  opacity: 0.45;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 0 10px rgba(255, 244, 224, 0.68);
  filter: drop-shadow(0 0 6px rgba(190, 146, 94, 0.42));
  animation: landingBgStarTwinkle 7.8s ease-in-out infinite;
}

body.landing-view .landing-bg-star::before {
  content: "✦";
  font-size: 16px;
  line-height: 1;
}

body.landing-view .landing-bg-star:nth-child(odd) {
  color: rgba(255, 255, 255, 0.92);
}

body.landing-view .landing-bg-star:nth-child(even) {
  color: rgba(177, 132, 81, 0.88);
  text-shadow: 0 0 8px rgba(160, 119, 72, 0.45);
}

body.landing-view .landing-bg-star:nth-child(1) {
  top: 62%;
  right: 12%;
  width: 12px;
  height: 12px;
  opacity: 0.22;
  animation-delay: 0.4s;
}

body.landing-view .landing-bg-star:nth-child(2) {
  top: 68%;
  left: 18%;
  width: 18px;
  height: 18px;
  opacity: 0.34;
  animation-delay: 1.3s;
}

body.landing-view .landing-bg-star:nth-child(3) {
  top: 74%;
  right: 31%;
  width: 13px;
  height: 13px;
  opacity: 0.2;
  animation-delay: 2.1s;
}

body.landing-view .landing-bg-star:nth-child(4) {
  top: 79%;
  left: 8%;
  width: 20px;
  height: 20px;
  opacity: 0.32;
  animation-delay: 0.9s;
}

body.landing-view .landing-bg-star:nth-child(5) {
  top: 84%;
  right: 14%;
  width: 15px;
  height: 15px;
  opacity: 0.28;
  animation-delay: 3.2s;
}

body.landing-view .landing-bg-star:nth-child(6) {
  top: 88%;
  left: 26%;
  width: 12px;
  height: 12px;
  opacity: 0.2;
  animation-delay: 1.8s;
}

body.landing-view .landing-bg-star:nth-child(7) {
  top: 92%;
  right: 33%;
  width: 18px;
  height: 18px;
  opacity: 0.3;
  animation-delay: 2.8s;
}

body.landing-view .landing-bg-star:nth-child(8) {
  top: 96%;
  left: 10%;
  width: 14px;
  height: 14px;
  opacity: 0.24;
  animation-delay: 0.6s;
}

body.landing-view .landing-bg-star:nth-child(9) {
  top: 63%;
  right: 4%;
  width: 12px;
  height: 12px;
  opacity: 0.3;
  animation-delay: 1.1s;
}

body.landing-view .landing-bg-star:nth-child(10) {
  top: 71%;
  right: 22%;
  width: 16px;
  height: 16px;
  opacity: 0.34;
  animation-delay: 2.6s;
}

body.landing-view .landing-bg-star:nth-child(11) {
  top: 78%;
  right: 9%;
  width: 11px;
  height: 11px;
  opacity: 0.28;
  animation-delay: 3.5s;
}

body.landing-view .landing-bg-star:nth-child(12) {
  top: 86%;
  right: 27%;
  width: 15px;
  height: 15px;
  opacity: 0.32;
  animation-delay: 0.9s;
}

body.landing-view .landing-bg-star:nth-child(13) {
  top: 91%;
  left: 38%;
  width: 12px;
  height: 12px;
  opacity: 0.26;
  animation-delay: 1.9s;
}

body.landing-view .landing-bg-star:nth-child(14) {
  top: 95%;
  right: 16%;
  width: 14px;
  height: 14px;
  opacity: 0.29;
  animation-delay: 2.2s;
}

@keyframes landingBgStarTwinkle {
  0%,
  100% {
    opacity: 0.2;
    transform: scale(0.92);
  }

  45% {
    opacity: 0.56;
    transform: scale(1.04);
  }

  62% {
    opacity: 0.34;
    transform: scale(0.98);
  }
}

body.landing-view .landing-hero-stage {
  min-height: var(--landing-hero-band-h);
  z-index: 1;
}

body.landing-view .landing-content {
  position: relative;
  display: block;
  width: 100%;
  overflow: visible;
  z-index: 4;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 4.5rem,
    var(--bg) 9rem,
    var(--bg) 100%
  );
}

body.landing-view .landing-content-spacer {
  display: none;
}

body.landing-view .landing-content-lower {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  overflow: visible;
  gap: clamp(1rem, 3.2dvh, 1.8rem);
  padding-bottom: clamp(0.75rem, 3dvh, 1.5rem);
}

/* Sparkles only over the hero band (same vertical band as --landing-hero-band-h). */
body.landing-view .landing-sparkles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: var(--landing-hero-band-h);
  bottom: auto;
  overflow: hidden;
  z-index: 3;
}

body.landing-view .landing-hero {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(0.12rem, 0.85dvh, 0.5rem);
  overflow: visible;
  min-height: min-content;
}

body.landing-view .landing-hero > .landing-ornament:first-child {
  margin-top: 0;
}

body.landing-view .landing-ornament {
  margin: clamp(0.15rem, 0.85dvh, 0.45rem) 0;
}

body.landing-view .landing-ornament--spaced {
  margin: clamp(0.2rem, 1dvh, 0.6rem) 0;
}

body.landing-view .landing-hero-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.35rem, 1.2dvh, 0.75rem);
}

body.landing-view .landing-section {
  margin-top: clamp(2rem, 5.5dvh, 3.2rem);
  text-align: center;
}

body.landing-view .landing-section .landing-section-title {
  margin: 0 0 clamp(0.65rem, 2dvh, 1rem);
  font-size: clamp(0.88rem, 1.15dvh + 0.48rem, 1.05rem);
  font-weight: 700;
  line-height: 1.35;
  color: #1e1814;
  text-shadow:
    0 0 10px rgba(255, 253, 250, 1),
    0 0 22px rgba(255, 246, 234, 0.95),
    0 1px 0 rgba(255, 255, 255, 0.88);
}

body.landing-view .landing-body-text {
  margin: 0;
  max-width: min(26rem, 100%);
  margin-inline: auto;
  font-size: clamp(0.82rem, 1.1dvh + 0.45rem, 0.98rem);
  line-height: 1.55;
  color: #3a4038;
  text-shadow:
    0 0 8px rgba(255, 253, 250, 1),
    0 0 16px rgba(255, 247, 238, 0.92),
    0 1px 0 rgba(255, 255, 255, 0.85);
}

body.landing-view .landing-preline {
  white-space: pre-line;
}

body.landing-view .landing-benefits {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: min(28rem, 100%);
  display: grid;
  gap: clamp(0.55rem, 1.8dvh, 0.9rem);
  text-align: right;
}

body.landing-view .landing-benefits li {
  margin: 0;
  font-size: clamp(0.8rem, 1.05dvh + 0.44rem, 0.95rem);
  line-height: 1.5;
  font-weight: 500;
  color: #2d322c;
  padding: 0.5rem 0.65rem;
  border-radius: 12px;
  background: rgba(255, 253, 249, 0.38);
  border: 1px solid rgba(90, 98, 88, 0.1);
  text-shadow:
    0 0 8px rgba(255, 253, 250, 0.95),
    0 0 14px rgba(255, 246, 234, 0.88);
}

body.landing-view .landing-examples-note {
  margin: 0;
  font-size: clamp(0.78rem, 1dvh + 0.42rem, 0.92rem);
  line-height: 1.5;
  color: var(--muted);
  font-style: italic;
  max-width: min(26rem, 100%);
  margin-inline: auto;
}


body.landing-view .landing-final-line {
  margin: 0 0 clamp(0.75rem, 2dvh, 1.1rem);
  font-size: clamp(0.95rem, 1.35dvh + 0.5rem, 1.15rem);
  font-weight: 600;
  line-height: 1.4;
  color: #1a1410;
  text-shadow:
    0 0 12px rgba(255, 253, 250, 1),
    0 0 26px rgba(255, 244, 230, 0.9);
}

body.landing-view .landing-final-cta .btn-landing-cta {
  margin-top: clamp(0.6rem, 1.8dvh, 1rem);
}

body.landing-view .landing-how-steps li {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: center;
  width: auto;
  gap: 0.35rem;
  direction: rtl;
}

body.landing-view .landing-how-steps .landing-step-copy {
  width: auto;
  margin-inline: 0;
  text-align: right;
}

body.landing-view .landing-step-num {
  flex-shrink: 0;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(145deg, var(--primary) 0%, #7d9174 100%);
  box-shadow: 0 4px 12px rgba(85, 102, 80, 0.22);
}

body.landing-view .landing-lead {
  font-size: clamp(0.85rem, 1.25dvh + 0.5rem, 1rem);
  line-height: 1.45;
}


body.landing-view .process-landing {
  flex: 0 0 auto;
  margin-top: clamp(0.8rem, 2.2dvh, 1.4rem);
  overflow: visible;
  transform: translateX(0.55rem);
}

body.landing-view .process-landing .landing-section-title {
  margin: 0 0 clamp(0.35rem, 1.5dvh, 1rem);
  font-size: clamp(0.82rem, 1.1dvh + 0.45rem, 0.9375rem);
}

body.landing-view .landing-step-panels {
  gap: clamp(1rem, 2.4dvh, 1.5rem);
  width: 100%;
  text-align: center;
  justify-items: center;
}

body.landing-view .landing-step-copy {
  font-size: clamp(0.78rem, 1.05dvh + 0.42rem, 0.9rem);
  line-height: 1.45;
}

body.landing-view .btn-landing-cta {
  flex-shrink: 0;
  margin-top: clamp(0.15rem, 1dvh, 0.65rem);
  padding-block: clamp(0.65rem, 1.8dvh, 1rem);
  font-size: clamp(0.88rem, 1.2dvh + 0.5rem, 1rem);
}

.landing-sparkles {
  position: absolute;
  inset: -4% -6% -6% -6%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.landing-sparkles .sparkle {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 248, 220, 0.95) 0%, rgba(212, 175, 95, 0.35) 45%, transparent 72%);
  box-shadow: 0 0 14px 3px rgba(212, 185, 120, 0.2);
  opacity: 0;
  animation: sparkleTwinkle 9s ease-in-out infinite;
}

.landing-sparkles .sparkle:nth-child(1) {
  top: 14%;
  left: 10%;
  animation-delay: 0s;
}

.landing-sparkles .sparkle:nth-child(2) {
  top: 22%;
  right: 12%;
  animation-delay: 1.6s;
}

.landing-sparkles .sparkle:nth-child(3) {
  top: 48%;
  left: 6%;
  animation-delay: 3.1s;
}

.landing-sparkles .sparkle:nth-child(4) {
  top: 62%;
  right: 18%;
  animation-delay: 0.9s;
}

.landing-sparkles .sparkle:nth-child(5) {
  bottom: 26%;
  left: 20%;
  animation-delay: 4.2s;
}

.landing-sparkles .sparkle:nth-child(6) {
  top: 34%;
  left: 44%;
  animation-delay: 2.4s;
}

.landing-sparkles .sparkle:nth-child(7) {
  bottom: 38%;
  right: 28%;
  animation-delay: 5.5s;
}

.landing-sparkles .sparkle:nth-child(8) {
  top: 8%;
  left: 52%;
  animation-delay: 6.8s;
}

.landing-sparkles .sparkle:nth-child(9) {
  bottom: 12%;
  right: 8%;
  animation-delay: 3.8s;
}

@keyframes sparkleTwinkle {
  0%,
  45%,
  100% {
    opacity: 0;
    transform: scale(0.45);
  }

  52% {
    opacity: 0.32;
    transform: scale(1);
  }

  58% {
    opacity: 0.14;
    transform: scale(0.85);
  }
}

/* Blended landing: typography on art; extra soft column scrim (elliptical, not a card) */
.landing-content {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-inline: auto;
  text-align: center;
}

.landing-content-spacer,
.landing-content-lower {
  text-align: center;
}

.landing-content::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -4%;
  transform: translateX(-50%);
  width: min(130%, 28rem);
  height: 108%;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(
    ellipse 65% 72% at 50% 38%,
    rgba(255, 253, 250, 0.42) 0%,
    rgba(255, 250, 244, 0.14) 52%,
    transparent 72%
  );
}

/* Disabled on landing: radial sat on different base than hero blend and showed as a stitch line. */
body.landing-view .landing-content::before {
  display: none;
}

.landing-hero {
  margin: 0;
  padding: 0;
}

.landing-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin: 0.85rem 0 1rem;
}

.landing-ornament--spaced {
  margin: 1.35rem 0 1.5rem;
}

.landing-ornament-line:first-of-type {
  flex: 1;
  height: 1px;
  max-width: 7.5rem;
  background: linear-gradient(90deg, transparent 0%, rgba(200, 165, 88, 0.85) 100%);
}

.landing-ornament-line:last-of-type {
  flex: 1;
  height: 1px;
  max-width: 7.5rem;
  background: linear-gradient(90deg, rgba(200, 165, 88, 0.85) 0%, transparent 100%);
}

[dir="rtl"] .landing-ornament-line:first-of-type {
  background: linear-gradient(90deg, rgba(200, 165, 88, 0.85) 0%, transparent 100%);
}

[dir="rtl"] .landing-ornament-line:last-of-type {
  background: linear-gradient(90deg, transparent 0%, rgba(200, 165, 88, 0.85) 100%);
}

.landing-ornament-gem {
  flex-shrink: 0;
  font-size: 0.45rem;
  color: rgba(145, 110, 48, 0.9);
  line-height: 1;
  text-shadow: 0 0 10px rgba(255, 228, 180, 0.85);
}

/* Strong cream “halo” + faint edge definition so type works on bright mist and dark leaves */
.landing-pullquote {
  margin: 0 0 0.35rem;
  font-size: clamp(1.05rem, 3.4vw, 1.35rem);
  font-weight: 600;
  line-height: 1.65;
  color: #2a231c;
  letter-spacing: 0.02em;
  text-shadow:
    0 0 12px rgba(255, 253, 249, 1),
    0 0 28px rgba(255, 248, 238, 0.95),
    0 1px 0 rgba(255, 255, 255, 0.9),
    0 2px 4px rgba(255, 244, 230, 0.85),
    0 3px 18px rgba(255, 236, 215, 0.7);
}

.landing-lead {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
  color: #221c18;
  text-shadow:
    0 0 6px rgba(255, 252, 246, 0.82),
    0 1px 0 rgba(255, 255, 255, 0.72);
}

.landing-description {
  margin: 1rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #2a221c;
  font-weight: 500;
  text-shadow:
    0 0 10px rgba(255, 253, 250, 1),
    0 0 20px rgba(255, 247, 236, 0.92),
    0 1px 0 rgba(255, 255, 255, 0.85),
    0 2px 5px rgba(255, 242, 228, 0.75),
    0 3px 16px rgba(255, 234, 212, 0.6);
}

.badge {
  display: inline-block;
  font-size: 0.875rem;
  color: var(--primary);
  background: #ecebff;
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 500;
}

h1 {
  margin: 14px 0 10px;
  font-size: clamp(1.7rem, 3.3vw, 2.6rem);
  line-height: 1.2;
}

/* Hero headline: top of art; largest type scale on the site. */
.landing-hero-stage .landing-headline {
  position: absolute;
  z-index: 8;
  top: calc(max(1.2rem, env(safe-area-inset-top, 0px)) + 2cm);
  left: 50%;
  transform: translateX(-50%);
  width: min(88vw, 34rem);
  margin: 0;
  padding-inline: clamp(0.5rem, 2.4vw, 1rem);
  box-sizing: border-box;
  text-align: center;
  font-size: clamp(1.45rem, 4.35vw + 0.3rem, 3.1rem);
  font-weight: 650;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: #1a1410;
  text-wrap: balance;
  pointer-events: none;
  text-shadow:
    0 0 10px rgba(255, 254, 252, 1),
    0 0 24px rgba(255, 250, 242, 0.92),
    0 1px 0 rgba(255, 255, 255, 0.95),
    0 3px 14px rgba(60, 48, 36, 0.12);
}

.landing-section-title {
  font-size: 0.9375rem;
  font-weight: 700;
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
  color: #1e1814;
  text-shadow:
    0 0 10px rgba(255, 253, 250, 1),
    0 0 22px rgba(255, 246, 234, 0.95),
    0 1px 0 rgba(255, 255, 255, 0.88);
}

h2 {
  margin: 0;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  line-height: 1.3;
}

p {
  margin: 0;
  color: var(--muted);
}

.process {
  margin-top: 22px;
  padding: 16px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
}

.process-landing {
  margin-top: clamp(1.75rem, 5vw, 2.25rem);
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}

.process h2 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.process-landing .landing-section-title {
  margin: 0 0 1rem;
}

.process ol {
  margin: 0;
  padding-inline-start: 24px;
  color: var(--muted);
}

.process-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.1rem;
}

.process-steps li {
  position: relative;
  margin: 0;
  padding: 0.85rem 0 0;
  padding-inline-start: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #3f463f;
  border-top: 1px solid rgba(90, 98, 88, 0.1);
}

.process-steps li:first-child {
  border-top: none;
  padding-top: 0;
}

.landing-step-panels {
  grid-template-columns: 1fr;
  gap: 1.35rem;
  text-align: center;
}

.landing-step-panels li {
  display: flex;
  justify-content: center;
  padding: 0;
  border: none;
}

.landing-step-copy {
  display: block;
  max-width: min(22rem, 100%);
  margin-inline: auto;
  padding: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  font-weight: 500;
  color: #1e1915;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  text-shadow:
    0 0 8px rgba(255, 253, 250, 1),
    0 0 18px rgba(255, 247, 238, 0.95),
    0 1px 0 rgba(255, 255, 255, 0.88),
    0 2px 5px rgba(255, 240, 225, 0.75);
}

.pricing-box {
  margin-top: 14px;
  padding: 14px;
  border-radius: 14px;
  border: 1px dashed #bcc4ff;
  background: #f8f8ff;
  display: grid;
  gap: 4px;
}

.pricing-box p {
  color: var(--text);
  font-size: 0.98rem;
}

.btn {
  border: none;
  border-radius: 12px;
  font-family: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

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

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  margin-top: 24px;
  background: var(--primary);
  color: #fff;
  padding: 13px 20px;
  box-shadow: 0 10px 28px rgba(85, 102, 80, 0.28);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-landing-cta {
  width: 100%;
  margin-top: clamp(1.75rem, 5vw, 2.5rem);
  padding: 1rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.35;
  letter-spacing: 0.015em;
  color: #2f261d;
  background: linear-gradient(145deg, #c4a574 0%, #d8b896 28%, #e8cfa8 52%, #b89562 100%);
  box-shadow: 0 10px 28px rgba(90, 68, 38, 0.28), inset 0 1px 0 rgba(255, 248, 235, 0.55);
}

.btn-landing-cta:hover {
  background: linear-gradient(145deg, #ccb07e 0%, #e0c4a4 30%, #efd6b4 55%, #c29e6c 100%);
  box-shadow: 0 14px 34px rgba(90, 68, 38, 0.32), inset 0 1px 0 rgba(255, 250, 238, 0.65);
}

.btn-landing-cta:active {
  transform: translateY(0);
}

.btn-secondary {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 18px;
}

.btn-full {
  width: 100%;
}

.wizard {
  min-height: calc(100vh - 32px);
  /* Single glass pane: site background shows through the whole card. */
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(42, 47, 40, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.wizard-header {
  position: sticky;
  top: 0;
  z-index: 4;
  background: transparent;
  padding: 16px 18px 12px;
}

.step-text {
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text);
}

.step-text:empty {
  display: none;
  margin: 0;
}

.progress-track {
  height: 10px;
  width: 100%;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: var(--primary);
  background-image: none;
  transition: width 0.3s ease;
}

.stepper {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
}

.step-dot {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.22);
  background-image: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.step-dot.active,
.step-dot.done {
  border-color: transparent;
  color: #fff;
}

.step-dot.active {
  background: var(--primary);
  background-image: none;
}

.step-dot.done {
  background: var(--primary);
  background-image: none;
}

.wizard-body {
  padding: 18px;
  display: grid;
}

.step-panel {
  max-width: none;
  margin-inline: 0;
  width: 100%;
  display: grid;
  gap: 16px;
  align-content: start;
}

.step-description {
  margin-top: 4px;
}

.character-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 14px;
  width: 100%;
}

.character-card {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: clamp(14px, 3vw, 18px) clamp(14px, 3vw, 20px);
  display: grid;
  gap: clamp(10px, 2vw, 12px);
  place-items: center;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.character-card .avatar {
  font-size: clamp(2.85rem, 11vw, 4.25rem);
  line-height: 1;
}

.avatar-image {
  width: clamp(92px, 32vw, 132px);
  height: clamp(92px, 32vw, 132px);
  object-fit: contain;
  object-position: center;
  border-radius: 18px;
  display: block;
  background: transparent;
  opacity: 0.98;
  filter: drop-shadow(0 6px 14px rgba(32, 26, 20, 0.16));
  transition: transform 0.2s ease;
}
.character-card:hover .avatar-image {
  transform: scale(1.06);
}

.character-empty {
  width: 100%;
  box-sizing: border-box;
  padding: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.45);
  border-radius: 12px;
  color: var(--muted);
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
}

.character-card:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.26);
}

.character-card.selected {
  border-color: rgba(107, 127, 98, 0.75);
  box-shadow: 0 0 0 2px rgba(107, 127, 98, 0.35);
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.field {
  display: grid;
  gap: 8px;
  font-size: 0.98rem;
  color: var(--text);
}

.delivery-options {
  border: none;
  border-radius: 12px;
  padding: 12px 0;
  margin: 0;
  display: grid;
  gap: 10px;
  background: transparent;
}

.delivery-options legend {
  color: var(--text);
  font-weight: 500;
  padding: 0 6px;
}

.delivery-option {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.delivery-option input {
  width: 18px;
  height: 18px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  font: inherit;
  color: var(--text);
  background: #fff;
}

.wizard input,
.wizard select,
.wizard textarea {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(107, 127, 98, 0.45);
  outline-offset: 1px;
  border-color: transparent;
}

.input-error {
  border-color: #d6336c !important;
}

.required-label::after {
  content: " *";
  color: #d6336c;
  font-weight: 700;
}

.summary {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  display: grid;
  gap: 8px;
}

.wizard .summary {
  border: none;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.summary-item {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
}

.summary-item strong {
  color: var(--text);
}

.summary-item.total {
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  font-size: 1.05rem;
}

.terms-accept {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.5;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.terms-accept input[type="checkbox"] {
  margin-top: 2px;
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.terms-accept a {
  color: var(--primary-dark);
  text-decoration: underline;
}

.terms-accept input.input-error {
  outline: 2px solid #d6336c;
  outline-offset: 1px;
}

.wizard-pricing-panel {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  border: none;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: center;
}

.wizard-pricing-panel[hidden] {
  display: none !important;
}

.wizard-pricing-title {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.wizard-pricing-base {
  margin: 0 0 6px;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--muted);
}

.wizard-pricing-total {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}

.wizard-nav {
  padding: 14px 18px 18px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  background: transparent;
}

.wizard .btn-secondary {
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.success {
  min-height: calc(100vh - 32px);
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 12px 40px rgba(42, 47, 40, 0.12);
}

.confetti-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.success-card {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(32, 43, 102, 0.14);
  width: min(92%, 560px);
  padding: clamp(22px, 4vw, 36px);
  text-align: center;
  display: grid;
  gap: 12px;
}

.success-icon {
  font-size: 2.3rem;
}

.success-follow-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.success-social-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.success-social-btn {
  text-decoration: none;
  text-align: center;
}

.success-card .btn-primary {
  margin-top: 10px;
}

.payment-mock-shell {
  min-height: calc(100vh - 32px);
  display: grid;
  gap: 18px;
}

.payment-mock-header h1 {
  margin: 0;
}

.payment-mock-header p {
  margin: 6px 0 0;
  color: var(--muted);
}

.payment-mock-grid {
  display: grid;
  gap: 14px;
}

.payment-mock-card {
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 14px;
  display: grid;
  gap: 10px;
}

.payment-mock-card h2 {
  margin: 0;
  font-size: 1rem;
}

.payment-row-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.payment-mock-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.payment-mock-actions {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.terms-shell {
  min-height: calc(100vh - 32px);
  display: grid;
  gap: 18px;
}

.terms-card {
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 16px;
  color: var(--text);
  line-height: 1.65;
}

.terms-card h2 {
  margin: 0 0 8px;
}

.terms-card p {
  margin: 0 0 10px;
  color: var(--muted);
}

.landing-site-footer {
  margin-top: clamp(1.25rem, 3dvh, 2rem);
  padding-top: 1.25rem;
  border-top: 1px solid rgba(90, 98, 88, 0.14);
}

.landing-copyright {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--muted);
  font-weight: 400;
}

@media (min-width: 768px) {
  .site-shell {
    padding: 24px;
  }

  /* Keep the hero photo clear; fade veil in only toward the scrollable copy. */
  body.landing-view::before {
    opacity: 0.55;
    mask-image: linear-gradient(
      180deg,
      transparent 0%,
      transparent min(48vh, 46%),
      rgba(0, 0, 0, 0.28) min(68vh, 72%),
      rgba(0, 0, 0, 0.65) 100%
    );
    -webkit-mask-image: linear-gradient(
      180deg,
      transparent 0%,
      transparent min(48vh, 46%),
      rgba(0, 0, 0, 0.28) min(68vh, 72%),
      rgba(0, 0, 0, 0.65) 100%
    );
  }

  body.landing-view .site-shell {
    width: 100%;
    max-width: min(100%, 72rem);
    padding-inline: clamp(1.5rem, 4vw, 3rem);
    padding-block: 0;
    height: auto;
    max-height: none;
    min-height: 0;
  }

  body.landing-view .landing {
    --landing-hero-band-h: min(76vh, 920px);
    flex: none;
    display: block;
    width: 100vw;
    max-width: 100vw;
    margin-inline: calc(50% - 50vw);
    box-sizing: border-box;
    min-height: auto;
    overflow-x: clip;
    overflow-y: visible;
    padding-block: 0;
  }

  .landing-hero-stage {
    display: block;
    z-index: 0;
    min-height: min(76vh, 920px);
    pointer-events: none;
  }

  .landing-hero-blend {
    height: min(52vh, 540px);
  }

  .landing-hero-tagline {
    bottom: clamp(4rem, 14vh, 8.5rem);
    font-size: clamp(1.05rem, 1.65vw, 1.35rem);
    width: min(90vw, 38rem);
  }

  .landing-hero-stage .landing-headline {
    top: calc(max(1.5rem, env(safe-area-inset-top, 0px)) + 2cm);
    width: min(86vw, 44rem);
    font-size: clamp(1.85rem, 2.55vw + 0.65rem, 3.55rem);
  }

  .landing-sparkles {
    z-index: 3;
  }

  body.landing-view .landing-content {
    position: relative;
    z-index: 2;
    display: block;
    flex: none;
    max-width: 42rem;
    width: 100%;
    margin: -10vh auto 0;
    padding: 0 clamp(1rem, 3vw, 2rem) clamp(2.5rem, 6vw, 4rem);
    overflow: visible;
    grid-template-rows: unset;
  }

  body.landing-view .landing-content-spacer {
    display: none;
  }

  body.landing-view .landing-content-lower {
    overflow: visible;
    gap: clamp(0.65rem, 2.5vw, 1.15rem);
    padding-bottom: 0;
  }

  body.landing-view .landing-lead {
    font-size: clamp(1rem, 1.35vw, 1.2rem);
  }

  body.landing-view .landing-section .landing-section-title {
    font-size: clamp(1.05rem, 1.45vw, 1.25rem);
  }

  body.landing-view .process-landing .landing-section-title {
    font-size: clamp(1.05rem, 1.45vw, 1.25rem);
  }

  body.landing-view .landing-step-copy {
    font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  }

  body.landing-view .btn-landing-cta {
    margin-top: clamp(0.75rem, 2vw, 1.5rem);
    max-width: 26rem;
    margin-inline: auto;
  }

  body.landing-view .landing-ornament {
    margin: 1rem 0;
  }

  body.landing-view .landing-ornament--spaced {
    margin: 1.25rem 0;
  }

  .landing-site-footer {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    max-width: 36rem;
    margin-inline: auto;
  }

  .landing-copyright {
    font-size: 0.875rem;
  }

  .wizard-body {
    padding: 24px;
  }
}

@media (max-width: 420px) {
  .wizard-nav {
    flex-direction: column-reverse;
  }

  .wizard-nav .btn {
    width: 100%;
  }

  .success {
    min-height: calc(100vh - 24px);
  }

  .success-social-links {
    grid-template-columns: 1fr;
  }

  .payment-row-2,
  .payment-mock-actions {
    grid-template-columns: 1fr;
  }
}

.site-footer {
  text-align: center;
  padding: 32px 20px 24px;
  margin-top: 48px;
  border-top: 1px solid var(--border);
  background: var(--surface);
  border-radius: 20px 20px 0 0;
  font-size: 0.92rem;
  line-height: 1.7;
}

.footer-business-name {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--text);
  font-weight: 700;
}

.footer-contact-details {
  margin: 0 0 6px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  font-size: 0.94rem;
}

.footer-contact-details a {
  color: var(--primary-dark);
  text-decoration: none;
  font-weight: 700;
}

.footer-contact-details a:hover {
  text-decoration: underline;
  color: var(--primary);
}

.footer-hours {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-links {
  margin: 12px 0 6px;
}

.accessibility-link {
  color: var(--primary-dark);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0 6px;
}

.accessibility-link:hover {
  text-decoration: underline;
  color: var(--primary);
}

.footer-copyright {
  margin: 10px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  opacity: 0.8;
}

/* ========================================================
   לוגו וגלריית דמויות בדף הנחיתה (Landing Showcase)
   ======================================================== */
.landing-logo-wrap {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  margin-top: 10px;
  margin-bottom: 12px;
}
.landing-brand-logo {
  width: clamp(100px, 18vw, 140px);
  height: auto;
  border-radius: 24px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.16);
  background: rgba(255, 255, 255, 0.92);
  padding: 6px;
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease;
}
.landing-brand-logo:hover {
  transform: scale(1.05);
}

.landing-characters-showcase {
  margin: 28px 0;
  text-align: center;
}
.landing-character-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 14px;
  margin-top: 16px;
  width: 100%;
}
.landing-character-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  padding: 14px 8px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  font-family: inherit;
  color: var(--text);
  box-sizing: border-box;
}
.landing-character-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
  border-color: var(--primary);
  background: #ffffff;
}
.landing-character-card .card-avatar {
  width: clamp(75px, 20vw, 95px);
  height: clamp(75px, 20vw, 95px);
  border-radius: 16px;
  object-fit: contain;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
}
.landing-character-card:hover .card-avatar {
  transform: scale(1.06);
}
.landing-character-card .card-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  text-align: center;
}
.landing-character-card .card-cta {
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 700;
  background: rgba(107, 127, 98, 0.12);
  padding: 3px 10px;
  border-radius: 999px;
  transition: background 0.2s ease;
}
.landing-character-card:hover .card-cta {
  background: var(--primary);
  color: #ffffff;
}

/* ==============================================================================
   Instagram Profile Embedded Card (Main Landing & Payment Success)
   ============================================================================== */
.landing-social,
.landing-instagram {
  margin-top: 24px;
  margin-bottom: 28px;
  text-align: center;
}

.social-buttons-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 16px auto 0;
  max-width: 440px;
  width: 100%;
}

.social-link-btn {
  flex: 1;
  min-width: 130px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease, opacity 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
}

.social-link-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
}

.social-link-btn:active {
  transform: scale(0.97);
}

.social-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.instagram-link-btn {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(220, 39, 67, 0.28);
}

.instagram-link-btn:hover {
  box-shadow: 0 8px 22px rgba(220, 39, 67, 0.42);
}

.tiktok-link-btn {
  background: #000000;
  color: #ffffff !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28);
}

.tiktok-link-btn:hover {
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.42);
}

@media (max-width: 380px) {
  .social-buttons-row {
    flex-direction: column;
    gap: 10px;
  }
  .social-link-btn {
    width: 100%;
  }
}

.landing-instagram-desc {
  margin: 0 auto 18px;
  max-width: 460px;
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.5;
}

.ig-profile-card {
  position: relative;
  max-width: 460px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 24px;
  border: 1px solid rgba(220, 39, 67, 0.18);
  box-shadow: 
    0 4px 6px -1px rgba(0, 0, 0, 0.04),
    0 12px 28px -4px rgba(220, 39, 67, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: right;
  direction: rtl;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  overflow: hidden;
}

.ig-profile-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.ig-profile-card:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 8px 12px -2px rgba(0, 0, 0, 0.06),
    0 20px 36px -6px rgba(220, 39, 67, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset;
}

.ig-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.ig-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #1a1a1a;
}

.ig-icon {
  width: 22px;
  height: 22px;
  stroke: #dc2743;
}

.ig-brand-text {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ig-badge-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 600;
  background: rgba(220, 39, 67, 0.08);
  color: #c13584;
}

.ig-card-body {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ig-avatar-link {
  text-decoration: none;
  flex-shrink: 0;
  display: inline-block;
}

.ig-story-ring {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(220, 39, 67, 0.28);
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ig-avatar-link:hover .ig-story-ring {
  transform: scale(1.06) rotate(3deg);
}

.ig-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid #fff;
  display: block;
}

.ig-user-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

.ig-name-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.ig-name {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--text, #1f2855);
  text-decoration: none;
  line-height: 1.25;
}

.ig-name:hover {
  color: #cc2366;
}

.ig-verified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  color: #1d9bf0;
  flex-shrink: 0;
}

.ig-verified-badge svg {
  width: 100%;
  height: 100%;
}

.ig-handle {
  font-size: 0.88rem;
  font-weight: 600;
  color: #8e8e8e;
  text-decoration: none;
  direction: ltr;
  text-align: right;
  margin-bottom: 2px;
}

.ig-handle:hover {
  color: #1a1a1a;
  text-decoration: underline;
}

.ig-bio {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted, #555);
  line-height: 1.35;
}

.ig-stats-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 14px;
  padding: 8px 12px;
  margin: 2px 0;
}

.ig-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
}

.ig-stat-val {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text, #111);
}

.ig-stat-name {
  font-size: 0.72rem;
  color: #777;
}

.ig-stat-sep {
  width: 1px;
  height: 22px;
  background: rgba(0, 0, 0, 0.08);
}

.ig-follow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 18px;
  border-radius: 14px;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  box-shadow: 0 4px 15px rgba(220, 39, 67, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.ig-follow-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 7px 20px rgba(220, 39, 67, 0.48);
  color: #ffffff !important;
}

.ig-btn-camera {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.ig-btn-arrow {
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.ig-follow-btn:hover .ig-btn-arrow {
  transform: translate(-2px, -2px);
}

/* Inside success card */
.success-card .ig-profile-card {
  margin: 12px auto 6px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 24px rgba(220, 39, 67, 0.16);
}

.success-secondary-actions {
  display: flex;
  gap: 10px;
  margin-top: 6px;
  justify-content: center;
}

.success-secondary-actions .btn {
  flex: 1;
}


