/* =========================================================
   9shadow AI — Landing page styles (scoped)
   Root: .eai-root — isolated from site-wide CSS
   ========================================================= */

html.eai-page {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

.eai-root {
  display: block;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Hiragino Sans GB",
    system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;

  /* design tokens */
  --brand: #0072ff;
  --brand-600: #0060d6;
  --brand-50: #e8f1ff;
  --brand-soft: rgba(0, 114, 255, 0.08);
  --brand-glow: rgba(0, 114, 255, 0.35);
  --ink-900: #0a1530;
  --ink-700: #1f2a44;
  --ink-500: #4a5773;
  --ink-400: #6b7591;
  --ink-300: #98a1b8;
  --ink-200: #d8dde8;
  --ink-100: #eef1f7;
  --ink-50:  #f6f8fc;
  --bg:      #ffffff;
  --bg-soft: #f9fbfe;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 1px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 8px 24px -8px rgba(15, 23, 42, 0.10), 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 24px 60px -20px rgba(0, 114, 255, 0.25), 0 8px 24px -12px rgba(15, 23, 42, 0.10);
  --container: 1240px;
  --section-py: clamp(72px, 9vw, 128px);
  --easing: cubic-bezier(.2, .7, .2, 1);

  color: var(--ink-900);
  background: var(--bg);
}

/* Shield: block common global style bleed */
.eai-root,
.eai-root *,
.eai-root *::before,
.eai-root *::after {
  box-sizing: border-box;
}

.eai-root :where(ul, ol) {
  list-style: none;
  margin: 0;
  padding: 0;
}

.eai-root :where(h1, h2, h3, h4, h5, h6, p) {
  margin: 0;
}

.eai-root :where(a) {
  color: inherit;
  text-decoration: none;
}

.eai-root :where(img, svg) {
  display: block;
  max-width: 100%;
  height: auto;
}

.eai-root :where(button) {
  font: inherit;
  margin: 0;
  cursor: pointer;
}

/* ---------- Page blocks ---------- */

.eai-root .container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */
.eai-root .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--brand);
  text-transform: uppercase;
  padding: 6px 12px;
  background: var(--brand-soft);
  border-radius: 999px;
  border: 1px solid rgba(0, 114, 255, 0.18);
}
.eai-root .eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 3px rgba(0, 114, 255, 0.18);
  animation: pulse 2.4s infinite var(--easing);
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(0, 114, 255, 0.18); }
  50%      { box-shadow: 0 0 0 6px rgba(0, 114, 255, 0.06); }
}

.eai-root h1, .eai-root h2, .eai-root h3, .eai-root h4 {
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink-900);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
.eai-root .section-title {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 700;
  margin-bottom: 0;
}
.eai-root .section-sub {
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--ink-500);
  max-width: 640px;
  line-height: 1.7;
  text-wrap: pretty;
}
.eai-root .section-head {
  text-align: center;
  margin: 0 auto clamp(36px, 4.5vw, 64px);
  max-width: 720px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}

/* Reveal animations (scroll-triggered) */
.eai-root .reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition: opacity .9s var(--easing), transform .9s var(--easing), filter .9s var(--easing);
  transition-delay: var(--reveal-delay, 0ms);
}
.eai-root .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.eai-root .reveal-stagger > * {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(4px);
  transition: opacity .85s var(--easing), transform .85s var(--easing), filter .85s var(--easing);
}
.eai-root .reveal-stagger.is-visible > * {
  opacity: 1; transform: translateY(0); filter: blur(0);
}
.eai-root .reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0ms; }
.eai-root .reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 80ms; }
.eai-root .reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 160ms; }
.eai-root .reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 240ms; }
.eai-root .reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 320ms; }
.eai-root .reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 400ms; }

/* Letter-by-letter title shimmer in */
.eai-root .title-anim .word {
  display: inline-block;
  overflow: hidden;
}
.eai-root .title-anim .word > span {
  display: inline-block;
  transform: translateY(120%);
  opacity: 0;
  transition: transform .9s var(--easing), opacity .9s var(--easing);
}
.eai-root .title-anim.is-visible .word > span {
  transform: translateY(0);
  opacity: 1;
}
.eai-root .title-anim.is-visible .word:nth-child(2) > span { transition-delay: 80ms; }
.eai-root .title-anim.is-visible .word:nth-child(3) > span { transition-delay: 160ms; }
.eai-root .title-anim.is-visible .word:nth-child(4) > span { transition-delay: 240ms; }
.eai-root .title-anim.is-visible .word:nth-child(5) > span { transition-delay: 320ms; }
.eai-root .title-anim.is-visible .word:nth-child(6) > span { transition-delay: 400ms; }

.eai-root #cap-title,
.eai-root #cap-title .word,
.eai-root #cap-title .word > span,
.eai-root #scn-title,
.eai-root #scn-title .word,
.eai-root #scn-title .word > span,
.eai-root .scn-text > h3[data-title-anim],
.eai-root .scn-text > h3[data-title-anim] .word,
.eai-root .scn-text > h3[data-title-anim] .word > span,
.eai-root #story-title,
.eai-root #story-title .word,
.eai-root #story-title .word > span,
.eai-root #ind-title,
.eai-root #ind-title .word,
.eai-root #ind-title .word > span {
  color: #0a1530 !important;
}

.eai-root #sec-title,
.eai-root #sec-title .word,
.eai-root #sec-title .word > span {
  color: #ffffff !important;
}

/* underline-grow accent for section titles */
.eai-root .title-underline {
  position: relative;
  display: inline-block;
}
.eai-root .title-underline::after {
  content: "";
  position: absolute;
  left: 0; bottom: -10px;
  height: 4px; width: 0;
  background: linear-gradient(90deg, var(--brand) 0%, #4aa1ff 100%);
  border-radius: 4px;
  transition: width 1.2s var(--easing) .3s;
}
.eai-root .title-anim.is-visible .title-underline::after { width: 64px; }

/* ---------- Buttons ---------- */
.eai-root .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .3s var(--easing), box-shadow .3s var(--easing),
              background .3s var(--easing), color .3s var(--easing);
  white-space: nowrap;
}
.eai-root .btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 24px -10px var(--brand-glow);
}
.eai-root .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -14px var(--brand-glow);
  background: var(--brand-600);
}
.eai-root .btn-primary .arr {
  transition: transform .3s var(--easing);
}
.eai-root .btn-primary:hover .arr { transform: translateX(4px); }

