/* =========================================================
   Neuron v2 landing page — isolated from shared pages
========================================================= */

.neuron-page {
  --neuron-ink: #10005e;
  --neuron-deep: #060033;
  --neuron-violet: #6f2cff;
  --neuron-purple: #8b5cff;
  --neuron-lilac: #b388ff;
  --neuron-soft: #f7f5fc;
  --neuron-orange: #ff7f3f;
  background: #fff;
}

.neuron-v2-shell {
  width: min(1240px, calc(100% - 48px));
  margin-inline: auto;
}

.neuron-v2-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: #6d3ad1;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.neuron-v2-kicker > span {
  width: 9px;
  height: 9px;
  border: 3px solid rgba(111, 44, 255, 0.22);
  border-radius: 50%;
  background: var(--neuron-violet);
  box-sizing: content-box;
}

.neuron-v2-section-heading h2 {
  max-width: 760px;
  margin: 0;
  color: #18131f;
  font-size: clamp(31px, 4.2vw, 54px);
  line-height: 1.45;
  font-weight: 730;
  letter-spacing: -0.035em;
}

.neuron-v2-section-heading > p:last-child:not(.neuron-v2-kicker) {
  max-width: 720px;
  margin: 18px 0 0;
  color: #716b78;
  font-size: 14px;
  line-height: 2.05;
}

.neuron-v2-section-heading--center {
  text-align: center;
}

.neuron-v2-section-heading--center h2,
.neuron-v2-section-heading--center > p:last-child:not(.neuron-v2-kicker) {
  margin-inline: auto;
}

.neuron-v2-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: min(820px, calc(100svh - 80px));
  display: grid;
  align-items: center;
  padding: clamp(92px, 9vw, 142px) 0 clamp(80px, 8vw, 120px);
  border-bottom: 1px solid rgba(65, 30, 128, 0.08);
  background:
    linear-gradient(
      135deg,
      rgba(247, 245, 252, 0.96),
      rgba(255, 255, 255, 0.96)
    ),
    radial-gradient(
      circle at 20% 20%,
      rgba(179, 136, 255, 0.3),
      transparent 35%
    );
}

.neuron-v2-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(111, 44, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(111, 44, 255, 0.055) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(
    to bottom,
    transparent,
    #000 22%,
    #000 70%,
    transparent
  );
}

.neuron-v2-hero__glow {
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  filter: blur(12px);
  pointer-events: none;
}

.neuron-v2-hero__glow--one {
  width: 520px;
  height: 520px;
  top: -210px;
  left: -160px;
  background: radial-gradient(
    circle,
    rgba(111, 44, 255, 0.22),
    transparent 68%
  );
}

.neuron-v2-hero__glow--two {
  width: 280px;
  height: 280px;
  right: 28%;
  bottom: -130px;
  background: radial-gradient(
    circle,
    rgba(255, 127, 63, 0.12),
    transparent 70%
  );
}

.neuron-v2-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(380px, 0.96fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}

.neuron-v2-hero__copy h1 {
  margin: 0;
  color: #17121e;
  font-size: clamp(52px, 6.25vw, 86px);
  line-height: 1.2;
  font-weight: 760;
  letter-spacing: -0.055em;
}

.neuron-v2-hero__copy h1 em {
  color: var(--neuron-violet);
  font-style: normal;
}

.neuron-v2-hero__lead {
  max-width: 650px;
  margin: 26px 0 0;
  color: #655f6b;
  font-size: 15px;
  line-height: 2.2;
}

.neuron-v2-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.neuron-v2-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 15px;
  font-size: 13px;
  font-weight: 800;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease;
}

.neuron-v2-button--primary {
  background: linear-gradient(135deg, #5520d8, #8b5cff);
  color: #fff;
  box-shadow: 0 15px 35px rgba(85, 32, 216, 0.22);
}

.neuron-v2-button--ghost {
  border-color: rgba(42, 26, 67, 0.11);
  background: rgba(255, 255, 255, 0.72);
  color: #342744;
}

@media (hover: hover) and (pointer: fine) {
  .neuron-v2-button:hover {
    transform: translateY(-3px);
  }
  .neuron-v2-button--primary:hover {
    box-shadow: 0 20px 42px rgba(85, 32, 216, 0.28);
  }
}

.neuron-v2-hero__checks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: #696272;
  font-size: 11.5px;
}

