/* Fargah cinematic direction: dark architectural stage + light pistachio mode */

:root {
  --fargah-black: #1a1814;
  --fargah-black-deep: #060604;
  --fargah-pistachio: #dde8c6;
  --fargah-pistachio-soft: #eef4df;
  --fargah-ivory: #f8f5f0;
  --fargah-gold: #c8a45d;
  --fargah-gold-bright: #e4c47a;
  --fargah-glass: rgba(255, 255, 255, 0.06);
  --fargah-glass-strong: rgba(255, 255, 255, 0.1);
  --fargah-line: rgba(221, 232, 198, 0.16);
  --fargah-shadow-heavy: 0 30px 90px rgba(0, 0, 0, 0.48);
}

[data-theme="light"] {
  --bg-sanjab-cream: #eef4df;
  --bg-sanjab-cream-light: #f8f5f0;
  --bg-sanjab-cream-deep: #dfe9cb;
  --bg-primary: #eef4df;
  --bg-surface: rgba(248, 245, 240, 0.9);
  --bg-elevated: rgba(255, 255, 255, 0.86);
  --bg-stone-soft: #e8efd6;
  --text-primary: #1a1814;
  --text-secondary: rgba(26, 24, 20, 0.7);
  --text-muted: rgba(26, 24, 20, 0.54);
  --accent-gold: #b58d43;
  --accent-gold-hover: #8f6b2d;
  --accent-gold-text: #775929;
  --accent-stone: rgba(26, 24, 20, 0.12);
  --border-default: rgba(26, 24, 20, 0.12);
}

[data-theme="dark"] {
  --bg-primary: #060604;
  --bg-surface: rgba(255, 255, 255, 0.045);
  --bg-elevated: rgba(255, 255, 255, 0.07);
  --bg-stone-soft: #0d0c09;
  --text-primary: #f8f5f0;
  --text-secondary: rgba(248, 245, 240, 0.72);
  --text-muted: rgba(248, 245, 240, 0.52);
  --accent-gold: var(--fargah-gold);
  --accent-gold-hover: var(--fargah-gold-bright);
  --accent-gold-text: var(--fargah-gold-bright);
  --accent-stone: rgba(221, 232, 198, 0.13);
  --border-default: rgba(221, 232, 198, 0.12);
  --glow-gold: rgba(200, 164, 93, 0.22);
  --glow-cool: rgba(221, 232, 198, 0.15);
}

html {
  background: var(--bg-primary);
}

body {
  background:
    linear-gradient(180deg, rgba(221, 232, 198, 0.04), transparent 34rem),
    var(--bg-primary);
  color: var(--text-primary);
}

[data-theme="dark"] body::before,
[data-theme="dark"] body::after {
  content: "";
  position: fixed;
  inset-block: 0;
  pointer-events: none;
  z-index: 0;
}

[data-theme="dark"] body::before {
  inset-inline: 0;
  background:
    linear-gradient(100deg, transparent 0%, rgba(221, 232, 198, 0.1) 28%, transparent 48%),
    linear-gradient(180deg, rgba(200, 164, 93, 0.08) 0%, transparent 42%, rgba(221, 232, 198, 0.05) 100%);
  opacity: 0.55;
}

[data-theme="dark"] body::after {
  inset-inline-start: 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(221, 232, 198, 0.22), transparent);
  box-shadow:
    -28rem 18rem 0 rgba(221, 232, 198, 0.05),
    25rem 32rem 0 rgba(200, 164, 93, 0.06);
  opacity: 0.45;
}

main,
.fargah-footer,
.back-to-top-bar {
  position: relative;
  z-index: 1;
}

.fargah-container {
  max-width: 1380px;
}

.fargah-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 36px);
  background: #050505;
  overflow: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.fargah-loader__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 0;
  opacity: 0.94;
}

.fargah-loader__bg-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 42%, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.28) 72%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.08) 42%, rgba(0, 0, 0, 0.22));
}

.fargah-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.fargah-loader__device {
  position: relative;
  z-index: 2;
  width: min(1120px, 88vw, calc((100svh - 72px) * 1.58));
  aspect-ratio: 1.58;
  padding: clamp(10px, 1.4vw, 14px);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(8, 8, 8, 0.98), rgba(18, 18, 18, 0.98));
  box-shadow:
    0 34px 80px rgba(0, 0, 0, 0.42),
    0 10px 24px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  animation: fargah-loader-device-in 0.9s cubic-bezier(.2, .8, .2, 1) both;
}

.fargah-loader__bezel {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 18px 42px rgba(255, 255, 255, 0.03);
}

.fargah-loader__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  color: var(--fargah-ivory);
  background: #040404;
  isolation: isolate;
}

.fargah-loader__chrome {
  position: absolute;
  z-index: 4;
  top: 9%;
  inset-inline: 8%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  opacity: 0;
  animation: fargah-loader-chrome 4.6s ease both;
}

.fargah-loader__chrome-spacer {
  display: block;
}

.fargah-loader__logo-wrap {
  position: absolute;
  z-index: 2;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.fargah-loader__logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: drop-shadow(0 24px 56px rgba(0, 0, 0, 0.45));
  opacity: 1;
  transform: none;
  animation: fargah-loader-logo-pulse 3.2s ease-in-out 0.8s infinite;
}

.fargah-loader__logo--video {
  display: block;
}

.fargah-loader__logo--fallback {
  display: none;
}

.no-loader-video .fargah-loader__logo--fallback {
  display: block;
}

.no-loader-video .fargah-loader__logo--video {
  display: none;
}

