/* ملکسا — معرفی محصول با چیدمان ادیتوریال و بنتو */

@font-face {
  font-family: "Vazirmatn";
  src: url("../assets/fonts/Vazirmatn-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../assets/fonts/Vazirmatn-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../assets/fonts/Vazirmatn-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("../assets/fonts/Vazirmatn-Bold.ttf") format("truetype");
  font-weight: 700 800;
  font-display: swap;
}

:root {
  --ink: #0b1220;
  --ink-2: #121a2b;
  --ink-soft: #475569;
  --gold: #fdca00;
  --gold-deep: #c9a000;
  --teal: #0d9488;
  --teal-mist: #ccfbf1;
  --paper: #f4f6f8;
  --line: rgba(11, 18, 32, 0.09);
  --shadow: 0 18px 50px rgba(11, 18, 32, 0.14);
  --radius: 1.25rem;
}

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }

body {
  font-family: "Vazirmatn", Tahoma, ui-sans-serif, system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -3rem;
  z-index: 100;
  background: var(--gold);
  color: var(--ink);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 700;
}
.skip-link:focus { top: 1rem; }

/* Header */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  transition: background 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 28px rgba(11, 18, 32, 0.06);
}
.site-header .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  text-decoration: none;
}
.site-header.is-scrolled .navbar-brand { color: var(--ink); }
.brand-mark {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.85rem;
  background: var(--ink);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.site-header:not(.is-scrolled) .brand-mark {
  background: rgba(255, 255, 255, 0.1);
  color: var(--gold);
}
.brand-en {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.1;
}
.brand-fa {
  display: block;
  font-size: 0.72rem;
  opacity: 0.65;
}
.site-header .nav-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  padding: 0.4rem 0.7rem;
}
.site-header.is-scrolled .nav-link { color: var(--ink-soft); }
.site-header .nav-link:hover,
.site-header .nav-link:focus { color: var(--gold); }
.site-header.is-scrolled .nav-link:hover { color: var(--teal); }
.btn-brand {
  --bs-btn-bg: var(--gold);
  --bs-btn-border-color: var(--gold);
  --bs-btn-color: var(--ink);
  --bs-btn-hover-bg: #ffd84d;
  --bs-btn-hover-border-color: #ffd84d;
  --bs-btn-hover-color: var(--ink);
  --bs-btn-font-weight: 700;
  border-radius: 999px;
  padding-inline: 1.15rem;
}
.btn-quiet {
  --bs-btn-color: #fff;
  --bs-btn-border-color: rgba(255, 255, 255, 0.22);
  --bs-btn-hover-bg: rgba(255, 255, 255, 0.08);
  --bs-btn-hover-border-color: rgba(255, 255, 255, 0.35);
  --bs-btn-hover-color: #fff;
  border-radius: 999px;
  font-weight: 700;
}
.nav-toggle {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0.85rem;
  background: transparent;
  display: grid;
  place-items: center;
  gap: 0.3rem;
}
.site-header.is-scrolled .nav-toggle { border-color: var(--line); }
.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: #fff;
}
.site-header.is-scrolled .nav-toggle span { background: var(--ink); }
@media (max-width: 991.98px) {
  #primary-nav {
    background: rgba(11, 18, 32, 0.96);
    border-radius: 1rem;
    margin-top: 0.75rem;
    padding: 0.75rem;
  }
  .site-header.is-scrolled #primary-nav {
    background: #fff;
    border: 1px solid var(--line);
  }
}

