/* =====================================
   AI Page Clean CSS - Dr. Harrasi / Neuron
   Replace entire: assets/css/ai-page.css
   ===================================== */

.ai-page {
  --ai-ink: #102236;
  --ai-muted: #60758e;
  --ai-line: #dce8f3;
  --ai-soft: #f6f9fd;
  --ai-card: #ffffff;
  --ai-blue: #0f3152;
  --ai-purple: #514bb7;
  --ai-cyan: #8fd7e7;

  overflow-x: clip;
  background: #ffffff;
}

.ai-page :where(*) {
  box-sizing: border-box;
}

.ai-page :where(a) {
  text-decoration: none;
}

.ai-page .container {
  position: relative;
  z-index: 2;
}

/* =====================================
   01. Robot first hero - white, clean, robot only
   ===================================== */

.ai-page .ai-hero,
.ai-page .ai-robot-hero {
  position: relative;
  min-height: calc(100vh - 78px);
  padding: clamp(22px, 3vw, 42px) 0 clamp(24px, 3vw, 48px);
  overflow: hidden;
  background: #ffffff;
  border: 0;
}

.ai-page .ai-hero::before,
.ai-page .ai-hero::after,
.ai-page .ai-robot-hero::before,
.ai-page .ai-robot-hero::after,
.ai-page .ai-robot-bg {
  display: none;
  content: none;
}

/* First screen must not show text */
.ai-page .ai-hero-copy,
.ai-page .ai-hero-clean-inner,
.ai-page .ai-kicker,
.ai-page .ai-hero-eyebrow,
.ai-page .ai-hero-actions,
.ai-page .ai-hero-tags,
.ai-page .ai-hero-points,
.ai-page .ai-brand-mini {
  display: none;
}

.ai-page .ai-hero-grid {
  width: 100%;
  min-height: calc(100vh - 150px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0 auto;
  padding: 0;
}

.ai-page .ai-hero-visual {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-inline: clamp(16px, 4vw, 62px);
}

.ai-page .robot-shell {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.ai-page .robot-shell-top {
  display: none;
}

.ai-page .robot-stage,
.ai-page .ai-robot-stage,
.ai-page .ai-spline-frame {
  position: relative;
  width: 100%;
  height: min(78vh, 720px);
  min-height: 560px;
  max-height: 720px;
  margin: 0 auto;
  overflow: hidden;
  isolation: isolate;
  border-radius: 34px;
  clip-path: inset(0 round 34px);
  background: #ffffff;
  border: 0;
  box-shadow: none;
}

.ai-page .spline-frame,
.ai-page .ai-robot-embed,
.ai-page #spline-iframe,
.ai-page .ai-spline-frame iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: calc(100% + 130px);
  border: 0;
  border-radius: inherit;
  background: #ffffff;
  opacity: 0;
  transition: opacity .28s ease;
}

.ai-page .spline-frame.is-ready,
.ai-page .ai-robot-embed.is-ready,
.ai-page #spline-iframe.is-ready {
  opacity: 1;
}

.ai-page .robot-fallback,
.ai-page .ai-robot-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 24px;
  text-align: center;
  background: #ffffff;
  border-radius: inherit;
  overflow: hidden;
}

.ai-page .robot-fallback-card {
  display: grid;
  place-items: center;
  gap: 12px;
}

.ai-page .robot-fallback-card svg {
  width: min(76%, 360px);
  height: auto;
  filter: drop-shadow(0 16px 32px rgba(25, 38, 76, .14));
}

.ai-page .robot-fallback-card strong {
  color: var(--ai-ink);
  font-size: 24px;
  font-weight: 950;
}

.ai-page .robot-fallback-card small {
  display: block;
  max-width: 320px;
  color: var(--ai-muted);
  font-size: 13px;
  line-height: 1.9;
}

/* light clipping edge, not a visible frame */
.ai-page .robot-stage::after,
.ai-page .ai-robot-stage::after,
.ai-page .ai-spline-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(10, 24, 49, .035);
}

/* =====================================
   02. Intro text below robot
   ===================================== */

