/* =========================================================
   启点工作室 · 前台主题（默认日间，可切夜间）
   ========================================================= */

:root,
[data-theme="light"] {
  --bg-0: #eef5ff;
  --bg-1: #ffffff;
  --bg-2: #e8f1fc;
  --panel: rgba(255, 255, 255, 0.86);
  --panel-solid: #ffffff;
  --line: rgba(37, 99, 235, 0.1);
  --line-strong: rgba(45, 140, 240, 0.4);
  --text: #1a2333;
  --muted: #6b7c93;
  --cyan: #2d8cf0;
  --cyan-dim: #1f74d4;
  --amber: #5aa8ff;
  --gold: #2d8cf0;
  --gold-bright: #69b1ff;
  --glow: 0 18px 48px rgba(45, 140, 240, 0.14);
  --hero-grad: linear-gradient(120deg, #1a2333 0%, #2d8cf0 60%, #5aa8ff 100%);
  --contact-bg: linear-gradient(165deg, #f4f8ff 0%, #e8f1fc 45%, #eef5ff 100%);
  --contact-text: #1a2333;
  --contact-muted: #6b7c93;
  --header-scrolled: rgba(238, 245, 255, 0.88);
  --grid-line: transparent;
  --scan: rgba(45, 140, 240, 0.03);
  --grad-a: #f4f8ff;
  --grad-b: #e3efff;
  --grad-c: #ffffff;
  --grad-d: #d4e7ff;
  --radius: 16px;
  --container: 1120px;
  --font-display: "Noto Sans SC", "Segoe UI", system-ui, sans-serif;
  --font-body: "Noto Sans SC", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}

[data-theme="dark"] {
  --bg-0: #0b1220;
  --bg-1: #111a2b;
  --bg-2: #182338;
  --panel: rgba(17, 26, 43, 0.88);
  --panel-solid: #142033;
  --line: rgba(148, 175, 210, 0.14);
  --line-strong: rgba(90, 140, 200, 0.4);
  --text: #e8eef8;
  --muted: #93a4bd;
  --cyan: #6b9fd4;
  --cyan-dim: #4a7fb8;
  --amber: #8bb4dd;
  --gold: #6b9fd4;
  --gold-bright: #9bc2e6;
  --glow: 0 10px 28px rgba(0, 0, 0, 0.28);
  --hero-grad: linear-gradient(120deg, #e8eef8 10%, #8bb4dd 55%, #6b9fd4 100%);
  --contact-bg: linear-gradient(165deg, #111a2b 0%, #162338 45%, #0f1a2c 100%);
  --contact-text: #e8eef8;
  --contact-muted: rgba(232, 238, 248, 0.55);
  --header-scrolled: rgba(11, 18, 32, 0.9);
  --grid-line: rgba(107, 159, 212, 0.055);
  --scan: rgba(107, 159, 212, 0.03);
  --grad-a: #0b1524;
  --grad-b: #132844;
  --grad-c: #0f1c30;
  --grad-d: #1a3558;
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg-0);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background 0.25s, color 0.25s;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }

::selection {
  background: color-mix(in srgb, var(--cyan) 28%, transparent);
  color: var(--text);
}

.container {
  width: min(var(--container), calc(100% - 2.4rem));
  margin-inline: auto;
}

/* Atmosphere · 51.la 风格柔蓝渐变，无方格 */
.tech-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(980px 560px at 8% -5%, rgba(105, 177, 255, 0.45), transparent 58%),
    radial-gradient(860px 520px at 92% 8%, rgba(45, 140, 240, 0.22), transparent 55%),
    radial-gradient(720px 480px at 70% 100%, rgba(180, 214, 255, 0.55), transparent 58%),
    linear-gradient(155deg, #f4f8ff 0%, #e3efff 36%, #f7fbff 68%, #dcebff 100%);
  background-size: 130% 130%;
  animation: bgDrift 20s ease-in-out infinite alternate;
}

.tech-bg::before,
.tech-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  pointer-events: none;
}

.tech-bg::before {
  width: min(460px, 58vw);
  height: min(460px, 58vw);
  left: -8%;
  top: 22%;
  background: rgba(45, 140, 240, 0.18);
  animation: orbFloat 15s ease-in-out infinite;
}

.tech-bg::after {
  width: min(400px, 52vw);
  height: min(400px, 52vw);
  right: -6%;
  bottom: 8%;
  background: rgba(105, 177, 255, 0.22);
  animation: orbFloat 17s ease-in-out infinite reverse;
}

.tech-grid {
  display: none !important;
}

.tech-scan {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(45, 140, 240, 0.025), transparent);
  background-size: 100% 240%;
  animation: scanMove 12s linear infinite;
  opacity: 0.55;
}

@keyframes bgDrift {
  0% { background-position: 0% 20%; }
  50% { background-position: 60% 40%; }
  100% { background-position: 100% 80%; }
}

@keyframes orbFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(24px, -30px, 0) scale(1.08); }
}

@keyframes gridPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.85; }
}

