/* 深色科技层：盖在原有版式之上，不改文案结构 */

:root {
  --ink: #e7f3ff;
  --ink-soft: #b7c9dc;
  --line: rgba(90, 196, 255, 0.22);
  --surface: #04070d;
  --blue-50: rgba(8, 20, 38, 0.72);
  --blue-100: #d7f4ff;
  --blue-300: #7ad7ff;
  --blue-500: #3ec6ff;
}

html {
  color-scheme: dark;
}

body {
  color: var(--ink);
  background: #04070d;
}

#bg-webgl,
.bg-veil {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#bg-webgl {
  z-index: 0;
  display: block;
}

.bg-veil {
  z-index: 1;
  background:
    radial-gradient(ellipse 70% 50% at 78% 28%, rgba(20, 90, 180, 0.16), transparent 60%),
    linear-gradient(180deg, rgba(4, 7, 13, 0.2), rgba(4, 7, 13, 0.55));
}

.bg-veil::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(80, 180, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80, 180, 255, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 50% 20%, #000 20%, transparent 75%);
}

main,
.site-footer {
  position: relative;
  z-index: 2;
}

.site-header {
  background: linear-gradient(180deg, rgba(4, 8, 16, 0.72), rgba(4, 8, 16, 0));
}

.site-header.is-solid {
  background: rgba(4, 10, 18, 0.82);
  border-bottom: 1px solid rgba(90, 196, 255, 0.16);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.nav a::after,
.quick-item::before {
  background: #3ec6ff;
}

.nav-cta {
  border-color: rgba(90, 220, 255, 0.55);
  box-shadow: inset 0 0 0 1px rgba(90, 220, 255, 0.08);
}

.nav-cta:hover {
  background: #3ec6ff;
  color: #041018 !important;
  border-color: #3ec6ff;
}

.hero-bg,
.hero-circuit {
  opacity: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4, 8, 14, 0.82) 0%, rgba(4, 8, 14, 0.42) 38%, rgba(4, 8, 14, 0.02) 68%),
    linear-gradient(180deg, rgba(4, 8, 14, 0.45), transparent 24%, rgba(4, 8, 14, 0.62));
}

.hero-brand,
.hero-support {
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.55);
}

.hero-bar {
  background: rgba(6, 18, 34, 0.55);
  border: 1px solid rgba(90, 210, 255, 0.38);
  backdrop-filter: blur(10px);
}

.btn-primary {
  background: linear-gradient(90deg, #1494ff, #5af0ff);
  color: #041018;
  box-shadow: 0 0 22px rgba(70, 200, 255, 0.35);
}

.btn-primary:hover {
  background: #8af6ff;
}

.btn-ghost {
  border-color: rgba(140, 220, 255, 0.55);
  background: rgba(4, 12, 24, 0.28);
  backdrop-filter: blur(8px);
}

.about,
.products,
.solutions,
.cases,
.clients,
.capabilities {
  background: linear-gradient(180deg, rgba(4, 7, 13, 0.78), rgba(4, 7, 13, 0.86));
}

.quick-rail,
.contact {
  background: transparent;
}

.quick-rail {
  border-top: 1px solid rgba(90, 196, 255, 0.16);
  border-bottom: 1px solid rgba(90, 196, 255, 0.12);
  background: rgba(4, 10, 20, 0.46);
  backdrop-filter: blur(14px);
}

#sphere-links {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
  overflow: visible;
}

#sphere-links line {
  stroke: rgba(126, 220, 255, 0.85);
  stroke-width: 1.25;
  stroke-linecap: round;
}

#sphere-links line.is-hot {
  stroke: #d9f8ff;
  stroke-width: 2;
}

.quick-item.is-linked {
  background: rgba(16, 64, 112, 0.55);
  box-shadow: inset 0 2px 0 #7ad7ff, 0 0 28px rgba(60, 190, 255, 0.22);
}

.quick-item.is-linked::before {
  transform: scaleY(1);
}

.orbit-stage {
  position: relative;
  height: 100vh;
  height: 100dvh;
  background: transparent;
  overflow: visible;
  z-index: 5;
}

.orbit-stage.fp-page {
  overflow: visible;
}

