﻿:root {
  font-family: "Inter", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", sans-serif;
  color-scheme: light;
  
  /* 高级配色系统 - 参考 Apple/Linear 风格 */
  --bg: #ffffff;
  --bg-subtle: #fafafa;
  --bg-muted: #f5f5f5;
  --surface: #ffffff;
  --surface-elevated: #ffffff;
  
  --text: #0a0a0a;
  --text-secondary: #525252;
  --text-muted: #737373;
  --text-disabled: #a3a3a3;
  
  --border: rgba(0, 0, 0, 0.06);
  --border-strong: rgba(0, 0, 0, 0.12);
  
  --accent: #0066ff;
  --accent-hover: #0052cc;
  --accent-light: rgba(0, 102, 255, 0.1);
  
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.16);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  
  --spacing-xs: 0.5rem;
  --spacing-sm: 0.75rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
}

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

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  max-width: 100%;
}

/* 自定义滚动条样式 */
::-webkit-scrollbar {
  width: 16px;
  height: 16px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3);
  background-clip: padding-box;
}

/* Firefox */
* {
  scrollbar-width: auto;
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-family: "Inter", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", sans-serif;
  font-weight: 400;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  max-width: 100%;
  overflow-x: hidden;
}

/* 精致的背景纹理 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: 
    radial-gradient(circle at 0% 0%, rgba(0, 102, 255, 0.03), transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(0, 102, 255, 0.02), transparent 50%);
  pointer-events: none;
  z-index: -1;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Inter", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", sans-serif;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--text);
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* 导航栏 - 极简精致 */
.global-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem clamp(1.5rem, 4vw, 5rem);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: transform 0.2s ease;
}

.brand:hover {
  transform: translateY(-1px);
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-logo:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

.brand-name {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text);
}

.global-nav nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  font-size: 0.9375rem;
  font-weight: 500;
}

.global-nav nav a {
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.2s ease;
}

.global-nav nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.global-nav nav a:hover {
  color: var(--text);
}

.global-nav nav a:hover::after {
  width: 100%;
}

/* 按钮系统 */
.ghost-btn,
.primary-btn,
.outline-btn {
  border: none;
  cursor: pointer;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.ghost-btn,
.outline-btn {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text);
}

.ghost-btn:hover,
.outline-btn:hover {
  background: var(--bg-muted);
  border-color: var(--text-muted);
  transform: translateY(-1px);
}

.primary-btn {
  background: var(--accent);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.primary-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.primary-btn:hover {
  background: var(--accent-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.primary-btn:hover::before {
  opacity: 1;
}

.primary-btn > * {
  position: relative;
  z-index: 1;
}

/* 主内容区域 */
main {
  padding: var(--spacing-3xl) clamp(1.5rem, 4vw, 5rem) var(--spacing-3xl);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-3xl);
  max-width: 100%;
  overflow-x: hidden;
}

/* Hero 区域 - 极简高级 */
.hero-lab {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  padding: clamp(3rem, 6vw, 6rem) clamp(2rem, 4vw, 4rem);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 248, 255, 0.95) 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: start;
  min-height: 600px;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
  isolation: isolate;
}

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

.hero-beam {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 30% 30%, rgba(0, 102, 255, 0.08), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(0, 102, 255, 0.05), transparent 60%);
  pointer-events: none;
  opacity: 0.6;
  animation: beamPulse 8s ease-in-out infinite;
}

@keyframes beamPulse {
  0%, 100% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: fadeInLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
  padding-top: 0;
  min-width: 0;
  overflow: hidden;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-tag,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--spacing-md);
  margin-top: 0;
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-sm);
  background: var(--bg-muted);
  border: 1px solid var(--border);
}

.hero-lab h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin: var(--spacing-md) 0 var(--spacing-lg);
  color: var(--text);
  white-space: nowrap;
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

.hero-lede {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 42ch;
  margin-bottom: var(--spacing-xl);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.hero-console {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  animation: fadeInRight 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
  margin-top: 0;
  padding-top: 4.5rem;
  overflow: hidden;
  min-width: 0;
  padding-left: 0;
  padding-right: 0;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* 状态栏 */
.status-bar {
  display: flex;
  gap: 2rem;
  white-space: nowrap;
  overflow: hidden;
  padding: var(--spacing-md) 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  animation: marquee 20s linear infinite;
  position: relative;
  width: 100%;
  margin-top: 0;
  max-width: 100%;
  contain: layout style paint;
  clip-path: inset(0);
  mask-image: linear-gradient(to right, transparent 0%, black 120px, black calc(100% - 120px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 120px, black calc(100% - 120px), transparent 100%);
}

.status-bar span {
  color: var(--accent);
  font-weight: 600;
  transition: color 0.2s ease;
}

.status-bar span:hover {
  color: var(--accent-hover);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.status-bar::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 120px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.98) 0%, rgba(240, 248, 255, 0.95) 50%, rgba(240, 248, 255, 0.9) 80%, transparent 100%);
  z-index: 3;
  pointer-events: none;
}

.status-bar::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 120px;
  background: linear-gradient(to left, rgba(240, 248, 255, 0.98) 0%, rgba(240, 248, 255, 0.95) 50%, rgba(240, 248, 255, 0.9) 80%, transparent 100%);
  z-index: 3;
  pointer-events: none;
}