/* Hero جدید — صحنه شیشه‌ای مرکزی و نور نرم */
.hero-neo {
  position: relative;
  background: radial-gradient(circle at 50% -10%, #162447 0%, #09101f 55%, #050811 100%);
  color: #fff;
  overflow: hidden;
  padding-top: 6.5rem;
  padding-bottom: 4rem;
}
.neo-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.neo-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(95px);
}
.neo-g1 {
  width: 30rem;
  height: 30rem;
  top: -8rem;
  inset-inline-start: 10%;
  background: rgba(13, 148, 136, 0.28);
}
.neo-g2 {
  width: 26rem;
  height: 26rem;
  bottom: -10rem;
  inset-inline-end: 8%;
  background: rgba(253, 202, 0, 0.2);
}
.neo-arc {
  position: absolute;
  left: 50%;
  top: -32rem;
  width: 72rem;
  height: 72rem;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 120px rgba(45, 212, 191, 0.06);
}
.neo-layout {
  display: grid;
  gap: 2.25rem;
  align-items: center;
}
@media (min-width: 992px) {
  .neo-layout {
    grid-template-columns: 0.92fr 1.08fr;
    gap: 3rem;
  }
}
.neo-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #5eead4;
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.28);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  margin-bottom: 1.1rem;
}
.neo-copy h1 {
  font-size: clamp(1.55rem, 2.7vw, 2.3rem);
  font-weight: 800;
  line-height: 1.38;
  letter-spacing: -0.02em;
  max-width: 19ch;
  margin-bottom: 0.95rem;
}
.neo-copy h1 span {
  background: linear-gradient(120deg, #ffe58a 0%, #fdca00 48%, #5eead4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.neo-lead {
  font-size: 0.94rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.72);
  max-width: 33rem;
  margin-bottom: 1.5rem;
}
.neo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}
.neo-glass-dock {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.38rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}
.neo-glass-dock span {
  border-radius: 999px;
  padding: 0.32rem 0.78rem;
  font-size: 0.74rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.06);
}
.neo-glass-canvas {
  border-radius: 1.6rem;
  padding: 0.85rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(22px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 28px 65px rgba(0, 0, 0, 0.42);
}
.neo-devices {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10.2;
}
.neo-desktop {
  position: absolute;
  inset-inline-end: 0;
  top: 0;
  margin: 0;
  width: 93%;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.38);
}
.neo-desktop img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9.5;
  object-fit: cover;
  object-position: top right;
}
.neo-mobile {
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  margin: 0;
  width: 22.5%;
  border-radius: 1rem;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.28);
  background: #05080f;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.55);
  z-index: 2;
}
.neo-mobile img { display: block; width: 100%; height: auto; }
.neo-caption-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.4rem 0.15rem;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.62);
}
.neo-live {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}
.neo-live .dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #2dd4bf;
  box-shadow: 0 0 10px #2dd4bf;
}
@media (max-width: 991.98px) {
  .hero-neo { padding-top: 5.75rem; padding-bottom: 3rem; }
  .neo-glass-dock { border-radius: 1rem; }
  .neo-glass-canvas { padding: 0.55rem; border-radius: 1.25rem; }
  .neo-mobile { width: 24%; border-radius: 0.8rem; }
}