.eai-root .btn-ghost {
  background: rgba(255,255,255,0.6);
  border-color: var(--ink-200);
  color: var(--ink-900);
  backdrop-filter: blur(8px);
}
.eai-root .btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
}

/* ---------- Navbar ---------- */
.eai-root .nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .3s var(--easing), box-shadow .3s var(--easing),
              border-color .3s var(--easing);
  border-bottom: 1px solid transparent;
}
.eai-root .nav.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: var(--ink-100);
}
.eai-root .nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.eai-root .brand-mark {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 17px;
  color: var(--ink-900);
}
.eai-root .brand-mark .logo {
  width: 30px; height: 30px;
  position: relative;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand) 0%, #4aa1ff 100%);
  box-shadow: 0 6px 16px -4px var(--brand-glow);
  display: grid; place-items: center;
  color: #fff;
  overflow: hidden;
}
.eai-root .brand-mark .logo::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.4), transparent 50%);
}
.eai-root .brand-mark .logo-glyph {
  position: relative; z-index: 1;
  width: 14px; height: 14px;
}
.eai-root .nav-links {
  display: flex; align-items: center; gap: 36px;
  list-style: none; margin: 0; padding: 0;
}
.eai-root .nav-links a {
  font-size: 14.5px;
  color: var(--ink-700);
  font-weight: 500;
  position: relative;
  transition: color .3s var(--easing);
}
.eai-root .nav-links a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--easing);
}
.eai-root .nav-links a:hover { color: var(--brand); }
.eai-root .nav-links a:hover::after { transform: scaleX(1); }
.eai-root .nav-cta { display: flex; align-items: center; gap: 12px; }
.eai-root .nav-cta .btn-primary { padding: 10px 20px; font-size: 14px; }
.eai-root .nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--ink-200);
  background: #fff;
  cursor: pointer;
  align-items: center; justify-content: center;
}
.eai-root .nav-toggle span {
  display: block; width: 18px; height: 1.5px;
  background: var(--ink-900); position: relative;
}
.eai-root .nav-toggle span::before, .eai-root .nav-toggle span::after {
  content: ""; position: absolute; left: 0; right: 0;
  height: 1.5px; background: var(--ink-900);
}
.eai-root .nav-toggle span::before { top: -6px; }
.eai-root .nav-toggle span::after { top: 6px; }

/* ---------- HERO ---------- */
.eai-root .hero {
  position: relative;
  min-height: 100vh;
  padding: 100px 0 40px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(0, 114, 255, 0.12), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(0, 114, 255, 0.08), transparent 60%),
    #ffffff;
}
.eai-root .hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(10, 21, 48, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 21, 48, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 80%);
  pointer-events: none;
}
.eai-root .hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}
.eai-root .hero-copy .eyebrow { margin-bottom: 8px; }
.eai-root .hero-copy h1 {
  font-size: clamp(36px, 5.2vw, 64px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 32px 0 36px;
}
.eai-root .hero-copy h1 .grad {
  background: linear-gradient(120deg, var(--brand) 0%, #4aa1ff 50%, #66b7ff 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  position: relative;
}
/* "AI" emphasis mark — gradient pill, slight tilt + sheen */
.eai-root .hero-copy h1 .ai-mark {
  display: inline-block;
  position: relative;
  padding: 0 .22em;
  margin: 0 .06em;
  border-radius: .22em;
  background: linear-gradient(135deg, var(--brand) 0%, #2a8bff 50%, #4aa1ff 100%);
  color: #fff;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow:
    0 14px 28px -10px rgba(0, 114, 255, 0.55),
    inset 0 -3px 0 rgba(0, 50, 150, 0.25);
  transform: translateY(-.04em) rotate(-2deg);
  overflow: hidden;
}
.eai-root .hero-copy h1 .ai-mark::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -60%;
  width: 50%;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.5) 50%, transparent 70%);
  transform: skewX(-20deg);
  animation: ai-sheen 3.6s ease-in-out infinite;
}
.eai-root .hero-copy h1 .ai-mark-inner { position: relative; z-index: 1; }
@keyframes ai-sheen {
  0%      { left: -60%; }
  55%     { left: 130%; }
  100%    { left: 130%; }
}
.eai-root .hero-copy p.lead {
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--ink-500);
  line-height: 1.75;
  max-width: 540px;
  margin: 0 0 44px;
}
.eai-root .hero-form { margin: 0 0 18px; }
.eai-root .hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* Hero phone-input form (replaces dual buttons) */
.eai-root .hero-form {
  display: flex;
  gap: 12px;
  align-items: stretch;
  max-width: 540px;
  flex-wrap: wrap;
  margin: 0 0 14px;
}
.eai-root .phone-input {
  flex: 1 1 280px;
  min-width: 220px;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1.5px solid var(--ink-200);
  border-radius: 999px;
  padding: 4px 6px 4px 18px;
  transition: border-color .3s var(--easing), box-shadow .3s var(--easing), transform .3s var(--easing);
}
.eai-root .phone-input:hover { border-color: rgba(0, 114, 255, 0.4); }
.eai-root .phone-input:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(0, 114, 255, 0.14);
}
.eai-root .phone-input .prefix {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 15px; color: var(--ink-500);
  font-weight: 600;
  margin-right: 12px;
  padding-right: 12px;
  border-right: 1px solid var(--ink-200);
  flex-shrink: 0;
}
.eai-root .phone-input .prefix svg { color: var(--brand); }
.eai-root .phone-input input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 15px;
  color: var(--ink-900);
  padding: 12px 6px;
  min-width: 0;
  font-family: inherit;
  letter-spacing: 0.02em;
}
.eai-root .phone-input input::placeholder { color: var(--ink-300); }
.eai-root .hero-form .btn-primary {
  padding: 13px 24px;
  font-size: 14.5px;
  flex-shrink: 0;
}
.eai-root .hero-form-note {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px;
  color: var(--ink-400);
  margin: 0;
}
.eai-root .hero-form-note svg { color: var(--brand); flex-shrink: 0; }

