/* ========== SERVICES STAGE (what we deliver) ========== */
.services-stage {
  background:
    radial-gradient(ellipse 42% 46% at 92% 18%, rgba(79, 125, 255, 0.14), transparent 64%),
    radial-gradient(ellipse 34% 40% at 84% 88%, rgba(168, 85, 247, 0.1), transparent 60%),
    var(--bg-900);
  overflow: hidden;
}

.services-stage__intro {
  margin-bottom: var(--space-7);
}

.services-stage__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4) var(--space-6);
}

.services-stage__title-row .section__title {
  margin-bottom: 0;
}

.services-stage__cta {
  flex-shrink: 0;
  margin-bottom: 0.15em;
}

.services-stage__kicker {
  color: var(--text-mid);
  max-width: 52ch;
  margin-top: var(--space-3);
}

/* Homepage services — index + preview (not accordion) */
.svc-board {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  align-items: stretch;
}

.svc-board__index {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--surface-line);
}

.svc-board__tab {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: var(--space-3);
  align-items: center;
  width: 100%;
  padding: 0.95rem 0.85rem;
  margin: 0;
  border: 0;
  border-bottom: 1px solid var(--surface-line);
  border-left: 2px solid transparent;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
  transition: border-color var(--dur-sm) var(--ease-out),
    background var(--dur-sm) var(--ease-out),
    color var(--dur-sm) var(--ease-out);
}

.svc-board__tab:hover .svc-board__name,
.svc-board__tab:focus-visible .svc-board__name {
  color: var(--text-hi);
}

.svc-board__tab.is-active {
  border-left-color: var(--accent-cyan);
  background: linear-gradient(90deg, rgba(70, 224, 255, 0.08), transparent 70%);
}

.svc-board__tab.is-active .svc-board__num {
  color: var(--accent-cyan);
}

.svc-board__tab.is-active .svc-board__name {
  color: var(--text-hi);
}

.svc-board__num {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.16em;
  color: var(--text-low);
}

.svc-board__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(0.98rem, 1.5vw, 1.15rem);
  letter-spacing: -0.02em;
  color: var(--text-mid);
  transition: color var(--dur-sm) var(--ease-out);
}

.svc-board__stage {
  position: relative;
  min-height: 22rem;
}

