:root {
  --bg-deep: #040914;
  --bg-surface: #0a1428;
  --bg-card: rgba(13, 25, 48, 0.78);
  --bg-card-hover: rgba(18, 34, 65, 0.92);
  --border-subtle: rgba(148, 163, 184, 0.14);
  --border-glow: rgba(56, 189, 248, 0.36);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --blue-primary: #2563eb;
  --blue-bright: #3b82f6;
  --cyan-tech: #0ea5e9;
  --teal-accent: #10d9b5;
  --amber-warn: #f59e0b;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;

  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", "Fira Code", ui-monospace, SFMono-Regular, Menlo, monospace;

  --shadow-card: 0 20px 50px rgba(2, 6, 23, 0.55);
  --shadow-glow: 0 0 32px rgba(37, 99, 235, 0.25);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  color: var(--teal-accent);
  background: rgba(16, 217, 181, 0.1);
  padding: 2px 6px;
  border-radius: 5px;
  border: 1px solid rgba(16, 217, 181, 0.2);
}

#techBgCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.55;
}

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 顶部导航栏 */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(4, 9, 20, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.site-header.scrolled {
  background: rgba(4, 9, 20, 0.92);
  border-bottom-color: rgba(56, 189, 248, 0.22);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-logo {
  width: 38px;
  height: 38px;
  display: inline-flex;
  filter: drop-shadow(0 4px 12px rgba(16, 217, 181, 0.28));
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.brand-tagline {
  font-size: 0.72rem;
  color: var(--teal-accent);
  letter-spacing: 0.06em;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-bright), var(--teal-accent));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
  border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* 顶部小程序二维码按钮与悬浮窗 */
.qr-dropdown {
  position: relative;
}

.btn-qr {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid rgba(16, 217, 181, 0.38);
  background: rgba(16, 217, 181, 0.1);
  color: #ccfbf1;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-qr:hover,
.qr-dropdown.open .btn-qr {
  background: rgba(16, 217, 181, 0.2);
  border-color: var(--teal-accent);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(16, 217, 181, 0.22);
}

.btn-qr .icon,
.btn-admin .icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.qr-popover {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 254px;
  padding: 18px;
  border-radius: 16px;
  background: rgba(10, 20, 40, 0.98);
  border: 1px solid rgba(56, 189, 248, 0.34);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.68);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s ease;
  text-align: center;
  z-index: 120;
}

.qr-dropdown:hover .qr-popover,
.qr-dropdown.open .qr-popover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.qr-popover-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
}

.qr-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: #042f2e;
  background: var(--teal-accent);
  padding: 2px 9px;
  border-radius: 999px;
}

.qr-title {
  font-size: 0.94rem;
  font-weight: 600;
  color: #ffffff;
}

.qr-frame {
  background: #ffffff;
  padding: 10px;
  border-radius: 12px;
  width: 168px;
  height: 168px;
  margin: 0 auto 10px;
  box-shadow: 0 0 0 3px rgba(16, 217, 181, 0.2);
}

.qr-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin: 0 0 10px;
  line-height: 1.5;
}

.qr-enlarge-btn {
  width: 100%;
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  font-size: 0.8rem;
  transition: background 0.2s ease;
}

.qr-enlarge-btn:hover {
  background: rgba(56, 189, 248, 0.16);
}

/* 顶部管理后台按钮 */
.btn-admin {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid rgba(147, 197, 253, 0.35);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
  transition: transform 0.18s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.btn-admin:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(14, 165, 233, 0.45);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 9px;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.04);
}

.mobile-menu-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background: #e2e8f0;
  border-radius: 2px;
}

.mobile-drawer {
  padding: 14px 24px 22px;
  border-top: 1px solid var(--border-subtle);
  background: rgba(4, 9, 20, 0.96);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-drawer[hidden] {
  display: none;
}

.mobile-link {
  padding: 10px 4px;
  color: var(--text-secondary);
  font-size: 0.98rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.mobile-drawer-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 8px;
}

.mobile-full {
  justify-content: center;
  width: 100%;
}

/* 通用按钮 */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 11px;
  border: none;
  background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 60%, #10d9b5 100%);
  color: #ffffff;
  font-size: 0.96rem;
  font-weight: 600;
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.36);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary svg {
  width: 18px;
  height: 18px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(16, 217, 181, 0.34);
}

.btn-primary.full-width {
  width: 100%;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 11px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.72);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  border-color: var(--cyan-tech);
  background: rgba(14, 165, 233, 0.14);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 11px;
  border: 1px dashed rgba(16, 217, 181, 0.4);
  background: transparent;
  color: var(--teal-accent);
  font-size: 0.92rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-ghost:hover {
  background: rgba(16, 217, 181, 0.1);
}

