:root {
  --bg: #07111b;
  --panel: #0a1219;
  --panel-2: #101b26;
  --ink: #ffffff;
  --muted: #9aa8bc;
  --blue: #0759ff;
  --blue-2: #1287ff;
  --purple: #5b49c8;
  --cyan: #00f5d4;
  --green: #27f99a;
  --line: rgba(7, 89, 255, 0.34);
  --shadow: rgba(0, 0, 0, 0.72) 0 18px 48px, rgba(255, 255, 255, 0.05) 0 2px 10px inset, rgba(7, 89, 255, 0.25) 0 0 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 10%, rgba(7, 89, 255, 0.18), transparent 30%),
    radial-gradient(circle at 88% 76%, rgba(91, 73, 200, 0.22), transparent 34%),
    linear-gradient(135deg, #06101a, #0a1219 54%, #0d1024);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.26;
  background:
    linear-gradient(118deg, transparent 0 22%, rgba(7, 89, 255, 0.11) 22% 22.12%, transparent 22.12% 62%, rgba(91, 73, 200, 0.1) 62% 62.12%, transparent 62.12%),
    radial-gradient(circle at 18% 26%, rgba(7, 89, 255, 0.24) 0 1px, transparent 2px),
    radial-gradient(circle at 78% 34%, rgba(91, 73, 200, 0.22) 0 1px, transparent 2px);
  background-size: 100% 100%, 190px 190px, 230px 230px;
  animation: drift 16s ease-in-out infinite alternate;
  transition: opacity 420ms ease;
}

body.automation-page.auto-ai-mode::before {
  opacity: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.sub-header {
  position: sticky;
  z-index: 20;
  top: 18px;
  width: min(1420px, calc(100% - 32px));
  min-height: 74px;
  margin: 18px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 12px 9px 18px;
  border: 1px solid rgba(7, 89, 255, 0.72);
  border-radius: 10px;
  background:
    radial-gradient(circle at 8% 0%, rgba(7, 89, 255, 0.16), transparent 34%),
    radial-gradient(circle at 92% 100%, rgba(91, 73, 200, 0.16), transparent 38%),
    rgba(6, 15, 24, 0.86);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.62), 0 0 0 1px rgba(91, 73, 200, 0.18) inset, 0 0 34px rgba(7, 89, 255, 0.18);
  backdrop-filter: blur(22px) saturate(145%);
}

body.screenshot-mode {
  scroll-behavior: auto;
}

body.screenshot-mode::before {
  position: absolute;
  animation: none;
}

body.screenshot-mode .sub-header {
  position: relative;
  top: 0;
}

body.screenshot-mode *,
body.screenshot-mode *::before,
body.screenshot-mode *::after {
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
  scroll-behavior: auto !important;
}

.brand img {
  display: block;
  width: clamp(172px, 14vw, 218px);
  height: 48px;
  object-fit: contain;
  object-position: left center;
}

.sub-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.sub-nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: rgba(226, 232, 240, 0.72);
  font-size: clamp(0.66rem, 0.72vw, 0.78rem);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.sub-nav a:hover,
.sub-nav a.active {
  color: #ffffff;
  border-color: rgba(7, 89, 255, 0.42);
  background: linear-gradient(135deg, rgba(7, 89, 255, 0.2), rgba(91, 73, 200, 0.16));
  box-shadow: 0 0 22px rgba(7, 89, 255, 0.18);
}

.sub-nav a:hover {
  transform: translateY(-1px);
}

.sub-nav a:last-child {
  border-color: rgba(126, 150, 255, 0.36);
  background: rgba(7, 89, 255, 0.08);
}

@media (max-width: 1120px) {
  .sub-header {
    width: min(1040px, calc(100% - 24px));
  }

  .brand img {
    width: clamp(154px, 17vw, 190px);
  }

  .sub-nav a {
    padding-inline: 7px;
    font-size: 0.64rem;
  }
}

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 56px 0 86px;
}

body:has(.stack-landing) .page-shell {
  padding-top: 20px;
}

.sub-hero {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 0.74fr);
  gap: 28px;
  align-items: center;
}

.stack-landing {
  grid-template-columns: minmax(0, 1fr);
  padding-bottom: 0;
}

.stack-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.stack-landing .hero-copy {
  max-width: 980px;
  min-height: auto;
  padding: 26px 0 0;
}

.stack-landing h1 {
  max-width: 860px;
  margin-bottom: 18px;
  font-size: clamp(2.7rem, 5.2vw, 5.7rem);
  line-height: 0.95;
}

.stack-landing .lead {
  max-width: 760px;
  margin-bottom: 22px;
  line-height: 1.55;
}

.stack-proof {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid rgba(7, 89, 255, 0.18);
}

.stack-proof-label {
  display: block;
  margin-bottom: 12px;
  color: rgba(161, 179, 211, 0.74);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stack-proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stack-proof-list span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(7, 89, 255, 0.26);
  border-radius: 999px;
  background: rgba(10, 18, 25, 0.48);
  color: rgba(226, 232, 240, 0.84);
  font-size: 0.9rem;
  font-weight: 700;
}

.pyramid-stage {
  position: relative;
  min-height: clamp(610px, 68vw, 780px);
  display: grid;
  place-items: center;
  margin: 18px 0 54px;
  overflow: visible;
}

.pyramid-stage::before {
  content: "";
  position: absolute;
  inset: 8% 2% 2%;
  background:
    radial-gradient(circle at 48% 52%, rgba(7, 89, 255, 0.14), transparent 34%),
    radial-gradient(circle at 72% 28%, rgba(91, 73, 200, 0.2), transparent 34%);
  filter: blur(8px);
  pointer-events: none;
}

.pyramid-stage .service-visual {
  position: relative;
  z-index: 1;
  min-height: clamp(610px, 68vw, 780px);
}

.stack-process {
  position: relative;
  margin-top: 0;
  padding-top: 64px;
}

.stack-process::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(7, 89, 255, 0), rgba(7, 89, 255, 0.72), rgba(91, 73, 200, 0.52), rgba(7, 89, 255, 0));
}

.stack-process .section-head {
  align-items: start;
  margin-bottom: 38px;
}

.stack-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(7, 89, 255, 0.34);
  border-bottom: 1px solid rgba(91, 73, 200, 0.3);
}

.stack-timeline article {
  position: relative;
  min-height: 230px;
  padding: 24px 20px 26px;
  background: linear-gradient(180deg, rgba(7, 17, 27, 0.18), rgba(10, 18, 25, 0.46));
}

.stack-timeline article:not(:last-child) {
  border-right: 1px solid rgba(7, 89, 255, 0.2);
}

.stack-timeline span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 44px;
  border: 1px solid rgba(128, 150, 255, 0.54);
  border-radius: 999px;
  color: #ffffff;
  font-weight: 900;
  background: rgba(7, 89, 255, 0.16);
  box-shadow: 0 0 22px rgba(7, 89, 255, 0.24);
}

.stack-timeline article::after {
  content: "";
  position: absolute;
  top: 45px;
  left: 76px;
  right: -12px;
  height: 1px;
  background: linear-gradient(90deg, rgba(128, 150, 255, 0.58), rgba(91, 73, 200, 0));
}

.stack-timeline article:last-child::after {
  content: none;
}

.stack-timeline h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.stack-timeline p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.58;
}

.stack-cta {
  margin-top: 82px;
  padding: clamp(30px, 5vw, 58px) 0;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.48fr) auto;
  gap: 34px;
  align-items: center;
  border-top: 1px solid rgba(7, 89, 255, 0.34);
  border-bottom: 1px solid rgba(91, 73, 200, 0.3);
}

.stack-cta h2 {
  max-width: 660px;
  margin-bottom: 0;
  font-size: clamp(2rem, 3.4vw, 3.9rem);
  line-height: 1.02;
}

.stack-cta p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.62;
}

.content-card,
.module-card,
.metric-card,
.cta-panel {
  border: 1px solid transparent;
  border-radius: 8px;
  background:
    linear-gradient(var(--panel), var(--panel)) padding-box,
    linear-gradient(135deg, rgba(7, 89, 255, 0.86), rgba(91, 73, 200, 0.6), rgba(0, 245, 212, 0.32)) border-box;
  box-shadow: var(--shadow);
}

.hero-copy {
  max-width: 840px;
  padding: 44px 0 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue-2);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 840px;
  margin-bottom: 20px;
  font-size: clamp(2.25rem, 3.7vw, 3.85rem);
  line-height: 1.07;
  letter-spacing: 0;
}

.lead {
  max-width: 740px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.28vw, 1.16rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid rgba(7, 89, 255, 0.72);
  color: #ffffff;
  font-weight: 900;
}

.button.primary {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  box-shadow: 0 0 22px rgba(7, 89, 255, 0.38);
}

.button.secondary {
  background: rgba(16, 27, 38, 0.74);
}

.hero-panel {
  position: relative;
  min-height: 500px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(7, 89, 255, 0.28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 70% 28%, rgba(7, 89, 255, 0.18), transparent 36%),
    linear-gradient(135deg, rgba(7, 17, 27, 0.72), rgba(10, 18, 25, 0.42));
  box-shadow: rgba(0, 0, 0, 0.42) 0 16px 42px;
}

.hero-panel::before {
  content: none;
}