.svc-board__panel {
  position: relative;
  overflow: hidden;
  min-height: 22rem;
  padding: clamp(1.4rem, 3vw, 2.1rem);
  border: 1px solid var(--surface-card-line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 70% 55% at 100% 0%, rgba(70, 224, 255, 0.16), transparent 58%),
    radial-gradient(ellipse 50% 45% at 0% 100%, rgba(168, 85, 247, 0.12), transparent 55%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
}

.svc-board__panel[data-theme="web"] {
  background:
    radial-gradient(ellipse 80% 70% at 100% 8%, rgba(70, 224, 255, 0.22), transparent 56%),
    radial-gradient(ellipse 45% 50% at 0% 100%, rgba(79, 125, 255, 0.14), transparent 52%),
    linear-gradient(165deg, rgba(10, 18, 36, 0.92), rgba(5, 6, 10, 0.94));
}

.svc-board__panel[data-theme="mobile"] {
  background:
    radial-gradient(ellipse 75% 65% at 100% 0%, rgba(79, 125, 255, 0.22), transparent 55%),
    radial-gradient(ellipse 40% 50% at 0% 100%, rgba(124, 92, 255, 0.16), transparent 50%),
    linear-gradient(165deg, rgba(10, 14, 32, 0.92), rgba(5, 6, 10, 0.94));
}

.svc-board__panel[data-theme="ai"] {
  background:
    radial-gradient(ellipse 80% 70% at 100% 0%, rgba(168, 85, 247, 0.24), transparent 55%),
    radial-gradient(ellipse 45% 50% at 8% 100%, rgba(70, 224, 255, 0.12), transparent 52%),
    linear-gradient(165deg, rgba(16, 10, 32, 0.92), rgba(5, 6, 10, 0.94));
}

.svc-board__panel[data-theme="commerce"] {
  background:
    radial-gradient(ellipse 80% 70% at 100% 0%, rgba(255, 110, 199, 0.2), transparent 55%),
    radial-gradient(ellipse 45% 50% at 0% 100%, rgba(70, 224, 255, 0.12), transparent 52%),
    linear-gradient(165deg, rgba(22, 10, 24, 0.92), rgba(5, 6, 10, 0.94));
}

.svc-board__panel[data-theme="marketing"] {
  background:
    radial-gradient(ellipse 80% 70% at 100% 0%, rgba(46, 123, 255, 0.24), transparent 55%),
    radial-gradient(ellipse 45% 50% at 0% 100%, rgba(70, 224, 255, 0.14), transparent 52%),
    linear-gradient(165deg, rgba(8, 16, 36, 0.92), rgba(5, 6, 10, 0.94));
}

.svc-board__panel[data-theme="creative"] {
  background:
    radial-gradient(ellipse 80% 70% at 100% 0%, rgba(255, 110, 199, 0.18), transparent 55%),
    radial-gradient(ellipse 45% 50% at 0% 100%, rgba(124, 92, 255, 0.16), transparent 52%),
    linear-gradient(165deg, rgba(18, 10, 28, 0.92), rgba(5, 6, 10, 0.94));
}

.svc-board__panel[data-theme="design"] {
  background:
    radial-gradient(ellipse 80% 70% at 100% 0%, rgba(70, 224, 255, 0.16), transparent 55%),
    radial-gradient(ellipse 45% 50% at 0% 100%, rgba(255, 110, 199, 0.12), transparent 52%),
    linear-gradient(165deg, rgba(10, 16, 28, 0.92), rgba(5, 6, 10, 0.94));
}

.svc-board__panel[data-theme="support"] {
  background:
    radial-gradient(ellipse 80% 70% at 100% 0%, rgba(53, 211, 153, 0.16), transparent 55%),
    radial-gradient(ellipse 45% 50% at 0% 100%, rgba(79, 125, 255, 0.12), transparent 52%),
    linear-gradient(165deg, rgba(8, 18, 22, 0.92), rgba(5, 6, 10, 0.94));
}

.svc-board__panel::before {
  content: "";
  position: absolute;
  inset: -45%;
  z-index: 0;
  pointer-events: none;
  background: conic-gradient(
    from 120deg,
    transparent,
    rgba(70, 224, 255, 0.16),
    transparent 34%,
    rgba(79, 125, 255, 0.14),
    transparent 62%,
    rgba(168, 85, 247, 0.12),
    transparent 88%
  );
  animation: svc-spin 18s linear infinite;
  opacity: 0.55;
}

.svc-board__panel[hidden] {
  display: none !important;
}

.svc-board__copy {
  position: relative;
  z-index: 2;
  max-width: 38ch;
}

.svc-board__visual {
  position: relative;
  z-index: 1;
  height: 190px;
  margin-top: var(--space-4);
  pointer-events: none;
  overflow: hidden;
}

.svc-board__visual .svc-viz {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  width: min(260px, 78%);
  height: 160px;
  opacity: 1;
  transform: translate(-50%, -50%);
}

.svc-board__ghost {
  position: absolute;
  right: 0.4rem;
  top: -0.35em;
  font-family: var(--font-display);
  font-size: clamp(6.5rem, 14vw, 10rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.045);
  pointer-events: none;
  user-select: none;
}

.svc-board__kicker {
  position: relative;
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: var(--space-3);
}

.svc-board__heading {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.6vw, 2.1rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  max-width: 16ch;
  margin-bottom: var(--space-4);
}

.svc-board__desc {
  position: relative;
  color: var(--text-mid);
  max-width: 40ch;
  margin-bottom: var(--space-5);
}

.svc-board__caps {
  position: relative;
  list-style: none;
  display: grid;
  gap: 0.55rem;
  margin-bottom: var(--space-6);
}

.svc-board__caps li {
  color: var(--text-mid);
  font-size: 0.95rem;
  padding-left: 1rem;
  position: relative;
}

.svc-board__caps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 1px;
  background: var(--accent-cyan);
}

.svc-board__actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
}

.svc-board__link {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-low);
}

.svc-board__link:hover {
  color: var(--text-hi);
}

@media (min-width: 900px) {
  .svc-board {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
  }

  .svc-board__stage,
  .svc-board__panel {
    min-height: 100%;
  }

  .svc-board__copy {
    max-width: 34ch;
  }

  .svc-board__visual {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 48%;
    height: auto;
    margin: 0;
  }

  .svc-board__visual .svc-viz {
    width: min(300px, 78%);
    height: 190px;
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.svc-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--surface-line);
}

