/* ============================================
   GKCMS 企业介绍网站 - 主样式表
   风格：深空科技 / 霓虹未来 / 数据可视化
   ============================================ */

/* ---------- CSS 变量 ---------- */
:root {
  /* 主题色 */
  --c-bg-deep: #05080f;
  --c-bg-dark: #0a1530;
  --c-bg-mid: #0f1c45;
  --c-bg-light: #1a2b5f;
  --c-surface: rgba(15, 28, 69, 0.55);
  --c-surface-strong: rgba(20, 38, 90, 0.85);
  --c-line: rgba(0, 229, 255, 0.18);
  --c-line-strong: rgba(0, 229, 255, 0.45);

  /* 文字色 */
  --c-text: #e8f1ff;
  --c-text-dim: #a8b6d4;
  --c-text-mute: #7d8ba8;

  /* 霓虹高亮 */
  --c-cyan: #00e5ff;
  --c-purple: #9b5cff;
  --c-green: #39ff8a;
  --c-pink: #ff4dd2;
  --c-amber: #ffb547;

  /* 渐变 */
  --grad-primary: linear-gradient(135deg, #00e5ff 0%, #9b5cff 100%);
  --grad-success: linear-gradient(135deg, #39ff8a 0%, #00e5ff 100%);
  --grad-warm: linear-gradient(135deg, #ff4dd2 0%, #9b5cff 100%);
  --grad-bg: radial-gradient(ellipse at top, #11204a 0%, #05080f 60%);

  /* 阴影 */
  --shadow-glow-cyan: 0 0 30px rgba(0, 229, 255, 0.45);
  --shadow-glow-purple: 0 0 30px rgba(155, 92, 255, 0.45);
  --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.45);

  /* 字体 */
  --f-display: 'Orbitron', 'Microsoft YaHei', sans-serif;
  --f-body: 'Rajdhani', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  --f-mono: 'JetBrains Mono', 'Consolas', monospace;

  /* 间距 */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  /* 圆角 */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;
  --r-xl: 24px;

  /* 动效 */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

/* ---------- 重置 ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--f-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg-deep);
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

/* ---------- 全局背景 ---------- */
.cosmic-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: var(--grad-bg);
  overflow: hidden;
}

.cosmic-bg::before,
.cosmic-bg::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  pointer-events: none;
}

.cosmic-bg::before {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #00e5ff 0%, transparent 70%);
  top: -200px;
  left: -200px;
  animation: float-slow 20s ease-in-out infinite;
}

.cosmic-bg::after {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, #9b5cff 0%, transparent 70%);
  bottom: -250px;
  right: -250px;
  animation: float-slow 25s ease-in-out infinite reverse;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
  pointer-events: none;
}

#particles-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* ---------- 关键帧动画 ---------- */
@keyframes float-slow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.1); }
  66% { transform: translate(-30px, 40px) scale(0.95); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 229, 255, 0.4), inset 0 0 20px rgba(0, 229, 255, 0.1); }
  50% { box-shadow: 0 0 40px rgba(0, 229, 255, 0.6), inset 0 0 30px rgba(0, 229, 255, 0.2); }
}

@keyframes scan-line {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}

@keyframes rotate-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@keyframes text-flicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}