.orbit-sticky {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
  z-index: 6;
}

/* ---------- Fullpage 整页切换 ---------- */
html.is-fullpage,
html.is-fullpage body {
  height: 100%;
  overflow: hidden;
  overscroll-behavior: none;
  touch-action: none;
}

html.is-fullpage main#top {
  position: relative;
  will-change: transform;
  transition: transform 0.72s cubic-bezier(0.22, 0.61, 0.36, 1);
  backface-visibility: hidden;
}

html.is-fullpage.is-fp-instant main#top {
  transition: none;
}

.fp-page {
  height: 100vh;
  height: 100dvh;
  box-sizing: border-box;
  overflow: hidden;
}

.fp-page.section {
  display: flex;
  flex-direction: column;
  padding: 84px 0 28px;
}

.fp-page.section > .container {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-y: contain;
  -webkit-overflow-scrolling: touch;
}

.fp-page.hero {
  display: flex;
  align-items: flex-end;
}

.fp-page.contact {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 84px 0 0;
}

.fp-page.contact > .container {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior-y: contain;
}

.fp-page .site-footer {
  flex: 0 0 auto;
  margin-top: auto;
}

.fp-page.cases {
  padding-top: 112px;
  padding-bottom: 12px;
}

.fp-page.cases .section-head {
  position: relative;
  z-index: 30;
  margin-bottom: 24px;
}

.fp-page.cases .case-orbit-stage {
  position: relative;
  z-index: 1;
  min-height: 0;
  height: min(620px, calc(100vh - 180px));
  /* 整块展示区向下偏移，保持原尺寸 */
  transform: translateY(48px);
}

.fp-page.cases .case-orbit-scene {
  height: 100%;
  min-height: 0;
}

/* 客户 + 服务能力 合一屏 */
.fp-page.clients {
  padding-top: 96px;
  padding-bottom: 20px;
}

.fp-page.clients .clients-cap-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.fp-page.clients .section-head {
  margin-bottom: 0;
}

.fp-page.clients .cap-head {
  margin-top: 8px;
}

.fp-page.clients .cap-head h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
}

.fp-page.clients .cap-head p {
  margin-top: 6px;
}

.fp-page.clients .client-grid {
  gap: 10px;
  flex: 0 0 auto;
}

.fp-page.clients .client-grid figure {
  min-height: 58px;
  padding: 6px 8px;
}

.fp-page.clients .client-grid img {
  height: 38px;
}

.fp-page.clients .cap-row {
  flex: 0 0 auto;
  margin-top: 0;
}

.orbit-menus {
  position: absolute;
  inset: 0;
  overflow: visible;
  pointer-events: none;
  z-index: 7;
}

.orbit-card {
  position: absolute;
  z-index: 8;
  left: 50%;
  top: 50%;
  width: min(220px, 34vw);
  padding: 18px 18px 16px;
  color: #eef8ff;
  background: rgba(6, 18, 34, 0.96);
  border: 1px solid rgba(120, 214, 255, 0.55);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 24px rgba(60, 180, 255, 0.12),
    inset 0 0 0 1px rgba(120, 214, 255, 0.1);
  /* 点击缩放时 backdrop-filter 容易把文字糊成一片，动画期间关掉 */
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
  transform-origin: center center;
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  isolation: isolate;
}

.orbit-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.orbit-card span {
  display: block;
  color: rgba(210, 232, 248, 0.72);
  font-size: 0.82rem;
}

.orbit-card.is-linked {
  border-color: #d8f7ff;
  box-shadow: 0 0 28px rgba(80, 200, 255, 0.35), inset 0 0 0 1px rgba(180, 240, 255, 0.25);
}

.orbit-card.is-focus {
  border-color: #e8fbff;
  box-shadow: 0 0 36px rgba(90, 210, 255, 0.45), inset 0 0 0 1px rgba(200, 245, 255, 0.3);
  z-index: 12;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: rgba(8, 24, 44, 0.96);
}

body.is-orbit-focusing {
  cursor: progress;
}

body.is-orbit-focusing .orbit-card,
body.is-orbit-dissolve .orbit-card {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  filter: none !important;
}

