/*!
 * ==============================================================
 * ELAHE EKBATANI® Enterprise Platform
 * Module    : MultiYou
 * File      : multiyou.css
 * Author    : Elahe Ekbatani
 * Copyright : © 2026 Elahe Ekbatani. All Rights Reserved.
 * ==============================================================
 */

.anx-final,
.anx-final * {
  box-sizing: border-box;
}

.anx-final {
  --anx-cream: #f8f1e8;
  --anx-cream-light: #fffaf4;
  --anx-cream-dark: #eadbca;
  --anx-charcoal: #181715;
  --anx-charcoal-soft: #292622;
  --anx-charcoal-warm: #342a24;
  --anx-brown: #5c3c2b;
  --anx-brown-dark: #36251e;
  --anx-copper: #a45f42;
  --anx-terracotta: #b86a4d;
  --anx-gold: #c89b5d;
  --anx-gold-light: #efd29b;
  --anx-gold-soft: #d9b477;
  --anx-text: #302a25;
  --anx-muted: #74675d;

  position: relative;
  width: 100%;
  overflow: hidden;
  isolation: isolate;
  direction: ltr;
  padding: clamp(34px, 5vw, 70px) 16px;
  color: var(--anx-text);
  background:
    radial-gradient(circle at 8% 12%, rgba(200, 155, 93, 0.13), transparent 28%),
    radial-gradient(circle at 90% 88%, rgba(164, 95, 66, 0.09), transparent 30%),
    linear-gradient(135deg, #fffaf4 0%, #f7eee5 48%, #ecdece 100%);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

/* بافت کلی */
.anx-final::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(91, 59, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 59, 42, 0.04) 1px, transparent 1px);
  background-size: 34px 34px;
}

/* رگه‌های طلایی */
.anx-final::after {
  content: "";
  position: absolute;
  inset: -35%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.22;
  background: linear-gradient(
    118deg,
    transparent 0 14%,
    rgba(207, 158, 92, 0.38) 14.1%,
    transparent 14.35% 47%,
    rgba(152, 88, 54, 0.22) 47.1%,
    transparent 47.35% 78%,
    rgba(231, 190, 123, 0.3) 78.1%,
    transparent 78.35%
  );
  animation: anxFinalVeins 15s ease-in-out infinite alternate;
}

.anx-final__container {
  position: relative;
  z-index: 2;
  width: min(100%, 1280px);
  margin-inline: auto;
}