/* Sections */
.section { padding: 4.5rem 0; }
.section-paper { background: var(--paper); }
.section-ink { background: var(--ink); color: #fff; }
.eyebrow {
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}
.section-ink .eyebrow { color: var(--gold); }
.section-title {
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}
.section-lead {
  font-size: 0.93rem;
  line-height: 1.9;
  color: var(--ink-soft);
  max-width: 38rem;
}
.section-ink .section-lead { color: rgba(255, 255, 255, 0.7); }

/* نقشه هوشمند — کاکپیت شیشه‌ای پرواز */
.map-showcase {
  background:
    radial-gradient(ellipse 65% 45% at 15% 15%, rgba(13, 148, 136, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 45% at 85% 90%, rgba(253, 202, 0, 0.1), transparent 55%),
    #f1f5f9;
}
.map-cockpit {
  display: grid;
  gap: 1rem;
  border-radius: 1.75rem;
  padding: 0.95rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(11, 18, 32, 0.08);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(11, 18, 32, 0.12);
}
@media (min-width: 992px) {
  .map-cockpit {
    grid-template-columns: 18.5rem 1fr;
    gap: 1rem;
    padding: 1rem;
  }
}
.map-rail {
  border-radius: 1.25rem;
  background: linear-gradient(160deg, #0b1220 0%, #111c33 100%);
  color: #fff;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.9rem;
}
.map-rail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.rail-badge {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--gold);
}
.rail-step-count {
  font-size: 0.74rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.65);
  font-variant-numeric: tabular-nums;
}
.map-stops {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.48rem;
}
.map-stops li {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.map-stops li.is-done {
  background: rgba(45, 212, 191, 0.08);
}
.map-stops li.is-active {
  background: rgba(253, 202, 0, 0.14);
  border-color: rgba(253, 202, 0, 0.42);
  transform: translateX(-2px);
}
.stop-num {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 0.55rem;
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
}
.map-stops li.is-done .stop-num {
  background: rgba(45, 212, 191, 0.22);
  color: #5eead4;
}
.map-stops li.is-active .stop-num {
  background: var(--gold);
  color: var(--ink);
}
.map-stops strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
}
.map-stops small {
  display: block;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
}
.map-rail-foot {
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.rail-progress {
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  margin-bottom: 0.5rem;
}
.rail-progress span {
  display: block;
  height: 100%;
  width: 20%;
  background: linear-gradient(to left, var(--gold), #2dd4bf);
  transition: width 0.55s ease;
}
.map-rail-foot small {
  display: block;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.75);
}

.smart-map-stage {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(11, 18, 32, 0.1);
  background: #e2e8f0;
  min-height: 26rem;
}
.smart-map-canvas {
  width: 100%;
  height: 26rem;
  pointer-events: none;
}
@media (min-width: 992px) {
  .smart-map-canvas { height: 32rem; }
}
.smart-map-canvas .leaflet-tile-pane {
  filter: saturate(0.88) contrast(1.03);
}
.leaflet-container {
  font-family: "Vazirmatn", Tahoma, sans-serif;
  z-index: 1;
}
.melksa-pin {
  background: transparent !important;
  border: 0 !important;
}
.melksa-pin-inner {
  width: 28px;
  height: 28px;
  border-radius: 50% 50% 50% 0;
  background: var(--gold);
  border: 2px solid #fff;
  transform: rotate(-45deg);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
  transition: transform 0.35s ease, background 0.35s ease;
}
.melksa-pin.is-active .melksa-pin-inner {
  background: var(--teal);
  transform: rotate(-45deg) scale(1.28);
  box-shadow: 0 0 0 8px rgba(13, 148, 136, 0.24), 0 8px 18px rgba(0, 0, 0, 0.32);
}

.map-hud-top {
  position: absolute;
  top: 0.85rem;
  inset-inline: 0.85rem;
  z-index: 500;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  pointer-events: none;
}
.hud-chip,
.hud-coords {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  padding: 0.36rem 0.8rem;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(11, 18, 32, 0.78);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
}
.hud-coords {
  direction: ltr;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.82);
}

.map-info-card {
  position: absolute;
  bottom: 0.9rem;
  inset-inline-start: 0.9rem;
  z-index: 500;
  width: min(18rem, calc(100% - 1.8rem));
  border-radius: 1.15rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 42px rgba(11, 18, 32, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.85);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.map-info-card.is-swap {
  opacity: 0.68;
  transform: translateY(6px);
}
.map-card-cover {
  position: relative;
}
.map-card-cover img {
  display: block;
  width: 100%;
  height: 7.75rem;
  object-fit: cover;
}
.map-deal-pill {
  position: absolute;
  top: 0.6rem;
  inset-inline-start: 0.6rem;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  padding: 0.16rem 0.6rem;
  font-size: 0.68rem;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.map-info-body { padding: 0.85rem 0.95rem; }
.map-hood-text {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--teal);
}
.map-info-body h3 {
  font-size: 0.95rem;
  font-weight: 800;
  margin: 0.25rem 0 0.15rem;
}
.map-meta-text {
  margin: 0;
  font-size: 0.76rem;
  color: var(--ink-soft);
}
.map-price-row {
  margin-top: 0.55rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(11, 18, 32, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.map-price-text {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--ink);
}
.map-card-tag {
  font-size: 0.66rem;
  font-weight: 800;
  color: var(--teal);
  background: var(--teal-mist);
  padding: 0.14rem 0.5rem;
  border-radius: 999px;
}
.tour-dot {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(253, 202, 0, 0.6);
  animation: tour-pulse 1.8s infinite;
}
@keyframes tour-pulse {
  70% { box-shadow: 0 0 0 10px rgba(253, 202, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(253, 202, 0, 0); }
}
@media (max-width: 991.98px) {
  .map-stops { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
  .map-stops { grid-template-columns: 1fr; }
  .hud-coords { display: none; }
}

/* ۱. ویترین و تجربه مشتری — بنتوی مدرن تیره + گلس */
.showcase-cx {
  position: relative;
  background:
    radial-gradient(ellipse 60% 45% at 90% 15%, rgba(13, 148, 136, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 85%, rgba(253, 202, 0, 0.12), transparent 55%),
    linear-gradient(180deg, #0b1220 0%, #10192b 100%);
  color: #fff;
}
.showcase-cx .eyebrow { color: var(--gold); }
.showcase-cx .section-lead { color: rgba(255, 255, 255, 0.68); }
.cx-head {
  display: grid;
  gap: 1rem;
  align-items: end;
}
@media (min-width: 992px) {
  .cx-head {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
  }
}
.cx-bento {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .cx-bento { grid-template-columns: repeat(2, 1fr); }
  .cx-compare { grid-column: span 2; }
}
@media (min-width: 992px) {
  .cx-bento { grid-template-columns: repeat(12, 1fr); }
  .cx-ai      { grid-column: span 5; }
  .cx-tour    { grid-column: span 7; }
  .cx-filter  { grid-column: span 4; }
  .cx-compare { grid-column: span 8; }
}
.cx-card {
  position: relative;
  border-radius: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.cx-card:hover {
  transform: translateY(-3px);
  border-color: rgba(253, 202, 0, 0.35);
  background: rgba(255, 255, 255, 0.06);
}
.cx-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}
.cx-pill {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.9);
  padding: 0.25rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 800;
}
.cx-pill-gold { background: rgba(253, 202, 0, 0.16); color: var(--gold); }
.cx-pill-teal { background: rgba(45, 212, 191, 0.16); color: #5eead4; }
.cx-en {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.42);
}
.cx-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.45rem;
}
.cx-card p {
  font-size: 0.86rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.68);
  margin: 0;
}

.cx-geo {
  background:
    radial-gradient(circle at 18% 80%, rgba(253, 202, 0, 0.14), transparent 50%),
    rgba(255, 255, 255, 0.045);
}
.cx-radar {
  position: relative;
  height: 7.5rem;
  margin-top: 1.15rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px) 0 0 / 24px 24px,
    rgba(7, 11, 20, 0.65);
  overflow: hidden;
}
.cx-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9rem;
  height: 9rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px dashed rgba(253, 202, 0, 0.28);
}
.cx-node {
  position: absolute;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0.28rem 0.68rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
}
.cx-node.is-gold {
  background: var(--gold);
  color: var(--ink);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(253, 202, 0, 0.25);
}
.cx-n1 { top: 20%; inset-inline-start: 14%; }
.cx-n2 { top: 44%; left: 50%; transform: translateX(-50%); }
.cx-n3 { bottom: 18%; inset-inline-end: 14%; }

.cx-chat {
  margin-top: 1.15rem;
  display: grid;
  gap: 0.5rem;
}
.cx-msg {
  border-radius: 0.9rem;
  padding: 0.55rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  max-width: 92%;
}
.cx-msg.is-u {
  justify-self: start;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
}
.cx-msg.is-b {
  justify-self: end;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.35), rgba(45, 212, 191, 0.18));
  border: 1px solid rgba(45, 212, 191, 0.35);
  color: #ccfbf1;
}