.signal-stack {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.signal {
  min-height: 132px;
  padding: 22px;
  border: 1px solid rgba(7, 89, 255, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(10, 18, 25, 0.96), rgba(12, 24, 34, 0.9)) padding-box,
    linear-gradient(135deg, rgba(7, 89, 255, 0.68), rgba(91, 73, 200, 0.36)) border-box;
  box-shadow: rgba(0, 0, 0, 0.42) 0 14px 32px;
}

.signal strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.signal span {
  color: var(--muted);
  line-height: 1.5;
}

.service-visual {
  width: 100%;
  height: 100%;
  min-height: 440px;
  display: grid;
  place-items: center;
}

.service-visual svg {
  width: min(108%, 660px);
  height: auto;
  overflow: visible;
}

.stack-visual svg,
.automation-visual svg {
  width: min(112%, 690px);
}

.stack-visual .pyramid-svg {
  width: min(100%, 1160px);
}

.innovator-visual svg {
  width: min(116%, 710px);
}

.pyramid-frame {
  fill: rgba(5, 12, 18, 0.38);
  stroke: rgba(7, 89, 255, 0.28);
  stroke-width: 1;
  filter: drop-shadow(0 0 34px rgba(7, 89, 255, 0.2));
}

.pyramid-kicker {
  fill: rgba(0, 145, 255, 0.95);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 2px;
}

.pyramid-ready circle {
  fill: var(--blue-2);
  filter: drop-shadow(0 0 10px rgba(7, 89, 255, 0.85));
  transform-box: fill-box;
  transform-origin: center;
  animation: pulse-dot 3s ease-in-out infinite;
}

.pyramid-ready text {
  fill: rgba(128, 150, 255, 0.95);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0;
}

.pyramid-layer {
  cursor: pointer;
  outline: none;
  pointer-events: bounding-box;
  transform-box: fill-box;
  transform-origin: center;
  transition:
    opacity 800ms ease;
}

.pyramid-surface {
  fill: url("#pyramidFill");
  stroke: rgba(7, 89, 255, 0.46);
  stroke-width: 1.4;
  pointer-events: all;
  filter: url("#pyramidGlow");
  transition:
    fill 980ms ease,
    stroke 980ms ease,
    filter 1100ms ease;
}

.pyramid-accent {
  fill: var(--blue);
  opacity: 0.9;
  transition:
    fill 980ms ease,
    width 1500ms cubic-bezier(0.37, 0, 0.13, 1),
    opacity 800ms ease;
}

.pyramid-signal {
  fill: url("#pyramidStroke");
  opacity: 0;
  transform: scaleX(0);
  transform-box: fill-box;
  transform-origin: left center;
  filter: drop-shadow(0 0 6px rgba(7, 89, 255, 0.62));
  transition:
    opacity 320ms ease,
    transform 520ms cubic-bezier(0.37, 0, 0.13, 1);
}

.pyramid-index {
  fill: rgba(0, 145, 255, 0.88);
  font-size: 14px;
  font-weight: 620;
  letter-spacing: 0.02em;
  transition:
    fill 420ms ease,
    transform 640ms cubic-bezier(0.37, 0, 0.13, 1),
    opacity 420ms ease;
}

.pyramid-title {
  fill: rgba(242, 248, 255, 0.9);
  font-size: 14.5px;
  font-weight: 620;
  letter-spacing: 0;
  transition:
    fill 420ms ease,
    transform 640ms cubic-bezier(0.37, 0, 0.13, 1);
}

.pyramid-sub {
  fill: rgba(169, 184, 203, 0.68);
  font-size: 11px;
  font-weight: 430;
  letter-spacing: 0;
  transition:
    fill 420ms ease,
    transform 640ms cubic-bezier(0.37, 0, 0.13, 1),
    opacity 420ms ease;
}

.pyramid-info {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 380ms ease,
    transform 520ms cubic-bezier(0.37, 0, 0.13, 1);
  pointer-events: none;
}

.pyramid-info text {
  fill: rgba(237, 245, 252, 0.84);
  font-size: 11.8px;
  font-weight: 520;
}

.pyramid-info .pyramid-info-sub {
  fill: rgba(181, 195, 216, 0.68);
  font-size: 10.8px;
  font-weight: 380;
}

.pyramid-layer.is-expanded .pyramid-surface,
.pyramid-layer:focus-visible .pyramid-surface {
  fill: url("#pyramidFillHot");
  stroke: rgba(128, 150, 255, 0.48);
  filter: drop-shadow(0 20px 28px rgba(0, 0, 0, 0.46)) drop-shadow(0 0 18px rgba(91, 73, 200, 0.24));
}

.pyramid-layer.is-expanded .pyramid-accent,
.pyramid-layer:focus-visible .pyramid-accent {
  fill: var(--purple);
  width: 9px;
  opacity: 1;
}

.pyramid-layer.is-settled .pyramid-signal,
.pyramid-layer:focus-visible.is-settled .pyramid-signal {
  opacity: 1;
  transform: scaleX(1);
}

.pyramid-layer.is-expanded .pyramid-index,
.pyramid-layer:focus-visible .pyramid-index {
  fill: rgba(168, 184, 255, 0.9);
  transform: translateX(2px);
  opacity: 1;
}

.pyramid-layer.is-expanded .pyramid-title,
.pyramid-layer:focus-visible .pyramid-title {
  fill: rgba(255, 255, 255, 0.94);
  transform: translateX(4px);
}

.pyramid-layer.is-expanded .pyramid-sub,
.pyramid-layer:focus-visible .pyramid-sub {
  fill: rgba(198, 207, 255, 0.72);
  transform: translateX(4px);
}

.pyramid-layer.is-settled .pyramid-info,
.pyramid-layer:focus-visible.is-settled .pyramid-info {
  opacity: 1;
  transform: translateY(0);
}

.visual-grid-frame {
  fill: rgba(5, 12, 18, 0.34);
  stroke: rgba(7, 89, 255, 0.24);
  stroke-width: 1;
  filter: drop-shadow(0 0 32px rgba(7, 89, 255, 0.18));
}

.stack-slab path {
  fill: url("#stackFill");
  stroke: url("#stackGlow");
  stroke-width: 1.5;
  filter: url("#softGlow");
}

.stack-slab {
  transform-box: fill-box;
  transform-origin: center;
}

.stack-slab circle {
  fill: rgba(0, 245, 212, 0.14);
  stroke: rgba(0, 245, 212, 0.72);
  stroke-width: 1.5;
  filter: drop-shadow(0 0 10px rgba(0, 245, 212, 0.36));
}

.stack-slab text,
.manual-blocks text,
.result-bars text,
.visual-label,
.stack-status text,
.saving-badge text {
  fill: #ffffff;
  font-size: 20px;
  font-weight: 800;
  text-anchor: middle;
}

.stack-slab text {
  text-anchor: start;
  font-size: 18px;
  fill: rgba(237, 245, 252, 0.92);
}

.stack-slab .slab-note {
  font-size: 13px;
  font-weight: 700;
  fill: rgba(169, 184, 203, 0.86);
}

.stack-status rect,
.saving-badge rect {
  fill: rgba(10, 18, 25, 0.92);
  stroke: rgba(0, 245, 212, 0.45);
  stroke-width: 1;
  filter: drop-shadow(0 0 14px rgba(0, 245, 212, 0.22));
}

.stack-status circle {
  fill: var(--cyan);
  filter: drop-shadow(0 0 9px rgba(0, 245, 212, 0.86));
  transform-box: fill-box;
  transform-origin: center;
  animation: pulse-dot 2.8s ease-in-out infinite;
}

.stack-status text,
.saving-badge text {
  font-size: 14px;
  fill: rgba(237, 245, 252, 0.92);
}

.slab-1 {
  animation: slab-glow 7.2s ease-in-out infinite;
}

.slab-2 {
  animation: slab-glow 7.2s ease-in-out infinite 0.4s;
}

.slab-3 {
  animation: slab-glow 7.2s ease-in-out infinite 0.8s;
}

.slab-4 {
  animation: slab-glow 7.2s ease-in-out infinite 1.2s;
}

.visual-thread,
.flow-line {
  fill: none;
  stroke: rgba(0, 245, 212, 0.72);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 7 16;
  animation: dash-flow 8s linear infinite;
}

.pulse-dot {
  fill: var(--cyan);
  filter: drop-shadow(0 0 12px rgba(0, 245, 212, 0.8));
  transform-box: fill-box;
  transform-origin: center;
  animation: pulse-dot 2.8s ease-in-out infinite;
}

.pulse-dot.delay {
  animation-delay: 0.8s;
}

.orbit {
  fill: none;
  stroke: rgba(7, 89, 255, 0.32);
  stroke-width: 1.5;
  stroke-dasharray: 7 11;
  transform-origin: 310px 235px;
}

.orbit-a {
  animation: orbit-breathe 7s ease-in-out infinite;
}

.orbit-b {
  animation: orbit-breathe 7s ease-in-out infinite 1.1s;
}

.person-core circle,
.person-core path {
  fill: rgba(7, 89, 255, 0.16);
  stroke: rgba(0, 245, 212, 0.64);
  stroke-width: 2;
  filter: drop-shadow(0 0 14px rgba(7, 89, 255, 0.45));
}

.module-link {
  fill: none;
  stroke: url("#orbitCyan");
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 5 17;
  opacity: 0.56;
  animation: dash-flow 8.4s linear infinite;
}

.module-link.delay-a {
  animation-delay: 0.7s;
}

.module-link.delay-b {
  animation-delay: 1.2s;
}

.orbit-node rect {
  fill: rgba(10, 18, 25, 0.92);
  stroke: url("#orbitGlow");
  stroke-width: 2;
  filter: drop-shadow(0 0 14px rgba(7, 89, 255, 0.42));
}

.orbit-node text {
  fill: #ffffff;
  font-size: 16px;
  font-weight: 900;
  text-anchor: middle;
}

.orbit-node .node-caption {
  fill: rgba(169, 184, 203, 0.9);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.visual-label {
  font-size: 18px;
  fill: rgba(226, 232, 240, 0.86);
}

.manual-blocks rect {
  fill: rgba(255, 77, 93, 0.22);
  stroke: rgba(255, 77, 93, 0.8);
  stroke-width: 1.5;
  filter: drop-shadow(0 0 14px rgba(255, 77, 93, 0.22));
}

.manual-blocks path {
  fill: none;
  stroke: rgba(255, 77, 93, 0.42);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 4 7;
}

.flow-line {
  stroke: url("#autoBlue");
  stroke-width: 3.2;
}

.flow-line.secondary {
  stroke: rgba(91, 73, 200, 0.74);
  animation-delay: 0.6s;
}

.flow-line.output-a,
.flow-line.output-b {
  stroke: rgba(0, 245, 212, 0.82);
  stroke-dasharray: 8 14;
}

.flow-line.output-b {
  stroke: rgba(39, 249, 154, 0.78);
  animation-delay: 0.9s;
}

.ai-core circle {
  fill: rgba(7, 89, 255, 0.16);
  stroke: rgba(0, 245, 212, 0.72);
  stroke-width: 2;
  filter: drop-shadow(0 0 22px rgba(0, 245, 212, 0.35));
  animation: core-breathe 2.8s ease-in-out infinite;
}

.ai-core .inner-ring {
  fill: none;
  stroke: rgba(91, 73, 200, 0.65);
  stroke-width: 1.5;
  stroke-dasharray: 8 9;
  transform-origin: 338px 236px;
  animation: orbit-breathe 5.4s ease-in-out infinite;
}

.ai-core path {
  fill: none;
  stroke: rgba(237, 245, 252, 0.86);
  stroke-width: 3;
  stroke-linecap: round;
}

.ai-core text {
  fill: #ffffff;
  font-size: 28px;
  font-weight: 900;
  text-anchor: middle;
}

.result-bars rect {
  fill: rgba(39, 249, 154, 0.14);
  stroke: url("#autoGreen");
  stroke-width: 1.5;
  filter: drop-shadow(0 0 14px rgba(39, 249, 154, 0.24));
}

.section {
  padding: 96px 0 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 0.52fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 30px;
}

.section-head h2 {
  margin-bottom: 0;
  font-size: clamp(1.95rem, 3vw, 3.2rem);
  line-height: 1.08;
}

.section-head p:not(.eyebrow),
.section-intro {
  color: var(--muted);
  line-height: 1.65;
}

.grid-3,
.grid-2 {
  display: grid;
  gap: 16px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content-card,
.module-card,
.metric-card {
  padding: 24px;
  background:
    linear-gradient(rgba(10, 18, 25, 0.9), rgba(10, 18, 25, 0.9)) padding-box,
    linear-gradient(135deg, rgba(7, 89, 255, 0.42), rgba(91, 73, 200, 0.22)) border-box;
  box-shadow: rgba(0, 0, 0, 0.42) 0 12px 34px;
}

.content-card h3,
.module-card h3 {
  margin-bottom: 12px;
  font-size: clamp(1.25rem, 1.7vw, 1.62rem);
}

.content-card p,
.module-card p {
  color: var(--muted);
  line-height: 1.65;
}

.content-card ul,
.module-card ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.content-card li,
.module-card li {
  position: relative;
  padding: 10px 0 10px 22px;
  color: rgba(226, 232, 240, 0.86);
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.content-card li::before,
.module-card li::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--blue-2);
  box-shadow: 0 0 14px rgba(18, 135, 255, 0.75);
}

.architecture-map {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(7, 89, 255, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(7, 17, 27, 0.82), rgba(10, 18, 25, 0.64)),
    radial-gradient(circle at 82% 12%, rgba(0, 245, 212, 0.12), transparent 30%);
  box-shadow: rgba(0, 0, 0, 0.42) 0 14px 38px;
}

.architecture-map::before {
  content: "";
  position: absolute;
  inset: 34px 50%;
  width: 1px;
  transform: translateX(-50%);
  background: linear-gradient(rgba(18, 135, 255, 0), rgba(18, 135, 255, 0.78), rgba(18, 135, 255, 0));
}

.arch-layer {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(160px, 0.34fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 86px;
  padding: 18px;
  border: 1px solid rgba(7, 89, 255, 0.24);
  border-radius: 8px;
  background: rgba(10, 18, 25, 0.82);
}

.arch-layer span,
.path-node span,
.automation-pipeline span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  box-shadow: 0 0 20px rgba(7, 89, 255, 0.34);
}

.arch-layer strong {
  font-size: 1.08rem;
}

.arch-layer p,
.path-node p,
.path-support p,
.automation-pipeline p,
.usecase-board p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.module-path {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.module-path::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 7%;
  right: 7%;
  height: 1px;
  background: linear-gradient(90deg, rgba(7, 89, 255, 0), rgba(7, 89, 255, 0.82), rgba(0, 245, 212, 0.6), rgba(7, 89, 255, 0));
}

.path-node,
.path-support,
.automation-pipeline article,
.usecase-board article {
  position: relative;
  padding: 18px;
  border: 1px solid rgba(7, 89, 255, 0.25);
  border-radius: 8px;
  background: rgba(10, 18, 25, 0.78);
  box-shadow: rgba(0, 0, 0, 0.34) 0 12px 30px;
}

.path-node {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 260px;
}

.path-node h3 {
  margin-bottom: 0;
  font-size: 1.06rem;
  line-height: 1.25;
}

.path-support {
  grid-column: 2 / 5;
  display: grid;
  grid-template-columns: minmax(130px, 0.28fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  border-color: rgba(0, 245, 212, 0.32);
  background: linear-gradient(135deg, rgba(0, 245, 212, 0.08), rgba(10, 18, 25, 0.78));
}

.path-support strong {
  color: #ffffff;
  font-size: 1.12rem;
}

.usecase-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.usecase-board article {
  min-height: 210px;
  display: grid;
  align-content: start;
  gap: 14px;
}

.usecase-board span {
  width: max-content;
  padding: 7px 10px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 900;
  background: rgba(7, 89, 255, 0.22);
  border: 1px solid rgba(7, 89, 255, 0.42);
}

.usecase-board strong {
  color: #ffffff;
  font-size: clamp(1.2rem, 1.7vw, 1.6rem);
  line-height: 1.18;
}

.automation-pipeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.automation-pipeline article {
  min-height: 230px;
  display: grid;
  align-content: start;
  gap: 16px;
}

.automation-pipeline article::after {
  content: "";
  position: absolute;
  top: 38px;
  right: -14px;
  width: 14px;
  height: 1px;
  background: rgba(18, 135, 255, 0.7);
}

.automation-pipeline article:last-child::after {
  content: none;
}

.automation-pipeline h3 {
  margin-bottom: 0;
  font-size: 1.12rem;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.metric-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1;
}

.metric-card span {
  color: var(--muted);
  font-weight: 800;
}

.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  counter-reset: flow;
}

.flow-step {
  position: relative;
  display: grid;
  gap: 18px;
  align-content: start;
  min-height: 220px;
  padding: 18px;
  border: 1px solid rgba(7, 89, 255, 0.2);
  border-radius: 8px;
  background: rgba(10, 18, 25, 0.56);
}

.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 42px;
  right: -14px;
  width: 14px;
  height: 1px;
  background: rgba(18, 135, 255, 0.65);
}

.flow-step::before {
  counter-increment: flow;
  content: "0" counter(flow);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  box-shadow: 0 0 22px rgba(7, 89, 255, 0.36);
}

.flow-step h3 {
  margin-bottom: 6px;
  font-size: 1.18rem;
}

.flow-step p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.cta-panel {
  margin-top: 78px;
  padding: clamp(28px, 4vw, 46px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
}

.cta-panel h2 {
  margin-bottom: 10px;
  font-size: clamp(1.9rem, 3vw, 3rem);
}

.cta-panel p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.footer {
  position: relative;
  z-index: 1;
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 42px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  border-top: 1px solid rgba(7, 89, 255, 0.22);
}

.stack2-page {
  background:
    radial-gradient(circle at 18% 6%, rgba(7, 89, 255, 0.22), transparent 34%),
    radial-gradient(circle at 86% 70%, rgba(91, 73, 200, 0.24), transparent 38%),
    linear-gradient(135deg, #03080e, #07111b 48%, #10112c);
}

.stack2-shell {
  position: relative;
  z-index: 1;
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 96px;
}

.stack2-hero {
  position: relative;
  min-height: clamp(720px, 82vh, 920px);
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(470px, 0.7fr);
  gap: clamp(34px, 5vw, 80px);
  align-items: center;
  overflow: hidden;
}

.stack2-network {
  position: absolute;
  inset: -120px calc(50% - 50vw);
  pointer-events: none;
  opacity: 0.34;
}

.stack2-network svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.stack2-network circle {
  fill: rgba(7, 89, 255, 0.82);
}

.stack2-network path {
  fill: none;
  stroke: rgba(128, 150, 255, 0.34);
  stroke-width: 0.7;
}

.stack2-glow {
  position: absolute;
  left: var(--mx, 50%);
  top: var(--my, 35%);
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: rgba(7, 89, 255, 0.2);
  filter: blur(92px);
  transform: translate(-50%, -50%);
  transition: left 260ms ease, top 260ms ease;
}

.stack2-hero-copy {
  position: relative;
  z-index: 1;
}

.stack2-hero h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 5.5vw, 6.3rem);
  line-height: 0.95;
}

.stack2-hero .lead {
  max-width: 720px;
}

.stack2-build-button {
  gap: 10px;
  cursor: pointer;
}

.stack2-build-button span {
  transform: translateY(-1px);
  transition: transform 220ms ease;
}

.stack2-build-button:hover span {
  transform: translate(4px, -1px);
}

.stack2-console {
  position: relative;
  z-index: 1;
  min-height: 590px;
  padding: 1px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(7, 89, 255, 0.8), rgba(91, 73, 200, 0.56), rgba(0, 245, 212, 0.18));
  box-shadow: rgba(0, 0, 0, 0.72) 0 28px 70px, rgba(7, 89, 255, 0.28) 0 0 46px;
}