.anx-final__panel {
  overflow: hidden;
  background: #fffaf4;
  border: 1px solid rgba(132, 87, 55, 0.16);
  border-radius: 24px;
  box-shadow:
    0 25px 65px rgba(74, 48, 33, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* =========================================================
   بخش ۱ (بالایی): MULTIYOU ACADEMY
========================================================= */

.anx-multiyou {
  position: relative;
  min-height: 375px;
  display: grid;
  grid-template-columns:
    minmax(240px, 0.9fr)
    minmax(250px, 1fr)
    minmax(330px, 1.5fr);
  gap: clamp(15px, 2.5vw, 32px);
  align-items: center;
  padding: clamp(34px, 4vw, 58px) clamp(22px, 4vw, 56px);
  overflow: hidden;
  background:
    radial-gradient(circle at 38% 52%, rgba(205, 154, 88, 0.18), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(183, 102, 67, 0.14), transparent 26%),
    linear-gradient(125deg, #49382e 0%, #302722 31%, #211d1a 67%, #151514 100%);
  border-bottom: 1px solid rgba(239, 210, 155, 0.25);
}

/* بافت تیره */
.anx-multiyou::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(239, 210, 155, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(239, 210, 155, 0.025) 1px, transparent 1px);
  background-size: 29px 29px;
  -webkit-mask-image: radial-gradient(circle at center, #000 25%, transparent 95%);
  mask-image: radial-gradient(circle at center, #000 25%, transparent 95%);
}

.anx-multiyou__copy {
  position: relative;
  z-index: 3;
}

.anx-multiyou__label {
  margin: 0 0 12px;
  color: var(--anx-gold-light);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.anx-multiyou__title {
  max-width: 13ch;
  margin: 0;
  color: #fff7eb;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.2vw, 3.4rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
}

.anx-multiyou__title span {
  display: block;
  color: transparent;
  background: linear-gradient(105deg, #d5a96b 0%, #f0d59e 31%, #b9684a 57%, #e7be7c 80%, #f5dfb3 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: anxFinalGoldText 7s linear infinite;
}

.anx-multiyou__description {
  max-width: 34ch;
  margin: 18px 0 0;
  color: #d3c4b6;
  font-size: clamp(0.82rem, 0.95vw, 0.95rem);
  line-height: 1.72;
}

/* دکمه‌ها */
.anx-multiyou__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 23px;
}

.anx-button {
  position: relative;
  min-height: 43px;
  padding: 11px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 9px;
  font-size: 0.82rem;
  font-weight: 750;
  text-decoration: none !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.anx-button:hover {
  transform: translateY(-3px);
}

.anx-button--primary {
  color: #fffaf2 !important;
  background: linear-gradient(135deg, #5a3829 0%, #8c5339 42%, #bd7248 72%, #d7a05d 100%);
  border: 1px solid rgba(255, 226, 181, 0.38);
  box-shadow: 0 9px 22px rgba(0, 0, 0, 0.25), 0 0 14px rgba(199, 142, 82, 0.1);
}

.anx-button--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.24), transparent);
  transform: translateX(-110%);
  transition: transform 0.55s ease;
}

.anx-button--primary:hover::after {
  transform: translateX(110%);
}

.anx-button--secondary {
  color: #f1d8ad !important;
  background: rgba(255, 248, 237, 0.06);
  border: 1px solid rgba(239, 210, 155, 0.31);
  box-shadow: 0 7px 17px rgba(0, 0, 0, 0.15);
}

.anx-button--secondary:hover {
  color: #fff8ec !important;
  background: rgba(255, 248, 237, 0.11);
  border-color: rgba(239, 210, 155, 0.57);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.23), 0 0 14px rgba(213, 167, 101, 0.12);
}

/* تصویر مغز */
.anx-multiyou__brain {
  position: relative;
  z-index: 2;
  height: clamp(260px, 30vw, 370px);
  display: grid;
  place-items: center;
  overflow: visible;
  margin: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.anx-multiyou__brain::before {
  content: "";
  position: absolute;
  width: 90%;
  height: 90%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(228, 179, 108, 0.22) 0%, rgba(200, 155, 93, 0.05) 50%, transparent 70%);
  animation: anxFinalBrainAura 3.2s ease-in-out infinite;
  pointer-events: none;
}

.anx-multiyou__brain img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.22));
  transition: transform 0.7s cubic-bezier(.2, .8, .2, 1), filter 0.7s ease;
}

.anx-multiyou__brain:hover img {
  transform: scale(1.035);
  filter: drop-shadow(0 18px 32px rgba(228, 179, 108, 0.3));
}

/* کارت‌های خدمات */
.anx-services {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.anx-service {
  position: relative;
  min-height: 132px;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  padding: 18px;
  overflow: hidden;
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* کارت‌های روشن */
.anx-service:nth-child(1),
.anx-service:nth-child(4) {
  background: linear-gradient(145deg, rgba(255, 250, 242, 0.97), rgba(225, 207, 187, 0.94));
  border: 1px solid rgba(143, 89, 55, 0.19);
  box-shadow: 0 13px 30px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

/* کارت‌های تیره */
.anx-service:nth-child(2),
.anx-service:nth-child(3) {
  background: linear-gradient(145deg, rgba(92, 68, 54, 0.97), rgba(39, 32, 28, 0.98));
  border: 1px solid rgba(220, 179, 115, 0.23);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.31), inset 0 1px 0 rgba(255, 242, 218, 0.07);
}

/* خط نورانی */
.anx-service::before {
  content: "";
  position: absolute;
  top: 0;
  left: -55%;
  width: 45%;
  height: 2px;
  opacity: 0;
  background: linear-gradient(90deg, transparent, #fff0c8, var(--anx-gold), transparent);
  box-shadow: 0 0 12px rgba(224, 177, 107, 0.68);
}

/* نور داخلی */
.anx-service::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at 20% 25%, rgba(255, 242, 207, 0.4), transparent 43%);
  transition: opacity 0.3s ease;
}

.anx-service:hover {
  transform: translateY(-6px) scale(1.012);
  border-color: rgba(220, 179, 115, 0.46);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.34), 0 0 19px rgba(200, 155, 93, 0.13);
}

.anx-service:hover::before {
  opacity: 1;
  animation: anxFinalCardLight 1.2s ease forwards;
}

.anx-service:hover::after {
  opacity: 1;
}

/* آیکن کارت */
.anx-service__icon {
  position: relative;
  z-index: 2;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  transition: transform 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}