/* Hero visual — animated AI orb / panel */
.eai-root .hero-visual {
  position: relative;
  height: 580px;
  display: grid; place-items: center;
}
.eai-root .orb {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 360px; height: 360px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #ffffff 0%, #cfe2ff 30%, var(--brand) 70%, #0050b8 100%);
  box-shadow:
    0 40px 100px -20px rgba(0, 114, 255, 0.45),
    inset 0 -20px 60px rgba(0, 50, 150, 0.3),
    inset 0 20px 60px rgba(255, 255, 255, 0.4);
  animation: orb-float 6s ease-in-out infinite;
}
@keyframes orb-float {
  0%, 100% { transform: translate(-50%, -52%); }
  50%      { transform: translate(-50%, -48%); }
}
.eai-root .ring {
  position: absolute;
  inset: 50% auto auto 50%;
  border-radius: 50%;
  border: 1px solid rgba(0, 114, 255, 0.25);
  transform: translate(-50%, -50%) rotate(0deg);
}
.eai-root .ring.r1 { width: 460px; height: 460px; animation: ring-spin 22s linear infinite; }
.eai-root .ring.r2 { width: 560px; height: 560px; animation: ring-spin 38s linear infinite reverse; border-style: dashed; opacity: .6; }
.eai-root .ring.r3 { width: 660px; height: 660px; animation: ring-spin 60s linear infinite; opacity: .3; }
@keyframes ring-spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}
.eai-root .ring .node {
  position: absolute;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(0, 114, 255, 0.18), 0 0 18px 4px rgba(0, 114, 255, 0.5);
}
.eai-root .ring.r1 .node:nth-child(1) { top: -6px; left: 50%; transform: translateX(-50%); }
.eai-root .ring.r1 .node:nth-child(2) { bottom: -6px; left: 30%; }
.eai-root .ring.r1 .node:nth-child(3) { top: 50%; right: -6px; transform: translateY(-50%); width: 8px; height: 8px; }
.eai-root .ring.r2 .node:nth-child(1) { top: 20%; left: -6px; }
.eai-root .ring.r2 .node:nth-child(2) { bottom: 10%; right: -6px; width: 8px; height: 8px;}
.eai-root .floating-chip {
  position: absolute;
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: 14px;
  padding: 10px 14px;
  box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-700);
  white-space: nowrap;
  z-index: 2;
}
.eai-root .floating-chip .ico {
  width: 26px; height: 26px;
  border-radius: 8px;
  background: var(--brand-50);
  color: var(--brand);
  display: grid; place-items: center;
  flex-shrink: 0;
}
/* Scattered chip positions (around + on top of orb) */
.eai-root .floating-chip.cp1 { top: 14%;  left: 12%;  animation: float-a 5.5s ease-in-out infinite; }
.eai-root .floating-chip.cp2 { top: 10%;  right: 10%; animation: float-b 6.4s ease-in-out infinite; }
.eai-root .floating-chip.cp3 { top: 42%;  left: 4%;   animation: float-b 5.8s ease-in-out infinite; }
.eai-root .floating-chip.cp4 {
  top: 48%; left: 50%;
  transform: translateX(-50%);
  animation: float-orb 6.2s ease-in-out infinite;
}
.eai-root .floating-chip.cp5 { top: 72%;  left: 14%;  animation: float-a 7.0s ease-in-out infinite; }
.eai-root .floating-chip.cp6 { top: 44%;  right: 6%;  animation: float-b 5.4s ease-in-out infinite; }
.eai-root .floating-chip.cp7 { bottom: 12%; right: 14%; animation: float-a 6.8s ease-in-out infinite; }

/* Chip overlapping the orb — glass treatment so it reads on the blue */
.eai-root .floating-chip.on-orb {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow:
    0 14px 36px -10px rgba(0, 50, 150, 0.35),
    0 4px 10px -4px rgba(0, 50, 150, 0.2);
}
.eai-root .floating-chip.on-orb .ico {
  background: var(--brand);
  color: #fff;
}