.stack2-console::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 11px;
  background:
    radial-gradient(circle at 50% 42%, rgba(7, 89, 255, 0.14), transparent 38%),
    linear-gradient(145deg, rgba(7, 17, 27, 0.96), rgba(5, 11, 18, 0.96));
}

.stack2-console-head {
  position: relative;
  z-index: 1;
  min-height: 62px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(7, 89, 255, 0.22);
  color: rgba(226, 232, 240, 0.8);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.stack2-console-head strong {
  color: var(--blue-2);
}

.stack2-builder {
  position: relative;
  z-index: 1;
  min-height: 526px;
}

.stack2-core {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: 164px;
  height: 164px;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px solid rgba(128, 150, 255, 0.42);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(7, 89, 255, 0.24), rgba(7, 17, 27, 0.88) 62%),
    rgba(10, 18, 25, 0.72);
  box-shadow: rgba(7, 89, 255, 0.34) 0 0 42px;
  transform: translate(-50%, -50%) scale(0.88);
  opacity: 0.72;
  transition: transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 720ms ease, box-shadow 720ms ease;
}

.stack2-core strong {
  position: relative;
  z-index: 2;
  align-self: end;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 900;
}

.stack2-core small {
  position: relative;
  z-index: 2;
  align-self: start;
  color: rgba(169, 184, 203, 0.78);
  font-weight: 700;
}

.stack2-core-ring {
  position: absolute;
  inset: 16px;
  border: 1px dashed rgba(0, 245, 212, 0.34);
  border-radius: 50%;
  animation: stack2-spin 22s linear infinite;
}

.stack2-core-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue-2);
  box-shadow: 0 0 22px rgba(7, 89, 255, 0.9);
  transform: translateY(-72px);
}

.stack2-module {
  position: absolute;
  z-index: 2;
  width: min(260px, 32%);
  min-height: 118px;
  padding: 18px;
  border: 1px solid rgba(7, 89, 255, 0.22);
  border-radius: 10px;
  background: rgba(7, 17, 27, 0.72);
  box-shadow: rgba(0, 0, 0, 0.42) 0 18px 42px;
  opacity: 0.24;
  transform: translateY(18px) scale(0.96);
  transition: opacity 520ms ease, transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 520ms ease, box-shadow 520ms ease;
}

.stack2-module span {
  display: block;
  margin-bottom: 20px;
  color: var(--blue-2);
  font-size: 0.9rem;
  font-weight: 900;
}

.stack2-module h2 {
  margin: 0 0 8px;
  font-size: clamp(1rem, 1.3vw, 1.14rem);
  line-height: 1.15;
}

.stack2-module p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.module-a {
  left: 22px;
  top: 34px;
}

.module-b {
  right: 22px;
  top: 34px;
}

.module-c {
  left: 22px;
  bottom: 34px;
}

.module-d {
  right: 22px;
  bottom: 34px;
}

.stack2-lines {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.stack2-lines path {
  fill: none;
  stroke: #1287ff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 430;
  stroke-dashoffset: 430;
  filter: drop-shadow(0 0 10px rgba(7, 89, 255, 0.42));
  opacity: 0;
  transition: stroke-dashoffset 980ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 260ms ease;
}

.stack2-builder.is-built .stack2-core {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  box-shadow: rgba(7, 89, 255, 0.42) 0 0 56px, rgba(0, 245, 212, 0.15) 0 0 70px;
}

.stack2-builder.is-built .stack2-module.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  border-color: rgba(7, 89, 255, 0.74);
  box-shadow: rgba(0, 0, 0, 0.62) 0 20px 50px, rgba(7, 89, 255, 0.22) 0 0 34px;
}

.stack2-builder.is-built .stack2-lines path.is-active {
  opacity: 1;
  stroke-dashoffset: 0;
}

.stack2-journey,
.stack2-audience,
.stack2-final {
  position: relative;
  z-index: 1;
  padding: clamp(70px, 9vw, 120px) 0;
}

.stack2-timeline {
  position: relative;
  display: grid;
  gap: 46px;
  max-width: 960px;
  margin: 64px auto 0;
}

.stack2-timeline-line {
  position: absolute;
  left: 50%;
  top: 18px;
  bottom: 18px;
  width: 2px;
  background: linear-gradient(var(--blue), var(--purple));
  box-shadow: 0 0 20px rgba(7, 89, 255, 0.46);
  transform: translateX(-50%) scaleY(0);
  transform-origin: top;
  transition: transform 1100ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.stack2-timeline.is-visible .stack2-timeline-line {
  transform: translateX(-50%) scaleY(1);
}

.stack2-timeline article {
  position: relative;
  width: calc(50% - 54px);
  min-height: 190px;
  padding: 28px;
  border: 1px solid rgba(7, 89, 255, 0.28);
  border-radius: 10px;
  background: rgba(7, 17, 27, 0.58);
  box-shadow: rgba(0, 0, 0, 0.36) 0 16px 38px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 640ms ease, transform 740ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 240ms ease;
}

.stack2-timeline article:nth-of-type(odd) {
  justify-self: start;
}

.stack2-timeline article:nth-of-type(even) {
  justify-self: end;
}

.stack2-timeline article:hover {
  border-color: rgba(0, 245, 212, 0.34);
}

.stack2-timeline article.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.stack2-node {
  position: absolute;
  top: 22px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(128, 150, 255, 0.56);
  border-radius: 50%;
  background: #0a1219;
  color: #fff;
  font-weight: 900;
}

.stack2-timeline article:nth-of-type(odd) .stack2-node {
  right: -78px;
}

.stack2-timeline article:nth-of-type(even) .stack2-node {
  left: -78px;
}

.stack2-timeline h3 {
  margin: 30px 0 12px;
  font-size: 1.5rem;
}

.stack2-timeline p,
.stack2-final p {
  color: var(--muted);
  line-height: 1.65;
}

.stack2-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.stack2-flip-card {
  min-height: 320px;
  perspective: 1000px;
}

.stack2-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 320px;
  transition: transform 760ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transform-style: preserve-3d;
}