@keyframes float-up {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes dash-flow {
  to { stroke-dashoffset: -40; }
}

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

/* ---------- 通用 ---------- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--s-5);
}

.section {
  position: relative;
  padding: var(--s-10) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--s-9);
}

.section-tag {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--c-cyan);
  padding: var(--s-2) var(--s-4);
  border: 1px solid var(--c-line-strong);
  border-radius: 100px;
  margin-bottom: var(--s-4);
  text-transform: uppercase;
  background: rgba(0, 229, 255, 0.05);
}

.section-title {
  font-family: var(--f-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--s-4);
  background: linear-gradient(135deg, #ffffff 0%, #00e5ff 60%, #9b5cff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 17px;
  color: var(--c-text-dim);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  padding: 14px 28px;
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: var(--r-md);
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-primary);
  color: #02112a;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(0, 229, 255, 0.7), 0 0 80px rgba(155, 92, 255, 0.3);
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.5) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease);
}

.btn-primary:hover::after {
  transform: translateX(100%);
}

.btn-outline {
  background: transparent;
  color: var(--c-cyan);
  border: 1px solid var(--c-cyan);
  box-shadow: inset 0 0 10px rgba(0, 229, 255, 0.1);
}

.btn-outline:hover {
  background: rgba(0, 229, 255, 0.1);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.4), inset 0 0 20px rgba(0, 229, 255, 0.2);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--c-text);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--c-cyan);
  color: var(--c-cyan);
}

/* ---------- 顶部导航 ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(5, 8, 15, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 229, 255, 0.08);
  transition: all 0.3s var(--ease);
}

.navbar.scrolled {
  padding: 10px 0;
  background: rgba(5, 8, 15, 0.9);
  border-bottom-color: rgba(0, 229, 255, 0.2);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 2px;
}

.brand-logo {
  width: 38px;
  height: 38px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-primary);
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
  overflow: hidden;
}

.brand-logo::before {
  content: '';
  position: absolute;
  inset: 2px;
  background: var(--c-bg-deep);
  border-radius: 6px;
}

.brand-logo svg {
  position: relative;
  width: 22px;
  height: 22px;
  z-index: 1;
}

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

.brand-text .brand-name {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 18px;
}

.brand-text .brand-sub {
  font-size: 10px;
  color: var(--c-text-mute);
  letter-spacing: 3px;
  font-weight: 400;
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--s-7);
}

.nav-link {
  font-family: var(--f-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--c-text-dim);
  position: relative;
  padding: 6px 0;
  transition: color 0.3s var(--ease);
}

.nav-link:hover, .nav-link.active {
  color: var(--c-cyan);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: var(--grad-primary);
  transition: width 0.3s var(--ease);
  box-shadow: 0 0 8px var(--c-cyan);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: var(--s-3);
}

.nav-toggle {
  display: none;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-cyan);
  transition: all 0.3s var(--ease);
  box-shadow: 0 0 5px var(--c-cyan);
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero 区 ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 200px;
  background: linear-gradient(to bottom, transparent, var(--c-cyan), transparent);
  animation: scan-line 6s linear infinite;
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-2) var(--s-4);
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid var(--c-line-strong);
  border-radius: 100px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--c-cyan);
  margin-bottom: var(--s-6);
  text-transform: uppercase;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-cyan);
  box-shadow: 0 0 8px var(--c-cyan);
  animation: blink 2s ease-in-out infinite;
}

.hero-title {
  font-family: var(--f-display);
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--s-5);
  letter-spacing: 2px;
}

.hero-title .glitch {
  background: linear-gradient(135deg, #00e5ff 0%, #9b5cff 50%, #ff4dd2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
}

.hero-title .glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #00e5ff 0%, #9b5cff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: blur(20px);
  opacity: 0.5;
  z-index: -1;
}

.hero-subtitle {
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--c-text-dim);
  max-width: 720px;
  margin: 0 auto var(--s-7);
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: var(--s-4);
  flex-wrap: wrap;
  margin-bottom: var(--s-9);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
  max-width: 800px;
  margin: 0 auto;
  padding-top: var(--s-7);
  border-top: 1px solid var(--c-line);
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-family: var(--f-display);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: var(--c-text-mute);
  letter-spacing: 2px;
  margin-top: var(--s-2);
  text-transform: uppercase;
}

/* ---------- 特性卡片 ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}

.feature-card {
  position: relative;
  padding: var(--s-6);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  backdrop-filter: blur(20px);
  transition: all 0.4s var(--ease);
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  z-index: -1;
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-cyan), transparent);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--c-line-strong);
  box-shadow: var(--shadow-glow-cyan), var(--shadow-card);
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  margin-bottom: var(--s-4);
  color: var(--c-cyan);
  position: relative;
}

.feature-icon::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--r-md);
  background: var(--grad-primary);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s var(--ease);
  filter: blur(8px);
}

.feature-card:hover .feature-icon {
  background: rgba(0, 229, 255, 0.15);
  border-color: var(--c-cyan);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature-title {
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: var(--s-3);
  color: var(--c-text);
}

.feature-desc {
  font-size: 15px;
  color: var(--c-text-dim);
  line-height: 1.7;
  margin-bottom: var(--s-4);
}

.feature-meta {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--c-cyan);
  letter-spacing: 1px;
}

.feature-meta::before {
  content: '>';
  color: var(--c-green);
  font-weight: 700;
}

/* ---------- 模块矩阵 (features 页面) ---------- */
.module-mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-5);
}

