/* ===================== RESET & VARIABLES ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --purple:       #6632f4;
  --purple-dark:  #4f1fd9;
  --purple-mid:   #7c4ef5;
  --blue:         #3378d6;
  --blue-light:   #2d86d6;
  --gray:         #77797c;
  --black:        #000000;
  --dark:         #04040a;
  --dark2:        #070710;
  --dark3:        #0b0b18;
  --white:        #ffffff;
  --text:         rgba(255,255,255,0.82);
  --text-dim:     rgba(255,255,255,0.42);
  --border:       rgba(255,255,255,0.055);
  --glass:        rgba(255,255,255,0.028);
  --glass-hover:  rgba(255,255,255,0.055);
  --gradient:     linear-gradient(135deg, #6632f4 0%, #3378d6 55%, #2d86d6 100%);
  --glow-purple:  rgba(102,50,244,0.45);
  --glow-blue:    rgba(51,120,214,0.45);
  --font-h:       'Rajdhani', system-ui, sans-serif;
  --font-b:       'Inter', system-ui, sans-serif;
  --ease:         cubic-bezier(0.4,0,0.2,1);
  --t:            all 0.3s var(--ease);
  --t-slow:       all 0.65s var(--ease);
  --r:            16px;
  --r-lg:         24px;
}

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

body {
  font-family: var(--font-b);
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ===================== CURSOR GLOW ===================== */
.cursor-glow {
  position: fixed;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(102,50,244,0.07) 0%, transparent 68%);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  will-change: left, top;
}

/* ===================== GRADIENT TEXT ===================== */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===================== GLASS CARD ===================== */
.glass-card {
  background: var(--glass);
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, transparent 60%);
  border-radius: inherit;
  pointer-events: none;
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-b);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--t);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn > * { position: relative; z-index: 1; }

/* Shimmer layer */
.btn--primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--purple-dark) 0%, var(--blue) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: inherit;
}
.btn--primary:hover::after { opacity: 1; }

.btn--primary {
  background: var(--gradient);
  color: var(--white);
}
.btn--primary:hover { transform: translateY(-2px); color: var(--white); }

.btn--glow { box-shadow: 0 0 32px rgba(102,50,244,0.38); }
.btn--glow:hover { box-shadow: 0 0 55px rgba(102,50,244,0.6), 0 8px 32px rgba(102,50,244,0.3); }

.btn--ghost {
  background: rgba(255,255,255,0.04);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.12);
}
.btn--ghost:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.25); transform: translateY(-2px); }

.btn--nav {
  background: var(--gradient);
  color: var(--white);
  padding: 10px 24px;
  font-size: 0.875rem;
  box-shadow: 0 0 22px rgba(102,50,244,0.32);
}
.btn--nav:hover { transform: translateY(-1px); color: var(--white); box-shadow: 0 0 36px rgba(102,50,244,0.55); }
.btn--nav::after { display: none; }

.btn--lg { padding: 18px 44px; font-size: 1.05rem; }
.btn--full { width: 100%; justify-content: center; padding: 18px; }

/* ===================== SECTION COMMONS ===================== */
.section { padding: 120px 0; }

.section__header { text-align: center; max-width: 700px; margin: 0 auto 72px; }

.section__tag {
  display: inline-block;
  background: rgba(102,50,244,0.1);
  border: 1px solid rgba(102,50,244,0.28);
  color: rgba(255,255,255,0.75);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.section__title {
  font-family: var(--font-h);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section__sub { color: var(--text-dim); font-size: 1.05rem; line-height: 1.75; }

/* ===================== ORBS ===================== */
.hero__orb, .svc-bg-orb, .process-bg-orb, .contact-bg-orb, .footer-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}

/* ===================== NAV ===================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  transition: var(--t);
}

.nav.scrolled {
  background: rgba(4,4,10,0.88);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav__logo { display: flex; align-items: center; gap: 6px; }

.nav__logo-img {
  height: 36px;
  width: auto;
  display: block;
}
.nav__logo-img--footer { height: 80px; }

.logo-text {
  font-family: var(--font-h);
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-dot {
  width: 7px; height: 7px;
  background: var(--purple);
  border-radius: 50%;
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(102,50,244,0.7); }
  50% { box-shadow: 0 0 0 6px rgba(102,50,244,0); }
}

.nav__links { display: flex; align-items: center; gap: 40px; }

.nav__links li > a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--t);
  position: relative;
}
.nav__links li > a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav__links li > a:hover { color: var(--white); }
.nav__links li > a:hover::after { transform: scaleX(1); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}
.nav__toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--t);
}
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* MOBILE MENU */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(4,4,10,0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  padding: 24px 28px 36px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.nav__toggle.open { display: none; }

.mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}

.mobile-menu__close {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: none;
  color: var(--white);
  font-size: 1.15rem;
  cursor: pointer;
  transition: var(--t);
}
.mobile-menu__close:hover {
  border-color: var(--purple);
  color: var(--purple-mid);
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.mobile-menu__links li {
  border-bottom: 1px solid var(--border);
}
.mobile-menu__links li a {
  font-family: var(--font-h);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  padding: 20px 4px;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.mobile-menu__links li a:hover {
  color: var(--purple-mid);
  padding-left: 10px;
}

.mobile-menu__footer {
  padding-top: 28px;
}
.mobile-menu__footer .btn {
  width: 100%;
  justify-content: center;
  font-size: 1rem;
  padding: 18px 24px;
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse 55% 70% at 0% 45%, rgba(102,50,244,0.11) 0%, transparent 65%), var(--dark);
}

.orb--1 {
  width: 750px; height: 750px;
  background: rgba(102,50,244,0.11);
  top: -280px; left: -200px;
  animation: orbDrift 14s ease-in-out infinite;
}
.orb--2 {
  width: 560px; height: 560px;
  background: rgba(51,120,214,0.12);
  top: 10%; right: -160px;
  animation: orbDrift 11s ease-in-out infinite reverse;
}
.orb--3 {
  width: 380px; height: 380px;
  background: rgba(45,134,214,0.07);
  bottom: -80px; left: 38%;
  animation: orbDrift 16s ease-in-out infinite;
}

@keyframes orbDrift {
  0%, 100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(28px,-28px) scale(1.04); }
  66% { transform: translate(-18px,22px) scale(0.96); }
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 52fr) minmax(0, 48fr);
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 2;
  min-height: 100vh;
  padding-top: 120px;
  padding-bottom: 80px;
}