.svc-row {
  border-bottom: 1px solid var(--surface-line);
  position: relative;
}

.svc-row__trigger {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--space-4);
  align-items: center;
  padding: var(--space-5) 0;
  background: transparent;
  border: 0;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: inherit;
}

.svc-row__num {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.2em;
  color: var(--text-low);
  min-width: 2.5rem;
  transition: color var(--dur-sm) var(--ease-out),
    text-shadow var(--dur-md) var(--ease-out);
}

.svc-row__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 3.2vw, 2.35rem);
  letter-spacing: -0.02em;
  color: var(--text-mid);
  transition: color var(--dur-sm) var(--ease-out),
    transform var(--dur-md) var(--ease-out);
}

.svc-row__hint {
  width: 28px;
  height: 28px;
  border: 1px solid var(--surface-line);
  border-radius: 50%;
  position: relative;
}

.svc-row__hint::before,
.svc-row__hint::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--text-mid);
  transition: transform var(--dur-sm) var(--ease-out), background var(--dur-sm) var(--ease-out);
}

.svc-row__hint::before {
  width: 10px;
  height: 1px;
  transform: translate(-50%, -50%);
}

.svc-row__hint::after {
  width: 1px;
  height: 10px;
  transform: translate(-50%, -50%);
}

.svc-row.is-open .svc-row__hint::after {
  transform: translate(-50%, -50%) scaleY(0);
}

.svc-row.is-open .svc-row__num {
  color: var(--accent-cyan, #46e0ff);
  text-shadow: 0 0 18px rgba(70, 224, 255, 0.45);
}

.svc-row.is-open .svc-row__title {
  color: var(--text-hi);
  transform: translateX(4px);
}

.svc-row:hover .svc-row__title {
  color: var(--text-hi);
}

.svc-row__panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  padding: 0 0 var(--space-7);
}

.svc-row__panel[hidden] {
  display: none !important;
}

.svc-row__desc {
  color: var(--text-mid);
  max-width: 42ch;
  margin-bottom: var(--space-5);
}

.svc-row__caps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  margin-bottom: var(--space-5);
}

.svc-row__caps li {
  color: var(--text-mid);
  font-size: 0.95rem;
  padding-left: var(--space-4);
  position: relative;
}

.svc-row__caps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 1px;
  background: var(--accent-cyan);
}

.svc-row__caps li.is-more {
  color: var(--text-low);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.svc-row__caps li.is-more::before {
  display: none;
}

.svc-row__cta {
  margin-right: var(--space-4);
  margin-bottom: var(--space-3);
}

.svc-row__link {
  display: inline-block;
  color: var(--text-low);
  font-size: 0.9rem;
  border-bottom: 1px solid transparent;
  transition: color var(--dur-sm) var(--ease-out), border-color var(--dur-sm) var(--ease-out);
}

.svc-row__link:hover {
  color: var(--text-hi);
  border-color: var(--text-mid);
}

.svc-row__visual {
  min-height: 240px;
  border: 1px solid var(--surface-card-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(16, 19, 31, 0.9), rgba(4, 5, 10, 0.95));
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
  perspective: 900px;
}

.svc-row__visual::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(
    from 120deg,
    transparent,
    rgba(70, 224, 255, 0.14),
    transparent 34%,
    rgba(79, 125, 255, 0.14),
    transparent 62%,
    rgba(168, 85, 247, 0.12),
    transparent 88%
  );
  animation: svc-spin 14s linear infinite;
  opacity: 0.7;
}

.svc-row.is-open .svc-row__visual::before {
  opacity: 1;
}

@keyframes svc-spin {
  to {
    transform: rotate(360deg);
  }
}

.svc-viz {
  position: relative;
  z-index: 1;
  width: min(280px, 70%);
  height: 180px;
  transform-style: preserve-3d;
}