.anx-service:nth-child(1) .anx-service__icon,
.anx-service:nth-child(4) .anx-service__icon {
  color: var(--anx-copper);
  background: linear-gradient(145deg, rgba(255, 251, 245, 0.9), rgba(235, 215, 193, 0.76));
  border: 1px solid rgba(164, 95, 66, 0.21);
}

.anx-service:nth-child(2) .anx-service__icon,
.anx-service:nth-child(3) .anx-service__icon {
  color: var(--anx-gold-light);
  background: rgba(255, 245, 230, 0.07);
  border: 1px solid rgba(229, 188, 123, 0.23);
}

.anx-service:hover .anx-service__icon {
  color: var(--anx-gold);
  transform: rotate(-4deg) scale(1.08);
  box-shadow: 0 10px 19px rgba(0, 0, 0, 0.18);
}

.anx-service__icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.anx-service__body {
  position: relative;
  z-index: 2;
}

.anx-service__title {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 1.15vw, 1.18rem);
  font-weight: 650;
  line-height: 1.15;
}

.anx-service__text {
  margin: 7px 0 0;
  font-size: 0.74rem;
  line-height: 1.5;
}

.anx-service:nth-child(1) .anx-service__title,
.anx-service:nth-child(4) .anx-service__title {
  color: #211c18;
}

.anx-service:nth-child(1) .anx-service__text,
.anx-service:nth-child(4) .anx-service__text {
  color: #66584e;
}

.anx-service:nth-child(2) .anx-service__title,
.anx-service:nth-child(3) .anx-service__title {
  color: #fff3df;
}

.anx-service:nth-child(2) .anx-service__text,
.anx-service:nth-child(3) .anx-service__text {
  color: #d4c2b1;
}

/* =========================================================
   بخش ۲ (پایینی): شبکه جهانی (نقشه)
========================================================= */

.anx-network {
  position: relative;
  min-height: 300px;
  display: grid;
  grid-template-columns: minmax(250px, 0.75fr) minmax(0, 2fr);
  gap: clamp(25px, 4vw, 58px);
  align-items: center;
  padding: clamp(30px, 4vw, 52px) clamp(22px, 4vw, 56px);
  background:
    radial-gradient(circle at 82% 48%, rgba(228, 183, 113, 0.15), transparent 31%),
    linear-gradient(135deg, #fffaf4 0%, #f5e9dc 100%);
}

.anx-network__content {
  position: relative;
  z-index: 3;
}

.anx-network__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  color: var(--anx-copper);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.anx-network__eyebrow::before {
  content: "";
  width: 27px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--anx-gold));
}

.anx-network__title {
  margin: 0 0 20px;
  color: var(--anx-charcoal);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 2.5vw, 2.65rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.anx-network__title span {
  display: block;
  color: var(--anx-copper);
}

.anx-network__list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}

.anx-network__item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #69594e;
  font-size: clamp(0.8rem, 0.95vw, 0.94rem);
  font-weight: 600;
  line-height: 1.4;
}