.neuron-v2-hero__checks li::before {
  content: "✓";
  margin-left: 7px;
  color: var(--neuron-violet);
  font-weight: 900;
}

.neuron-v2-visual {
  --neuron-x: 0px;
  --neuron-y: 0px;
  position: relative;
  width: min(500px, 100%);
  aspect-ratio: 1;
  justify-self: center;
  transform: translate3d(var(--neuron-x), var(--neuron-y), 0);
  transition: transform 0.18s ease-out;
}

.neuron-v2-visual::before,
.neuron-v2-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(111, 44, 255, 0.12);
  animation: neuron-orbit 18s linear infinite;
}

.neuron-v2-visual::before {
  inset: 5%;
}
.neuron-v2-visual::after {
  inset: 14%;
  animation-direction: reverse;
  animation-duration: 13s;
}

.neuron-v2-visual__logo {
  position: absolute;
  inset: 21%;
  z-index: 3;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 34%;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  box-shadow:
    0 38px 85px rgba(63, 20, 132, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  animation: neuron-float 5.5s ease-in-out infinite;
}

.neuron-v2-visual__logo img {
  width: 74%;
  height: 74%;
  object-fit: contain;
}

.neuron-v2-visual__orb {
  position: absolute;
  width: 41%;
  aspect-ratio: 1;
  left: 3%;
  bottom: 5%;
  border-radius: 50%;
  background: linear-gradient(135deg, #4211b0 0%, #7b2cff 45%, #b388ff 100%);
  filter: saturate(115%);
  box-shadow: 0 26px 60px rgba(89, 31, 202, 0.3);
  animation: neuron-float 7s ease-in-out infinite reverse;
}

.neuron-v2-visual__orb::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.05) 50%,
    rgba(255, 255, 255, 0.32) 50%
  );
  filter: blur(8px);
}

.neuron-v2-visual__orb span {
  position: absolute;
  width: 34%;
  height: 34%;
  right: 10%;
  top: 8%;
  border-radius: 50%;
  background: rgba(255, 127, 63, 0.35);
  filter: blur(18px);
}

.neuron-v2-visual__bars {
  position: absolute;
  top: 11%;
  right: 9%;
  z-index: 2;
  display: flex;
  gap: 12px;
  align-items: flex-end;
  transform: rotate(-42deg);
}

.neuron-v2-visual__bars i {
  width: 22px;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    var(--neuron-lilac),
    var(--neuron-violet)
  );
  box-shadow: 0 16px 24px rgba(111, 44, 255, 0.19);
}

.neuron-v2-visual__bars i:nth-child(1) {
  height: 70px;
}
.neuron-v2-visual__bars i:nth-child(2) {
  height: 118px;
}
.neuron-v2-visual__bars i:nth-child(3) {
  height: 92px;
  background: linear-gradient(180deg, #ffad83, var(--neuron-orange));
}

@keyframes neuron-float {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-15px) rotate(1deg);
  }
}
@keyframes neuron-orbit {
  to {
    transform: rotate(360deg);
  }
}

.neuron-v2-intro {
  padding: clamp(80px, 9vw, 130px) 0;
}
.neuron-v2-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: start;
}
.neuron-v2-intro__copy {
  padding-top: 38px;
  border-top: 1px solid rgba(35, 21, 63, 0.12);
}
.neuron-v2-intro__copy p {
  margin: 0;
  color: #69636e;
  font-size: 14px;
  line-height: 2.2;
}
.neuron-v2-intro__copy p + p {
  margin-top: 18px;
}