.fargah-loader__grid {
  justify-self: end;
  width: 18px;
  height: 18px;
  display: grid;
  grid-template-columns: repeat(2, 3px);
  grid-auto-rows: 3px;
  place-content: center;
  gap: 3px;
}

.fargah-loader__grid i {
  display: block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(248, 245, 240, 0.68);
}

.fargah-loader__progress {
  position: absolute;
  z-index: 6;
  left: 50%;
  bottom: 11%;
  transform: translateX(-50%);
  width: min(132px, 34vw);
  opacity: 0;
  animation: fargah-loader-progress 4.4s ease both;
}

.fargah-loader__ticks {
  position: relative;
  display: flex;
  direction: ltr;
  align-items: center;
  justify-content: center;
  gap: clamp(7px, 1vw, 10px);
  height: 28px;
  overflow: visible;
}

.fargah-loader__tick {
  position: relative;
  z-index: 1;
  width: 2px;
  height: 14px;
  border-radius: 999px;
  background: rgba(248, 245, 240, 0.2);
  box-shadow: none;
  transform: scaleY(0.76);
  transform-origin: center;
  transition: transform 0.25s ease, background-color 0.25s ease, opacity 0.25s ease;
}

.fargah-loader__tick.is-active {
  background: rgba(248, 245, 240, 0.94);
  box-shadow: none;
  transform: scaleY(1);
}

@keyframes fargah-loader-device-in {
  from { opacity: 0; transform: translateY(24px) scale(0.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes fargah-loader-logo-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fargah-loader-chrome {
  0%, 24% { opacity: 0; transform: translateY(-8px); }
  40%, 100% { opacity: 1; transform: translateY(0); }
}

@keyframes fargah-loader-progress {
  0%, 20% { opacity: 0; transform: translateX(-50%) translateY(12px); }
  34%, 88% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(-8px); }
}

@keyframes fargah-loader-logo-pulse {
  0%, 100% { opacity: 0.94; }
  50% { opacity: 1; }
}

.header-auth-link,
.header-icon-btn,
.locale-toggle,
.theme-toggle {
  min-height: 38px;
  border-color: rgba(221, 232, 198, 0.16);
  color: rgba(248, 245, 240, 0.76);
  background: rgba(255, 255, 255, 0.035);
}

.fargah-nav > li > a {
  padding: 8px 2px 6px;
  color: var(--text-muted);
  transition: color 0.25s ease;
}

.fargah-nav > li > a::before {
  top: 0;
  height: 3px;
  background: var(--fargah-gold);
  box-shadow: none;
  border-radius: 2px;
}

.fargah-nav > li > a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -4px;
  height: 2px;
  border-radius: 2px;
  background: var(--motion-glow, var(--fargah-gold));
  box-shadow: 0 0 8px rgba(200, 164, 93, 0.22);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--motion-ease, ease);
}

[dir="rtl"] .fargah-nav > li > a::after {
  transform-origin: right;
}

.fargah-nav > li > a:hover,
.fargah-nav > li > a.active,
[data-theme="dark"] .fargah-nav > li > a:hover,
[data-theme="dark"] .fargah-nav > li > a.active,
.home-page--motion .fargah-header--overlay .fargah-nav > li > a:hover,
.home-page--motion .fargah-header--overlay .fargah-nav > li > a.active {
  color: var(--text-secondary);
}

.fargah-nav > li > a:hover::before,
.fargah-nav > li > a.active::before,
.fargah-nav > li > a:hover::after,
.fargah-nav > li > a.active::after {
  width: 100%;
  transform: scaleX(1);
}

[data-theme="light"] .header-auth-link,
[data-theme="light"] .header-icon-btn,
[data-theme="light"] .locale-toggle,
[data-theme="light"] .theme-toggle {
  border-color: rgba(26, 24, 20, 0.14);
  color: rgba(26, 24, 20, 0.72);
  background: rgba(248, 245, 240, 0.64);
}

.header-auth-link--signup {
  background: linear-gradient(135deg, var(--fargah-pistachio), var(--fargah-gold));
  color: #17140f;
  border-color: transparent;
  box-shadow: 0 12px 34px rgba(200, 164, 93, 0.2);
}

.btn-fargah {
  min-height: 44px;
  border-radius: 999px;
  letter-spacing: 0;
}

.btn-fargah--primary {
  background: linear-gradient(135deg, var(--fargah-pistachio) 0%, var(--fargah-gold) 100%);
  color: #16130e;
  box-shadow: 0 12px 34px rgba(200, 164, 93, 0.22);
}

.btn-fargah--outline,
.btn-fargah--dark,
.btn-fargah--outline-light {
  border: 1px solid rgba(221, 232, 198, 0.24);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-primary);
}

.studio-hero-combined {
  min-height: clamp(520px, 78vh, 640px);
  isolation: isolate;
  background: var(--fargah-black-deep);
  cursor: grab;
  touch-action: pan-y;
}

.studio-hero-combined.is-dragging {
  cursor: grabbing;
}

.studio-hero-combined a,
.studio-hero-combined button {
  cursor: pointer;
}

.studio-hero-combined::before,
.studio-hero-combined::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.studio-hero-combined::before {
  background:
    linear-gradient(100deg, transparent 8%, rgba(221, 232, 198, 0.15) 30%, transparent 48%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.18) 36%, rgba(0, 0, 0, 0.82));
  mix-blend-mode: screen;
  opacity: 0.75;
}