body.is-orbit-focusing #sphere-links {
  opacity: 0 !important;
  transition: opacity 0.35s ease;
}

body.is-orbit-dissolve .orbit-card.is-focus {
  box-shadow: 0 0 40px rgba(90, 210, 255, 0.5), inset 0 0 0 1px rgba(180, 240, 255, 0.28);
  border-color: #e8fbff;
}

.tech-wipe {
  position: fixed;
  inset: 0;
  z-index: 12000;
  pointer-events: none;
  opacity: 0;
  background: rgba(4, 10, 20, 0.92);
}

.tech-wipe.is-run {
  animation: techWipeIn 0.28s ease forwards;
}

.tech-wipe.is-done {
  animation: techWipeOut 0.48s ease forwards;
}

/* 扫描线只在擦除过程中短暂出现，结束后随节点删除，不再横切章节 */
.tech-wipe.is-run::before,
.tech-wipe.is-done::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(154, 239, 255, 0.85), transparent);
  box-shadow: 0 0 12px rgba(90, 212, 255, 0.45);
  animation: techWipeBeam 0.48s ease forwards;
}

@keyframes techWipeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes techWipeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes techWipeBeam {
  0% { opacity: 0; transform: scaleX(0.3); }
  35% { opacity: 1; transform: scaleX(1); }
  100% { opacity: 0; transform: scaleX(1); }
}

.section.is-tech-enter,
.contact.is-tech-enter {
  position: relative;
  isolation: isolate;
}

/* 章节入场光效：只覆盖标题区，避免扫描线横切卡片 */
.tech-enter-fx {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: min(220px, 32vh);
  z-index: 20;
  pointer-events: none;
  overflow: hidden;
}

.tech-enter-fx i,
.tech-enter-fx b,
.tech-enter-fx span {
  position: absolute;
  inset: 0;
  display: block;
}

.tech-enter-fx i {
  background:
    linear-gradient(180deg, rgba(90, 210, 255, 0.16), transparent 70%),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 3px,
      rgba(120, 220, 255, 0.04) 3px,
      rgba(120, 220, 255, 0.04) 4px
    );
  animation: techFxVeil 0.85s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.tech-enter-fx b {
  top: 0;
  bottom: auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, #9aefff, #fff, #9aefff, transparent);
  box-shadow: 0 0 14px #7ad7ff, 0 0 28px rgba(90, 210, 255, 0.45);
  animation: techFxScan 0.75s cubic-bezier(0.15, 0.85, 0.25, 1) forwards;
}

