.hero {
  min-height: calc(100vh - var(--navbar-height));
  padding: 2.5rem 0 3rem;
  background-color: var(--color-bg-base);
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  box-sizing: border-box;
  overflow: visible;
}
.hero-container {
  max-width: 100% !important;
  width: 100%;
  padding: 0 5rem 0 3rem !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
  align-items: stretch;
  flex: 1;
  min-height: calc(100vh - var(--navbar-height) - 5.5rem);
}
.hero-logos-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: clamp(1.25rem, 2.5vh, 2rem);
  flex-shrink: 0;
}
.hero-logos-title {
  font-family: monospace;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--color-text-secondary);
  text-align: center;
  margin-bottom: -0.25rem;
}
@media (max-width: 1024px) {
  .hero-logos-section {
    margin-top: clamp(1.5rem, 3vh, 2.5rem);
    padding-top: 0;
  }
}
@media (max-width: 768px) {
  .hero-logos-section {
    margin-top: 1.25rem;
    padding-top: 0;
  }
}
.hero-main {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(2rem, 4vw, 5rem);
  align-items: center;
  width: 100%;
  flex: 1;
  min-height: 0;
}
.hero-content {
  max-width: 100%;
  min-width: 0;
  text-align: left;
  position: relative;
  z-index: 2;
  align-self: center;
  padding-top: 0.25rem;
  overflow-wrap: break-word;
}
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-top: -1rem;
  transform: translateX(clamp(2rem, 5vw, 5rem));
  overflow: hidden;
  z-index: 1;
}
.hero-wireframe {
  width: 100%;
}

.hero-hardware-showcase {
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: auto;
  border-radius: 20px;
  border: 1px dashed transparent;
  background-color: transparent;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: none;
  cursor: default;
  animation: gentle-float 5s ease-in-out infinite;
}
@keyframes gentle-float {
  0%, 100% { transform: translateY(4px); }
  50% { transform: translateY(-4px); }
}
.hero-gateway-svg .hero-shadow-adaptive {
  animation: shadow-breathe 5s ease-in-out infinite;
  transform-origin: center;
}
@keyframes shadow-breathe {
  0%, 100% { opacity: 0.18; transform: scale(1); }
  50% { opacity: 0.12; transform: scale(0.92); }
}

.wireframe-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-hardware-showcase svg,
.hero-gateway-svg {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  pointer-events: none;
  overflow: hidden;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.1));
}

.hero-gateway-poster {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 20px;
}

.hero-gateway-poster--hidden {
  display: none;
}

.hero-path-badge {
  isolation: isolate;
}

.hero-path-badge image {
  opacity: 1;
}

.wireframe-line {
  position: absolute;
  background: rgba(29, 78, 216, 0.08);
  height: 1px;
  width: 130%;
  top: 50%;
  left: -15%;
}

.wireframe-line.diagonal-1 {
  transform: rotate(34deg);
}

.wireframe-line.diagonal-2 {
  transform: rotate(-34deg);
}

.hero-led-amber-1 {
  animation: hero-led-blink-amber 1s step-end infinite;
}

.hero-led-amber-2 {
  animation: hero-led-blink-amber 1s step-end infinite;
  animation-delay: 0.5s;
}

.wireframe-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(29, 78, 216, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 78, 216, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
  background-position: center;
}

.hero-led-green {
  animation: hero-led-pulse-green 2s ease-in-out infinite alternate;
}

.wireframe-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  z-index: 2;
}

.hero-led-green-fast {
  animation: hero-led-blink-green 0.7s step-end infinite;
  animation-delay: 0.2s;
}

.wireframe-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1px dashed rgba(29, 78, 216, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-bg-base);
  box-shadow: 0 0 20px rgba(29, 78, 216, 0.05);
}

.wireframe-glow-icon {
  color: var(--color-accent-primary);
  animation: pulse-glow 2.5s infinite ease-in-out;
}