@keyframes float-orb {
  0%, 100% { transform: translateX(-50%) translateY(-4px); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

@keyframes float-a {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes float-b {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(8px); }
}

/* ---------- Section: About (2nd screen) ---------- */
.eai-root .section { padding: var(--section-py) 0; position: relative; }
.eai-root .section.alt { background: var(--bg-soft); }

.eai-root .about-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 72px;
  align-items: center;
}
.eai-root .about-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
}
.eai-root .about-visual .panel {
  position: absolute;
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 20px;
  transition: transform .5s var(--easing), box-shadow .5s var(--easing);
}
.eai-root .about-visual:hover .panel { transform: translateY(-2px); }
.eai-root .about-visual .p-main {
  inset: 8% 12% 12% 8%;
  display: flex; flex-direction: column; gap: 12px;
  background: linear-gradient(180deg, #fff 0%, #f3f7ff 100%);
}
.eai-root .about-visual .p-main .head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--ink-100);
}
.eai-root .about-visual .p-main .head .dots { display: flex; gap: 6px; }
.eai-root .about-visual .p-main .head .dots i {
  width: 8px; height: 8px; border-radius: 50%; background: var(--ink-200);
}
.eai-root .about-visual .p-main .head .dots i:first-child { background: #ff6258; }
.eai-root .about-visual .p-main .head .dots i:nth-child(2) { background: #ffbd2e; }
.eai-root .about-visual .p-main .head .dots i:last-child { background: #28c93f; }
.eai-root .about-visual .p-main .head .lbl {
  font-size: 12px; color: var(--ink-400); font-weight: 600;
}
.eai-root .about-visual .bar {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--ink-50);
  font-size: 13px; color: var(--ink-700); font-weight: 500;
}
.eai-root .about-visual .bar .meter {
  flex: 1;
  height: 6px; border-radius: 999px; background: #e6ecf6; overflow: hidden;
  position: relative;
}
.eai-root .about-visual .bar .meter::after {
  content: ""; position: absolute; inset: 0; width: 0;
  background: linear-gradient(90deg, var(--brand), #66b7ff);
  border-radius: 999px;
  transition: width 1.6s var(--easing) .3s;
}
.eai-root .about-visual.is-visible .bar:nth-child(2) .meter::after { width: 86%; }
.eai-root .about-visual.is-visible .bar:nth-child(3) .meter::after { width: 64%; }
.eai-root .about-visual.is-visible .bar:nth-child(4) .meter::after { width: 92%; }
.eai-root .about-visual .bar .val { font-variant-numeric: tabular-nums; color: var(--brand); font-weight: 700; }

.eai-root .about-visual .p-badge {
  bottom: -2%; right: -2%;
  padding: 16px 20px;
  display: flex; align-items: center; gap: 12px;
  border-radius: 18px;
}
.eai-root .about-visual .p-badge .b-ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--brand) 0%, #4aa1ff 100%);
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 8px 18px -6px var(--brand-glow);
}
.eai-root .about-visual .p-badge .b-txt strong { display: block; font-size: 16px; }
.eai-root .about-visual .p-badge .b-txt span { font-size: 12px; color: var(--ink-400); }

.eai-root .about-copy h2 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 700; margin: 16px 0 18px; }
.eai-root .about-copy .lead {
  font-size: 16px; line-height: 1.85; color: var(--ink-500);
  margin: 0 0 28px;
}
.eai-root .about-list {
  list-style: none; padding: 0; margin: 0 0 32px;
  display: grid; gap: 14px;
}
.eai-root .about-list li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--ink-100);
  transition: transform .35s var(--easing), border-color .35s var(--easing), box-shadow .35s var(--easing);
}
.eai-root .section.alt .about-list li { background: #fff; }
.eai-root .about-list li:hover {
  transform: translateX(4px);
  border-color: var(--brand);
  box-shadow: 0 12px 30px -16px var(--brand-glow);
}
.eai-root .about-list .tick {
  flex-shrink: 0;
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid; place-items: center;
}
.eai-root .about-list strong { display: block; font-size: 15.5px; color: var(--ink-900); margin-bottom: 2px; }
.eai-root .about-list span { font-size: 13.5px; color: var(--ink-500); }

/* ---------- Capabilities (3rd screen) ---------- */
.eai-root .cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.eai-root .cap-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  overflow: hidden;
  transition: transform .45s var(--easing), border-color .45s var(--easing), box-shadow .45s var(--easing);
}
.eai-root .cap-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand) 0%, #66b7ff 100%);
  transform: scaleX(0); transform-origin: left;
  transition: transform .55s var(--easing);
}
.eai-root .cap-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: 0 30px 60px -30px rgba(0, 114, 255, 0.25), 0 10px 24px -16px rgba(15,23,42,.08);
}
.eai-root .cap-card:hover::before { transform: scaleX(1); }
.eai-root .cap-card .num {
  position: absolute;
  top: 20px; right: 24px;
  font-size: 56px;
  font-weight: 800;
  color: rgba(0, 114, 255, 0.06);
  letter-spacing: -0.05em;
  transition: color .35s var(--easing);
}
.eai-root .cap-card:hover .num { color: rgba(0, 114, 255, 0.14); }
.eai-root .cap-card .ico {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid; place-items: center;
  margin-bottom: 22px;
  transition: background .35s var(--easing), transform .45s var(--easing);
}
.eai-root .cap-card:hover .ico {
  background: var(--brand);
  color: #fff;
  transform: scale(1.06) rotate(-4deg);
}
.eai-root .cap-card h3 { font-size: 20px; margin: 0 0 10px; font-weight: 700; }
.eai-root .cap-card p { color: var(--ink-500); font-size: 14.5px; line-height: 1.75; margin: 0 0 16px; }
.eai-root .cap-card .tags { display: flex; gap: 6px; flex-wrap: wrap; }
.eai-root .cap-card .tag {
  font-size: 12px; padding: 4px 10px;
  background: var(--ink-50);
  color: var(--ink-700);
  border-radius: 999px;
  font-weight: 500;
}

/* Security feature card highlight */
.eai-root .cap-card.security {
  background: linear-gradient(180deg, #fff 0%, #f3f7ff 100%);
  border-color: rgba(0, 114, 255, 0.25);
}

/* ---------- Security (compact horizontal row, light on dark) ---------- */
.eai-root .security-section {
  background: linear-gradient(180deg, #061735 0%, #0a1f4a 100%);
  color: #e8eefc;
  position: relative;
  overflow: hidden;
  padding: clamp(56px, 6vw, 88px) 0;
}
.eai-root .security-section::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(800px 360px at 80% 0%, rgba(0, 114, 255, 0.32), transparent 60%),
    radial-gradient(700px 360px at 10% 100%, rgba(0, 114, 255, 0.18), transparent 60%);
  pointer-events: none;
}
.eai-root .security-section .container { position: relative; z-index: 1; }
.eai-root .security-section .section-title { color: #fff; }
.eai-root .security-section .section-sub { color: rgba(232, 238, 252, 0.7); }
.eai-root .security-section .section-head { margin-bottom: clamp(32px, 4vw, 48px); }
.eai-root .security-section .eyebrow {
  background: rgba(255,255,255,0.08);
  color: #8fc1ff;
  border-color: rgba(143, 193, 255, 0.3);
}
.eai-root .sec-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.eai-root .sec-tile {
  padding: 24px 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  transition: background .35s var(--easing), border-color .35s var(--easing), transform .35s var(--easing);
}
.eai-root .sec-tile:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(0, 114, 255, 0.5);
  transform: translateY(-4px);
}
.eai-root .sec-tile .ico {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(0, 114, 255, 0.18);
  color: #66b7ff;
  margin-bottom: 14px;
}
.eai-root .sec-tile h4 { font-size: 16px; color: #fff; margin: 0 0 6px; font-weight: 600; }
.eai-root .sec-tile p { margin: 0; color: rgba(232, 238, 252, 0.7); font-size: 13.5px; line-height: 1.65; }

/* ---------- Testimonials (3-col simple) ---------- */
.eai-root .t-grid-simple {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.eai-root .t-card {
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex; flex-direction: column;
  transition: transform .4s var(--easing), box-shadow .4s var(--easing), border-color .4s var(--easing);
}
.eai-root .t-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 114, 255, 0.3);
  box-shadow: var(--shadow-lg);
}
.eai-root .t-quote {
  font-size: 14.5px; line-height: 1.8; color: var(--ink-700);
  margin: 0 0 20px;
  flex: 1;
  text-wrap: pretty;
}
.eai-root .t-mark {
  font-size: 44px; line-height: 0.6;
  color: var(--brand);
  font-family: Georgia, serif;
  margin-bottom: 10px;
}
.eai-root .t-author {
  display: flex; gap: 12px; align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--ink-100);
}
.eai-root .t-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
}
.eai-root .t-author strong { display: block; font-size: 14.5px; }
.eai-root .t-author span { font-size: 12.5px; color: var(--ink-400); }