.ai-page .ai-intro-section {
  padding: clamp(56px, 6vw, 88px) 0 clamp(28px, 4vw, 46px);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.ai-page .ai-intro-wrap,
.ai-page .ai-intro-card {
  max-width: 940px;
  margin-inline: auto;
  text-align: center;
}

.ai-page .ai-intro-wrap .eyebrow,
.ai-page .ai-intro-card .eyebrow,
.ai-page .section-head .eyebrow,
.ai-page .journey-copy .eyebrow,
.ai-page .ai-cta-card .eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: #eef7fb;
  color: #143657;
  border: 1px solid #d7eaf3;
  font-size: 13px;
  font-weight: 900;
}

.ai-page .ai-intro-wrap .eyebrow::before,
.ai-page .ai-intro-card .eyebrow::before,
.ai-page .section-head .eyebrow::before,
.ai-page .journey-copy .eyebrow::before,
.ai-page .ai-cta-card .eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ai-cyan);
  box-shadow: 0 0 0 6px rgba(143, 215, 231, .18);
}

.ai-page .ai-intro-wrap h1,
.ai-page .ai-intro-card h2,
.ai-page .section-head h2 {
  max-width: 900px;
  margin: 18px auto 16px;
  color: var(--ai-ink);
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.4;
  font-weight: 950;
  letter-spacing: -.6px;
}

.ai-page .ai-intro-wrap p,
.ai-page .ai-intro-card p,
.ai-page .section-head p {
  max-width: 780px;
  margin: 0 auto;
  color: var(--ai-muted);
  font-size: clamp(15.5px, 1.25vw, 18px);
  line-height: 2.05;
  font-weight: 700;
}

.ai-page .ai-intro-chips,
.ai-page .ai-intro-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.ai-page .ai-intro-chips span,
.ai-page .ai-intro-stats article {
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 18px;
  color: #173a5d;
  background: #ffffff;
  border: 1px solid var(--ai-line);
  box-shadow: 0 12px 28px rgba(16, 24, 46, .05);
  font-weight: 900;
}

/* =====================================
   03. Neuron role cards
   ===================================== */

.ai-page .roles-section,
.ai-page .neuron-features-section,
.ai-page .ai-journey-section,
.ai-page .ai-features-section,
.ai-page .ai-cta-section {
  position: relative;
  background: #ffffff;
}

.ai-page .roles-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 38px;
}

.ai-page .role-card {
  position: relative;
  min-height: 318px;
  padding: 24px;
  overflow: hidden;
  color: #ffffff;
  border-radius: 30px;
  background: linear-gradient(180deg, #514bb7 0%, #4741a5 100%);
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 22px 54px rgba(31, 27, 89, .16);
}

.ai-page .role-card::before,
.ai-page .role-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.ai-page .role-card::before {
  width: 180px;
  height: 180px;
  left: -82px;
  bottom: -96px;
  background: rgba(255, 255, 255, .08);
}

.ai-page .role-card::after {
  width: 130px;
  height: 130px;
  right: -34px;
  bottom: -34px;
  background: rgba(143, 215, 231, .17);
}

.ai-page .role-icon {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-inline-start: auto;
  margin-bottom: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .12);
  font-size: 28px;
}

.ai-page .role-card h3 {
  position: relative;
  z-index: 2;
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 26px;
  line-height: 1.55;
  font-weight: 950;
}

.ai-page .role-card p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: rgba(255, 255, 255, .84);
  line-height: 1.95;
  font-weight: 700;
}

.ai-page .role-link {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 26px;
  border-radius: 18px;
  color: #1b2457;
  background: rgba(255, 255, 255, .96);
  font-size: 17px;
  font-weight: 950;
  box-shadow: 0 14px 26px rgba(16, 17, 44, .18);
  transition: transform .22s ease, box-shadow .22s ease;
}

.ai-page .role-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 32px rgba(16, 17, 44, .20);
}

/* =====================================
   04. Feature cards
   ===================================== */