.wireframe-badge {
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  background-color: var(--color-bg-secondary);
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  letter-spacing: 0.5px;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes pulse-glow {
  0% {
    opacity: 0.6;
    transform: scale(0.96);
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
    filter: drop-shadow(0 0 8px rgba(29, 78, 216, 0.3));
  }
  100% {
    opacity: 0.6;
    transform: scale(0.96);
  }
}

@keyframes hero-led-blink-amber {
  0%, 100% { fill: #b45309; filter: drop-shadow(0 0 1px #b45309); fill-opacity: 0.45; }
  50% { fill: #fbbf24; filter: drop-shadow(0 0 8px #fbbf24); fill-opacity: 1; }
}

@keyframes hero-led-blink-green {
  0%, 100% { fill: #047857; filter: drop-shadow(0 0 1px #047857); fill-opacity: 0.45; }
  50% { fill: #34d399; filter: drop-shadow(0 0 8px #34d399); fill-opacity: 1; }
}

@keyframes hero-led-pulse-green {
  0% { fill: #047857; fill-opacity: 0.6; filter: drop-shadow(0 0 2px #047857); }
  100% { fill: #10b981; fill-opacity: 1; filter: drop-shadow(0 0 9px #10b981); }
}

.hero-content .hero-display-title {
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  margin-bottom: 1.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
  color: var(--color-text-primary);
}
.title-nowrap {
  white-space: nowrap;
  display: inline-block;
}
.highlight {
  background: linear-gradient(135deg, var(--color-accent-primary) 0%, var(--color-accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-content .highlight {
  background: linear-gradient(135deg, var(--color-accent-primary) 0%, var(--color-accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: var(--color-accent-primary);
}
.rotating-word-container {
  display: inline-block;
  position: relative;
  overflow: hidden;
  vertical-align: -0.2em; /* Compels accurate baseline matching even under scaling/overflow */
  height: 1.25em;
  min-width: 26ch; /* fits longest phrase (e.g. Autonomous Infrastructure) */
  margin: 0 0.1rem;
  white-space: nowrap; /* Prevents word wrapping at high browser zoom levels */
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}
.rotating-word {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-accent-primary) 0%, #172554 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  white-space: nowrap; /* Ensures solution string stays flat and single-line */
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}
.rotating-word.slide-out {
  animation: slideUpExit 0.35s cubic-bezier(0.3, 0, 0.1, 1) forwards;
}
.rotating-word.slide-in {
  animation: slideUpEnter 0.35s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}
@keyframes slideUpEnter {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes slideUpExit {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(-100%);
    opacity: 0;
  }
}

@keyframes slideUpExitCentered {
  from {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
  to {
    transform: translateX(-50%) translateY(-100%);
    opacity: 0;
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-content p,
.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
}
.hero-actions .btn-dark svg {
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-actions .btn-dark:hover svg {
  transform: translateX(8px);
}
.hero-actions .btn-light {
  color: var(--color-text-primary);
  border: 1px solid var(--color-border);
  background-color: transparent;
}
.hero-actions .btn-light:hover {
  background-color: transparent; /* Keep background transparent, do not fill */
  border-color: var(--color-border);
  color: var(--color-text-primary);
  transform: translateY(-2px);
  box-shadow: inset 0 -20px 25px -10px rgba(29, 78, 216, 0.12); /* Premium brand-aligned bottom-side glow */
}
/* --- Why Auvetra — white section, dark chamfered panel --- */
.outcomes {
  --outcomes-bg: #1a1f2e;
  --outcomes-text: #f8fafc;
  --outcomes-text-muted: rgba(248, 250, 252, 0.72);
  --outcomes-accent: #60a5fa;
  --outcomes-border: rgba(148, 163, 184, 0.22);
  --outcomes-chamfer-tr: clamp(48px, 8vw, 96px);
  --outcomes-chamfer-bl: clamp(40px, 7vw, 80px);
  background-color: var(--color-bg-base);
  padding: clamp(1.25rem, 3vw, 2rem) clamp(2rem, 5vw, 6rem);
  position: relative;
  z-index: 2;
  overflow: visible;
}

.outcomes-panel {
  --outcomes-accent-primary-size: 80px;
  --outcomes-accent-secondary-size: 30px;
  --outcomes-accent-gap: 10px;
  --outcomes-accent-stack-height: calc(
    var(--outcomes-accent-primary-size) + var(--outcomes-accent-gap) +
      var(--outcomes-accent-secondary-size)
  );
  position: relative;
  background-color: var(--outcomes-bg);
  color: var(--outcomes-text);
  padding: clamp(3.5rem, 6vw, 5rem) clamp(2rem, 5vw, 4rem);
  clip-path: polygon(
    0 0,
    calc(100% - var(--outcomes-chamfer-tr)) 0,
    100% var(--outcomes-chamfer-tr),
    100% 100%,
    var(--outcomes-chamfer-bl) 100%,
    0 calc(100% - var(--outcomes-chamfer-bl))
  );
}

.outcomes-panel-accents {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(var(--outcomes-accent-primary-size) + var(--outcomes-accent-secondary-size));
  height: calc(
    var(--outcomes-accent-primary-size) + var(--outcomes-accent-gap) +
      var(--outcomes-accent-secondary-size)
  );
  pointer-events: none;
  z-index: 0;
}

.outcomes-panel-accent {
  position: absolute;
  background-color: var(--outcomes-accent);
}

.outcomes-panel-accent--primary {
  top: 0;
  left: 0;
  width: var(--outcomes-accent-primary-size);
  height: var(--outcomes-accent-primary-size);
}

/* L-step: small sits below large; its left edge meets the large box’s right edge */
.outcomes-panel-accent--secondary {
  top: calc(var(--outcomes-accent-primary-size) + var(--outcomes-accent-gap));
  left: var(--outcomes-accent-primary-size);
  width: var(--outcomes-accent-secondary-size);
  height: var(--outcomes-accent-secondary-size);
}

.outcomes-container {
  position: relative;
  z-index: 1;
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: clamp(3rem, 8vw, 7rem);
  align-items: start;
}

.outcomes-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: sticky;
  top: calc(var(--navbar-height, 72px) + 1.5rem);
  padding-top: calc(var(--outcomes-accent-stack-height) + 0.25rem);
  padding-left: clamp(1.25rem, 3vw, 2.5rem);
  box-sizing: border-box;
}

.outcomes-eyebrow {
  display: inline-block;
  font-family: monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.95);
  padding: 0.4rem 0.85rem;
  margin-bottom: 1rem;
  border-radius: 99px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background-color: rgba(15, 23, 42, 0.35);
}

.outcomes-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: #ffffff;
  margin: 0 0 1.25rem;
}

.outcomes-title .highlight {
  background: linear-gradient(135deg, var(--outcomes-accent) 0%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.outcomes-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.65;
  color: var(--outcomes-text-muted);
  margin: 0 0 2rem;
  max-width: 32rem;
}

.outcomes-list-wrap {
  --outcomes-rail-branch: 24px;
  --outcomes-item-gap: 1.25rem;
  --outcomes-rail-color: rgba(255, 255, 255, 0.55);
  position: relative;
}

.outcomes-list {
  --outcomes-icon-size: 48px;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

/* Vertical spine — one continuous line from first to last icon center */
.outcomes-list-wrap::before {
  content: '';
  position: absolute;
  left: 1px;
  top: var(--outcomes-spine-top, 0);
  height: var(--outcomes-spine-height, 0);
  width: 2px;
  background: var(--outcomes-rail-color);
  border-radius: 1px;
  pointer-events: none;
  z-index: 0;
}

.outcomes-item {
  --outcomes-item-pad-y: 1.75rem;
  display: grid;
  grid-template-columns: var(--outcomes-rail-branch) var(--outcomes-icon-size) minmax(0, 1fr);
  column-gap: var(--outcomes-item-gap);
  align-items: center;
  padding: 0;
  border-bottom: none;
  position: relative;
  z-index: 1;
}

.outcomes-item:not(:last-child) .outcomes-item-content {
  border-bottom: 1px solid var(--outcomes-border);
}

/* Horizontal branch — rail column + gap only, stops at icon border */
.outcomes-item-rail {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  align-self: stretch;
  height: auto;
  min-height: var(--outcomes-icon-size);
  pointer-events: none;
}

.outcomes-item-rail::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 1px;
  width: calc(100% + var(--outcomes-item-gap));
  height: 2px;
  transform: translateY(-50%);
  background: var(--outcomes-rail-color);
}

.outcomes-item-icon {
  grid-column: 2;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--outcomes-icon-size);
  height: var(--outcomes-icon-size);
  border-radius: 12px;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  color: var(--outcomes-accent);
  background-color: var(--outcomes-bg);
  border: 1px solid rgba(59, 130, 246, 0.22);
}

.outcomes-item-content {
  grid-column: 3;
  grid-row: 1;
  min-width: 0;
  padding: var(--outcomes-item-pad-y) 0;
}

.outcomes-item-title {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--outcomes-accent);
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.outcomes-item-stage {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  flex-shrink: 0;
}

.outcomes-item-stage-leading {
  color: var(--outcomes-accent);
}

.outcomes-item-stage-digit {
  color: var(--outcomes-accent);
}

.outcomes-item-desc {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--outcomes-text-muted);
  margin: 0;
}

@media (max-width: 900px) {
  .outcomes-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .outcomes-intro {
    position: static;
    padding-top: calc(var(--outcomes-accent-stack-height) + 0.5rem);
  }

  .outcomes-subtitle {
    max-width: none;
  }

  .outcomes {
    --outcomes-chamfer-tr: clamp(36px, 6vw, 64px);
    --outcomes-chamfer-bl: clamp(32px, 5vw, 56px);
  }

  .outcomes-panel {
    padding: clamp(2.75rem, 5vw, 4rem) clamp(1.5rem, 4vw, 2.5rem);
  }
}

@media (max-width: 768px) {
  .outcomes {
    padding: 1rem 1.25rem;
    --outcomes-chamfer-tr: clamp(28px, 7vw, 48px);
    --outcomes-chamfer-bl: clamp(24px, 6vw, 40px);
  }

  .outcomes-panel {
    padding: 2.5rem 1.25rem;
  }

  .outcomes-list-wrap {
    --outcomes-rail-branch: 20px;
    --outcomes-item-gap: 1rem;
  }

  .outcomes-list {
    --outcomes-icon-size: 44px;
  }

  .outcomes-item {
    --outcomes-item-pad-y: 1.5rem;
  }

  .outcomes-item-title {
    font-size: 1.2rem;
  }
}

.features {
  padding: 3rem 0 2.5rem;
  position: relative;
  z-index: 2;
  background-color: var(--color-bg-base);
}
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 {
  font-size: clamp(3rem, 6vw, 4.2rem);
  margin-bottom: 1.2rem;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.25;
}
.section-header h2 .highlight {
  background: linear-gradient(135deg, var(--color-accent-primary) 0%, #172554 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
}
.section-header p {
  color: var(--color-text-muted);
  font-size: 1.1rem;
}
.features-container {
  max-width: 100% !important;
  width: 100%;
  padding: 0 6rem !important;
}
/* --- Features Sections Layout --- */
.features-sections {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  width: 100%;
}
.features-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  
}
.features-section-header {
  width: 100%;
  text-align: left;
}
.domain-title-text {
  font-size: 2.2rem;
  font-weight: 800;
  color: #000000;
  margin: 0;
  letter-spacing: -0.5px;
  display: inline-block;
}
/* Horizontal Cards Grid */
.features-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: 100%;
}
.feature-card {
  position: relative;
  width: calc(100% - 50px);
  box-sizing: border-box;
  margin: 0 auto;
  text-decoration: none;
  color: inherit;
}
.feature-card-box {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 500px;
  padding: 2rem 1.75rem;
  border-radius: 24px;
  background-color: #0b1328;
  background-image: linear-gradient(160deg, #0b1328 0%, #111c3d 100%);
  border: 1px solid var(--color-border);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  box-sizing: border-box;
  cursor: pointer;
  isolation: isolate;
  overflow: hidden;
  /* Force a dedicated GPU compositing layer — keeps text sharp during transitions */
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              background-image 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, border-color, box-shadow;
}
/* Removed glass/mirror overlay layer for solid card appearance. */
.feature-card-box::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  background-image:
    linear-gradient(160deg, rgba(6, 16, 42, 0.38) 0%, rgba(5, 14, 36, 0.24) 55%, rgba(4, 10, 28, 0.48) 100%),
    var(--feature-card-image);
}
.feature-card-box::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
/* Title — layer 3: always in front of glass and accent line */
.feature-card-title {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-left: 0;
  font-size: clamp(1.3rem, 1.85vw, 1.6rem);
  font-weight: 700;
  margin: 0;
  line-height: 1.25;
  color: #eff6ff;
  white-space: nowrap;
  transition: color 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2; /* Above glass (-1) and accent line (1) */
}
/* Description — layer 3: always in front of glass */
.feature-card-desc {
  position: relative;
  z-index: 2;
  color: #dbeafe;
  line-height: 1.65;
  font-size: 0.95rem;
  margin-top: 0;
  flex-grow: 0;
  max-height: 240px;
  opacity: 0;
  transform: translateY(185px);
  overflow: hidden;
  transition:
    color 0.45s ease,
    opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    margin-top 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}
/* Tags — layer 3: always in front of glass */
.expertise-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 1.5rem;
  position: relative;
  z-index: 2;
}
.expertise-tag {
  font-family: monospace;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--color-accent-primary);
  background-color: rgba(29, 78, 216, 0.06);
  border: 1px solid rgba(29, 78, 216, 0.12);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}
/* Active card — translateY only, NO scale (scale causes subpixel blur on text) */
.feature-card.active .feature-card-box {
  transform: translateY(-8px) translateZ(0);
  padding-bottom: 3.25rem;
  border-color: #0a46d1 !important;
  background-image: linear-gradient(180deg, #2563eb 0%, #1d4ed8 42%, #172554 100%);
  box-shadow:
    0 30px 60px -15px rgba(10, 70, 209, 0.35),
    0 8px 24px -8px rgba(10, 70, 209, 0.28),
    inset 0 1px 0px rgba(255, 255, 255, 0.2) !important;
}
.feature-card.active .feature-card-box::before {
  opacity: 0;
}
/* Force crisp black text on active card so it dominates over the gray glass */
.feature-card.active .feature-card-title {
  color: #ffffff !important;
}
.feature-card.active .feature-card-desc {
  color: #ffffff !important;
  margin-top: 1.35rem;
  opacity: 1 !important;
  max-height: 20rem;
  overflow: visible;
  transform: translateY(0);
  padding-right: 2.5rem;
}
.feature-card-cta {
  position: absolute;
  right: 1rem;
  bottom: 0.9rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.feature-card-cta:hover {
  transform: translateX(3px);
  opacity: 0.9;
}

.feature-card-cta-chevron {
  width: 20px;
  height: 20px;
  border-right: 6px solid #ffffff;
  border-bottom: 6px solid #ffffff;
  transform: rotate(-45deg);
  transform-origin: center;
}
.feature-card.active .expertise-tag {
  color: var(--color-accent-primary) !important;
  background-color: rgba(29, 78, 216, 0.08) !important;
  border-color: rgba(29, 78, 216, 0.18) !important;
}

/* Pure CSS hover — mirrors React .active state without JavaScript */
@media (hover: hover) and (pointer: fine) {
  .feature-card:hover .feature-card-box,
  .feature-card:focus-within .feature-card-box {
    transform: translateY(-8px) translateZ(0);
    padding-bottom: 3.25rem;
    border-color: #0a46d1 !important;
    background-image: linear-gradient(180deg, #2563eb 0%, #1d4ed8 42%, #172554 100%);
    box-shadow:
      0 30px 60px -15px rgba(10, 70, 209, 0.35),
      0 8px 24px -8px rgba(10, 70, 209, 0.28),
      inset 0 1px 0px rgba(255, 255, 255, 0.2) !important;
  }

  .feature-card:hover .feature-card-box::before,
  .feature-card:focus-within .feature-card-box::before {
    opacity: 0;
  }

  .feature-card:hover .feature-card-title,
  .feature-card:focus-within .feature-card-title {
    color: #ffffff !important;
  }

  .feature-card:hover .feature-card-desc,
  .feature-card:focus-within .feature-card-desc {
    color: #ffffff !important;
    margin-top: 1.35rem;
    opacity: 1 !important;
    max-height: 20rem;
    overflow: visible;
    transform: translateY(0);
    padding-right: 2.5rem;
  }

  .feature-card:hover .expertise-tag,
  .feature-card:focus-within .expertise-tag {
    color: var(--color-accent-primary) !important;
    background-color: rgba(29, 78, 216, 0.08) !important;
    border-color: rgba(29, 78, 216, 0.18) !important;
  }
}
/* --- Connected Intelligence Ecosystem Section --- */
.ecosystem-section {
  padding: 3rem 0 1.25rem;
  background-color: #ffffff;
  position: relative;
  z-index: 10;
  overflow: visible;
}
.ecosystem-section .ecosystem-heading.section-header {
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 clamp(1.25rem, 3vw, 4rem);
}

.ecosystem-section .ecosystem-heading.section-header h2 {
  margin-bottom: 0.65rem;
}

.ecosystem-section .ecosystem-heading.section-header p {
  margin: 0;
  max-width: 42rem;
  margin-inline: auto;
}
/* Optional darker radial gradient for contrast behind the ecosystem */
.ecosystem-section::before {
  content: '';
  position: absolute;
  top: 50%;
  right: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(29, 78, 216, 0.04) 0%, rgba(255, 255, 255, 0) 70%);
  transform: translateY(-50%);
  z-index: -1;
  pointer-events: none;
}
.ecosystem-container {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 3.5vw, 3.5rem);
  align-items: start;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 3vw, 4rem);
}
/* Override header elements within ecosystem dark section */
.ecosystem-section .section-header h2 {
  color: var(--color-text-primary) !important;
}
.ecosystem-section .section-header p {
  color: var(--color-text-secondary) !important;
}
.ecosystem-section .section-header .section-label {
  color: var(--color-accent-primary) !important;
}
/* Left Side: Content */
.ecosystem-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
  padding-top: 0;
  align-self: center;
  justify-content: flex-start;
  min-width: 0;
  width: 100%;
  max-width: 100%;
}

.ecosystem-node-details {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  box-sizing: border-box;
  background-color: var(--color-bg-secondary); /* Premium light slate glass */
  border: 1px solid var(--color-border);
  padding: 1.75rem 1.5rem;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  
  /* Specular border glow for premium tech engineered style */
  box-shadow: 
    0 20px 40px rgba(15, 23, 42, 0.03),
    inset 0 1px 0px rgba(255, 255, 255, 1);
}

.ecosystem-node-details::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 34px;
  height: 34px;
  background: var(--color-accent-primary);
  border-top-left-radius: 10px;
}

.ecosystem-node-details--core::after {
  background: #10b981;
}

.ecosystem-node-details--edge::after {
  background: #fbbf24;
}

.ecosystem-node-details--cloud::after {
  background: #60a5fa;
}

.ecosystem-node-details--infra::after {
  background: #3b82f6;
}
.ecosystem-node-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0 0 0.65rem;
  letter-spacing: -0.5px;
  line-height: 1.25;
}

.ecosystem-desc {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
  margin: 0;
}

.ecosystem-show-list {
  margin: 0.5rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--color-border);
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.ecosystem-show-list li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-primary);
  line-height: 1.4;
}

.ecosystem-show-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-accent-primary);
  transform: translateY(-50%);
}