.stack2-flip-card:hover .stack2-card-inner,
.stack2-flip-card:focus-within .stack2-card-inner {
  transform: rotateY(180deg);
}

.stack2-card-face {
  position: absolute;
  inset: 0;
  min-height: 320px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid rgba(7, 89, 255, 0.24);
  border-radius: 10px;
  background: rgba(10, 18, 25, 0.78);
  backface-visibility: hidden;
  box-shadow: rgba(0, 0, 0, 0.4) 0 18px 42px;
}

.stack2-card-face.back {
  align-items: flex-start;
  text-align: left;
  justify-content: center;
  transform: rotateY(180deg);
}

.stack2-card-face h3 {
  margin: 0 0 14px;
  font-size: 1.45rem;
}

.stack2-card-face p {
  margin: 0;
  color: rgba(226, 232, 240, 0.78);
  line-height: 1.62;
}

.stack2-card-face small {
  margin-top: 28px;
  color: rgba(169, 184, 203, 0.68);
  font-weight: 800;
}

.stack2-icon {
  width: 74px;
  height: 74px;
  margin-bottom: 26px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(128, 150, 255, 0.42);
  border-radius: 50%;
  background: rgba(7, 89, 255, 0.1);
  color: #fff;
  font-weight: 900;
}

.accent-pink .back {
  background: linear-gradient(145deg, rgba(72, 18, 62, 0.9), rgba(10, 18, 25, 0.92));
}

.accent-blue .back {
  background: linear-gradient(145deg, rgba(10, 48, 96, 0.9), rgba(10, 18, 25, 0.92));
}

.accent-cyan .back {
  background: linear-gradient(145deg, rgba(4, 72, 80, 0.82), rgba(10, 18, 25, 0.92));
}

.accent-violet .back {
  background: linear-gradient(145deg, rgba(50, 36, 108, 0.92), rgba(10, 18, 25, 0.92));
}

.stack2-final {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.stack2-final h2 {
  margin: 0 auto 24px;
  font-size: clamp(2.2rem, 4.2vw, 4.8rem);
  line-height: 1.02;
}

.stack2-final p {
  max-width: 680px;
  margin: 0 auto 34px;
  font-size: 1.08rem;
}

.stack2-check {
  width: 66px;
  height: 66px;
  margin: 0 auto 26px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(7, 89, 255, 0.36);
  border-radius: 50%;
  background: rgba(7, 89, 255, 0.1);
  color: var(--blue-2);
  font-size: 2rem;
  font-weight: 900;
}

.test1-page {
  background: #030305;
  overflow-x: hidden;
}

.test1-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  color: #fff;
  overflow: hidden;
}

.test1-grid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.2;
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 4rem 4rem;
  mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, #000 70%, transparent 100%);
}

.test1-hero {
  position: relative;
  z-index: 1;
  width: min(1600px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 96px 0 80px;
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 5vw, 86px);
  transition: grid-template-columns 1300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.test1-hero.is-built {
  grid-template-columns: minmax(0, 1fr);
}

.test1-hero.is-moving {
  grid-template-columns: minmax(0, 1fr);
}

.test1-copy {
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: start;
  text-align: center;
  margin-top: clamp(42px, 8vh, 76px);
  transform: translateY(0);
  transition: opacity 520ms ease, filter 520ms ease;
}

.test1-hero.is-moving .test1-copy,
.test1-hero.is-built .test1-copy {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  filter: blur(10px);
  transform: none;
}

.test1-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  padding: 8px 13px;
  border: 1px solid rgba(99, 102, 241, 0.24);
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.1);
  color: rgba(199, 210, 254, 0.95);
  font-size: 0.88rem;
  font-weight: 700;
}

.test1-pill-icon {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: #93c5fd;
}

.test1-copy h1 {
  margin: 0 0 24px;
  max-width: 680px;
  font-size: clamp(2.55rem, 4.6vw, 6.3rem);
  line-height: 1;
  letter-spacing: 0;
}

.test1-built-headline h2 {
  margin: 0 0 20px;
  max-width: 860px;
  font-size: clamp(2.05rem, 3.05vw, 3.95rem);
  line-height: 1;
  letter-spacing: 0;
}

.test1-copy h1 span,
.test1-built-headline span {
  display: block;
  color: transparent;
  background: linear-gradient(90deg, #60a5fa, #818cf8, #a78bfa);
  -webkit-background-clip: text;
  background-clip: text;
}

.test1-copy p {
  max-width: 620px;
  margin: 0 auto 38px;
  color: rgb(148, 163, 184);
  font-size: clamp(1rem, 1.16vw, 1.18rem);
  line-height: 1.7;
}

.test1-build-btn {
  position: relative;
  min-height: 58px;
  padding: 0 32px;
  border: 1px solid rgba(129, 140, 248, 0.58);
  border-radius: 999px;
  background: #4f46e5;
  color: #fff;
  box-shadow: 0 0 42px rgba(79, 70, 229, 0.42);
  cursor: pointer;
  font: inherit;
  font-size: 1.06rem;
  font-weight: 900;
  transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease, color 220ms ease;
}

.test1-build-btn:hover {
  background: #6366f1;
  box-shadow: 0 0 62px rgba(79, 70, 229, 0.62);
  transform: scale(1.04);
}

.test1-build-btn:disabled {
  cursor: default;
  transform: none;
}

.test1-build-btn.is-building {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.54);
  box-shadow: none;
}

.test1-build-btn.is-complete {
  border-color: rgba(52, 211, 153, 0.3);
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  box-shadow: 0 0 34px rgba(16, 185, 129, 0.18);
}

.test1-stage {
  position: relative;
  grid-column: auto;
  min-height: clamp(680px, 82vh, 860px);
  display: grid;
  place-items: center;
  transition: transform 1200ms cubic-bezier(0.22, 1, 0.36, 1);
}

.test1-hero.is-moving .test1-stage,
.test1-hero.is-built .test1-stage {
  grid-column: 1 / -1;
}

.test1-hero.is-moving .test1-stage {
  transform: none;
}

.test1-built-headline,
.test1-built-note {
  position: absolute;
  z-index: 20;
  opacity: 0;
  filter: blur(10px);
  pointer-events: none;
  transition: opacity 900ms ease, transform 1100ms cubic-bezier(0.22, 1, 0.36, 1), filter 900ms ease;
}

.test1-built-headline {
  left: 2%;
  top: 8%;
  width: min(860px, 54vw);
  transform: translateX(-30px);
}

.test1-built-note {
  right: 4%;
  bottom: 5%;
  width: min(620px, 39vw);
  text-align: right;
  transform: translateX(30px);
}

.test1-built-note p {
  margin: 0;
  color: rgb(148, 163, 184);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.7;
}

.test1-hero.is-built .test1-built-headline,
.test1-hero.is-built .test1-built-note {
  opacity: 1;
  filter: blur(0);
  transform: translateX(0);
}

.test1-lines {
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.test1-lines path {
  fill: none;
  stroke: rgba(99, 102, 241, 0.58);
  stroke-width: 2;
  stroke-dasharray: 720;
  stroke-dashoffset: 720;
  opacity: 0;
  transition: stroke-dashoffset 1100ms ease-in-out, opacity 360ms ease;
}

.test1-lines path.is-built {
  stroke-dashoffset: 0;
  opacity: 0.48;
}

.test1-lines path.is-hovered {
  stroke: rgba(129, 140, 248, 0.9);
  opacity: 0.72;
}

.test1-slab-stack {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  pointer-events: none;
}

.test1-slab {
  position: absolute;
  z-index: var(--z, 1);
  transform: translate3d(0, var(--step0-y, 190px), 0) scale(var(--rest-scale, 0.94));
  opacity: 0.82;
  pointer-events: auto;
  transition:
    transform 1000ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 640ms ease,
    filter 420ms ease;
}

.test1-slab.is-hovered {
  filter: brightness(1.16) saturate(1.3);
}

.test1-hero.stack-step-1 .test1-slab {
  transform: translate3d(0, var(--step1-y), 0) scale(var(--step1-scale, var(--rest-scale)));
}

.test1-hero.stack-step-2 .test1-slab {
  transform: translate3d(0, var(--step2-y), 0) scale(var(--step2-scale, var(--scale)));
}

.test1-hero.stack-step-3 .test1-slab {
  transform: translate3d(0, var(--step3-y), 0) scale(var(--step3-scale, var(--scale)));
}

.test1-hero.stack-step-4 .test1-slab {
  transform: translate3d(0, var(--step4-y), 0) scale(var(--scale));
  opacity: 1;
}

.test1-hero.stack-step-4 .test1-slab.is-hovered {
  transform: translate3d(0, calc(var(--step4-y) - 20px), 0) scale(calc(var(--scale) * 1.05));
  filter: brightness(1.18);
}

.test1-slab-float {
  animation: test1-float var(--float-duration, 6s) ease-in-out infinite;
}

.test1-slab-box {
  position: relative;
  width: clamp(240px, 20vw, 320px);
  height: clamp(240px, 20vw, 320px);
  transform: rotateX(60deg) rotateZ(-45deg);
  transform-style: preserve-3d;
}

.test1-slab-box span,
.test1-slab-box strong {
  position: absolute;
  inset: 0;
  border-radius: 30px;
}

.test1-slab-box span {
  background: linear-gradient(135deg, var(--slab-a), var(--slab-b));
  border: 1px solid transparent;
  opacity: 0.22;
}

.test1-slab-box span:nth-child(1) {
  transform: translateZ(-5px);
}

.test1-slab-box span:nth-child(2) {
  transform: translateZ(-10px);
}

.test1-slab-box span:nth-child(3) {
  transform: translateZ(-15px);
}

.test1-slab-box span:nth-child(4) {
  transform: translateZ(-20px);
}

.test1-slab-box span:nth-child(5) {
  transform: translateZ(-25px);
}

.test1-slab-box strong {
  background: linear-gradient(135deg, var(--slab-a), var(--slab-b));
  border: 1px solid var(--slab-border);
  box-shadow: var(--slab-glow);
}

.test1-slab-box strong::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 34px;
  background: var(--slab-hot);
  filter: blur(18px);
  opacity: 0;
  transition: opacity 260ms ease;
}

.test1-slab.is-hovered strong::before {
  opacity: 0.58;
}

.layer-1 {
  --z: 1;
  --step0-y: 120px;
  --step1-y: 120px;
  --step2-y: 120px;
  --step3-y: 120px;
  --step4-y: 120px;
  --scale: 1.04;
  --rest-scale: 0.99;
  --float-duration: 6.4s;
  --slab-a: rgba(30, 64, 175, 0.42);
  --slab-b: rgba(30, 64, 175, 0.18);
  --slab-border: rgba(59, 130, 246, 0.34);
  --slab-glow: 0 0 30px rgba(59, 130, 246, 0.22);
  --slab-hot: #3b82f6;
}

.layer-2 {
  --z: 2;
  --step0-y: 100px;
  --step1-y: 100px;
  --step2-y: 40px;
  --step3-y: 40px;
  --step4-y: 40px;
  --scale: 1;
  --rest-scale: 0.95;
  --step2-scale: 1;
  --float-duration: 7.2s;
  --slab-a: rgba(88, 28, 135, 0.46);
  --slab-b: rgba(88, 28, 135, 0.2);
  --slab-border: rgba(168, 85, 247, 0.34);
  --slab-glow: 0 0 30px rgba(168, 85, 247, 0.22);
  --slab-hot: #a855f7;
}

.layer-3 {
  --z: 3;
  --step0-y: 80px;
  --step1-y: 80px;
  --step2-y: 20px;
  --step3-y: -40px;
  --step4-y: -40px;
  --scale: 0.96;
  --rest-scale: 0.91;
  --step2-scale: 0.92;
  --step3-scale: 0.96;
  --float-duration: 8s;
  --slab-a: rgba(157, 23, 77, 0.44);
  --slab-b: rgba(157, 23, 77, 0.18);
  --slab-border: rgba(236, 72, 153, 0.34);
  --slab-glow: 0 0 30px rgba(236, 72, 153, 0.22);
  --slab-hot: #ec4899;
}