.ai-page .neuron-features-section,
.ai-page .ai-features-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.ai-page .neuron-features-grid,
.ai-page .ai-features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 38px;
}

.ai-page .feature-card,
.ai-page .ai-feature-card {
  min-height: 246px;
  padding: 24px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid var(--ai-line);
  box-shadow: 0 18px 44px rgba(16, 24, 46, .06);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.ai-page .feature-card:hover,
.ai-page .ai-feature-card:hover {
  transform: translateY(-5px);
  border-color: #ceddea;
  box-shadow: 0 24px 52px rgba(16, 24, 46, .10);
}

.ai-page .feature-no,
.ai-page .ai-feature-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 16px;
  border-radius: 16px;
  color: #30429d;
  background: linear-gradient(135deg, rgba(143, 215, 231, .22), rgba(138, 111, 255, .16));
  border: 1px solid rgba(138, 111, 255, .14);
  font-weight: 950;
}

.ai-page .feature-card h3,
.ai-page .ai-feature-card h3 {
  margin: 0 0 12px;
  color: var(--ai-ink);
  font-size: 21px;
  line-height: 1.6;
  font-weight: 950;
}

.ai-page .feature-card p,
.ai-page .ai-feature-card p {
  margin: 0;
  color: var(--ai-muted);
  line-height: 1.95;
}

/* =====================================
   05. Journey
   ===================================== */

.ai-page .ai-journey-grid {
  display: grid;
  grid-template-columns: minmax(280px, 400px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: start;
}

.ai-page .journey-copy h2 {
  margin: 16px 0;
  color: var(--ai-ink);
  font-size: clamp(30px, 3.2vw, 46px);
  line-height: 1.45;
  font-weight: 950;
}

.ai-page .journey-copy p {
  margin: 0;
  color: var(--ai-muted);
  line-height: 2;
}

.ai-page .journey-steps {
  display: grid;
  gap: 14px;
}

.ai-page .journey-steps article {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 22px;
  border-radius: 28px;
  background: linear-gradient(180deg, #fbfdff, #ffffff);
  border: 1px solid var(--ai-line);
  box-shadow: 0 12px 30px rgba(16, 24, 46, .04);
}

.ai-page .journey-steps article > span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(143, 215, 231, .22), rgba(138, 111, 255, .16));
  color: #30429d;
  font-weight: 950;
}

.ai-page .journey-steps strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ai-ink);
  font-size: 18px;
  font-weight: 950;
}

.ai-page .journey-steps p {
  margin: 0;
  color: var(--ai-muted);
  line-height: 1.9;
}

/* =====================================
   06. CTA
   ===================================== */