/* Web visual */
.svc-viz--web .svc-viz__browser {
  height: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(5, 6, 10, 0.85);
  padding: 10px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.svc-viz__dots {
  display: flex;
  gap: 5px;
  margin-bottom: 8px;
}

.svc-viz__dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.svc-viz__bar {
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, #7c5cff, #2e7bff 60%, transparent);
  margin-bottom: 12px;
  opacity: 0.8;
}

.svc-viz__code {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.svc-viz__code span {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.12);
  animation: svc-code 2.4s ease-in-out infinite;
}

.svc-viz__code span:nth-child(1) { width: 78%; }
.svc-viz__code span:nth-child(2) { width: 62%; animation-delay: 0.15s; }
.svc-viz__code span:nth-child(3) { width: 88%; animation-delay: 0.3s; background: rgba(124, 92, 255, 0.45); }
.svc-viz__code span:nth-child(4) { width: 54%; animation-delay: 0.45s; }
.svc-viz__code span:nth-child(5) { width: 70%; animation-delay: 0.6s; }

@keyframes svc-code {
  50% { opacity: 0.45; transform: translateX(4px); }
}

.svc-viz__float {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  border: 1px solid rgba(70, 224, 255, 0.35);
  background: rgba(46, 123, 255, 0.15);
  backdrop-filter: blur(6px);
  animation: svc-float 3.5s ease-in-out infinite;
}

.svc-viz__float--a { top: -8px; right: -12px; }
.svc-viz__float--b {
  bottom: 10px;
  left: -16px;
  width: 36px;
  height: 36px;
  animation-delay: 0.6s;
  border-color: rgba(255, 110, 199, 0.35);
  background: rgba(255, 110, 199, 0.12);
}

@keyframes svc-float {
  50% { transform: translateY(-8px); }
}

/* Mobile visual */
.svc-viz--mobile {
  display: grid;
  place-items: center;
}

.svc-viz__phone {
  width: 96px;
  height: 170px;
  border-radius: 18px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: #0a0c14;
  padding: 10px 8px;
  box-shadow: 0 18px 40px rgba(124, 92, 255, 0.25);
  position: relative;
  z-index: 1;
}

.svc-viz__notch {
  width: 36px;
  height: 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 auto 10px;
}

.svc-viz__screen {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.svc-viz__screen span {
  display: block;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(120deg, rgba(124, 92, 255, 0.35), rgba(46, 123, 255, 0.2));
  animation: svc-screen 2.8s ease-in-out infinite;
}

.svc-viz__screen span:nth-child(2) { animation-delay: 0.25s; height: 42px; }
.svc-viz__screen span:nth-child(3) { animation-delay: 0.5s; height: 22px; }

@keyframes svc-screen {
  50% { filter: brightness(1.25); transform: scaleX(0.98); }
}

.svc-viz__pulse {
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 1px solid rgba(124, 92, 255, 0.35);
  animation: svc-pulse 2.8s ease-out infinite;
}

@keyframes svc-pulse {
  from { transform: scale(0.7); opacity: 0.8; }
  to { transform: scale(1.25); opacity: 0; }
}

/* AI visual */
.svc-viz--ai {
  display: grid;
  place-items: center;
}

.svc-viz__core {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #46e0ff;
  box-shadow: 0 0 24px rgba(70, 224, 255, 0.8);
  z-index: 2;
}

.svc-viz__ring {
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 1px dashed rgba(124, 92, 255, 0.5);
  animation: svc-spin 10s linear infinite;
}

.svc-viz__ring--2 {
  width: 160px;
  height: 160px;
  border-style: solid;
  border-color: rgba(46, 123, 255, 0.25);
  animation-direction: reverse;
  animation-duration: 16s;
}

.svc-viz__node {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #7c5cff;
  box-shadow: 0 0 12px rgba(124, 92, 255, 0.8);
}

.svc-viz__node.n1 { top: 18%; left: 22%; }
.svc-viz__node.n2 { top: 20%; right: 18%; background: #2e7bff; }
.svc-viz__node.n3 { bottom: 22%; left: 18%; background: #ff6ec7; }
.svc-viz__node.n4 { bottom: 18%; right: 24%; }
.svc-viz__node.n5 { top: 8%; left: 48%; background: #46e0ff; }

/* Commerce */
.svc-viz--commerce {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.svc-viz__card {
  width: 84px;
  height: 110px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  padding: 10px;
  animation: svc-float 3s ease-in-out infinite;
}

.svc-viz__card.c2 {
  animation-delay: 0.4s;
  transform: translateY(12px);
}

.svc-viz__card i {
  display: block;
  height: 48px;
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 110, 199, 0.4), rgba(124, 92, 255, 0.25));
  margin-bottom: 10px;
}

.svc-viz__card b {
  display: block;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.2);
}

.svc-viz__bag {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(70, 224, 255, 0.4);
  background: rgba(70, 224, 255, 0.12);
  position: relative;
}

.svc-viz__bag::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 2px solid rgba(70, 224, 255, 0.7);
  border-top: 0;
  border-radius: 0 0 6px 6px;
}

/* Marketing */
.svc-viz__chart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 120px;
}

.svc-viz__chart span {
  width: 16px;
  height: var(--h);
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #46e0ff, #2e7bff);
  animation: svc-bar 2.2s ease-in-out infinite;
}

.svc-viz__chart span:nth-child(2) { animation-delay: 0.1s; }
.svc-viz__chart span:nth-child(3) { animation-delay: 0.2s; }
.svc-viz__chart span:nth-child(4) { animation-delay: 0.3s; }
.svc-viz__chart span:nth-child(5) { animation-delay: 0.4s; }

@keyframes svc-bar {
  50% { filter: brightness(1.2); transform: scaleY(1.08); transform-origin: bottom; }
}

.svc-viz__trend {
  position: absolute;
  width: 160px;
  height: 60px;
  border-top: 2px solid rgba(255, 110, 199, 0.65);
  border-radius: 50%;
  top: 28%;
  opacity: 0.7;
}

/* Creative */
.svc-viz__film {
  display: flex;
  gap: 8px;
}

.svc-viz__film span {
  width: 48px;
  height: 72px;
  border-radius: 6px;
  background: linear-gradient(160deg, rgba(255, 110, 199, 0.35), rgba(124, 92, 255, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: svc-film 2.6s ease-in-out infinite;
}

.svc-viz__film span:nth-child(2) { animation-delay: 0.15s; }
.svc-viz__film span:nth-child(3) { animation-delay: 0.3s; }
.svc-viz__film span:nth-child(4) { animation-delay: 0.45s; }

@keyframes svc-film {
  50% { transform: translateY(-10px) scale(1.04); }
}

.svc-viz__play {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(124, 92, 255, 0.85);
  box-shadow: 0 0 24px rgba(124, 92, 255, 0.55);
}

.svc-viz__play::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 14px;
  border-style: solid;
  border-width: 8px 0 8px 12px;
  border-color: transparent transparent transparent #fff;
}

.svc-viz--design {
  display: grid;
  place-items: center;
}

.svc-viz__board {
  width: 140px;
  height: 92px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(145deg, rgba(70, 224, 255, 0.18), rgba(124, 92, 255, 0.1));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  animation: svc-float 3.4s ease-in-out infinite;
}

.svc-viz__board--2 {
  position: absolute;
  width: 108px;
  height: 72px;
  right: 12%;
  top: 18%;
  animation-delay: 0.35s;
  background: linear-gradient(145deg, rgba(255, 110, 199, 0.2), rgba(79, 125, 255, 0.12));
}

.svc-viz__board--3 {
  position: absolute;
  width: 72px;
  height: 56px;
  left: 14%;
  bottom: 16%;
  animation-delay: 0.7s;
  background: linear-gradient(145deg, rgba(79, 125, 255, 0.2), rgba(70, 224, 255, 0.1));
}

.svc-viz--support {
  display: grid;
  place-items: center;
}

.svc-viz__status {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 110px;
}

.svc-viz__status span {
  width: 14px;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, #35d399, #2e7bff);
  animation: svc-bar 2.2s ease-in-out infinite;
}

.svc-viz__status span:nth-child(1) { height: 42%; }
.svc-viz__status span:nth-child(2) { height: 68%; animation-delay: 0.12s; }
.svc-viz__status span:nth-child(3) { height: 86%; animation-delay: 0.24s; }
.svc-viz__status span:nth-child(4) { height: 58%; animation-delay: 0.36s; }

@media (min-width: 900px) {
  .svc-row__panel {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }

  .svc-row__caps {
    grid-template-columns: 1fr 1fr;
  }

  .svc-row__visual {
    min-height: 300px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .svc-row__visual::before,
  .svc-viz__code span,
  .svc-viz__float,
  .svc-viz__screen span,
  .svc-viz__pulse,
  .svc-viz__ring,
  .svc-viz__card,
  .svc-viz__chart span,
  .svc-viz__film span {
    animation: none !important;
  }
}

html[data-motion="reduce"] .svc-board__panel::before,
html[data-motion="reduce"] .cta-band__ambient,
html[data-motion="reduce"] .cta-band__words span,
html[data-motion="reduce"] .tech-found__board::before,
html[data-motion="reduce"] .tech-found__tool.is-lead::before,
html[data-motion="reduce"] .svc-row__visual::before,
html[data-motion="reduce"] .svc-viz__code span,
html[data-motion="reduce"] .svc-viz__float,
html[data-motion="reduce"] .svc-viz__screen span,
html[data-motion="reduce"] .svc-viz__pulse,
html[data-motion="reduce"] .svc-viz__ring,
html[data-motion="reduce"] .svc-viz__card,
html[data-motion="reduce"] .svc-viz__chart span,
html[data-motion="reduce"] .svc-viz__film span {
  animation: none !important;
}

/* ========== SERVICE DETAIL PAGE ========== */
.svc-detail {
  padding: var(--space-8) 0;
  border-bottom: 1px solid var(--surface-line);
}

.svc-detail__head {
  display: flex;
  gap: var(--space-5);
  margin-bottom: var(--space-6);
}

.svc-detail__num {
  font-family: var(--font-mono);
  letter-spacing: 0.18em;
  color: var(--accent-cyan, #46e0ff);
  padding-top: 0.4em;
}

.svc-detail__title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: var(--space-2);
}

.svc-detail__lead {
  color: var(--text-mid);
  max-width: 48ch;
}

.svc-detail__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}

.svc-detail__visual {
  min-height: 220px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--surface-card-line);
  display: grid;
  place-items: center;
  background: var(--surface-card);
  overflow: hidden;
  position: relative;
}

.svc-detail__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

.svc-detail__list li {
  color: var(--text-mid);
  padding-left: var(--space-4);
  position: relative;
}

.svc-detail__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 1px;
  background: var(--accent-cyan);
}