.btn-ghost.small {
  padding: 7px 14px;
  font-size: 0.84rem;
}

/* Hero 首屏 */
.hero-section {
  position: relative;
  padding: 132px 0 88px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  z-index: 0;
}

.hero-glow-blue {
  width: 520px;
  height: 520px;
  top: -120px;
  left: -140px;
  background: rgba(37, 99, 235, 0.24);
}

.hero-glow-teal {
  width: 480px;
  height: 480px;
  bottom: -100px;
  right: -100px;
  background: rgba(16, 217, 181, 0.16);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #bae6fd;
  font-size: 0.84rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-accent);
  box-shadow: 0 0 0 0 rgba(16, 217, 181, 0.7);
  animation: pulseRing 2s infinite;
}

@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(16, 217, 181, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 217, 181, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 217, 181, 0); }
}

.hero-title {
  margin: 0 0 20px;
  font-size: clamp(2.15rem, 4.1vw, 3.35rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.text-gradient {
  display: inline-block;
  background: linear-gradient(95deg, #60a5fa 0%, #22d3ee 48%, #10d9b5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin: 0 0 28px;
  font-size: 1.04rem;
  color: var(--text-secondary);
  max-width: 590px;
  line-height: 1.75;
}

.hero-subtitle strong {
  color: #ffffff;
  font-weight: 600;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

.hero-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--border-subtle);
}

.pillar-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pillar-code {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--teal-accent);
  letter-spacing: 0.08em;
}

.pillar-title {
  font-size: 0.94rem;
  font-weight: 600;
  color: #f1f5f9;
}

.pillar-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* 右侧控制台 */
.console-window {
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(13, 25, 48, 0.94) 0%, rgba(7, 14, 29, 0.98) 100%);
  border: 1px solid rgba(56, 189, 248, 0.28);
  box-shadow: 0 26px 70px rgba(2, 6, 23, 0.72), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.console-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(4, 9, 20, 0.65);
}

.console-dots {
  display: flex;
  gap: 6px;
}

.console-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.35);
}

.console-dots span:first-child { background: #ef4444; }
.console-dots span:nth-child(2) { background: #f59e0b; }
.console-dots span:nth-child(3) { background: #10b981; }

.console-title {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  color: var(--text-secondary);
}

.console-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  color: var(--teal-accent);
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal-accent);
}

.console-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(15, 23, 42, 0.55);
}

.console-tab {
  padding: 11px 10px;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.console-tab:hover {
  color: #ffffff;
}

.console-tab.active {
  color: #ffffff;
  background: rgba(37, 99, 235, 0.14);
  border-bottom-color: var(--teal-accent);
}

.console-body {
  padding: 18px;
}

.console-stage {
  position: relative;
  height: 226px;
  border-radius: 12px;
  border: 1px solid rgba(56, 189, 248, 0.2);
  background:
    linear-gradient(rgba(56, 189, 248, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.06) 1px, transparent 1px),
    radial-gradient(circle at center, rgba(14, 165, 233, 0.14) 0%, rgba(4, 9, 20, 0.92) 72%);
  background-size: 24px 24px, 24px 24px, 100% 100%;
  overflow: hidden;
  margin-bottom: 14px;
}

.radar-grid {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.radar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(16, 217, 181, 0.25);
}

.ring-1 { width: 92px; height: 92px; }
.ring-2 { width: 162px; height: 162px; }
.ring-3 { width: 232px; height: 232px; }

.radar-sweep {
  position: absolute;
  width: 232px;
  height: 232px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(16, 217, 181, 0.28) 0deg, transparent 70deg);
  animation: radarRotate 5.5s linear infinite;
}

@keyframes radarRotate {
  to { transform: rotate(360deg); }
}

.stage-overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stage-top-badges {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.stage-chip {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 4px 9px;
  border-radius: 6px;
  background: rgba(4, 9, 20, 0.8);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #bae6fd;
}

.stage-chip.ok {
  border-color: rgba(16, 217, 181, 0.45);
  color: var(--teal-accent);
}

.stage-center-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.metric-box {
  background: rgba(6, 14, 30, 0.84);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 10px;
  padding: 10px 12px;
}

.metric-box span {
  display: block;
  font-size: 0.74rem;
  color: var(--text-secondary);
}

.metric-box strong {
  display: block;
  margin-top: 3px;
  font-family: var(--font-mono);
  font-size: 0.94rem;
  color: #ffffff;
}

.metric-box strong.teal { color: var(--teal-accent); }
.metric-box strong.blue { color: #60a5fa; }
.metric-box strong.amber { color: var(--amber-warn); }

.stage-bottom-note {
  font-size: 0.78rem;
  color: #cbd5e1;
  background: rgba(4, 9, 20, 0.72);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 7px 10px;
}

.console-telemetry {
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: rgba(4, 9, 20, 0.78);
  padding: 12px 14px;
}

.telemetry-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 9px;
}

.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--teal-accent);
}

