/* ==========================================================================
   AI eCommerce Solutions — page-scoped Meta Ads conversion CSS
   All selectors scoped under .aiec-page / .aiec-* (no global leakage)
   ========================================================================== */

.aiec-page {
  --aiec-navy: #061b2c;
  --aiec-navy-deep: #03141f;
  --aiec-navy-mid: #0a2f4a;
  --aiec-navy-lift: #0d3a5c;
  --aiec-blue: #0b66c3;
  --aiec-blue-b: #0077c8;
  --aiec-blue-soft: #8fb8e8;
  --aiec-blue-glow: rgba(11, 102, 195, .28);
  --aiec-ink: #0f1c2a;
  --aiec-muted: #5a7086;
  --aiec-soft: #f5f8fc;
  --aiec-soft-2: #eef3f9;
  --aiec-editorial: #f7f4ef;
  --aiec-white: #fff;
  --aiec-line: #d9e3ef;
  --aiec-line-soft: rgba(6, 27, 44, .08);
  --aiec-amber: #c47a1a;
  --aiec-rose: #b54a4a;
  --aiec-ok: #15803d;
  --aiec-radius: 14px;
  --aiec-radius-lg: 20px;
  --aiec-radius-sm: 10px;
  --aiec-shadow: 0 10px 32px rgba(6, 27, 44, .08);
  --aiec-shadow-lg: 0 22px 56px rgba(6, 27, 44, .14);
  --aiec-shadow-float: 0 28px 64px rgba(3, 20, 31, .45);
  --aiec-wrap: min(1180px, calc(100% - 2rem));
  --aiec-header-offset: 76px;
  --aiec-bar-height: 48px;
  --aiec-section-y: clamp(3.5rem, 8vw, 6.25rem);
  --aiec-ease: cubic-bezier(.22, 1, .36, 1);
  --aiec-ease-out: cubic-bezier(.16, 1, .3, 1);
  background: var(--aiec-soft);
  color: var(--aiec-ink);
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  overflow-x: clip;
  scroll-padding-top: calc(var(--aiec-header-offset) + var(--aiec-bar-height) + 1rem);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 640px) {
  .aiec-page {
    --aiec-header-offset: 60px;
    --aiec-wrap: min(1180px, calc(100% - 1.25rem));
  }
}

.aiec-wrap {
  width: var(--aiec-wrap);
  margin-inline: auto;
  max-width: 100%;
}

.aiec-page *,
.aiec-page *::before,
.aiec-page *::after {
  box-sizing: border-box;
}

.aiec-page img,
.aiec-page svg,
.aiec-page video {
  max-width: 100%;
  height: auto;
}

.aiec-page h1,
.aiec-page h2,
.aiec-page h3,
.aiec-page h4 {
  font-family: inherit;
  color: inherit;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.aiec-page strong {
  font-weight: 650;
  color: var(--aiec-ink);
}

.aiec-page a:focus-visible,
.aiec-page button:focus-visible,
.aiec-page summary:focus-visible,
.aiec-page [tabindex]:focus-visible {
  outline: 2px solid var(--aiec-blue-b);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Typography hierarchy
   -------------------------------------------------------------------------- */

.aiec-eyebrow,
.aiec-kicker {
  display: block;
  font-size: clamp(.75rem, 1.2vw, .875rem);
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--aiec-blue);
  margin: 0 0 .9rem;
  line-height: 1.3;
}

.aiec-kicker--light,
.aiec-section-head.is-light .aiec-eyebrow,
.aiec-hero .aiec-eyebrow,
.aiec-eco .aiec-kicker,
.aiec-growth .aiec-eyebrow,
.aiec-custom .aiec-eyebrow,
.aiec-why .aiec-eyebrow,
.aiec-contact .aiec-eyebrow {
  color: var(--aiec-blue-soft);
}

.aiec-hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.035em;
  margin: 0 0 1.15rem;
  color: var(--aiec-white);
}

.aiec-hero-title span {
  color: #7ec4ff;
  display: inline;
}

.aiec-section-head h2,
.aiec-req h2,
.aiec-ba h2,
.aiec-platforms h2,
.aiec-eco h2,
.aiec-ai h2,
.aiec-admin h2,
.aiec-custom h2,
.aiec-growth h2,
.aiec-proof h2,
.aiec-process h2,
.aiec-why h2,
.aiec-reviews h2,
.aiec-tech h2,
.aiec-faq h2,
.aiec-contact h2,
.aiec-heading--light {
  font-size: clamp(1.875rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  margin: 0 0 .85rem;
  color: var(--aiec-ink);
}

.aiec-heading--light,
.aiec-section-head.is-light h2,
.aiec-eco h2,
.aiec-custom h2,
.aiec-growth h2,
.aiec-why h2,
.aiec-contact h2 {
  color: var(--aiec-white);
}

.aiec-page h3,
.aiec-platform-card h3,
.aiec-proof-copy h3,
.aiec-process-step h3,
.aiec-admin-benefits-title,
.aiec-form-next h3,
.aiec-tech-group h3 {
  font-size: clamp(1.375rem, 2vw, 1.625rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.02em;
}

.aiec-hero-lead,
.aiec-section-lead {
  margin: 0;
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  font-weight: 400;
  line-height: 1.65;
  color: var(--aiec-muted);
  max-width: 38rem;
}

.aiec-hero-lead {
  color: rgba(255, 255, 255, .82);
  margin-bottom: 1.6rem;
}

.aiec-section-head.is-light .aiec-section-lead,
.aiec-eco .aiec-section-lead,
.aiec-custom .aiec-section-lead,
.aiec-growth .aiec-section-lead,
.aiec-why .aiec-section-lead,
.aiec-contact .aiec-section-lead {
  color: rgba(255, 255, 255, .72);
}

.aiec-section-head {
  max-width: 42rem;
  margin-bottom: clamp(1.85rem, 4.5vw, 2.75rem);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.aiec-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 52px;
  padding: .75rem 1.45rem;
  border-radius: 12px;
  font-family: inherit;
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform .22s var(--aiec-ease),
    box-shadow .22s ease,
    background .2s ease,
    border-color .2s ease,
    color .2s ease;
}

.aiec-btn-primary {
  background: linear-gradient(135deg, var(--aiec-blue) 0%, var(--aiec-blue-b) 100%);
  color: var(--aiec-white);
  box-shadow: 0 12px 30px var(--aiec-blue-glow);
}

.aiec-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(11, 102, 195, .38);
}

.aiec-btn-ghost {
  background: var(--aiec-white);
  border-color: var(--aiec-line);
  color: var(--aiec-ink);
}

.aiec-btn-ghost:hover {
  border-color: rgba(11, 102, 195, .4);
  color: var(--aiec-blue);
}

.aiec-hero .aiec-btn-ghost,
.aiec-contact .aiec-btn-ghost,
.aiec-form-shell .aiec-btn-ghost {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .28);
  color: var(--aiec-white);
}

.aiec-hero .aiec-btn-ghost:hover,
.aiec-contact .aiec-btn-ghost:hover,
.aiec-form-shell .aiec-btn-ghost:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .5);
  color: var(--aiec-white);
}

.aiec-form-main .aiec-btn-ghost {
  background: var(--aiec-soft);
  border-color: var(--aiec-line);
  color: var(--aiec-ink);
}

.aiec-form-main .aiec-btn-ghost:hover {
  border-color: rgba(11, 102, 195, .4);
  color: var(--aiec-blue);
  background: var(--aiec-white);
}

/* --------------------------------------------------------------------------
   Campaign bar
   -------------------------------------------------------------------------- */

.aiec-campaign-bar {
  position: sticky;
  top: var(--aiec-header-offset);
  z-index: 90;
  background: rgba(4, 25, 44, .96);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.aiec-campaign-inner {
  display: flex;
  align-items: center;
  gap: .85rem;
  min-height: var(--aiec-bar-height);
  padding-block: .4rem;
}

.aiec-campaign-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--aiec-blue-soft);
  white-space: nowrap;
  flex-shrink: 0;
}

.aiec-campaign-nav {
  display: flex;
  gap: .15rem;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.aiec-campaign-nav::-webkit-scrollbar {
  display: none;
}

.aiec-campaign-nav a {
  color: rgba(255, 255, 255, .78);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 500;
  padding: .4rem .7rem;
  border-radius: 8px;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
}

.aiec-campaign-nav a:hover {
  background: rgba(255, 255, 255, .08);
  color: var(--aiec-white);
}

.aiec-campaign-cta {
  margin-left: auto;
  flex-shrink: 0;
  background: var(--aiec-blue);
  color: var(--aiec-white);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 600;
  padding: .5rem 1rem;
  border-radius: 10px;
  white-space: nowrap;
  transition: background .15s ease, transform .15s ease;
}

.aiec-campaign-cta:hover {
  background: var(--aiec-blue-b);
  transform: translateY(-1px);
}

@media (max-width: 820px) {
  .aiec-campaign-nav {
    display: none;
  }

  .aiec-campaign-label {
    font-size: .68rem;
    max-width: 42vw;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* ==========================================================================
   1. HERO — dark navy, cinematic
   ========================================================================== */

.aiec-hero {
  position: relative;
  min-height: calc(100svh - var(--aiec-header-offset) - var(--aiec-bar-height));
  display: flex;
  align-items: center;
  color: var(--aiec-white);
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3.25rem, 7vw, 5rem);
  background:
    radial-gradient(ellipse 65% 50% at 82% 38%, rgba(11, 102, 195, .28) 0%, transparent 58%),
    radial-gradient(ellipse 40% 35% at 12% 80%, rgba(0, 119, 200, .12) 0%, transparent 55%),
    linear-gradient(168deg, #020c14 0%, var(--aiec-navy) 42%, var(--aiec-navy-mid) 100%);
}

.aiec-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.aiec-hero-glow {
  position: absolute;
  width: min(560px, 75vw);
  height: min(560px, 75vw);
  top: -12%;
  right: -8%;
  background: radial-gradient(circle, rgba(0, 119, 200, .32) 0%, transparent 68%);
  filter: blur(10px);
  opacity: .9;
}

.aiec-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 70% 60% at 58% 42%, #000 12%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 58% 42%, #000 12%, transparent 72%);
}

.aiec-hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1.75rem, 4.5vw, 3.5rem);
  align-items: center;
  width: 100%;
}

.aiec-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-bottom: 1.1rem;
}