@media (min-width: 900px) {
  .svc-detail__body {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
  }

  .svc-detail__list {
    grid-template-columns: 1fr 1fr;
  }
}

/* ========== TECHNOLOGY STACK ========== */
.technology {
  background:
    radial-gradient(ellipse 42% 48% at 8% 18%, rgba(70, 224, 255, 0.1), transparent 58%),
    radial-gradient(ellipse 36% 40% at 92% 88%, rgba(46, 123, 255, 0.1), transparent 60%),
    var(--bg-800);
}

.technology__intro {
  margin-bottom: var(--space-6);
}

.tech-found {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "copy"
    "board";
  gap: var(--space-7);
  align-items: center;
}

.tech-found__copy {
  grid-area: copy;
  min-width: 0;
}

.tech-found__board {
  grid-area: board;
  min-width: 0;
}

.tech-found__lanes {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-top: var(--space-6);
}

.tech-found__lane {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  width: 100%;
  margin: 0;
  padding: var(--space-4) var(--space-5);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    background var(--dur-sm) var(--ease-out),
    border-color var(--dur-sm) var(--ease-out),
    transform var(--dur-sm) var(--ease-out);
}

.tech-found__lane::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12%;
  bottom: 12%;
  width: 2px;
  border-radius: 2px;
  background: var(--grad-brand-v);
  opacity: 0;
  transition: opacity var(--dur-sm) var(--ease-out);
}