.hero__left { min-width: 0; overflow: hidden; }

.hero__right {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

#neuronCanvas {
  display: block;
  width: 100%;
  height: 560px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(102,50,244,0.1);
  border: 1px solid rgba(102,50,244,0.24);
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 9px 20px;
  border-radius: 50px;
  margin-bottom: 32px;
}

.badge__pulse {
  width: 7px; height: 7px;
  background: var(--purple);
  border-radius: 50%;
  animation: dotPulse 1.6s ease-in-out infinite;
}

.hero__title {
  font-family: var(--font-h);
  font-size: clamp(3.6rem, 10vw, 8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 0.98;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero__title--service {
  font-size: clamp(2.2rem, 4.2vw, 4rem);
}

.typed-cursor {
  color: var(--purple);
  animation: cursorBlink 0.85s step-end infinite;
  font-weight: 300;
  margin-left: 3px;
}
@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-dim);
  line-height: 1.78;
  margin-bottom: 48px;
  max-width: 600px;
}

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }

.hero__trust { display: flex; gap: 24px; flex-wrap: wrap; }

.trust-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-dim);
}
.trust-icon {
  width: 18px; height: 18px;
  background: var(--purple);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-icon i { color: var(--white); font-size: 0.58rem; }

.hero__scroll {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.scroll-line {
  width: 1px; height: 64px;
  background: linear-gradient(to bottom, var(--purple), transparent);
  margin: 0 auto;
  animation: scrollAnim 2.2s ease-in-out infinite;
}
@keyframes scrollAnim {
  0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  40% { opacity: 1; transform: scaleY(1); }
  80% { opacity: 0; transform: scaleY(1); }
  100% { opacity: 0; }
}

/* ===================== MARQUEE ===================== */
.marquee-wrap {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(102,50,244,0.035);
  overflow: hidden;
  padding: 16px 0;
}
.marquee-track { overflow: hidden; }
.marquee-content {
  display: flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
  animation: marqueeRun 32s linear infinite;
  width: max-content;
}
.marquee-content span {
  font-family: var(--font-h);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.28);
}
.mdot { color: var(--purple) !important; opacity: 0.8 !important; }
@keyframes marqueeRun {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===================== SERVICES ===================== */
.services { position: relative; background: var(--dark); }

.svc-bg-orb {
  width: 650px; height: 650px;
  background: rgba(51,120,214,0.07);
  right: -250px; top: 50%;
  transform: translateY(-50%);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.services__grid--2col { grid-template-columns: repeat(2, 1fr); }

.svc-card {
  padding: 36px 30px;
  transition: var(--t-slow);
  cursor: default;
}
.svc-card:hover {
  transform: translateY(-8px);
  background: var(--glass-hover);
  border-color: rgba(102,50,244,0.18);
}
.svc-card--wide { grid-column: span 2; }
.svc-card--wide .svc-list { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }

.svc-card--full { grid-column: 1 / -1; }
.svc-card__inner-full {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.svc-list--full {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}

.svc-card__glow {
  position: absolute;
  width: 140px; height: 140px;
  border-radius: 50%;
  filter: blur(55px);
  top: -30px; right: -30px;
  opacity: 0;
  transition: opacity 0.45s ease;
}
.svc-card:hover .svc-card__glow { opacity: 1; }
.glow--purple { background: rgba(102,50,244,0.5); }
.glow--blue { background: rgba(51,120,214,0.5); }

.svc-card__icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--white);
  background: var(--gradient);
  box-shadow: 0 0 28px rgba(102,50,244,0.4);
  margin-bottom: 24px;
  transition: var(--t);
}
.svc-card:hover .svc-card__icon { transform: scale(1.1) rotate(-4deg); box-shadow: 0 0 40px rgba(102,50,244,0.6); }

.svc-card h3 {
  font-family: var(--font-h);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.svc-card p { color: var(--text-dim); font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; }

.svc-list { display: flex; flex-direction: column; gap: 9px; margin-bottom: 24px; }
.svc-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.55);
}
.svc-list li i { color: var(--purple); font-size: 0.65rem; }

.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: gap 0.2s ease;
}
.svc-link:hover { gap: 14px; }

/* ===================== STATS ===================== */
.stats {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.stat-card {
  padding: 44px 32px;
  text-align: center;
  transition: var(--t-slow);
}
.stat-card:hover { transform: translateY(-6px); background: var(--glass-hover); border-color: rgba(102,50,244,0.16); }

.stat-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: 12px;
}

.stat-num {
  font-family: var(--font-h);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1;
}
.stat-suf, .stat-pre {
  font-family: var(--font-h);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
}

.stat-label { font-size: 0.85rem; color: var(--text-dim); }

/* ===================== PROCESS ===================== */
.process { position: relative; background: var(--dark); }

.process-bg-orb {
  width: 700px; height: 700px;
  background: rgba(102,50,244,0.07);
  left: -300px; top: 50%;
  transform: translateY(-50%);
}

.process__steps {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.process-step {
  flex: 1;
  padding: 44px 36px;
  transition: var(--t-slow);
  text-align: center;
}
.process-step:hover { transform: translateY(-8px); background: var(--glass-hover); border-color: rgba(102,50,244,0.2); }

.step-num {
  font-family: var(--font-h);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 20px;
  opacity: 0.8;
}

.step-icon {
  width: 64px; height: 64px;
  background: var(--gradient);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--white);
  margin: 0 auto 24px;
  box-shadow: 0 0 32px rgba(102,50,244,0.4);
  transition: var(--t);
}
.process-step:hover .step-icon { transform: scale(1.1); box-shadow: 0 0 48px rgba(102,50,244,0.65); }

.process-step h3 {
  font-family: var(--font-h);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.process-step p { color: var(--text-dim); font-size: 0.9rem; line-height: 1.7; margin-bottom: 20px; }

.step-tag {
  display: inline-block;
  background: rgba(102,50,244,0.1);
  border: 1px solid rgba(102,50,244,0.22);
  color: rgba(255,255,255,0.55);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 5px 14px;
  border-radius: 50px;
}

.step-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  position: relative;
}

.connector-line { display: none; }
.connector-icon {
  font-size: 0.9rem;
  color: rgba(102,50,244,0.55);
}

/* ===================== CONTACT / LEAD FORM ===================== */
.contact { position: relative; background: var(--dark2); }