.layer-4 {
  --z: 4;
  --step0-y: 60px;
  --step1-y: 60px;
  --step2-y: 0;
  --step3-y: -60px;
  --step4-y: -120px;
  --scale: 0.92;
  --rest-scale: 0.87;
  --step2-scale: 0.88;
  --step3-scale: 0.9;
  --float-duration: 8.8s;
  --slab-a: rgba(49, 46, 129, 0.5);
  --slab-b: rgba(49, 46, 129, 0.2);
  --slab-border: rgba(99, 102, 241, 0.36);
  --slab-glow: 0 0 30px rgba(99, 102, 241, 0.24);
  --slab-hot: #6366f1;
}

.test1-info-panel {
  position: absolute;
  z-index: 12;
  width: min(460px, 30vw);
  padding: 18px;
  border: 1px solid rgba(51, 65, 85, 0.68);
  border-radius: 18px;
  background: rgba(10, 15, 26, 0.92);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(16px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(22px);
  transition: opacity 720ms ease, transform 780ms cubic-bezier(0.22, 1, 0.36, 1), border-color 220ms ease;
}

.test1-info-panel.is-built {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.test1-info-panel.is-hovered {
  border-color: rgba(99, 102, 241, 0.62);
}

.test1-info-panel div {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
}

.test1-info-panel h2 {
  margin: 0;
  font-size: clamp(0.98rem, 1.08vw, 1.12rem);
  line-height: 1.18;
}

.test1-info-panel p {
  margin: 0 0 14px;
  color: rgb(148, 163, 184);
  font-size: 0.86rem;
  line-height: 1.48;
}

.test1-info-panel ul {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
}

.test1-info-panel li {
  padding: 5px 10px;
  border: 1px solid rgba(51, 65, 85, 0.64);
  border-radius: 999px;
  background: #030305;
  color: rgb(165, 180, 252);
  font-size: 0.68rem;
}

.test1-info-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(30, 41, 59, 0.8);
  color: rgb(96, 165, 250);
  font-weight: 900;
}

.panel-1 {
  left: 2%;
  top: 58%;
  text-align: right;
}

.panel-1 div,
.panel-3 div {
  flex-direction: row-reverse;
}

.panel-1 ul,
.panel-3 ul {
  justify-content: flex-end;
}

.panel-2 {
  right: 2%;
  top: 40%;
}

.panel-3 {
  left: 2%;
  top: 15%;
  text-align: right;
}

.panel-4 {
  right: 2%;
  top: 1%;
}

.test1-transition {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  gap: 14px;
  padding: 30px 0 70px;
  opacity: 0.55;
}

.test1-transition span {
  width: 1px;
  height: 96px;
  background: linear-gradient(transparent, #6366f1, transparent);
}

.test1-transition strong {
  color: #818cf8;
  font-size: 1.8rem;
  animation: test1-bob 2s ease-in-out infinite;
}

.test1-process {
  position: relative;
  z-index: 1;
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0 92px;
}

.test1-step-grid {
  position: relative;
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.test1-step-grid::before {
  content: "";
  position: absolute;
  top: 48px;
  left: 9%;
  right: 9%;
  height: 1px;
  background: rgba(51, 65, 85, 0.88);
}

.test1-step-grid article {
  position: relative;
  z-index: 1;
  padding: 92px 24px 26px;
  border: 1px solid rgba(30, 41, 59, 0.92);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.52);
  text-align: center;
  transition: background 240ms ease, border-color 240ms ease, transform 240ms ease;
}

.test1-step-grid article:hover {
  border-color: rgba(99, 102, 241, 0.48);
  background: rgba(15, 23, 42, 0.8);
  transform: translateY(-4px);
}

.test1-step-grid span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(30, 41, 59, 1);
  border-radius: 50%;
  background: #0a0a0f;
  color: #818cf8;
  font-size: 1.5rem;
  font-weight: 900;
  transform: translate(-50%, -50%);
}

.test1-step-grid h3 {
  margin: 0 0 12px;
  font-size: 1.22rem;
}

.test1-step-grid p {
  margin: 0;
  color: rgb(148, 163, 184);
  font-size: 0.94rem;
  line-height: 1.6;
}

.test1-cta {
  position: relative;
  z-index: 1;
  width: min(860px, calc(100% - 32px));
  margin: 30px auto 110px;
  padding: clamp(34px, 5vw, 58px);
  overflow: hidden;
  border: 1px solid rgba(99, 102, 241, 0.24);
  border-radius: 28px;
  background:
    radial-gradient(ellipse at center, rgba(79, 70, 229, 0.16), transparent 70%),
    linear-gradient(180deg, rgba(49, 46, 129, 0.2), rgba(3, 3, 5, 0.2));
  text-align: center;
}

.test1-cta h2 {
  margin: 0 0 22px;
  font-size: clamp(2rem, 4vw, 4.8rem);
  line-height: 1.05;
}

.test1-cta p {
  max-width: 680px;
  margin: 0 auto 34px;
  color: rgb(148, 163, 184);
  font-size: 1.08rem;
  line-height: 1.65;
}

@keyframes test1-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  25% {
    transform: translate3d(3px, -4px, 0);
  }
  50% {
    transform: translate3d(0, -8px, 0);
  }
  75% {
    transform: translate3d(-3px, 4px, 0);
  }
}

@keyframes test1-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

@media (max-width: 980px) {
  .section-head,
  .sub-hero,
  .stack-hero-grid,
  .grid-3,
  .grid-2,
  .metric-row,
  .flow,
  .cta-panel,
  .stack-timeline,
  .stack-cta,
  .signal-stack,
  .module-path,
  .usecase-board,
  .automation-pipeline {
    grid-template-columns: 1fr;
  }

  .architecture-map::before,
  .module-path::before,
  .flow-step:not(:last-child)::after,
  .stack-timeline article::after,
  .automation-pipeline article::after {
    content: none;
  }

  .stack-landing h1 {
    max-width: 720px;
  }

  .stack-brief {
    padding: 22px 0 0 22px;
  }

  .stack-legend {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stack-legend span:nth-child(2) {
    border-right: 0;
  }

  .stack-legend span:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(7, 89, 255, 0.16);
  }

  .pyramid-stage,
  .pyramid-stage .service-visual {
    min-height: clamp(520px, 92vw, 680px);
  }

  .pyramid-stage {
    margin-top: 0;
  }

  .stack-timeline article {
    min-height: auto;
  }

  .stack-timeline article:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid rgba(7, 89, 255, 0.2);
  }

  .stack-timeline span {
    margin-bottom: 24px;
  }

  .stack-cta {
    gap: 22px;
    align-items: start;
  }

  .arch-layer,
  .path-support {
    grid-template-columns: 1fr;
  }

  .path-node,
  .flow-step,
  .automation-pipeline article,
  .usecase-board article {
    min-height: auto;
  }

  .path-support {
    grid-column: auto;
  }

  .hero-panel {
    min-height: auto;
  }

  .stack2-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 54px;
  }

  .stack2-console {
    min-height: 640px;
  }

  .stack2-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .test1-hero,
  .test1-hero.is-built {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 70px;
  }

  .test1-copy {
    transform: none;
  }

  .test1-hero.is-built .test1-copy {
    display: none;
  }

  .test1-stage {
    min-height: 1180px;
  }

  .test1-built-headline,
  .test1-built-note {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: min(720px, 100%);
    margin: 0 auto;
    text-align: center;
    transform: translateY(18px);
  }

  .test1-built-headline {
    align-self: start;
    padding-top: 20px;
  }

  .test1-built-note {
    align-self: end;
    padding-bottom: 20px;
  }

  .test1-built-headline h2 {
    font-size: clamp(2.45rem, 8vw, 4.4rem);
  }

  .test1-lines {
    display: none;
  }

  .test1-slab-stack {
    min-height: 500px;
  }

  .test1-info-panels {
    position: relative;
    z-index: 18;
    align-self: end;
    width: min(680px, 100%);
    display: grid;
    gap: 14px;
    margin-top: 580px;
  }

  .test1-info-panel,
  .panel-1,
  .panel-2,
  .panel-3,
  .panel-4 {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    text-align: left;
  }

  .panel-1 div,
  .panel-3 div {
    flex-direction: row;
  }

  .panel-1 ul,
  .panel-3 ul {
    justify-content: flex-start;
  }

  .test1-step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 52px;
  }

  .test1-step-grid::before {
    content: none;
  }
}