.tech-found__lane:hover,
.tech-found__lane.is-active {
  background: var(--surface-card-hover);
  border-color: var(--surface-line);
  transform: translateX(4px);
}

.tech-found__lane.is-active::before {
  opacity: 1;
}

.tech-found__lane:focus-visible {
  outline: 1px solid rgba(70, 224, 255, 0.5);
  outline-offset: 2px;
}

.tech-found__name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--text-hi);
}

.tech-found__lane:not(.is-active) .tech-found__name {
  color: var(--text-mid);
}

.tech-found__role {
  font-size: 0.9375rem;
  color: var(--text-low);
  line-height: 1.4;
}

.tech-found__lane.is-active .tech-found__role {
  color: var(--text-mid);
}

.tech-found__board {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(340px, 52vw, 560px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(70, 224, 255, 0.18);
  background:
    radial-gradient(ellipse 55% 60% at 48% 40%, rgba(70, 224, 255, 0.22), transparent 58%),
    radial-gradient(ellipse 42% 38% at 78% 82%, rgba(46, 123, 255, 0.16), transparent 64%),
    radial-gradient(ellipse 70% 50% at 50% 108%, rgba(8, 20, 40, 0.95), transparent 58%),
    linear-gradient(165deg, #0b1a2e 0%, #071018 46%, #0a1526 100%);
  box-shadow:
    var(--shadow-card),
    inset 0 1px 0 rgba(70, 224, 255, 0.14);
}

.tech-found__board::before {
  content: "";
  position: absolute;
  inset: -18%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 46% 36%, rgba(70, 224, 255, 0.32), transparent 38%),
    radial-gradient(circle at 58% 62%, rgba(79, 156, 255, 0.14), transparent 34%);
}

.tech-found__board::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 78% 68% at 50% 46%, transparent 38%, rgba(4, 8, 18, 0.55) 100%);
}