.neuron-v2-capabilities {
  padding: clamp(82px, 9vw, 132px) 0;
  background: var(--neuron-soft);
}
.neuron-v2-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 54px;
}
.neuron-v2-feature {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  padding: 30px;
  border: 1px solid rgba(66, 31, 128, 0.085);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
  transition:
    transform 0.34s ease,
    box-shadow 0.34s ease,
    border-color 0.34s ease;
}
.neuron-v2-feature::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  left: -80px;
  bottom: -85px;
  border-radius: 50%;
  background: rgba(111, 44, 255, 0.06);
}
.neuron-v2-feature__number {
  position: absolute;
  top: 28px;
  left: 28px;
  color: rgba(63, 32, 107, 0.28);
  font-size: 11px;
  font-weight: 800;
}
.neuron-v2-feature__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 30px;
  border-radius: 15px;
  background: linear-gradient(
    145deg,
    rgba(111, 44, 255, 0.1),
    rgba(179, 136, 255, 0.14)
  );
  color: #6f2cff;
  font-size: 20px;
  font-weight: 900;
}
.neuron-v2-feature h3 {
  margin: 0 0 13px;
  color: #201727;
  font-size: 19px;
  font-weight: 750;
}
.neuron-v2-feature p {
  margin: 0;
  color: #77707c;
  font-size: 12.5px;
  line-height: 2.05;
}
@media (hover: hover) and (pointer: fine) {
  .neuron-v2-feature:hover {
    transform: translateY(-7px);
    border-color: rgba(111, 44, 255, 0.18);
    box-shadow: 0 24px 50px rgba(45, 22, 80, 0.09);
  }
}

.neuron-v2-flow {
  padding: clamp(82px, 9vw, 132px) 0;
}
.neuron-v2-flow__steps {
  counter-reset: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin: 58px 0 0;
  padding: 0;
  list-style: none;
}
.neuron-v2-flow__steps li {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: start;
}
.neuron-v2-flow__steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 27px;
  right: calc(100% - 5px);
  width: 32px;
  border-top: 1px dashed rgba(111, 44, 255, 0.25);
}
.neuron-v2-flow__steps li > span {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #f2edff;
  color: var(--neuron-violet);
  font-size: 17px;
  font-weight: 850;
}
.neuron-v2-flow__steps h3 {
  margin: 2px 0 8px;
  font-size: 18px;
}
.neuron-v2-flow__steps p {
  margin: 0;
  color: #746d78;
  font-size: 12.5px;
  line-height: 2;
}

.neuron-v2-portals {
  padding: clamp(82px, 9vw, 132px) 0;
  background: linear-gradient(180deg, #f9f8fc, #fff);
}
.neuron-v2-portal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 54px;
}
.neuron-v2-portal {
  --portal-accent: #ffb36a;
  position: relative;
  min-height: 350px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 27px 25px 24px;
  border-radius: 26px;
  color: #fff;
  background: linear-gradient(155deg, #4f42bd 0%, #5d48be 55%, #4435a4 100%);
  box-shadow: 0 24px 48px rgba(61, 48, 151, 0.16);
  transition:
    opacity 0.75s ease,
    transform 0.75s cubic-bezier(0.22, 0.8, 0.22, 1),
    box-shadow 0.4s ease;
}
.neuron-v2-portal::before,
.neuron-v2-portal::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.075);
  pointer-events: none;
}
.neuron-v2-portal::before {
  width: 190px;
  height: 190px;
  left: -75px;
  bottom: -118px;
}
.neuron-v2-portal::after {
  width: 140px;
  height: 140px;
  right: -80px;
  top: -80px;
}
.neuron-v2-portal:nth-child(2) {
  --portal-accent: #8ee6ff;
  background: linear-gradient(155deg, #583bc5, #6b49d5 58%, #4d2fb1);
}
.neuron-v2-portal:nth-child(3) {
  --portal-accent: #b8ffb0;
  background: linear-gradient(155deg, #3f4bb2, #544bc1 58%, #3937a0);
}
.neuron-v2-portal:nth-child(4) {
  --portal-accent: #ff9fd1;
  background: linear-gradient(155deg, #493ab0, #6548c3 58%, #49329e);
}
.neuron-v2-portal__status {
  position: absolute;
  z-index: 2;
  top: 24px;
  left: 22px;
  min-height: 27px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(13, 4, 68, 0.2);
  color: rgba(255, 255, 255, 0.88);
  font-size: 10px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}
.neuron-v2-portal__status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--portal-accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--portal-accent) 18%, transparent);
  animation: neuron-portal-status 1.8s ease-in-out infinite;
}
.neuron-v2-portal__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.13);
}
.neuron-v2-portal__icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.neuron-v2-portal h3 {
  margin: 0 0 13px;
  font-size: 23px;
  font-weight: 800;
}
.neuron-v2-portal p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.77);
  font-size: 12.5px;
  line-height: 2.05;
}
.neuron-v2-portal > a {
  position: relative;
  z-index: 2;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding: 0 17px;
  border-radius: 14px;
  background: #fff;
  color: #21185a;
  font-size: 12.5px;
  font-weight: 850;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}