.contact-bg-orb {
  width: 600px; height: 600px;
  background: rgba(102,50,244,0.09);
  right: -200px; top: 50%;
  transform: translateY(-50%);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.contact__left .section__tag { display: inline-block; margin-bottom: 16px; }
.contact__left .section__title { text-align: left; margin-bottom: 16px; }

.contact__desc { color: var(--text-dim); font-size: 0.95rem; line-height: 1.8; margin-bottom: 36px; }

.contact__perks { display: flex; flex-direction: column; gap: 28px; }

.perk {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0;
  transition: var(--t);
}
.perk:hover { transform: translateX(6px); }

.perk__icon {
  width: 46px; height: 46px;
  background: var(--gradient);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--white);
  flex-shrink: 0;
  box-shadow: 0 0 22px rgba(102,50,244,0.38);
}

.perk strong { display: block; font-size: 0.92rem; color: var(--white); margin-bottom: 3px; font-weight: 600; }
.perk span { font-size: 0.82rem; color: var(--text-dim); }

/* FORM */
.lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 40px;
  border-radius: 20px;
  text-align: left;
}

.form-title {
  font-family: var(--font-h);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
}

.lead-form .form-title,
.lead-form .form-note,
.lead-form button[type="submit"] {
  grid-column: 1 / -1;
}

.form-row { display: contents; }

.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 0; }

.lead-form .form-group:has(textarea) { grid-column: 1 / -1; }

.lead-form .form-group:has(input[type="url"]) { grid-column: 1 / -1; }

.lead-form .form-group label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.req { color: var(--purple-mid); }
.optional { font-weight: 400; color: var(--text-dim); font-size: 0.78rem; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-b);
  font-size: 0.95rem;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  resize: vertical;
  box-sizing: border-box;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(102,50,244,0.45);
}
.form-group select option { background: #0f0f1e; color: var(--white); }

.form-group textarea { min-height: 120px; }

.lead-form button[type="submit"] { width: 100%; justify-content: center; margin-top: 10px; }

.form-group input.error,
.form-group select.error,
.form-group textarea.error { border-color: rgba(255,80,80,0.5); box-shadow: 0 0 0 3px rgba(255,80,80,0.08); }

.ap-form__input.error { border-color: rgba(255,80,80,0.5); box-shadow: 0 0 0 3px rgba(255,80,80,0.08); }

.form-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.form-note i { color: var(--purple-mid); }

/* ===================== FOOTER ===================== */
.footer { position: relative; background: var(--dark3); border-top: 1px solid var(--border); padding-top: 80px; }

.footer-orb {
  width: 500px; height: 500px;
  background: rgba(102,50,244,0.06);
  left: -200px; bottom: 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 60px;
}

.footer__logo { display: flex; align-items: center; gap: 6px; margin-bottom: 16px; }

.footer__brand p {
  color: rgba(255,255,255,0.38);
  font-size: 0.875rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.9rem;
  transition: var(--t);
}
.footer__social a:hover { background: var(--purple); border-color: var(--purple); color: var(--white); box-shadow: 0 0 20px rgba(102,50,244,0.4); }

.footer__col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}

.footer__col ul { display: flex; flex-direction: column; gap: 12px; }
.footer__col ul li a {
  color: rgba(255,255,255,0.42);
  font-size: 0.88rem;
  transition: var(--t);
}
.footer__col ul li a:hover { color: var(--white); }

.footer__cta-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}
.footer__cta-col p { color: rgba(255,255,255,0.4); font-size: 0.85rem; line-height: 1.6; margin-bottom: 20px; }

.footer__bottom { border-top: 1px solid var(--border); padding: 24px 0; }

.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
}
.footer__bottom-inner p { color: rgba(255,255,255,0.22); font-size: 0.78rem; }
.footer__legal-link { color: rgba(255,255,255,0.4); font-size: 0.8rem; text-decoration: none; transition: color 0.2s; }
.footer__legal-link:hover { color: rgba(255,255,255,0.75); }
.footer__tagline { position: absolute; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.22); font-size: 0.78rem; white-space: nowrap; }

/* ===================== MODAL ===================== */
.modal {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 24px;
  backdrop-filter: blur(8px);
}
.modal.active { opacity: 1; pointer-events: all; }

.modal__card {
  padding: 56px 48px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  transform: scale(0.92);
  transition: transform 0.35s var(--ease);
}
.modal.active .modal__card { transform: scale(1); }

.modal__icon { font-size: 3.5rem; margin-bottom: 20px; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.modal__card h3 { font-family: var(--font-h); font-size: 1.7rem; font-weight: 800; color: var(--white); margin-bottom: 14px; }
.modal__card p { color: var(--text-dim); font-size: 0.95rem; line-height: 1.7; margin-bottom: 28px; }

/* ===================== SCROLL ANIMATIONS ===================== */
[data-aos] { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-aos].aos-in { opacity: 1; transform: translateY(0); }

/* ===================== MEGA DROPDOWN ===================== */
.nav__item--mega { position: relative; }

.nav__mega-trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--t);
  cursor: pointer;
}
.nav__mega-trigger:hover { color: var(--white); }

.nav__caret {
  font-size: 0.65rem;
  transition: transform 0.25s var(--ease);
  margin-top: 1px;
}
.nav__item--mega:hover .nav__caret { transform: rotate(180deg); }

.nav__mega-panel {
  position: fixed;
  top: 68px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: min(680px, calc(100vw - 24px));
  background: #0b0b18;
  border: 1px solid rgba(102,50,244,0.22);
  border-radius: 20px;
  padding: 12px 0 0;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.04);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
  z-index: 9998;
}
.nav__item--mega.mega-open .nav__mega-panel {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.mega__header {
  padding: 20px 28px 16px;
}

.mega__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding: 0 28px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.mega__label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.mega__all-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--purple-mid);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: var(--t);
}
.mega__all-link:hover { color: var(--white); }
.mega__all-link i { font-size: 0.7rem; }

.mega__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 8px 16px 20px;
}

.mega__agent {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: 12px;
  transition: background 0.2s var(--ease);
  text-decoration: none;
}
.mega__agent:hover { background: rgba(102,50,244,0.12); }

.mega__agent-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(102,50,244,0.25);
  flex-shrink: 0;
  overflow: hidden;
}