.tech-enter-fx span {
  inset: 18% 10% 28%;
  border: 1px solid rgba(122, 215, 255, 0.4);
  box-shadow: inset 0 0 20px rgba(60, 180, 255, 0.12);
  clip-path: inset(0 50% 0 50%);
  animation: techFxFrame 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes techFxVeil {
  0% { opacity: 0; }
  25% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes techFxScan {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(180px); opacity: 0; }
}

@keyframes techFxFrame {
  0% {
    opacity: 0;
    clip-path: inset(0 50% 0 50%);
  }
  40% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
  100% {
    opacity: 0;
    clip-path: inset(0 0 0 0);
  }
}

/* 章节内容块：等待时完全透明，避免模糊半裁切残影 */
.tech-rise:not(.is-inview) {
  opacity: 0 !important;
  transform: translateY(28px) !important;
  filter: none !important;
  clip-path: none !important;
  transition: none !important;
  will-change: transform, opacity, filter;
}

.tech-rise {
  position: relative;
}

.tech-rise.is-inview {
  opacity: 1;
}

.tech-rise.is-tech-rising {
  animation: techRiseIn 1.25s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

/* 方案卡片：干净错峰浮现，去掉每张卡自己的扫描线 */
.solution-item.tech-rise.is-tech-rising {
  animation-name: techCardRise !important;
}

.solution-item.tech-rise::after,
.client-grid.tech-rise::after {
  content: none !important;
  display: none !important;
}

@keyframes techRiseIn {
  0% {
    opacity: 0;
    transform: translateY(32px) scale(0.985);
    filter: brightness(1.12);
  }
  45% {
    opacity: 1;
    filter: brightness(1.05);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: none;
  }
}

@keyframes techCardRise {
  0% {
    opacity: 0;
    transform: translateY(28px);
    box-shadow: 0 0 0 rgba(80, 200, 255, 0);
    border-color: rgba(120, 214, 255, 0.2);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 28px rgba(80, 200, 255, 0.22);
    border-color: rgba(160, 235, 255, 0.65);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
    border-color: rgba(120, 214, 255, 0.45);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tech-wipe,
  .tech-wipe.is-run::before,
  .tech-wipe.is-done::before,
  .tech-enter-fx i,
  .tech-enter-fx b,
  .tech-enter-fx span {
    animation: none !important;
  }

  .tech-rise:not(.is-inview) {
    transform: translateY(12px) !important;
  }

  .tech-rise.is-tech-rising,
  .solution-item.tech-rise.is-tech-rising {
    animation: techRiseInSoft 0.4s ease forwards !important;
  }
}

@keyframes techRiseInSoft {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.section-label {
  color: #5ad4ff;
  letter-spacing: 0.2em;
}

.section-label::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1px;
  margin-right: 10px;
  background: #5ad4ff;
  vertical-align: middle;
  box-shadow: 0 0 8px #5ad4ff;
}

.section-head h2,
.cases .section-head h2,
.pillar h3,
.product-panel h3,
.solution-item h3,
.cap-item h3,
.case-board h3 {
  color: #f3fbff;
}

.section-head p,
.cases .section-head p,
.about-copy p,
.pillar p,
.product-panel > div > p,
.solution-item p,
.cap-item p {
  color: var(--ink-soft);
}

.pillar,
.solution-item,
.product-panel,
.cap-item,
.case-board {
  background: rgba(7, 16, 30, 0.72);
  border: 1px solid rgba(90, 196, 255, 0.16);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
}

.pillar {
  border-left: 3px solid #3ec6ff;
}

.pillar:nth-child(2) {
  border-left-color: #7ad7ff;
}

.pillar:nth-child(3) {
  border-left-color: #b8fff2;
}

.solution-item {
  border-top: 2px solid #3ec6ff;
}

.solution-item:hover,
.cap-item:hover,
.quick-item:hover {
  background: rgba(16, 42, 74, 0.78);
  box-shadow: 0 0 0 1px rgba(90, 210, 255, 0.28), 0 18px 40px rgba(0, 0, 0, 0.32);
}

.product-tab {
  color: #d5e8f8;
  border-color: rgba(90, 196, 255, 0.28);
  background: rgba(6, 16, 32, 0.55);
}

.product-tab:hover {
  color: #9aecff;
  border-color: #3ec6ff;
}

.product-tab.is-active {
  background: linear-gradient(90deg, #0c4f92, #1494c8);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 18px rgba(40, 160, 255, 0.35);
}

.product-visual {
  border: 1px solid rgba(120, 220, 255, 0.2);
  box-shadow: inset 0 0 40px rgba(40, 140, 255, 0.18);
}

.tags span {
  background: rgba(16, 48, 82, 0.65);
  color: #c8f3ff;
  border-color: rgba(90, 196, 255, 0.22);
}

.cases .section-label {
  color: #7ad7ff;
}

.case-board-head span,
.case-nav button i {
  color: #7ad7ff;
}

.case-col,
.case-plant-top {
  background: rgba(5, 16, 32, 0.62);
  border: 1px solid rgba(90, 196, 255, 0.1);
}

.case-col h4,
.case-group h5,
.case-note,
.case-plant-top h4 {
  background: linear-gradient(90deg, rgba(12, 70, 120, 0.95), rgba(16, 110, 150, 0.75));
}

.case-chips li {
  background: rgba(8, 28, 52, 0.92);
  color: #e7f6ff;
  border-color: rgba(90, 196, 255, 0.28);
}

.case-metrics span,
.case-board .case-metrics span {
  color: #d7f4ff;
  background: rgba(10, 36, 64, 0.8);
  border-color: rgba(90, 196, 255, 0.28);
}

.case-metric-board span,
.case-metric-board.cols2 span,
.case-metric-board.cols2 span.is-note {
  background: rgba(8, 24, 44, 0.55);
  color: #d5e7f6;
  border-left-color: #3ec6ff;
}

.case-metric-board b,
.case-metric-board.cols2 b {
  color: #8af0ff;
}

.case-life h4.is-label,
.case-client b,
.case-life .lead.blue {
  color: #9ee7ff;
}

.case-life .lead.red,
.case-hot {
  color: #ff9b8a;
}

.case-client img {
  background: #fff;
  padding: 6px 10px;
}

.case-pager button {
  border-color: rgba(90, 210, 255, 0.4);
  background: rgba(6, 18, 34, 0.45);
}

.case-pager button:hover {
  background: rgba(30, 90, 140, 0.45);
}

/* 案例：中央显示屏 + 环绕悬浮名称（不参与 tech-rise，保证子项持续浮动） */
.case-orbit-stage {
  position: relative;
  margin-top: 8px;
  opacity: 1;
  transform: none;
  filter: none;
  clip-path: none;
}

.case-orbit-scene {
  position: relative;
  height: min(88vh, 900px);
  min-height: 700px;
  overflow: visible;
}

.case-orbit-ring {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.case-orbit-item {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(150px, 28vw);
  padding: 10px 12px;
  pointer-events: auto;
  text-align: left;
  color: rgba(220, 240, 255, 0.9);
  background: rgba(6, 18, 34, 0.92);
  border: 1px solid rgba(120, 214, 255, 0.45);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3), 0 0 16px rgba(40, 140, 255, 0.16);
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  transition: border-color 0.25s, background 0.25s, color 0.25s, box-shadow 0.25s;
  will-change: transform;
  contain: layout style;
  filter: none !important;
  animation: caseLabelBreath 3.8s ease-in-out infinite;
}

.case-orbit-item:nth-child(3n) {
  animation-delay: -0.8s;
  animation-duration: 4.2s;
}

.case-orbit-item:nth-child(3n + 1) {
  animation-delay: -1.6s;
  animation-duration: 3.4s;
}

.case-orbit-item.is-back {
  filter: none !important;
}

.case-orbit-item.is-active {
  opacity: 1 !important;
  animation: none;
  box-shadow: 0 0 28px rgba(80, 200, 255, 0.42);
}

@keyframes caseLabelBreath {
  0%,
  100% {
    opacity: 0.88;
  }
  50% {
    opacity: 1;
  }
}

.case-orbit-item i {
  display: block;
  margin-bottom: 4px;
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: #7ad7ff;
}

.case-orbit-item span {
  display: block;
  font-size: 0.86rem;
  line-height: 1.35;
}

.case-orbit-item:hover,
.case-orbit-item.is-active {
  color: #fff;
  border-color: #e8fbff;
  background: rgba(12, 48, 82, 0.96);
  box-shadow: 0 0 28px rgba(80, 200, 255, 0.4);
}

.case-orbit-item.is-active {
  z-index: 40 !important;
}

.case-screen {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 6;
  width: min(560px, 58vw);
  height: min(480px, 62vh);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.case-screen-bezel {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 12px;
  overflow: hidden;
  pointer-events: auto;
  background:
    linear-gradient(180deg, rgba(18, 48, 78, 0.95), rgba(6, 16, 30, 0.96));
  border: 1px solid rgba(120, 214, 255, 0.45);
  box-shadow:
    0 0 0 1px rgba(80, 180, 255, 0.12) inset,
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(40, 140, 255, 0.18);
  transition: box-shadow 0.35s ease;
}

.case-screen-chrome {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  min-height: 18px;
}

.case-screen-chrome span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #3ec6ff;
  box-shadow: 0 0 8px rgba(62, 198, 255, 0.8);
  opacity: 0.85;
}

.case-screen-chrome span:nth-child(2) {
  background: #8af0ff;
}

.case-screen-chrome span:nth-child(3) {
  background: #1494ff;
}

.case-screen-chrome b {
  margin-left: auto;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: rgba(170, 220, 255, 0.7);
  font-weight: 600;
}

.case-screen-viewport {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 4px;
  border: 1px solid rgba(90, 196, 255, 0.2);
  background:
    linear-gradient(180deg, rgba(4, 12, 24, 0.5), rgba(4, 12, 24, 0.82)),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 3px,
      rgba(80, 180, 255, 0.03) 3px,
      rgba(80, 180, 255, 0.03) 4px
    );
}

.case-screen-viewport {
  transition: opacity 0.05s linear;
}

.case-screen-viewport.is-out {
  animation: caseScreenOut 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.case-screen-viewport.is-in {
  animation: caseScreenIn 0.78s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.case-screen-bezel.is-switching {
  box-shadow:
    0 0 0 1px rgba(80, 180, 255, 0.2) inset,
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 48px rgba(60, 170, 255, 0.28);
}

.case-screen-bezel.is-switching::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 42px;
  height: 1px;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(170, 235, 255, 0.85), transparent);
  box-shadow: 0 0 12px rgba(90, 210, 255, 0.45);
  animation: caseSwitchBeam 0.95s cubic-bezier(0.22, 0.8, 0.2, 1) forwards;
}

.case-screen-viewport .case-board {
  background: transparent;
  border: none;
  color: #e7f3ff;
  padding: 12px 10px 18px;
}

.case-screen-viewport .case-board h3 {
  color: #f2fbff;
}

.case-screen-bezel .case-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}

.case-screen-bezel .case-count {
  color: rgba(180, 220, 255, 0.8);
  font-variant-numeric: tabular-nums;
}

.case-orbit-rail {
  display: none;
  gap: 8px;
  margin-top: 18px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.case-orbit-rail button {
  flex: 0 0 auto;
  display: grid;
  gap: 2px;
  min-width: 120px;
  padding: 10px 12px;
  text-align: left;
  color: rgba(220, 240, 255, 0.82);
  background: rgba(6, 18, 34, 0.82);
  border: 1px solid rgba(120, 214, 255, 0.35);
}

.case-orbit-rail button i {
  font-style: normal;
  color: #7ad7ff;
  font-size: 0.72rem;
}

.case-orbit-rail button.is-active {
  color: #fff;
  border-color: #d8f7ff;
  box-shadow: 0 0 20px rgba(80, 200, 255, 0.28);
}

@keyframes caseScreenOut {
  from {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
  to {
    opacity: 0;
    transform: translate3d(0, 12px, 0);
  }
}

@keyframes caseScreenIn {
  from {
    opacity: 0;
    transform: translate3d(0, -14px, 0);
  }
  60% {
    opacity: 1;
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes caseSwitchBeam {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  18% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(360px);
  }
}

@media (max-width: 900px) {
  .case-orbit-scene {
    height: auto;
    min-height: 0;
    perspective: none;
  }

  .case-orbit-ring {
    display: none;
  }

  .case-screen {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: min(70vh, 620px);
    transform: none;
  }

  .case-orbit-rail {
    display: flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  .case-screen-viewport.is-out,
  .case-screen-viewport.is-in {
    animation-duration: 0.01ms !important;
  }
}

.client-grid figure {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(140, 210, 255, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.cap-row {
  background: transparent;
  border: none;
  gap: 16px;
}

.cap-item {
  background: rgba(7, 16, 30, 0.72);
}

.contact {
  background: transparent;
}

.contact .container {
  padding: 48px 28px;
  background: rgba(6, 16, 30, 0.62);
  border: 1px solid rgba(90, 196, 255, 0.18);
  backdrop-filter: blur(14px);
}

.site-footer {
  background: rgba(3, 6, 12, 0.88);
  border-top: 1px solid rgba(90, 196, 255, 0.14);
}

.page-intro {
  background:
    radial-gradient(circle at 50% 42%, rgba(20, 80, 150, 0.35), transparent 42%),
    #04070d;
}

.page-intro-bar i {
  background: linear-gradient(90deg, #1494ff, #8af6ff);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #071018;
}

::-webkit-scrollbar-thumb {
  background: #1a5278;
  border-radius: 8px;
}

@media (max-width: 720px) {
  .nav {
    background: rgba(4, 10, 18, 0.96);
    border-bottom: 1px solid rgba(90, 196, 255, 0.16);
  }

  .contact .container {
    padding: 36px 18px;
  }
}
