/* ============================================
   GKSHOP · 沉香自营商城系统 - 介绍网站
   设计理念: 沉香木暖色 + 科技冷色 融合的科技感高端展示页
   ============================================ */

:root {
  /* 基础色调 - 沉香木暖色 + 科技冷色 */
  --bg-primary: #050508;
  --bg-secondary: #0a0a12;
  --bg-elevated: #0f0f1a;
  --bg-card: rgba(20, 20, 30, 0.6);
  --bg-card-hover: rgba(28, 28, 42, 0.8);

  /* 文本 */
  --text-primary: #f0f0f5;
  --text-secondary: #b0b0c0;
  --text-muted: #6a6a80;
  --text-dim: #3a3a4a;

  /* 品牌色 - 沉香木暖金 */
  --amber: #c8975c;
  --amber-bright: #e8b577;
  --amber-soft: #b8865c;
  --amber-dark: #8b6a3a;

  /* 科技冷色 */
  --cyan: #00d4ff;
  --cyan-soft: #4ecdc4;
  --cyan-dark: #00a8cc;

  /* 边框 */
  --border: rgba(200, 151, 92, 0.12);
  --border-bright: rgba(200, 151, 92, 0.35);
  --border-cool: rgba(0, 212, 255, 0.18);
  --border-cool-bright: rgba(0, 212, 255, 0.4);

  /* 发光 */
  --glow-amber: 0 0 40px rgba(200, 151, 92, 0.25);
  --glow-amber-strong: 0 0 60px rgba(232, 181, 119, 0.4);
  --glow-cyan: 0 0 40px rgba(0, 212, 255, 0.3);

  /* 字体 */
  --font-display: "Orbitron", "Noto Sans SC", system-ui, sans-serif;
  --font-heading: "Rajdhani", "Noto Sans SC", system-ui, sans-serif;
  --font-body: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Consolas, monospace;
}

/* ===== Reset ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

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

ul, ol {
  list-style: none;
}

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

/* ===== 背景层 ===== */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(ellipse 80% 50% at 20% 10%, rgba(200, 151, 92, 0.12), transparent 60%),
    radial-gradient(ellipse 60% 60% at 80% 30%, rgba(0, 212, 255, 0.08), transparent 60%),
    radial-gradient(ellipse 50% 50% at 50% 80%, rgba(200, 151, 92, 0.06), transparent 60%),
    linear-gradient(180deg, #050508 0%, #0a0a14 50%, #050508 100%);
  pointer-events: none;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(200, 151, 92, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 151, 92, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 0%, transparent 80%);
  pointer-events: none;
}

.bg-noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.4;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* ===== 通用 ===== */
.section {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 100px 32px;
}

.section-alt {
  background: linear-gradient(180deg, transparent 0%, rgba(15, 15, 26, 0.4) 50%, transparent 100%);
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.section-alt > * {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
}

.section-dark {
  background:
    radial-gradient(ellipse 50% 80% at 50% 0%, rgba(200, 151, 92, 0.04), transparent 60%),
    var(--bg-secondary);
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.section-dark > * {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
}

.section-header {
  margin-bottom: 64px;
  text-align: center;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--cyan);
  margin-bottom: 16px;
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid var(--border-cool);
  border-radius: 4px;
  background: rgba(0, 212, 255, 0.05);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--amber-bright) 50%, var(--text-primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 16px;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-bright) 100%);
  color: #1a1208;
  border: 1px solid var(--amber-bright);
  box-shadow: var(--glow-amber);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-amber-strong);
}

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

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

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-bright);
}

.btn-ghost:hover {
  background: rgba(200, 151, 92, 0.08);
  border-color: var(--amber);
}