.neuron-v2-portal > a span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #eee9ff;
  color: #5a36c2;
  font-size: 17px;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease;
}
@media (hover: hover) and (pointer: fine) {
  .neuron-v2-portal > a:hover {
    transform: translateY(-3px);
    background: #f6f2ff;
    box-shadow: 0 12px 28px rgba(16, 0, 94, 0.18);
  }
  .neuron-v2-portal > a:hover span {
    transform: translateX(-4px);
    background: #e3d9ff;
  }
}
.neuron-v2-portals__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 24px 0 0;
  text-align: center;
  color: #6f6875;
  font-size: 12px;
  font-weight: 650;
}
.neuron-v2-portals__note span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #29b876;
  box-shadow: 0 0 0 5px rgba(41, 184, 118, 0.12);
}

.neuron-v2-ai {
  padding: clamp(82px, 9vw, 132px) 0;
}
.neuron-v2-ai__card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
  padding: clamp(42px, 6vw, 82px);
  border-radius: 34px;
  background:
    radial-gradient(
      circle at 13% 20%,
      rgba(179, 136, 255, 0.2),
      transparent 34%
    ),
    linear-gradient(135deg, #09003b, #16005b 58%, #28007b);
  color: #fff;
}
.neuron-v2-ai__card::after {
  content: "";
  position: absolute;
  left: -100px;
  bottom: -130px;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  box-shadow:
    0 0 0 45px rgba(255, 255, 255, 0.025),
    0 0 0 90px rgba(255, 255, 255, 0.018);
}
.neuron-v2-ai__mark {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 32%;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
}
.neuron-v2-ai__mark img {
  width: 72%;
  height: 72%;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.2));
}
.neuron-v2-kicker--light {
  color: #d5c2ff;
}
.neuron-v2-ai h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.5;
}
.neuron-v2-ai p:not(.neuron-v2-kicker) {
  max-width: 720px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13.5px;
  line-height: 2.15;
}
.neuron-v2-ai ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
}
.neuron-v2-ai li::before {
  content: "✓";
  margin-left: 8px;
  color: #c3a5ff;
}