@media (max-width: 680px) {
  .sub-header {
    width: calc(100% - 24px);
    align-items: flex-start;
    flex-direction: column;
  }

  .sub-nav {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .sub-nav::-webkit-scrollbar {
    display: none;
  }

  .sub-nav a {
    flex: 0 0 auto;
    padding-inline: 12px;
    font-size: 0.72rem;
  }

  .page-shell {
    width: min(100% - 24px, 560px);
    padding-top: 42px;
  }

  h1 {
    font-size: clamp(2.25rem, 11vw, 3.8rem);
  }

  .hero-copy,
  .content-card,
  .module-card,
  .metric-card,
  .cta-panel {
    padding: 20px;
  }

  .flow-step {
    grid-template-columns: 1fr;
  }

  .stack-landing h1 {
    font-size: clamp(2.35rem, 13vw, 3.75rem);
    line-height: 1;
  }

  .stack-landing .hero-copy {
    padding-top: 10px;
  }

  .stack-brief {
    font-size: 0.95rem;
  }

  .stack-legend {
    grid-template-columns: 1fr;
  }

  .stack-legend span {
    min-height: 46px;
  }

  .stack-legend span:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid rgba(7, 89, 255, 0.16);
  }

  .pyramid-stage,
  .pyramid-stage .service-visual {
    min-height: 430px;
  }

  .stack-process {
    padding-top: 42px;
  }

  .stack-timeline article {
    padding: 22px 18px 24px;
  }

  .stack-cta {
    margin-top: 54px;
  }

  .footer {
    flex-direction: column;
  }

  .stack2-shell {
    width: min(100% - 24px, 560px);
    padding-top: 46px;
  }

  .stack2-hero h1 {
    font-size: clamp(2.45rem, 13vw, 4rem);
  }

  .stack2-console {
    min-height: auto;
  }

  .stack2-builder {
    min-height: auto;
    display: grid;
    gap: 14px;
    padding: 18px;
  }

  .stack2-core,
  .stack2-module,
  .module-a,
  .module-b,
  .module-c,
  .module-d {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
  }

  .stack2-core {
    order: 5;
    margin: 12px auto 0;
    width: 150px;
    height: 150px;
    transform: scale(0.94);
  }

  .stack2-builder.is-built .stack2-core {
    transform: scale(1);
  }

  .stack2-lines {
    display: none;
  }

  .stack2-timeline {
    margin-top: 40px;
  }

  .stack2-timeline-line {
    left: 23px;
  }

  .stack2-timeline article,
  .stack2-timeline article:nth-of-type(odd),
  .stack2-timeline article:nth-of-type(even) {
    width: auto;
    justify-self: stretch;
    margin-left: 58px;
  }

  .stack2-timeline article:nth-of-type(odd) .stack2-node,
  .stack2-timeline article:nth-of-type(even) .stack2-node {
    left: -58px;
    right: auto;
  }

  .stack2-card-grid {
    grid-template-columns: 1fr;
  }

  .test1-hero,
  .test1-process,
  .test1-cta {
    width: min(100% - 24px, 560px);
  }

  .test1-copy h1 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .test1-copy p {
    font-size: 1rem;
  }

  .test1-stage {
    min-height: 1220px;
  }

  .test1-slab {
    transform: translate3d(0, var(--mobile-start-y, 105px), 0) scale(var(--rest-scale, 0.88));
  }

  .test1-hero.stack-step-1 .test1-slab {
    transform: translate3d(0, var(--mobile-step1-y), 0) scale(var(--mobile-step1-scale, var(--rest-scale, 0.88)));
  }

  .test1-hero.stack-step-2 .test1-slab {
    transform: translate3d(0, var(--mobile-step2-y), 0) scale(var(--mobile-step2-scale, var(--mobile-scale)));
  }

  .test1-hero.stack-step-3 .test1-slab {
    transform: translate3d(0, var(--mobile-step3-y), 0) scale(var(--mobile-step3-scale, var(--mobile-scale)));
  }

  .test1-hero.stack-step-4 .test1-slab {
    transform: translate3d(0, var(--mobile-built-y), 0) scale(var(--mobile-scale));
  }

  .test1-hero.stack-step-4 .test1-slab.is-hovered {
    transform: translate3d(0, calc(var(--mobile-built-y) - 12px), 0) scale(calc(var(--mobile-scale) * 1.03));
  }

  .test1-slab-box {
    width: clamp(190px, 62vw, 260px);
    height: clamp(190px, 62vw, 260px);
  }

  .layer-1 {
    --mobile-built-y: 82px;
    --mobile-start-y: 82px;
    --mobile-step1-y: 82px;
    --mobile-step2-y: 82px;
    --mobile-step3-y: 82px;
    --mobile-scale: 1;
  }

  .layer-2 {
    --mobile-built-y: 32px;
    --mobile-start-y: 70px;
    --mobile-step1-y: 70px;
    --mobile-step2-y: 32px;
    --mobile-step3-y: 32px;
    --mobile-scale: 0.96;
    --mobile-step2-scale: 0.96;
  }

  .layer-3 {
    --mobile-built-y: -18px;
    --mobile-start-y: 58px;
    --mobile-step1-y: 58px;
    --mobile-step2-y: 20px;
    --mobile-step3-y: -18px;
    --mobile-scale: 0.92;
    --mobile-step2-scale: 0.9;
    --mobile-step3-scale: 0.92;
  }

  .layer-4 {
    --mobile-built-y: -68px;
    --mobile-start-y: 46px;
    --mobile-step1-y: 46px;
    --mobile-step2-y: 8px;
    --mobile-step3-y: -30px;
    --mobile-scale: 0.88;
    --mobile-step2-scale: 0.86;
    --mobile-step3-scale: 0.87;
  }

  .test1-info-panels {
    margin-top: 500px;
  }

  .test1-step-grid {
    grid-template-columns: 1fr;
  }

  .test1-step-grid article {
    padding-inline: 20px;
  }

  .test1-transition {
    padding-bottom: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pyramid-layer,
  .pyramid-surface,
  .pyramid-accent,
  .pyramid-signal,
  .pyramid-index,
  .pyramid-title,
  .pyramid-sub,
  .pyramid-info {
    transition-duration: 1ms !important;
    animation: none !important;
  }

  .stack2-card-inner,
  .stack2-core,
  .stack2-module,
  .stack2-lines path,
  .stack2-timeline-line,
  .stack2-timeline article,
  .stack2-core-ring {
    transition-duration: 1ms !important;
    animation: none !important;
  }

  .test1-slab,
  .test1-slab-float,
  .test1-info-panel,
  .test1-lines path,
  .test1-built-headline,
  .test1-built-note,
  .test1-transition strong {
    transition-duration: 1ms !important;
    animation: none !important;
  }
}

@keyframes stack2-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-18px, 12px, 0);
  }
}

@keyframes grid-breathe {
  from {
    opacity: 0.32;
    transform: scale(1);
  }
  to {
    opacity: 0.58;
    transform: scale(1.018);
  }
}

@keyframes slab-glow {
  0%,
  100% {
    opacity: 0.96;
    filter: drop-shadow(0 0 0 rgba(0, 245, 212, 0));
  }
  50% {
    opacity: 1;
    filter: drop-shadow(0 0 7px rgba(0, 245, 212, 0.14));
  }
}

@keyframes dash-flow {
  to {
    stroke-dashoffset: -84;
  }
}

@keyframes pulse-dot {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.16);
  }
}

@keyframes orbit-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes orbit-breathe {
  0%,
  100% {
    opacity: 0.34;
  }
  50% {
    opacity: 0.78;
  }
}

@keyframes core-breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}

/* Automatisierung */
.automation-page {
  background: #030305;
  color: #fff;
}

.automation-shell {
  overflow: clip;
}

.auto-hero {
  position: relative;
  min-height: 100vh;
  padding: 126px 18px 82px;
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: background 700ms ease;
}

.auto-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(30, 41, 59, 0.18), transparent 42%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, 72px 72px, 72px 72px;
  opacity: 0.38;
}

.auto-hero.is-ai::before {
  background:
    radial-gradient(circle at 50% 38%, rgba(7, 89, 255, 0.34), transparent 42%),
    radial-gradient(circle at 50% 44%, rgba(91, 73, 200, 0.22), transparent 56%),
    linear-gradient(180deg, rgba(3, 3, 5, 0.12), rgba(3, 3, 5, 0.42));
  background-size: auto;
}

.auto-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 520ms ease;
}

.auto-hero.is-ai .auto-hero-bg {
  opacity: 0.44;
}

.auto-hero-bg span {
  position: absolute;
  right: -18%;
  width: 160px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(125, 160, 255, 0.95), rgba(7, 89, 255, 0.7), transparent);
  box-shadow: 0 0 18px rgba(7, 89, 255, 0.5);
  transform: rotate(-16deg);
  animation: auto-particle 1.75s linear infinite;
}

.auto-hero-bg span:nth-child(1) { top: 7%; animation-delay: 0s; }
.auto-hero-bg span:nth-child(2) { top: 14%; animation-delay: 0.28s; animation-duration: 1.45s; }
.auto-hero-bg span:nth-child(3) { top: 22%; animation-delay: 0.82s; width: 110px; }
.auto-hero-bg span:nth-child(4) { top: 31%; animation-delay: 0.52s; animation-duration: 1.95s; }
.auto-hero-bg span:nth-child(5) { top: 40%; animation-delay: 1.1s; width: 190px; }
.auto-hero-bg span:nth-child(6) { top: 50%; animation-delay: 0.16s; animation-duration: 1.62s; }
.auto-hero-bg span:nth-child(7) { top: 58%; animation-delay: 1.36s; width: 120px; }
.auto-hero-bg span:nth-child(8) { top: 67%; animation-delay: 0.72s; animation-duration: 2.1s; }
.auto-hero-bg span:nth-child(9) { top: 17%; animation-delay: 1.72s; width: 140px; }
.auto-hero-bg span:nth-child(10) { top: 46%; animation-delay: 2.06s; animation-duration: 1.72s; }

.auto-hero-inner {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  margin: 0 auto;
  text-align: center;
  transform: translateY(-68px);
}

.auto-mode-switch {
  margin: 0 auto 44px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  color: rgb(100, 116, 139);
  font-weight: 800;
}

.auto-hero:not(.is-ai) [data-manual-label],
.auto-hero.is-ai [data-ai-label] {
  color: #fff;
}

.auto-toggle {
  width: 96px;
  height: 48px;
  padding: 4px;
  border: 1px solid rgba(51, 65, 85, 0.9);
  border-radius: 999px;
  background: #0f172a;
  cursor: pointer;
  outline: none;
  transition: background 360ms ease, border-color 360ms ease, box-shadow 360ms ease;
}

.auto-toggle:focus-visible {
  box-shadow: 0 0 0 3px rgba(7, 89, 255, 0.35), 0 0 24px rgba(91, 73, 200, 0.38);
}

.auto-hero.is-ai .auto-toggle {
  border-color: rgba(59, 99, 255, 0.74);
  background: linear-gradient(90deg, #0759ff, #5b49c8);
  box-shadow: 0 0 34px rgba(7, 89, 255, 0.36), 0 0 28px rgba(91, 73, 200, 0.32);
}

.auto-toggle-knob {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgb(100, 116, 139);
  transition: transform 460ms cubic-bezier(0.22, 1, 0.36, 1), background 360ms ease;
}

.auto-hero.is-ai .auto-toggle-knob {
  transform: translateX(48px);
  background: #fff;
}

.auto-toggle svg {
  width: 20px;
  height: 20px;
  fill: #0759ff;
  opacity: 0;
  transition: opacity 220ms ease;
}

.auto-hero.is-ai .auto-toggle svg {
  opacity: 1;
}

.auto-hero h1 {
  margin: 0 auto 24px;
  font-size: clamp(3rem, 6.7vw, 7.2rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.auto-hero h1 span {
  display: block;
  color: rgb(203, 213, 225);
  transition: color 360ms ease;
}

.auto-hero.is-ai h1 span {
  color: transparent;
  background: linear-gradient(90deg, #6d91ff, #5f7cff 48%, #8a6cff);
  -webkit-background-clip: text;
  background-clip: text;
}

.auto-lead {
  min-height: 72px;
  max-width: 760px;
  margin: 0 auto 18px;
  color: rgb(148, 163, 184);
  font-size: clamp(1.1rem, 1.7vw, 1.45rem);
  line-height: 1.55;
}

.auto-hero.is-ai .auto-lead {
  color: rgb(203, 214, 255);
}

.auto-savings {
  min-height: 86px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #7da0ff;
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  transition: opacity 360ms ease, transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.auto-hero.is-ai .auto-savings {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.auto-savings strong {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.08em;
  font-size: clamp(2.75rem, 4.6vw, 4.6rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 0 20px rgba(7, 89, 255, 0.45), 0 0 28px rgba(91, 73, 200, 0.38);
}

.auto-savings strong span {
  font: inherit;
  color: inherit;
  margin: 0;
  text-transform: none;
}

.auto-savings > span:last-child {
  margin-top: 6px;
  color: rgba(173, 188, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
}

.auto-actions {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.auto-pipeline-section,
.auto-roi-section {
  position: relative;
  padding: 104px 18px;
  background: #020204;
  border-top: 1px solid rgba(15, 23, 42, 0.95);
}

.auto-section-head {
  max-width: 820px;
  margin: 0 auto 78px;
  text-align: center;
}

.auto-section-head h2,
.auto-flow-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(2.25rem, 3.5vw, 3.85rem);
  line-height: 1;
}

.auto-section-head p {
  margin: 0;
  color: rgba(143, 172, 255, 0.9);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
}

.auto-pipeline-grid {
  width: min(1280px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
}

.auto-pipeline-card {
  position: relative;
  min-height: 214px;
  padding: 27px 28px 24px;
  border: 1px solid rgba(67, 102, 190, 0.46);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(6, 10, 21, 0.96), rgba(4, 7, 16, 0.98)),
    rgba(15, 23, 42, 0.42);
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.72) 0 22px 46px, rgba(7, 89, 255, 0.12) 0 0 0 1px inset;
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1), border-color 360ms ease, box-shadow 360ms ease;
}

.auto-pipeline-card:hover {
  transform: translateY(-5px);
  border-color: rgba(126, 150, 255, 0.78);
  box-shadow: rgba(0, 0, 0, 0.74) 0 26px 56px, rgba(7, 89, 255, 0.22) 0 0 26px;
}

.auto-pipeline-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -50% 20%;
  height: 150px;
  border-radius: 999px;
  background: currentColor;
  filter: blur(90px);
  opacity: 0.14;
}

.auto-pipeline-card {
  --pipeline-input: #ffd24a;
  --pipeline-input-rgb: 255, 210, 74;
  --pipeline-ai: #7c5cff;
  --pipeline-done: #2df49a;
  --pipeline-done-rgb: 45, 244, 154;
  color: var(--pipeline-ai);
}

.auto-pipeline-card.indigo {
  --pipeline-input: #ffd24a;
  --pipeline-input-rgb: 255, 210, 74;
}

.auto-pipeline-card.violet,
.auto-pipeline-card.emerald {
  --pipeline-input: #ff4d6d;
  --pipeline-input-rgb: 255, 77, 109;
}

.auto-pipeline-card.blue,
.auto-pipeline-card.pink {
  --pipeline-input: #ff9a3d;
  --pipeline-input-rgb: 255, 154, 61;
}

.pipeline-heading {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 34px;
}

.pipeline-heading h3 {
  margin: 0;
  color: #fff;
  font-size: 1.18rem;
  letter-spacing: 0;
}

.auto-icon {
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.auto-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--pipeline-input);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px var(--pipeline-input));
}

.pipeline-flow {
  position: relative;
  z-index: 1;
  min-height: 116px;
  display: grid;
  grid-template-columns: 1.18fr 1fr 0.82fr;
  align-items: center;
  gap: 16px;
}

.pipeline-node,
.pipeline-ai {
  position: relative;
  z-index: 4;
  display: grid;
  justify-items: center;
  gap: 9px;
  text-align: center;
}

.pipeline-node.muted {
  color: var(--pipeline-input);
}

.pipeline-ai {
  color: var(--pipeline-ai);
}

.pipeline-node.done {
  color: var(--pipeline-done);
}

.pipeline-node span,
.pipeline-ai span {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(34, 49, 80, 0.82), rgba(12, 19, 34, 0.94));
  border: 1px solid currentColor;
  box-shadow: rgba(0, 0, 0, 0.4) 0 10px 24px;
}

.pipeline-node.muted span {
  position: relative;
  width: 72px;
  height: 58px;
  border-radius: 11px;
  background:
    radial-gradient(circle at 50% 50%, rgba(var(--pipeline-input-rgb), 0.22), transparent 58%),
    rgba(18, 23, 34, 0.96);
  box-shadow: 0 0 20px rgba(var(--pipeline-input-rgb), 0.28);
}

.pipeline-node.muted span::before,
.pipeline-node.muted span::after {
  content: "";
  position: absolute;
  border: 1px solid currentColor;
  border-radius: 4px;
  opacity: 0.36;
}

.pipeline-node.muted span::before {
  width: 22px;
  height: 24px;
  left: 17px;
  top: 16px;
}

.pipeline-node.muted span::after {
  width: 18px;
  height: 20px;
  left: 34px;
  top: 21px;
}

.pipeline-node.done span {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 9px;
  border-color: rgba(var(--pipeline-done-rgb), 0.62);
  background:
    radial-gradient(circle at 50% 50%, rgba(var(--pipeline-done-rgb), 0.22), transparent 58%),
    #101b31;
  box-shadow: 0 0 18px rgba(var(--pipeline-done-rgb), 0.28);
}

.pipeline-node.done span::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 50%;
  top: 50%;
  border: 2px solid currentColor;
  border-radius: 999px;
  opacity: 0.95;
  transform: translate(-50%, -50%);
}

.pipeline-node.done span::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 4px;
  left: 50%;
  top: 50%;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translate(-50%, -58%) rotate(-45deg);
}