.cx-orbit {
  position: relative;
  margin-top: 1rem;
  border-radius: 0.95rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.cx-orbit iframe {
  display: block;
  width: 100%;
  height: 16rem;
  border: 0;
  background: #000;
}
.cx-tour:hover { transform: none; }
.orbit-badge {
  position: absolute;
  bottom: 0.55rem;
  inset-inline-start: 0.6rem;
  border-radius: 999px;
  background: rgba(11, 18, 32, 0.82);
  border: 1px solid rgba(45, 212, 191, 0.4);
  color: #5eead4;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.55rem;
}

.cx-chips {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.cx-chips span {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  padding: 0.3rem 0.72rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
}
.cx-chips span.is-on {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.cx-compare-grid {
  display: grid;
  gap: 1rem;
  height: 100%;
  align-content: space-between;
}
.cx-duo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}
.cx-mini-prop {
  border-radius: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  padding: 0.75rem 0.85rem;
}
.cx-mini-prop strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
}
.cx-mini-prop span {
  display: block;
  font-size: 0.73rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0.2rem 0 0.45rem;
}
.cx-mini-prop i {
  display: inline-block;
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--gold);
  background: rgba(253, 202, 0, 0.14);
  border-radius: 999px;
  padding: 0.12rem 0.5rem;
}
.cx-mini-prop.is-alt i {
  color: #5eead4;
  background: rgba(45, 212, 191, 0.14);
}