.module-card {
  position: relative;
  padding: var(--s-6);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all 0.4s var(--ease);
}

.module-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.module-card::after {
  content: '';
  position: absolute;
  top: var(--s-4);
  right: var(--s-4);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-green);
  box-shadow: 0 0 8px var(--c-green);
  animation: blink 2s ease-in-out infinite;
}

.module-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-line-strong);
  box-shadow: var(--shadow-card);
}

.module-card:hover::before {
  transform: scaleX(1);
}

.module-header {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  margin-bottom: var(--s-4);
}

.module-num {
  font-family: var(--f-mono);
  font-size: 32px;
  font-weight: 700;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  letter-spacing: 2px;
}

.module-info h3 {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 4px;
}

.module-info .module-tag {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--c-cyan);
  letter-spacing: 2px;
}

.module-desc {
  font-size: 15px;
  color: var(--c-text-dim);
  line-height: 1.7;
  margin-bottom: var(--s-4);
}

.module-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-2);
}

.module-features li {
  position: relative;
  padding-left: var(--s-4);
  font-size: 13px;
  color: var(--c-text-dim);
  line-height: 1.6;
}

.module-features li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--c-cyan);
  font-weight: 700;
}

/* ---------- 终端/代码块 ---------- */
.terminal {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-3) var(--s-4);
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid var(--c-line);
}

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

.terminal-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: block;
}

.terminal-dots span:nth-child(1) { background: #ff5f57; }
.terminal-dots span:nth-child(2) { background: #ffbd2e; }
.terminal-dots span:nth-child(3) { background: #28c93f; }

.terminal-title {
  margin-left: var(--s-3);
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--c-text-mute);
}

.terminal-body {
  padding: var(--s-5);
  font-family: var(--f-mono);
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-text-dim);
  overflow-x: auto;
}

.terminal-body .prompt { color: var(--c-green); }
.terminal-body .cmd { color: var(--c-cyan); }
.terminal-body .comment { color: var(--c-text-mute); font-style: italic; }
.terminal-body .key { color: var(--c-purple); }
.terminal-body .string { color: var(--c-amber); }
.terminal-body .output { color: var(--c-text-dim); }

/* ---------- 技术架构 ---------- */
.tech-stack {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
  margin-bottom: var(--s-8);
}

.tech-item {
  padding: var(--s-5);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  text-align: center;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.tech-item::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
}

.tech-item:hover {
  transform: translateY(-4px);
  border-color: var(--c-line-strong);
}

.tech-item:hover::before {
  transform: scaleX(1);
}

.tech-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--s-3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-cyan);
}

.tech-name {
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.tech-version {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--c-cyan);
  letter-spacing: 1px;
}