.mega__agent-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 1px;
  min-width: 0;
}
.mega__agent-name {
  font-family: var(--font-h);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.mega__agent-role {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.38);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Services Mega Dropdown ---------- */
.mega__services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px;
  padding: 8px 16px 20px;
}
.mega__service {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.2s var(--ease);
}
.mega__service:hover { background: rgba(102,50,244,0.12); }
.mega__service-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(102,50,244,0.12);
  border: 1px solid rgba(102,50,244,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--purple);
  font-size: 0.9rem;
  flex-shrink: 0;
}
.mega__service-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mega__service-name {
  font-family: var(--font-h);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.mega__service-desc {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.35);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Mobile Menu Services Accordion ---------- */
.mobile-link-style {
  font-family: var(--font-h);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s;
}
.mobile-link-style:hover { color: var(--purple); }
.mobile-expand-row {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
}
.mobile-link--split {
  flex: 1;
  border-bottom: none;
  padding-right: 8px;
}
.mobile-caret-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--white);
  padding: 20px 4px 20px 12px;
  font-size: 1rem;
  display: flex;
  align-items: center;
}
.mobile-caret-btn .expand-caret { transition: transform 0.3s var(--ease); }
.mobile-caret-btn.is-open .expand-caret { transform: rotate(180deg); }
.mobile-expand-btn .expand-caret { transition: transform 0.3s var(--ease); }
.mobile-expand-btn.is-open .expand-caret { transform: rotate(180deg); }
.mobile-submenu {
  list-style: none;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.mobile-submenu.is-open { max-height: 400px; }
.mobile-submenu li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0 10px 16px;
  font-size: 0.92rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  border-left: 2px solid rgba(102,50,244,0.3);
  transition: color 0.2s, border-color 0.2s;
  margin-top: 8px;
}
.mobile-submenu li a:hover { color: var(--white); border-color: var(--purple); }
.mobile-submenu li a i { color: var(--purple); font-size: 0.85rem; width: 16px; text-align: center; }
.mobile-submenu--agents.is-open { max-height: 620px; }
.mobile-submenu--agents li a.mobile-agent-link {
  gap: 12px;
  padding: 9px 0 9px 16px;
}
.mobile-agent-link__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.mobile-agent-link__info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.mobile-agent-link__name {
  font-family: var(--font-h);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
}
.mobile-agent-link__role {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.42);
  line-height: 1.25;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  #neuronCanvas { height: 460px; }
  .services__grid { grid-template-columns: 1fr 1fr; }
  .svc-card--wide { grid-column: span 2; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__inner { grid-template-columns: 1fr; gap: 48px; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .process__steps { flex-direction: column; }
  .step-connector { flex-direction: row; padding: 4px 0; }
  .connector-icon { margin-top: 0; transform: rotate(90deg); }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .nav__links { display: none; }
  .nav__toggle { display: flex; }

  /* Hero */
  .hero__inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 110px;
    padding-bottom: 56px;
    gap: 40px;
  }
  .hero__right { display: block; width: 100%; }
  .hero,
  .hero__inner,
  .hero__left,
  .hero__right {
    max-width: 100%;
  }
  #neuronCanvas {
    height: 300px;
    width: 100%;
    max-width: 100%;
    touch-action: pan-y;
  }
  .hero__trust { display: none; }
  .hero__title { font-size: clamp(2.4rem, 10vw, 3.6rem); }
  .hero__actions { flex-direction: column; align-items: flex-start; }
  .hero__trust { flex-direction: column; gap: 12px; }
  .hero__orb { display: none; }
  .cursor-glow,
  .svc-bg-orb,
  .process-bg-orb,
  .contact-bg-orb,
  .footer-orb { display: none; }

  /* Services grid (legacy) */
  .services__grid { grid-template-columns: 1fr; }
  .services__grid--2col { grid-template-columns: 1fr; }
  .svc-card--wide { grid-column: span 1; }
  .svc-card--wide .svc-list { display: flex; flex-direction: column; }
  .svc-card--full { grid-column: span 1; }
  .svc-card__inner-full { grid-template-columns: 1fr; gap: 28px; }
  .svc-list--full { grid-template-columns: 1fr; }

  /* svc-intro mobile — single column, image clipped */
  .svc-intro {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .svc-intro__img-wrap {
    overflow: hidden;
    order: -1;
  }
  .svc-intro__img-glow { inset: -20px; }
  .svc-intro__title { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  .svc-intro__desc { font-size: 0.95rem; }

  /* Agent roster */
  .agent-card { width: min(240px, 72vw); }

  /* Agents video */
  .agents-video__text { padding: 60px 24px; }

  /* Stats */
  .stats__grid { grid-template-columns: 1fr 1fr; }

  /* Footer */
  .footer__inner { grid-template-columns: 1fr; }
  .footer__cta-col { display: none; }
  .footer__bottom-inner { flex-direction: column; text-align: center; gap: 6px; }
  .footer__tagline { position: static; transform: none; order: -1; }

  /* Form */
  .lead-form { grid-template-columns: 1fr; padding: 24px 20px; }

  .section__header { margin-bottom: 48px; }

  /* Hide hero CTAs when sticky CTA is present */
  .hero--has-sticky .hero__actions { display: none; }

  /* Service page inline grids: collapse 2-col to 1-col */
  .section [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  /* Service page hero: remove oversized min-height, fix buttons */
  section.hero[style*="min-height"] {
    min-height: 0 !important;
  }
  section.hero .container > div[style*="min-height"] {
    min-height: 0 !important;
    padding-bottom: 56px !important;
  }
  .hero .hero__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .hero .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .stats__grid { grid-template-columns: 1fr; }
  .hero__inner { padding-top: 100px; }
  .hero__badge { font-size: 0.68rem; }
  .btn--lg { padding: 14px 28px; font-size: 0.92rem; }
  .agent-card { width: min(220px, 78vw); }
  .agents-video__content { border-radius: 16px; }
  .svc-intro__img-glow { display: none; }
  .process__steps { gap: 0; }
  .contact__perks { gap: 20px; }
}

/* ===================== AI AGENTS VIDEO SECTION ===================== */
.agents-video-section {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0 24px;
  background: var(--dark);
}

/* Container — same 1200px as the rest of the site */
.agents-video__content {
  position: relative;
  width: 100%;
  max-width: 1200px;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 24px;
}

.agents-video__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Multi-layer mask: left dark ramp for text + bottom fade into next section */
.agents-video__fade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right,
      #04040a 0%,
      rgba(4,4,10,0.88) 28%,
      rgba(4,4,10,0.45) 52%,
      rgba(4,4,10,0.08) 75%,
      transparent 100%
    ),
    linear-gradient(to bottom,
      transparent 50%,
      rgba(4,4,10,0.6) 78%,
      #04040a 100%
    );
}