/* ۲. پنل مدیریت آژانس — کنسول + بنتو */
.admin-intro-bar {
  display: grid;
  gap: 1rem;
  align-items: end;
}
@media (min-width: 992px) {
  .admin-intro-bar {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}
.admin-console {
  display: grid;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}
@media (min-width: 992px) {
  .admin-console { grid-template-columns: 14.5rem 1fr; }
}
.console-rail {
  background: var(--ink);
  color: #fff;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.rail-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 800;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.rail-brand i {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 0.2rem;
  background: var(--gold);
  display: block;
}
.rail-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
@media (min-width: 992px) {
  .rail-nav { flex-direction: column; }
}
.rail-nav span {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  padding: 0.42rem 0.65rem;
  border-radius: 0.6rem;
}
.rail-nav span.is-active {
  background: rgba(253, 202, 0, 0.14);
  color: var(--gold);
  font-weight: 700;
}
.console-stage {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.console-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.console-head strong { display: block; font-size: 0.98rem; font-weight: 800; }
.console-head small { font-size: 0.78rem; color: var(--ink-soft); }
.console-pills {
  display: flex;
  gap: 0.4rem;
}
.console-pills span {
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  background: var(--paper);
  border: 1px solid var(--line);
}
.console-media {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--line);
}
.console-media img {
  display: block;
  width: 100%;
  height: 17rem;
  object-fit: cover;
}
@media (min-width: 992px) {
  .console-media img { height: 21rem; }
}
.console-float {
  position: absolute;
  inset-inline: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 0.9rem;
  background: rgba(11, 18, 32, 0.82);
  backdrop-filter: blur(12px);
  color: #fff;
}
.console-float strong { display: block; font-size: 0.86rem; }
.console-float small { font-size: 0.74rem; color: rgba(255, 255, 255, 0.72); }
.console-float span {
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.7rem;
  white-space: nowrap;
}

/* بنتوگرید عملیات روزانه دفتر */
.ops-bento {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .ops-bento { grid-template-columns: repeat(2, 1fr); }
  .ops-match, .ops-wide { grid-column: span 2; }
}
@media (min-width: 992px) {
  .ops-bento { grid-template-columns: repeat(12, 1fr); }
  .ops-match { grid-column: span 7; }
  .ops-dark  { grid-column: span 5; }
  .ops-paper { grid-column: span 4; }
  .ops-teal  { grid-column: span 4; }
  .ops-wide  { grid-column: span 4; }
}
@media (min-width: 1200px) {
  .ops-match { grid-column: span 7; }
  .ops-dark  { grid-column: span 5; }
  .ops-paper { grid-column: span 4; }
  .ops-teal  { grid-column: span 3; }
  .ops-wide  { grid-column: span 5; }
}
.ops-card {
  position: relative;
  border-radius: 1.35rem;
  border: 1px solid var(--line);
  background: #fff;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ops-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(11, 18, 32, 0.08);
}
.ops-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.ops-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--teal-mist);
  color: var(--teal);
  padding: 0.25rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 800;
}
.ops-badge-gold { background: rgba(253, 202, 0, 0.16); color: var(--gold); }
.ops-badge-light { background: rgba(255, 255, 255, 0.18); color: #fff; }
.ops-num { font-size: 0.85rem; font-weight: 800; opacity: 0.35; }
.ops-card h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 0.5rem; }
.ops-card p { font-size: 0.87rem; line-height: 1.85; color: var(--ink-soft); margin: 0; }
.ops-match {
  background:
    radial-gradient(circle at 12% 18%, rgba(253, 202, 0, 0.14), transparent 45%),
    linear-gradient(145deg, #fff 0%, #f8fafc 100%);
}
.match-track {
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid var(--line);
}
.match-node strong { display: block; font-size: 0.82rem; font-weight: 800; }
.match-node small { font-size: 0.74rem; color: var(--ink-soft); }
.match-score {
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold);
  text-align: center;
  line-height: 1.1;
  box-shadow: 0 8px 20px rgba(11, 18, 32, 0.16);
}
.match-score span { font-size: 0.9rem; font-weight: 800; }
.match-score small { font-size: 0.6rem; opacity: 0.75; }
.ops-dark {
  background: linear-gradient(155deg, var(--ink) 0%, #152138 100%);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.08);
}
.ops-dark p { color: rgba(255, 255, 255, 0.72); }
.mini-steps {
  list-style: none;
  padding: 0;
  margin: 1.15rem 0 0;
  display: grid;
  gap: 0.5rem;
}
.mini-steps li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8rem;
  padding: 0.45rem 0.7rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.88);
}
.mini-steps i {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  flex: none;
}
.mini-steps i.is-done { background: #2dd4bf; }
.mini-steps i.is-now  { background: var(--gold); }
.ops-paper { background: #fff; }
.ops-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.1rem; }
.ops-tags span {
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ink-soft);
}
.ops-teal {
  background: linear-gradient(150deg, #0d9488 0%, #0f766e 100%);
  color: #fff;
  border-color: transparent;
}
.ops-teal p { color: rgba(255, 255, 255, 0.84); }
.ops-wide-grid { display: grid; gap: 1rem; height: 100%; align-content: space-between; }
.ops-bars { display: grid; gap: 0.6rem; padding-top: 0.25rem; }
.ops-bars div { display: grid; gap: 0.3rem; }
.ops-bars span { font-size: 0.75rem; font-weight: 700; color: var(--ink-soft); }
.ops-bars i {
  display: block;
  height: 0.42rem;
  border-radius: 999px;
  background: linear-gradient(to left, var(--gold), var(--teal));
  font-style: normal;
}

/* ۳. کلاژ مجله‌ای نمای محصول */
.mosaic-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 992px) {
  .mosaic-grid {
    grid-template-columns: 1.05fr 0.95fr;
    grid-template-rows: repeat(2, 16.5rem);
  }
  .mosaic-tall { grid-row: span 2; }
}
.mosaic-card {
  position: relative;
  margin: 0;
  border-radius: 1.35rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink);
  min-height: 15rem;
}
.mosaic-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.mosaic-card:hover img { transform: scale(1.04); }
.mosaic-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.05) 20%, rgba(11, 18, 32, 0.88) 100%);
}
.mosaic-cap {
  position: absolute;
  inset-inline: 1.25rem;
  bottom: 1.15rem;
  z-index: 2;
  color: #fff;
}
.cap-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 0.35rem;
}
.mosaic-cap h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}
.mosaic-cap p {
  margin: 0;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

/* ۴. بیانیه نهایی + فرم */
.final-band {
  background:
    radial-gradient(circle at 85% 20%, rgba(253, 202, 0, 0.12), transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(13, 148, 136, 0.16), transparent 45%),
    var(--ink);
}
.final-shell {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 992px) {
  .final-shell {
    max-width: 42rem;
  }
}
.stat-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 1.75rem 0;
  padding: 1rem 0;
  border-block: 1px solid rgba(255, 255, 255, 0.12);
}
.stat-band strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--gold);
}
.stat-band span {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.7);
}
.final-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}
.final-contacts a {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  border-bottom: 1px dashed rgba(253, 202, 0, 0.45);
  padding-bottom: 0.15rem;
}
.final-contacts a:hover { color: var(--gold); }