/* 信号板 */
.signal-board {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--spacing-lg);
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  transition: all 0.3s ease;
}

.signal-board:hover {
  box-shadow: var(--shadow-sm);
}

.signal-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.signal {
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.875rem;
  font-weight: 500;
  font-family: inherit;
  position: relative;
  overflow: hidden;
}

.signal::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent-light);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.signal:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.signal.is-active {
  background: var(--accent-light);
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 600;
}

.signal.is-active::before {
  opacity: 1;
}

.signal > * {
  position: relative;
  z-index: 1;
}

.console-copy {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* 指标卡片 */
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--border);
}

.hero-metrics div {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hero-metrics strong {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.02em;
}

.hero-metrics span {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-metrics p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0;
}

/* 架构区域 */
.architecture {
  border-radius: var(--radius-2xl);
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 4rem);
  background: linear-gradient(135deg, rgba(255, 251, 245, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: var(--spacing-2xl);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.architecture.in-view {
  opacity: 1;
  transform: translateY(0);
}

.architecture-intro h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin: var(--spacing-md) 0;
  letter-spacing: -0.03em;
}

.architecture-intro p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 60ch;
}

.architecture-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--spacing-md);
}

.step {
  border-left: 3px solid var(--border);
  padding: var(--spacing-md) 0 var(--spacing-md) var(--spacing-lg);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  cursor: pointer;
  opacity: 0;
  transform: translateX(-20px);
}

.step.in-view {
  opacity: 1;
  transform: translateX(0);
}

.step:nth-child(1) { transition-delay: 0.1s; }
.step:nth-child(2) { transition-delay: 0.2s; }
.step:nth-child(3) { transition-delay: 0.3s; }
.step:nth-child(4) { transition-delay: 0.4s; }

.step.is-active {
  border-left-color: var(--accent);
  background: var(--accent-light);
  border-radius: var(--radius-md);
  padding-left: calc(var(--spacing-lg) + var(--spacing-sm));
  transform: translateX(8px);
}

.step:hover {
  border-left-color: var(--accent);
  transform: translateX(4px);
  background: var(--bg-muted);
}

.step-label {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.step p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

.architecture-note {
  border-top: 1px solid var(--border);
  padding-top: var(--spacing-lg);
  color: var(--accent);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  transform: translateY(10px);
}

.architecture-note.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* River 区域 */
.river {
  border-radius: var(--radius-2xl);
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 4rem);
  background: linear-gradient(135deg, rgba(245, 250, 255, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: var(--spacing-2xl);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.river.in-view {
  opacity: 1;
  transform: translateY(0);
}

.river header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin: var(--spacing-md) 0;
  letter-spacing: -0.03em;
}

.river-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-lg);
}