/* ===== 导航栏 ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all 0.3s ease;
  background: transparent;
}

.nav.scrolled {
  background: rgba(5, 5, 8, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-bright) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: var(--glow-amber);
}

.logo-mark::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 7px;
  background: linear-gradient(135deg, #1a1208 0%, #0a0a14 100%);
}

.logo-mark-inner {
  position: relative;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 900;
  color: var(--amber-bright);
  letter-spacing: -0.05em;
}

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

.logo-text-main {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-primary);
}

.logo-text-sub {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.nav-menu {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-menu a {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  position: relative;
  padding: 4px 0;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--amber);
  transition: width 0.3s ease;
  box-shadow: 0 0 8px var(--amber);
}

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

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

.nav-cta {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--amber-bright);
  padding: 8px 16px;
  border: 1px solid var(--border-bright);
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background: rgba(200, 151, 92, 0.1);
  border-color: var(--amber);
}

.nav-cta .arrow {
  transition: transform 0.3s ease;
}

.nav-cta:hover .arrow {
  transform: translateX(4px);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 32px 80px;
  max-width: 1280px;
  margin: 0 auto;
  overflow: hidden;
}

.hero-circuits {
  position: absolute;
  inset: 0;
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
}

.hero-circuits svg {
  width: 100%;
  height: 100%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: rgba(20, 20, 30, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-bottom: 32px;
}

.hero-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber-bright);
  box-shadow: 0 0 8px var(--amber);
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero-tag-divider {
  color: var(--text-dim);
}

.hero-title {
  font-family: var(--font-display);
  font-size: 88px;
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.hero-title-line {
  display: block;
  position: relative;
}

.hero-title-prefix {
  font-family: var(--font-mono);
  font-size: 32px;
  font-weight: 500;
  color: var(--cyan);
  vertical-align: top;
  margin-right: 8px;
  opacity: 0.8;
}

.hero-title-main {
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, var(--amber-bright) 0%, var(--amber) 50%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 80px rgba(200, 151, 92, 0.3);
}

.hero-title-main::before {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(0, 212, 255, 0.3) 50%, transparent 60%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: blur(2px);
  z-index: -1;
}

.hero-title-cn {
  display: block;
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.3em;
  margin-top: 12px;
  text-indent: 0.3em; /* 补偿 letter-spacing 末尾 */
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin: 32px auto 40px;
  max-width: 720px;
}

.hero-subtitle .hl {
  color: var(--amber-bright);
  font-weight: 500;
  font-family: var(--font-mono);
  font-size: 14px;
  padding: 2px 8px;
  background: rgba(200, 151, 92, 0.1);
  border-radius: 4px;
  border: 1px solid var(--border);
}

.hero-subtitle-meta {
  display: block;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 720px;
  margin: 48px auto;
  padding: 24px;
  background: rgba(15, 15, 26, 0.4);
  border: 1px solid var(--border);
  border-radius: 12px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.hero-stat {
  text-align: center;
  position: relative;
}

.hero-stat-num,
.hero-stat-suffix {
  display: inline-block;
  vertical-align: baseline;
}

.hero-stat-label {
  display: block;
}

.hero-stat + .hero-stat::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40%;
  background: var(--border);
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 900;
  color: var(--amber-bright);
  line-height: 1;
  text-shadow: 0 0 30px rgba(200, 151, 92, 0.3);
}

.hero-stat-suffix {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--cyan);
  margin-left: 2px;
}

.hero-stat-label {
  margin-top: 8px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 40px;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--text-muted);
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--amber), transparent);
  position: relative;
  overflow: hidden;
}

.hero-scroll-line::after {
  content: "";
  position: absolute;
  top: -40px;
  left: 0;
  width: 100%;
  height: 40px;
  background: var(--amber-bright);
  animation: scroll-line 2s ease-in-out infinite;
}

/* ===== 系统概览 ===== */
.system-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.system-card {
  position: relative;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.system-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.system-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-bright);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px -20px rgba(200, 151, 92, 0.2);
}

.system-card:hover::before {
  opacity: 1;
}

.system-card[data-color="cyan"]::before {
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}

.system-card[data-color="cyan"]:hover {
  border-color: var(--border-cool-bright);
  box-shadow: 0 20px 60px -20px rgba(0, 212, 255, 0.2);
}

.system-card-wide {
  grid-column: span 2;
}

.system-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(200, 151, 92, 0.15), rgba(200, 151, 92, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber-bright);
  margin-bottom: 20px;
  position: relative;
}

.system-card-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  border: 1px solid var(--border-bright);
}

.system-card[data-color="cyan"] .system-card-icon {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(0, 212, 255, 0.05));
  color: var(--cyan);
}