.pipeline-ai span {
  width: 63px;
  height: 63px;
  border-radius: 12px;
  border-color: currentColor;
  background:
    radial-gradient(circle at 50% 42%, rgba(124, 92, 255, 0.24), transparent 58%),
    rgba(12, 20, 37, 0.96);
  box-shadow: 0 0 26px rgba(124, 92, 255, 0.42), 0 0 20px currentColor;
}

.pipeline-ai span::before {
  content: "";
  display: block;
  width: 22px;
  height: 22px;
  margin: 20px auto;
  background: currentColor;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
}

.pipeline-flow small {
  color: rgba(134, 151, 187, 0.9);
  font-size: 0.75rem;
  line-height: 1.25;
  font-family: "Inter", system-ui, sans-serif;
}

.pipeline-ai small,
.pipeline-node.done small {
  color: currentColor;
  font-weight: 800;
}

.pipeline-node.muted small {
  color: rgba(var(--pipeline-input-rgb), 0.78);
}

.pipeline-track {
  position: absolute;
  left: 19%;
  right: 15%;
  top: 34px;
  height: 54px;
  background: none;
  pointer-events: none;
  z-index: 2;
}

.pipeline-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background:
    linear-gradient(90deg,
      rgba(var(--pipeline-input-rgb), 0.58),
      rgba(124, 92, 255, 0.68) 50%,
      rgba(var(--pipeline-done-rgb), 0.54));
  transform: translateY(-50%);
}

.pipeline-track::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 9%;
  top: 50%;
  height: 18px;
  border-radius: 999px;
  background:
    linear-gradient(90deg,
      rgba(var(--pipeline-input-rgb), 0.12),
      rgba(124, 92, 255, 0.18) 52%,
      rgba(var(--pipeline-done-rgb), 0.07));
  filter: blur(12px);
  transform: translateY(-50%);
}

.pipeline-track b {
  position: absolute;
  top: 5px;
  left: 0;
  width: 68px;
  height: 44px;
  border: 1px solid rgba(var(--pipeline-input-rgb), 0.74);
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 50%, rgba(var(--pipeline-input-rgb), 0.2), transparent 58%),
    rgba(13, 22, 39, 0.96);
  color: var(--pipeline-input);
  box-shadow: 0 0 18px rgba(var(--pipeline-input-rgb), 0.24);
  animation: auto-compress-item 3s cubic-bezier(0.65, 0, 0.35, 1) infinite;
  z-index: 3;
}

.pipeline-track b::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 14px currentColor;
}

.funnel-pipeline {
  position: relative;
  width: min(1280px, 100%);
  min-height: 520px;
  margin: 0 auto;
  border: 1px solid rgba(67, 102, 190, 0.46);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 50%, rgba(124, 92, 255, 0.16), transparent 34%),
    radial-gradient(circle at 12% 18%, rgba(255, 210, 74, 0.08), transparent 22%),
    radial-gradient(circle at 10% 38%, rgba(255, 77, 109, 0.08), transparent 22%),
    radial-gradient(circle at 16% 55%, rgba(63, 134, 255, 0.07), transparent 23%),
    radial-gradient(circle at 11% 70%, rgba(255, 154, 61, 0.08), transparent 22%),
    radial-gradient(circle at 18% 88%, rgba(49, 215, 255, 0.07), transparent 23%),
    linear-gradient(145deg, rgba(6, 10, 21, 0.96), rgba(3, 5, 11, 0.98));
  box-shadow:
    rgba(0, 0, 0, 0.76) 0 28px 70px,
    rgba(7, 89, 255, 0.14) 0 0 0 1px inset,
    rgba(124, 92, 255, 0.16) 0 0 42px;
  overflow: hidden;
}

.funnel-pipeline::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 50% 50%, #000 28%, transparent 82%);
  opacity: 0.5;
}

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

.funnel-path {
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-dasharray: 9 13;
  opacity: 0;
  filter: url("#funnelGlow");
  animation: funnel-dash 7s linear infinite;
}

.funnel-path.pdf { stroke: url("#funnelPdf"); }
.funnel-path.tickets { stroke: url("#funnelTickets"); animation-delay: -1.2s; }
.funnel-path.erp { stroke: url("#funnelErp"); animation-delay: -2.1s; }

.funnel-path.output {
  stroke: url("#funnelOutput");
  stroke-width: 5;
  stroke-dasharray: 0;
  opacity: 0;
}

.funnel-packet {
  filter: url("#funnelGlow");
  opacity: 0.95;
}

.funnel-packet.ghost {
  opacity: 0.62;
}