.aiec-hero-qual {
  font-size: .88rem;
  color: rgba(255, 255, 255, .55);
  margin: 0 0 1.35rem;
  max-width: 32rem;
  line-height: 1.55;
}

.aiec-hero-partner {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.aiec-hero-partner-label {
  font-size: .72rem;
  color: rgba(255, 255, 255, .5);
  margin: 0;
  letter-spacing: .04em;
}

.aiec-hero-partner img {
  width: auto;
  max-width: 200px;
  height: auto;
  filter: brightness(1.05);
}

/* Hero stage — layered depth composition */
.aiec-hero-visual {
  position: relative;
  min-height: 520px;
  perspective: 1200px;
}

.aiec-hero-stage {
  position: relative;
  width: 100%;
  height: 540px;
  border-radius: var(--aiec-radius-lg);
}

.aiec-hero-stage-glow {
  position: absolute;
  inset: 10% 6%;
  pointer-events: none;
  background: radial-gradient(ellipse at 48% 45%, rgba(11, 102, 195, .4) 0%, transparent 68%);
  filter: blur(24px);
}

.aiec-hero-stage-grid {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: .45;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 78% 68% at 50% 48%, #000 28%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 78% 68% at 50% 48%, #000 28%, transparent 78%);
}

.aiec-hero-panel {
  position: absolute;
  background: rgba(255, 255, 255, .97);
  color: var(--aiec-ink);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 14px;
  box-shadow: var(--aiec-shadow-float);
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  will-change: transform;
}

.aiec-hero-tag {
  display: inline-block;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--aiec-blue);
  background: rgba(11, 102, 195, .09);
  padding: .2rem .45rem;
  border-radius: 6px;
  margin-bottom: .45rem;
}

.aiec-hero-panel-title {
  font-size: .78rem;
  font-weight: 700;
  margin-bottom: .45rem;
}

/* Dominant storefront — front & largest */
.aiec-hero-panel--storefront {
  width: 62%;
  top: 4%;
  left: 2%;
  z-index: 8;
  padding: .7rem;
  transform: translateZ(40px) scale(1);
  animation: aiec-float-a 7s var(--aiec-ease) infinite alternate;
}

/* Secondary panels — behind, lower opacity/scale */
.aiec-hero-panel--admin {
  width: 36%;
  top: 54%;
  left: 6%;
  z-index: 5;
  padding: .65rem;
  opacity: .88;
  transform: scale(.94) translateZ(-20px);
  animation: aiec-float-b 8.5s var(--aiec-ease) infinite alternate;
}

.aiec-hero-panel--orders {
  width: 27%;
  top: 2%;
  right: 26%;
  z-index: 4;
  padding: .6rem;
  opacity: .78;
  transform: scale(.9) translateZ(-40px);
  animation: aiec-float-c 9s var(--aiec-ease) infinite alternate;
}

.aiec-hero-panel--chat {
  width: 30%;
  top: 36%;
  right: 24%;
  z-index: 3;
  padding: .6rem;
  opacity: .72;
  transform: scale(.88) translateZ(-50px);
  animation: aiec-float-a 10s var(--aiec-ease) infinite alternate-reverse;
}

.aiec-hero-panel--mobile {
  width: 24%;
  top: 16%;
  right: 1%;
  z-index: 9;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  opacity: 1;
  animation: aiec-float-b 6.5s var(--aiec-ease) infinite alternate;
}

.aiec-hero-panel--customers {
  width: 28%;
  bottom: 4%;
  right: 2%;
  z-index: 6;
  padding: .6rem;
  opacity: .82;
  transform: scale(.92);
  animation: aiec-float-c 7.5s var(--aiec-ease) infinite alternate-reverse;
}

.aiec-hero-panel--inventory {
  width: 28%;
  bottom: 6%;
  left: 44%;
  z-index: 4;
  padding: .6rem;
  opacity: .75;
  transform: scale(.9);
  animation: aiec-float-a 8s var(--aiec-ease) infinite alternate;
}

.aiec-hero-panel--analytics {
  width: 22%;
  top: 68%;
  left: 1%;
  z-index: 3;
  padding: .55rem;
  opacity: .7;
  transform: scale(.88);
  animation: aiec-float-b 9.5s var(--aiec-ease) infinite alternate;
}

@keyframes aiec-float-a {
  from { transform: translateY(0) scale(var(--aiec-panel-scale, 1)); }
  to { transform: translateY(-10px) scale(var(--aiec-panel-scale, 1)); }
}

@keyframes aiec-float-b {
  from { transform: translateY(0) scale(.94); }
  to { transform: translateY(-8px) scale(.94); }
}

@keyframes aiec-float-c {
  from { transform: translateY(0) scale(.9); }
  to { transform: translateY(-6px) scale(.9); }
}

.aiec-hero-panel--storefront { --aiec-panel-scale: 1; }

/* Storefront chrome & body */
.aiec-hero-chrome {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .35rem .5rem;
  background: var(--aiec-soft);
  border-radius: 8px;
  margin-bottom: .5rem;
}

.aiec-hero-dots {
  display: flex;
  gap: 4px;
}

.aiec-hero-dots i {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c5d0dc;
}

.aiec-hero-dots i:first-child { background: #f5a623; }
.aiec-hero-dots i:nth-child(2) { background: #52c41a; }
.aiec-hero-dots i:nth-child(3) { background: #ff4d4f; }

.aiec-hero-url {
  font-size: .65rem;
  color: var(--aiec-muted);
  flex: 1;
  text-align: center;
}

.aiec-hero-store-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-bottom: .55rem;
  font-size: .68rem;
}

.aiec-hero-brand-mark { font-weight: 700; }

.aiec-hero-nav-links {
  display: flex;
  gap: 4px;
}

.aiec-hero-nav-links i {
  width: 18px;
  height: 4px;
  border-radius: 2px;
  background: var(--aiec-line);
}

.aiec-hero-cart {
  color: var(--aiec-muted);
  font-weight: 600;
}

.aiec-hero-store-hero {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: .55rem;
  margin-bottom: .5rem;
}

.aiec-hero-product-shot {
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(145deg, #e8eef6, #c9d7e8);
}

.aiec-hero-product-img {
  display: block;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 40% 35%, rgba(255, 255, 255, .7), transparent 50%),
    linear-gradient(160deg, #b8c9dc, #7a97b5);
}

.aiec-hero-product-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  font-size: .55rem;
  font-weight: 700;
  background: var(--aiec-navy);
  color: #fff;
  padding: .15rem .35rem;
  border-radius: 4px;
}

.aiec-hero-product-copy {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  justify-content: center;
  font-size: .72rem;
}

.aiec-hero-product-copy strong { font-size: .82rem; }
.aiec-hero-product-copy > span { color: var(--aiec-muted); }

.aiec-hero-cta-bar {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin-top: .25rem;
  padding: .35rem .55rem;
  background: var(--aiec-blue);
  color: #fff !important;
  border-radius: 7px;
  font-weight: 600;
  font-size: .68rem;
  width: fit-content;
}

.aiec-hero-store-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .35rem;
}

.aiec-hero-store-rail span {
  aspect-ratio: 1.1;
  border-radius: 7px;
  background: linear-gradient(145deg, #eef3f9, #d5e0ec);
}

/* Phone mock */
.aiec-hero-phone {
  background: var(--aiec-navy-deep);
  border-radius: 18px;
  padding: .45rem;
  border: 2px solid rgba(255, 255, 255, .12);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .4);
}

.aiec-hero-phone-notch {
  display: block;
  width: 36%;
  height: 5px;
  margin: 0 auto .4rem;
  background: rgba(255, 255, 255, .18);
  border-radius: 4px;
}

.aiec-hero-phone-screen {
  background: var(--aiec-white);
  border-radius: 12px;
  padding: .55rem;
  color: var(--aiec-ink);
}

.aiec-hero-phone-header {
  display: flex;
  justify-content: space-between;
  font-size: .62rem;
  font-weight: 700;
  margin-bottom: .45rem;
  color: var(--aiec-muted);
}

.aiec-hero-phone-item {
  display: flex;
  gap: .4rem;
  align-items: center;
  margin-bottom: .5rem;
  font-size: .62rem;
}

.aiec-hero-phone-thumb {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(145deg, #c9d7e8, #8aa4bf);
  flex-shrink: 0;
}

.aiec-hero-phone-item strong { display: block; font-size: .68rem; }
.aiec-hero-phone-item span { color: var(--aiec-muted); }

.aiec-hero-phone-totals {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .2rem .5rem;
  font-size: .58rem;
  color: var(--aiec-muted);
  margin-bottom: .45rem;
  padding-top: .35rem;
  border-top: 1px solid var(--aiec-line);
}

.aiec-hero-phone-total {
  font-weight: 700;
  color: var(--aiec-ink);
}

.aiec-hero-phone-pay {
  display: block;
  text-align: center;
  background: var(--aiec-blue);
  color: #fff;
  font-size: .65rem;
  font-weight: 600;
  padding: .4rem;
  border-radius: 7px;
}

/* Admin / orders / chat mini panels */
.aiec-hero-admin-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: .5rem;
  font-size: .78rem;
}

.aiec-hero-live {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .62rem;
  font-weight: 600;
  color: var(--aiec-ok);
}

.aiec-hero-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .2);
}

.aiec-hero-admin-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .35rem;
  margin-bottom: .5rem;
}

.aiec-hero-admin-kpis div {
  background: var(--aiec-soft);
  border-radius: 8px;
  padding: .35rem;
  text-align: center;
}

.aiec-hero-admin-kpis span {
  display: block;
  font-size: .55rem;
  color: var(--aiec-muted);
  margin-bottom: .15rem;
}

.aiec-hero-admin-kpis strong { font-size: .78rem; }

.aiec-hero-admin-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 42px;
  padding: 0 .15rem;
}

.aiec-hero-admin-chart span {
  flex: 1;
  height: var(--h, 50%);
  border-radius: 3px 3px 0 0;
  background: linear-gradient(to top, var(--aiec-blue), #4da3e8);
  opacity: .85;
}

.aiec-hero-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .3rem;
}

.aiec-hero-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .68rem;
  padding: .3rem .35rem;
  background: var(--aiec-soft);
  border-radius: 7px;
}

.aiec-hero-status {
  font-size: .58rem;
  font-weight: 700;
  padding: .12rem .35rem;
  border-radius: 999px;
}