.system-card[data-color="cyan"] .system-card-icon::after {
  border-color: var(--border-cool-bright);
}

.system-card-icon svg {
  width: 32px;
  height: 32px;
}

.system-card-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.system-card-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.system-card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px dashed var(--border);
}

.system-card-list {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
}

.system-card-list li {
  padding-left: 18px;
  position: relative;
}

.system-card-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--amber);
  font-size: 10px;
}

.system-card[data-color="cyan"] .system-card-list li::before {
  color: var(--cyan);
}

.system-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.system-card-meta .dot {
  color: var(--text-dim);
}

.system-card-meta span:last-child {
  color: var(--amber-bright);
  font-weight: 600;
}

.system-card[data-color="cyan"] .system-card-meta span:last-child {
  color: var(--cyan);
}

/* ===== 技术栈 ===== */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tech-card {
  position: relative;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.4s ease;
}

.tech-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-bright);
}

.tech-card-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.tech-card-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.1em;
}

.tech-card-title span:last-child {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}

.tech-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tech-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
}

.tech-item:last-child {
  border-bottom: none;
}

.tech-item-name {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 600;
  color: var(--amber-bright);
  letter-spacing: 0.02em;
}

.tech-item-desc {
  font-size: 12px;
  color: var(--text-muted);
}

/* ===== 核心功能 ===== */
.feature-categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feature-category {
  position: relative;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.4s ease;
}

.feature-category:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-bright);
  transform: translateY(-2px);
}

.feature-category-num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
  opacity: 0.6;
}

.feature-category-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  letter-spacing: 0.03em;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-tag {
  display: inline-block;
  padding: 6px 14px;
  font-size: 13px;
  color: var(--text-secondary);
  background: rgba(200, 151, 92, 0.06);
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: all 0.3s ease;
  cursor: default;
}

.feature-tag:hover {
  color: var(--amber-bright);
  background: rgba(200, 151, 92, 0.15);
  border-color: var(--border-bright);
  transform: translateY(-1px);
}

/* ===== 系统架构 ===== */
.arch-wrap {
  position: relative;
  padding: 48px 24px;
  background:
    radial-gradient(ellipse 80% 50% at 50% 50%, rgba(200, 151, 92, 0.04), transparent 70%),
    var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.arch-layers {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 1080px;
  margin: 0 auto;
}

.arch-layer-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--cyan);
  margin-bottom: 12px;
  text-align: center;
  opacity: 0.8;
}

.arch-layer-content {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.arch-arrow {
  width: 2px;
  height: 32px;
  background: linear-gradient(180deg, transparent, var(--amber), transparent);
  margin: 0 auto;
  position: relative;
  opacity: 0.4;
}

.arch-arrow::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 6px solid var(--amber);
}

.arch-block {
  flex: 1;
  min-width: 160px;
  padding: 16px 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.arch-block:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-bright);
  transform: translateY(-2px);
}

.arch-client {
  background: linear-gradient(135deg, rgba(200, 151, 92, 0.08), rgba(200, 151, 92, 0.02));
  border-color: var(--border-bright);
}

.arch-gw {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.08), rgba(0, 212, 255, 0.02));
  border-color: var(--border-cool);
  max-width: 320px;
  margin: 0 auto;
  width: 100%;
}

.arch-app {
  background: linear-gradient(135deg, rgba(200, 151, 92, 0.06), rgba(0, 212, 255, 0.06));
}

.arch-svc {
  background: rgba(20, 20, 30, 0.6);
}

.arch-data {
  background: rgba(15, 15, 22, 0.8);
  border-color: var(--border-cool);
}

.arch-block-icon {
  font-size: 24px;
  margin-bottom: 4px;
}

.arch-block-name {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
  letter-spacing: 0.02em;
}

.arch-block-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

/* ===== 时间线 ===== */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 32px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--amber) 20%, var(--cyan) 80%, transparent);
  opacity: 0.4;
}

.timeline-item {
  position: relative;
  padding-bottom: 48px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -28px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 2px solid var(--amber);
  box-shadow: 0 0 0 4px rgba(200, 151, 92, 0.1), 0 0 20px rgba(200, 151, 92, 0.4);
}