@keyframes scanMove {
  0% { background-position: 0 0; }
  100% { background-position: 0 220%; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes softPulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

@keyframes shimmerLine {
  0% { transform: scaleX(0.35); opacity: 0.35; }
  50% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(0.35); opacity: 0.35; }
}

@keyframes sheen {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.reveal { animation: rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both; }
.reveal-d1 { animation-delay: 0.1s; }
.reveal-d2 { animation-delay: 0.22s; }
.reveal-d3 { animation-delay: 0.34s; }

[data-theme="dark"] .tech-bg {
  background:
    radial-gradient(900px 520px at 10% 0%, rgba(45, 140, 240, 0.28), transparent 55%),
    radial-gradient(760px 480px at 90% 15%, rgba(105, 177, 255, 0.14), transparent 55%),
    linear-gradient(155deg, #0b1524 0%, #132844 42%, #0f1c30 100%);
}

@media (prefers-reduced-motion: reduce) {
  .tech-bg,
  .tech-bg::before,
  .tech-bg::after,
  .tech-scan,
  .reveal,
  .hud,
  .hud-card,
  .hud-core,
  .hud-ring,
  .crystal-aura,
  .crystal-orbit,
  .core-glow,
  .core-ball,
  .sat-planet .sat-ball,
  .sat-planet.has-logo .sat-ball,
  .deco-planet,
  .iso-sat,
  .iso-floor,
  .service-visual .sv-body,
  .hero-glow,
  .stat-ico .tech-ring,
  .stat-ico .tech-spin,
  .stat-ico .tech-dot,
  .stat-ico .tech-dash,
  .stat-ico .tech-check,
  .stat-ico .tech-orbit,
  .stat-ico .tech-scan,
  .section-label::after,
  .btn-primary::after {
    animation: none !important;
  }
  .iso-sat {
    opacity: 0 !important;
    visibility: hidden !important;
  }
  .iso-sat.is-on {
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
  }
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: var(--header-scrolled);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

.header-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Header logo */
.brand-link {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1.05rem;
  min-width: 0;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 9px;
  display: grid;
  place-items: center;
  position: relative;
  flex-shrink: 0;
  background: linear-gradient(145deg, #2d8cf0, #69b1ff);
  box-shadow: 0 8px 18px rgba(45, 140, 240, 0.28);
  overflow: hidden;
}

.brand-mark-letter {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

[data-theme="dark"] .brand-mark-letter {
  color: #fff;
}

.brand-wordmark {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: min(46vw, 220px);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-logo-img {
  display: block;
  height: 36px;
  width: auto;
  max-width: min(56vw, 180px);
  object-fit: contain;
}

.brand-image {
  gap: 0;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.nav {
  display: none;
  align-items: center;
  gap: 1.4rem;
}

.nav a {
  font-size: 0.92rem;
  color: var(--muted);
  transition: color 0.2s;
}

.nav a:hover,
.nav a.is-active { color: var(--cyan); }

.nav-cta {
  display: inline-flex !important;
  align-items: center;
  padding: 0.4rem 0.85rem !important;
  border-radius: 8px;
  background: linear-gradient(120deg, #1f74d4, #2d8cf0 55%, #5aa8ff);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.86rem !important;
  box-shadow: 0 8px 18px rgba(45, 140, 240, 0.22);
  animation: none;
}

.theme-toggle,
.menu-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--text);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.menu-btn {
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--panel-solid);
}

.theme-toggle {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.theme-toggle:hover {
  color: var(--cyan);
  background: transparent;
}

.menu-btn:hover {
  border-color: var(--line-strong);
}

.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

.menu-btn { gap: 5px; }
.menu-btn span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--text);
  transition: 0.25s;
}
.menu-btn.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.is-open span:nth-child(2) { opacity: 0; }
.menu-btn.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--panel-solid);
  padding: 0.6rem 1.2rem 1.1rem;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: block;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

@media (min-width: 900px) {
  .nav { display: flex; }
  .menu-btn, .mobile-nav { display: none !important; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 1.05rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.btn:hover { transform: none; }
.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #1f74d4, #2d8cf0 55%, #5aa8ff);
  color: #fff;
  box-shadow: 0 8px 18px rgba(45, 140, 240, 0.22);
  animation: none;
  border-radius: 8px;
}
.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.28) 50%, transparent 60%);
  background-size: 200% 100%;
  animation: sheen 3.6s ease-in-out infinite;
  pointer-events: none;
}
.btn-primary:hover {
  background: linear-gradient(120deg, #2d8cf0, #69b1ff);
}
.btn-ghost {
  background: var(--panel-solid);
  border-color: var(--line);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--line-strong);
  background: var(--bg-2);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 7.5rem 0 4rem;
  overflow: visible;
}

.hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: 0;
}

.hero-glow {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  width: min(460px, 62vw);
  height: min(460px, 62vw);
  right: 6%;
  top: 22%;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--cyan) 16%, transparent), transparent 70%);
  filter: blur(12px);
  animation: softPulse 6s ease-in-out infinite;
  opacity: 0.9;
}

/* 宇宙层：覆盖首屏并延伸到下方关于区 */
.universe-layer {
  position: absolute;
  left: 0;
  right: 0;
  top: 8%;
  bottom: -260px;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}

.hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}
@media (min-width: 960px) {
  .hero-layout {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
  }
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--cyan);
  transform-origin: left center;
  animation: shimmerLine 2.6s ease-in-out infinite;
}
.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.2vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: 0.01em;
  margin: 0;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: var(--text);
  font-weight: 800;
  animation: none;
}
.hero h1 {
  margin: 1rem 0 0;
  font-size: clamp(1.25rem, 2.6vw, 1.85rem);
  font-weight: 700;
  max-width: 16em;
}
.hero-desc {
  margin: 1rem 0 0;
  color: var(--muted);
  max-width: 34em;
  font-size: 1.02rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}
.hero-stage {
  position: relative;
  z-index: 2;
  min-height: 380px;
}
@media (min-width: 960px) {
  .hero-stage { min-height: 420px; }
}

/* Hero · 数字内核（高端玻璃质感） */
.iso-scene {
  position: relative;
  width: min(100%, 500px);
  height: 430px;
  margin: 0 auto;
  perspective: 1200px;
}