.aiec-hero-status--ok {
  background: rgba(34, 197, 94, .12);
  color: var(--aiec-ok);
}

.aiec-hero-status--warn {
  background: rgba(245, 158, 11, .15);
  color: #b45309;
}

.aiec-hero-people {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .35rem;
}

.aiec-hero-people li {
  display: flex;
  gap: .4rem;
  align-items: center;
  font-size: .65rem;
}

.aiec-hero-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--aiec-blue), var(--aiec-navy-mid));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .62rem;
  font-weight: 700;
}

.aiec-hero-people strong { display: block; font-size: .7rem; }
.aiec-hero-people span { color: var(--aiec-muted); }

.aiec-hero-stock {
  display: grid;
  gap: .4rem;
  font-size: .65rem;
}

.aiec-hero-meter {
  height: 5px;
  background: var(--aiec-line);
  border-radius: 999px;
  margin: .2rem 0;
  overflow: hidden;
}

.aiec-hero-meter i {
  display: block;
  width: var(--w, 50%);
  height: 100%;
  background: var(--aiec-blue);
  border-radius: inherit;
}

.aiec-hero-meter--low i { background: #e67e22; }

.aiec-hero-stock em {
  font-style: normal;
  color: var(--aiec-muted);
  font-size: .58rem;
}

.aiec-hero-chat {
  display: grid;
  gap: .35rem;
}

.aiec-hero-bubble {
  font-size: .65rem;
  line-height: 1.4;
  padding: .4rem .5rem;
  border-radius: 10px;
  max-width: 95%;
}

.aiec-hero-bubble--in {
  background: var(--aiec-soft);
  border-bottom-left-radius: 4px;
}

.aiec-hero-bubble--out {
  background: rgba(11, 102, 195, .1);
  color: var(--aiec-navy);
  margin-left: auto;
  border-bottom-right-radius: 4px;
}

.aiec-hero-chat-meta {
  font-size: .55rem;
  color: var(--aiec-muted);
  text-align: right;
}

.aiec-hero-analytics-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .35rem;
  margin-bottom: .4rem;
}

.aiec-hero-analytics-row span {
  display: block;
  font-size: .55rem;
  color: var(--aiec-muted);
}

.aiec-hero-analytics-row strong { font-size: .82rem; }

.aiec-hero-spark {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 28px;
}

.aiec-hero-spark span {
  flex: 1;
  height: var(--h, 40%);
  border-radius: 2px 2px 0 0;
  background: rgba(11, 102, 195, .55);
}

/* Hero responsive — stack + portrait recomposition */
@media (max-width: 960px) {
  .aiec-hero {
    min-height: 0;
    align-items: stretch;
    padding-top: clamp(1.75rem, 5vw, 2.75rem);
  }

  .aiec-hero-layout {
    grid-template-columns: 1fr;
    gap: 1.85rem;
  }

  .aiec-hero-visual {
    order: -1;
    min-height: 0;
  }

  .aiec-hero-stage {
    height: auto;
    display: grid;
    grid-template-columns: 1.45fr .95fr;
    gap: .7rem;
    padding: .2rem;
  }

  .aiec-hero-stage-glow,
  .aiec-hero-stage-grid {
    display: none;
  }

  .aiec-hero-panel {
    position: relative;
    inset: auto;
    width: 100% !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }

  .aiec-hero-panel--storefront {
    grid-column: 1;
    grid-row: 1 / 3;
  }

  .aiec-hero-panel--admin { grid-column: 2; grid-row: 1; }
  .aiec-hero-panel--orders { grid-column: 2; grid-row: 2; }

  .aiec-hero-panel--mobile,
  .aiec-hero-panel--customers,
  .aiec-hero-panel--inventory,
  .aiec-hero-panel--chat,
  .aiec-hero-panel--analytics {
    display: none;
  }
}

@media (max-width: 560px), (orientation: portrait) and (max-width: 900px) {
  .aiec-hero-stage {
    grid-template-columns: 1fr;
  }

  .aiec-hero-panel--storefront {
    grid-row: auto;
  }

  .aiec-hero-panel--orders,
  .aiec-hero-panel--admin {
    display: none;
  }

  .aiec-hero-actions {
    flex-direction: column;
  }

  .aiec-hero-actions .aiec-btn {
    width: 100%;
  }

  .aiec-hero-title {
    font-size: clamp(2.25rem, 9vw, 3rem);
  }
}

/* ==========================================================================
   2. TRUST — soft light strip
   ========================================================================== */

.aiec-trust {
  padding: clamp(2rem, 4.5vw, 2.85rem) 0;
  background: var(--aiec-soft);
  border-bottom: 1px solid var(--aiec-line-soft);
}

.aiec-trust-statement {
  text-align: center;
  font-size: clamp(.95rem, 1.5vw, 1.05rem);
  font-weight: 500;
  color: var(--aiec-muted);
  margin: 0 0 1.5rem;
  line-height: 1.55;
}

.aiec-trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.25rem 2.25rem;
}

.aiec-trust-logo img {
  height: 32px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .65;
  transition: opacity .25s ease, filter .25s ease;
}

.aiec-trust-logo:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* ==========================================================================
   3. REQUIREMENT SELECTOR — light white
   ========================================================================== */

.aiec-req {
  padding: var(--aiec-section-y) 0;
  background: var(--aiec-white);
}

.aiec-req-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0 1.65rem;
}

.aiec-req-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .55rem;
  text-align: left;
  padding: 1.35rem 1.3rem;
  background: var(--aiec-soft);
  border: 1.5px solid var(--aiec-line);
  border-radius: var(--aiec-radius);
  box-shadow: 0 4px 18px rgba(6, 27, 44, .03);
  cursor: pointer;
  font-family: inherit;
  color: var(--aiec-ink);
  min-height: 140px;
  position: relative;
  transition:
    border-color .22s ease,
    box-shadow .22s ease,
    transform .25s var(--aiec-ease),
    background .22s ease;
}

/* Compact row layout when only num/label/arrow present */
.aiec-req-card:has(> .aiec-req-num):not(:has(.aiec-req-desc)) {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .85rem;
  min-height: 0;
  flex-direction: unset;
}

.aiec-req-card:hover {
  border-color: rgba(11, 102, 195, .4);
  transform: translateY(-3px) scale(1.01);
  box-shadow: var(--aiec-shadow);
  background: var(--aiec-white);
}

.aiec-req-card.is-active,
.aiec-req-card[aria-pressed="true"] {
  border-color: var(--aiec-blue);
  background: linear-gradient(180deg, rgba(11, 102, 195, .07), var(--aiec-white));
  box-shadow: 0 0 0 3px rgba(11, 102, 195, .14), var(--aiec-shadow);
  transform: scale(1.02);
}

.aiec-req-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(11, 102, 195, .1);
  color: var(--aiec-blue);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.aiec-req-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.aiec-req-num {
  font-size: .8rem;
  font-weight: 700;
  color: var(--aiec-blue);
  letter-spacing: .04em;
}

.aiec-req-label {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--aiec-navy);
}

.aiec-req-desc {
  font-size: .88rem;
  line-height: 1.5;
  color: var(--aiec-muted);
  margin: 0;
}

.aiec-req-expand {
  display: none;
  font-size: .82rem;
  line-height: 1.5;
  color: var(--aiec-blue);
  font-weight: 500;
  margin-top: .25rem;
  padding-top: .65rem;
  border-top: 1px solid rgba(11, 102, 195, .15);
  width: 100%;
}

.aiec-req-card.is-active .aiec-req-expand,
.aiec-req-card[aria-pressed="true"] .aiec-req-expand {
  display: block;
}

.aiec-req-arrow {
  color: var(--aiec-muted);
  font-size: 1.15rem;
  transition: transform .2s ease, color .2s ease;
}

.aiec-req-card.is-active .aiec-req-arrow,
.aiec-req-card:hover .aiec-req-arrow {
  color: var(--aiec-blue);
  transform: translateX(4px);
}

.aiec-req-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: .65rem;
}

.aiec-req-helper {
  margin: 0;
  font-size: .92rem;
  color: var(--aiec-muted);
  max-width: 36rem;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .aiec-req-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .aiec-req-grid {
    grid-template-columns: 1fr;
  }

  .aiec-req-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .aiec-req-footer .aiec-btn {
    width: 100%;
  }
}

/* ==========================================================================
   4. BEFORE / AFTER — editorial soft
   ========================================================================== */

.aiec-ba {
  padding: var(--aiec-section-y) 0;
  background:
    linear-gradient(180deg, var(--aiec-editorial) 0%, #f3f0ea 100%);
}

.aiec-ba-stage,
.aiec-ba-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: stretch;
  margin-top: 2.25rem;
  position: relative;
}

.aiec-ba-grid {
  grid-template-columns: 1fr 1fr;
}

.aiec-ba-bridge {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--aiec-navy);
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(6, 27, 44, .25);
  z-index: 2;
  animation: aiec-bridge-pulse 2.4s var(--aiec-ease) infinite;
}

@keyframes aiec-bridge-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 10px 28px rgba(6, 27, 44, .25); }
  50% { transform: scale(1.06); box-shadow: 0 14px 36px rgba(11, 102, 195, .35); }
}

.aiec-ba-before,
.aiec-ba-after,
.aiec-ba-col {
  border-radius: var(--aiec-radius-lg);
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid var(--aiec-line);
  min-height: 280px;
  position: relative;
  overflow: hidden;
}

.aiec-ba-before,
.aiec-ba-col--before {
  background:
    radial-gradient(circle at 18% 22%, rgba(181, 74, 74, .08), transparent 40%),
    radial-gradient(circle at 78% 70%, rgba(196, 122, 26, .1), transparent 42%),
    #f3eee8;
  border-color: rgba(181, 74, 74, .18);
}

.aiec-ba-after,
.aiec-ba-col--after {
  background:
    linear-gradient(160deg, rgba(11, 102, 195, .07), var(--aiec-white) 55%);
  border-color: rgba(11, 102, 195, .28);
  box-shadow: var(--aiec-shadow);
}

.aiec-ba-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--aiec-muted);
  margin: 0 0 1.15rem;
}

.aiec-ba-label--after {
  color: var(--aiec-blue);
}

/* Chaotic before chips */
.aiec-ba-chips {
  position: relative;
  min-height: 200px;
}