.arch-diagram {
  position: relative;
  padding: var(--s-7);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.arch-diagram::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.arch-layers {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

.arch-layer {
  position: relative;
  padding: var(--s-5);
  background: rgba(5, 8, 15, 0.6);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  gap: var(--s-5);
  transition: all 0.3s var(--ease);
}

.arch-layer:hover {
  border-color: var(--c-cyan);
  background: rgba(5, 8, 15, 0.8);
}

.arch-layer-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-primary);
  border-radius: var(--r-md);
  color: #02112a;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}

.arch-layer-content {
  flex: 1;
}

.arch-layer-title {
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: var(--s-3);
}

.arch-layer-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--c-green);
  letter-spacing: 1px;
}

.arch-layer-status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c-green);
  box-shadow: 0 0 6px var(--c-green);
  animation: blink 2s ease-in-out infinite;
}

.arch-layer-desc {
  font-size: 14px;
  color: var(--c-text-dim);
}

.arch-layer-tags {
  display: flex;
  gap: var(--s-2);
  flex-wrap: wrap;
}

.arch-tag {
  padding: 3px 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid var(--c-line);
  border-radius: 100px;
  color: var(--c-cyan);
  letter-spacing: 1px;
}

/* ---------- 时间线 ---------- */
.timeline {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding-left: var(--s-7);
}

.timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--c-cyan), var(--c-purple), transparent);
}

.timeline-item {
  position: relative;
  padding: var(--s-5) 0 var(--s-5) var(--s-7);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -38px;
  top: var(--s-6);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--c-bg-deep);
  border: 2px solid var(--c-cyan);
  box-shadow: 0 0 12px var(--c-cyan);
  z-index: 1;
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: -32px;
  top: calc(var(--s-6) + 4px);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-cyan);
  z-index: 2;
}

.timeline-year {
  font-family: var(--f-display);
  font-size: 28px;
  font-weight: 700;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--s-2);
  letter-spacing: 2px;
}

.timeline-title {
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: var(--s-2);
}

.timeline-desc {
  font-size: 15px;
  color: var(--c-text-dim);
  line-height: 1.7;
}