.ai-page .ai-cta-section {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.ai-page .ai-cta-card {
  padding: clamp(34px, 5vw, 56px);
  border-radius: 34px;
  text-align: center;
  background: linear-gradient(135deg, #141d46 0%, #23307a 55%, #372ea9 100%);
  border: 1px solid rgba(255, 255, 255, .10);
  box-shadow: 0 26px 80px rgba(12, 18, 40, .14);
}

.ai-page .ai-cta-card .eyebrow {
  color: #ffffff;
  background: rgba(255, 255, 255, .10);
  border-color: rgba(255, 255, 255, .16);
}

.ai-page .ai-cta-card h2 {
  max-width: 860px;
  margin: 18px auto;
  color: #ffffff;
  font-size: clamp(28px, 3.1vw, 48px);
  line-height: 1.55;
  font-weight: 950;
}

.ai-page .ai-cta-card p {
  max-width: 730px;
  margin: 0 auto;
  color: rgba(255, 255, 255, .84);
  line-height: 2;
}

.ai-page .ai-cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.ai-page .ai-cta-card .btn {
  min-height: 54px;
  padding-inline: 28px;
  border-radius: 999px;
  font-weight: 900;
}

.ai-page .ai-cta-card .btn-primary {
  background: #ffffff;
  color: #1d2658;
}

.ai-page .ai-cta-card .btn-soft {
  color: #ffffff;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .16);
}

/* form tweaks just for this page */
.ai-page .consultation-intro h2 {
  max-width: 18ch;
}

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

@media (max-width: 1200px) {
  .ai-page .roles-grid,
  .ai-page .neuron-features-grid,
  .ai-page .ai-features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  .ai-page .ai-hero,
  .ai-page .ai-robot-hero {
    min-height: auto;
    padding: 26px 0 34px;
  }

  .ai-page .ai-hero-grid {
    min-height: auto;
  }

  .ai-page .ai-hero-visual {
    max-width: 840px;
    padding-inline: 18px;
  }

  .ai-page .robot-stage,
  .ai-page .ai-robot-stage,
  .ai-page .ai-spline-frame {
    height: 520px;
    min-height: 420px;
    border-radius: 28px;
    clip-path: inset(0 round 28px);
  }

  .ai-page .spline-frame,
  .ai-page .ai-robot-embed,
  .ai-page #spline-iframe,
  .ai-page .ai-spline-frame iframe {
    height: calc(100% + 100px);
  }

  .ai-page .ai-journey-grid {
    grid-template-columns: 1fr;
  }

  .ai-page .journey-copy {
    text-align: center;
  }

  .ai-page .journey-copy .eyebrow {
    margin-inline: auto;
  }
}

@media (max-width: 760px) {
  .ai-page .roles-grid,
  .ai-page .neuron-features-grid,
  .ai-page .ai-features-grid {
    grid-template-columns: 1fr;
  }

  .ai-page .ai-hero,
  .ai-page .ai-robot-hero {
    padding: 16px 0 22px;
  }

  .ai-page .ai-hero-visual {
    padding-inline: 12px;
  }

  .ai-page .robot-stage,
  .ai-page .ai-robot-stage,
  .ai-page .ai-spline-frame {
    height: 380px;
    min-height: 330px;
    border-radius: 22px;
    clip-path: inset(0 round 22px);
  }

  .ai-page .spline-frame,
  .ai-page .ai-robot-embed,
  .ai-page #spline-iframe,
  .ai-page .ai-spline-frame iframe {
    height: calc(100% + 80px);
  }

  .ai-page .ai-intro-wrap h1,
  .ai-page .ai-intro-card h2,
  .ai-page .section-head h2 {
    font-size: 30px;
    line-height: 1.55;
  }

  .ai-page .ai-intro-wrap p,
  .ai-page .ai-intro-card p,
  .ai-page .section-head p {
    font-size: 15px;
    line-height: 2;
  }

  .ai-page .role-card,
  .ai-page .feature-card,
  .ai-page .ai-feature-card {
    min-height: auto;
  }

  .ai-page .role-card h3 {
    font-size: 23px;
  }

  .ai-page .feature-card h3,
  .ai-page .ai-feature-card h3 {
    font-size: 20px;
  }

  .ai-page .journey-steps article {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .ai-page .journey-steps article > span {
    margin-inline: auto;
  }

  .ai-page .ai-cta-card .btn {
    width: 100%;
    justify-content: center;
  }
}
/* =========================================
   AI Intro Section Background
   تغییر بک‌گراند بخش معرفی نورون
   ========================================= */

.ai-page .ai-intro-section {
  background:
    radial-gradient(circle at 18% 18%, rgba(143, 215, 231, .18), transparent 34%),
    radial-gradient(circle at 82% 12%, rgba(138, 111, 255, .14), transparent 32%),
    linear-gradient(180deg, #050046 0%, #490066 100%) !important;

  padding: clamp(78px, 8vw, 120px) 0 !important;
}
/* سفید کردن تیتر بخش معرفی نورون */
.ai-page .ai-intro-section h1,
.ai-page .ai-intro-wrap h1 {
  color: #ffffff !important;
}
/* =========================================
   Robot Fallback Image
   عکس جایگزین ربات هنگام دیر لود شدن Spline
   ========================================= */

.ai-page .robot-stage {
  position: relative !important;
  overflow: hidden !important;
  background: #ffffff !important;
}

/* عکس جایگزین */
.ai-page .robot-fallback-img {
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;

  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;

  opacity: 1 !important;
  visibility: visible !important;

  transition: opacity .45s ease, visibility .45s ease !important;
  background: #ffffff !important;
}

/* iframe ربات */
.ai-page .spline-frame {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;

  width: 100% !important;
  height: calc(100% + var(--spline-crop-extra, 110px)) !important;

  border: 0 !important;
  background: #ffffff !important;

  opacity: 0 !important;
  transition: opacity .45s ease !important;
}

/* وقتی Spline آماده شد */
.ai-page .robot-stage.is-loaded .spline-frame {
  opacity: 1 !important;
  z-index: 3 !important;
}

.ai-page .robot-stage.is-loaded .robot-fallback-img {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* اگر Spline لود نشد، عکس بماند */
.ai-page .robot-stage.is-failed .robot-fallback-img {
  opacity: 1 !important;
  visibility: visible !important;
}

.ai-page .robot-stage.is-failed .spline-frame {
  opacity: 0 !important;
}
.inline-brand{
    display:inline-flex;
    align-items:center;
    gap:12px;
}

.inline-brand img{
    width:58px;
    height:58px;
    object-fit:contain;
}
.panel-title{
    text-align:center;
    line-height:2;
    font-size:1.18rem;
    font-weight:700;
    color:#000000;
    margin-bottom:60px;
}

.panel-title span{
    display:block;
}

/* =========================================
   Neuron panel transition
   انیمیشن مشترک ورود به پنل‌های نورون
   ========================================= */

.neuron-panel-is-leaving {
  overflow: hidden;
}

.neuron-panel-transition,
.neuron-panel-transition *,
.neuron-panel-transition *::before,
.neuron-panel-transition *::after {
  box-sizing: border-box;
}

.neuron-panel-transition {
  --neuron-transition-violet: #8b5cff;
  --neuron-transition-lilac: #c9adff;
  --neuron-transition-orange: #ff8a52;
  position: fixed;
  z-index: 10000;
  inset: 0;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-width: 100%;
  min-height: 100%;
  min-height: 100dvh;
  padding: clamp(18px, 4vw, 36px);
  direction: rtl;
  font-family: inherit;
  color: #ffffff;
  background:
    radial-gradient(circle at 50% 43%, rgba(139, 92, 255, .38), transparent 31%),
    radial-gradient(circle at 17% 78%, rgba(255, 138, 82, .14), transparent 25%),
    linear-gradient(138deg, #050024 0%, #10004b 52%, #280078 100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  clip-path: circle(
    0 at var(--neuron-transition-x, 50%) var(--neuron-transition-y, 50%)
  );
  transition:
    clip-path .88s cubic-bezier(.76, 0, .24, 1),
    opacity .16s ease,
    visibility 0s linear .9s;
}

.neuron-panel-transition[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  clip-path: circle(
    150vmax at var(--neuron-transition-x, 50%) var(--neuron-transition-y, 50%)
  );
  transition:
    clip-path .88s cubic-bezier(.76, 0, .24, 1),
    opacity .16s ease,
    visibility 0s;
}

.neuron-panel-transition::before,
.neuron-panel-transition::after {
  content: "";
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  pointer-events: none;
}

.neuron-panel-transition::before {
  width: min(78vw, 880px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow:
    0 0 0 68px rgba(255, 255, 255, .022),
    0 0 0 136px rgba(255, 255, 255, .016);
}

.neuron-panel-transition::after {
  width: min(47vw, 520px);
  aspect-ratio: 1;
  border: 1px dashed rgba(208, 181, 255, .19);
  animation: neuron-panel-ring-spin 13s linear infinite;
}

.neuron-panel-transition__grid {
  position: absolute;
  z-index: -3;
  inset: -22%;
  opacity: 0;
  background-image:
    linear-gradient(rgba(198, 168, 255, .075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(198, 168, 255, .075) 1px, transparent 1px);
  background-size: 48px 48px;
  transform: perspective(440px) rotateX(58deg) translateY(22%);
  transform-origin: center bottom;
}

.neuron-panel-transition[aria-hidden="false"] .neuron-panel-transition__grid {
  animation: neuron-panel-grid-in 1.12s .14s ease-out forwards;
}

.neuron-panel-transition__halo {
  position: absolute;
  z-index: -1;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .09);
  pointer-events: none;
}

.neuron-panel-transition__halo--outer {
  width: min(66vw, 720px);
  animation: neuron-panel-ring-spin 10s linear infinite;
}

.neuron-panel-transition__halo--inner {
  width: min(36vw, 390px);
  border-color: rgba(255, 150, 101, .16);
  border-style: dashed;
  animation: neuron-panel-ring-spin-reverse 8s linear infinite;
}

.neuron-panel-transition__content {
  position: relative;
  z-index: 2;
  width: min(500px, 100%);
  text-align: center;
  opacity: 0;
  transform: translateY(20px) scale(.965);
}

.neuron-panel-transition[aria-hidden="false"] .neuron-panel-transition__content {
  animation: neuron-panel-content-in .62s .34s cubic-bezier(.2, .8, .2, 1) forwards;
}

.neuron-panel-transition__brand-stage {
  position: relative;
  width: clamp(238px, 39vw, 310px);
  aspect-ratio: 1;
  margin: 0 auto clamp(12px, 2vw, 22px);
}

.neuron-panel-transition__brand-stage::before,
.neuron-panel-transition__brand-stage::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.neuron-panel-transition__brand-stage::before {
  inset: 19%;
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow:
    inset 0 0 28px rgba(167, 116, 255, .12),
    0 0 35px rgba(110, 43, 255, .13);
}

.neuron-panel-transition__brand-stage::after {
  inset: 30%;
  border: 1px dashed rgba(255, 255, 255, .13);
  animation: neuron-panel-ring-spin-reverse 5.5s linear infinite;
}

.neuron-panel-transition__brand-track {
  position: absolute;
  inset: 15%;
  border-radius: 50%;
  animation: neuron-panel-brand-orbit 3s linear infinite;
}

.neuron-panel-transition__brand {
  position: absolute;
  top: 50%;
  width: clamp(68px, 10vw, 84px);
  aspect-ratio: 1;
  transform: translateY(-50%);
}

.neuron-panel-transition__brand--harrasi {
  left: 0;
  transform: translate(-50%, -50%);
}

.neuron-panel-transition__brand--neuron {
  right: 0;
  transform: translate(50%, -50%);
}

.neuron-panel-transition__brand > span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .58);
  border-radius: 27px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(241, 235, 255, .91));
  box-shadow:
    0 18px 38px rgba(0, 0, 0, .27),
    0 0 28px rgba(180, 138, 255, .25);
  animation: neuron-panel-brand-counter-orbit 3s linear infinite;
}

.neuron-panel-transition__brand--harrasi > span {
  padding: 8px;
}

.neuron-panel-transition__brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.neuron-panel-transition__brand--harrasi img {
  width: 92%;
  height: 92%;
}

.neuron-panel-transition__core {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: clamp(54px, 8vw, 66px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 22px;
  background: rgba(11, 0, 55, .76);
  box-shadow:
    0 0 0 9px rgba(139, 92, 255, .09),
    0 0 36px rgba(165, 111, 255, .38);
  transform: translate(-50%, -50%) rotate(45deg);
  backdrop-filter: blur(8px);
}

.neuron-panel-transition__core i,
.neuron-panel-transition__core b {
  position: absolute;
  display: block;
  border-radius: 50%;
}

.neuron-panel-transition__core i {
  width: 12px;
  height: 12px;
  background: var(--neuron-transition-lilac);
  box-shadow: 0 0 16px rgba(208, 181, 255, .75);
}

.neuron-panel-transition__core i:first-child {
  top: 15px;
  left: 15px;
}

.neuron-panel-transition__core i:nth-child(2) {
  right: 15px;
  bottom: 15px;
  background: var(--neuron-transition-orange);
  box-shadow: 0 0 16px rgba(255, 138, 82, .7);
}

.neuron-panel-transition__core b {
  width: 4px;
  height: 25px;
  border-radius: 99px;
  background: linear-gradient(
    180deg,
    var(--neuron-transition-lilac),
    var(--neuron-transition-orange)
  );
}

.neuron-panel-transition__eyebrow {
  margin: 0 0 6px;
  color: rgba(255, 255, 255, .65);
  font-size: clamp(11px, 1.6vw, 13px);
  font-weight: 750;
  letter-spacing: .025em;
}

.neuron-panel-transition__content > strong {
  display: block;
  min-height: 1.5em;
  font-size: clamp(29px, 5.5vw, 46px);
  line-height: 1.45;
  font-weight: 850;
  letter-spacing: -.035em;
}

.neuron-panel-transition__content > small {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, .61);
  font-size: clamp(10px, 1.5vw, 12px);
}

.neuron-panel-transition__progress {
  width: min(275px, 72vw);
  height: 4px;
  overflow: hidden;
  margin: 22px auto 0;
  border-radius: 99px;
  direction: ltr;
  background: rgba(255, 255, 255, .14);
}

.neuron-panel-transition__progress i {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(90deg, #7e42ff, #eddfff 58%, var(--neuron-transition-orange));
  box-shadow: 0 0 15px rgba(219, 190, 255, .75);
  transform: scaleX(0);
  transform-origin: left center;
}

.neuron-panel-transition[aria-hidden="false"] .neuron-panel-transition__progress i {
  animation: neuron-panel-progress 1.12s .48s cubic-bezier(.4, 0, .2, 1) forwards;
}

.ai-page .role-card.is-launching {
  z-index: 5;
}

.ai-page .role-card.is-launching .role-link {
  color: #ffffff;
  background: #ff7f3f;
  box-shadow: 0 0 0 7px rgba(255, 127, 63, .17);
  transform: scale(.97);
}

@keyframes neuron-panel-ring-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes neuron-panel-ring-spin-reverse {
  to {
    transform: rotate(-360deg);
  }
}

@keyframes neuron-panel-grid-in {
  to {
    opacity: 1;
    transform: perspective(440px) rotateX(58deg) translateY(10%);
  }
}

@keyframes neuron-panel-content-in {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes neuron-panel-brand-orbit {
  to {
    transform: rotate(360deg);
  }
}

@keyframes neuron-panel-brand-counter-orbit {
  to {
    transform: rotate(-360deg);
  }
}

@keyframes neuron-panel-progress {
  to {
    transform: scaleX(1);
  }
}

@media (max-width: 480px) {
  .neuron-panel-transition {
    padding: 16px;
  }

  .neuron-panel-transition::before {
    width: 118vw;
  }

  .neuron-panel-transition::after,
  .neuron-panel-transition__halo--inner {
    width: 82vw;
  }

  .neuron-panel-transition__halo--outer {
    width: 112vw;
  }

  .neuron-panel-transition__brand-stage {
    width: min(244px, 72vw);
  }
}

@media (max-height: 640px) {
  .neuron-panel-transition__brand-stage {
    width: min(210px, 56vh);
    margin-bottom: 7px;
  }

  .neuron-panel-transition__progress {
    margin-top: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .neuron-panel-transition,
  .neuron-panel-transition::after,
  .neuron-panel-transition__grid,
  .neuron-panel-transition__halo,
  .neuron-panel-transition__brand-stage::after,
  .neuron-panel-transition__brand-track,
  .neuron-panel-transition__brand > span,
  .neuron-panel-transition__content,
  .neuron-panel-transition__progress i {
    animation: none !important;
    transition: none !important;
  }

  .neuron-panel-transition[aria-hidden="false"] {
    clip-path: none;
  }

  .neuron-panel-transition[aria-hidden="false"] .neuron-panel-transition__content {
    opacity: 1;
    transform: none;
  }

  .neuron-panel-transition[aria-hidden="false"] .neuron-panel-transition__grid {
    opacity: .65;
  }

  .neuron-panel-transition[aria-hidden="false"] .neuron-panel-transition__progress i {
    transform: scaleX(1);
  }
}