.aiec-ba-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  padding: .55rem .85rem;
  background: rgba(255, 255, 255, .88);
  border: 1px dashed rgba(181, 74, 74, .35);
  border-radius: 8px;
  font-size: .78rem;
  font-weight: 600;
  color: #7a3b3b;
  box-shadow: 0 4px 14px rgba(90, 40, 40, .08);
  white-space: nowrap;
}

.aiec-ba-chip:nth-child(1) { top: 8%; left: 4%; transform: rotate(-8deg); }
.aiec-ba-chip:nth-child(2) { top: 28%; left: 42%; transform: rotate(6deg); color: #8a5a12; border-color: rgba(196, 122, 26, .4); }
.aiec-ba-chip:nth-child(3) { top: 52%; left: 10%; transform: rotate(11deg); }
.aiec-ba-chip:nth-child(4) { top: 18%; left: 68%; transform: rotate(-14deg); color: #8a5a12; border-color: rgba(196, 122, 26, .4); }
.aiec-ba-chip:nth-child(5) { top: 62%; left: 48%; transform: rotate(-5deg); }
.aiec-ba-chip:nth-child(6) { top: 78%; left: 22%; transform: rotate(9deg); }

.aiec-ba-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .8rem;
}

.aiec-ba-list li {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  font-size: .94rem;
  line-height: 1.55;
  color: var(--aiec-ink);
}

.aiec-ba-bullet {
  width: 8px;
  height: 8px;
  margin-top: .45rem;
  border-radius: 50%;
  background: var(--aiec-rose);
  flex-shrink: 0;
  opacity: .75;
}

/* Unified after dashboard mock */
.aiec-ba-dash {
  background: var(--aiec-white);
  border: 1px solid rgba(11, 102, 195, .18);
  border-radius: 12px;
  padding: .85rem;
  display: grid;
  gap: .65rem;
}

.aiec-ba-dash-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .45rem;
}

.aiec-ba-dash-kpi {
  background: var(--aiec-soft);
  border-radius: 8px;
  padding: .5rem .55rem;
  text-align: center;
}

.aiec-ba-dash-kpi span {
  display: block;
  font-size: .58rem;
  color: var(--aiec-muted);
}

.aiec-ba-dash-kpi strong {
  font-size: .85rem;
  color: var(--aiec-navy);
}

.aiec-ba-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
}

.aiec-ba-flow li {
  display: contents;
}

.aiec-ba-node {
  display: inline-flex;
  align-items: center;
  padding: .55rem .9rem;
  background: var(--aiec-white);
  border: 1px solid rgba(11, 102, 195, .22);
  border-radius: 999px;
  font-size: .84rem;
  font-weight: 600;
  color: var(--aiec-navy);
  box-shadow: 0 4px 14px rgba(11, 102, 195, .08);
}

.aiec-ba-arrow {
  color: var(--aiec-blue);
  font-weight: 700;
  opacity: .75;
}

@media (max-width: 820px) {
  .aiec-ba-stage {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .aiec-ba-bridge {
    order: 0;
    margin: -.35rem auto;
  }

  .aiec-ba-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   5. PLATFORMS — light
   ========================================================================== */

.aiec-platforms {
  padding: var(--aiec-section-y) 0;
  background: var(--aiec-white);
}

.aiec-platform-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.aiec-platform-card {
  position: relative;
  background: var(--aiec-soft);
  border: 1px solid var(--aiec-line);
  border-radius: var(--aiec-radius);
  padding: 1.45rem 1.4rem 1.5rem;
  box-shadow: 0 4px 18px rgba(6, 27, 44, .04);
  overflow: hidden;
  transition:
    transform .22s var(--aiec-ease),
    box-shadow .22s ease,
    border-color .22s ease;
}

.aiec-platform-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--aiec-line);
}

.aiec-platform-card--shopify::before {
  background: linear-gradient(90deg, #96bf48, #5e8e3e);
}

.aiec-platform-card--woo::before {
  background: linear-gradient(90deg, #7f54b3, #96588a);
}

.aiec-platform-card--custom::before,
.aiec-platform-card:nth-child(3)::before {
  background: linear-gradient(90deg, var(--aiec-blue), var(--aiec-navy));
}

.aiec-platform-card:nth-child(1)::before {
  background: linear-gradient(90deg, #96bf48, #5e8e3e);
}

.aiec-platform-card:nth-child(2)::before {
  background: linear-gradient(90deg, #7f54b3, #96588a);
}

.aiec-platform-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--aiec-shadow);
  border-color: rgba(11, 102, 195, .3);
  background: var(--aiec-white);
}

.aiec-platform-badge {
  display: inline-flex;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--aiec-blue);
  background: rgba(11, 102, 195, .1);
  padding: .3rem .55rem;
  border-radius: 6px;
  margin-bottom: .75rem;
}

.aiec-platform-card h3 {
  font-size: 1.35rem;
  margin: 0 0 .9rem;
  color: var(--aiec-navy);
}

.aiec-platform-mock {
  height: 72px;
  margin-bottom: 1rem;
  border-radius: 10px;
  background: var(--aiec-white);
  border: 1px solid var(--aiec-line);
  display: grid;
  grid-template-columns: .35fr 1fr;
  gap: .35rem;
  padding: .45rem;
}

.aiec-platform-mock span {
  border-radius: 5px;
  background: linear-gradient(145deg, var(--aiec-soft-2), #d5e0ec);
}

.aiec-platform-card--shopify .aiec-platform-mock,
.aiec-platform-card:nth-child(1) .aiec-platform-mock {
  background: linear-gradient(135deg, #f4faf0, #fff);
}

.aiec-platform-card--woo .aiec-platform-mock,
.aiec-platform-card:nth-child(2) .aiec-platform-mock {
  grid-template-columns: 1fr 1fr 1fr;
}

.aiec-platform-best,
.aiec-platform-strength,
.aiec-platform-when {
  font-size: .9rem;
  line-height: 1.55;
  color: var(--aiec-muted);
  margin: 0 0 .65rem;
}

.aiec-platform-best strong,
.aiec-platform-strength strong,
.aiec-platform-when strong {
  color: var(--aiec-ink);
  font-weight: 650;
}

.aiec-platform-cases {
  margin: .5rem 0 .9rem;
  padding-left: 1.1rem;
  font-size: .86rem;
  line-height: 1.55;
  color: var(--aiec-muted);
}

.aiec-platform-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.85rem;
  padding: 1.2rem 1.4rem;
  background: var(--aiec-soft);
  border: 1px solid var(--aiec-line);
  border-radius: var(--aiec-radius);
}

.aiec-platform-cta p {
  margin: 0;
  font-weight: 650;
  color: var(--aiec-navy);
}

@media (max-width: 960px) {
  .aiec-platform-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .aiec-platform-grid {
    grid-template-columns: 1fr;
  }

  .aiec-platform-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .aiec-platform-cta .aiec-btn {
    width: 100%;
  }
}

/* ==========================================================================
   6. ECOSYSTEM — dark immersive
   ========================================================================== */

.aiec-eco {
  position: relative;
  padding: var(--aiec-section-y) 0;
  min-height: 90vh;
  display: flex;
  align-items: center;
  color: var(--aiec-white);
  overflow: hidden;
  background:
    radial-gradient(ellipse 55% 45% at 50% 42%, rgba(11, 102, 195, .22) 0%, transparent 62%),
    radial-gradient(ellipse 30% 25% at 15% 80%, rgba(0, 119, 200, .1) 0%, transparent 50%),
    linear-gradient(168deg, var(--aiec-navy-deep) 0%, var(--aiec-navy) 48%, var(--aiec-navy-mid) 100%);
}

.aiec-eco .aiec-wrap {
  text-align: center;
  width: 100%;
}

.aiec-eco-orbit,
.aiec-eco-map {
  position: relative;
  width: min(640px, 100%);
  min-height: clamp(70vh, 520px, 85vh);
  aspect-ratio: 1;
  margin: 2.5rem auto 1.75rem;
}

.aiec-eco-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: .45;
}

.aiec-eco-lines line,
.aiec-eco-lines path {
  stroke: rgba(143, 184, 232, .35);
  stroke-width: 1;
  fill: none;
}

.aiec-eco-ring {
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.aiec-eco-ring--mid {
  inset: 22%;
  border-color: rgba(143, 184, 232, .2);
}

.aiec-eco-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  z-index: 2;
  background: linear-gradient(145deg, rgba(11, 102, 195, .5), rgba(6, 27, 44, .92));
  border: 1px solid rgba(143, 184, 232, .4);
  box-shadow:
    0 0 0 10px rgba(11, 102, 195, .1),
    0 16px 48px rgba(0, 0, 0, .35),
    inset 0 1px 0 rgba(255, 255, 255, .12);
}

.aiec-eco-core-label {
  font-size: clamp(.65rem, 1.5vw, .8rem);
  font-weight: 700;
  letter-spacing: .07em;
  line-height: 1.35;
  text-transform: uppercase;
}

.aiec-eco-nodes {
  position: absolute;
  inset: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 3;
}

.aiec-eco-node {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  --angle: calc(var(--aiec-eco-angle, calc(var(--i) * 36deg)) - 90deg);
  transform: rotate(var(--angle)) translate(min(38vw, 255px)) rotate(calc(-1 * var(--angle)));
}

.aiec-eco-node-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  padding: .65rem .8rem;
  color: var(--aiec-white);
  cursor: pointer;
  font-family: inherit;
  min-width: 98px;
  transition:
    background .25s ease,
    border-color .25s ease,
    box-shadow .25s ease,
    transform .25s var(--aiec-ease);
}

.aiec-eco-node-btn:hover,
.aiec-eco-node-btn.is-active,
.aiec-eco-node-btn:focus-visible {
  background: rgba(11, 102, 195, .4);
  border-color: rgba(143, 184, 232, .65);
  box-shadow: 0 0 0 4px rgba(11, 102, 195, .2), 0 8px 28px rgba(11, 102, 195, .3);
  outline: none;
  transform: translate(-50%, -50%) scale(1.06);
}

.aiec-eco-node-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #7ec4ff;
  box-shadow: 0 0 0 3px rgba(126, 196, 255, .2);
  transition: box-shadow .25s ease, background .25s ease;
}

.aiec-eco-node-btn.is-active .aiec-eco-node-dot,
.aiec-eco-node-btn:hover .aiec-eco-node-dot {
  background: #fff;
  box-shadow: 0 0 0 5px rgba(126, 196, 255, .35), 0 0 16px rgba(126, 196, 255, .6);
}