.agents-video__text {
  position: relative;
  z-index: 2;
  max-width: 460px;
  padding: 80px 40px;
}

.agents-video__title {
  font-family: var(--font-h);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.0;
  letter-spacing: -0.01em;
  margin: 16px 0 22px;
}

.agents-video__sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  margin-bottom: 36px;
}

.section__tag--light {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.8);
}


/* Desktop video on by default, mobile video hidden */
.agents-video__bg--mobile { display: none; }

@media (max-width: 768px) {
  .agents-video__bg--desktop { display: none; }
  .agents-video__bg--mobile {
    display: block;
    object-position: center center;
  }
  .agents-video__content { min-height: 90vh; border-radius: 16px; align-items: flex-end; }
  .agents-video__text { max-width: 100%; padding: 28px 28px 56px; }
  .agents-video__cta { width: 100%; justify-content: center; }
  .agents-video__title { font-size: clamp(2.2rem, 9vw, 3rem); }
  .agents-video__fade {
    background:
      linear-gradient(to bottom,
        rgba(4,4,10,0.3) 0%,
        rgba(4,4,10,0.55) 50%,
        #04040a 100%
      ),
      linear-gradient(to right,
        rgba(4,4,10,0.6) 0%,
        transparent 70%
      );
  }
}

/* ===================== AGENT ROSTER ===================== */
.roster__track-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(102,50,244,0.4) transparent;
  padding-bottom: 12px;
  margin: 0 -24px;
  padding-left: 24px;
  padding-right: 24px;
  cursor: grab;
}
.roster__track-wrap:active { cursor: grabbing; }
.roster__track-wrap::-webkit-scrollbar { height: 4px; }
.roster__track-wrap::-webkit-scrollbar-track { background: transparent; }
.roster__track-wrap::-webkit-scrollbar-thumb { background: rgba(102,50,244,0.4); border-radius: 4px; }

.roster__track {
  display: flex;
  gap: 20px;
  width: max-content;
}

.agent-card {
  width: 260px;
  flex-shrink: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.agent-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(102,50,244,0.25);
}

.agent-card__img-wrap {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, #0d0d22, #1a1040);
  display: flex;
  align-items: center;
  justify-content: center;
}
.agent-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.agent-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.agent-card__name {
  font-family: var(--font-h);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
}
.agent-card__desc {
  font-size: 0.875rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.agent-card__role {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple-mid);
  margin-bottom: 8px;
}

/* ===================== SERVICES INTRO (two-column) ===================== */
.svc-intro {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 72px;
  align-items: center;
  margin-bottom: 0;
}

.svc-intro__tag-wrap {
  text-align: center;
  margin-bottom: 32px;
}
.svc-intro__copy { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }

.svc-intro__title {
  font-family: var(--font-h);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.svc-intro__desc {
  font-size: 1.05rem;
  color: var(--text-dim);
  line-height: 1.8;
}

.svc-intro__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.svc-intro__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.5;
}
.svc-intro__list li i {
  color: var(--purple-mid);
  margin-top: 3px;
  flex-shrink: 0;
}

.svc-intro__img-wrap {
  position: relative;
  border-radius: var(--r-lg);
  overflow: visible;
}

.svc-intro__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r-lg);
  border: 1px solid rgba(102,50,244,0.35);
  box-shadow:
    0 0 60px rgba(102,50,244,0.25),
    0 0 120px rgba(51,120,214,0.12),
    0 32px 64px rgba(0,0,0,0.6);
}

.svc-intro__img-glow {
  position: absolute;
  inset: -60px;
  background: radial-gradient(ellipse at center, rgba(102,50,244,0.28) 0%, rgba(51,120,214,0.1) 45%, transparent 70%);
  pointer-events: none;
  z-index: -1;
  border-radius: 50%;
}

@media (max-width: 900px) {
  .svc-intro {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .svc-intro__img-wrap {
    order: -1;
    overflow: hidden;
  }
  .svc-intro__copy { align-items: center; text-align: center; }
  .svc-intro__list { text-align: left; }
  .svc-intro__copy .btn { width: 100%; justify-content: center; }
}

/* ===================== AGENTS PAGE ===================== */

/* ---------- Hero (centered single column) ---------- */
.ateam-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 0 80px;
}
.ateam-hero__bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}
.ateam-hero__bg-orb--1 {
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(102,50,244,0.38) 0%, transparent 70%);
  top: -100px; right: -200px;
}
.ateam-hero__bg-orb--2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(51,120,214,0.28) 0%, transparent 70%);
  bottom: -100px; left: -200px;
}
.ateam-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 1;
}
.ateam-hero__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  text-align: left;
}
.ateam-hero__right {
  display: flex;
  align-items: center;
  justify-content: center;
}
.ateam-hero__right #neuronCanvas {
  width: 100% !important;
  height: 560px !important;
  display: block;
}
.ateam-hero__title {
  font-family: var(--font-h);
  font-size: clamp(2.8rem, 5.5vw, 4.4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
}
.ateam-hero__sub {
  font-size: 1.05rem;
  line-height: 1.78;
  color: var(--text-dim);
  max-width: 600px;
}
.ateam-hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---------- CRM Diagram Section ---------- */
.crm-section { padding-bottom: 60px; }

/* Desktop canvas */
.crm-canvas {
  position: relative;
  width: 820px;
  height: 540px;
  margin: 0 auto;
}
.crm-canvas__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: visible;
}
.crm-canvas__char {
  position: absolute;
  width: 230px;
  left: 295px;
  top: 140px;
  z-index: 2;
  animation: float-bob 5s ease-in-out infinite;
  filter: drop-shadow(0 0 50px rgba(102,50,244,0.65))
          drop-shadow(0 0 20px rgba(51,120,214,0.4));
}

/* Node cards — absolute positioned on desktop */
.crm-node {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  white-space: nowrap;
  animation: float-bob 5s ease-in-out infinite;
}
.crm-node--brand       { top: 50px;  left: 30px;  animation-delay: 0.4s; }
.crm-node--pipeline    { top: 50px;  left: 520px; animation-delay: 0.8s; }
.crm-node--forms       { top: 258px; left: 10px;  animation-delay: 1.2s; }
.crm-node--integrations{ top: 258px; left: 630px; animation-delay: 1.6s; }
.crm-node--automations { top: 462px; left: 30px;  animation-delay: 2.0s; }
.crm-node--reports     { top: 462px; left: 520px; animation-delay: 2.4s; }