/* ---------- Industries (16 compact cards, numbered scenarios) ---------- */
.eai-root .ind-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: indcard;
}
.eai-root .ind-card {
  position: relative;
  background:
    radial-gradient(180px 140px at 100% 0%, rgba(0, 114, 255, 0.08), transparent 70%),
    linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  border: 1px solid var(--ink-100);
  border-radius: 20px;
  padding: 26px 24px 22px;
  overflow: hidden;
  counter-increment: indcard;
  transition: transform .4s var(--easing), border-color .4s var(--easing), box-shadow .4s var(--easing);
}
.eai-root .ind-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand) 0%, #66b7ff 100%);
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--easing);
}
/* Faint big number in top-right corner */
.eai-root .ind-card::after {
  content: counter(indcard, decimal-leading-zero);
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: rgba(0, 114, 255, 0.08);
  font-variant-numeric: tabular-nums;
  transition: color .4s var(--easing), transform .4s var(--easing);
}
.eai-root .ind-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow:
    0 30px 60px -28px rgba(0, 114, 255, 0.35),
    0 8px 22px -14px rgba(15,23,42,.10);
}
.eai-root .ind-card:hover::before { transform: scaleX(1); }
.eai-root .ind-card:hover::after {
  color: rgba(0, 114, 255, 0.18);
  transform: scale(1.08);
}
/* Decorative dot-grid at bottom-right corner */
.eai-root .ind-card .ind-deco {
  position: absolute;
  bottom: -22px; right: -22px;
  width: 120px; height: 120px;
  background-image: radial-gradient(rgba(0, 114, 255, 0.20) 1.2px, transparent 1.4px);
  background-size: 11px 11px;
  mask-image: radial-gradient(circle at 100% 100%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 100% 100%, #000 0%, transparent 70%);
  pointer-events: none;
  transition: opacity .4s var(--easing), transform .8s var(--easing);
  opacity: 0.5;
}
.eai-root .ind-card:hover .ind-deco { opacity: 1; transform: translate(-6px, -6px) rotate(-6deg); }

.eai-root .ind-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; position: relative; z-index: 1; }
.eai-root .ind-head .ico {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-soft) 0%, rgba(102, 183, 255, 0.18) 100%);
  color: var(--brand);
  display: grid; place-items: center;
  flex-shrink: 0;
  position: relative;
  transition: transform .4s var(--easing);
}
.eai-root .ind-head .ico::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand) 0%, #4aa1ff 100%);
  opacity: 0;
  transition: opacity .4s var(--easing);
  z-index: -1;
}
.eai-root .ind-card:hover .ind-head .ico {
  color: #fff;
  transform: scale(1.08) rotate(-6deg);
}
.eai-root .ind-card:hover .ind-head .ico::after { opacity: 1; }
.eai-root .ind-card h3 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--ink-900);
  position: relative;
}
.eai-root .ind-card h3::after {
  content: "";
  display: block;
  width: 0;
  height: 2px;
  margin-top: 6px;
  background: linear-gradient(90deg, var(--brand) 0%, #66b7ff 100%);
  border-radius: 2px;
  transition: width .5s var(--easing);
}
.eai-root .ind-card:hover h3::after { width: 28px; }
.eai-root .ind-list {
  list-style: none;
  counter-reset: ind;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  position: relative;
  z-index: 1;
}
.eai-root .ind-list li {
  counter-increment: ind;
  position: relative;
  padding: 7px 0 7px 30px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-700);
  border-top: 1px dashed var(--ink-100);
}
.eai-root .ind-list li:first-child { border-top: none; padding-top: 2px; }
.eai-root .ind-list li::before {
  content: counter(ind);
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 20px; height: 20px;
  border-radius: 6px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
  display: grid; place-items: center;
  transition: background .35s var(--easing), color .35s var(--easing), transform .35s var(--easing);
}
.eai-root .ind-card:hover .ind-list li::before {
  background: var(--brand);
  color: #fff;
  transform: translateY(-50%) scale(1.05);
}

/* ---------- CTA ---------- */
.eai-root .cta {
  position: relative;
  padding: clamp(80px, 8vw, 120px) 0;
  overflow: hidden;
}
.eai-root .cta-card {
  position: relative;
  border-radius: 32px;
  background: linear-gradient(135deg, #003ea8 0%, var(--brand) 50%, #1a85ff 100%);
  padding: clamp(48px, 6vw, 80px) clamp(28px, 5vw, 80px);
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.eai-root .cta-card::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(800px 400px at 50% -10%, rgba(255,255,255,0.25), transparent 60%),
    radial-gradient(400px 300px at 0% 100%, rgba(255,255,255,0.15), transparent 60%);
  pointer-events: none;
}
.eai-root .cta-card .grid-pattern {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
  pointer-events: none;
}
.eai-root .cta-card .content { position: relative; z-index: 1; }
.eai-root .cta-card h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 700;
  margin: 16px 0 18px;
  color: #fff;
  letter-spacing: -0.01em;
}
.eai-root .cta-card p {
  font-size: 16px; opacity: 0.9;
  margin: 0 auto 32px;
  max-width: 560px;
  line-height: 1.75;
}
.eai-root .cta-card .eyebrow {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.24);
  color: #fff;
}
.eai-root .cta-card .eyebrow .dot { background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,0.3); }
.eai-root .cta-buttons {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}
.eai-root .cta-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  max-width: 560px;
  margin: 0 auto;
}
.eai-root .cta-form .phone-input {
  background: rgba(255,255,255,0.96);
  border-color: transparent;
  flex: 1 1 280px;
}
.eai-root .cta-form .btn-primary { flex-shrink: 0; }
.eai-root .cta-card .btn-primary {
  background: #fff;
  color: var(--brand);
  box-shadow: 0 14px 30px -10px rgba(0,0,0,0.25);
}
.eai-root .cta-card .btn-primary:hover {
  background: #f3f7ff;
  color: var(--brand-600);
}
.eai-root .cta-card .btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.eai-root .cta-card .btn-ghost:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255,255,255,0.1);
}