.aiec-eco-node-label {
  font-size: .7rem;
  font-weight: 600;
  white-space: nowrap;
}

.aiec-eco-detail {
  margin: 0 auto;
  max-width: 38rem;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, .74);
  min-height: 3.4em;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--aiec-radius);
}

@media (max-width: 700px) {
  .aiec-eco {
    min-height: 0;
  }

  .aiec-eco-orbit,
  .aiec-eco-map {
    aspect-ratio: auto;
    min-height: 0;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.35rem;
  }

  .aiec-eco-ring,
  .aiec-eco-ring--mid,
  .aiec-eco-lines {
    display: none;
  }

  .aiec-eco-core {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: min(170px, 52vw);
  }

  .aiec-eco-nodes {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .6rem;
    width: 100%;
  }

  .aiec-eco-node {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    height: auto;
    transform: none;
  }

  .aiec-eco-node-btn {
    transform: none;
    width: 100%;
    min-width: 0;
  }

  .aiec-eco-node-btn:hover,
  .aiec-eco-node-btn.is-active {
    transform: scale(1.02);
  }
}

/* ==========================================================================
   7. AI DEMO — soft light product demo
   ========================================================================== */

.aiec-ai {
  padding: var(--aiec-section-y) 0;
  background: var(--aiec-soft);
}

.aiec-ai-layout {
  margin-top: 1.85rem;
}

.aiec-ai-demo,
.aiec-ai-panels {
  width: 100%;
}

.aiec-ai-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.25rem;
}

.aiec-ai-tab {
  font-family: inherit;
  font-size: .9rem;
  font-weight: 600;
  padding: .65rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--aiec-line);
  background: var(--aiec-white);
  color: var(--aiec-muted);
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.aiec-ai-tab:hover {
  border-color: rgba(11, 102, 195, .4);
  color: var(--aiec-blue);
}

.aiec-ai-tab.is-active {
  background: var(--aiec-navy);
  border-color: var(--aiec-navy);
  color: var(--aiec-white);
  box-shadow: 0 8px 22px rgba(6, 27, 44, .18);
}

.aiec-ai-panel {
  display: none;
}

.aiec-ai-panel.is-active {
  display: block;
}

.aiec-ai-panel[hidden] {
  display: none !important;
}

.aiec-ai-split {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 1.15rem;
  align-items: stretch;
}

.aiec-ai-quote-card,
.aiec-ai-steps-card {
  background: var(--aiec-white);
  border: 1px solid var(--aiec-line);
  border-radius: var(--aiec-radius-lg);
  padding: 1.4rem;
  box-shadow: 0 6px 24px rgba(6, 27, 44, .05);
}

.aiec-ai-quote-label,
.aiec-ai-steps-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--aiec-blue);
  margin: 0 0 .7rem;
}

.aiec-ai-quote {
  margin: 0 0 1.25rem;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--aiec-navy);
}

.aiec-ai-chat-mock {
  background: var(--aiec-soft);
  border: 1px solid var(--aiec-line);
  border-radius: 14px;
  overflow: hidden;
  min-height: 220px;
}

.aiec-ai-chat-chrome {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .65rem .85rem;
  background: var(--aiec-navy);
  color: rgba(255, 255, 255, .92);
  font-size: .78rem;
  font-weight: 600;
}

.aiec-ai-chat-status {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .7rem;
  color: #86efac;
}

.aiec-ai-chat-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
}

.aiec-ai-chat-thread {
  padding: 1rem;
  display: grid;
  gap: .55rem;
}

.aiec-ai-msg {
  font-size: .88rem;
  line-height: 1.5;
  padding: .65rem .8rem;
  border-radius: 14px;
  max-width: 90%;
}

.aiec-ai-msg--in {
  background: var(--aiec-white);
  border: 1px solid var(--aiec-line);
  border-bottom-left-radius: 4px;
}

.aiec-ai-msg--out {
  background: rgba(11, 102, 195, .1);
  margin-left: auto;
  border-bottom-right-radius: 4px;
  color: var(--aiec-navy);
  font-weight: 500;
}

.aiec-ai-msg-meta {
  font-size: .72rem;
  color: var(--aiec-muted);
  text-align: right;
}

.aiec-ai-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .85rem;
  position: relative;
}

.aiec-ai-steps::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: linear-gradient(180deg, var(--aiec-blue), var(--aiec-line));
}

.aiec-ai-steps li {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  font-size: .92rem;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

.aiec-ai-step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(11, 102, 195, .12);
  color: var(--aiec-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 700;
}

@media (max-width: 820px) {
  .aiec-ai-split {
    grid-template-columns: 1fr;
  }

  .aiec-ai-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .aiec-ai-tabs::-webkit-scrollbar {
    display: none;
  }

  .aiec-ai-tab {
    white-space: nowrap;
    flex-shrink: 0;
  }
}

/* ==========================================================================
   8. ADMIN — soft + large dashboard
   ========================================================================== */

.aiec-admin {
  padding: var(--aiec-section-y) 0;
  background: linear-gradient(180deg, var(--aiec-soft-2), var(--aiec-soft));
}

.aiec-admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, .85fr);
  gap: 1.6rem;
  align-items: start;
  margin-top: 1.85rem;
}

.aiec-admin-dash,
.aiec-admin-mock {
  border-radius: var(--aiec-radius-lg);
  overflow: hidden;
  border: 1px solid var(--aiec-line);
  box-shadow: var(--aiec-shadow-lg);
  background: var(--aiec-white);
}

.aiec-admin-shell {
  display: grid;
  grid-template-columns: 168px 1fr;
  min-height: 420px;
}

.aiec-admin-sidebar {
  background: var(--aiec-navy);
  color: var(--aiec-white);
  padding: 1.1rem .8rem;
}

.aiec-admin-brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.25rem;
  padding: 0 .4rem;
  font-size: .84rem;
}

.aiec-admin-brand-mark {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: linear-gradient(135deg, var(--aiec-blue-b), #4da3e8);
}

.aiec-admin-nav {
  display: grid;
  gap: .25rem;
}

.aiec-admin-nav-item {
  display: block;
  padding: .48rem .6rem;
  border-radius: 8px;
  font-size: .76rem;
  color: rgba(255, 255, 255, .65);
}

.aiec-admin-nav-item.is-active {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-weight: 600;
}

.aiec-admin-main {
  background: #f7fafc;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.aiec-admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  padding: .8rem 1.05rem;
  background: var(--aiec-white);
  border-bottom: 1px solid var(--aiec-line);
}

.aiec-admin-topbar strong {
  display: block;
  font-size: .9rem;
}

.aiec-admin-topbar span {
  font-size: .7rem;
  color: var(--aiec-muted);
}

.aiec-admin-top-actions {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.aiec-admin-search {
  font-size: .72rem;
  color: var(--aiec-muted);
  background: var(--aiec-soft);
  border: 1px solid var(--aiec-line);
  border-radius: 8px;
  padding: .4rem .7rem;
  min-width: 150px;
}

.aiec-admin-user {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--aiec-navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 700;
}

.aiec-admin-board {
  display: grid;
  grid-template-columns: 1.3fr .9fr;
  gap: .7rem;
  padding: .85rem;
}

.aiec-admin-spot {
  background: var(--aiec-white);
  border: 1px solid var(--aiec-line);
  border-radius: 12px;
  padding: .8rem;
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s var(--aiec-ease);
}

.aiec-admin-spot.is-spotlight,
.aiec-admin-spot.is-illuminated,
.aiec-admin-spot.is-active {
  border-color: rgba(11, 102, 195, .45);
  box-shadow: 0 0 0 3px rgba(11, 102, 195, .12), 0 12px 28px rgba(11, 102, 195, .12);
  transform: translateY(-2px);
}

.aiec-admin-spot--kpis {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .55rem;
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
}

.aiec-admin-spot--kpis.is-spotlight,
.aiec-admin-spot--kpis.is-illuminated {
  transform: none;
  box-shadow: none;
}

.aiec-admin-spot--kpis.is-spotlight .aiec-admin-kpi,
.aiec-admin-spot--kpis.is-illuminated .aiec-admin-kpi {
  border-color: rgba(11, 102, 195, .4);
  box-shadow: 0 0 0 2px rgba(11, 102, 195, .1);
}

.aiec-admin-kpi {
  background: var(--aiec-white);
  border: 1px solid var(--aiec-line);
  border-radius: 10px;
  padding: .6rem .7rem;
  transition: border-color .3s ease, box-shadow .3s ease;
}

.aiec-admin-kpi span {
  display: block;
  font-size: .64rem;
  color: var(--aiec-muted);
  margin-bottom: .15rem;
}

.aiec-admin-kpi strong {
  font-size: 1.05rem;
  color: var(--aiec-navy);
}

.aiec-admin-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: .5rem;
  margin-bottom: .55rem;
}

.aiec-admin-card-head strong { font-size: .8rem; }
.aiec-admin-card-head span { font-size: .64rem; color: var(--aiec-muted); }

.aiec-admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .7rem;
}

.aiec-admin-table th,
.aiec-admin-table td {
  text-align: left;
  padding: .38rem .25rem;
  border-bottom: 1px solid var(--aiec-line-soft);
}

.aiec-admin-table th {
  color: var(--aiec-muted);
  font-weight: 600;
  font-size: .6rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.aiec-admin-pill {
  display: inline-block;
  padding: .12rem .38rem;
  border-radius: 999px;
  font-size: .58rem;
  font-weight: 700;
}

.aiec-admin-pill--ok {
  background: rgba(34, 197, 94, .12);
  color: var(--aiec-ok);
}

.aiec-admin-pill--warn {
  background: rgba(245, 158, 11, .15);
  color: #b45309;
}

.aiec-admin-pill--info {
  background: rgba(11, 102, 195, .12);
  color: var(--aiec-blue);
}

.aiec-admin-inv {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .4rem;
}

.aiec-admin-inv li {
  display: flex;
  justify-content: space-between;
  font-size: .74rem;
  padding: .32rem 0;
  border-bottom: 1px solid var(--aiec-line-soft);
}

.aiec-admin-inv em {
  font-style: normal;
  font-weight: 700;
}

.aiec-admin-inv em.is-low {
  color: #c2410c;
}

.aiec-admin-ai-body {
  font-size: .76rem;
  line-height: 1.5;
  color: var(--aiec-muted);
}

.aiec-admin-ai-body p {
  margin: 0 0 .4rem;
}

.aiec-admin-ai-action {
  display: inline-block;
  margin-top: .35rem;
  font-size: .72rem;
  font-weight: 700;
  color: var(--aiec-blue);
}

.aiec-admin-benefits {
  background: var(--aiec-white);
  border: 1px solid var(--aiec-line);
  border-radius: var(--aiec-radius);
  padding: 1.45rem 1.5rem;
  box-shadow: 0 4px 18px rgba(6, 27, 44, .04);
  position: sticky;
  top: calc(var(--aiec-header-offset) + var(--aiec-bar-height) + 1rem);
}

.aiec-admin-benefits-title {
  font-size: 1.2rem;
  margin: 0 0 1.1rem;
  color: var(--aiec-navy);
}

.aiec-admin-benefits-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .85rem;
}