.neuron-v2-final {
  padding: 0 0 clamp(90px, 10vw, 150px);
}
.neuron-v2-final__card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 32px;
  align-items: center;
  padding: clamp(34px, 5vw, 60px);
  border: 1px solid rgba(111, 44, 255, 0.12);
  border-radius: 28px;
  background: linear-gradient(135deg, #fbfaff, #f4efff);
}
.neuron-v2-final__copy {
  max-width: 720px;
}
.neuron-v2-final h2 {
  margin: 0;
  color: #1f1728;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.5;
}
.neuron-v2-final p:not(.neuron-v2-kicker) {
  margin: 12px 0 0;
  color: #716a77;
  font-size: 13px;
  line-height: 2;
}
.neuron-v2-final__side {
  display: grid;
  gap: 18px;
}
.neuron-v2-creator {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(179, 136, 255, 0.3), transparent 42%),
    linear-gradient(145deg, #120047, #2c007a 58%, #4a1ab0);
  color: #fff;
  box-shadow: 0 26px 56px rgba(44, 0, 122, 0.18);
}
.neuron-v2-creator::before,
.neuron-v2-creator::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.neuron-v2-creator::before {
  width: 170px;
  height: 170px;
  top: -90px;
  right: -70px;
  background: rgba(255, 255, 255, 0.08);
}
.neuron-v2-creator::after {
  width: 125px;
  height: 125px;
  left: -40px;
  bottom: -55px;
  background: rgba(255, 127, 63, 0.16);
  filter: blur(6px);
}
.neuron-v2-creator > * {
  position: relative;
  z-index: 1;
}
.neuron-v2-creator h3 {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.7;
  letter-spacing: -0.02em;
}
.neuron-v2-creator p:not(.neuron-v2-kicker) {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12.5px;
  line-height: 2.1;
}
.neuron-v2-creator__link {
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  direction: ltr;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition:
    transform 0.3s ease,
    background-color 0.3s ease,
    border-color 0.3s ease;
}
.neuron-v2-creator__link span {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  font-size: 15px;
}
.neuron-v2-final__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.neuron-v2-final__actions .neuron-v2-button {
  flex: 1 1 210px;
}
@media (hover: hover) and (pointer: fine) {
  .neuron-v2-creator__link:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.24);
  }
}