.telemetry-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.telemetry-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.8rem;
  color: #cbd5e1;
  padding: 5px 8px;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.65);
}

.telemetry-list .t-code {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  color: #7dd3fc;
}

.telemetry-list .t-state {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--teal-accent);
  flex-shrink: 0;
}

/* 通用区块 */
.section {
  padding: 88px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 52px;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--teal-accent);
  margin-bottom: 10px;
}

.section-title {
  margin: 0 0 14px;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  font-weight: 700;
  line-height: 1.25;
}

.section-subtitle {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1rem;
}

/* 核心业务卡片 */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  padding: 30px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.18);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
  margin-bottom: 16px;
}

.service-icon.teal {
  background: rgba(16, 217, 181, 0.16);
  color: var(--teal-accent);
  border-color: rgba(16, 217, 181, 0.34);
}

.service-icon.amber {
  background: rgba(245, 158, 11, 0.14);
  color: var(--amber-warn);
  border-color: rgba(245, 158, 11, 0.32);
}

.service-icon.cyan {
  background: rgba(14, 165, 233, 0.16);
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.34);
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--teal-accent);
  margin-bottom: 6px;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 1.24rem;
}

.service-card p {
  margin: 0 0 16px;
  color: var(--text-secondary);
  font-size: 0.94rem;
}

.service-points {
  list-style: none;
  margin: 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.87rem;
  color: #cbd5e1;
}

.service-points li::before {
  content: "▸ ";
  color: var(--teal-accent);
}

/* 科技引擎交互区 */
.tech-section {
  background: linear-gradient(180deg, rgba(10, 20, 40, 0.3) 0%, rgba(4, 9, 20, 0.85) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.tech-showcase {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 28px;
  align-items: stretch;
}

.tech-tabs {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tech-tab {
  text-align: left;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: rgba(10, 20, 40, 0.65);
  color: var(--text-primary);
  transition: all 0.22s ease;
}

.tech-tab:hover {
  border-color: rgba(56, 189, 248, 0.35);
}

.tech-tab.active {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.22) 0%, rgba(16, 217, 181, 0.12) 100%);
  border-color: var(--teal-accent);
  box-shadow: 0 12px 32px rgba(2, 6, 23, 0.45);
}

.tech-num {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  color: var(--teal-accent);
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(16, 217, 181, 0.12);
  flex-shrink: 0;
}

.tech-tab-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tech-tab-body strong {
  font-size: 1.05rem;
}

.tech-tab-body span {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.tech-panel {
  border-radius: var(--radius-lg);
  background: rgba(8, 17, 34, 0.92);
  border: 1px solid rgba(56, 189, 248, 0.3);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow-card);
}

.tech-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 14px;
}

.tech-panel-head h3 {
  margin: 4px 0 0;
  font-size: 1.32rem;
}

.tech-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.tech-spec-card {
  padding: 16px;
  border-radius: 12px;
  background: rgba(15, 29, 54, 0.72);
  border: 1px solid var(--border-subtle);
}

.tech-spec-card .spec-label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: #7dd3fc;
}

.tech-spec-card h4 {
  margin: 6px 0 6px;
  font-size: 0.98rem;
}

.tech-spec-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.tech-panel-footer {
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(16, 217, 181, 0.08);
  border: 1px solid rgba(16, 217, 181, 0.25);
  font-size: 0.88rem;
  color: #ccfbf1;
}

/* 巡查闭环 */
.workflow-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  position: relative;
}

.workflow-step {
  padding: 24px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  position: relative;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.workflow-step:hover {
  transform: translateY(-4px);
  border-color: var(--teal-accent);
}

.step-index {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #60a5fa, #10d9b5);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}

.workflow-step h3 {
  margin: 0 0 8px;
  font-size: 1.04rem;
}

.workflow-step p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-secondary);
}

/* 机构优势与双端直达 */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 42px;
}

.adv-card {
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
}

.adv-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--teal-accent);
  background: rgba(16, 217, 181, 0.12);
  padding: 3px 9px;
  border-radius: 6px;
  margin-bottom: 12px;
}

.adv-card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.adv-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.portal-showcase {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 24px;
  padding: 34px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(16, 36, 72, 0.9) 0%, rgba(7, 22, 42, 0.95) 100%);
  border: 1px solid rgba(56, 189, 248, 0.34);
  box-shadow: var(--shadow-card);
  align-items: center;
}

.portal-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.24);
  color: #93c5fd;
  border: 1px solid rgba(96, 165, 250, 0.35);
  margin-bottom: 12px;
}