@media (prefers-reduced-motion: no-preference) {
  .tech-found__board::before {
    animation: tech-board-glow 7.5s ease-in-out infinite;
  }
}

@keyframes tech-board-glow {
  0%,
  100% {
    opacity: 0.65;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

.tech-found__mark {
  position: absolute;
  left: 6%;
  bottom: -6%;
  z-index: 0;
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(4.5rem, 12vw, 8.5rem);
  letter-spacing: -0.07em;
  line-height: 0.8;
  color: rgba(70, 224, 255, 0.07);
  pointer-events: none;
  user-select: none;
}

.tech-found__kicker {
  position: relative;
  z-index: 3;
  margin: 1.15rem 1.25rem 0;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(70, 224, 255, 0.8);
}

.tech-found__net {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.tech-found__field {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.tech-found__tool {
  position: absolute;
  left: calc(var(--x) * 1%);
  top: calc(var(--y) * 1%);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  max-width: 14ch;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(0.78rem, 1.2vw, 0.95rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: rgba(185, 192, 212, 0.62);
  transform: translate(-50%, -50%) translateY(8px);
  opacity: 0;
}

.tech-found__tool::before {
  content: "";
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #46e0ff;
  box-shadow: 0 0 10px rgba(70, 224, 255, 0.7);
  opacity: 0.7;
}

.tech-found__tool.is-lead {
  max-width: none;
  white-space: nowrap;
  font-weight: 600;
  font-size: clamp(1.15rem, 2.5vw, 1.85rem);
  letter-spacing: -0.05em;
  color: var(--text-hi);
  text-shadow: 0 0 28px rgba(70, 224, 255, 0.28);
}

@media (max-width: 599px) {
  .tech-found__tool.is-lead {
    white-space: normal;
    max-width: 11rem;
    text-align: center;
    font-size: clamp(0.95rem, 4.2vw, 1.2rem);
    line-height: 1.15;
  }
}

.tech-found__tool.is-lead::before {
  width: 8px;
  height: 8px;
  opacity: 1;
  box-shadow: 0 0 14px rgba(70, 224, 255, 0.9);
}

.tech-found__field.is-in .tech-found__tool {
  opacity: 1;
  transform: translate(-50%, -50%);
  transition:
    opacity 0.45s var(--ease-out),
    transform 0.45s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 40ms);
}

@media (prefers-reduced-motion: no-preference) {
  .tech-found__field.is-in .tech-found__tool.is-lead::before {
    animation: tech-node-pulse 2.8s ease-in-out infinite;
    animation-delay: calc(var(--i, 0) * 0.45s);
  }
}

@keyframes tech-node-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(70, 224, 255, 0.65);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(70, 224, 255, 0);
  }
}

@media (min-width: 900px) {
  .tech-found {
    grid-template-columns: 1.15fr 0.85fr;
    grid-template-areas: "board copy";
    gap: var(--space-9);
    align-items: stretch;
  }

  .tech-found__board {
    min-height: 100%;
  }

  .tech-found__lane::before {
    left: auto;
    right: 0;
  }

  .tech-found__lane:hover,
  .tech-found__lane.is-active {
    transform: translateX(-4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tech-found__tool,
  .tech-found__field.is-in .tech-found__tool {
    opacity: 1;
    transform: translate(-50%, -50%);
    transition: none;
  }

  .tech-found__board::before,
  .tech-found__tool.is-lead::before {
    animation: none;
  }
}

/* Compact AI strip on homepage */
.ai-home {
  background:
    radial-gradient(ellipse 34% 40% at 78% 44%, rgba(70, 224, 255, 0.12), transparent 62%),
    radial-gradient(ellipse 28% 34% at 92% 80%, rgba(168, 85, 247, 0.1), transparent 60%),
    var(--bg-950);
}

.ai-home__intro {
  margin-bottom: var(--space-6);
}

.ai-home__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  align-items: center;
}

.ai-home__viz {
  min-height: clamp(340px, 52vw, 560px);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(70, 224, 255, 0.18);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 55% 60% at 48% 40%, rgba(70, 224, 255, 0.22), transparent 58%),
    radial-gradient(ellipse 42% 38% at 78% 82%, rgba(46, 123, 255, 0.16), transparent 64%),
    radial-gradient(ellipse 70% 50% at 50% 108%, rgba(8, 20, 40, 0.95), transparent 58%),
    linear-gradient(165deg, #0b1a2e 0%, #071018 46%, #0a1526 100%);
  box-shadow:
    var(--shadow-card),
    inset 0 1px 0 rgba(70, 224, 255, 0.14);
}

.ai-home__viz::before {
  content: "";
  position: absolute;
  inset: -18%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 46% 36%, rgba(70, 224, 255, 0.32), transparent 38%),
    radial-gradient(circle at 58% 62%, rgba(79, 156, 255, 0.14), transparent 34%);
}

.ai-home__viz::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 78% 68% at 50% 46%, transparent 38%, rgba(4, 8, 18, 0.55) 100%);
}

