/* ============================================================================
   艾擎科技 官网 · 设计系统（深色主调 · 企业站形式）
   配色取自玄枢 App（Design/Theme.swift）的墨 / 印朱 / 暖金，做深色化处理
   ============================================================================ */
:root {
  /* 深色底层 */
  --bg: #15120e;          /* 页面底：墨 */
  --bg-2: #1c1814;        /* 次级底 */
  --panel: #211c17;       /* 卡片 */
  --panel-2: #2a241d;     /* 卡片内嵌 */
  --line: #332c24;
  --line-soft: #2a241d;

  /* 文字 */
  --text: #f1ece3;
  --text-dim: #a89f93;
  --text-faint: #7d766c;

  /* 品牌 */
  --accent: #d2533c;      /* 印朱（深色下提亮） */
  --accent-deep: #a83a26;
  --gold: #c89440;        /* 暖金 */
  --good: #4bb07a;

  /* 亮面（对比区块） */
  --paper: #f6f3ee;
  --paper-ink: #2a251e;
  --paper-ink-soft: #6f6659;

  --radius: 18px;
  --radius-sm: 12px;
  --wrap: 1160px;
  --shadow: 0 1px 0 rgba(255, 255, 255, .03), 0 18px 40px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Source Han Sans SC", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; transition: color .15s ease; }
a:hover { color: #e6b45e; }
img { max-width: 100%; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(21, 18, 14, .82);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-weight: 600;
  letter-spacing: .02em;
  white-space: nowrap;
}
.brand:hover { color: #fff; }
.brand .mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(140deg, var(--accent), var(--accent-deep));
  color: #fff;
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 18px;
  line-height: 32px;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
}
.brand small { color: var(--text-faint); font-weight: 400; letter-spacing: .16em; font-size: 10.5px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  overflow-x: auto;
  scrollbar-width: none;
}
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a {
  color: var(--text-dim);
  font-size: 15px;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--text); }
.site-nav a.active { color: var(--text); border-bottom-color: var(--accent); }
.nav-cta { margin-left: 2px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .12s ease, background .15s ease, border-color .15s ease, color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--text); background: rgba(255, 255, 255, .02); }
.btn-ghost:hover { border-color: var(--text-faint); color: #fff; }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 区块 ---------- */
main { display: block; }
.section { padding: 76px 0; }
.section.tight { padding: 46px 0; }
.section.paper { background: var(--paper); color: var(--paper-ink); }
.section.paper a { color: #9c3324; }
.section.band { background: var(--bg-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }

.section-hd { margin-bottom: 32px; max-width: 62em; }
.section-hd h2 {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: .01em;
  line-height: 1.35;
}
.section-hd p { margin: 0; color: var(--text-dim); }
.section.paper .section-hd p { color: var(--paper-ink-soft); }

.kicker,
.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  padding: 96px 0 72px;
  overflow: hidden;
  background:
    radial-gradient(90% 70% at 82% -10%, rgba(210, 83, 60, .16), transparent 60%),
    radial-gradient(70% 60% at 6% 10%, rgba(200, 148, 64, .12), transparent 58%),
    var(--bg);
  border-bottom: 1px solid var(--line-soft);
}
.hero::after {
  /* 装饰：抽象「命盘」同心圆 + 刻度（纯 CSS，无外部图片） */
  content: "";
  position: absolute;
  right: -150px;
  top: -130px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(200, 148, 64, .18) 0deg 1deg, transparent 1deg 15deg);
  -webkit-mask: radial-gradient(circle at 50% 50%, transparent 44%, #000 45%, #000 49%, transparent 50%, transparent 62%, #000 63%, #000 64%, transparent 65%);
  mask: radial-gradient(circle at 50% 50%, transparent 44%, #000 45%, #000 49%, transparent 50%, transparent 62%, #000 63%, #000 64%, transparent 65%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.22;
  letter-spacing: .005em;
  font-weight: 700;
  max-width: 20em;
}
.hero .lede {
  margin: 0 0 30px;
  max-width: 44em;
  font-size: 17.5px;
  color: var(--text-dim);
}
.hero .lede strong { color: var(--text); font-weight: 600; }

/* ---------- 数据条 ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
.stats .stat { background: var(--bg-2); padding: 26px 24px; }
.stats .num {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .01em;
}
.stats .num em { font-style: normal; color: var(--accent); }
.stats .label { margin-top: 8px; color: var(--text-dim); font-size: 14.5px; }

/* ---------- 左右分栏 ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.split + .split { margin-top: 70px; }
.split h2 { margin: 0 0 14px; font-size: clamp(21px, 2.3vw, 28px); line-height: 1.35; }
.split p { margin: 0 0 16px; color: var(--text-dim); }
ul.ticks { margin: 0 0 22px; padding: 0; list-style: none; }
ul.ticks li { position: relative; padding-left: 22px; margin: 7px 0; color: var(--text-dim); }
ul.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: linear-gradient(140deg, var(--accent), var(--gold));
}

/* 抽象视觉块 */
.panel-art {
  position: relative;
  min-height: 300px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(80% 80% at 78% 18%, rgba(210, 83, 60, .18), transparent 60%),
    radial-gradient(70% 70% at 12% 88%, rgba(200, 148, 64, .16), transparent 60%),
    var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 30px;
  text-align: center;
}
.panel-art .glyph {
  position: absolute;
  right: 16px;
  bottom: -18px;
  font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: 104px;
  line-height: 1;
  color: rgba(246, 243, 238, .06);
  pointer-events: none;
}
.panel-art img.appicon {
  width: 168px;
  height: 168px;
  border-radius: 38px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .5);
}
.panel-art .art-cap { color: var(--text-dim); font-size: 14.5px; }
.panel-art .art-title { font-size: 18px; font-weight: 600; }
.panel-art .chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.panel-art .chips span {
  font-size: 13px;
  color: var(--text-dim);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 12px;
  background: rgba(255, 255, 255, .02);
}

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 20px; }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color .15s ease, transform .15s ease;
}
.card:hover { border-color: #463c30; transform: translateY(-2px); }
.card h3 { margin: 0 0 10px; font-size: 18px; }
.card p { margin: 0; color: var(--text-dim); font-size: 15.5px; }
.card ul { margin: 12px 0 0; padding-left: 1.1em; color: var(--text-dim); font-size: 15.5px; }
.card ul li { margin: 5px 0; }
.card .tag {
  display: inline-block;
  font-size: 12px;
  color: var(--gold);
  border: 1px solid rgba(200, 148, 64, .3);
  background: rgba(200, 148, 64, .08);
  border-radius: 999px;
  padding: 2px 12px;
  margin-bottom: 12px;
}
.card .icon-num { font-size: 13px; color: var(--text-faint); letter-spacing: .16em; margin-bottom: 10px; }

.section.paper .card { background: #fffdf9; border-color: #e3dbcd; }
.section.paper .card:hover { border-color: #d6cbb8; }
.section.paper .card h3 { color: var(--paper-ink); }
.section.paper .card p, .section.paper .card ul { color: var(--paper-ink-soft); }

/* ---------- 定义列表 / 表格 / 提示条 ---------- */
.kv { display: grid; grid-template-columns: 8.5em 1fr; gap: 10px 18px; }
.kv dt { color: var(--text-faint); font-size: 15px; }
.kv dd { margin: 0; font-size: 15.5px; }
.section.paper .kv dt { color: var(--paper-ink-soft); }

table.tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 15.5px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
table.tbl th, table.tbl td {
  text-align: left;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
table.tbl th { width: 28%; color: var(--text-dim); font-weight: 500; background: var(--panel-2); }
table.tbl tr:last-child th, table.tbl tr:last-child td { border-bottom: none; }
table.tbl code { font-size: 14px; color: var(--gold); }
.section.paper table.tbl { background: #fffdf9; border-color: #e3dbcd; }
.section.paper table.tbl th { background: #f1ece1; color: var(--paper-ink-soft); }
.section.paper table.tbl th, .section.paper table.tbl td { border-bottom-color: #e8e0d2; }

.note {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  color: var(--text-dim);
  font-size: 15px;
}
.note strong { color: var(--text); }

/* ---------- 动态 ---------- */
.news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.news .item { border-top: 1px solid var(--line); padding-top: 18px; }
.news .date { color: var(--text-faint); font-size: 13.5px; letter-spacing: .04em; }
.news h3 { margin: 8px 0; font-size: 17px; line-height: 1.5; }
.news p { margin: 0; color: var(--text-dim); font-size: 15px; }

/* ---------- 联系 CTA ---------- */
.cta-band {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(80% 120% at 88% 10%, rgba(210, 83, 60, .2), transparent 62%),
    radial-gradient(70% 100% at 4% 100%, rgba(200, 148, 64, .16), transparent 60%),
    var(--panel);
  padding: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  align-items: center;
  justify-content: space-between;
}
.cta-band h2 { margin: 0 0 8px; font-size: clamp(22px, 2.6vw, 30px); }
.cta-band p { margin: 0; color: var(--text-dim); }

/* ---------- 页脚 ---------- */
.site-footer {
  background: #100e0b;
  border-top: 1px solid var(--line-soft);
  color: var(--text-dim);
  padding: 52px 0 30px;
  font-size: 15px;
}
.site-footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 32px; }
.site-footer h4 { margin: 0 0 12px; color: var(--text); font-size: 15px; font-weight: 600; }
.site-footer p { margin: 0; }
.site-footer .links { display: grid; gap: 8px; }
.site-footer a { color: var(--text-dim); }
.site-footer a:hover { color: var(--text); }
.site-footer .legal {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  color: var(--text-faint);
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  align-items: center;
}
.site-footer .legal a { color: var(--text-faint); }
.site-footer .legal a:hover { color: var(--text); }

/* ---------- 长文（关于 / 隐私政策 / 协议） ---------- */
.doc {
  max-width: 52em;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 34px;
}
.doc h1 { font-size: 25px; margin: 0 0 6px; line-height: 1.4; }
.doc h2 { font-size: 20px; margin: 34px 0 10px; }
.doc h3 { font-size: 16.5px; margin: 22px 0 8px; }
.doc p, .doc li { color: var(--text-dim); }
.doc strong { color: var(--text); }
.doc ul { padding-left: 1.3em; }
.doc li { margin: 5px 0; }
.doc .updated { color: var(--text-faint); font-size: 14px; }
.doc table.tbl { margin: 12px 0; }

/* ---------- 响应式 ---------- */
@media (max-width: 1000px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split + .split { margin-top: 52px; }
  .site-footer .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { padding: 72px 0 56px; }
  .hero::after { width: 440px; height: 440px; right: -170px; }
}
@media (max-width: 700px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news { grid-template-columns: 1fr; }
  .section { padding: 54px 0; }
  .cta-band { padding: 30px; }
  .doc { padding: 24px 20px; }
  .kv { grid-template-columns: 1fr; gap: 2px 0; }
  .kv dd { margin-bottom: 12px; }
  table.tbl th { width: 36%; }
}
@media (max-width: 520px) {
  .grid.cols-2, .grid.cols-3, .grid.cols-4, .stats { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .hero h1 { font-size: 27px; }
}