.studio-hero-combined::after {
  background-image:
    linear-gradient(rgba(221, 232, 198, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(221, 232, 198, 0.04) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(180deg, transparent 0%, black 22%, black 68%, transparent 100%);
  opacity: 0.45;
}

.studio-hero-combined__media {
  opacity: 0.82;
  filter: saturate(0.92) contrast(1.05) brightness(0.84);
}

.studio-hero-combined__shade,
[data-theme="dark"] .studio-hero-combined__shade,
[dir="ltr"][data-theme="dark"] .studio-hero-combined__shade {
  background:
    linear-gradient(180deg, rgba(6, 6, 4, 0.2) 0%, rgba(6, 6, 4, 0.06) 40%, rgba(6, 6, 4, 0.68) 100%),
    linear-gradient(90deg, rgba(6, 6, 4, 0.38), transparent 50%, rgba(6, 6, 4, 0.28));
}

.studio-hero-combined__frame {
  min-height: clamp(520px, 78vh, 640px);
  display: grid;
  align-items: center;
  justify-items: start;
  padding-top: 92px;
  padding-bottom: 70px;
}

.studio-hero-combined__intro {
  max-width: 500px;
  justify-self: start;
  text-align: right;
  padding: 0;
}

[dir="ltr"] .studio-hero-combined__frame {
  justify-items: end;
}

[dir="ltr"] .studio-hero-combined__intro {
  justify-self: end;
  text-align: right;
}

.studio-hero-combined__eyebrow {
  color: rgba(221, 232, 198, 0.72);
  border: 0;
  background: transparent;
  font-size: 0.78rem;
  margin-bottom: 18px;
}

.studio-hero__title {
  max-width: 455px;
  margin-inline: 0;
  color: #fff;
  font-size: clamp(1.7rem, 2.55vw, 2.05rem);
  line-height: 1.44;
  font-weight: 700;
  text-shadow: 0 22px 80px rgba(0, 0, 0, 0.62);
}

.motion-accent-glow {
  color: var(--fargah-pistachio);
  text-shadow: 0 0 28px rgba(221, 232, 198, 0.45);
}

.studio-hero__subtitle {
  max-width: 430px;
  margin: 14px 0 22px;
  color: rgba(248, 245, 240, 0.72);
  font-size: 0.82rem;
  line-height: 1.95;
}

.studio-hero__actions {
  justify-content: flex-start;
}

[dir="ltr"] .studio-hero__actions {
  justify-content: flex-end;
}

.studio-hero-combined .btn-fargah--outline {
  color: var(--fargah-ivory);
  border-color: rgba(221, 232, 198, 0.38);
  background: rgba(255, 255, 255, 0.035);
}

.studio-hero-combined .btn-fargah--outline:hover {
  color: #fff;
  border-color: rgba(200, 164, 93, 0.7);
  background: rgba(200, 164, 93, 0.12);
}

.studio-hero__ghost-link {
  display: inline-flex;
  margin-top: 14px;
  color: rgba(221, 232, 198, 0.72);
  font-size: 0.9rem;
}

.studio-hero-combined__stage {
  inset: auto 0 30px;
  width: 100%;
  height: auto;
}

.fargah-hero-slider__arrow {
  opacity: 0.72;
}

.fargah-hero-slider__footer {
  max-width: 520px;
  margin-inline: auto;
}

.home-page__canvas,
.home-secondary {
  position: relative;
  background: transparent;
}

[data-theme="light"] .home-page__canvas,
[data-theme="light"] .home-secondary {
  background:
    linear-gradient(180deg, rgba(238, 244, 223, 0.98) 0%, rgba(248, 245, 240, 0.96) 46%, rgba(238, 244, 223, 0.98) 100%);
}

.home-page section:not(.studio-hero-combined) {
  position: relative;
}

.home-page section:not(.studio-hero-combined)::before {
  content: "";
  position: absolute;
  inset-inline: 24px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(221, 232, 198, 0.16), rgba(200, 164, 93, 0.16), transparent);
  pointer-events: none;
}

[data-theme="light"] .home-page section:not(.studio-hero-combined)::before {
  background: linear-gradient(90deg, transparent, rgba(26, 24, 20, 0.12), rgba(181, 141, 67, 0.22), transparent);
}

.fargah-journey {
  padding: 84px 0 56px;
  background:
    linear-gradient(180deg, rgba(221, 232, 198, 0.055), transparent),
    transparent;
}

[data-theme="light"] .fargah-journey {
  background:
    linear-gradient(180deg, rgba(238, 244, 223, 0.98) 0%, rgba(248, 245, 240, 0.92) 100%);
}

.fargah-journey__intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(300px, 1fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 26px;
}

.fargah-journey__intro h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: 2.35rem;
  line-height: 1.45;
}

.fargah-journey__intro p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 2;
}

.fargah-journey__steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--accent-stone);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--fargah-shadow-heavy);
}

[data-theme="light"] .fargah-journey__steps {
  background: rgba(248, 245, 240, 0.72);
  box-shadow: 0 18px 54px rgba(26, 24, 20, 0.12);
}

.fargah-journey__step {
  min-height: 184px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 24px;
  border-inline-end: 1px solid var(--accent-stone);
  color: var(--text-primary);
  transition: background 0.25s ease, transform 0.25s ease;
}

.fargah-journey__step:last-child {
  border-inline-end: 0;
}

.fargah-journey__step:hover {
  background: rgba(221, 232, 198, 0.08);
  transform: translateY(-3px);
}

.fargah-journey__step span {
  font-family: var(--font-en);
  color: var(--fargah-gold-bright);
  font-size: 0.78rem;
  font-weight: 700;
}

.fargah-journey__step strong {
  font-size: 1.05rem;
  line-height: 1.55;
}

.fargah-journey__step small {
  color: var(--text-muted);
  line-height: 1.75;
}

.fargah-journey__step--cta {
  background:
    linear-gradient(135deg, rgba(221, 232, 198, 0.16), rgba(200, 164, 93, 0.14)),
    rgba(255, 255, 255, 0.04);
}