.cta-panel {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.5rem;
  padding: 1.6rem;
  backdrop-filter: blur(12px);
}
.cta-panel-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.cta-panel-head strong { font-size: 1rem; font-weight: 800; }
.cta-panel-head small { font-size: 0.78rem; color: var(--gold); }
.cta-panel .form-control {
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #fff;
  color: var(--ink);
  padding: 0.7rem 0.9rem;
}
.cta-panel label { font-size: 0.84rem; font-weight: 600; margin-bottom: 0.35rem; }
.field-error { min-height: 1rem; font-size: 0.75rem; color: #fca5a5; }
.form-status {
  display: none;
  border-radius: 0.85rem;
  padding: 0.75rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 600;
}
.form-status.is-ok { display: block; background: rgba(45, 212, 191, 0.15); color: #99f6e4; }
.form-status.is-err { display: block; background: rgba(248, 113, 113, 0.15); color: #fecaca; }
.hp {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  pointer-events: none !important;
}

.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 3rem 0 1.5rem;
  font-size: 0.9rem;
}
.site-footer a { color: var(--ink-soft); text-decoration: none; font-weight: 600; }
.site-footer a:hover { color: var(--teal); }
.footer-copy {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.reveal {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }

.scroll-progress {
  position: fixed;
  inset-inline: 0;
  top: 0;
  height: 3px;
  z-index: 60;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(to left, var(--gold), var(--teal));
}