.neuron-v2-transition {
  position: fixed;
  z-index: 500;
  inset: 0;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 45%, rgba(136, 71, 255, 0.32), transparent 34%),
    linear-gradient(135deg, #060027, #140052 54%, #27007a);
  color: #fff;
  pointer-events: none;
  clip-path: circle(0 at var(--neuron-portal-x, 50%) var(--neuron-portal-y, 50%));
  transition: clip-path 0.9s cubic-bezier(0.76, 0, 0.24, 1);
}
.neuron-v2-transition::before,
.neuron-v2-transition::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
}
.neuron-v2-transition::before {
  width: min(76vw, 850px);
  aspect-ratio: 1;
  box-shadow:
    0 0 0 70px rgba(255, 255, 255, 0.025),
    0 0 0 140px rgba(255, 255, 255, 0.018);
}
.neuron-v2-transition::after {
  width: min(46vw, 520px);
  aspect-ratio: 1;
  border-style: dashed;
  animation: neuron-transition-orbit 13s linear infinite;
}
.neuron-v2-transition[aria-hidden="false"] {
  pointer-events: auto;
  clip-path: circle(150vmax at var(--neuron-portal-x, 50%) var(--neuron-portal-y, 50%));
}
.neuron-v2-transition__grid {
  position: absolute;
  z-index: -2;
  inset: -20%;
  opacity: 0;
  background-image:
    linear-gradient(rgba(186, 151, 255, 0.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(186, 151, 255, 0.075) 1px, transparent 1px);
  background-size: 48px 48px;
  transform: perspective(420px) rotateX(58deg) translateY(20%);
  transform-origin: center bottom;
}
.neuron-v2-transition[aria-hidden="false"] .neuron-v2-transition__grid {
  animation: neuron-transition-grid 1.1s 0.15s ease-out forwards;
}
.neuron-v2-transition__orbit {
  position: absolute;
  width: min(66vw, 720px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  animation: neuron-transition-orbit 9s linear infinite;
}
.neuron-v2-transition__orbit i {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #b58cff;
  box-shadow: 0 0 22px 5px rgba(181, 140, 255, 0.55);
}
.neuron-v2-transition__orbit i:nth-child(1) {
  top: 11%;
  right: 20%;
}
.neuron-v2-transition__orbit i:nth-child(2) {
  right: 4%;
  bottom: 28%;
  background: #ff9b68;
}
.neuron-v2-transition__orbit i:nth-child(3) {
  left: 9%;
  bottom: 20%;
  width: 6px;
  height: 6px;
}
.neuron-v2-transition__content {
  position: relative;
  z-index: 2;
  width: min(460px, 100%);
  text-align: center;
  opacity: 0;
  transform: translateY(22px) scale(0.96);
}
.neuron-v2-transition[aria-hidden="false"] .neuron-v2-transition__content {
  animation: neuron-transition-content 0.65s 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.neuron-v2-transition__mark {
  position: relative;
  width: 116px;
  height: 116px;
  display: grid;
  place-items: center;
  margin: 0 auto 28px;
}
.neuron-v2-transition__mark::before,
.neuron-v2-transition__mark::after,
.neuron-v2-transition__mark span {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 34px;
}
.neuron-v2-transition__mark::before {
  transform: rotate(15deg);
  animation: neuron-transition-frame 2.8s ease-in-out infinite;
}
.neuron-v2-transition__mark::after {
  inset: 9px;
  border-color: rgba(255, 138, 82, 0.38);
  transform: rotate(-10deg);
}
.neuron-v2-transition__mark span {
  inset: -10px;
  border-radius: 40px;
  opacity: 0.25;
}
.neuron-v2-transition__mark img {
  position: relative;
  z-index: 2;
  width: 74px;
  height: 74px;
  object-fit: contain;
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.25));
}
.neuron-v2-transition__content p {
  margin: 0 0 7px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.neuron-v2-transition__content strong {
  display: block;
  font-size: clamp(30px, 6vw, 48px);
  line-height: 1.4;
  font-weight: 850;
  letter-spacing: -0.035em;
}
.neuron-v2-transition__content small {
  display: block;
  margin-top: 13px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
}
.neuron-v2-transition__progress {
  width: min(260px, 72vw);
  height: 3px;
  overflow: hidden;
  margin: 26px auto 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.14);
}
.neuron-v2-transition__progress i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #8b5cff, #f3dbff 55%, #ff8d56);
  box-shadow: 0 0 14px rgba(219, 188, 255, 0.7);
  transform: translateX(105%);
}
.neuron-v2-transition[aria-hidden="false"] .neuron-v2-transition__progress i {
  animation: neuron-transition-progress 1.05s 0.48s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.neuron-portal-is-leaving {
  overflow: hidden;
}
.neuron-v2-portal.is-launching {
  z-index: 4;
}
.neuron-v2-portal.is-launching > a {
  color: #fff;
  background: var(--neuron-orange);
  box-shadow: 0 0 0 7px rgba(255, 127, 63, 0.16);
  transform: scale(0.97);
}

@keyframes neuron-portal-status {
  50% {
    opacity: 0.55;
    transform: scale(0.78);
  }
}
@keyframes neuron-transition-orbit {
  to {
    transform: rotate(360deg);
  }
}
@keyframes neuron-transition-grid {
  to {
    opacity: 1;
    transform: perspective(420px) rotateX(58deg) translateY(10%);
  }
}
@keyframes neuron-transition-content {
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes neuron-transition-frame {
  50% {
    transform: rotate(45deg) scale(1.07);
    border-color: rgba(255, 255, 255, 0.45);
  }
}
@keyframes neuron-transition-progress {
  to {
    transform: translateX(-105%);
  }
}

[data-neuron-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s ease,
    transform 0.75s cubic-bezier(0.22, 0.8, 0.22, 1);
}
[data-neuron-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1050px) {
  .neuron-v2-hero__inner {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.82fr);
    gap: 35px;
  }
  .neuron-v2-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .neuron-v2-portal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .neuron-v2-hero {
    min-height: 0;
    padding-top: 72px;
  }
  .neuron-v2-hero__inner,
  .neuron-v2-intro__grid,
  .neuron-v2-ai__card {
    grid-template-columns: 1fr;
  }
  .neuron-v2-visual {
    order: -1;
    width: min(420px, 88vw);
  }
  .neuron-v2-hero__copy {
    text-align: center;
  }
  .neuron-v2-hero__lead {
    margin-inline: auto;
  }
  .neuron-v2-hero__actions,
  .neuron-v2-hero__checks {
    justify-content: center;
  }
  .neuron-v2-intro__copy {
    padding-top: 0;
  }
  .neuron-v2-flow__steps {
    grid-template-columns: 1fr;
  }
  .neuron-v2-flow__steps li:not(:last-child)::after {
    top: 56px;
    right: 27px;
    width: 0;
    height: 22px;
    border-top: 0;
    border-right: 1px dashed rgba(111, 44, 255, 0.25);
  }
  .neuron-v2-ai__mark {
    width: min(260px, 70vw);
    justify-self: center;
  }
  .neuron-v2-final__card {
    grid-template-columns: 1fr;
  }
  .neuron-v2-final__actions .neuron-v2-button {
    justify-self: start;
  }
}

@media (max-width: 580px) {
  .neuron-v2-shell {
    width: min(100% - 32px, 1240px);
  }
  .neuron-v2-hero {
    padding: 58px 0 74px;
  }
  .neuron-v2-hero__copy h1 {
    font-size: clamp(43px, 14vw, 59px);
    line-height: 1.25;
  }
  .neuron-v2-hero__lead {
    font-size: 13px;
    line-height: 2.05;
  }
  .neuron-v2-hero__actions {
    display: grid;
  }
  .neuron-v2-button {
    width: 100%;
  }
  .neuron-v2-hero__checks {
    gap: 9px 16px;
    font-size: 10.5px;
  }
  .neuron-v2-visual {
    width: min(340px, 92vw);
  }
  .neuron-v2-visual__bars i {
    width: 16px;
  }
  .neuron-v2-visual__bars i:nth-child(1) {
    height: 48px;
  }
  .neuron-v2-visual__bars i:nth-child(2) {
    height: 82px;
  }
  .neuron-v2-visual__bars i:nth-child(3) {
    height: 64px;
  }
  .neuron-v2-section-heading h2 {
    font-size: clamp(29px, 9.5vw, 40px);
  }
  .neuron-v2-feature-grid,
  .neuron-v2-portal-grid {
    grid-template-columns: 1fr;
  }
  .neuron-v2-feature {
    min-height: 235px;
  }
  .neuron-v2-portal {
    min-height: 320px;
  }
  .neuron-v2-ai__card {
    width: calc(100% - 24px);
    padding: 34px 24px;
    border-radius: 27px;
  }
  .neuron-v2-ai ul {
    grid-template-columns: 1fr;
  }
  .neuron-v2-final__card {
    padding: 32px 24px;
  }
  .neuron-v2-creator {
    padding: 22px;
  }
  .neuron-v2-creator__link {
    width: 100%;
    justify-content: space-between;
  }
  .neuron-v2-final__actions .neuron-v2-button {
    justify-self: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .neuron-v2-visual,
  .neuron-v2-visual__logo,
  .neuron-v2-visual__orb,
  .neuron-v2-visual::before,
  .neuron-v2-visual::after {
    animation: none;
    transition: none;
    transform: none;
  }
  [data-neuron-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .neuron-v2-portal__status i,
  .neuron-v2-transition,
  .neuron-v2-transition::after,
  .neuron-v2-transition__grid,
  .neuron-v2-transition__orbit,
  .neuron-v2-transition__mark::before,
  .neuron-v2-transition__content,
  .neuron-v2-transition__progress i {
    animation: none;
    transition: none;
  }
  .neuron-v2-transition[aria-hidden="false"] {
    clip-path: none;
  }
  .neuron-v2-transition[aria-hidden="false"] .neuron-v2-transition__content {
    opacity: 1;
    transform: none;
  }
}

@media (hover: hover) and (pointer: fine) {
  .neuron-v2-portal.is-visible:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 62px rgba(54, 38, 146, 0.24);
  }
}

/* یک‌سطر شدن تیتر پنل‌ها فقط در دسکتاپ */
@media (min-width: 992px) {
  #neuron-portals-title {
    width: 100%;
    max-width: none;
    white-space: nowrap;
  }
}