/* ---------- Footer ---------- */
.eai-root .footer {
  background: #0a1530;
  color: #aab3c8;
  padding: 64px 0 36px;
}
.eai-root .footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.eai-root .footer h5 {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.eai-root .footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.eai-root .footer ul a { font-size: 14px; transition: color .25s var(--easing); }
.eai-root .footer ul a:hover { color: #fff; }
.eai-root .footer-brand .brand-mark { color: #fff; margin-bottom: 16px; }
.eai-root .footer-brand p { font-size: 13.5px; line-height: 1.7; max-width: 320px; color: #8b95ad; }
.eai-root .footer-bottom {
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: #6b7591;
  flex-wrap: wrap; gap: 12px;
}
.eai-root .footer-bottom .legal { display: flex; gap: 20px; }

/* ---------- Scenarios (alternating storytelling rows) ---------- */
.eai-root .scn-list {
  list-style: none;
  counter-reset: scn;
  padding: 0;
  margin: 0;
  display: grid;
  gap: clamp(48px, 6vw, 96px);
}
.eai-root .scn-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.eai-root .scn-row.reverse .scn-visual { order: 2; }
.eai-root .scn-row.reverse .scn-text { order: 1; }
.eai-root .scn-text .scn-num {
  display: inline-block;
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--brand) 0%, #66b7ff 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}
.eai-root .scn-text h3 {
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 700;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.eai-root .scn-pain {
  font-size: 15px;
  color: var(--ink-500);
  line-height: 1.75;
  margin: 0 0 20px;
  padding: 14px 18px;
  background: var(--brand-soft);
  border-left: 3px solid var(--brand);
  border-radius: 0 12px 12px 0;
}
.eai-root .scn-pain strong { color: var(--brand); font-weight: 700; }
.eai-root .scn-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.eai-root .scn-bullets li {
  position: relative;
  padding: 10px 0 10px 30px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-700);
  border-bottom: 1px dashed var(--ink-100);
}
.eai-root .scn-bullets li:last-child { border-bottom: none; }
.eai-root .scn-bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: 16px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--brand-soft);
  border: 2px solid var(--brand);
}
.eai-root .scn-bullets li::after {
  content: "";
  position: absolute;
  left: 5px; top: 21px;
  width: 8px; height: 4px;
  border-left: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(-45deg);
  transform-origin: left top;
}

/* Mockups shared */
.eai-root .scn-visual { position: relative; }
.eai-root .mock {
  position: relative;
  background: #fff;
  border: 1px solid var(--ink-100);
  border-radius: 22px;
  padding: 22px;
  box-shadow:
    0 30px 60px -30px rgba(15, 23, 42, 0.18),
    0 8px 20px -12px rgba(15, 23, 42, 0.06);
  transition: transform .5s var(--easing), box-shadow .5s var(--easing);
}
.eai-root .scn-row:hover .mock { transform: translateY(-4px); }
.eai-root .mock::before {
  content: "";
  position: absolute;
  inset: -18px -18px auto auto;
  width: 120px; height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,114,255,.18) 0%, transparent 70%);
  pointer-events: none;
}
.eai-root .mk-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--ink-100);
  margin-bottom: 14px;
}
.eai-root .mk-tag {
  font-size: 12px;
  color: var(--ink-500);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.eai-root .mk-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px;
  padding: 4px 10px;
  background: var(--brand-soft);
  color: var(--brand);
  border-radius: 999px;
  font-weight: 600;
}
.eai-root .mk-status .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand);
  animation: pulse 2s infinite var(--easing);
}
.eai-root .mk-status.ok {
  background: rgba(40, 201, 130, 0.12);
  color: #0aa365;
}
.eai-root .mk-status.ok .dot { background: #0aa365; box-shadow: 0 0 0 3px rgba(40,201,130,0.2); }

/* 01 Sales CRM card */
.eai-root .mock-sales .mk-row {
  display: flex; gap: 16px;
  padding: 9px 0;
  font-size: 13.5px;
  border-bottom: 1px dashed var(--ink-100);
}
.eai-root .mock-sales .mk-row:last-of-type { border-bottom: none; }
.eai-root .mock-sales .mk-row .k { width: 52px; color: var(--ink-400); flex-shrink: 0; }
.eai-root .mock-sales .mk-row .v { color: var(--ink-900); font-weight: 500; }
.eai-root .mock-sales .mk-row .v.hot {
  color: #d9480f; background: #fff4e8; padding: 2px 10px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600;
}
.eai-root .mock-sales .mk-suggest {
  display: flex; gap: 12px;
  margin-top: 14px; padding: 14px;
  background: linear-gradient(135deg, var(--brand) 0%, #1a85ff 100%);
  color: #fff;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.6;
}
.eai-root .mock-sales .mk-suggest .bot {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: rgba(255,255,255,0.2);
  color: #fff;
  display: grid; place-items: center;
  font-weight: 700; font-size: 11px;
  flex-shrink: 0;
}
.eai-root .mock-sales .mk-suggest p { margin: 0 0 4px; opacity: .8; font-size: 12px; }
.eai-root .mock-sales .mk-suggest em {
  font-style: normal;
  display: block;
  font-weight: 500;
  text-wrap: pretty;
}

/* 02 Chat / 客服 */
.eai-root .mock-cs .chat {
  display: grid; gap: 10px;
  padding-top: 2px;
}
.eai-root .mock-cs .bubble {
  max-width: 88%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.6;
  position: relative;
}
.eai-root .mock-cs .bubble.user {
  background: var(--ink-50);
  color: var(--ink-900);
  border-bottom-right-radius: 4px;
  justify-self: end;
}
.eai-root .mock-cs .bubble.bot {
  background: linear-gradient(135deg, var(--brand) 0%, #1a85ff 100%);
  color: #fff;
  border-bottom-left-radius: 4px;
  justify-self: start;
}
.eai-root .mock-cs .bubble .who {
  display: block;
  font-size: 11px;
  font-weight: 700;
  opacity: 0.75;
  margin-bottom: 2px;
}
.eai-root .mock-cs .bubble.typing { padding: 12px 16px; }
.eai-root .mock-cs .bubble.typing .dots {
  display: inline-flex; gap: 4px; vertical-align: middle;
}
.eai-root .mock-cs .bubble.typing .dots i {
  width: 6px; height: 6px; border-radius: 50%;
  background: #fff;
  display: inline-block;
  animation: typing 1.2s infinite var(--easing);
}
.eai-root .mock-cs .bubble.typing .dots i:nth-child(2) { animation-delay: 0.15s; }
.eai-root .mock-cs .bubble.typing .dots i:nth-child(3) { animation-delay: 0.30s; }
@keyframes typing {
  0%, 60%, 100% { opacity: 0.35; transform: translateY(0); }
  30%           { opacity: 1;    transform: translateY(-3px); }
}

/* 03 Workflow */
.eai-root .mock-flow .flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 8px;
  align-items: center;
  padding: 8px 0;
}
.eai-root .mock-flow .node {
  background: var(--ink-50);
  border: 1px solid var(--ink-100);
  border-radius: 12px;
  padding: 14px 8px;
  text-align: center;
  font-size: 12px;
  color: var(--ink-700);
  font-weight: 600;
  display: flex; flex-direction: column; gap: 6px;
  align-items: center;
  transition: background .35s var(--easing);
}
.eai-root .mock-flow .node.hl {
  background: linear-gradient(135deg, var(--brand) 0%, #4aa1ff 100%);
  color: #fff; border-color: transparent;
}
.eai-root .mock-flow .node.done {
  background: rgba(40, 201, 130, 0.12);
  color: #0aa365;
  border-color: rgba(40,201,130,0.3);
}
.eai-root .mock-flow .ico-sq { font-size: 18px; line-height: 1; }
.eai-root .mock-flow .arrow {
  width: 22px; height: 2px;
  background: var(--ink-200);
  position: relative;
}
.eai-root .mock-flow .arrow::after {
  content: "";
  position: absolute;
  right: -1px; top: 50%;
  width: 7px; height: 7px;
  border-top: 2px solid var(--ink-200);
  border-right: 2px solid var(--ink-200);
  transform: translateY(-50%) rotate(45deg);
}
.eai-root .mock-flow .flow-foot {
  margin-top: 14px;
  padding: 12px 14px;
  background: var(--ink-50);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12.5px;
  color: var(--ink-500);
}
.eai-root .mock-flow .flow-foot strong { color: var(--brand); font-weight: 700; }

/* 04 Report */
.eai-root .mock-report .ask {
  background: var(--brand-soft);
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13px;
  color: var(--brand);
  font-weight: 500;
  border: 1px dashed rgba(0, 114, 255, 0.3);
}
.eai-root .mock-report .ask .q { letter-spacing: 0.01em; }
.eai-root .mock-report .kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 14px 0;
}
.eai-root .mock-report .kpi {
  background: var(--ink-50);
  border-radius: 12px;
  padding: 12px;
  display: flex; flex-direction: column; gap: 2px;
}
.eai-root .mock-report .kpi span { font-size: 11.5px; color: var(--ink-400); }
.eai-root .mock-report .kpi strong { font-size: 17px; color: var(--ink-900); font-weight: 700; font-variant-numeric: tabular-nums; }
.eai-root .mock-report .kpi em {
  font-style: normal;
  font-size: 11.5px;
  font-weight: 600;
}
.eai-root .mock-report .kpi em.up { color: #0aa365; }
.eai-root .mock-report .kpi em.down { color: #d94042; }
.eai-root .mock-report .chart {
  display: flex; align-items: flex-end; gap: 8px;
  height: 80px;
  padding: 8px 4px 0;
  border-top: 1px dashed var(--ink-100);
}
.eai-root .mock-report .chart i {
  flex: 1;
  background: linear-gradient(180deg, #66b7ff 0%, var(--brand) 100%);
  border-radius: 4px 4px 0 0;
  display: block;
  transform-origin: bottom;
  animation: bar-grow 1.4s var(--easing) backwards;
}
.eai-root .mock-report .chart i:nth-child(1) { animation-delay: 0.0s;  }
.eai-root .mock-report .chart i:nth-child(2) { animation-delay: 0.08s; }
.eai-root .mock-report .chart i:nth-child(3) { animation-delay: 0.16s; }
.eai-root .mock-report .chart i:nth-child(4) { animation-delay: 0.24s; }
.eai-root .mock-report .chart i:nth-child(5) { animation-delay: 0.32s; }
.eai-root .mock-report .chart i:nth-child(6) { animation-delay: 0.40s; }
.eai-root .mock-report .chart i:nth-child(7) { animation-delay: 0.48s; }
@keyframes bar-grow {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}

/* 05 Legacy / 老系统改造 */
.eai-root .mock-legacy .stack {
  display: grid;
  gap: 0;
  padding: 4px 0;
}
.eai-root .mock-legacy .layer {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--ink-100);
  display: flex; flex-direction: column; gap: 4px;
  position: relative;
}
.eai-root .mock-legacy .layer .lab { font-size: 13px; font-weight: 700; color: var(--ink-900); }
.eai-root .mock-legacy .layer .sub { font-size: 11.5px; color: var(--ink-400); }
.eai-root .mock-legacy .layer.top {
  background: linear-gradient(135deg, var(--brand) 0%, #1a85ff 100%);
  color: #fff; border-color: transparent;
}
.eai-root .mock-legacy .layer.top .lab, .eai-root .mock-legacy .layer.top .sub { color: #fff; }
.eai-root .mock-legacy .layer.top .sub { opacity: 0.85; }
.eai-root .mock-legacy .layer.mid {
  background: var(--brand-soft);
  border-color: rgba(0, 114, 255, 0.25);
  color: var(--brand);
}
.eai-root .mock-legacy .layer.mid .lab { color: var(--brand); }
.eai-root .mock-legacy .layer.bottom.legacy {
  background: repeating-linear-gradient(
    45deg,
    var(--ink-50),
    var(--ink-50) 8px,
    #f0f3f9 8px,
    #f0f3f9 16px
  );
  color: var(--ink-500);
}
.eai-root .mock-legacy .layer.bottom.legacy .lab { color: var(--ink-700); }
.eai-root .mock-legacy .bridge {
  width: 2px;
  height: 16px;
  background: linear-gradient(180deg, var(--brand) 0%, rgba(0,114,255,0.3) 100%);
  margin: 0 auto;
  position: relative;
}
.eai-root .mock-legacy .bridge::after {
  content: "";
  position: absolute;
  top: -3px; left: 50%; transform: translateX(-50%);
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 8px rgba(0,114,255,0.6);
  animation: bridge-pulse 2s infinite var(--easing);
}
@keyframes bridge-pulse {
  0%, 100% { transform: translate(-50%, 0); opacity: 1; }
  50%      { transform: translate(-50%, 8px); opacity: 0.6; }
}

/* ---------- Counter animation ---------- */
.eai-root .counter[data-target] { font-variant-numeric: tabular-nums; }

/* ============================================================
   Responsive — H5 / mobile
   ============================================================ */
@media (max-width: 1024px) {
  .eai-root .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .eai-root .hero-visual { height: 520px; width: 100%; max-width: 560px; margin: 0 auto; }
  .eai-root .cap-grid { grid-template-columns: repeat(2, 1fr); }
  .eai-root .scn-row, .eai-root .scn-row.reverse { grid-template-columns: 1fr; gap: 28px; }
  .eai-root .scn-row.reverse .scn-visual { order: 0; }
  .eai-root .scn-row.reverse .scn-text { order: 0; }
  .eai-root .sec-row { grid-template-columns: repeat(2, 1fr); }
  .eai-root .t-grid-simple { grid-template-columns: 1fr; }
  .eai-root .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .eai-root .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .eai-root { --section-py: 64px; }
  .eai-root .container { padding: 0 18px; }
  .eai-root .nav-inner { height: 60px; }
  .eai-root .nav-links, .eai-root .nav-cta .btn-ghost { display: none; }
  .eai-root .nav-toggle { display: inline-flex; }
  .eai-root .nav-cta .btn-primary { padding: 9px 16px; font-size: 13px; }

  .eai-root .hero { padding: 90px 0 40px; min-height: auto; height: auto; align-items: flex-start; }
  .eai-root .hero-copy h1 { font-size: clamp(28px, 7vw, 40px); }
  .eai-root .hero-copy p.lead { font-size: 14px; }
  .eai-root .hero-visual { height: 380px; }
  .eai-root .orb { width: 200px; height: 200px; }
  .eai-root .ring.r1 { width: 260px; height: 260px; }
  .eai-root .ring.r2 { width: 320px; height: 320px; }
  .eai-root .ring.r3 { width: 380px; height: 380px; }
  .eai-root .floating-chip { font-size: 11.5px; padding: 7px 10px; gap: 6px; }
  .eai-root .floating-chip .ico { width: 20px; height: 20px; }
  .eai-root .floating-chip.cp1 { top: 2%;  left: 0; }
  .eai-root .floating-chip.cp2 { top: 6%;  right: 0; }
  .eai-root .floating-chip.cp3 { top: 36%; left: 0; }
  .eai-root .floating-chip.cp4 { top: 46%; }
  .eai-root .floating-chip.cp5 { top: 64%; left: 4%; }
  .eai-root .floating-chip.cp6 { top: 38%; right: 0; }
  .eai-root .floating-chip.cp7 { bottom: 2%; right: 4%; }

  .eai-root .hero-form { gap: 10px; }
  .eai-root .phone-input { padding: 3px 4px 3px 14px; }
  .eai-root .phone-input .prefix { font-size: 14px; margin-right: 8px; padding-right: 8px; }
  .eai-root .phone-input input { font-size: 14px; padding: 11px 4px; }
  .eai-root .hero-form .btn-primary { padding: 12px 18px; font-size: 14px; }

  .eai-root .section-head { margin-bottom: 36px; }
  .eai-root .cap-grid { grid-template-columns: 1fr; gap: 16px; }
  .eai-root .cap-card { padding: 26px 22px; }
  .eai-root .scn-text .scn-num { font-size: 42px; }
  .eai-root .scn-text h3 { font-size: 22px; }
  .eai-root .mock-flow .flow { grid-template-columns: 1fr; gap: 4px; }
  .eai-root .mock-flow .arrow { width: 2px; height: 14px; margin: 0 auto; background: var(--ink-200); }
  .eai-root .mock-flow .arrow::after { right: 50%; top: auto; bottom: -1px; transform: translateX(50%) rotate(135deg); border-top: none; border-left: none; border-bottom: 2px solid var(--ink-200); border-right: 2px solid var(--ink-200); }
  .eai-root .sec-row { grid-template-columns: 1fr; }
  .eai-root .ind-grid { grid-template-columns: 1fr; }
  .eai-root .ind-card { padding: 22px 20px; }
  .eai-root .t-grid-simple { grid-template-columns: 1fr; }

  .eai-root .footer-top { grid-template-columns: 1fr; gap: 28px; padding-bottom: 28px; }
  .eai-root .footer-bottom { flex-direction: column; align-items: flex-start; }

  .eai-root .about-visual { max-width: 360px; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .eai-root *,
  .eai-root *::before,
  .eai-root *::after {
    animation: none !important;
    transition: none !important;
  }
  .eai-root .reveal, .eai-root .reveal-stagger > *, .eai-root .title-anim .word > span { opacity: 1; transform: none; }
}

/* Embedded in main site (#wrapper / Bootstrap): keep layout tokens local */
body.stretched .eai-root,
#wrapper .eai-root {
  width: 100%;
  max-width: none;
  float: none;
}

body.stretched .eai-root .container {
  width: 100%;
  max-width: var(--container);
  padding-left: 24px;
  padding-right: 24px;
}