/* ---------- 团队/资质卡片 ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}

.team-card {
  padding: var(--s-6);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  text-align: center;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.team-card:hover {
  transform: translateY(-4px);
  border-color: var(--c-line-strong);
  box-shadow: var(--shadow-card);
}

.team-avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--s-4);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-primary);
  border-radius: 50%;
  color: #02112a;
  font-family: var(--f-display);
  font-size: 32px;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}

.team-name {
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
}

.team-role {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--c-cyan);
  letter-spacing: 2px;
  margin-bottom: var(--s-3);
  text-transform: uppercase;
}

.team-desc {
  font-size: 14px;
  color: var(--c-text-dim);
  line-height: 1.7;
}

.qual-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
  margin-top: var(--s-7);
}

.qual-item {
  padding: var(--s-5);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  text-align: center;
  transition: all 0.3s var(--ease);
}

.qual-item:hover {
  transform: translateY(-4px);
  border-color: var(--c-cyan);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.3);
}

.qual-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--s-3);
  color: var(--c-cyan);
}

.qual-title {
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: var(--s-2);
}

.qual-desc {
  font-size: 13px;
  color: var(--c-text-dim);
}

/* ---------- 联系页 ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--s-7);
  align-items: start;
}

.contact-info {
  padding: var(--s-6);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
}

.contact-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--grad-primary);
}

.contact-info h3 {
  font-family: var(--f-display);
  font-size: 22px;
  margin-bottom: var(--s-3);
}

.contact-info > p {
  color: var(--c-text-dim);
  margin-bottom: var(--s-6);
  font-size: 15px;
  line-height: 1.7;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  padding: var(--s-3);
  border-radius: var(--r-md);
  transition: all 0.3s var(--ease);
}

.contact-item:hover {
  background: rgba(0, 229, 255, 0.05);
}

.contact-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  color: var(--c-cyan);
  flex-shrink: 0;
}

.contact-text {
  flex: 1;
  min-width: 0;
}

.contact-text .label {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--c-cyan);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-text .value {
  font-size: 15px;
  color: var(--c-text);
  word-break: break-all;
}

.contact-form {
  padding: var(--s-6);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
  margin-bottom: var(--s-4);
}

.form-group {
  margin-bottom: var(--s-4);
  position: relative;
}

.form-group label {
  display: block;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--c-cyan);
  letter-spacing: 1.5px;
  margin-bottom: var(--s-2);
  text-transform: uppercase;
}

.form-group label::after {
  content: ' *';
  color: var(--c-pink);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--c-text);
  background: rgba(5, 8, 15, 0.6);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  transition: all 0.3s var(--ease);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--c-cyan);
  background: rgba(5, 8, 15, 0.8);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.15);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
  font-family: inherit;
}

.form-submit {
  width: 100%;
  padding: 14px;
  margin-top: var(--s-3);
}

.form-hint {
  margin-top: var(--s-3);
  font-size: 12px;
  color: var(--c-text-mute);
  text-align: center;
}

.form-success {
  display: none;
  padding: var(--s-5);
  background: rgba(57, 255, 138, 0.1);
  border: 1px solid var(--c-green);
  border-radius: var(--r-md);
  text-align: center;
  margin-top: var(--s-4);
  color: var(--c-green);
  font-family: var(--f-mono);
  letter-spacing: 1px;
}

.form-success.show {
  display: block;
  animation: float-up 0.5s var(--ease);
}

.faq-list {
  max-width: 880px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  margin-bottom: var(--s-3);
  background: var(--c-surface);
  overflow: hidden;
  transition: all 0.3s var(--ease);
}

.faq-item:hover {
  border-color: var(--c-line-strong);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s-4) var(--s-5);
  cursor: pointer;
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 500;
  user-select: none;
  transition: all 0.3s var(--ease);
}

.faq-question:hover {
  color: var(--c-cyan);
}

.faq-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--c-line);
  border-radius: 50%;
  color: var(--c-cyan);
  transition: all 0.3s var(--ease);
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  background: var(--c-cyan);
  color: var(--c-bg-deep);
  transform: rotate(45deg);
  border-color: var(--c-cyan);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-answer-inner {
  padding: 0 var(--s-5) var(--s-5);
  color: var(--c-text-dim);
  line-height: 1.8;
  font-size: 15px;
  border-top: 1px solid var(--c-line);
  padding-top: var(--s-4);
  margin-top: var(--s-1);
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

/* ---------- 场景卡 ---------- */
.scenarios {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}

.scenario-card {
  position: relative;
  padding: var(--s-6);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all 0.4s var(--ease);
}

.scenario-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-primary);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  z-index: -1;
}

.scenario-card:hover {
  transform: translateY(-6px);
  border-color: var(--c-cyan);
  box-shadow: var(--shadow-glow-cyan);
}

.scenario-visual {
  height: 140px;
  margin-bottom: var(--s-4);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-cyan);
  position: relative;
  overflow: hidden;
}

.scenario-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
}

.scenario-visual svg {
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 0 10px var(--c-cyan));
  position: relative;
  z-index: 1;
}

.scenario-title {
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: var(--s-2);
}