.trust-strip {
  background: transparent;
  margin-top: 0;
}

.home-page--motion .trust-strip {
  padding: clamp(34px, 5vw, 62px) 0 clamp(52px, 7vw, 86px);
  background:
    radial-gradient(ellipse 72% 90% at 18% 50%, rgba(200, 164, 93, 0.16), transparent 62%),
    linear-gradient(180deg, transparent, rgba(6, 6, 4, 0.28));
}

.home-page--motion .trust-strip__panel {
  max-width: 1120px;
  margin-inline: auto;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(200, 164, 93, 0.34);
  border-radius: 20px;
  background:
    linear-gradient(90deg, rgba(200, 164, 93, 0.11), rgba(255, 255, 255, 0.035) 44%, rgba(255, 255, 255, 0.018)),
    rgba(10, 10, 9, 0.62);
  box-shadow:
    0 26px 90px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.home-page--motion .trust-strip__grid {
  gap: clamp(18px, 2.5vw, 34px);
}

.home-page--motion .trust-strip__item {
  align-items: flex-start;
  gap: 16px;
}

.home-page--motion .trust-strip__item .motion-icon-glow {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(200, 164, 93, 0.42);
  color: var(--accent-gold);
  background: rgba(6, 6, 4, 0.72);
  box-shadow:
    0 0 28px rgba(200, 164, 93, 0.18),
    inset 0 0 16px rgba(200, 164, 93, 0.09);
  font-family: var(--font-en);
  font-weight: 800;
  font-size: 0.92rem;
}

.home-page--motion .trust-strip__title {
  margin-bottom: 6px;
  color: #f8f5f0;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.42;
}

.home-page--motion .trust-strip__desc {
  color: rgba(248, 245, 240, 0.64);
  font-size: 0.9rem;
  line-height: 1.75;
}

.home-page--motion .trust-strip__footer {
  display: none;
}

.trust-strip__panel,
.testimonials-slider__slide,
.card-premium,
.ready-featured,
.ready-mini-card,
.tech-proof-card,
.article-feed-card,
.catalog-product-card,
.sanjab-form-section__grid,
.goldrush-locations__split {
  border: 1px solid var(--accent-stone);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.026));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.2);
}

.sanjab-form-section__grid {
  padding: clamp(18px, 2.4vw, 32px);
  border-radius: clamp(20px, 2.3vw, 30px);
  overflow: hidden;
  border-color: rgba(200, 164, 93, 0.18);
  background:
    radial-gradient(circle at 82% 22%, rgba(200, 164, 93, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.062), rgba(255, 255, 255, 0.024));
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    inset 0 0 0 1px rgba(221, 232, 198, 0.035);
}

.sanjab-form-section__visual img {
  display: block;
  border-radius: clamp(18px, 2vw, 28px);
}

[data-theme="light"] .trust-strip__panel,
[data-theme="light"] .testimonials-slider__slide,
[data-theme="light"] .card-premium,
[data-theme="light"] .ready-featured,
[data-theme="light"] .ready-mini-card,
[data-theme="light"] .tech-proof-card,
[data-theme="light"] .article-feed-card,
[data-theme="light"] .catalog-product-card,
[data-theme="light"] .sanjab-form-section__grid {
  background: rgba(248, 245, 240, 0.74);
  box-shadow: 0 16px 44px rgba(26, 24, 20, 0.1);
}

.section-title {
  font-size: 2.45rem;
  line-height: 1.42;
}

.section-subtitle {
  color: var(--text-secondary);
}

.section-heading-decor__ornament {
  opacity: 0.68;
  filter: sepia(0.25) saturate(0.9);
}

.catalog-live-section {
  position: relative;
  width: 100%;
  max-width: 100%;
  padding: clamp(54px, 8vw, 104px) 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 52% 72% at 14% 50%, rgba(200, 164, 93, 0.1), transparent 64%),
    radial-gradient(ellipse 46% 58% at 78% 24%, rgba(200, 164, 93, 0.16), transparent 66%),
    linear-gradient(180deg, rgba(5, 5, 4, 0.96), rgba(4, 4, 3, 0.98));
}

.catalog-live-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(221, 232, 198, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(221, 232, 198, 0.035) 1px, transparent 1px);
  background-size: 78px 78px;
  opacity: 0.24;
  pointer-events: none;
}

.catalog-live-section__inner {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: min(100%, 1140px);
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1fr);
  align-items: center;
  gap: clamp(32px, 7vw, 88px);
}

.catalog-live-section__book {
  position: relative;
  justify-self: center;
  width: min(350px, 78vw);
  aspect-ratio: 0.73;
  filter: drop-shadow(0 34px 60px rgba(0, 0, 0, 0.34));
}

.catalog-live-section__cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: clamp(42px, 7vw, 78px);
  border-radius: 10px;
  border: 1px solid rgba(200, 164, 93, 0.24);
  background: #f2ead7;
  color: #3a2b17;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.catalog-live-section__spine {
  position: absolute;
  z-index: 2;
  inset-block: 0;
  inset-inline-start: 0;
  width: 18px;
  border-radius: 10px 0 0 10px;
  background: linear-gradient(180deg, #f0d48c, #d9aa45);
}

.catalog-live-section__brand,
.catalog-live-section__cover strong {
  display: block;
  font-weight: 800;
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
  line-height: 1.35;
}

.catalog-live-section__cover small {
  color: var(--accent-gold-text);
  font-size: 0.9rem;
}

.catalog-live-section__copy {
  max-width: 560px;
}

