/* ============================================================
   AioKK · 暗色轻奢设计系统（展示站）
   深色底 + 金属金点缀 + 大字号标题 + 充足留白
   ============================================================ */

:root {
  --bg: #0a0b0f;
  --bg-2: #0e1015;
  --panel: rgba(255, 255, 255, 0.03);
  --panel-2: rgba(255, 255, 255, 0.05);
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(232, 201, 125, 0.35);
  --text: #f2efe8;
  --muted: #9b978d;
  --gold-1: #efd9a0;
  --gold-2: #c9a25e;
  --gold-3: #8c6430;
  --gold-grad: linear-gradient(135deg, #efd9a0 0%, #c9a25e 45%, #96703a 100%);
  --radius: 16px;
  --font-body: -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-display: Georgia, "Times New Roman", "Songti SC", "SimSun", serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.hidden { display: none !important; }

/* ---------- 顶部公告 ---------- */
.announce {
  background: linear-gradient(90deg, rgba(201, 162, 94, 0.18), rgba(201, 162, 94, 0.06));
  border-bottom: 1px solid var(--line);
  color: var(--gold-1);
  text-align: center;
  padding: 10px 16px;
  font-size: 14px;
}

/* ---------- 导航 ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(10, 11, 15, 0.72);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo { width: 30px; height: 30px; }
.brand-name {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.06em;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav-links { margin-left: auto; display: flex; gap: 26px; }
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold-1); }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--text); margin: 4px 0; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s;
  letter-spacing: 0.04em;
}
.btn-gold {
  background: var(--gold-grad);
  color: #17130a;
  font-weight: 600;
  box-shadow: 0 6px 24px rgba(201, 162, 94, 0.22);
}
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 10px 30px rgba(201, 162, 94, 0.32); }
.btn-ghost { border-color: var(--line-strong); color: var(--gold-1); background: transparent; }
.btn-ghost:hover { background: rgba(201, 162, 94, 0.08); }
.btn-lg { padding: 14px 32px; font-size: 16px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 120px 0 90px; }
.hero-glow {
  position: absolute;
  inset: -40% -20% auto;
  height: 130%;
  background:
    radial-gradient(600px 300px at 20% 30%, rgba(201, 162, 94, 0.14), transparent 65%),
    radial-gradient(700px 350px at 80% 20%, rgba(201, 162, 94, 0.08), transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; text-align: center; }
.hero-eyebrow {
  color: var(--gold-2);
  letter-spacing: 0.42em;
  font-size: 13px;
  margin-bottom: 26px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 7.5vw, 84px);
  line-height: 1.14;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  max-width: 640px;
  margin: 30px auto 0;
  color: var(--muted);
  font-size: 18px;
}
.hero-actions { margin-top: 42px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.stats {
  margin-top: 84px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat { padding: 28px 12px; display: flex; flex-direction: column; gap: 6px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-num {
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--gold-1);
}
.stat-label { color: var(--muted); font-size: 13px; letter-spacing: 0.14em; }

/* ---------- 区块 ---------- */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.02em;
}
.section-sub { text-align: center; color: var(--muted); margin: 16px auto 56px; max-width: 560px; }

/* ---------- 特性卡片 ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color 0.25s, transform 0.25s, background 0.25s;
}
.card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
  background: var(--panel-2);
}
.card-mark {
  font-family: var(--font-display);
  color: var(--gold-3);
  font-size: 14px;
  letter-spacing: 0.3em;
  margin-bottom: 18px;
}
.card h3 { font-size: 19px; font-weight: 600; margin-bottom: 10px; letter-spacing: 0.02em; }
.card p { color: var(--muted); font-size: 14.5px; }

/* ---------- 表格 ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.table { width: 100%; border-collapse: collapse; min-width: 720px; }
.table th, .table td { padding: 16px 20px; text-align: left; font-size: 14.5px; }
.table th {
  color: var(--gold-2);
  font-weight: 500;
  letter-spacing: 0.1em;
  font-size: 13px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.table td { border-bottom: 1px solid var(--line); color: var(--text); }
.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr:hover { background: rgba(255, 255, 255, 0.02); }
.table-loading { color: var(--muted); text-align: center; }
.caps { display: flex; gap: 6px; flex-wrap: wrap; }
.cap {
  font-size: 12px;
  color: var(--gold-1);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 1px 10px;
  white-space: nowrap;
}

/* ---------- 步骤与代码 ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 44px; }
.step { display: flex; gap: 16px; align-items: flex-start; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step-num {
  font-family: var(--font-display);
  color: var(--gold-1);
  border: 1px solid var(--line-strong);
  width: 40px; height: 40px; min-width: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
}
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14px; }

.code-block {
  background: #0b0d12;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 20px;
}
.code-title {
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--gold-2);
  font-size: 13px;
  letter-spacing: 0.12em;
}
.code-block pre { padding: 20px 24px; overflow-x: auto; }
.code-block code { font-family: Consolas, "JetBrains Mono", monospace; font-size: 13.5px; color: #d8d4c8; line-height: 1.7; }

/* ---------- 价格 ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.price-card {
  text-align: center;
  padding: 44px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.price-card.highlight { border-color: var(--line-strong); background: linear-gradient(180deg, rgba(201,162,94,0.08), rgba(255,255,255,0.02)); }
.price-tag { color: var(--muted); letter-spacing: 0.2em; font-size: 13px; margin-bottom: 14px; }
.price-num { font-family: var(--font-display); font-size: 44px; margin-bottom: 10px; }
.price-note { color: var(--muted); font-size: 14px; }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--line); padding: 48px 0 60px; }
.footer-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 20px; }
.footer-brand img { width: 24px; height: 24px; }
.footer-note { color: var(--muted); font-size: 14px; }
.footer-links { margin-left: auto; display: flex; gap: 20px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--gold-1); }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .feature-grid, .steps, .pricing-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .stat { border-top: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: none; }
  .hero { padding: 80px 0 64px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(10, 11, 15, 0.97);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 18px 24px;
    gap: 14px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-cta { display: none; }
  .section { padding: 72px 0; }
}