.portal-badge.teal {
  background: rgba(16, 217, 181, 0.16);
  color: var(--teal-accent);
  border-color: rgba(16, 217, 181, 0.36);
}

.portal-admin-box h3 {
  margin: 0 0 10px;
  font-size: 1.45rem;
}

.portal-admin-box p {
  margin: 0 0 16px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.portal-features {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
  font-size: 0.88rem;
  color: #e2e8f0;
}

.portal-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.portal-qr-box {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px;
  border-radius: 16px;
  background: rgba(4, 9, 20, 0.72);
  border: 1px solid rgba(16, 217, 181, 0.3);
}

.portal-qr-card {
  width: 152px;
  height: 152px;
  padding: 10px;
  border-radius: 14px;
  background: #ffffff;
  flex-shrink: 0;
}

.portal-qr-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.portal-qr-info h4 {
  margin: 0 0 6px;
  font-size: 1.08rem;
}

.portal-qr-info p {
  margin: 0 0 12px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* 页脚 */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(3, 7, 16, 0.96);
  padding: 54px 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr auto;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border-subtle);
  align-items: start;
}

.footer-desc {
  margin: 14px 0 0;
  max-width: 380px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.footer-nav-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-group h4 {
  margin: 0 0 4px;
  font-size: 0.94rem;
  color: #ffffff;
}

.footer-nav-group a,
.footer-btn-link {
  text-align: left;
  background: none;
  border: none;
  padding: 0;
  color: var(--text-secondary);
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

.footer-nav-group a:hover,
.footer-btn-link:hover {
  color: var(--teal-accent);
}

.footer-qr-mini {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-subtle);
}

.footer-qr-mini img {
  width: 96px;
  height: 96px;
  background: #ffffff;
  padding: 6px;
  border-radius: 8px;
}

.footer-qr-mini span {
  font-size: 0.76rem;
  color: var(--text-secondary);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 22px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom p {
  margin: 0;
}

.icp-info a {
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.icp-info a:hover {
  color: var(--teal-accent);
  text-decoration: underline;
}

/* 弹窗样式 */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(2, 6, 23, 0.78);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-card {
  position: relative;
  width: 100%;
  max-width: 460px;
  padding: 30px;
  border-radius: 20px;
  background: #0a1428;
  border: 1px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.75);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  font-size: 1.25rem;
  line-height: 1;
}

.modal-close:hover {
  color: #ffffff;
  border-color: var(--cyan-tech);
}

.modal-badge {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  color: #042f2e;
  background: var(--teal-accent);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.modal-badge.blue {
  background: #3b82f6;
  color: #ffffff;
}

.modal-card h3 {
  margin: 0 0 6px;
  font-size: 1.32rem;
}

.modal-sub {
  margin: 0 0 20px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.qr-modal-card {
  text-align: center;
  max-width: 400px;
}

.modal-qr-wrap {
  width: 240px;
  height: 240px;
  margin: 0 auto 18px;
  padding: 14px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(16, 217, 181, 0.25);
}

.modal-qr-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal-tips {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.modal-tips span {
  font-size: 0.78rem;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 10px;
  border-radius: 999px;
}

.admin-portal-info {
  border-radius: 12px;
  background: rgba(4, 9, 20, 0.78);
  border: 1px solid var(--border-subtle);
  padding: 14px 16px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.portal-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 0.86rem;
}

.portal-row span {
  color: var(--text-secondary);
}

.admin-config-hint {
  margin: 14px 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}

.consult-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.consult-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.84rem;
  color: #cbd5e1;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.consult-form input,
.consult-form select,
.consult-form textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 9px;
  border: 1px solid var(--border-subtle);
  background: rgba(4, 9, 20, 0.85);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.9rem;
}

.consult-form input:focus,
.consult-form select:focus,
.consult-form textarea:focus {
  outline: none;
  border-color: var(--teal-accent);
}

.consult-success {
  text-align: center;
  padding: 14px 0 4px;
}

.success-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: rgba(16, 217, 181, 0.2);
  color: var(--teal-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
}

/* 滚动显隐动画 */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 响应式适配 */
@media (max-width: 1080px) {
  .hero-grid,
  .tech-showcase,
  .portal-showcase {
    grid-template-columns: 1fr;
  }

  .workflow-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .advantages-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 820px) {
  .nav-links,
  .nav-actions .qr-dropdown,
  .nav-actions .btn-admin {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .hero-section {
    padding: 112px 0 68px;
  }

  .services-grid,
  .tech-panel-grid,
  .workflow-track,
  .advantages-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-pillars {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .stage-center-card {
    grid-template-columns: 1fr;
  }

  .console-stage {
    height: auto;
    min-height: 230px;
  }

  .portal-qr-box {
    flex-direction: column;
    text-align: center;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }
}