.aiec-admin-benefits-list li {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  font-size: .92rem;
  line-height: 1.55;
}

.aiec-admin-check {
  width: 18px;
  height: 18px;
  margin-top: .15rem;
  border-radius: 50%;
  background: rgba(11, 102, 195, .12);
  flex-shrink: 0;
  position: relative;
}

.aiec-admin-check::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 3px;
  width: 5px;
  height: 8px;
  border: solid var(--aiec-blue);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

@media (max-width: 960px) {
  .aiec-admin-layout {
    grid-template-columns: 1fr;
  }

  .aiec-admin-benefits {
    position: static;
  }
}

@media (max-width: 720px) {
  .aiec-admin-shell {
    grid-template-columns: 1fr;
  }

  .aiec-admin-sidebar {
    display: none;
  }

  .aiec-admin-board {
    grid-template-columns: 1fr;
  }

  .aiec-admin-spot--kpis {
    grid-template-columns: 1fr 1fr;
  }

  .aiec-admin-search {
    display: none;
  }
}

/* ==========================================================================
   9. CUSTOM ENGINEERING — dark architecture
   ========================================================================== */

.aiec-custom {
  padding: var(--aiec-section-y) 0;
  color: var(--aiec-white);
  overflow: hidden;
  background:
    radial-gradient(ellipse 50% 40% at 50% 30%, rgba(11, 102, 195, .2) 0%, transparent 60%),
    linear-gradient(168deg, #020c14 0%, var(--aiec-navy) 50%, #0a2740 100%);
}

.aiec-custom-arch {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
  margin-top: 2rem;
}

.aiec-custom-core {
  position: relative;
  z-index: 2;
  width: min(220px, 55vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(11, 102, 195, .45), rgba(6, 27, 44, .95));
  border: 1px solid rgba(143, 184, 232, .4);
  box-shadow:
    0 0 0 12px rgba(11, 102, 195, .08),
    0 20px 50px rgba(0, 0, 0, .4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  text-align: center;
  padding: 1.25rem;
}

.aiec-custom-core span {
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--aiec-blue-soft);
}

.aiec-custom-core strong {
  font-size: 1.15rem;
  color: #fff;
  font-weight: 700;
}

.aiec-custom-node {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(160px, 38vw);
  padding: .85rem 1rem;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  text-align: center;
  font-size: .82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .9);
  transform: translate(-50%, -50%) rotate(var(--aiec-node-angle, 0deg)) translateY(var(--aiec-node-r, -180px)) rotate(calc(-1 * var(--aiec-node-angle, 0deg)));
  transition: background .2s ease, border-color .2s ease, transform .25s var(--aiec-ease);
}

.aiec-custom-node:nth-child(2) { --aiec-node-angle: 0deg; }
.aiec-custom-node:nth-child(3) { --aiec-node-angle: 60deg; }
.aiec-custom-node:nth-child(4) { --aiec-node-angle: 120deg; }
.aiec-custom-node:nth-child(5) { --aiec-node-angle: 180deg; }
.aiec-custom-node:nth-child(6) { --aiec-node-angle: 240deg; }
.aiec-custom-node:nth-child(7) { --aiec-node-angle: 300deg; }

.aiec-custom-node:hover {
  background: rgba(11, 102, 195, .35);
  border-color: rgba(143, 184, 232, .5);
}

/* Fallback: groups layout when ring nodes aren't present */
.aiec-custom-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .85rem;
  width: 100%;
  max-width: 720px;
  margin-top: 2rem;
  position: relative;
  z-index: 1;
}

.aiec-custom-arch:has(.aiec-custom-groups) {
  display: grid;
  grid-template-columns: minmax(180px, 240px) 1fr;
  gap: 1.5rem;
  place-items: start stretch;
  align-items: center;
}

.aiec-custom-arch:has(.aiec-custom-groups) .aiec-custom-core {
  width: 100%;
  aspect-ratio: auto;
  min-height: 180px;
  border-radius: var(--aiec-radius-lg);
}

.aiec-custom-group {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  padding: .95rem 1.1rem;
}

.aiec-custom-group summary {
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  list-style: none;
  color: #fff;
}

.aiec-custom-group summary::-webkit-details-marker {
  display: none;
}

.aiec-custom-group summary::after {
  content: "+";
  float: right;
  color: var(--aiec-blue-soft);
  font-weight: 600;
}

.aiec-custom-group[open] summary::after {
  content: "–";
}

.aiec-custom-group ul {
  margin: .75rem 0 0;
  padding-left: 1.05rem;
  font-size: .86rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .68);
}

@media (max-width: 820px) {
  .aiec-custom-arch:has(.aiec-custom-groups) {
    grid-template-columns: 1fr;
  }

  .aiec-custom-groups {
    grid-template-columns: 1fr;
  }

  .aiec-custom-node {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    transform: none !important;
    margin-bottom: .55rem;
  }
}

/* ==========================================================================
   10. GROWTH — deep navy
   ========================================================================== */

.aiec-growth {
  padding: var(--aiec-section-y) 0;
  color: var(--aiec-white);
  background:
    radial-gradient(ellipse 50% 40% at 18% 0%, rgba(11, 102, 195, .22) 0%, transparent 55%),
    linear-gradient(168deg, var(--aiec-navy-deep), var(--aiec-navy) 55%, #0a2740);
}

.aiec-growth-stages {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .9rem;
}

.aiec-growth-stage {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--aiec-radius);
  padding: 1.35rem 1.2rem;
  transition: background .25s ease, border-color .25s ease, transform .25s var(--aiec-ease);
}

.aiec-growth-stage:hover,
.aiec-growth-stage.is-active,
.aiec-growth-stage.is-illuminated {
  background: rgba(11, 102, 195, .2);
  border-color: rgba(143, 184, 232, .45);
  transform: translateY(-3px);
}

.aiec-growth-label {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .9rem;
  color: #cfe4ff;
}

.aiec-growth-stage ul {
  margin: 0;
  padding-left: 1rem;
  font-size: .86rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, .7);
}

@media (max-width: 960px) {
  .aiec-growth-stages {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .aiec-growth-stages {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   11. PROOF — editorial light, featured showcase
   ========================================================================== */

.aiec-proof {
  padding: var(--aiec-section-y) 0;
  background: var(--aiec-editorial);
}

.aiec-proof-featured {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .95fr);
  gap: 0;
  align-items: stretch;
  background: var(--aiec-white);
  border: 1px solid var(--aiec-line);
  border-radius: var(--aiec-radius-lg);
  overflow: hidden;
  box-shadow: var(--aiec-shadow-lg);
  margin-bottom: 1.65rem;
}

.aiec-proof-media {
  min-height: 320px;
  background: linear-gradient(145deg, #dce6f2, #b8c9dc);
  position: relative;
  padding: 1.25rem 1.25rem 1.5rem;
  display: flex;
  align-items: stretch;
}

.aiec-proof-frame {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #0a1622;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(6, 27, 44, .28);
  border: 1px solid rgba(255, 255, 255, .12);
}

.aiec-proof-chrome {
  display: flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem .85rem;
  background: #132536;
}

.aiec-proof-chrome span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5a7086;
}

.aiec-proof-chrome span:nth-child(1) { background: #ff5f57; }
.aiec-proof-chrome span:nth-child(2) { background: #febc2e; }
.aiec-proof-chrome span:nth-child(3) { background: #28c840; }

.aiec-proof-chrome em {
  margin-left: .65rem;
  font-style: normal;
  font-size: .7rem;
  color: rgba(255, 255, 255, .55);
  letter-spacing: .02em;
}

.aiec-proof-media::after {
  display: none;
}

.aiec-proof-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 280px;
  flex: 1;
}

.aiec-proof-blocks {
  display: grid;
  gap: .85rem;
  margin: 1rem 0 1.35rem;
}

.aiec-proof-blocks p {
  margin: 0;
  font-size: .95rem;
  line-height: 1.6;
  color: var(--aiec-muted);
}

.aiec-proof-blocks strong {
  color: var(--aiec-navy);
  font-weight: 700;
}

.aiec-proof-fallback {
  height: 100%;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, var(--aiec-navy), var(--aiec-navy-mid));
  color: rgba(255, 255, 255, .88);
  font-weight: 700;
  font-size: 1.3rem;
  padding: 1.5rem;
  text-align: center;
}

.aiec-proof-copy {
  padding: clamp(1.5rem, 3.5vw, 2.35rem);
  display: flex;
  flex-direction: column;
  gap: .75rem;
  justify-content: center;
}

.aiec-proof-client {
  margin: 0;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--aiec-blue);
}

.aiec-proof-copy h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  color: var(--aiec-navy);
}

.aiec-proof-copy p {
  margin: 0;
  font-size: .95rem;
  line-height: 1.65;
  color: var(--aiec-muted);
}

.aiec-proof-copy p strong {
  color: var(--aiec-ink);
  font-weight: 650;
}

.aiec-proof-tech {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: .3rem 0 .55rem;
}

.aiec-proof-tech span {
  font-size: .74rem;
  font-weight: 600;
  padding: .32rem .65rem;
  background: var(--aiec-soft);
  border: 1px solid var(--aiec-line);
  border-radius: 999px;
  color: var(--aiec-navy);
}

.aiec-proof-copy .aiec-btn {
  align-self: flex-start;
  margin-top: .4rem;
}

.aiec-proof-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .9rem;
}