.scenario-desc {
  font-size: 14px;
  color: var(--c-text-dim);
  line-height: 1.7;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  position: relative;
  padding: var(--s-9) var(--s-6);
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.08) 0%, rgba(155, 92, 255, 0.08) 100%);
  border: 1px solid var(--c-line-strong);
  border-radius: var(--r-xl);
  text-align: center;
  overflow: hidden;
  margin: var(--s-8) 0;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(0, 229, 255, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(155, 92, 255, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.cta-banner h2 {
  font-family: var(--f-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  margin-bottom: var(--s-4);
  position: relative;
}

.cta-banner p {
  font-size: 17px;
  color: var(--c-text-dim);
  max-width: 640px;
  margin: 0 auto var(--s-5);
  line-height: 1.7;
  position: relative;
}

.cta-banner .btn {
  position: relative;
  margin: 0 var(--s-2);
}

/* ---------- 底部 Footer ---------- */
.footer {
  position: relative;
  padding: var(--s-8) 0 var(--s-5);
  background: rgba(5, 8, 15, 0.6);
  border-top: 1px solid var(--c-line);
  margin-top: var(--s-9);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: var(--s-7);
  margin-bottom: var(--s-7);
}

.footer-brand .brand {
  margin-bottom: var(--s-4);
}

.footer-desc {
  font-size: 14px;
  color: var(--c-text-dim);
  line-height: 1.7;
  margin-bottom: var(--s-4);
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: var(--s-3);
}

.social-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  color: var(--c-text-dim);
  transition: all 0.3s var(--ease);
}

.social-btn:hover {
  border-color: var(--c-cyan);
  color: var(--c-cyan);
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
}

.footer-col h4 {
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: var(--s-4);
  color: var(--c-text);
}

.footer-col ul li {
  margin-bottom: var(--s-3);
}

.footer-col ul li a {
  font-size: 14px;
  color: var(--c-text-dim);
  transition: color 0.3s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul li a::before {
  content: '›';
  color: var(--c-cyan);
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.3s var(--ease);
}

.footer-col ul li a:hover {
  color: var(--c-cyan);
}

.footer-col ul li a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-bottom {
  padding-top: var(--s-5);
  border-top: 1px solid var(--c-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-3);
}

.copyright {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--c-text-mute);
  letter-spacing: 1px;
}

.beian {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--c-text-mute);
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
}

.beian img {
  width: 14px;
  height: 14px;
}

.beian a {
  color: var(--c-text-mute);
  transition: color 0.3s var(--ease);
}

.beian a:hover {
  color: var(--c-cyan);
}

.beian-divider {
  color: var(--c-line-strong);
}

/* ---------- 滚动渐入 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---------- 页面头部 (非首页) ---------- */
.page-hero {
  position: relative;
  padding: 160px 0 80px;
  text-align: center;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(0, 229, 255, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(155, 92, 255, 0.15) 0%, transparent 40%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-family: var(--f-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  margin-bottom: var(--s-4);
  background: linear-gradient(135deg, #ffffff 0%, #00e5ff 60%, #9b5cff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
}

.page-hero p {
  font-size: 18px;
  color: var(--c-text-dim);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.7;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  margin-bottom: var(--s-4);
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--c-text-mute);
  letter-spacing: 1px;
}

.breadcrumb a {
  color: var(--c-text-dim);
  transition: color 0.3s var(--ease);
}

.breadcrumb a:hover {
  color: var(--c-cyan);
}

.breadcrumb-sep {
  color: var(--c-cyan);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .features-grid,
  .module-mosaic,
  .scenarios,
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tech-stack,
  .qual-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-wrap {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  :root {
    --s-9: 64px;
    --s-10: 80px;
  }

  .nav-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(5, 8, 15, 0.98);
    backdrop-filter: blur(20px);
    padding: var(--s-5);
    gap: var(--s-3);
    border-bottom: 1px solid var(--c-line);
    transform: translateY(-120%);
    transition: transform 0.4s var(--ease);
  }

  .nav-menu.active {
    transform: translateY(0);
  }

  .nav-menu .nav-link {
    width: 100%;
    padding: var(--s-3) 0;
    border-bottom: 1px solid var(--c-line);
  }

  .nav-toggle {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid,
  .module-mosaic,
  .scenarios,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .tech-stack,
  .qual-grid {
    grid-template-columns: 1fr 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .arch-layer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .tech-stack,
  .qual-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- 选中态 ---------- */
::selection {
  background: rgba(0, 229, 255, 0.3);
  color: #ffffff;
}

/* ---------- 滚动条 ---------- */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--c-bg-deep);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--c-cyan), var(--c-purple));
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--c-cyan), #00b8d4);
}
