.ai-efficiency-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.ai-lab-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 0.9rem;
  background:
    radial-gradient(circle at 18% 18%, rgba(45, 88, 255, 0.32), transparent 24%),
    radial-gradient(circle at 92% 78%, rgba(255, 106, 0, 0.18), transparent 22%),
    linear-gradient(135deg, #06112f 0%, #101f49 48%, #f8fbff 49%, #ffffff 100%);
  padding: 1.4rem;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
  isolation: isolate;
}

.ai-lab-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.26;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.32) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, #000, transparent 62%);
}

.ai-lab-copy {
  min-height: 22rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #ffffff;
}

.ai-lab-copy .eyebrow {
  color: #8fb2ff;
}

.ai-lab-copy .section-title {
  max-width: 760px;
  color: #ffffff;
  font-size: clamp(3rem, 6vw, 5.8rem);
  line-height: 0.98;
}

.ai-lab-lede {
  max-width: 620px;
  margin-top: 1.25rem;
  color: rgba(226, 232, 240, 0.86);
  font-size: 1.05rem;
  line-height: 1.8;
}

.ai-lab-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.4rem;
}

.ai-lab-tags span {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.45rem 0.7rem;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.ai-lab-visual {
  position: relative;
  min-height: 22rem;
  border: 1px solid rgba(45, 88, 255, 0.12);
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 18px 50px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.ai-lab-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(45, 88, 255, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(45, 88, 255, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
}

.ai-orbit {
  position: absolute;
  left: 50%;
  top: 44%;
  width: 13rem;
  height: 13rem;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(45, 88, 255, 0.28);
  border-radius: 50%;
  animation: aiOrbitPulse 4.8s ease-in-out infinite;
}

.ai-orbit::before,
.ai-orbit::after {
  content: "";
  position: absolute;
  inset: 1.7rem;
  border: 1px solid rgba(45, 88, 255, 0.18);
  border-radius: 50%;
}

.ai-orbit::after {
  inset: -2.2rem;
  border-color: rgba(255, 106, 0, 0.18);
  transform: rotate(24deg);
}

.ai-core {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  width: 5.6rem;
  height: 5.6rem;
  place-items: center;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #2d58ff;
  color: #ffffff;
  font-size: 2rem;
  font-weight: 950;
  box-shadow: 0 20px 46px rgba(45, 88, 255, 0.34);
}

.ai-node {
  position: absolute;
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: #ff6a00;
  box-shadow: 0 0 0 7px rgba(255, 106, 0, 0.14);
}

.ai-node-1 { left: 1rem; top: 2.2rem; }
.ai-node-2 { right: 0.6rem; top: 4.3rem; background: #2d58ff; box-shadow: 0 0 0 7px rgba(45, 88, 255, 0.14); }
.ai-node-3 { left: 2.4rem; bottom: 1.1rem; background: #2d58ff; box-shadow: 0 0 0 7px rgba(45, 88, 255, 0.14); }
.ai-node-4 { right: 2.2rem; bottom: 1.8rem; }

.ai-flow {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  grid-template-columns: 1fr 1.6rem 1fr 1.6rem 1fr;
  gap: 0.35rem;
  align-items: center;
}

.ai-flow span {
  display: flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(45, 88, 255, 0.14);
  border-radius: 0.55rem;
  background: rgba(255, 255, 255, 0.86);
  color: #1e293b;
  text-align: center;
  font-size: 0.76rem;
  font-weight: 900;
}

.ai-flow b {
  display: block;
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(45, 88, 255, 0.16), #2d58ff, rgba(45, 88, 255, 0.16));
}

.ai-efficiency-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.ai-efficiency-card {
  min-height: 9.4rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.9);
  padding: 1rem;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.ai-efficiency-card span {
  color: #2d58ff;
  font-size: 0.72rem;
  font-weight: 950;
}

.ai-efficiency-card h3 {
  margin-top: 1rem;
  color: #020617;
  font-size: 1.18rem;
  font-weight: 950;
  line-height: 1.15;
  letter-spacing: 0;
}

.ai-efficiency-card p {
  margin-top: 0.55rem;
  color: #64748b;
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.45;
}

.ai-efficiency-note {
  grid-column: 1 / -1;
  margin-top: 0.05rem;
  border-left: 3px solid #2d58ff;
  padding-left: 0.8rem;
  color: #64748b;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.55;
}

html[lang="en"] .ai-lab-copy .section-title {
  font-size: clamp(2.3rem, 4.2vw, 4.1rem);
  line-height: 1.04;
}

html[lang="en"] .ai-efficiency-card h3 {
  word-break: normal;
  overflow-wrap: anywhere;
}

@keyframes aiOrbitPulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.92; }
  50% { transform: translate(-50%, -50%) scale(1.04); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .ai-orbit {
    animation: none;
  }
}

@media (max-width: 767px) {
  .ai-efficiency-section {
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
  }

  .ai-lab-panel {
    display: block;
    border-radius: 0.9rem;
    background:
      radial-gradient(circle at 18% 16%, rgba(45, 88, 255, 0.38), transparent 28%),
      linear-gradient(180deg, #071438 0%, #14255b 52%, #ffffff 52%, #ffffff 100%);
    padding: 1rem;
  }

  .ai-lab-copy {
    min-height: 0;
    padding: 0.5rem 0 1rem;
  }

  .ai-lab-copy .section-title {
    font-size: clamp(2.15rem, 11vw, 3.1rem);
    line-height: 1;
  }

  .ai-lab-lede {
    margin-top: 0.85rem;
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .ai-lab-tags {
    gap: 0.45rem;
    margin-top: 0.85rem;
  }

  .ai-lab-tags span {
    padding: 0.36rem 0.55rem;
    font-size: 0.7rem;
  }

  .ai-lab-visual {
    min-height: 11.5rem;
    margin-top: 0.45rem;
    border-radius: 0.75rem;
  }

  .ai-orbit {
    top: 43%;
    width: 7.6rem;
    height: 7.6rem;
  }

  .ai-orbit::before {
    inset: 1rem;
  }

  .ai-orbit::after {
    inset: -1.2rem;
  }

  .ai-core {
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1.25rem;
  }

  .ai-node {
    width: 0.5rem;
    height: 0.5rem;
    box-shadow: 0 0 0 5px rgba(255, 106, 0, 0.14);
  }

  .ai-flow {
    left: 0.65rem;
    right: 0.65rem;
    bottom: 0.65rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ai-flow b {
    display: none;
  }

  .ai-flow span {
    min-height: 2.35rem;
    font-size: 0.63rem;
    line-height: 1.1;
  }

  .ai-efficiency-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    margin-top: 0.75rem;
  }

  .ai-efficiency-card {
    min-height: 7.2rem;
    border-radius: 0.75rem;
    padding: 0.72rem;
  }

  .ai-efficiency-card h3 {
    margin-top: 0.6rem;
    font-size: 0.98rem;
    line-height: 1.15;
  }

  .ai-efficiency-card p {
    margin-top: 0.36rem;
    font-size: 0.68rem;
    line-height: 1.32;
  }

  .ai-efficiency-note {
    margin-top: 0.75rem;
    font-size: 0.72rem;
    line-height: 1.4;
  }

  html[lang="en"] .ai-lab-copy .section-title {
    font-size: clamp(1.65rem, 8.5vw, 2.1rem);
    line-height: 1.08;
  }

  html[lang="en"] .ai-efficiency-card h3 {
    font-size: 0.82rem;
  }

  html[lang="en"] .ai-efficiency-card p {
    font-size: 0.62rem;
  }
}