.crm-node__icon {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: rgba(102,50,244,0.18);
  border: 1px solid rgba(102,50,244,0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  font-size: 0.85rem;
  flex-shrink: 0;
}
.crm-node__label {
  display: block;
  font-size: 0.67rem;
  color: var(--text-dim);
  line-height: 1.2;
}
.crm-node__val {
  display: block;
  font-size: 0.78rem;
  color: var(--white);
  font-weight: 600;
}

/* Mobile fallback */
.crm-mobile { display: none; }

/* ---------- Agent spotlights ---------- */
.ateam-list { padding-bottom: 60px; }

.agent-spot {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 0;
  align-items: stretch;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--glass);
  backdrop-filter: blur(28px);
  margin-bottom: 48px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.agent-spot:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
}
.agent-spot--flip .agent-spot__media { order: 1; }
.agent-spot--flip .agent-spot__body  { order: 0; }

.agent-spot__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(102,50,244,0.08), rgba(0,0,0,0.4));
}
.agent-spot__media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(102,50,244,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.agent-spot__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 60%);
  pointer-events: none;
}
.agent-spot__num {
  position: absolute;
  font-family: var(--font-h);
  font-size: 200px;
  font-weight: 700;
  line-height: 1;
  bottom: -20px; right: -10px;
  color: rgba(255,255,255,0.035);
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.05em;
}
.agent-spot__circle {
  position: relative;
  z-index: 2;
  width: 110px; height: 110px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  color: #fff;
}
.agent-spot__ring {
  position: absolute;
  width: 170px; height: 170px;
  border-radius: 50%;
  border: 1px dashed rgba(255,255,255,0.12);
  z-index: 1;
  animation: spin-ring 20s linear infinite;
}
.agent-spot__body {
  padding: 48px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.agent-spot--flip .agent-spot__body { padding: 48px 48px; }

.agent-spot__label {
  display: inline-flex;
  align-items: center;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid;
  align-self: flex-start;
}
.agent-spot__name {
  font-family: var(--font-h);
  font-size: clamp(2.6rem, 4vw, 3.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.agent-spot__desc {
  font-size: 0.97rem;
  line-height: 1.78;
  color: var(--text-dim);
}
.agent-spot__caps {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.agent-spot__caps li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
}
.agent-spot__caps li i {
  color: var(--purple);
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* ---------- Agent Bento Grid ---------- */
.agent-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}
.agent-bento__card {
  background: #0d0d1e;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.agent-bento__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(0,0,0,0.4);
}
.agent-bento__card--wide { grid-column: span 2; }
.agent-bento__card--h    { flex-direction: row; min-height: 360px; }
.agent-bento__card--v    { flex-direction: column; }

.agent-bento__img {
  background: #0d0d1e;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.agent-bento__img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 75%, rgba(102,50,244,0.16) 0%, transparent 65%);
  pointer-events: none;
}
.agent-bento__img::after {
  content: '\f03e';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.6rem;
  color: rgba(255,255,255,0.06);
  pointer-events: none;
}
.agent-bento__card--h .agent-bento__img { width: 42%; }
.agent-bento__card--v .agent-bento__img {
  flex: 1;
  min-height: 190px;
  width: 100%;
}

.agent-bento__copy {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  flex: 1;
}
.agent-bento__card--v .agent-bento__copy {
  justify-content: flex-start;
  flex: 0 0 auto;
}

.agent-bento__card--chase .agent-bento__img::before {
  background: radial-gradient(ellipse at 50% 70%, rgba(220,40,40,0.28) 0%, transparent 60%);
}
.agent-bento__card--chase .agent-bento__img::after { display: none; }

.agent-bento__card--ana .agent-bento__img::before {
  background: radial-gradient(ellipse at 50% 70%, rgba(40,180,60,0.25) 0%, transparent 60%);
}
.agent-bento__card--ana .agent-bento__img::after { display: none; }

.agent-bento__card--sophie .agent-bento__img::before {
  background: radial-gradient(ellipse at 50% 70%, rgba(51,120,214,0.35) 0%, transparent 60%);
}
.agent-bento__card--sophie .agent-bento__img::after { display: none; }

.agent-bento__card--millo .agent-bento__img::before {
  background: radial-gradient(ellipse at 50% 70%, rgba(102,50,244,0.35) 0%, transparent 60%);
}
.agent-bento__card--millo .agent-bento__img::after { display: none; }

.agent-bento__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  border-radius: 50px;
  background: rgba(102,50,244,0.1);
  border: 1px solid rgba(102,50,244,0.28);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  align-self: flex-start;
}
.agent-bento__badge i { color: var(--purple); font-size: 0.7rem; }
.agent-bento__title {
  font-family: var(--font-h);
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.agent-bento__desc {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-dim);
  max-width: 380px;
}

/* ---------- Why section ---------- */
.ateam-why { position: relative; overflow: hidden; }
.ateam-why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.ateam-why__card {
  padding: 36px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.ateam-why__icon {
  width: 60px; height: 60px;
  border-radius: 18px;
  background: rgba(102,50,244,0.14);
  border: 1px solid rgba(102,50,244,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--purple);
  font-size: 1.4rem;
}
.ateam-why__card h3 {
  font-family: var(--font-h);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.ateam-why__card p {
  font-size: 0.93rem;
  line-height: 1.72;
  color: var(--text-dim);
}

/* ---------- CTA banner ---------- */
.ateam-cta-banner__inner {
  padding: 52px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.ateam-cta-banner__title {
  font-family: var(--font-h);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
.ateam-cta-banner__copy p {
  font-size: 1rem;
  color: var(--text-dim);
  line-height: 1.72;
  max-width: 500px;
}
.ateam-cta-banner__inner .btn { flex-shrink: 0; }

/* ---------- Animations ---------- */
@keyframes spin-ring {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes float-bob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .crm-canvas { transform: scale(0.85); transform-origin: top center; margin-bottom: -80px; }
}

@media (max-width: 820px) {
  /* Switch to mobile layout for diagram */
  .crm-canvas  { display: none; }
  .crm-mobile  { display: block; }

  .crm-mobile__char {
    text-align: center;
    margin-bottom: 32px;
  }
  .crm-mobile__char img {
    width: 200px;
    filter: drop-shadow(0 0 40px rgba(102,50,244,0.65));
    animation: float-bob 5s ease-in-out infinite;
  }
  .crm-mobile__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .crm-mobile__card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
  }
  .crm-mobile__card .crm-node__label { font-size: 0.65rem; }
  .crm-mobile__card .crm-node__val   { font-size: 0.75rem; }
}

@media (max-width: 900px) {
  .ateam-hero { min-height: auto; padding: 120px 0 60px; }
  .ateam-hero__inner { grid-template-columns: 1fr; text-align: center; }
  .ateam-hero__left { align-items: center; }
  .ateam-hero__right { width: 100%; }
  .ateam-hero__right #neuronCanvas { height: 360px !important; }
  .ateam-hero__actions { flex-direction: column; align-items: center; }
  .ateam-hero__actions .btn { width: 100%; max-width: 340px; justify-content: center; }
}

@media (max-width: 768px) {
  .ateam-hero__right #neuronCanvas { height: 300px !important; }
  .ateam-hero__actions { display: none; }

  .agent-spot, .agent-spot--flip { grid-template-columns: 1fr; }
  .agent-spot--flip .agent-spot__media { order: 0; }
  .agent-spot--flip .agent-spot__body  { order: 1; }
  .agent-spot__media { min-height: 260px; }
  .agent-spot__num { font-size: 140px; }
  .agent-spot__body,
  .agent-spot--flip .agent-spot__body { padding: 32px 28px 36px; }

  .agent-bento { grid-template-columns: 1fr; gap: 16px; }
  .agent-bento__card--wide { grid-column: span 1; }
  .agent-bento__card--h { flex-direction: column; min-height: unset; }
  .agent-bento__card--h .agent-bento__img { width: 100%; height: 220px; }

  .ateam-why__grid { grid-template-columns: 1fr; gap: 16px; }

  .ateam-cta-banner__inner {
    flex-direction: column;
    padding: 36px 28px;
    text-align: center;
    align-items: center;
  }
  .ateam-cta-banner__inner .btn { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .agent-spot__name { font-size: 2.4rem; }
  .crm-mobile__grid { grid-template-columns: 1fr; }
}

/* ===================== AGENT PROFILE PAGES ===================== */

/* ---------- Hero ---------- */
.ap-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}
.ap-hero__watermark {
  position: absolute;
  font-family: var(--font-h);
  font-size: clamp(18rem, 28vw, 32rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: var(--agent-color, var(--purple));
  opacity: 0.04;
  top: 50%; right: -4vw;
  transform: translateY(-50%);
  pointer-events: none;
  user-select: none;
  line-height: 1;
  white-space: nowrap;
}
.ap-hero__orb {
  position: absolute;
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--agent-rgb), 0.1) 0%, transparent 70%);
  top: -200px; right: -150px;
  pointer-events: none;
  filter: blur(60px);
}
.ap-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
  padding: 140px 0 100px;
}
.ap-hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid rgba(var(--agent-rgb), 0.45);
  background: rgba(var(--agent-rgb), 0.08);
  color: var(--agent-color, var(--purple));
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.ap-hero__chip::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--agent-color, var(--purple));
  animation: dotPulse 1.6s ease-in-out infinite;
}
.ap-hero__num {
  font-family: var(--font-h);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(var(--agent-rgb), 0.5);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.ap-hero__name {
  font-family: var(--font-h);
  font-size: clamp(4.5rem, 10vw, 8.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 0.88;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0 0 28px;
}
.ap-hero__tagline {
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  line-height: 1.35;
  color: rgba(255,255,255,0.68);
  font-weight: 300;
  margin-bottom: 44px;
  font-style: italic;
}
.ap-hero__stats {
  display: flex;
  gap: 36px;
  margin-bottom: 48px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.ap-stat { display: flex; flex-direction: column; gap: 5px; }
.ap-stat__val {
  font-family: var(--font-h);
  font-size: 2rem;
  font-weight: 700;
  color: var(--agent-color, var(--purple));
  line-height: 1;
}
.ap-stat__label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.38);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.ap-hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Character placeholder */
.ap-hero__char {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}
.ap-hero__glow {
  position: absolute;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--agent-rgb), 0.22) 0%, transparent 68%);
  filter: blur(50px);
  pointer-events: none;
}
.ap-hero__char-frame {
  position: relative;
  z-index: 2;
  width: 340px; height: 460px;
  background: linear-gradient(160deg, rgba(var(--agent-rgb), 0.07) 0%, rgba(13,13,30,0.95) 60%);
  border-radius: 28px;
  border: 1px solid rgba(var(--agent-rgb), 0.22);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.ap-hero__char-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 0 40px rgba(var(--agent-rgb), 0.5));
}
.ap-hero__char-frame--empty::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(var(--agent-rgb), 0.08), transparent);
}
.ap-hero__char-badge {
  position: absolute;
  top: -16px; right: -16px;
  z-index: 3;
  background: rgba(13,13,30,0.95);
  border: 1px solid rgba(var(--agent-rgb), 0.35);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(16px);
}
.ap-hero__char-badge-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(var(--agent-rgb), 0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--agent-color);
  font-size: 1rem;
}
.ap-hero__char-badge span {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
}
.ap-hero__char-badge small {
  display: block;
  font-size: 0.66rem;
  color: rgba(255,255,255,0.4);
}