.river-stop {
  padding: var(--spacing-lg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  min-height: 180px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(20px);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.river-stop.in-view {
  opacity: 1;
  transform: translateY(0);
}

.river-stop:nth-child(1) { transition-delay: 0.1s; }
.river-stop:nth-child(2) { transition-delay: 0.2s; }
.river-stop:nth-child(3) { transition-delay: 0.3s; }
.river-stop:nth-child(4) { transition-delay: 0.4s; }

.river-stop.is-active {
  border-color: var(--accent);
  background: var(--accent-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.river-stop:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
  background: var(--bg-muted);
}

.river-stop h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  color: var(--text);
}

.river-stop p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}

.river-stop span {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.river-detail {
  border-top: 1px solid var(--border);
  padding-top: var(--spacing-lg);
  font-size: 1rem;
  color: var(--accent);
  font-weight: 500;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  transform: translateY(10px);
}

.river-detail.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* City Grid 区域 */
.city-grid {
  border-radius: var(--radius-2xl);
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 4vw, 4rem);
  background: linear-gradient(135deg, rgba(250, 245, 255, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: var(--spacing-2xl);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.city-grid.in-view {
  opacity: 1;
  transform: translateY(0);
}

.city-grid header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin: var(--spacing-md) 0;
  letter-spacing: -0.03em;
}

.city-schema {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.schema-row {
  display: grid;
  grid-template-columns: 100px 1fr 200px;
  gap: var(--spacing-lg);
  padding: var(--spacing-lg) 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateX(-20px);
}

.schema-row.in-view {
  opacity: 1;
  transform: translateX(0);
}

.schema-row:nth-child(1) { transition-delay: 0.1s; }
.schema-row:nth-child(2) { transition-delay: 0.2s; }
.schema-row:nth-child(3) { transition-delay: 0.3s; }
.schema-row:nth-child(4) { transition-delay: 0.4s; }

.schema-row:last-child {
  border-bottom: none;
}

.schema-row:hover {
  background: var(--bg-muted);
  transform: translateX(8px);
  padding-left: var(--spacing-md);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
}

.city-code {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text);
}

.schema-row p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

.schema-row em {
  font-style: normal;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 500;
}

/* Footer */
.global-footer {
  padding: var(--spacing-2xl) clamp(1.5rem, 4vw, 5rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  background: var(--bg-subtle);
}

.footer-links {
  display: flex;
  gap: var(--spacing-lg);
  font-size: 0.9375rem;
  font-weight: 500;
}

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

.footer-links a:hover {
  color: var(--text);
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .hero-lab {
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
  }
  
  .hero-metrics {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .global-nav {
    flex-direction: column;
    gap: var(--spacing-md);
    padding: var(--spacing-lg) var(--spacing-lg);
  }

  .global-nav nav {
    gap: var(--spacing-md);
    font-size: 0.875rem;
  }

  .hero-lab {
    padding: var(--spacing-2xl) var(--spacing-lg);
    min-height: auto;
  }

  .hero-lab h1 {
    font-size: clamp(2rem, 8vw, 3rem);
    white-space: normal;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .architecture,
  .river,
  .city-grid {
    padding: var(--spacing-2xl) var(--spacing-lg);
  }

  .schema-row {
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
  }

  .schema-row:hover {
    padding-left: var(--spacing-sm);
  }

  .global-footer {
    flex-direction: column;
    gap: var(--spacing-lg);
    text-align: center;
  }
}

/* 其他页面样式 */
.subpage {
  background: var(--bg);
  color: var(--text);
}

.global-nav.compact {
  position: static;
  background: rgba(255, 255, 255, 0.95);
}

.subpage-main {
  padding: var(--spacing-2xl) clamp(1.5rem, 4vw, 5rem) var(--spacing-3xl);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-2xl);
}

.sub-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--spacing-xl);
  padding: var(--spacing-2xl);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 248, 255, 0.95) 100%);
  box-shadow: var(--shadow-sm);
}

.sub-hero-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--spacing-md);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  background: var(--bg-muted);
  border: 1px solid var(--border);
}

.module {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
  background: linear-gradient(135deg, rgba(255, 251, 245, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
  box-shadow: var(--shadow-sm);
}

.mosaic {
  display: grid;
  gap: var(--spacing-lg);
}

.mosaic article {
  border-left: 3px solid var(--border);
  padding-left: var(--spacing-lg);
}

.detail-grid .detail-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--spacing-lg);
}

.stacked {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
}

.accordion-head {
  width: 100%;
  padding: var(--spacing-md) var(--spacing-lg);
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  cursor: pointer;
  font-family: inherit;
}

.accordion-body {
  padding: var(--spacing-md) var(--spacing-lg);
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}

.dashboard-card {
  position: relative;
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(245, 250, 255, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
}

.dashboard-card ul {
  list-style: none;
  padding: 0;
  margin: var(--spacing-md) 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(80px, 1fr));
  gap: var(--spacing-sm);
}

.dashboard-card li {
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  background: var(--bg-muted);
  text-align: center;
  font-size: 0.875rem;
}

.timeline-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  background: linear-gradient(135deg, rgba(255, 251, 245, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.timeline-card ol {
  padding-left: var(--spacing-lg);
}

.badge-cloud {
  position: relative;
  padding: var(--spacing-md) var(--spacing-3xl);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(250, 245, 255, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
  overflow: hidden;
}

.badge-track {
  display: flex;
  gap: var(--spacing-md);
  transition: transform 0.3s ease;
}

.badge-track span {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-muted);
  font-size: 0.875rem;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: var(--bg-muted);
  color: var(--text);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.carousel-btn:hover {
  background: var(--accent);
  color: #ffffff;
}

.carousel-btn.prev {
  left: var(--spacing-sm);
}

.carousel-btn.next {
  right: var(--spacing-sm);
}

.alliance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--spacing-lg);
}

.alliance-grid article,
.events .event-deck article {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: var(--spacing-lg);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(240, 248, 255, 0.95) 100%);
  box-shadow: var(--shadow-xs);
}

.events .event-deck {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-lg);
}