.timeline-content {
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.3s ease;
}

.timeline-content:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-bright);
  transform: translateX(4px);
}

.timeline-round {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.timeline-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.timeline-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== 关键指标 ===== */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.metric-card {
  position: relative;
  padding: 28px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: all 0.3s ease;
}

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

.metric-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 900;
  color: var(--amber-bright);
  line-height: 1;
  text-shadow: 0 0 30px rgba(200, 151, 92, 0.3);
}

.metric-num span {
  font-size: 24px;
  color: var(--cyan);
  margin-left: 2px;
  vertical-align: top;
}

.metric-label {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-top: 8px;
  margin-bottom: 16px;
}

.metric-bar {
  width: 100%;
  height: 3px;
  background: var(--bg-elevated);
  border-radius: 2px;
  overflow: hidden;
}

.metric-bar-fill {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--amber), var(--cyan));
  border-radius: 2px;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== 关于 ===== */
.about-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}

.about-card {
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.about-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--amber);
  margin-bottom: 16px;
}

.about-name {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  line-height: 1.3;
  background: linear-gradient(135deg, var(--text-primary), var(--amber-bright));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px dashed var(--border);
}

.about-meta {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.about-meta-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.about-meta-value {
  font-size: 15px;
  color: var(--text-primary);
  font-weight: 500;
}

.about-illu {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  overflow: hidden;
  min-height: 360px;
}

.about-illu::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 50% 50%, rgba(200, 151, 92, 0.1), transparent 70%);
  pointer-events: none;
}

.about-illu-frame {
  position: relative;
  width: 80%;
  padding: 48px 32px;
  border: 1px solid var(--border-bright);
}

.about-illu-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--amber);
}

.about-illu-corner.tl { top: -1px; left: -1px; border-top: 1px solid; border-left: 1px solid; }
.about-illu-corner.tr { top: -1px; right: -1px; border-top: 1px solid; border-right: 1px solid; }
.about-illu-corner.bl { bottom: -1px; left: -1px; border-bottom: 1px solid; border-left: 1px solid; }
.about-illu-corner.br { bottom: -1px; right: -1px; border-bottom: 1px solid; border-right: 1px solid; }

.about-illu-text {
  text-align: center;
  position: relative;
}

.about-illu-cn {
  font-family: "Noto Serif SC", "STKaiti", "KaiTi", serif;
  font-size: 56px;
  font-weight: 900;
  color: var(--amber-bright);
  letter-spacing: 0.2em;
  text-shadow: 0 0 30px rgba(200, 151, 92, 0.4);
  margin-bottom: 8px;
}

.about-illu-en {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.about-illu-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
  margin: 0 auto 24px;
}

.about-illu-line {
  font-family: "Noto Serif SC", "STKaiti", "KaiTi", serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.4em;
  margin-bottom: 8px;
  padding-left: 0.4em;
}

/* ===== Footer ===== */
.footer {
  position: relative;
  margin-top: 80px;
  padding: 60px 32px 32px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber-bright) 50%, transparent);
  opacity: 0.5;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 320px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--amber);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.footer-col a,
.footer-col span {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--amber-bright);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.footer-icp a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  padding: 4px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.footer-icp a:hover {
  color: var(--amber-bright);
  border-color: var(--border-bright);
  background: rgba(200, 151, 92, 0.05);
}

.footer-icp-icon {
  font-size: 12px;
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .system-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .system-card-wide {
    grid-column: span 2;
  }
  .tech-grid {
    grid-template-columns: 1fr;
  }
  .feature-categories {
    grid-template-columns: 1fr;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-wrap {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 20px;
  }
  .section-title {
    font-size: 32px;
  }
  .hero-title {
    font-size: 48px;
  }
  .hero-title-cn {
    font-size: 18px;
  }
  .nav-menu {
    display: none;
  }
  .system-grid,
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  .system-card-wide {
    grid-column: span 1;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    padding: 16px;
  }
  .hero-stat-num {
    font-size: 32px;
  }
  .footer-links {
    grid-template-columns: 1fr;
  }
  .arch-layer-content {
    flex-direction: column;
  }
  .arch-block {
    min-width: auto;
  }
}