/* ---------- Features ---------- */
.ap-features { background: var(--dark); }
.ap-features__list {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
}
.ap-feature-row {
  display: grid;
  grid-template-columns: 72px 56px 1fr;
  gap: 28px;
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid rgba(255,255,255,0.055);
  transition: padding-left 0.3s var(--ease);
}
.ap-feature-row:hover { padding-left: 12px; }
.ap-feature-row:last-child { border-bottom: none; }
.ap-feature-row__num {
  font-family: var(--font-h);
  font-size: 3.2rem;
  font-weight: 700;
  color: rgba(var(--agent-rgb), 0.22);
  line-height: 1;
  text-align: right;
}
.ap-feature-row__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(var(--agent-rgb), 0.1);
  border: 1px solid rgba(var(--agent-rgb), 0.22);
  display: flex; align-items: center; justify-content: center;
  color: var(--agent-color);
  font-size: 1.15rem;
  flex-shrink: 0;
  transition: background 0.3s;
}
.ap-feature-row:hover .ap-feature-row__icon { background: rgba(var(--agent-rgb), 0.18); }
.ap-feature-row__body h3 {
  font-family: var(--font-h);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.ap-feature-row__body p {
  font-size: 0.95rem;
  line-height: 1.78;
  color: var(--text-dim);
  max-width: 620px;
}

/* ---------- Solution Feature Rows ---------- */
.sol-feature-row {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 36px 0;
  border-bottom: 1px solid rgba(255,255,255,0.055);
  transition: padding-left 0.3s var(--ease);
}
.sol-feature-row:hover { padding-left: 8px; }
.sol-feature-row:last-child { border-bottom: none; }
.sol-feature-row__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(102,50,244,0.1);
  border: 1px solid rgba(102,50,244,0.22);
  display: flex; align-items: center; justify-content: center;
  color: var(--purple);
  font-size: 1.15rem;
  flex-shrink: 0;
  transition: background 0.3s;
}
.sol-feature-row:hover .sol-feature-row__icon { background: rgba(102,50,244,0.2); }
.sol-feature-row__num {
  font-family: var(--font-h);
  font-size: 3.2rem;
  font-weight: 700;
  color: rgba(102,50,244,0.18);
  line-height: 1;
  min-width: 72px;
  text-align: right;
}
.sol-feature-row__body { flex: 1; min-width: 0; }
.sol-feature-row__body h3 {
  font-family: var(--font-h);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.sol-feature-row__body p {
  font-size: 0.95rem;
  line-height: 1.78;
  color: var(--text-dim);
}
@media (max-width: 768px) {
  .sol-feature-row { gap: 16px; padding: 28px 0; }
  .sol-feature-row__num { display: none; }
}

/* ---------- Before / After ---------- */
.ap-compare {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(0,0,0,0.2);
}
.ap-compare__header { text-align: center; padding: 72px 0 0; }
.ap-compare__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 48px;
}
.ap-compare__col { padding: 48px 56px 64px; }
.ap-compare__col--before { border-right: 1px solid var(--border); }
.ap-compare__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-h);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 32px;
}
.ap-compare__col--before .ap-compare__label {
  color: rgba(255,90,70,0.85);
  background: rgba(255,90,70,0.08);
  border: 1px solid rgba(255,90,70,0.2);
}
.ap-compare__col--after .ap-compare__label {
  color: var(--agent-color);
  background: rgba(var(--agent-rgb), 0.08);
  border: 1px solid rgba(var(--agent-rgb), 0.25);
}
.ap-compare__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
.ap-compare__col li {
  font-size: 1rem;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.ap-compare__col--before li { color: rgba(255,255,255,0.42); }
.ap-compare__col--before li::before { content: '✕'; color: rgba(255,90,70,0.6); flex-shrink: 0; margin-top: 3px; font-size: 0.9rem; }
.ap-compare__col--after li { color: rgba(255,255,255,0.88); }
.ap-compare__col--after li::before { content: '✓'; color: var(--agent-color); flex-shrink: 0; margin-top: 3px; font-weight: 700; font-size: 0.9rem; }

/* ---------- Team row ---------- */
.ap-team { background: rgba(255,255,255,0.015); border-bottom: 1px solid var(--border); }
.ap-team__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 32px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.ap-team__row::-webkit-scrollbar { display: none; }
.ap-team__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  white-space: nowrap;
  flex-shrink: 0;
  margin-right: 8px;
}
.ap-team__pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  white-space: nowrap;
  transition: border-color 0.25s, background 0.25s;
  flex-shrink: 0;
}
.ap-team__pill:hover { border-color: rgba(255,255,255,0.18); background: rgba(255,255,255,0.06); }
.ap-team__pill--active {
  border-color: rgba(var(--agent-rgb), 0.45);
  background: rgba(var(--agent-rgb), 0.08);
}
.ap-team__pill-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--agent-color);
  flex-shrink: 0;
}
.ap-team__pill-name { font-size: 0.85rem; font-weight: 600; color: var(--white); }
.ap-team__pill-role { font-size: 0.72rem; color: rgba(255,255,255,0.4); }