@media (prefers-reduced-motion: no-preference) {
  .ai-home__viz::before {
    animation: ai-viz-glow 7.5s ease-in-out infinite;
  }
}

@keyframes ai-viz-glow {
  0%,
  100% {
    opacity: 0.65;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}

.ai-home__viz .ai__canvas,
.ai-home__viz .ai__fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.ai-home__viz .ai__fallback svg {
  width: auto;
  height: 90%;
  max-width: 78%;
  padding: 0.35rem !important;
  opacity: 0.95;
  filter: drop-shadow(0 0 18px rgba(70, 224, 255, 0.35));
}

@media (min-width: 900px) {
  .ai-home__grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: var(--space-9);
  }
}

/* ========== HOME UX COMPACT PASS ========== */
.home-main .services-stage__intro {
  margin-bottom: var(--section-intro-gap);
}

.home-main .services-stage__title-row .section__title {
  max-width: none;
}

.home-main .svc-board__tab {
  padding: 0.82rem 0.7rem;
}

.home-main .svc-board__panel {
  padding: clamp(1.15rem, 2.2vw, 1.7rem);
  min-height: 20rem;
}

.home-main .svc-board__heading {
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
}

.home-main .svc-board__caps {
  margin-bottom: var(--space-5);
}

.home-main .ai-home__grid {
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
}

.home-main .ai-home__viz {
  min-height: 0;
  height: auto;
  aspect-ratio: 5 / 4;
  max-height: 420px;
  border-radius: var(--radius-lg);
}

.home-main .technology__intro {
  margin-bottom: var(--section-intro-gap);
}

.home-main .technology .section__title {
  margin-bottom: 0;
}

.home-main .technology .section__lead {
  margin-bottom: 0;
}

.home-main .tech-found {
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
}

.home-main .tech-found__lanes {
  margin-top: var(--space-3);
  gap: 0.3rem;
}

.home-main .tech-found__lane {
  gap: 0.2rem;
  padding: 0.55rem 0.85rem;
}

.home-main .tech-found__name {
  font-size: 0.95rem;
}

.home-main .tech-found__role {
  font-size: 0.8125rem;
  line-height: 1.4;
}

.home-main .tech-found__board {
  min-height: 0;
  height: auto;
  aspect-ratio: 5 / 4;
  max-height: 420px;
  border-radius: var(--radius-lg);
}

.home-main .tech-found__tool.is-lead {
  font-size: clamp(1.05rem, 2vw, 1.45rem);
}

@media (min-width: 900px) {
  .home-main .svc-board__panel {
    min-height: 24rem;
  }
}

@media (min-width: 1024px) {
  .home-main .ai-home__grid {
    grid-template-columns: 1fr 0.95fr;
    gap: clamp(1.5rem, 3.5vw, 2.5rem);
    align-items: start;
  }

  .home-main .ai-home__viz {
    max-height: 440px;
    align-self: stretch;
  }

  .home-main .tech-found {
    grid-template-columns: 0.95fr 1fr;
    grid-template-areas: "board copy";
    gap: clamp(1.5rem, 3.5vw, 2.5rem);
    align-items: start;
  }

  .home-main .tech-found__board {
    max-height: 440px;
    align-self: stretch;
  }
}