.aiec-proof-card {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  background: var(--aiec-white);
  border: 1px solid var(--aiec-line);
  border-radius: var(--aiec-radius);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 16px rgba(6, 27, 44, .03);
  transition: transform .22s var(--aiec-ease), box-shadow .22s ease;
}

.aiec-proof-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--aiec-shadow);
}

.aiec-proof-card img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  background: #e2eaf3;
}

.aiec-proof-card-industry {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--aiec-blue);
  padding: .85rem 1rem 0;
}

.aiec-proof-card strong {
  font-size: .95rem;
  padding: 0 1rem;
  color: var(--aiec-navy);
  line-height: 1.35;
}

.aiec-proof-card-link {
  padding: 0 1rem 1rem;
  font-size: .84rem;
  font-weight: 600;
  color: var(--aiec-blue);
}

@media (max-width: 900px) {
  .aiec-proof-featured {
    grid-template-columns: 1fr;
  }

  .aiec-proof-slider {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .aiec-proof-slider {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   12. PROCESS — soft connected timeline
   ========================================================================== */

.aiec-process {
  padding: var(--aiec-section-y) 0;
  background: var(--aiec-soft);
}

.aiec-process-track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: .75rem;
  position: relative;
}

.aiec-process-track-wrap {
  position: relative;
  margin-top: 2rem;
}

.aiec-process-line,
.aiec-process-track::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 10%;
  right: 10%;
  height: 2px;
  z-index: 0;
  background: linear-gradient(90deg, var(--aiec-line), rgba(11, 102, 195, .4), var(--aiec-line));
  pointer-events: none;
}

.aiec-process-line {
  display: block;
}

.aiec-process-track:has(.aiec-process-line)::before {
  display: none;
}

.aiec-process-step {
  position: relative;
  z-index: 1;
  background: var(--aiec-white);
  border: 1px solid var(--aiec-line);
  border-radius: var(--aiec-radius);
  padding: 1.35rem 1.15rem;
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s var(--aiec-ease);
}

.aiec-process-step.is-active,
.aiec-process-step.is-illuminated {
  border-color: rgba(11, 102, 195, .45);
  box-shadow: 0 0 0 3px rgba(11, 102, 195, .1), var(--aiec-shadow);
  transform: translateY(-3px);
}

.aiec-process-step.is-active .aiec-process-num,
.aiec-process-step.is-illuminated .aiec-process-num {
  background: var(--aiec-blue);
  box-shadow: 0 0 0 4px rgba(11, 102, 195, .18), 0 0 0 4px var(--aiec-soft);
}

.aiec-process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--aiec-navy);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  margin-bottom: .9rem;
  box-shadow: 0 0 0 4px var(--aiec-soft);
  transition: background .3s ease, box-shadow .3s ease;
}

.aiec-process-step h3 {
  font-size: 1.05rem;
  margin: 0 0 .7rem;
  color: var(--aiec-navy);
}

.aiec-process-step ul {
  margin: 0;
  padding-left: 1rem;
  font-size: .86rem;
  line-height: 1.55;
  color: var(--aiec-muted);
}

@media (max-width: 900px) {
  .aiec-process-track {
    grid-template-columns: 1fr;
    gap: .7rem;
  }

  .aiec-process-line,
  .aiec-process-track::before {
    top: 0;
    bottom: 0;
    left: 24px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--aiec-line), rgba(11, 102, 195, .4), var(--aiec-line));
  }

  .aiec-process-step {
    padding-left: 1.45rem;
  }
}

/* ==========================================================================
   13. WHY — dark photo + overlapping chips
   ========================================================================== */

.aiec-why {
  position: relative;
  padding: var(--aiec-section-y) 0;
  color: var(--aiec-white);
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(3, 20, 31, .92) 0%, rgba(6, 27, 44, .78) 48%, rgba(6, 27, 44, .88) 100%),
    linear-gradient(145deg, #0a2f4a, #061b2c);
  background-size: cover;
  background-position: center;
}

.aiec-why-media,
.aiec-why-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.aiec-why-media img,
.aiec-why-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .35;
}

.aiec-why-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr);
  gap: clamp(1.75rem, 4.5vw, 3.25rem);
  align-items: center;
}

.aiec-why-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .85rem;
}

.aiec-why-points li,
.aiec-why-chip {
  position: relative;
  padding: 1.05rem 1.2rem 1.05rem 2.85rem;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 14px;
  font-size: .98rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, .9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .2);
  transition: transform .22s var(--aiec-ease), background .22s ease, border-color .22s ease;
}

.aiec-why-chip:nth-child(odd),
.aiec-why-points li:nth-child(odd) {
  transform: translateX(-8px);
}

.aiec-why-chip:nth-child(even),
.aiec-why-points li:nth-child(even) {
  transform: translateX(12px);
}

.aiec-why-points li:hover,
.aiec-why-chip:hover {
  background: rgba(11, 102, 195, .28);
  border-color: rgba(143, 184, 232, .4);
  transform: translateX(0) translateY(-2px);
}

.aiec-why-points li::before,
.aiec-why-chip::before {
  content: "";
  position: absolute;
  left: 1.1rem;
  top: 1.3rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--aiec-blue-soft);
  box-shadow: 0 0 0 4px rgba(143, 184, 232, .2);
}

@media (max-width: 768px) {
  .aiec-why-layout {
    grid-template-columns: 1fr;
  }

  .aiec-why-chip:nth-child(odd),
  .aiec-why-chip:nth-child(even),
  .aiec-why-points li:nth-child(odd),
  .aiec-why-points li:nth-child(even) {
    transform: none;
  }
}

/* ==========================================================================
   14. REVIEWS — light, dominant quote
   ========================================================================== */

.aiec-reviews {
  padding: var(--aiec-section-y) 0;
  background: var(--aiec-white);
}

.aiec-review-featured {
  margin: 0 0 1.25rem;
  padding: clamp(1.6rem, 4vw, 2.75rem);
  background: var(--aiec-soft);
  border: 1px solid var(--aiec-line);
  border-left: 5px solid var(--aiec-blue);
  border-radius: var(--aiec-radius-lg);
  position: relative;
}

.aiec-review-featured::before {
  content: "“";
  position: absolute;
  top: .35rem;
  left: 1rem;
  font-size: 5rem;
  line-height: 1;
  color: rgba(11, 102, 195, .12);
  font-weight: 800;
  pointer-events: none;
}

.aiec-review-featured p {
  margin: 0 0 1.15rem;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--aiec-navy);
  position: relative;
}

.aiec-review-featured footer,
.aiec-review-card footer {
  display: grid;
  gap: .15rem;
  font-size: .88rem;
  color: var(--aiec-muted);
}

.aiec-review-featured strong,
.aiec-review-card strong {
  color: var(--aiec-navy);
  font-size: .95rem;
}

.aiec-review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .9rem;
}

.aiec-review-card {
  margin: 0;
  padding: 1.3rem;
  background: var(--aiec-soft);
  border: 1px solid var(--aiec-line);
  border-radius: var(--aiec-radius);
}

.aiec-review-card p {
  margin: 0 0 .9rem;
  font-size: .95rem;
  line-height: 1.6;
  color: var(--aiec-ink);
}

@media (max-width: 720px) {
  .aiec-review-grid {
    grid-template-columns: 1fr;
  }

  .aiec-review-featured p {
    font-size: clamp(1.25rem, 5.5vw, 1.75rem);
  }
}

/* ==========================================================================
   15. TECH — soft compact grouped rows
   ========================================================================== */

.aiec-tech {
  padding: clamp(2.75rem, 5vw, 4rem) 0;
  background: var(--aiec-soft);
}

.aiec-tech-groups {
  display: grid;
  gap: .75rem;
}

.aiec-tech-group {
  display: grid;
  grid-template-columns: minmax(120px, 180px) 1fr;
  gap: 1rem;
  align-items: center;
  background: var(--aiec-white);
  border: 1px solid var(--aiec-line);
  border-radius: 12px;
  padding: 1rem 1.25rem;
}

.aiec-tech-group h3 {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--aiec-blue);
  margin: 0;
}

.aiec-tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  align-items: center;
}

.aiec-tech-pills span {
  font-size: .84rem;
  font-weight: 500;
  padding: .35rem .7rem;
  background: var(--aiec-soft);
  border: 1px solid var(--aiec-line);
  border-radius: 8px;
  color: var(--aiec-navy);
}

@media (max-width: 640px) {
  .aiec-tech-group {
    grid-template-columns: 1fr;
    gap: .65rem;
  }
}

/* ==========================================================================
   16. FAQ — light with tabs (and details fallback)
   ========================================================================== */

.aiec-faq {
  padding: var(--aiec-section-y) 0;
  background: var(--aiec-white);
}

.aiec-faq-layout {
  max-width: 820px;
}

.aiec-faq-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: 1.35rem;
}

.aiec-faq-tabs button,
.aiec-faq-tab {
  font-family: inherit;
  font-size: .88rem;
  font-weight: 600;
  padding: .6rem 1.05rem;
  border-radius: 999px;
  border: 1px solid var(--aiec-line);
  background: var(--aiec-soft);
  color: var(--aiec-muted);
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.aiec-faq-tabs button:hover,
.aiec-faq-tab:hover {
  border-color: rgba(11, 102, 195, .35);
  color: var(--aiec-blue);
}

.aiec-faq-tabs button.is-active,
.aiec-faq-tab.is-active {
  background: var(--aiec-navy);
  border-color: var(--aiec-navy);
  color: #fff;
}

.aiec-faq-panel {
  display: none;
}

.aiec-faq-panel.is-active {
  display: block;
}

.aiec-faq-list {
  display: grid;
  gap: .55rem;
}

.aiec-faq-item {
  background: var(--aiec-soft);
  border: 1px solid var(--aiec-line);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.aiec-faq-item[open] {
  border-color: rgba(11, 102, 195, .3);
  box-shadow: 0 8px 24px rgba(6, 27, 44, .06);
  background: var(--aiec-white);
}

.aiec-faq-item summary {
  padding: 1.05rem 1.25rem;
  font-weight: 650;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  color: var(--aiec-navy);
  display: flex;
  flex-direction: column;
  gap: .3rem;
}

.aiec-faq-item summary::-webkit-details-marker {
  display: none;
}

.aiec-faq-group {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--aiec-blue);
}

.aiec-faq-item p,
.aiec-faq-panel p {
  margin: 0;
  padding: 0 1.25rem 1.2rem;
  font-size: .94rem;
  line-height: 1.65;
  color: var(--aiec-muted);
}

@media (max-width: 640px) {
  .aiec-faq-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .aiec-faq-tabs::-webkit-scrollbar {
    display: none;
  }

  .aiec-faq-tabs button,
  .aiec-faq-tab {
    white-space: nowrap;
    flex-shrink: 0;
  }
}

/* ==========================================================================
   17. CONTACT — dark final CTA + light form shell
   ========================================================================== */

.aiec-contact {
  padding: var(--aiec-section-y) 0 calc(var(--aiec-section-y) + 2.25rem);
  color: var(--aiec-white);
  scroll-margin-top: calc(var(--aiec-header-offset) + var(--aiec-bar-height) + 1rem);
  background:
    radial-gradient(ellipse 55% 45% at 82% 8%, rgba(11, 102, 195, .26) 0%, transparent 58%),
    linear-gradient(168deg, var(--aiec-navy-deep) 0%, var(--aiec-navy) 48%, #0a2740 100%);
}

.aiec-form-shell {
  display: grid;
  gap: 1.35rem;
  margin-top: .65rem;
}

.aiec-form-shell--split {
  grid-template-columns: .85fr 1.15fr;
  align-items: start;
}

.aiec-form-next {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--aiec-radius);
  padding: 1.45rem 1.5rem;
}

.aiec-form-next h3 {
  margin: 0 0 1.2rem;
  font-size: 1.1rem;
  color: #fff;
}

.aiec-form-next-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.05rem;
}