.catalog-live-section__eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent-gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.catalog-live-section__copy h2 {
  margin: 0;
  color: #f8f5f0;
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  line-height: 1.12;
}

.catalog-live-section__copy p {
  margin: 24px 0 0;
  max-width: 52ch;
  color: rgba(248, 245, 240, 0.66);
  font-size: 1rem;
  line-height: 1.9;
}

.catalog-live-section__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.catalog-live-section--home {
  padding-top: clamp(42px, 6vw, 78px);
}

.home-articles-section .section-heading-decor__ornament {
  display: none;
}

.home-articles-section .section-heading-decor {
  margin-bottom: 28px;
}

.home-articles-section .article-feed-card__body::after {
  content: "مطالعه مقاله";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  padding: 10px 16px;
  border: 1px solid rgba(200, 164, 93, 0.42);
  border-radius: 999px;
  color: var(--accent-gold);
  font-size: 0.82rem;
  font-weight: 800;
}

[dir="ltr"] .home-articles-section .article-feed-card__body::after {
  content: "Read article";
}

.home-page--motion .section-cta-center .btn-fargah {
  border-radius: 999px;
  min-width: 150px;
}

.section-padding {
  padding-top: 104px;
  padding-bottom: 104px;
}

.bg-golden-white,
.bg-stone-soft,
.bg-surface,
.home-page .sanjab-form-section {
  background: transparent;
}

[data-theme="light"] .bg-golden-white,
[data-theme="light"] .bg-stone-soft,
[data-theme="light"] .bg-surface,
[data-theme="light"] .home-page .sanjab-form-section {
  background:
    linear-gradient(180deg, rgba(248, 245, 240, 0.36), rgba(221, 232, 198, 0.26)),
    transparent;
}

.executed-card {
  border-radius: 20px;
  border: 1px solid rgba(221, 232, 198, 0.12);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
}

.executed-card__overlay {
  background: linear-gradient(180deg, transparent 20%, rgba(6, 6, 4, 0.86) 100%);
}

.final-cta-section {
  overflow: hidden;
  background:
    linear-gradient(105deg, transparent, rgba(221, 232, 198, 0.13), transparent),
    linear-gradient(180deg, #17140f 0%, #060604 100%);
  border-top: 1px solid rgba(221, 232, 198, 0.12);
}

.final-cta-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(221, 232, 198, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(221, 232, 198, 0.05) 1px, transparent 1px);
  background-size: 90px 90px;
  opacity: 0.28;
  pointer-events: none;
}

.final-cta-section .fargah-container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.contact-design-cta {
  padding: 48px 0 24px;
}

.contact-design-cta__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 30px;
  border: 1px solid var(--accent-stone);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(221, 232, 198, 0.08), transparent 44%),
    var(--bg-surface);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
}

.contact-design-cta__kicker {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--accent-gold-text);
  font-size: 0.78rem;
  font-weight: 700;
}

.contact-design-cta__panel h2 {
  max-width: 760px;
  margin: 0;
  color: var(--text-primary);
  font-size: 1.5rem;
  line-height: 1.7;
}

.contact-design-cta__panel p {
  max-width: 720px;
  margin: 10px 0 0;
  color: var(--text-secondary);
  line-height: 2;
}

.page-hero--faq .page-hero__meta {
  margin-top: 10px;
  color: var(--accent-gold);
  font-size: 0.84rem;
  font-weight: 700;
}

.faq-page {
  background:
    linear-gradient(180deg, rgba(221, 232, 198, 0.04), transparent 36%),
    var(--bg-primary);
}

.faq-page__toolbar {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
}

.faq-page__search input {
  width: 100%;
  min-height: 48px;
  padding: 10px 16px;
  border: 1px solid var(--accent-stone);
  border-radius: 999px;
  color: var(--text-primary);
  background: var(--bg-surface);
}

.faq-page__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.faq-page__filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 6px 14px;
  border: 1px solid var(--accent-stone);
  border-radius: 999px;
  color: var(--text-secondary);
  background: transparent;
  font-size: 0.8rem;
  font-weight: 700;
}

.faq-page__filter span {
  min-width: 22px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(200, 164, 93, 0.14);
  color: var(--accent-gold);
  font-size: 0.72rem;
  text-align: center;
}

.faq-page__filter.is-active,
.faq-page__filter:hover {
  border-color: var(--accent-gold);
  color: #16130e;
  background: linear-gradient(135deg, var(--fargah-pistachio), var(--fargah-gold));
}

.faq-page__layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.3fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.faq-page__nav {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--accent-stone);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(221, 232, 198, 0.08), transparent 52%),
    var(--bg-surface);
}

.faq-page__nav strong {
  color: var(--text-primary);
  font-size: 1.05rem;
}

.faq-page__nav a {
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.7;
}

.faq-page__nav a.is-active,
.faq-page__nav a:hover {
  color: var(--accent-gold);
}

.faq-page__nav .btn-fargah {
  margin-top: 8px;
  justify-self: start;
}

.faq-page__category + .faq-page__category {
  margin-top: 34px;
}

.faq-page__category-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--accent-stone);
}

.faq-page__category-head h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: 1.3rem;
}

.faq-page__category-head span {
  color: var(--text-muted);
  font-size: 0.78rem;
  white-space: nowrap;
}

.faq-page__list .faq-item {
  overflow: hidden;
  border: 1px solid var(--accent-stone);
  border-radius: 10px;
  background: var(--bg-surface);
}

.faq-page__list .faq-item + .faq-item {
  margin-top: 10px;
}

.faq-page__list .faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  color: var(--text-primary);
  background: transparent;
  border: 0;
  text-align: inherit;
  font: inherit;
  font-weight: 700;
  line-height: 1.8;
}