.funnel-packet.pdf { fill: #ffd24a; }
.funnel-packet.tickets { fill: #ff4d6d; }
.funnel-packet.erp { fill: #ff9a3d; }
.funnel-packet.mail { fill: #3f86ff; }
.funnel-packet.csv { fill: #31d7ff; }
.funnel-packet.clean { fill: #2df49a; }

.funnel-inputs {
  position: absolute;
  z-index: 2;
  left: clamp(18px, 3vw, 42px);
  top: 26px;
  bottom: 26px;
  width: min(340px, 31%);
}

.funnel-node {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  border: 1px solid rgba(67, 102, 190, 0.45);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(9, 15, 30, 0.94), rgba(5, 8, 18, 0.96));
  box-shadow: rgba(0, 0, 0, 0.56) 0 18px 34px;
}

.funnel-node.input {
  position: absolute;
  min-height: 78px;
  padding: 14px;
  width: min(292px, 100%);
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1), border-color 360ms ease, box-shadow 360ms ease;
}

.funnel-node.input:hover {
  transform: translateY(-4px) rotate(0deg);
  border-color: currentColor;
  box-shadow: rgba(0, 0, 0, 0.6) 0 20px 38px, 0 0 28px currentColor;
}

.funnel-node.input.pdf { color: #ffd24a; }
.funnel-node.input.tickets { color: #ff4d6d; }
.funnel-node.input.erp { color: #ff9a3d; }
.funnel-node.input.mail { color: #3f86ff; }
.funnel-node.input.csv { color: #31d7ff; }

.funnel-node.input.pdf {
  left: 0;
  top: 6px;
  transform: rotate(-1.4deg);
}

.funnel-node.input.tickets {
  left: 22px;
  top: 104px;
  transform: rotate(1.2deg);
}

.funnel-node.input.mail {
  left: 4px;
  top: 206px;
  transform: rotate(-0.8deg);
}

.funnel-node.input.erp {
  left: 36px;
  top: 305px;
  transform: rotate(1.6deg);
}

.funnel-node.input.csv {
  left: 10px;
  top: 405px;
  transform: rotate(-1deg);
}

.funnel-node-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: 1px solid currentColor;
  border-radius: 12px;
  background: rgba(12, 20, 37, 0.92);
  box-shadow: 0 0 22px currentColor;
}

.funnel-node-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.funnel-node strong,
.funnel-core strong {
  display: block;
  color: #fff;
  font-size: clamp(0.92rem, 1.05vw, 1.12rem);
  line-height: 1.15;
  letter-spacing: 0;
}

.funnel-node small,
.funnel-core small {
  display: block;
  margin-top: 6px;
  color: rgba(184, 198, 235, 0.72);
  font-size: 0.74rem;
  line-height: 1.35;
}

.funnel-core {
  position: absolute;
  z-index: 3;
  left: 52%;
  top: 50%;
  width: clamp(190px, 21vw, 270px);
  min-height: 126px;
  padding: 26px 22px;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px solid rgba(124, 92, 255, 0.86);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 20%, rgba(124, 92, 255, 0.32), transparent 54%),
    linear-gradient(145deg, rgba(26, 20, 74, 0.96), rgba(8, 13, 30, 0.98));
  box-shadow:
    rgba(0, 0, 0, 0.68) 0 24px 46px,
    rgba(124, 92, 255, 0.62) 0 0 38px,
    rgba(124, 92, 255, 0.32) 0 0 0 1px inset;
  transform: translate(-50%, -50%);
}

.funnel-core::before {
  content: "";
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
  background: #9d86ff;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  filter: drop-shadow(0 0 16px rgba(157, 134, 255, 0.9));
}

.funnel-core::after {
  content: "";
  position: absolute;
  inset: -18px;
  border: 1px solid rgba(124, 92, 255, 0.28);
  border-radius: 30px;
  opacity: 0.75;
  animation: funnel-core-pulse 2.7s ease-in-out infinite;
}

.funnel-core-orbit {
  display: none;
}

.funnel-node.output {
  z-index: 2;
  position: absolute;
  right: clamp(18px, 3vw, 42px);
  top: 50%;
  width: min(330px, 28%);
  min-height: 112px;
  padding: 22px;
  color: #2df49a;
  border-color: rgba(45, 244, 154, 0.58);
  transform: translateY(-50%);
  box-shadow:
    rgba(0, 0, 0, 0.6) 0 18px 36px,
    rgba(45, 244, 154, 0.28) 0 0 32px;
}

.funnel-node.output .funnel-node-icon {
  border-color: rgba(45, 244, 154, 0.76);
  box-shadow: 0 0 22px rgba(45, 244, 154, 0.36);
}

.funnel-node.output .funnel-node-icon::before {
  content: "";
  width: 22px;
  height: 22px;
  border: 2px solid currentColor;
  border-radius: 999px;
}

.funnel-node.output .funnel-node-icon::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 5px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translate(0, -1px) rotate(-45deg);
}

.funnel-node.output strong {
  color: #f7fffb;
}

.funnel-node.output small {
  color: rgba(169, 255, 214, 0.72);
}

.auto-flow-section {
  position: relative;
  min-height: 300vh;
  background: #030305;
}

.auto-flow-sticky {
  position: sticky;
  top: 0;
  min-height: 100vh;
  padding: 120px 18px 72px;
  display: grid;
  place-items: center;
}

.auto-flow-layout {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
  gap: clamp(42px, 7vw, 92px);
  align-items: center;
}

.auto-flow-copy h2 {
  margin-bottom: 36px;
}

.auto-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  margin: 0 0 24px;
  opacity: 0.3;
  transform: translateX(-12px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.auto-step.is-active {
  opacity: 1;
  transform: translateX(0);
}

.auto-step span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #0f172a;
  color: rgb(100, 116, 139);
  font-weight: 900;
  transition: background 360ms ease, color 360ms ease, box-shadow 360ms ease;
}

.auto-step.is-active span {
  background: #4f46e5;
  color: #fff;
  box-shadow: 0 0 22px rgba(79, 70, 229, 0.45);
}

.auto-step h3 {
  margin: 0 0 7px;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
}

.auto-step p {
  margin: 0;
  color: rgb(148, 163, 184);
  font-size: 1rem;
  line-height: 1.65;
}

.auto-flow-canvas {
  min-height: 430px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(30, 41, 59, 0.92);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 50%, rgba(79, 70, 229, 0.12), transparent 48%),
    rgba(15, 23, 42, 0.3);
  overflow: hidden;
}

.auto-flow-canvas svg {
  width: min(100%, 390px);
  height: 390px;
}

.auto-main-path,
.auto-parallel {
  fill: none;
  stroke: #475569;
  stroke-width: 2;
  stroke-linecap: round;
  transition: stroke 520ms ease, stroke-width 520ms ease, filter 520ms ease, opacity 520ms ease, stroke-dashoffset 800ms ease;
}

.auto-flow-canvas.is-fast .auto-main-path {
  stroke: #6366f1;
  stroke-width: 4;
  filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.75));
}

.auto-parallel {
  opacity: 0;
  stroke-width: 2;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
}

.auto-flow-canvas.is-parallel .auto-parallel {
  opacity: 0.58;
  stroke-dashoffset: 0;
}

.auto-parallel.top { stroke: #735bff; }
.auto-parallel.bottom { stroke: #3f86ff; }

.auto-dot {
  opacity: 0;
  fill: #fff;
}

.auto-flow-canvas.is-parallel .auto-dot {
  opacity: 1;
  animation: auto-dot-run 520ms linear infinite;
}

.auto-flow-canvas.is-parallel .dot-b { animation-duration: 420ms; }
.auto-flow-canvas.is-parallel .dot-c { animation-duration: 620ms; }

.auto-roi-section {
  background: #050508;
}

.auto-roi-calculator-wrap {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
}

.auto-roi-section .calculator {
  width: 100%;
}

.auto-roi-section .questionnaire,
.auto-roi-section .visual-card {
  background:
    linear-gradient(rgba(7, 17, 27, 0.95), rgba(7, 17, 27, 0.95)) padding-box,
    linear-gradient(135deg, rgba(7, 89, 255, 0.86), rgba(91, 73, 200, 0.62), rgba(7, 89, 255, 0.42)) border-box;
}

.auto-roi-section .question-card h2 {
  font-size: clamp(1.55rem, 2.15vw, 2.45rem);
}

.auto-roi-section .process-tile,
.auto-roi-section .process-plate,
.auto-roi-section .cost-panel {
  background: rgba(16, 27, 38, 0.72);
}

.auto-roi-card {
  position: relative;
  width: min(860px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid rgba(30, 41, 59, 0.95);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(79, 70, 229, 0.12), transparent 34%),
    rgba(15, 23, 42, 0.52);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

.auto-roi-card label {
  display: block;
  color: rgb(203, 213, 225);
  font-size: 1.05rem;
  font-weight: 800;
}

.auto-hours-row {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
}

.auto-hours-row input {
  width: 100%;
  accent-color: #6366f1;
}

.auto-hours-row strong {
  min-width: 104px;
  color: #fff;
  font-size: 2rem;
  text-align: right;
}

.auto-range-labels {
  margin: 8px 126px 34px 0;
  display: flex;
  justify-content: space-between;
  color: rgb(100, 116, 139);
  font-size: 0.86rem;
}

.auto-roi-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 34px;
}

.auto-roi-results article {
  position: relative;
  min-height: 160px;
  padding: 24px;
  border: 1px solid rgba(30, 41, 59, 0.95);
  border-radius: 18px;
  background: #030305;
  overflow: hidden;
}

.auto-roi-results article.highlight {
  border-color: rgba(99, 102, 241, 0.42);
  background: linear-gradient(135deg, rgba(49, 46, 129, 0.42), #030305 70%);
}

.auto-roi-results span {
  display: block;
  margin-bottom: 10px;
  color: rgb(148, 163, 184);
}

.auto-roi-results strong {
  display: block;
  color: #fff;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1;
}

.auto-roi-results .highlight strong {
  color: #818cf8;
}

.auto-roi-results small {
  display: block;
  margin-top: 10px;
  color: rgb(100, 116, 139);
}

.auto-roi-results i {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 10%;
  height: 3px;
  background: #6366f1;
  box-shadow: 0 0 18px rgba(99, 102, 241, 0.8);
  transition: width 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.auto-closing-copy {
  width: min(840px, 100%);
  margin: 44px auto 0;
  padding: 30px clamp(24px, 4vw, 42px);
  border: 1px solid rgba(7, 89, 255, 0.28);
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 0%, rgba(7, 89, 255, 0.15), transparent 36%),
    radial-gradient(circle at 92% 100%, rgba(91, 73, 200, 0.14), transparent 42%),
    rgba(8, 13, 24, 0.68);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  text-align: center;
}

.auto-closing-copy h3 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(1.35rem, 2.3vw, 2.2rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.auto-closing-copy p {
  margin: 0 auto;
  max-width: 700px;
  color: rgba(184, 198, 235, 0.82);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.72;
}

@keyframes auto-particle {
  from {
    transform: translate3d(0, 0, 0) rotate(-16deg);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  86% {
    opacity: 1;
  }
  to {
    transform: translate3d(-130vw, 58vh, 0) rotate(-16deg);
    opacity: 0;
  }
}

@keyframes auto-compress-item {
  0% {
    left: 0;
    top: 5px;
    width: 68px;
    height: 44px;
    opacity: 0;
    color: var(--pipeline-input);
    border-color: rgba(var(--pipeline-input-rgb), 0.74);
    background:
      radial-gradient(circle at 50% 50%, rgba(var(--pipeline-input-rgb), 0.2), transparent 58%),
      rgba(13, 22, 39, 0.96);
    box-shadow: 0 0 18px rgba(var(--pipeline-input-rgb), 0.24);
    transform: scale(0.9);
  }
  12% {
    opacity: 1;
  }
  43% {
    left: calc(50% - 34px);
    top: 5px;
    width: 68px;
    height: 44px;
    color: var(--pipeline-input);
    border-color: rgba(var(--pipeline-input-rgb), 0.74);
    transform: scale(1);
  }
  52% {
    left: calc(50% - 25px);
    top: 2px;
    width: 50px;
    height: 50px;
    color: var(--pipeline-ai);
    border-color: rgba(124, 92, 255, 0.92);
    background:
      radial-gradient(circle at 50% 50%, rgba(124, 92, 255, 0.35), transparent 58%),
      rgba(13, 22, 39, 0.98);
    box-shadow: 0 0 28px rgba(124, 92, 255, 0.7);
    transform: scale(1.08);
  }
  66% {
    left: calc(64% - 19px);
    top: 10px;
    width: 38px;
    height: 38px;
    color: var(--pipeline-done);
    border-color: rgba(var(--pipeline-done-rgb), 0.74);
    background:
      radial-gradient(circle at 50% 50%, rgba(var(--pipeline-done-rgb), 0.26), transparent 58%),
      rgba(13, 22, 39, 0.96);
    box-shadow: 0 0 22px rgba(var(--pipeline-done-rgb), 0.38);
  }
  88% {
    opacity: 1;
  }
  100% {
    left: calc(100% - 34px);
    top: 13px;
    width: 32px;
    height: 32px;
    opacity: 0;
    color: var(--pipeline-done);
    border-color: rgba(var(--pipeline-done-rgb), 0.74);
    background:
      radial-gradient(circle at 50% 50%, rgba(var(--pipeline-done-rgb), 0.24), transparent 58%),
      rgba(13, 22, 39, 0.96);
    box-shadow: 0 0 18px rgba(var(--pipeline-done-rgb), 0.34);
    transform: scale(0.92);
  }
}

@keyframes funnel-dash {
  to { stroke-dashoffset: -120; }
}

@keyframes funnel-core-pulse {
  0%, 100% {
    opacity: 0.42;
    transform: scale(0.98);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.03);
  }
}

@keyframes funnel-orbit {
  to { transform: rotate(360deg); }
}

@keyframes auto-dot-run {
  from { cx: 50; }
  to { cx: 250; }
}

@media (max-width: 980px) {
  .auto-pipeline-grid,
  .auto-flow-layout,
  .auto-roi-results {
    grid-template-columns: 1fr;
  }

  .funnel-pipeline {
    min-height: auto;
    padding: 28px;
    display: grid;
    gap: 26px;
  }

  .funnel-lines {
    display: none;
  }

  .funnel-inputs,
  .funnel-core,
  .funnel-node.output {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    transform: none;
  }

  .funnel-inputs {
    display: grid;
    grid-template-rows: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .funnel-node.input {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    transform: none;
  }

  .funnel-core {
    width: min(360px, 100%);
    margin: 0 auto;
  }

  .funnel-node.output {
    width: min(520px, 100%);
    margin: 0 auto;
  }

  .auto-flow-section {
    min-height: auto;
  }

  .auto-flow-sticky {
    position: relative;
    min-height: auto;
  }
}

@media (max-width: 680px) {
  .auto-hero {
    padding-top: 118px;
  }

  .auto-hero h1 {
    font-size: clamp(2.7rem, 15vw, 4.6rem);
  }

  .auto-mode-switch {
    gap: 10px;
    margin-bottom: 38px;
  }

  .auto-actions .button {
    width: 100%;
  }

  .auto-hours-row {
    grid-template-columns: 1fr;
  }

  .auto-hours-row strong {
    text-align: left;
  }

  .auto-range-labels {
    margin-right: 0;
  }

  .pipeline-flow {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .pipeline-track {
    display: none;
  }

  .funnel-pipeline {
    padding: 20px;
  }

  .funnel-inputs {
    grid-template-columns: 1fr;
  }

  .funnel-node.input,
  .funnel-node.output {
    min-height: auto;
    align-items: flex-start;
  }
}