.iso-floor {
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 40px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(45, 140, 240, 0.28), rgba(105,177,255,0.08) 42%, transparent 70%);
  filter: blur(2px);
  animation: softPulse 5s ease-in-out infinite;
}

.crystal {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 260px;
  height: 260px;
  transform: translate(-50%, -50%);
  transform-style: preserve-3d;
  z-index: 2;
}

.crystal-aura {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, rgba(255,255,255,0.55), rgba(105,177,255,0.18) 32%, rgba(45,140,240,0.08) 52%, transparent 68%);
  animation: softPulse 4s ease-in-out infinite;
  pointer-events: none;
}

/* 多层倾斜轨道 */
.crystal-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  border: 1.5px solid rgba(45, 140, 240, 0.2);
  pointer-events: none;
  transform-style: preserve-3d;
}
.crystal-orbit b {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff, #2d8cf0);
  box-shadow: 0 0 14px rgba(45, 140, 240, 0.75);
  top: -4px;
  left: 50%;
  margin-left: -4px;
}

.crystal-orbit.o1 {
  width: 250px;
  height: 250px;
  margin: -125px 0 0 -125px;
  border-top-color: rgba(45, 140, 240, 0.7);
  border-right-color: rgba(105, 177, 255, 0.35);
  transform: rotateX(68deg) rotateZ(0deg);
  animation: orbitA 9s linear infinite;
}
.crystal-orbit.o2 {
  width: 200px;
  height: 200px;
  margin: -100px 0 0 -100px;
  border-style: dashed;
  border-color: rgba(45, 140, 240, 0.22);
  border-left-color: rgba(105, 177, 255, 0.55);
  transform: rotateX(68deg) rotateY(18deg);
  animation: orbitB 14s linear infinite reverse;
}
.crystal-orbit.o3 {
  width: 280px;
  height: 100px;
  margin: -50px 0 0 -140px;
  border-color: rgba(45, 140, 240, 0.12);
  background: linear-gradient(90deg, transparent, rgba(45,140,240,0.06), transparent);
  transform: rotateX(0deg);
  filter: blur(0.2px);
}

/* 发光主行星（加大） */
.crystal-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 128px;
  height: 128px;
  transform: translate(-50%, -50%);
  z-index: 3;
}
.core-glow {
  position: absolute;
  inset: -36px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45,140,240,0.5), rgba(105,177,255,0.14) 42%, transparent 70%);
  animation: softPulse 3.2s ease-in-out infinite;
}
.core-ball {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 26%, #ffffff 0%, #dcebff 24%, #7eb9ff 52%, #2d8cf0 78%, #1a5fad 100%);
  box-shadow:
    inset 0 -14px 26px rgba(31, 116, 212, 0.4),
    inset 0 10px 18px rgba(255,255,255,0.7),
    0 22px 48px rgba(45, 140, 240, 0.38);
  animation: coreFloat 4.8s ease-in-out infinite;
}
.core-shine {
  position: absolute;
  left: 16%;
  top: 14%;
  width: 36px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.78);
  filter: blur(1.5px);
  transform: rotate(-28deg);
}

/* 装饰小行星：铺满宇宙层，可游到下方文案区域 */
.deco-planet {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
  opacity: 0.92;
}
.deco-planet::after {
  content: "";
  position: absolute;
  left: 22%;
  top: 18%;
  width: 35%;
  height: 22%;
  border-radius: 50%;
  background: rgba(255,255,255,0.7);
  filter: blur(0.5px);
  transform: rotate(-28deg);
}