.faq-item__toggle {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.faq-item__toggle::before,
.faq-item__toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  background: var(--accent-gold);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.faq-item__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item__toggle.is-open::after {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0;
}

.faq-page__list .faq-item__answer {
  padding: 0 20px 20px;
  color: var(--text-primary);
  line-height: 2.05;
}

.faq-prose p,
.faq-prose li {
  margin: 0 0 10px;
}

.faq-prose table {
  width: 100%;
  margin: 12px 0;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.faq-prose td,
.faq-prose th {
  border: 1px solid var(--accent-stone);
  padding: 8px 10px;
  vertical-align: top;
}

.faq-page__empty {
  color: var(--text-muted);
  text-align: center;
  padding: 28px 0;
}

@media (max-width: 1200px) {
  .studio-hero__title {
    font-size: 2.18rem;
  }

  .fargah-journey__steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 992px) {
  .fargah-header--overlay {
    position: sticky;
  }

  .studio-hero-combined,
  .studio-hero-combined__frame {
    min-height: clamp(460px, 72vh, 560px);
  }

  .studio-hero__title {
    font-size: 1.95rem;
  }

  .fargah-journey__intro {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .fargah-loader__device {
    width: min(94vw, calc((100svh - 44px) * 1.58));
    border-radius: 22px;
    padding: 8px;
  }

  .fargah-loader__screen {
    border-radius: 16px;
  }

  .fargah-loader__chrome {
    top: 7%;
    inset-inline: 7%;
    gap: 10px;
    font-size: 0.62rem;
  }

  .fargah-loader__brand {
    min-height: 30px;
    padding: 0 10px;
  }

  .fargah-loader__logo-wrap {
    inset: 0;
  }

  .fargah-loader__progress {
    bottom: 10%;
    width: min(112px, 42vw);
  }

  .studio-hero-combined {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding-top: 0;
  }

  .studio-hero-combined__media {
    position: relative;
    height: clamp(220px, 46vw, 300px);
    flex-shrink: 0;
  }

  .studio-hero-combined__frame {
    min-height: 0;
    justify-items: center;
    padding: 28px 16px 20px;
    order: 2;
  }

  .studio-hero-combined__intro {
    max-width: min(340px, 100%);
    justify-self: center;
    text-align: center;
  }

  .studio-hero__title {
    max-width: 100%;
    font-size: 1.42rem;
    line-height: 1.55;
  }

  .studio-hero__subtitle {
    max-width: 100%;
    font-size: 0.84rem;
    line-height: 1.9;
  }

  .studio-hero__actions {
    width: 100%;
    max-width: 330px;
    margin-inline: auto;
    flex-direction: column;
    align-items: stretch;
  }

  .studio-hero__ghost-link {
    justify-content: center;
  }

  .fargah-header .header-auth-link--signup {
    display: inline-flex !important;
  }

  .fargah-journey {
    padding: 64px 0 40px;
  }

  .fargah-journey__intro h2,
  .section-title {
    font-size: 1.75rem;
  }

  .fargah-journey__steps {
    grid-template-columns: 1fr;
  }

  .home-page--motion .trust-strip__panel {
    border-radius: 18px;
    padding: 20px;
  }

  .home-page--motion .trust-strip__grid {
    grid-template-columns: 1fr;
  }

  .catalog-live-section__inner {
    grid-template-columns: 1fr;
    width: 100vw;
    max-width: 100vw;
    margin-inline: 0;
    padding-inline: 16px;
    text-align: center;
    justify-items: center;
  }

  .home-page--motion .catalog-live-section {
    width: 100vw;
    max-width: 100vw;
  }

  .catalog-live-section__copy {
    max-width: none;
    order: -1;
  }

  .catalog-live-section__copy p {
    margin-inline: auto;
  }

  .catalog-live-section__actions {
    justify-content: center;
  }

  .catalog-live-section__book {
    width: min(290px, 74vw);
  }

  .contact-design-cta__panel {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .contact-design-cta__panel .btn-fargah {
    justify-self: stretch;
  }

  .faq-page__layout {
    grid-template-columns: 1fr;
  }

  .faq-page__nav {
    position: static;
    padding: 18px;
  }

  .faq-page__nav .btn-fargah {
    justify-self: stretch;
  }

  .faq-page__list .faq-item__question {
    padding: 16px;
  }

  .faq-page__list .faq-item__answer {
    padding: 0 16px 16px;
  }

  .fargah-journey__step {
    min-height: 142px;
    border-inline-end: 0;
    border-bottom: 1px solid var(--accent-stone);
  }

  .fargah-journey__step:last-child {
    border-bottom: 0;
  }

  .section-padding {
    padding-top: 72px;
    padding-bottom: 72px;
  }
}

.header-contact-cta {
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(200, 164, 93, 0.48);
  background:
    linear-gradient(135deg, rgba(221, 232, 198, 0.16), rgba(200, 164, 93, 0.22)),
    rgba(255, 255, 255, 0.04);
  color: var(--accent-gold-text);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.header-contact-cta:hover,
.header-contact-cta:focus-visible {
  color: #16130e;
  background: linear-gradient(135deg, var(--fargah-pistachio), var(--fargah-gold));
}

[data-theme="light"] .home-page--motion {
  color: var(--text-primary);
}

[data-theme="light"] .home-page--motion .section-title,
[data-theme="light"] .home-page--motion h1,
[data-theme="light"] .home-page--motion h2,
[data-theme="light"] .home-page--motion h3,
[data-theme="light"] .home-page--motion .testimonials-slider__text,
[data-theme="light"] .home-page--motion .testimonials-slider__name,
[data-theme="light"] .home-page--motion .trust-strip__title,
[data-theme="light"] .home-page--motion .fargah-journey__intro h2,
[data-theme="light"] .home-page--motion .fargah-journey__step strong {
  color: #1a1814 !important;
  text-shadow: none;
}

[data-theme="light"] .home-page--motion .studio-hero-combined .studio-hero__title,
[data-theme="light"] .home-page--motion .studio-hero-combined .studio-hero-combined__eyebrow,
[data-theme="light"] .home-page--motion .studio-hero-combined .studio-hero__ghost-link {
  color: #f8f5f0 !important;
  text-shadow: 0 18px 52px rgba(0, 0, 0, 0.72);
}

[data-theme="light"] .home-page--motion .studio-hero-combined .studio-hero__subtitle {
  color: rgba(248, 245, 240, 0.78) !important;
}

[data-theme="light"] .home-page--motion .section-subtitle,
[data-theme="light"] .home-page--motion .text-muted-custom,
[data-theme="light"] .home-page--motion p,
[data-theme="light"] .home-page--motion .testimonials-slider__role,
[data-theme="light"] .home-page--motion .trust-strip__desc,
[data-theme="light"] .home-page--motion .fargah-journey__intro p,
[data-theme="light"] .home-page--motion .fargah-journey__step small {
  color: rgba(26, 24, 20, 0.68) !important;
}

[data-theme="light"] .home-page--motion .card-premium,
[data-theme="light"] .home-page--motion .editorial-card,
[data-theme="light"] .home-page--motion .catalog-product-card,
[data-theme="light"] .home-page--motion .article-feed-card,
[data-theme="light"] .home-page--motion .ready-mini-card,
[data-theme="light"] .home-page--motion .testimonials-slider,
[data-theme="light"] .home-page--motion .tech-proof-card,
[data-theme="light"] .home-page--motion .trust-strip__panel.motion-panel {
  background: rgba(248, 245, 240, 0.78) !important;
  border-color: rgba(26, 24, 20, 0.13) !important;
  box-shadow: 0 18px 48px rgba(26, 24, 20, 0.1);
}

[data-theme="light"] .home-page--motion .final-cta-section .section-title,
[data-theme="light"] .home-page--motion .final-cta-section h2 {
  color: #f8f5f0 !important;
  text-shadow: 0 18px 52px rgba(0, 0, 0, 0.68);
}

[data-theme="light"] .home-page--motion .final-cta-section .section-subtitle,
[data-theme="light"] .home-page--motion .final-cta-section p {
  color: rgba(248, 245, 240, 0.76) !important;
}

[data-theme="light"] .home-page--motion .final-cta-section .btn-fargah--outline-light {
  color: #f8f5f0;
  border-color: rgba(248, 245, 240, 0.62);
  background: rgba(248, 245, 240, 0.04);
}

[data-theme="light"] .home-page--motion .final-cta-section .btn-fargah--outline-light:hover,
[data-theme="light"] .home-page--motion .final-cta-section .btn-fargah--outline-light:focus-visible {
  color: #1a1814;
  background: #f8f5f0;
}

[data-theme="light"] .home-page--motion .trust-strip__panel.motion-panel {
  background:
    linear-gradient(90deg, rgba(200, 164, 93, 0.13), rgba(26, 24, 20, 0.78) 48%, rgba(26, 24, 20, 0.9)) !important;
  border-color: rgba(200, 164, 93, 0.34) !important;
  box-shadow: 0 22px 68px rgba(26, 24, 20, 0.18);
}

[data-theme="light"] .home-page--motion .trust-strip__title {
  color: #f8f5f0 !important;
}

[data-theme="light"] .home-page--motion .trust-strip__desc {
  color: rgba(248, 245, 240, 0.68) !important;
}

.ai-support {
  position: fixed;
  z-index: 1090;
  left: 18px;
  right: auto;
  bottom: 22px;
  display: grid;
  gap: 12px;
  justify-items: start;
  max-width: min(380px, calc(100vw - 36px));
  pointer-events: none;
  direction: ltr;
}

.ai-support__toggle,
.ai-support__panel {
  pointer-events: auto;
}

.ai-support__panel {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
  width: min(360px, calc(100vw - 36px));
  height: min(72vh, 560px);
  border: 1px solid rgba(200, 164, 93, 0.3);
  border-radius: 12px;
  overflow: hidden;
  color: var(--fargah-ivory);
  background:
    radial-gradient(circle at 16% 0%, rgba(200, 164, 93, 0.16), transparent 34%),
    linear-gradient(145deg, rgba(13, 12, 9, 0.98), rgba(26, 24, 20, 0.95));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(221, 232, 198, 0.06) inset;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.ai-support__panel[hidden] {
  display: none !important;
}

[dir="rtl"] .ai-support__panel {
  direction: rtl;
}

[dir="ltr"] .ai-support__panel {
  direction: ltr;
}

.ai-support__panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(200, 164, 93, 0.16);
  background: rgba(6, 6, 4, 0.46);
}

.ai-support__panel-close {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(221, 232, 198, 0.12);
  border-radius: 50%;
  color: rgba(248, 245, 240, 0.78);
  background: rgba(255, 255, 255, 0.04);
  line-height: 1;
  font-size: 1.1rem;
}

.ai-support__agent {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-inline-start: auto;
}

.ai-support__agent strong {
  font-size: 0.92rem;
  font-weight: 600;
}

.ai-support__agent-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(200, 164, 93, 0.55);
  box-shadow: 0 0 18px rgba(200, 164, 93, 0.18);
}

.ai-support__thread {
  overflow-y: auto;
  padding: 14px 12px;
  display: grid;
  gap: 12px;
  align-content: start;
  background: rgba(6, 6, 4, 0.2);
}

.ai-support__msg {
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.ai-support__msg--user {
  flex-direction: row-reverse;
}

.ai-support__msg-avatar {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(200, 164, 93, 0.14);
  border: 1px solid rgba(200, 164, 93, 0.18);
}

.ai-support__msg-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ai-support__bubble {
  max-width: 82%;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.82rem;
  line-height: 1.75;
}

.ai-support__bubble p {
  margin: 0;
  white-space: pre-line;
}

.ai-support__bubble--bot {
  background: rgba(248, 245, 240, 0.08);
  color: rgba(248, 245, 240, 0.9);
  border: 1px solid rgba(221, 232, 198, 0.1);
  border-end-start-radius: 4px;
}

.ai-support__bubble--user {
  background: linear-gradient(135deg, var(--fargah-pistachio), var(--fargah-gold));
  color: #17140f;
  border-end-end-radius: 4px;
}

.ai-support__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 12px 0;
  background: transparent;
}

.ai-support__quick-btn {
  padding: 6px 10px;
  border: 1px solid rgba(200, 164, 93, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(248, 245, 240, 0.78);
  font-size: 0.72rem;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.ai-support__quick-btn:hover {
  border-color: rgba(200, 164, 93, 0.55);
  background: rgba(200, 164, 93, 0.12);
  color: var(--fargah-gold-bright);
}

.ai-support__composer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 10px 12px 12px;
  border-top: 1px solid rgba(200, 164, 93, 0.15);
  background: rgba(6, 6, 4, 0.4);
}

.ai-support__input {
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid rgba(221, 232, 198, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--fargah-ivory);
  font-size: 0.82rem;
}

.ai-support__input::placeholder {
  color: rgba(248, 245, 240, 0.42);
}

.ai-support__send {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(200, 164, 93, 0.26);
  border-radius: 10px;
  color: #17140f;
  background: linear-gradient(135deg, var(--fargah-pistachio), var(--fargah-gold));
}

.ai-support__channels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 0 12px 12px;
  background: rgba(6, 6, 4, 0.4);
}

.ai-support__channels[hidden] {
  display: none;
}

.ai-support__channel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(221, 232, 198, 0.11);
  border-radius: 10px;
  color: rgba(248, 245, 240, 0.78);
  background: rgba(255, 255, 255, 0.035);
  text-decoration: none;
  font-size: 0.76rem;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.ai-support__channel:hover {
  color: var(--fargah-gold-bright);
  border-color: rgba(200, 164, 93, 0.45);
  background: rgba(200, 164, 93, 0.1);
}

.ai-support__toggle {
  position: relative;
  width: 54px;
  height: 54px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(200, 164, 93, 0.64);
  border-radius: 50%;
  color: var(--fargah-ivory);
  background:
    radial-gradient(circle at 35% 28%, rgba(248, 245, 240, 0.22), transparent 26%),
    linear-gradient(145deg, #1a1814, #060604);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34), 0 0 28px rgba(200, 164, 93, 0.2);
  font-weight: 700;
  overflow: visible;
}

.ai-support__badge {
  position: absolute;
  z-index: 3;
  top: -7px;
  inset-inline-end: -5px;
  min-width: 23px;
  height: 23px;
  display: inline-grid;
  place-items: center;
  padding: 0 6px;
  border-radius: 999px;
  border: 1px solid rgba(248, 245, 240, 0.86);
  background: linear-gradient(135deg, #f8f5f0 0%, #e8c878 58%, #b98b31 100%);
  color: #17140f;
  font-size: 0.64rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.32);
  animation: ai-support-badge 1.9s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.ai-support.is-open .ai-support__toggle {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28), 0 0 0 6px rgba(200, 164, 93, 0.08);
}

.ai-support__pulse {
  position: absolute;
  inset: -12px;
  background: radial-gradient(circle at 28px 28px, rgba(200, 164, 93, 0.34), transparent 30%);
  opacity: 0.8;
  animation: ai-support-pulse 2.6s ease-in-out infinite;
}

.ai-support__icon {
  position: relative;
  width: 36px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(221, 232, 198, 0.14), rgba(200, 164, 93, 0.24));
  border: 1px solid rgba(200, 164, 93, 0.3);
  color: #fff;
  overflow: hidden;
}

.ai-support__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.ai-support__label {
  display: none;
}

@keyframes ai-support-pulse {
  0%, 100% { transform: scale(0.92); opacity: 0.56; }
  50% { transform: scale(1.08); opacity: 0.95; }
}

@keyframes ai-support-badge {
  0%, 100% { transform: translateY(0) scale(1); }
  42% { transform: translateY(-4px) scale(1.08); }
}

@media (max-width: 768px) {
  .header-contact-cta {
    min-height: 38px;
    padding-inline: 12px;
    font-size: 0.72rem;
  }

  .ai-support {
    left: 12px;
    right: auto;
    bottom: 14px;
    max-width: calc(100vw - 24px);
  }

  .ai-support__panel {
    width: calc(100vw - 24px);
    height: min(68vh, 520px);
  }

  .ai-support__toggle {
    width: 48px;
    height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fargah-loader__device,
  .fargah-loader__chrome,
  .fargah-loader__progress,
  .fargah-loader__logo,
  .fargah-loader__bg,
  .ai-support__pulse {
    animation: none;
  }

  .fargah-loader__bg {
    display: none;
  }

  .fargah-loader__logo,
  .fargah-loader__progress,
  .fargah-loader__chrome {
    opacity: 1;
    transform: none;
  }
}