.anx-network__icon {
  flex: 0 0 auto;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  color: var(--anx-copper);
  background: linear-gradient(145deg, #fffaf2, #e7d2ba);
  border: 1px solid rgba(164, 95, 66, 0.23);
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(93, 56, 34, 0.09);
  transition: transform 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.anx-network__item:hover .anx-network__icon {
  color: #7d4a33;
  transform: translateY(-3px) rotate(-3deg);
  box-shadow: 0 11px 24px rgba(120, 75, 43, 0.17), 0 0 13px rgba(201, 155, 93, 0.22);
}

.anx-network__icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* تصویر نقشه */
.anx-network__map {
  position: relative;
  min-width: 0;
  height: clamp(205px, 24vw, 295px);
  display: grid;
  place-items: center;
  overflow: hidden;
  margin: 0;
  border-radius: 18px;
  background:
    radial-gradient(circle at 76% 46%, rgba(218, 162, 88, 0.17), transparent 28%),
    linear-gradient(145deg, #fffdf9, #eee0cf);
  border: 1px solid rgba(150, 97, 59, 0.15);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 14px 35px rgba(83, 51, 31, 0.09);
}

.anx-network__map::before {
  content: "";
  position: absolute;
  inset: -20%;
  pointer-events: none;
  background: radial-gradient(circle at 76% 47%, rgba(255, 225, 165, 0.5), transparent 20%);
  animation: anxFinalMapGlow 3.4s ease-in-out infinite;
}

.anx-network__map::after {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 36%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: skewX(-17deg);
  animation: anxFinalShine 6s ease-in-out infinite;
}

.anx-network__map img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  transition: transform 0.7s cubic-bezier(.2, .8, .2, 1), filter 0.7s ease;
}

.anx-network__map:hover img {
  transform: scale(1.025);
  filter: saturate(1.05) contrast(1.025);
}

/* =========================================================
   Responsive
========================================================= */

@media (max-width: 1050px) {
  .anx-multiyou {
    grid-template-columns: minmax(210px, 0.8fr) minmax(220px, 0.9fr);
  }
  .anx-network {
    grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.7fr);
  }
  .anx-services {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .anx-service {
    min-height: 145px;
    grid-template-columns: 1fr;
    gap: 10px;
    text-align: center;
  }
  .anx-service__icon {
    margin-inline: auto;
  }
}

@media (max-width: 780px) {
  .anx-final {
    padding: 34px 12px;
  }
  .anx-final__panel {
    border-radius: 18px;
  }
  .anx-multiyou {
    grid-template-columns: 1fr 1fr;
    padding: 34px 20px;
  }
  .anx-multiyou__copy {
    grid-column: 1 / -1;
    text-align: center;
  }
  .anx-multiyou__title,
  .anx-multiyou__description {
    margin-inline: auto;
  }
  .anx-multiyou__actions {
    justify-content: center;
  }
  .anx-multiyou__brain {
    grid-column: 1 / -1;
    height: 280px;
  }
  .anx-network {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 30px 20px;
  }
  .anx-network__content {
    text-align: center;
  }
  .anx-network__eyebrow {
    justify-content: center;
  }
  .anx-network__list {
    width: min(100%, 430px);
    margin-inline: auto;
    text-align: left;
  }
  .anx-network__map {
    height: 230px;
  }
  .anx-services {
    grid-column: auto;
    grid-template-columns: 1fr;
  }
  .anx-service {
    min-height: 112px;
    grid-template-columns: 48px minmax(0, 1fr);
    text-align: left;
  }
  .anx-service__icon {
    margin: 0;
  }
}

@media (max-width: 560px) {
  .anx-final {
    padding: 28px 10px;
  }
  .anx-multiyou {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 31px 15px;
  }
  .anx-multiyou__title {
    font-size: clamp(2rem, 10vw, 2.65rem);
  }
  .anx-multiyou__brain {
    height: 240px;
  }
  .anx-network {
    padding: 27px 15px;
  }
  .anx-network__title {
    font-size: 1.85rem;
  }
  .anx-network__map {
    height: 185px;
  }
  .anx-services {
    grid-template-columns: 1fr;
  }
  .anx-service {
    min-height: 105px;
  }
  .anx-multiyou__actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }
  .anx-button {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .anx-network__item {
    align-items: flex-start;
  }
  .anx-network__map {
    height: 160px;
  }
  .anx-multiyou__brain {
    height: 200px;
  }
  .anx-service {
    padding: 15px;
    grid-template-columns: 42px minmax(0, 1fr);
  }
  .anx-service__icon {
    width: 42px;
    height: 42px;
  }
  .anx-service__icon svg {
    width: 23px;
    height: 23px;
  }
}

/* کاهش حرکت */
@media (prefers-reduced-motion: reduce) {
  .anx-final *,
  .anx-final *::before,
  .anx-final *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* =========================================================
   Animations
========================================================= */

@keyframes anxFinalVeins {
  from {
    transform: rotate(-5deg) translate3d(-1%, -1%, 0);
  }
  to {
    transform: rotate(-3deg) translate3d(2%, 1%, 0);
  }
}

@keyframes anxFinalMapGlow {
  0%, 100% {
    opacity: 0.5;
    transform: scale(0.95);
  }
  50% {
    opacity: 0.92;
    transform: scale(1.08);
  }
}

@keyframes anxFinalShine {
  0%, 67% {
    left: -50%;
  }
  100% {
    left: 130%;
  }
}

@keyframes anxFinalGoldText {
  to {
    background-position: 220% 50%;
  }
}

@keyframes anxFinalBrainAura {
  0%, 100% {
    opacity: 0.4;
    transform: scale(0.92);
  }
  50% {
    opacity: 0.85;
    transform: scale(1.06);
  }
}

@keyframes anxFinalCardLight {
  from {
    left: -55%;
  }
  to {
    left: 115%;
  }
}