.dp1 {
  width: 18px; height: 18px; left: 8%; top: 22%;
  background: radial-gradient(circle at 30% 28%, #fff, #fdba74 45%, #ea580c 100%);
  box-shadow: 0 6px 14px rgba(234, 88, 12, 0.28);
  --ox: 90px; --oy: 70px;
  animation: decoOrbitCW 18s linear infinite;
}
.dp2 {
  width: 11px; height: 11px; left: 28%; top: 12%;
  background: radial-gradient(circle at 30% 28%, #fff, #86efac 45%, #16a34a 100%);
  box-shadow: 0 5px 12px rgba(22, 163, 74, 0.25);
  --ox: 110px; --oy: 80px;
  animation: decoOrbitCCW 14s linear infinite;
}
.dp3 {
  width: 24px; height: 24px; left: 86%; top: 30%;
  background: radial-gradient(circle at 30% 28%, #fff, #c4b5fd 45%, #7c3aed 100%);
  box-shadow: 0 8px 16px rgba(124, 58, 237, 0.28);
  --ox: 80px; --oy: 100px;
  animation: decoOrbitCW 20s linear infinite;
}
.dp4 {
  width: 10px; height: 10px; left: 18%; top: 48%;
  background: radial-gradient(circle at 30% 28%, #fff, #f9a8d4 45%, #db2777 100%);
  box-shadow: 0 4px 10px rgba(219, 39, 119, 0.25);
  --ox: 120px; --oy: 60px;
  animation: decoOrbitCCW 12s linear infinite;
}
.dp5 {
  width: 15px; height: 15px; left: 6%; top: 70%;
  background: radial-gradient(circle at 30% 28%, #fff, #67e8f9 45%, #0891b2 100%);
  box-shadow: 0 6px 12px rgba(8, 145, 178, 0.28);
  --ox: 100px; --oy: 90px;
  animation: decoOrbitCW 16s linear infinite reverse;
}
.dp6 {
  width: 9px; height: 9px; left: 42%; top: 8%;
  background: radial-gradient(circle at 30% 28%, #fff, #fde68a 45%, #d97706 100%);
  box-shadow: 0 4px 10px rgba(217, 119, 6, 0.25);
  --ox: 130px; --oy: 50px;
  animation: decoOrbitCCW 19s linear infinite;
}
.dp7 {
  width: 13px; height: 13px; left: 72%; top: 78%;
  background: radial-gradient(circle at 30% 28%, #fff, #93c5fd 45%, #2563eb 100%);
  box-shadow: 0 5px 12px rgba(37, 99, 235, 0.25);
  animation: decoDrift 14s ease-in-out infinite;
}
.dp8 {
  width: 17px; height: 17px; left: 3%; top: 38%;
  background: radial-gradient(circle at 30% 28%, #fff, #e9d5ff 45%, #9333ea 100%);
  box-shadow: 0 6px 14px rgba(147, 51, 234, 0.25);
  --ox: 95px; --oy: 75px;
  animation: decoOrbitCW 22s linear infinite;
}
.dp9 {
  width: 12px; height: 12px; left: 55%; top: 88%;
  background: radial-gradient(circle at 30% 28%, #fff, #fda4af 45%, #e11d48 100%);
  box-shadow: 0 5px 12px rgba(225, 29, 72, 0.25);
  --ox: 100px; --oy: 55px;
  animation: decoOrbitCCW 15s linear infinite;
}
.dp10 {
  width: 8px; height: 8px; left: 34%; top: 82%;
  background: radial-gradient(circle at 30% 28%, #fff, #a5b4fc 45%, #4f46e5 100%);
  box-shadow: 0 4px 10px rgba(79, 70, 229, 0.25);
  animation: decoDrift 11s ease-in-out infinite reverse;
}
.dp11 {
  width: 20px; height: 20px; left: 92%; top: 62%;
  background: radial-gradient(circle at 30% 28%, #fff, #5eead4 45%, #0d9488 100%);
  box-shadow: 0 6px 14px rgba(13, 148, 136, 0.28);
  --ox: 70px; --oy: 110px;
  animation: decoOrbitCW 17s linear infinite;
}
.dp12 {
  width: 14px; height: 14px; left: 22%; top: 92%;
  background: radial-gradient(circle at 30% 28%, #fff, #fcd34d 45%, #b45309 100%);
  box-shadow: 0 5px 12px rgba(180, 83, 9, 0.25);
  --ox: 140px; --oy: 40px;
  animation: decoOrbitCCW 21s linear infinite;
}

@keyframes decoOrbitCW {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(var(--ox), calc(var(--oy) * -0.35)); }
  50%  { transform: translate(calc(var(--ox) * 0.15), calc(var(--oy) * -1)); }
  75%  { transform: translate(calc(var(--ox) * -0.55), calc(var(--oy) * -0.45)); }
  100% { transform: translate(0, 0); }
}
@keyframes decoOrbitCCW {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(calc(var(--ox) * -0.7), calc(var(--oy) * -0.4)); }
  50%  { transform: translate(calc(var(--ox) * -0.1), calc(var(--oy) * -1.1)); }
  75%  { transform: translate(var(--ox), calc(var(--oy) * -0.3)); }
  100% { transform: translate(0, 0); }
}
@keyframes decoDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  30% { transform: translate(-70px, -90px) scale(1.08); }
  60% { transform: translate(55px, -40px) scale(0.94); }
}

/* 功能项 = 小行星（轨道位置由 JS 驱动） */
.iso-sat {
  position: absolute;
  left: 50%;
  top: 46%;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  width: max-content;
  max-width: 150px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -50%);
  will-change: transform, opacity;
  transition: none;
}

.iso-sat.is-on {
  /* 透明度由 JS 按进度控制：先暗后亮，再渐暗消失 */
  filter: drop-shadow(0 12px 22px rgba(45, 140, 240, 0.28));
}

.iso-sat em {
  margin: 0;
  font-style: normal;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.35;
  color: #1f74d4;
  text-shadow: 0 4px 16px rgba(45, 140, 240, 0.25);
}


.sat-planet {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
}
.sat-planet .sat-ball {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 28%, #ffffff 0%, #d7ebff 30%, #69b1ff 62%, #1f74d4 100%);
  box-shadow:
    inset 0 -6px 12px rgba(31, 116, 212, 0.35),
    inset 0 5px 10px rgba(255,255,255,0.55),
    0 8px 18px rgba(45, 140, 240, 0.3);
  animation: planetSpin 6s linear infinite;
}
.sat-planet .sat-ball i {
  position: absolute;
  left: 18%;
  top: 16%;
  width: 12px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.75);
  filter: blur(0.6px);
  transform: rotate(-24deg);
}
.sat-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 58%;
  height: 58%;
  object-fit: contain;
  transform: translate(-50%, -50%);
  pointer-events: none;
  filter: drop-shadow(0 1px 3px rgba(15, 30, 60, 0.28));
}
/* 蓝 */
.sat-planet.tone-0 .sat-ball {
  background: radial-gradient(circle at 30% 28%, #fff 0%, #d7ebff 28%, #69b1ff 58%, #1f74d4 100%);
  box-shadow:
    inset 0 -6px 12px rgba(31, 116, 212, 0.35),
    inset 0 5px 10px rgba(255,255,255,0.55),
    0 8px 18px rgba(45, 140, 240, 0.32);
}
/* 青 */
.sat-planet.tone-1 .sat-ball {
  background: radial-gradient(circle at 30% 28%, #fff 0%, #d5f6f3 28%, #2dd4bf 58%, #0f766e 100%);
  box-shadow:
    inset 0 -6px 12px rgba(15, 118, 110, 0.35),
    inset 0 5px 10px rgba(255,255,255,0.55),
    0 8px 18px rgba(45, 212, 191, 0.32);
}
/* 紫 */
.sat-planet.tone-2 .sat-ball {
  background: radial-gradient(circle at 30% 28%, #fff 0%, #ebe4ff 28%, #a78bfa 58%, #6d28d9 100%);
  box-shadow:
    inset 0 -6px 12px rgba(109, 40, 217, 0.35),
    inset 0 5px 10px rgba(255,255,255,0.55),
    0 8px 18px rgba(167, 139, 250, 0.32);
}
/* 橙 */
.sat-planet.tone-3 .sat-ball {
  background: radial-gradient(circle at 30% 28%, #fff 0%, #ffe8d6 28%, #fb923c 58%, #c2410c 100%);
  box-shadow:
    inset 0 -6px 12px rgba(194, 65, 12, 0.32),
    inset 0 5px 10px rgba(255,255,255,0.55),
    0 8px 18px rgba(251, 146, 60, 0.32);
}
.sat-planet.tone-4 .sat-ball {
  background: radial-gradient(circle at 30% 28%, #fff 0%, #dcfce7 28%, #4ade80 58%, #15803d 100%);
  box-shadow:
    inset 0 -6px 12px rgba(21, 128, 61, 0.32),
    inset 0 5px 10px rgba(255,255,255,0.55),
    0 8px 18px rgba(74, 222, 128, 0.3);
}
.sat-planet.tone-5 .sat-ball {
  background: radial-gradient(circle at 30% 28%, #fff 0%, #fce7f3 28%, #f472b6 58%, #be185d 100%);
  box-shadow:
    inset 0 -6px 12px rgba(190, 24, 93, 0.3),
    inset 0 5px 10px rgba(255,255,255,0.55),
    0 8px 18px rgba(244, 114, 182, 0.3);
}
.sat-planet.tone-6 .sat-ball {
  background: radial-gradient(circle at 30% 28%, #fff 0%, #fef3c7 28%, #fbbf24 58%, #b45309 100%);
  box-shadow:
    inset 0 -6px 12px rgba(180, 83, 9, 0.3),
    inset 0 5px 10px rgba(255,255,255,0.55),
    0 8px 18px rgba(251, 191, 36, 0.3);
}
.sat-planet.tone-7 .sat-ball {
  background: radial-gradient(circle at 30% 28%, #fff 0%, #e0e7ff 28%, #818cf8 58%, #3730a3 100%);
  box-shadow:
    inset 0 -6px 12px rgba(55, 48, 163, 0.32),
    inset 0 5px 10px rgba(255,255,255,0.55),
    0 8px 18px rgba(129, 140, 248, 0.3);
}
.sat-planet.has-logo .sat-ball i {
  display: none;
}


@keyframes orbitA {
  to { transform: rotateX(68deg) rotateZ(360deg); }
}
@keyframes orbitB {
  to { transform: rotateX(68deg) rotateY(18deg) rotateZ(-360deg); }
}
@keyframes coreFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-7px) scale(1.035); }
}
@keyframes planetSpin {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}
/* 有 Logo：只轻微呼吸，不旋转，避免图标看起来歪 */
.sat-planet.has-logo .sat-ball {
  animation: planetPulse 5.5s ease-in-out infinite;
}
@keyframes planetPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

@media (max-width: 720px) {
  .iso-scene { height: 360px; }
  .crystal { width: 220px; height: 220px; }
  .crystal-orbit.o1 { width: 170px; height: 170px; margin: -85px 0 0 -85px; }
  .crystal-orbit.o2 { width: 136px; height: 136px; margin: -68px 0 0 -68px; }
  .crystal-orbit.o3 { width: 200px; height: 74px; margin: -37px 0 0 -100px; }
  .crystal-core { width: 100px; height: 100px; }
  .sat-planet { width: 36px; height: 36px; }
  .universe-layer { bottom: -160px; }
  .dp1, .dp3, .dp8, .dp11 { transform: scale(0.85); }
  .iso-sat em { font-size: 0.8rem; max-width: 118px; }
}


@keyframes cubeBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes barPulse {
  0%, 100% { transform: scaleY(0.85); opacity: 0.85; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* Sections */
.section { padding: 5.5rem 0; position: relative; z-index: 2; }
@media (min-width: 768px) { .section { padding: 7rem 0; } }
.section-head { max-width: 640px; margin-bottom: 2.4rem; }
.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  letter-spacing: 0.03em;
}
.section-head p { margin: 0.85rem 0 0; color: var(--muted); }
.section-label {
  color: var(--cyan);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}
.section-label::after {
  content: "";
  width: 36px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), transparent);
  transform-origin: left center;
  animation: shimmerLine 2.8s ease-in-out infinite;
}

.about-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 3rem;
    align-items: start;
  }
}
.about-body { color: var(--muted); font-size: 1.05rem; line-height: 1.9; }
.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem 1.25rem;
  margin-top: 1.85rem;
  padding-top: 1.45rem;
  border-top: 1px solid var(--line);
}
@media (max-width: 640px) {
  .stat-row { grid-template-columns: repeat(2, 1fr); }
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
}
.stat-head {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}
.stat-ico {
  display: inline-flex;
  margin: 0;
  line-height: 0;
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px color-mix(in srgb, var(--cyan) 28%, transparent));
}
.stat-ico.tech-ico {
  width: 44px;
  height: 44px;
  color: #2d8cf0;
}
.stat-ico.tech-ico svg {
  width: 44px;
  height: 44px;
  display: block;
  overflow: visible;
}
.stat-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.1rem;
  height: 1.55rem;
  padding: 0 0.45rem;
  margin: 0;
  border-radius: 7px;
  border: 1px solid color-mix(in srgb, var(--cyan) 28%, transparent);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(232, 242, 255, 0.88));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    0 4px 12px rgba(45, 140, 240, 0.1);
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  color: #1f74d4;
}
[data-theme="dark"] .stat-num {
  background: linear-gradient(180deg, rgba(40, 62, 95, 0.9), rgba(18, 30, 48, 0.92));
  border-color: rgba(120, 170, 220, 0.28);
  color: #8bb4dd;
  box-shadow: inset 0 1px 0 rgba(160, 200, 255, 0.08);
}
.stat-label {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.tech-ico .tech-ring,
.tech-ico .tech-core,
.tech-ico .tech-dash,
.tech-ico .tech-check,
.tech-ico .tech-orbit,
.tech-ico .tech-scan {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
}
.tech-ico .tech-ring {
  opacity: 0.38;
  stroke-dasharray: 3.5 4.5;
}
.tech-ico .tech-ring.r2 {
  opacity: 0.22;
  stroke-dasharray: 2 5;
}
.tech-ico .tech-core {
  opacity: 1;
  stroke-width: 1.4;
}
.tech-ico .tech-dash {
  opacity: 0.85;
  stroke-width: 1.35;
  stroke-linecap: round;
}
.tech-ico .tech-dot {
  fill: currentColor;
  stroke: none;
  opacity: 0.95;
}
.tech-ico .tech-orbit {
  opacity: 0.42;
  stroke-dasharray: 5 9;
  stroke-width: 1.15;
}
.tech-ico .tech-check {
  stroke-width: 1.55;
  stroke-linecap: round;
}
.tech-ico .tech-scan {
  opacity: 0.4;
  stroke-dasharray: 3 7;
  stroke-width: 1.15;
}

/* 动态 */
.ico-chat .tech-ring.r1 { animation: techRingSpin 10s linear infinite; transform-origin: 20px 20px; }
.ico-chat .tech-ring.r2 { animation: techRingSpin 14s linear infinite reverse; transform-origin: 20px 20px; }
.ico-chat .tech-dot { animation: techBlink 2.2s ease-in-out infinite; }
.ico-chat .tech-dash.d1 { animation: techDash 2.4s ease-in-out infinite; }
.ico-chat .tech-dash.d2 { animation: techDash 2.4s ease-in-out infinite 0.35s; }

.ico-shield .tech-orbit { animation: techRingSpin 8s linear infinite; transform-origin: 20px 20px; }
.ico-shield .tech-check { stroke-dasharray: 18; animation: techDraw 2.8s ease-in-out infinite; }
.ico-shield .tech-ring.r1 { animation: techPulseRing 3.2s ease-in-out infinite; transform-origin: 20px 20px; }

.ico-gear .tech-spin { animation: techSpin 7s linear infinite; transform-origin: 20px 20px; }
.ico-gear .tech-ring.r1 { animation: techPulseRing 3.6s ease-in-out infinite; transform-origin: 20px 20px; }
.ico-gear .tech-dot { animation: techBlink 1.8s ease-in-out infinite; }

.ico-value .tech-ring.r1 { animation: techRingSpin 12s linear infinite; transform-origin: 20px 20px; }
.ico-value .tech-ring.r2 { animation: techPulseRing 2.8s ease-in-out infinite; transform-origin: 20px 20px; }
.ico-value .tech-scan { animation: techScanY 2.6s ease-in-out infinite; }
.ico-value .tech-dot { animation: techBlink 2s ease-in-out infinite 0.4s; }

@keyframes techRingSpin {
  to { transform: rotate(360deg); }
}
@keyframes techSpin {
  to { transform: rotate(360deg); }
}
@keyframes techPulseRing {
  0%, 100% { opacity: 0.18; transform: scale(0.96); }
  50% { opacity: 0.42; transform: scale(1.04); }
}
@keyframes techBlink {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}
@keyframes techDash {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 1; }
}
@keyframes techDraw {
  0% { stroke-dashoffset: 18; opacity: 0.4; }
  35%, 70% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0.55; }
}
@keyframes techScanY {
  0%, 100% { transform: translateY(-5px); opacity: 0.15; }
  50% { transform: translateY(5px); opacity: 0.55; }
}

.section-head-center {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  margin-bottom: 2.6rem;
}
.section-head-center h2 {
  color: #2d8cf0;
  letter-spacing: 0.01em;
}
.section-head-center p {
  margin-top: 0.75rem;
}

/* Services · 浅色横条能力条（与下方正方形联系卡片区分） */
.services-wrap {
  border-block: 0;
  background: linear-gradient(180deg, #f5f8fc 0%, #eef4fb 100%);
  border-radius: 0;
}
.services-wrap .section-head-center h2 {
  color: #2d8cf0;
  letter-spacing: 0.01em;
}
[data-theme="dark"] .services-wrap {
  background: linear-gradient(180deg, #0f1828 0%, #121c2e 100%);
}
[data-theme="dark"] .services-wrap .section-head-center h2 {
  color: var(--cyan);
}

.service-grid {
  display: grid;
  gap: 0.9rem;
  max-width: 920px;
  margin: 0 auto;
  align-items: start;
}
@media (min-width: 900px) {
  .service-grid {
    max-width: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem 1.15rem;
  }
}

.service-card {
  --svc-accent: #2d8cf0;
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1.15rem;
  height: auto;
  min-height: 7.5rem;
  padding: 1.45rem 1.4rem 1.45rem 1.3rem;
  border-radius: 14px;
  overflow: visible;
  text-align: left;
  color: var(--text);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(45, 140, 240, 0.12);
  border-left: 3px solid var(--svc-accent);
  box-shadow:
    0 10px 28px rgba(45, 120, 200, 0.07),
    0 1px 3px rgba(26, 35, 51, 0.03);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.service-card::before,
.service-card::after {
  display: none;
}
.visual-app { --svc-accent: #3aa0e8; }
.visual-admin { --svc-accent: #4a8fe0; }
.visual-design { --svc-accent: #5aa8ff; }
.visual-shop { --svc-accent: #3d9be8; }
.visual-seo { --svc-accent: #2f8fd6; }
.visual-cloud { --svc-accent: #4aa3e6; }
.visual-code { --svc-accent: #3689d4; }

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(45, 140, 240, 0.28);
  box-shadow:
    0 16px 36px rgba(45, 140, 240, 0.12),
    0 2px 8px rgba(26, 35, 51, 0.04);
}

.service-visual {
  position: relative;
  z-index: 1;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  margin: 0.1rem 0 0;
  display: grid;
  place-items: center;
}
.service-visual .sv-body {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--svc-accent);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.95), rgba(232, 242, 255, 0.9));
  border: 1px solid color-mix(in srgb, var(--svc-accent) 22%, transparent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
}
.service-visual .sv-body svg {
  width: 26px;
  height: 26px;
}

.svc-copy {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
}
.svc-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}
.service-card h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text);
  display: block;
  line-height: 1.35;
}
.svc-index {
  flex-shrink: 0;
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: color-mix(in srgb, var(--svc-accent) 70%, #8aa0b8);
  opacity: 0.85;
}
.service-card .num { display: none; }
.service-card p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.75;
  white-space: pre-wrap;
  word-break: break-word;
  overflow: visible;
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}

[data-theme="dark"] .service-card {
  background: rgba(22, 34, 52, 0.92);
  border-color: rgba(120, 170, 220, 0.16);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}
[data-theme="dark"] .service-visual .sv-body {
  background: linear-gradient(145deg, rgba(40, 60, 90, 0.7), rgba(18, 28, 44, 0.9));
  border-color: rgba(120, 170, 220, 0.22);
  color: var(--cyan);
}

/* Cases */
.case-grid { display: grid; gap: 1.1rem; }
@media (min-width: 800px) { .case-grid { grid-template-columns: repeat(2, 1fr); } }
.case-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.95);
  background: #fff;
  box-shadow:
    0 14px 36px rgba(45, 140, 240, 0.1),
    0 2px 8px rgba(26, 35, 51, 0.04);
  transition: transform 0.3s, box-shadow 0.3s;
}
.case-card:hover {
  transform: translateY(-5px);
  border-color: rgba(45, 140, 240, 0.25);
  box-shadow:
    0 22px 48px rgba(45, 140, 240, 0.16),
    0 4px 12px rgba(26, 35, 51, 0.05);
}
.case-cover {
  position: relative;
  height: 190px;
  overflow: hidden;
}
@media (min-width: 800px) { .case-cover { height: 220px; } }
.case-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5, 8, 15, 0.55));
  pointer-events: none;
  z-index: 1;
}
.case-cover.tea { background: linear-gradient(135deg, #12382f, #3f7a63 45%, #d7c39a); }
.case-cover.logistics { background: linear-gradient(135deg, #10263f, #2f6f98 48%, #f0a35a); }
.case-cover.portfolio { background: linear-gradient(135deg, #141821, #4b5568 42%, #22d3ee); }
.case-cover.edu { background: linear-gradient(135deg, #1a2a55, #4f7fd1 50%, #f5d0a0); }
.case-cover.cyber { background: linear-gradient(135deg, #061525, #0e4f6e 40%, #22d3ee 75%, #f5b942); }
.case-cover.neon { background: linear-gradient(135deg, #12081f, #1f3b73 45%, #22d3ee); }

/* 案例像框 */
.case-frame {
  display: flex;
  flex-direction: column;
  padding: 14px 14px 42px;
}
.case-frame.has-image {
  background:
    linear-gradient(160deg, #eef3f9 0%, #dde8f5 55%, #cfdced 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}
.case-frame.has-image::after {
  display: none;
}
.case-frame-mat {
  position: relative;
  flex: 1;
  min-height: 160px;
  border-radius: 10px;
  overflow: hidden;
  background: #0f1828;
  box-shadow:
    0 10px 28px rgba(20, 40, 70, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.case-frame-mat img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.case-frame-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
}
.case-feature .case-cover::before {
  content: "";
  position: absolute;
  inset: 10px 10px 38px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 12px;
  pointer-events: none;
  z-index: 2;
}
.case-frame.has-image::before {
  border-color: rgba(255, 255, 255, 0.65);
  box-shadow: 0 0 0 1px rgba(45, 140, 240, 0.08);
}
.case-meta {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.75rem;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  color: #fff;
  font-size: 0.86rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}
.case-frame.has-image .case-meta {
  color: #1a2333;
  text-shadow: none;
}
.case-body { padding: 1.25rem 1.3rem 1.4rem; }
.case-body h3 { margin: 0; font-size: 1.2rem; }
.case-body p { margin: 0.7rem 0 0; color: var(--muted); font-size: 0.94rem; }

.cases-page-hero { padding: 8rem 0 3rem; }
.cases-page-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.2rem);
}
.cases-page-hero p {
  margin: 1rem 0 0;
  color: var(--muted);
  max-width: 36em;
}

.case-detail-grid { display: grid; gap: 1.2rem; }
.case-feature {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--panel-solid);
  box-shadow: 0 16px 40px rgba(15, 30, 60, 0.06);
}
.case-feature .case-detail-grid { grid-template-columns: 1fr; }
.case-feature .case-cover {
  height: 260px;
  position: relative;
}
.case-feature .case-cover.has-image {
  height: auto;
  min-height: 240px;
}
.case-feature .case-frame-mat {
  min-height: 0;
}
.case-feature .case-cover.has-image .case-frame-mat {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.case-feature .case-cover.has-image .case-frame-mat img {
  position: static;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}
@media (min-width: 900px) {
  .case-feature .case-detail-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: stretch;
    min-height: 340px;
  }
  .case-feature .case-cover {
    height: auto;
    min-height: 340px;
  }
  .case-feature .case-cover.has-image {
    min-height: 100%;
    height: 100%;
  }
  .case-feature .case-cover.has-image .case-frame-mat {
    flex: 1;
    min-height: 300px;
  }
}
.case-feature-body { padding: 1.6rem 1.5rem 1.8rem; }
.case-feature-body .tag {
  display: inline-flex;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--cyan);
  font-size: 0.78rem;
}
.case-feature-body h2 { margin: 0.9rem 0 0; font-size: 1.55rem; }
.case-feature-body p { margin: 0.9rem 0 0; color: var(--muted); }

.contact-section {
  background: var(--contact-bg);
  border-top: 1px solid var(--line);
  color: var(--contact-text);
  position: relative;
  overflow: hidden;
}
.contact-section::before {
  content: "";
  position: absolute;
  inset: -10% 20% auto;
  height: 220px;
  background: radial-gradient(circle, rgba(45, 140, 240, 0.12), transparent 70%);
  pointer-events: none;
}
.contact-section .container { position: relative; z-index: 1; }
.contact-section .section-head {
  margin-bottom: 2rem;
}
.contact-section .section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2rem);
  letter-spacing: 0.01em;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  color: var(--text);
  font-weight: 700;
}
.contact-section .section-head p {
  margin: 0.55rem 0 0;
  color: var(--contact-muted);
  font-size: 0.95rem;
}
.contact-grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
  max-width: 980px;
  margin: 0 auto;
}
@media (min-width: 700px) {
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: repeat(3, 1fr); }
}
.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.55rem;
  padding: 1.6rem 1.25rem 1.35rem;
  border-radius: 18px;
  border: 1px solid rgba(45, 140, 240, 0.1);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(244, 249, 255, 0.9));
  color: var(--contact-text);
  box-shadow:
    0 14px 34px rgba(45, 140, 240, 0.08),
    0 2px 6px rgba(26, 35, 51, 0.03);
  min-height: 100%;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
[data-theme="dark"] .contact-card {
  background: linear-gradient(180deg, rgba(24, 36, 56, 0.95), rgba(16, 26, 42, 0.92));
  border-color: rgba(148, 175, 210, 0.14);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}
.contact-card:hover {
  transform: translateY(-6px);
  border-color: rgba(45, 140, 240, 0.32);
  box-shadow:
    0 20px 40px rgba(45, 140, 240, 0.14),
    0 4px 12px rgba(26, 35, 51, 0.04);
}
[data-theme="dark"] .contact-card:hover {
  border-color: rgba(107, 159, 212, 0.35);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.3);
}

.contact-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 0.25rem;
  color: #1f74d4;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.95), rgba(220, 235, 255, 0.7) 45%, rgba(105, 177, 255, 0.35));
  border: 1px solid rgba(45, 140, 240, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.8),
    0 8px 18px rgba(45, 140, 240, 0.16);
}
.contact-icon svg {
  width: 26px;
  height: 26px;
}
[data-theme="dark"] .contact-icon {
  color: #8bb4dd;
  background: radial-gradient(circle at 30% 25%, rgba(90, 140, 200, 0.35), rgba(20, 32, 51, 0.9));
  border-color: rgba(148, 175, 210, 0.2);
}

.contact-card .label {
  color: var(--cyan);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}
.contact-value-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  max-width: 100%;
}
.contact-card .value {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 700;
  word-break: break-all;
  line-height: 1.4;
  color: var(--text);
  max-width: 100%;
}
.contact-card .hint {
  margin: 0;
  color: var(--contact-muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.contact-actions {
  margin-top: auto;
  padding-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
}
.contact-copy {
  border: 1px solid rgba(45, 140, 240, 0.18);
  background: rgba(255, 255, 255, 0.7);
  color: var(--muted);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.18s ease;
  flex-shrink: 0;
}
[data-theme="dark"] .contact-copy {
  background: rgba(255,255,255,0.04);
  border-color: rgba(148, 175, 210, 0.2);
}
.contact-copy:hover,
.contact-copy.is-done {
  background: rgba(45, 140, 240, 0.1);
  color: var(--cyan);
  border-color: rgba(45, 140, 240, 0.35);
}
.contact-actions .contact-cta {
  min-width: 132px;
}
.contact-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  padding: 0.42rem 1.05rem;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(120deg, #1f74d4, #2d8cf0 55%, #5aa8ff);
  background-size: 160% 160%;
  color: #fff;
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(45, 140, 240, 0.22);
  transition: filter 0.15s, transform 0.15s;
  text-align: center;
  animation: bgDrift 11s ease-in-out infinite alternate;
}
.contact-cta:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}
button.contact-cta {
  font: inherit;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 1.8rem;
  color: var(--muted);
  font-size: 0.88rem;
  background: var(--bg-1);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.footer-inner p {
  margin: 0;
  width: 100%;
}
.footer-inner a:hover { color: var(--cyan); }