/* ---------- CTA ---------- */
.ap-cta { text-align: center; padding: 100px 0; position: relative; overflow: hidden; }
.ap-cta__glow {
  position: absolute;
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(var(--agent-rgb), 0.12) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  pointer-events: none;
  filter: blur(40px);
}
.ap-cta__title {
  font-family: var(--font-h);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  position: relative;
}
.ap-cta__sub {
  font-size: 1rem;
  color: var(--text-dim);
  max-width: 480px;
  margin: 0 auto 40px;
  line-height: 1.75;
  position: relative;
}
.ap-cta__badge {
  margin-top: 20px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.28);
  position: relative;
}

/* ---------- Sticky Mobile CTA ---------- */
.sticky-cta {
  display: none;
}

@media (max-width: 768px) {
  .sticky-cta {
    display: flex;
    flex-direction: row;
    gap: 10px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: linear-gradient(to top, rgba(4,4,10,1) 55%, transparent);
    z-index: 9000;
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.35s ease;
  }
  .sticky-cta.is-hidden {
    transform: translateY(110%);
    opacity: 0;
    pointer-events: none;
  }
  .sticky-cta__btn {
    flex: 1;
    min-width: 0;
    justify-content: center;
    text-align: center;
    font-size: 0.88rem;
    padding: 14px 10px;
    overflow: hidden;
  }
}

/* ---------- Agent Profile Responsive ---------- */
@media (max-width: 900px) {
  .ap-hero__inner { grid-template-columns: 1fr; padding: 130px 0 60px; gap: 48px; }
  .ap-hero__char { min-height: 340px; order: -1; }
  .ap-hero__char-frame { width: 260px; height: 340px; }
  .ap-hero__glow { width: 300px; height: 300px; }
  .ap-hero__watermark { opacity: 0.03; right: 0; }
  .ap-compare__grid { grid-template-columns: 1fr; }
  .ap-compare__col--before { border-right: none; border-bottom: 1px solid var(--border); }
  .ap-compare__col { padding: 40px 32px; }
  .ap-feature-row { grid-template-columns: 0 52px 1fr; gap: 18px; padding: 32px 0; }
  .ap-feature-row__num { display: none; }
}
@media (max-width: 600px) {
  .ap-hero__stats { gap: 24px; }
  .ap-hero__actions { flex-direction: column; }
  .ap-hero__actions .btn { width: 100%; justify-content: center; }
  .ap-compare__col { padding: 32px 20px; }
}