.aiec-form-next-list li {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
}

.aiec-form-next-num {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(11, 102, 195, .45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 700;
}

.aiec-form-next-list strong {
  display: block;
  font-size: .92rem;
  margin-bottom: .2rem;
  color: #fff;
}

.aiec-form-next-list p {
  margin: 0;
  font-size: .84rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, .68);
}

/* Light card shell on dark section */
.aiec-form-main {
  background: var(--aiec-white);
  color: var(--aiec-ink);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--aiec-radius-lg);
  padding: clamp(1.25rem, 2.8vw, 1.85rem);
  box-shadow: var(--aiec-shadow-lg);
}

.aiec-form {
  margin: 0;
}

.aiec-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  pointer-events: none;
}

.aiec-form-alert {
  padding: .75rem 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  font-size: .9rem;
}

.aiec-form-alert.error {
  background: rgba(239, 68, 68, .1);
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, .25);
}

.aiec-form-alert.success {
  background: rgba(34, 197, 94, .1);
  color: #166534;
  border: 1px solid rgba(34, 197, 94, .25);
}

/* Progress: 01 Requirement → 02 Budget → 03 Timeline → 04 Contact */
.aiec-form-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .5rem;
  margin-bottom: 1.5rem;
  counter-reset: aiec-step;
}

.aiec-form-progress > span {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  position: relative;
  padding-top: 10px;
  counter-increment: aiec-step;
}

.aiec-form-progress > span::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--aiec-line);
}

.aiec-form-progress > span.is-active::before {
  background: linear-gradient(90deg, var(--aiec-blue), var(--aiec-blue-b));
}

.aiec-form-progress-label {
  font-size: .72rem;
  font-weight: 650;
  color: var(--aiec-muted);
  display: flex;
  align-items: baseline;
  gap: .35rem;
}

.aiec-form-progress-label::before {
  content: counter(aiec-step, decimal-leading-zero);
  font-weight: 800;
  color: var(--aiec-blue);
  letter-spacing: .02em;
}

.aiec-form-progress > span.is-active .aiec-form-progress-label {
  color: var(--aiec-navy);
}

.aiec-form-step {
  border: none;
  margin: 0;
  padding: 0;
  display: none;
  min-width: 0;
}

.aiec-form-step.is-active {
  display: block;
}

.aiec-form-step legend {
  font-weight: 750;
  font-size: 1.15rem;
  margin-bottom: .4rem;
  color: var(--aiec-navy);
  padding: 0;
  letter-spacing: -.02em;
}

.aiec-form-step-intro {
  font-size: .9rem;
  color: var(--aiec-muted);
  margin: 0 0 1.15rem;
}

.aiec-form-options {
  display: grid;
  gap: .55rem;
  margin-bottom: 1.2rem;
}

.aiec-form-options--grid {
  grid-template-columns: repeat(2, 1fr);
}

.aiec-form-options--inline {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  margin-top: .35rem;
  margin-bottom: 0;
}

.aiec-form-option {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .8rem .95rem;
  background: var(--aiec-soft);
  border: 1px solid var(--aiec-line);
  border-radius: 12px;
  cursor: pointer;
  font-size: .9rem;
  color: var(--aiec-ink);
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

.aiec-form-option:hover {
  border-color: rgba(11, 102, 195, .4);
}

.aiec-form-option:has(input:checked) {
  border-color: var(--aiec-blue);
  background: rgba(11, 102, 195, .07);
  box-shadow: 0 0 0 2px rgba(11, 102, 195, .12);
  font-weight: 600;
}

.aiec-form-option input {
  accent-color: var(--aiec-blue);
  width: auto;
  flex-shrink: 0;
}

.aiec-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .9rem;
  margin-bottom: 1rem;
}

.aiec-form-full {
  grid-column: 1 / -1;
}

.aiec-form label > span {
  display: block;
  font-size: .84rem;
  margin-bottom: .35rem;
  color: var(--aiec-ink);
  font-weight: 500;
}

.aiec-form label b {
  color: var(--aiec-blue);
}

.aiec-optional {
  color: var(--aiec-muted);
  font-weight: 400;
}

.aiec-form input[type="text"],
.aiec-form input[type="email"],
.aiec-form input[type="tel"],
.aiec-form input[type="url"],
.aiec-form select,
.aiec-form textarea {
  width: 100%;
  padding: .75rem .9rem;
  border: 1px solid var(--aiec-line);
  border-radius: 10px;
  background: var(--aiec-soft);
  color: var(--aiec-ink);
  font-family: inherit;
  font-size: .94rem;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.aiec-form input::placeholder,
.aiec-form textarea::placeholder {
  color: #8a9cb0;
}

.aiec-form input:focus,
.aiec-form select:focus,
.aiec-form textarea:focus {
  outline: none;
  border-color: var(--aiec-blue);
  background: var(--aiec-white);
  box-shadow: 0 0 0 3px rgba(11, 102, 195, .18);
}

.aiec-sensitive {
  display: block;
  font-size: .74rem;
  color: var(--aiec-muted);
  margin-top: .35rem;
}

.aiec-field-error {
  display: block;
  color: #b91c1c;
  font-size: .8rem;
  margin-top: .3rem;
}

.aiec-consent {
  display: flex;
  gap: .65rem;
  font-size: .84rem;
  color: var(--aiec-muted);
  margin-bottom: 1.15rem;
  align-items: flex-start;
  line-height: 1.45;
}

.aiec-consent input {
  margin-top: .2rem;
  accent-color: var(--aiec-blue);
  width: auto;
  flex-shrink: 0;
}

.aiec-consent a {
  color: var(--aiec-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.aiec-form-nav {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: .3rem;
}

.aiec-btn-submit {
  min-width: min(100%, 280px);
}

.aiec-form-success {
  text-align: left;
  padding: .5rem .25rem;
}

.aiec-form-success-title {
  margin: 0 0 .7rem;
  font-size: 1.4rem;
  color: var(--aiec-navy);
}

.aiec-form-success-body {
  margin: 0 0 1.4rem;
  font-size: .98rem;
  line-height: 1.65;
  color: var(--aiec-muted);
}

.aiec-form-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

@media (max-width: 900px) {
  .aiec-form-shell--split {
    grid-template-columns: 1fr;
  }

  .aiec-form-grid,
  .aiec-form-options--grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .aiec-form-progress-label {
    font-size: 0;
  }

  .aiec-form-progress-label::before {
    font-size: .75rem;
  }

  .aiec-form-nav .aiec-btn {
    flex: 1;
  }
}

/* ==========================================================================
   Sticky mobile CTA
   ========================================================================== */

.aiec-sticky-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 95;
  padding: .7rem .9rem calc(.7rem + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, .97);
  border-top: 1px solid var(--aiec-line);
  box-shadow: 0 -10px 32px rgba(6, 27, 44, .12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  gap: .55rem;
  align-items: center;
}

.aiec-sticky-cta:not([hidden]):not(.is-hidden) {
  display: flex;
}

.aiec-sticky-cta.is-hidden,
.aiec-sticky-cta[hidden] {
  display: none !important;
}

.aiec-sticky-primary {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: .7rem 1rem;
  background: linear-gradient(135deg, var(--aiec-blue), var(--aiec-blue-b));
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: .94rem;
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(11, 102, 195, .28);
}

.aiec-sticky-wa {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #25d366;
  color: #fff;
  text-decoration: none;
}

@media (max-width: 820px) {
  .aiec-sticky-cta:not([hidden]):not(.is-hidden) {
    display: flex;
  }

  .aiec-page {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }
}

@media (min-width: 821px) {
  .aiec-sticky-cta {
    display: none !important;
  }

  .aiec-page {
    padding-bottom: 0;
  }
}

/* ==========================================================================
   Reveal animations + reduced motion
   ========================================================================== */

[data-aiec-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity .6s var(--aiec-ease-out),
    transform .6s var(--aiec-ease-out);
}

[data-aiec-reveal].is-in,
[data-aiec-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .aiec-page *,
  .aiec-page *::before,
  .aiec-page *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  [data-aiec-reveal] {
    opacity: 1;
    transform: none;
  }

  .aiec-btn:hover,
  .aiec-req-card:hover,
  .aiec-req-card.is-active,
  .aiec-platform-card:hover,
  .aiec-proof-card:hover,
  .aiec-campaign-cta:hover,
  .aiec-growth-stage:hover,
  .aiec-process-step.is-active,
  .aiec-process-step.is-illuminated,
  .aiec-admin-spot.is-spotlight,
  .aiec-admin-spot.is-illuminated,
  .aiec-why-points li:hover,
  .aiec-why-chip:hover,
  .aiec-eco-node-btn:hover,
  .aiec-eco-node-btn.is-active {
    transform: none;
  }

  .aiec-hero-panel {
    animation: none !important;
    opacity: 1 !important;
  }
}