.ecosystem-node-details--core .ecosystem-show-list li::before {
  background: #10b981;
}

.ecosystem-node-details--edge .ecosystem-show-list li::before {
  background: #fbbf24;
}

.ecosystem-node-details--cloud .ecosystem-show-list li::before {
  background: #60a5fa;
}

.ecosystem-node-details--infra .ecosystem-show-list li::before {
  background: #3b82f6;
}

.ecosystem-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}
.eco-tag {
  background: rgba(29, 78, 216, 0.05);
  border: 1px dashed rgba(29, 78, 216, 0.3);
  color: var(--color-accent-lighter); /* Premium brand blue tags */
  padding: 0.38rem 0.8rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}
.eco-tag:hover {
  background: rgba(29, 78, 216, 0.1);
  border-color: rgba(29, 78, 216, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.1);
}
/* --- SVG Mind-Map Word Label Styles --- */
.network-word {
  user-select: none;
  pointer-events: none;
  transition: fill 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.network-halo {
  user-select: none;
  pointer-events: none;
  transition: stroke 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
/* Perfect synchronized scale on hover for both text and its outline halo with organic spring overshoot bounce */
.text-label-scale-wrapper {
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: 0px 0px;
}
.text-node-group.main-word:hover .text-label-scale-wrapper {
  transform: scale(1.12) !important;
}
/* Force punchy black text for active nodes or active hovered nodes */
.text-node-group.active .network-word,
.text-node-group.main-word:hover .network-word {
  fill: #000000 !important;
}
/* Position outer group coordinates transition only */
.text-node-group {
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
/* Entrance animation applied to a dedicated internal wrapper group */
.text-node-entrance-wrapper {
  animation: text-node-entrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
  transform-origin: 0px 0px;
}
/* Parent hubs are structural nodes, always visible at full or semi-opacities */
.text-node-group.main-word {
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.text-node-group.main-word.active {
  opacity: 1 !important;
}
.text-node-group.main-word:not(.active) {
  opacity: 0.55 !important;
}
.text-node-group.main-word:not(.active):hover {
  opacity: 0.85 !important;
}
/* Inactive main structural parent hubs have a very gentle, slow breathing heartbeat */
@keyframes parent-heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.025); }
}
.text-node-group.main-word:not(.active) .text-label-scale-wrapper {
  animation: parent-heartbeat 9s ease-in-out infinite alternate;
}
/* Active parent structural hubs get a slightly more dynamic focus breathing rhythm */
@keyframes parent-active-pulse {
  0%, 100% { transform: scale(1.05); }
  50% { transform: scale(1.09); }
}
.text-node-group.main-word.active .text-label-scale-wrapper {
  animation: parent-active-pulse 4.5s ease-in-out infinite alternate;
}
/* Sub-words (leaf nodes) are initially completely hidden and collapsed */
.text-node-group.sub-word {
  opacity: 0 !important;
  pointer-events: none; /* Ignore mouse interactions when hidden */
}
.text-node-group.sub-word .text-label-scale-wrapper {
  transform: scale(0.35);
  opacity: 0;
}
/* Reveal active parent category's leaf nodes by bursting/blooming elastically outward */
.text-node-group.sub-word.active {
  opacity: 1 !important;
  pointer-events: auto; /* Re-enable mouse interaction once visible */
}
.text-node-group.sub-word.active .text-label-scale-wrapper {
  transform: scale(1.05);
  opacity: 1;
}
/* Smooth organic floating animations */
@keyframes floating-drift-1 {
  0%, 100% { transform: translate(0px, 0px); }
  33% { transform: translate(3px, -5px); }
  66% { transform: translate(-4px, 2px); }
}
@keyframes floating-drift-2 {
  0%, 100% { transform: translate(0px, 0px); }
  33% { transform: translate(-5px, 4px); }
  66% { transform: translate(2px, -3px); }
}
.float-group-1 {
  animation: floating-drift-1 12s ease-in-out infinite;
}
.float-group-2 {
  animation: floating-drift-2 15s ease-in-out infinite;
}
/* Staggered entrance load animation for node clusters */
@keyframes text-node-entrance {
  from { opacity: 0; transform: scale(0.92) translateZ(0); }
  to { opacity: 1; transform: scale(1) translateZ(0); }
}
/* Cluster staggered delays */
.text-node-group.category-core .text-node-entrance-wrapper { animation-delay: 0.05s; }
.text-node-group.category-edge .text-node-entrance-wrapper { animation-delay: 0.2s; }
.text-node-group.category-cloud .text-node-entrance-wrapper { animation-delay: 0.35s; }
.text-node-group.category-infra .text-node-entrance-wrapper { animation-delay: 0.5s; }
/* SVG Link Connection Lines transitions */
.network-lines line {
  transition: stroke 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              stroke-width 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
/* Dotted parent-to-leaf line flowing stream animation */
@keyframes flow-dots {
  to { stroke-dashoffset: -20; }
}
/* Inactive secondary dotted lines are completely hidden initially */
.inactive-dotted-line {
  opacity: 0 !important;
  stroke-dasharray: 4 4;
}
/* Active dotted lines are revealed, fading in and flowing rapidly with tech glow */
.active-dotted-line {
  opacity: 1 !important;
  stroke-dasharray: 4 4;
  animation: flow-dots 3.5s linear infinite;
  filter: url(#glow-light);
}
/* Solid core backbone line pulsing animation */
@keyframes backbone-pulse-slow {
  0%, 100% { stroke-opacity: 0.22; stroke-width: 0.8px; }
  50% { stroke-opacity: 0.38; stroke-width: 1.2px; }
}
@keyframes backbone-pulse-fast {
  0%, 100% { stroke-opacity: 0.65; stroke-width: 1.8px; }
  50% { stroke-opacity: 0.9; stroke-width: 2.4px; }
}
/* Backbone trunk lines are always visible, breathing softly when inactive */
.inactive-backbone-line {
  opacity: 1 !important;
  animation: backbone-pulse-slow 7s ease-in-out infinite;
}
/* Active backbone trunk line glows brightly with tech glow */
.active-backbone-line {
  opacity: 1 !important;
  animation: backbone-pulse-fast 2.5s ease-in-out infinite;
  filter: url(#glow-light);
}
/* Right Side: Visual Dominance */
/* --- Right Side: Living Circuit Board Visual --- */
.ecosystem-visual {
  position: relative;
  width: 100%;
  min-width: 0;
  height: auto;
  min-height: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  align-self: start;
  overflow: visible;
  padding: 0;
}

.ecosystem-city-visual {
  width: 100%;
  max-width: min(560px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.ecosystem-city-visual-frame {
  position: relative;
  width: 100%;
  max-width: min(560px, 100%);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  line-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ecosystem-city-visual-frame .ecosystem-city-svg {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.ecosystem-device-lines {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.ecosystem-device-lines path {
  stroke: var(--device-line-accent, #10b981);
  stroke-width: 0.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  opacity: 0.75;
  transition: opacity 0.22s ease, stroke-width 0.22s ease;
}

.ecosystem-device-lines path.is-dim {
  opacity: 0.2;
}

.ecosystem-device-lines path.is-highlighted {
  opacity: 1;
  stroke-width: 0.55;
}

.ecosystem-device-lines .ecosystem-device-anchor-node {
  transition: opacity 0.22s ease;
}

.ecosystem-device-lines .ecosystem-device-anchor-node .anchor-bloom {
  stroke: none;
}

.ecosystem-device-lines .ecosystem-device-anchor-node .anchor-ring {
  fill: none;
  stroke: var(--device-line-accent, #10b981);
  stroke-width: 0.28;
}

.ecosystem-device-lines .ecosystem-device-anchor-node .anchor-ring--outer {
  opacity: 0.45;
}

.ecosystem-device-lines .ecosystem-device-anchor-node .anchor-ring--inner {
  opacity: 0.75;
  stroke-width: 0.34;
}

.ecosystem-device-lines .ecosystem-device-anchor-node .anchor-pin {
  fill: var(--device-line-accent, #10b981);
  stroke: #ffffff;
  stroke-width: 0.12;
}

.ecosystem-device-lines .ecosystem-device-anchor-node.is-dim {
  opacity: 0.2;
}

.ecosystem-device-lines .ecosystem-device-anchor-node.is-highlighted .anchor-ring--outer {
  animation: ecosystem-anchor-pulse 2.2s ease-in-out infinite;
}

.ecosystem-device-overlay--core .ecosystem-device-lines .ecosystem-device-anchor-node.is-highlighted .anchor-pin {
  fill: #34d399;
  stroke: #ffffff;
  stroke-width: 0.16;
}

.ecosystem-device-overlay--edge .ecosystem-device-lines .ecosystem-device-anchor-node.is-highlighted .anchor-pin {
  fill: #fcd34d;
  stroke: #ffffff;
  stroke-width: 0.16;
}

.ecosystem-device-overlay--cloud .ecosystem-device-lines .ecosystem-device-anchor-node.is-highlighted .anchor-pin {
  fill: #93c5fd;
  stroke: #ffffff;
  stroke-width: 0.16;
}

.ecosystem-device-overlay--infra .ecosystem-device-lines .ecosystem-device-anchor-node.is-highlighted .anchor-pin {
  fill: #60a5fa;
  stroke: #ffffff;
  stroke-width: 0.16;
}

@keyframes ecosystem-anchor-pulse {
  0%,
  100% {
    opacity: 0.35;
    stroke-width: 0.24;
  }
  50% {
    opacity: 0.7;
    stroke-width: 0.36;
  }
}

.ecosystem-device-nodes {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.ecosystem-device-node {
  position: absolute;
  transform: translate(-50%, -50%);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.ecosystem-device-node.is-dim {
  opacity: 0.32;
}

.ecosystem-device-node.is-highlighted {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.ecosystem-device-label-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.62rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
  font-family: monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0f172a;
  white-space: nowrap;
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.ecosystem-device-overlay--core .ecosystem-device-label-pill svg {
  flex-shrink: 0;
  color: #10b981;
}

.ecosystem-device-overlay--edge .ecosystem-device-label-pill svg {
  flex-shrink: 0;
  color: #d97706;
}

.ecosystem-device-overlay--cloud .ecosystem-device-label-pill svg {
  flex-shrink: 0;
  color: #2563eb;
}

.ecosystem-device-overlay--infra .ecosystem-device-label-pill svg {
  flex-shrink: 0;
  color: #2563eb;
}

.ecosystem-device-overlay--core .ecosystem-device-node.is-highlighted .ecosystem-device-label-pill {
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.22);
}

.ecosystem-device-overlay--edge .ecosystem-device-node.is-highlighted .ecosystem-device-label-pill {
  border-color: rgba(251, 191, 36, 0.5);
  box-shadow: 0 4px 16px rgba(251, 191, 36, 0.28);
}

.ecosystem-device-overlay--cloud .ecosystem-device-node.is-highlighted .ecosystem-device-label-pill {
  border-color: rgba(96, 165, 250, 0.5);
  box-shadow: 0 4px 16px rgba(96, 165, 250, 0.28);
}

.ecosystem-device-overlay--infra .ecosystem-device-node.is-highlighted .ecosystem-device-label-pill {
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.28);
}

.ecosystem-device-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ecosystem-city-markers {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.ecosystem-city-marker {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  animation: ecosystem-marker-in 0.28s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes ecosystem-marker-in {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.ecosystem-city-marker-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--color-accent-primary);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.2);
}

.ecosystem-city-marker--core .ecosystem-city-marker-dot {
  border-color: #10b981;
}

.ecosystem-city-marker--edge .ecosystem-city-marker-dot {
  border-color: #fbbf24;
}

.ecosystem-city-marker--cloud .ecosystem-city-marker-dot {
  border-color: #60a5fa;
}

.ecosystem-city-marker--infra .ecosystem-city-marker-dot {
  border-color: #3b82f6;
}

.ecosystem-city-marker-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.55rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 23, 42, 0.1);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
  font-family: monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0f172a;
  white-space: nowrap;
}

.ecosystem-city-marker-pill svg {
  flex-shrink: 0;
  color: var(--color-accent-primary);
}

.ecosystem-city-marker--core .ecosystem-city-marker-pill svg {
  color: #10b981;
}

.ecosystem-city-marker--edge .ecosystem-city-marker-pill svg {
  color: #d97706;
}

.ecosystem-city-marker--cloud .ecosystem-city-marker-pill svg {
  color: #2563eb;
}

.ecosystem-city-marker--infra .ecosystem-city-marker-pill svg {
  color: #3b82f6;
}

.network-grid-wrapper {
  position: relative;
  width: 100%;
}

.pcb-board-wrapper {
  width: 100%;
  max-width: 580px;
  background: linear-gradient(135deg, #131a26 0%, #0a0e16 100%);
  border: 1.5px solid rgba(251, 191, 36, 0.25);
  border-radius: 28px;
  padding: 1.5rem;
  box-shadow:
    0 30px 70px -15px rgba(0, 0, 0, 0.8),
    0 15px 40px -10px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.pcb-board-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(251, 191, 36, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(251, 191, 36, 0.015) 1px, transparent 1px);
  background-size: 15px 15px;
  background-position: center;
  pointer-events: none;
  z-index: 1;
}

.pcb-svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
  position: relative;
  z-index: 2;
}

@keyframes trace-packet {
  0% { stroke-dashoffset: 1000; }
  100% { stroke-dashoffset: 0; }
}

.pcb-trace {
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.4s ease, stroke-width 0.4s ease;
  opacity: 0.85;
}

.data-trace {
  stroke-dasharray: 1000;
  animation: trace-packet 3s linear infinite;
}

.pcb-signal {
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 10 50;
  animation: pcb-packet-stream 3.5s linear infinite;
}

.data-trace.t1 { animation-duration: 4s; }
.data-trace.t2 { animation-duration: 5s; animation-direction: reverse; }
.data-trace.t3 { animation-duration: 3.5s; }

@keyframes pulse-node {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; }
}

@keyframes pcb-packet-stream {
  to {
    stroke-dashoffset: -60;
  }
}

.p-node {
  transform-origin: center;
  animation: pulse-node 4s ease-in-out infinite alternate;
}

.pcb-chip-group {
  cursor: pointer;
}

.pcb-chip-hover-container {
  transform-origin: center;
  animation: pulse-node 3s ease-in-out infinite alternate-reverse;
  transform-box: fill-box;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes float-ui {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.pcb-chip-group:hover .pcb-chip-hover-container {
  transform: scale(1.04);
}

.floating-1 { animation: float-ui 6s ease-in-out infinite; }
.floating-2 { animation: float-ui 8s ease-in-out infinite 1s; }

.pcb-chip-body {
  fill: #18202d;
  stroke: rgba(251, 191, 36, 0.3);
  stroke-width: 1.2;
  transition: all 0.4s ease;
}

.interactive-node-group {
  transition: all 0.3s ease;
}

.pcb-chip-group:hover .pcb-chip-body {
  stroke: rgba(251, 191, 36, 0.85);
  fill: #1f2a3a;
  filter: drop-shadow(0 4px 12px rgba(251, 191, 36, 0.2));
}

.interactive-node-group:hover .p-node {
  stroke: #fff;
  transform: scale(1.2);
}

.pcb-chip-group.active .pcb-chip-body {
  stroke: #3b82f6;
  fill: #141f38;
  stroke-width: 1.8;
  filter: drop-shadow(0 6px 20px rgba(59, 130, 246, 0.3));
}

.interactive-node-group:hover .node-badge rect {
  fill: rgba(29, 78, 216, 0.7);
  stroke: var(--color-accent-lighter);
}

.pcb-chip-text {
  font-family: monospace;
  font-size: 8px;
  font-weight: 700;
  fill: #94a3b8;
  letter-spacing: 0.5px;
  transition: fill 0.4s ease;
  pointer-events: none;
}

.pcb-chip-group:hover .pcb-chip-text,
.pcb-chip-group.active .pcb-chip-text {
  fill: #ffffff;
}

.pcb-chip-icon {
  color: #64748b;
  transition: color 0.4s ease;
  pointer-events: none;
}

.pcb-chip-group:hover .pcb-chip-icon {
  color: #fbbf24;
}

.pcb-chip-group.active .pcb-chip-icon {
  color: #3b82f6;
}

.pcb-solder-pad {
  fill: #475569;
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 0.5;
  transition: all 0.4s ease;
}

.pcb-solder-pad.active {
  fill: #3b82f6;
  stroke: rgba(59, 130, 246, 0.5);
  filter: drop-shadow(0 0 6px #3b82f6);
}

.smd-capacitor {
  fill: #c2410c;
  stroke: #e2e8f0;
  stroke-width: 0.5;
}

.smd-resistor {
  fill: #111827;
  stroke: #cbd5e1;
  stroke-width: 0.5;
}

.smd-solder-lead {
  fill: #64748b;
  stroke: none;
}

.pcb-led {
  animation: pcb-led-pulse 2s ease-in-out infinite alternate;
}

.pcb-led.active {
  animation: pcb-led-active-pulse 1s ease-in-out infinite alternate;
}

@keyframes pcb-led-pulse {
  0%, 100% { fill-opacity: 0.2; filter: drop-shadow(0 0 1px currentColor); }
  50% { fill-opacity: 0.6; filter: drop-shadow(0 0 3px currentColor); }
}

@keyframes pcb-led-active-pulse {
  0%, 100% { fill-opacity: 0.4; filter: drop-shadow(0 0 2px #10b981); fill: #10b981; }
  50% { fill-opacity: 1; filter: drop-shadow(0 0 8px #10b981); fill: #10b981; }
}

/* Left Side Tabs */
.ecosystem-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  width: 100%;
  max-width: 100%;
  margin-bottom: 0.25rem;
  position: sticky;
  top: 0;
  z-index: 2;
  background-color: #ffffff;
  padding-bottom: 0.25rem;
}
.eco-tab-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.eco-tab-btn {
  font-family: monospace;
  font-size: clamp(0.68rem, 1.1vw, 0.82rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #000000;
  background-color: var(--color-bg-tertiary);
  border: 1px solid var(--color-border);
  padding: 0.6rem 0.35rem;
  border-radius: 8px;
  text-align: center;
  width: 100%;
  min-width: 0;
  min-height: 2.75rem;
  box-shadow: 0 4px 12px transparent;
  transition:
    background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}
.eco-tab-btn:hover {
  border-color: rgba(29, 78, 216, 0.45);
}

.eco-tab-btn-lines {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.15;
  gap: 0.05rem;
}

.eco-tab-btn-line {
  display: block;
}

.eco-tab-btn.active,
.ecosystem-section:has(#eco-tab-core:checked) .eco-tab-btn--core,
.ecosystem-section:has(#eco-tab-edge:checked) .eco-tab-btn--edge,
.ecosystem-section:has(#eco-tab-cloud:checked) .eco-tab-btn--cloud,
.ecosystem-section:has(#eco-tab-infra:checked) .eco-tab-btn--infra {
  background-color: var(--color-accent-primary);
  border-color: var(--color-accent-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.15);
}
@keyframes text-fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in-text {
  animation: text-fade-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0; /* Starts hidden before animation takes over */
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }

/* Converged Stack — desktop */
@media (min-width: 1201px) {
  .ecosystem-container {
    column-gap: clamp(2.5rem, 4vw, 4rem);
    align-items: start;
  }

  .ecosystem-visual {
    padding-top: 0;
  }

  .ecosystem-content {
    align-self: center;
    padding-top: 0;
    margin-top: 0;
  }
}

/* Converged Stack — tablet */
@media (max-width: 1200px) and (min-width: 769px) {
  .ecosystem-section {
    padding: clamp(2.5rem, 5vw, 3.5rem) 0 1.5rem;
  }

  .ecosystem-heading {
    margin-bottom: 1.75rem;
    text-align: center;
  }

  .ecosystem-container {
    grid-template-columns: 1fr;
    gap: clamp(1.25rem, 3vw, 2rem);
    padding: 0 clamp(1.25rem, 4vw, 2rem);
    align-items: stretch;
  }

  .ecosystem-visual {
    width: 100%;
    max-width: min(640px, 100%);
    margin: 0 auto;
  }

  .ecosystem-content {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    align-self: stretch;
  }

  .ecosystem-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    position: static;
  }

  .eco-tab-btn {
    padding: 0.65rem 0.5rem;
    font-size: clamp(0.65rem, 1.4vw, 0.78rem);
    min-height: 2.75rem;
  }

  .ecosystem-node-details {
    padding: 1.75rem 1.5rem;
    border-radius: 20px;
  }

  .ecosystem-node-title {
    font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  }

  .ecosystem-desc {
    font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  }

  .ecosystem-device-label-pill {
    font-size: 0.62rem;
    padding: 0.26rem 0.5rem;
    gap: 0.28rem;
  }

  .ecosystem-device-label-pill svg {
    width: 11px;
    height: 11px;
  }
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
  .hero {
    min-height: auto;
    height: auto;
    padding: 2rem 0 1rem;
    overflow: visible;
    align-items: flex-start;
  }
  .hero-container {
    gap: 0;
    padding: 0 2rem !important;
    min-height: auto;
  }
  .hero-main {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow-x: visible;
  }
  .hero-actions {
    justify-content: center;
    width: 100%;
    max-width: 450px;
  }
  .hero-content .hero-display-title {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .rotating-word-container {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0.2rem auto 0;
    text-align: center;
  }
  .rotating-word--exit {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    animation-name: slideUpExitCentered;
  }
  .rotating-words-css {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0.35rem auto 0;
    text-align: center;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    height: 1.25em;
  }
  .rotating-words-css span {
    left: 50%;
    animation-name: hero-word-cycle-centered;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
  }
  .hero-visual {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0;
    transform: none;
    overflow: hidden;
  }
  .hero-hardware-showcase {
    min-height: auto;
    overflow: hidden;
  }
  .features-cards-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet for better breathing space */
    gap: 1.5rem;
  }
  .features-container {
    padding: 0 2rem !important;
  }
  .outcomes {
    padding: 1.25rem 2rem;
  }

  .outcomes-panel {
    padding: clamp(2.5rem, 5vw, 3.5rem) 2rem;
  }

  .outcomes-container {
    gap: 2.5rem;
  }
  .ecosystem-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 clamp(1.25rem, 4vw, 2rem);
  }
  .ecosystem-heading {
    padding: 0 clamp(1.25rem, 4vw, 2rem);
    text-align: center;
  }
  .ecosystem-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    position: static;
  }
  .ecosystem-visual {
    width: 100%;
    max-width: min(600px, 100%);
    margin: 0 auto;
    height: auto;
    min-height: 0;
    justify-content: center;
    padding: 0.5rem 0;
  }
  .ecosystem-city-visual,
  .ecosystem-city-svg {
    max-width: 100%;
  }
  .ecosystem-content {
    max-width: 720px;
    margin: 0 auto;
    width: 100%;
  }
}
@media (max-width: 768px) {
  .hero {
    min-height: auto;
    height: auto;
    padding: 1.5rem 0 0.5rem;
    overflow: visible;
  }
  .hero-visual {
    max-width: 100%;
  }
  .hero-container {
    gap: 0;
    padding: 0 1.25rem !important;
    min-height: auto;
  }
  .hero-content .hero-display-title {
    font-size: clamp(1.65rem, 5.5vw, 3.2rem);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .hero-content .title-nowrap {
    white-space: normal;
  }
  .hero-content .title-nowrap:first-of-type {
    white-space: nowrap;
  }
  .rotating-word-container,
  .rotating-words-css {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0.35rem auto 0;
    text-align: center;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    height: 1.25em;
  }
  .rotating-word--exit {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    animation-name: slideUpExitCentered;
  }
  .rotating-words-css span {
    left: 50%;
    animation-name: hero-word-cycle-centered;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
  }
  .hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }
  .hero-actions {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
    width: 100%;
  }
  .section-header h2 {
    font-size: 2.4rem;
  }
  .features-container {
    padding: 0 1.25rem !important;
  }
  .features-sections {
    gap: 2.25rem;
  }
  .features-cards-grid, .process-steps {
    grid-template-columns: 1fr; /* Single column on mobile devices */
    gap: 1.25rem;
  }
  .domain-title-text {
    font-size: 1.8rem;
  }
  .feature-card-box {
    padding: 1.5rem 1.35rem;
    min-height: 300px;
  }
  .feature-card-title {
    font-size: 1.35rem;
    white-space: normal;
  }
  .feature-card-box::before {
    filter: blur(2px);
    transform: scale(1.03);
  }
  .feature-card-box::after {
    opacity: 1;
    background: linear-gradient(180deg, rgba(6, 16, 42, 0.3) 0%, rgba(4, 12, 34, 0.55) 52%, rgba(2, 8, 24, 0.72) 100%);
  }
  /* Mobile: keep content visible and disable hover-only behavior */
  .feature-card.active .feature-card-box,
  .feature-card:hover .feature-card-box,
  .feature-card:focus-within .feature-card-box {
    transform: none;
    border-color: var(--color-border) !important;
    background-image: linear-gradient(160deg, #0b1328 0%, #111c3d 100%);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
  }
  .feature-card.active .feature-card-box::before,
  .feature-card:hover .feature-card-box::before,
  .feature-card:focus-within .feature-card-box::before {
    opacity: 0.92;
  }
  .feature-card-desc,
  .feature-card.active .feature-card-desc,
  .feature-card:hover .feature-card-desc,
  .feature-card:focus-within .feature-card-desc {
    margin-top: 1.35rem;
    font-size: 0.98rem;
    line-height: 1.65;
    max-height: none;
    opacity: 1;
    transform: none;
    overflow: visible;
    color: #dbeafe !important;
  }
  .feature-card-cta {
    right: 0.9rem;
    bottom: 0.85rem;
    width: 34px;
    height: 34px;
  }
  .feature-card-cta-chevron {
    width: 18px;
    height: 18px;
    border-right-width: 5px;
    border-bottom-width: 5px;
  }
  .ecosystem-section {
    padding: clamp(1.75rem, 5vw, 2.5rem) 0 clamp(1rem, 2vw, 1.25rem);
    overflow-x: clip;
  }

  .ecosystem-section::before {
    width: min(520px, 100vw);
    height: min(520px, 100vw);
    right: -30%;
    opacity: 0.7;
  }

  .ecosystem-heading {
    margin-bottom: 1.25rem;
    padding: 0 1.25rem;
    text-align: center;
  }

  .ecosystem-section .section-header h2 {
    font-size: clamp(1.85rem, 7vw, 2.35rem);
    line-height: 1.15;
  }

  .ecosystem-section .section-header p {
    font-size: clamp(0.95rem, 3.6vw, 1.05rem);
    line-height: 1.55;
  }

  .ecosystem-container {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 0 1.25rem;
    align-items: stretch;
  }

  .ecosystem-visual {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    height: auto;
    min-height: 0;
    padding: 0;
  }

  .ecosystem-city-visual {
    max-width: 100%;
  }

  .ecosystem-city-visual-frame {
    max-width: 100%;
  }

  .ecosystem-content {
    width: 100%;
    min-width: 0;
    gap: 0.75rem;
    align-self: stretch;
  }

  .ecosystem-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    overflow: visible;
    scroll-snap-type: none;
    padding-bottom: 0.35rem;
    margin-bottom: 0.35rem;
    position: static;
  }

  .eco-tab-btn {
    width: 100%;
    min-width: 0;
    min-height: 2.85rem;
    padding: 0.65rem 0.45rem;
    font-size: clamp(0.58rem, 2.8vw, 0.68rem);
    letter-spacing: 0.03em;
    white-space: normal;
    line-height: 1.25;
    hyphens: auto;
  }

  .ecosystem-node-details {
    padding: 1.35rem 1.15rem;
    border-radius: 18px;
    gap: 0.85rem;
  }

  .ecosystem-node-title {
    font-size: clamp(1.2rem, 5vw, 1.45rem);
    line-height: 1.25;
  }

  .ecosystem-desc {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .ecosystem-device-label-pill {
    font-size: 0.58rem;
    padding: 0.22rem 0.42rem;
    gap: 0.25rem;
    letter-spacing: 0.03em;
    max-width: min(9.5rem, 42vw);
    white-space: normal;
    text-align: left;
    line-height: 1.2;
  }

  .ecosystem-device-label-pill svg {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
  }

  .ecosystem-city-markers {
    display: none;
  }
}

@media (max-width: 480px) {
  .ecosystem-container {
    padding: 0 1rem;
  }

  .ecosystem-heading {
    padding: 0 1rem;
  }

  .eco-tab-btn {
    min-height: 2.75rem;
    padding: 0.6rem 0.35rem;
    font-size: clamp(0.55rem, 2.6vw, 0.62rem);
  }

  .ecosystem-node-details {
    padding: 1.15rem 1rem;
  }
}
/* Ripple Animation for Radar Sensor waves */
.radar-wave-1 {
  animation: radar-ripple-1 2s infinite ease-in-out;
}
.radar-wave-2 {
  animation: radar-ripple-2 2s infinite ease-in-out;
}
.radar-wave-3 {
  animation: radar-ripple-3 2s infinite ease-in-out;
}
@keyframes radar-ripple-1 {
  0%, 100% { opacity: 0.15; stroke: #93c5fd; stroke-width: 1px; }
  33% { opacity: 1; stroke: #60a5fa; stroke-width: 2px; }
}
@keyframes radar-ripple-2 {
  0%, 100% { opacity: 0.15; stroke: #60a5fa; stroke-width: 1px; }
  66% { opacity: 1; stroke: #3b82f6; stroke-width: 1.8px; }
}
@keyframes radar-ripple-3 {
  0%, 100% { opacity: 0.15; stroke: #3b82f6; stroke-width: 0.8px; }
  90% { opacity: 0.9; stroke: #2563eb; stroke-width: 1.5px; }
}

.home-about-section {
  padding: 0.25rem 0 1.25rem;
}

/* Space between Converged Stack and About */
.ecosystem-section + .home-about-section {
  padding-top: clamp(0.75rem, 2vw, 1.25rem);
}

.home-about-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.home-about-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 1rem;
  color: #0f172a;
}

.home-about-title .highlight {
  color: #0f172a;
  background: none;
  -webkit-text-fill-color: #0f172a;
}

.home-about-text {
  color: #0f172a;
  line-height: 1.7;
  margin: 0;
}

.home-about-text a,
.section-header p a,
.ecosystem-desc a {
  color: var(--color-accent-primary);
  text-decoration: none;
}

.home-about-text a:hover,
.section-header p a:hover,
.ecosystem-desc a:hover {
  color: var(--color-accent-lighter);
}

/* Logo carousel */

.logo-carousel {
  width: 100%;
  overflow: hidden;
  padding: 1rem 0;
  position: relative;
  contain: layout style paint;
}

.logo-carousel::before,
.logo-carousel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(2rem, 12%, 6rem);
  z-index: 1;
  pointer-events: none;
}

.logo-carousel::before {
  left: 0;
  background: linear-gradient(to right, var(--color-bg-base, #fff) 0%, transparent 100%);
}

.logo-carousel::after {
  right: 0;
  background: linear-gradient(to left, var(--color-bg-base, #fff) 0%, transparent 100%);
}

.logo-carousel-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation-name: logo-scroll;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.logo-carousel-item {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 140px;
  padding: 0 2.5rem;
  opacity: 0.75;
}

@media (hover: hover) {
  .logo-carousel-item {
    transition: opacity 0.3s ease;
  }

  .logo-carousel-item:hover {
    opacity: 1;
  }
}

.logo-carousel-item img {
  max-width: 100%;
  max-height: 110px;
  object-fit: contain;
}

@keyframes logo-scroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-carousel-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    gap: 1rem 2rem;
  }

  .logo-carousel::before,
  .logo-carousel::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .logo-carousel-item {
    min-width: 100px;
    padding: 0 1.5rem;
  }

  .logo-carousel-item img {
    max-height: 60px;
  }
}

/* Static HTML additions */
.rotating-words-css {
  display: inline-block;
  position: relative;
  height: 1.25em;
  min-width: 26ch;
  vertical-align: -0.2em;
  overflow: hidden;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}

.rotating-words-css span {
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--color-accent-primary) 0%, #172554 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  transform: translateY(100%);
  animation: hero-word-cycle 14s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}

.rotating-words-css span:nth-child(1) { animation-delay: 0s; }
.rotating-words-css span:nth-child(2) { animation-delay: 2.8s; }
.rotating-words-css span:nth-child(3) { animation-delay: 5.6s; }
.rotating-words-css span:nth-child(4) { animation-delay: 8.4s; }
.rotating-words-css span:nth-child(5) { animation-delay: 11.2s; }

@keyframes hero-word-cycle {
  0% {
    opacity: 0;
    transform: translateY(100%);
  }
  1.5% {
    opacity: 1;
    transform: translateY(0);
  }
  16% {
    opacity: 1;
    transform: translateY(0);
  }
  19% {
    opacity: 0;
    transform: translateY(-100%);
  }
  19.01%, 100% {
    opacity: 0;
    transform: translateY(100%);
  }
}

@keyframes hero-word-cycle-centered {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(100%);
  }
  1.5% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  16% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  19% {
    opacity: 0;
    transform: translateX(-50%) translateY(-100%);
  }
  19.01%, 100% {
    opacity: 0;
    transform: translateX(-50%) translateY(100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rotating-words-css span {
    animation: none;
    opacity: 0;
    position: static;
  }

  .rotating-words-css span:first-child {
    opacity: 1;
  }
}

.ecosystem-city-image {
  display: block;
  width: 100%;
  height: auto;
  max-width: 720px;
  margin: 0 auto;
}

.ecosystem-visual > .ecosystem-city-visual {
  display: none;
}

.ecosystem-section:has(#eco-tab-core:checked) .ecosystem-city-visual[data-eco-visual='core'],
.ecosystem-section:has(#eco-tab-edge:checked) .ecosystem-city-visual[data-eco-visual='edge'],
.ecosystem-section:has(#eco-tab-cloud:checked) .ecosystem-city-visual[data-eco-visual='cloud'],
.ecosystem-section:has(#eco-tab-infra:checked) .ecosystem-city-visual[data-eco-visual='infra'] {
  display: flex;
}

.ecosystem-node-details {
  display: none;
}

.ecosystem-section:has(#eco-tab-core:checked) .ecosystem-node-details[data-eco-panel='core'],
.ecosystem-section:has(#eco-tab-edge:checked) .ecosystem-node-details[data-eco-panel='edge'],
.ecosystem-section:has(#eco-tab-cloud:checked) .ecosystem-node-details[data-eco-panel='cloud'],
.ecosystem-section:has(#eco-tab-infra:checked) .ecosystem-node-details[data-eco-panel='infra'] {
  display: block;
}

.ecosystem-panels {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.ecosystem-layers-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

.eco-layer-details {
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-bg-secondary);
  overflow: hidden;
}

.eco-layer-details summary {
  cursor: pointer;
  font-weight: 600;
  padding: 0.85rem 1rem;
  list-style: none;
}

.eco-layer-details summary::-webkit-details-marker {
  display: none;
}

.eco-layer-body {
  padding: 0 1rem 1rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
}

/* Hero rotating words — tablet/mobile (after base .rotating-words-css) */
@media (max-width: 1024px) {
  .hero-content .hero-display-title {
    text-align: center;
  }

  .rotating-words-css,
  .rotating-word-container {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0.35rem auto 0;
    text-align: center;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    height: 1.25em;
  }

  .rotating-words-css span,
  .rotating-word-container .rotating-word {
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
  }

  .rotating-words-css span {
    left: 50%;
    right: auto;
    width: max-content;
    max-width: calc(100vw - 2.5rem);
    margin: 0;
    text-align: center;
    white-space: nowrap;
    animation-name: hero-word-cycle-centered;
  }

  .rotating-word-container .rotating-word--exit {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    animation-name: slideUpExitCentered;
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 1024px) {
  .rotating-words-css span {
    position: static;
    display: none;
    width: auto;
    max-width: none;
    text-align: center;
    transform: none;
  }

  .rotating-words-css span:first-child {
    display: block;
  }
}

.eco-layer-body p {
  margin: 0;
}
