:root {
  --bg: #0a0e1a;
  --bg-2: #0f1424;
  --card: rgba(26, 32, 53, 0.55);
  --card-solid: #161c2e;
  --primary: #00d4ff;
  --accent: #7b61ff;
  --accent-2: #ff3d9a;
  --text: #e8ecf5;
  --muted: #8a93a8;
  --border: rgba(0, 212, 255, 0.18);
  --glow: rgba(0, 212, 255, 0.35);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

/* 背景网格 + 光斑 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
  z-index: 0;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: #fff; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 1; }

/* ===== 顶部导航 ===== */
.nav {
  background: rgba(10, 14, 26, 0.8);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  height: 60px;
  gap: 28px;
}
.nav .logo {
  font-size: 18px;
  font-weight: 700;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav a { color: var(--muted); font-size: 15px; }
.nav a:hover { color: var(--primary); }

/* ===== Hero 区 ===== */
.hero {
  position: relative;
  padding: 90px 0 70px;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 212, 255, 0.18), transparent 45%),
    radial-gradient(circle at 80% 30%, rgba(123, 97, 255, 0.18), transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(255, 61, 154, 0.14), transparent 50%);
  pointer-events: none;
}
.hero .eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--primary);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 22px;
  background: rgba(0, 212, 255, 0.08);
}
.hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: flow 6s linear infinite;
}
@keyframes flow {
  to { background-position: 200% center; }
}
.hero p {
  font-size: 18px;
  color: var(--muted);
  max-width: 680px;
  margin: 0 auto 30px;
}
.hero .cta {
  display: inline-block;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  color: #fff;
  padding: 14px 30px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 0 24px var(--glow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.hero .cta:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 0 36px var(--glow); }

/* ===== 区块标题 ===== */
.section { padding: 44px 0; }
.section h2 {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.section .sub { color: var(--muted); margin-bottom: 26px; }

/* ===== 玻璃卡片网格 ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.card {
  background: var(--card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--accent-2));
  opacity: 0;
  transition: opacity 0.2s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 212, 255, 0.5);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.15);
}
.card:hover::before { opacity: 1; }
.card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.card p { font-size: 14px; color: var(--muted); }
.card .tag {
  display: inline-block;
  font-size: 12px;
  color: var(--primary);
  border: 1px solid var(--border);
  background: rgba(0, 212, 255, 0.08);
  padding: 2px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

/* ===== 面包屑 ===== */
.breadcrumb { padding: 16px 0 0; font-size: 14px; color: var(--muted); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { margin: 0 6px; }

/* ===== 内页 ===== */
.article { padding: 24px 0 60px; }
.article h1 {
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}
.article .meta { font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.article h2 {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.article h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--primary);
  margin: 24px 0 10px;
}
.article p { margin-bottom: 14px; color: #c6cddc; }
.article ul, .article ol { margin: 0 0 16px 22px; }
.article li { margin-bottom: 8px; color: #c6cddc; }
.article strong { color: #fff; }
.article .tip {
  background: rgba(0, 212, 255, 0.08);
  border-left: 3px solid var(--primary);
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  margin: 18px 0;
  font-size: 15px;
  color: #cfe4f0;
}

/* ===== 表格 ===== */
.table-wrap { overflow-x: auto; margin: 18px 0; }
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card-solid);
  border: 1px solid var(--border);
  border-radius: 8px;
}
th, td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(0, 212, 255, 0.1);
  font-size: 15px;
  color: #c6cddc;
}
th {
  background: rgba(0, 212, 255, 0.1);
  color: var(--primary);
  font-weight: 700;
}

/* ===== 页脚 ===== */
.footer {
  background: rgba(10, 14, 26, 0.9);
  border-top: 1px solid var(--border);
  color: var(--muted);
  padding: 32px 0;
  margin-top: 40px;
  font-size: 14px;
}
.footer a { color: #fff; }
.footer a:hover { color: var(--primary); }
.footer .cols { display: flex; flex-wrap: wrap; gap: 40px; margin-bottom: 20px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 10px; }
.footer .disclaimer { font-size: 12px; color: #5a6378; margin-top: 16px; }

@media (max-width: 640px) {
  .hero h1 { font-size: 34px; }
}
