@charset "utf-8";
/* ==========================================================================
   全站设计系统 + 组件样式
   项目：DNF 私服门户（dnf-portal）
   ========================================================================== */

/* ---------- 1. 设计令牌 ---------- */
:root {
  /* 品牌色 */
  --c-primary: #e8402a;
  --c-primary-2: #ff6b3d;
  --c-gold: #f5b83d;
  --c-blue: #3d8bff;
  --c-cyan: #26d0ce;

  /* 背景层级 */
  --bg-root: #070911;
  --bg-body: #0b0e18;
  --bg-panel: #121725;
  --bg-panel-2: #171d2e;
  --bg-elevated: #1d2437;

  /* 文本 */
  --t-title: #f2f5fb;
  --t-body: #c3cbdd;
  --t-muted: #7f89a3;
  --t-dim: #5a6380;

  /* 线与面 */
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .16);
  --glass: rgba(255, 255, 255, .04);

  /* 圆角 / 阴影 */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-pill: 999px;
  --sh-card: 0 6px 24px rgba(0, 0, 0, .38);
  --sh-hover: 0 14px 40px rgba(0, 0, 0, .55);
  --sh-glow: 0 0 0 1px rgba(232, 64, 42, .35), 0 10px 30px rgba(232, 64, 42, .22);

  /* 布局 */
  --w-max: 1200px;
  --nav-h: 64px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ---------- 2. 基础重置 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); }

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg-body);
  color: var(--t-body);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 500px at 12% -5%, rgba(232, 64, 42, .16), transparent 60%),
    radial-gradient(800px 500px at 88% 0%, rgba(61, 139, 255, .12), transparent 60%),
    linear-gradient(180deg, #070911 0%, #0b0e18 40%, #0b0e18 100%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; border: 0; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: var(--c-primary); color: #fff; }

/* 滚动条 */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-root); }
::-webkit-scrollbar-thumb { background: #2b3350; border-radius: 6px; border: 2px solid var(--bg-root); }
::-webkit-scrollbar-thumb:hover { background: #3a456c; }

/* ---------- 3. 布局工具 ---------- */
.wrap { width: 100%; max-width: var(--w-max); margin: 0 auto; padding: 0 20px; }
.section { padding: 76px 0; position: relative; }
.section--tight { padding: 48px 0; }
.grid { display: grid; gap: 22px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.flex { display: flex; }
.between { justify-content: space-between; }
.center { justify-content: center; }
.items-center { align-items: center; }
.text-center { text-align: center; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }

/* ---------- 4. 区块标题 ---------- */
.sec-head { margin-bottom: 40px; }
.sec-head__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--c-primary-2); font-weight: 700;
  padding: 5px 12px; border: 1px solid rgba(232, 64, 42, .3);
  border-radius: var(--r-pill); background: rgba(232, 64, 42, .08);
}
.sec-head__title {
  font-size: 32px; line-height: 1.3; color: var(--t-title);
  font-weight: 800; margin-top: 16px; letter-spacing: .5px;
}
.sec-head__title em { font-style: normal; color: var(--c-gold); }
.sec-head__desc { margin-top: 12px; color: var(--t-muted); max-width: 720px; }
.sec-head--center { text-align: center; }
.sec-head--center .sec-head__desc { margin-left: auto; margin-right: auto; }

.hd-bar {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  padding-bottom: 18px; margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

/* ---------- 5. 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: var(--r-md);
  font-weight: 700; font-size: 14px; cursor: pointer;
  border: 1px solid transparent; transition: all .25s var(--ease);
  white-space: nowrap; user-select: none;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-2) 100%);
  color: #fff; box-shadow: 0 6px 20px rgba(232, 64, 42, .32);
}
.btn--primary:hover { box-shadow: 0 10px 30px rgba(232, 64, 42, .5); filter: brightness(1.08); }

.btn--gold {
  background: linear-gradient(135deg, #e0a02a 0%, var(--c-gold) 100%);
  color: #2a1c00; box-shadow: 0 6px 20px rgba(245, 184, 61, .3);
}
.btn--gold:hover { filter: brightness(1.08); box-shadow: 0 10px 30px rgba(245, 184, 61, .42); }

.btn--ghost { border-color: var(--line-strong); color: var(--t-title); background: var(--glass); }
.btn--ghost:hover { border-color: var(--c-primary); color: var(--c-primary-2); background: rgba(232, 64, 42, .08); }

.btn--sm { padding: 8px 18px; font-size: 13px; }
.btn--lg { padding: 16px 40px; font-size: 16px; border-radius: 12px; }
.btn--block { width: 100%; }

/* ---------- 6. 顶部导航 ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(7, 9, 17, .8);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.nav.is-scrolled { background: rgba(7, 9, 17, .96); border-bottom-color: var(--line-strong); }
.nav__inner { height: 100%; display: flex; align-items: center; gap: 28px; }

.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand__mark {
  width: 36px; height: 36px; border-radius: 9px;
  background: linear-gradient(135deg, var(--c-primary), #a3170b);
  display: grid; place-items: center;
  font-weight: 900; font-size: 17px; color: #fff;
  box-shadow: 0 4px 14px rgba(232, 64, 42, .45);
  font-style: italic;
}
.brand__txt b { display: block; font-size: 17px; color: var(--t-title); font-weight: 800; line-height: 1.2; letter-spacing: .5px; }
.brand__txt span { display: block; font-size: 10px; color: var(--t-dim); letter-spacing: 2px; text-transform: uppercase; }

.nav__menu { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__link {
  position: relative; padding: 8px 14px; border-radius: var(--r-sm);
  font-size: 14.5px; color: var(--t-body); transition: color .2s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  background: var(--c-primary); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav__link:hover { color: var(--t-title); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--t-title); font-weight: 700; }
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link .hot {
  position: absolute; top: -2px; right: 2px;
  font-size: 9px; font-weight: 800; color: #fff;
  background: var(--c-primary); padding: 1px 5px; border-radius: 4px;
  line-height: 1.5;
}
.nav__toggle {
  display: none; margin-left: auto; width: 40px; height: 40px;
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--r-sm);
  cursor: pointer; padding: 0; position: relative;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  position: absolute; left: 50%; width: 18px; height: 2px; background: var(--t-title);
  transform: translateX(-50%); transition: .25s var(--ease);
}
.nav__toggle span { top: 50%; margin-top: -1px; }
.nav__toggle span::before { content: ""; left: 0; transform: none; top: -6px; }
.nav__toggle span::after { content: ""; left: 0; transform: none; top: 6px; }
.nav__toggle.is-open span { background: transparent; }
.nav__toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.nav__toggle.is-open span::after { top: 0; transform: rotate(-45deg); }

/* ---------- 7. Hero 轮播 ---------- */
.hero { position: relative; padding-top: var(--nav-h); overflow: hidden; }
.hero__slider { position: relative; height: clamp(480px, 76vh, 700px); }

.slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility .8s;
}
.slide.is-active { opacity: 1; visibility: visible; }
.slide__bg { position: absolute; inset: 0; z-index: 0; }
.slide__bg svg { width: 100%; height: 100%; }
.slide__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg-root) 12%, rgba(7, 9, 17, .7) 48%, rgba(7, 9, 17, .3) 100%);
}
.slide__inner { position: relative; z-index: 2; }
.slide__tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 700; color: var(--c-gold);
  background: rgba(245, 184, 61, .1); border: 1px solid rgba(245, 184, 61, .3);
  padding: 6px 14px; border-radius: var(--r-pill); margin-bottom: 22px;
}
.slide__tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--c-gold); box-shadow: 0 0 0 4px rgba(245, 184, 61, .2); }
.slide__title {
  font-size: clamp(34px, 5.2vw, 58px); line-height: 1.16; font-weight: 900;
  color: #fff; letter-spacing: 1px; text-shadow: 0 4px 30px rgba(0, 0, 0, .6);
}
.slide__title em {
  font-style: normal;
  background: linear-gradient(135deg, #ffd970, var(--c-primary-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.slide__desc { margin-top: 20px; font-size: 16px; color: #d5dceb; max-width: 540px; }
.slide__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: var(--t-body);
  padding: 5px 12px; border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line);
}
.chip b { color: var(--c-gold); font-weight: 700; }
.slide__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero__nav {
  position: absolute; bottom: 120px; z-index: 6; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; width: min(var(--w-max), calc(100% - 40px));
}
.hero__dots { display: flex; gap: 8px; }
.hero__dot {
  width: 34px; height: 4px; border: 0; padding: 0; cursor: pointer; border-radius: 3px;
  background: rgba(255, 255, 255, .22); transition: all .3s var(--ease);
}
.hero__dot.is-active { width: 56px; background: linear-gradient(90deg, var(--c-primary), var(--c-gold)); }
.hero__arrow {
  position: absolute; bottom: 114px; z-index: 6; left: 50%; transform: translateX(-50%);
  width: min(var(--w-max), calc(100% - 40px)); display: flex; justify-content: space-between;
  pointer-events: none;
}
.hero__arrow button {
  pointer-events: auto; width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, .07); border: 1px solid var(--line-strong);
  color: #fff; cursor: pointer; font-size: 18px; line-height: 1;
  transition: all .25s var(--ease); backdrop-filter: blur(6px);
}
.hero__arrow button:hover { background: var(--c-primary); border-color: var(--c-primary); transform: scale(1.08); }

/* 快捷数据条 */
.hero__stats {
  position: relative; z-index: 5; margin-top: -56px;
  background: rgba(18, 23, 37, .9); backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 24px 8px; box-shadow: var(--sh-card);
}
.hero__stats .grid { gap: 0; }
.stat { text-align: center; padding: 6px 16px; position: relative; }
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 34px; background: var(--line);
}
.stat__num { font-size: 30px; font-weight: 900; color: var(--t-title); line-height: 1.1; letter-spacing: .5px; }
.stat__num i { font-style: normal; color: var(--c-primary-2); }
.stat__label { font-size: 13px; color: var(--t-muted); margin-top: 6px; }

/* ---------- 8. 卡片 ---------- */
.card {
  background: linear-gradient(180deg, var(--bg-panel) 0%, var(--bg-panel-2) 100%);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 24px; position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--c-primary), transparent);
  transform: scaleX(0); transition: transform .4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sh-hover); border-color: rgba(232, 64, 42, .38); }
.card:hover::after { transform: scaleX(1); }

.card__ico {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center;
  font-size: 23px; margin-bottom: 18px;
  background: rgba(232, 64, 42, .12); border: 1px solid rgba(232, 64, 42, .26);
}
.card__ico--blue { background: rgba(61, 139, 255, .12); border-color: rgba(61, 139, 255, .26); }
.card__ico--cyan { background: rgba(38, 208, 206, .12); border-color: rgba(38, 208, 206, .26); }
.card__ico--gold { background: rgba(245, 184, 61, .12); border-color: rgba(245, 184, 61, .26); }
.card__title { font-size: 18px; font-weight: 800; color: var(--t-title); margin-bottom: 10px; }
.card__desc { font-size: 14px; color: var(--t-muted); }
.card__idx {
  position: absolute; top: 16px; right: 20px;
  font-size: 34px; font-weight: 900; color: rgba(255, 255, 255, .05);
  font-style: italic; line-height: 1;
}

/* 功能特性卡（横向） */
.feat {
  display: flex; gap: 18px; padding: 22px;
  background: var(--bg-panel); border: 1px solid var(--line);
  border-radius: var(--r-lg); transition: all .3s var(--ease);
}
.feat:hover { border-color: rgba(61, 139, 255, .4); background: var(--bg-panel-2); transform: translateX(4px); }
.feat__ico {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 11px;
  display: grid; place-items: center; font-size: 21px;
  background: rgba(61, 139, 255, .12); border: 1px solid rgba(61, 139, 255, .26);
}
.feat__title { font-size: 16.5px; font-weight: 700; color: var(--t-title); margin-bottom: 6px; }
.feat__desc { font-size: 13.5px; color: var(--t-muted); }

/* ---------- 9. 效率数据条 ---------- */
.metric { text-align: center; padding: 30px 16px; }
.metric__val {
  font-size: 46px; font-weight: 900; line-height: 1; letter-spacing: 1px;
  background: linear-gradient(135deg, #ffd970, var(--c-primary-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.metric__label { font-size: 16px; font-weight: 700; color: var(--t-title); margin-top: 14px; }
.metric__desc { font-size: 13px; color: var(--t-muted); margin-top: 8px; }
.metric__bar { height: 4px; background: var(--bg-elevated); border-radius: 3px; margin-top: 18px; overflow: hidden; }
.metric__bar i {
  display: block; height: 100%; width: 0; border-radius: 3px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-gold));
  transition: width 1.4s var(--ease);
}

/* ---------- 10. Tabs ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.tab {
  padding: 10px 22px; border-radius: var(--r-pill); cursor: pointer;
  font-size: 14px; font-weight: 600; color: var(--t-muted);
  background: var(--glass); border: 1px solid var(--line);
  transition: all .25s var(--ease); user-select: none;
}
.tab:hover { color: var(--t-title); border-color: var(--line-strong); }
.tab.is-active {
  color: #fff; border-color: transparent;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-2));
  box-shadow: 0 4px 16px rgba(232, 64, 42, .35);
}
.tab-panel { display: none; animation: fadeUp .45s var(--ease); }
.tab-panel.is-active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- 11. 新闻列表 ---------- */
.news-item {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 20px 0; border-bottom: 1px solid var(--line);
  transition: .25s var(--ease);
}
.news-item:hover .news-item__title { color: var(--c-primary-2); }
.news-item__thumb {
  flex-shrink: 0; width: 132px; height: 82px; border-radius: var(--r-md);
  overflow: hidden; border: 1px solid var(--line); background: var(--bg-elevated);
}
.news-item__thumb svg { width: 100%; height: 100%; }
.news-item__body { flex: 1; min-width: 0; }
.news-item__title {
  font-size: 16.5px; font-weight: 700; color: var(--t-title);
  margin-bottom: 8px; transition: color .25s var(--ease);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-item__desc {
  font-size: 13.5px; color: var(--t-muted); margin-bottom: 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-item__meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12.5px; color: var(--t-dim); }
.news-item__meta span { display: inline-flex; align-items: center; gap: 5px; }

.tag {
  display: inline-block; font-size: 11.5px; font-weight: 700;
  padding: 2px 9px; border-radius: 5px; line-height: 1.7;
}
.tag--hot { background: rgba(232, 64, 42, .16); color: #ff7a63; border: 1px solid rgba(232, 64, 42, .3); }
.tag--new { background: rgba(38, 208, 206, .14); color: #4fe0de; border: 1px solid rgba(38, 208, 206, .3); }
.tag--info { background: rgba(61, 139, 255, .14); color: #6aa8ff; border: 1px solid rgba(61, 139, 255, .3); }
.tag--gold { background: rgba(245, 184, 61, .14); color: var(--c-gold); border: 1px solid rgba(245, 184, 61, .3); }

/* ---------- 12. 表格 ---------- */
.table-box {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; background: var(--bg-panel);
}
.table-box__scroll { overflow-x: auto; }
table.tb { width: 100%; border-collapse: collapse; min-width: 640px; }
table.tb th, table.tb td { padding: 14px 18px; text-align: left; font-size: 14px; }
table.tb thead th {
  background: var(--bg-elevated); color: var(--t-title);
  font-weight: 700; font-size: 13.5px; white-space: nowrap;
  border-bottom: 1px solid var(--line);
}
table.tb tbody tr { border-bottom: 1px solid var(--line); transition: background .2s var(--ease); }
table.tb tbody tr:last-child { border-bottom: 0; }
table.tb tbody tr:hover { background: rgba(255, 255, 255, .028); }
table.tb td b { color: var(--t-title); }
.badge-ok { color: #4ade80; font-weight: 700; }
.badge-no { color: #f87171; font-weight: 700; }
.badge-warn { color: var(--c-gold); font-weight: 700; }

/* ---------- 13. FAQ 手风琴 ---------- */
.faq-item {
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--bg-panel); margin-bottom: 12px; overflow: hidden;
  transition: border-color .25s var(--ease);
}
.faq-item.is-open { border-color: rgba(232, 64, 42, .35); }
.faq-q {
  display: flex; align-items: center; gap: 14px; padding: 18px 22px;
  cursor: pointer; font-size: 15.5px; font-weight: 700; color: var(--t-title);
  user-select: none; transition: background .2s var(--ease);
}
.faq-q:hover { background: var(--glass); }
.faq-q__ico {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 7px;
  display: grid; place-items: center; font-size: 13px;
  background: rgba(232, 64, 42, .12); color: var(--c-primary-2);
  border: 1px solid rgba(232, 64, 42, .26); transition: transform .3s var(--ease);
}
.faq-item.is-open .faq-q__ico { transform: rotate(45deg); background: var(--c-primary); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a__in { padding: 0 22px 20px 60px; font-size: 14px; color: var(--t-muted); border-top: 1px solid var(--line); padding-top: 18px; }
.faq-a__in p + p { margin-top: 10px; }

/* ---------- 14. 下载区 ---------- */
.dl-wrap {
  background: linear-gradient(135deg, rgba(232, 64, 42, .12) 0%, rgba(61, 139, 255, .1) 100%);
  border: 1px solid rgba(232, 64, 42, .28);
  border-radius: 20px; padding: 48px 40px; position: relative; overflow: hidden;
}
.dl-wrap::before {
  content: ""; position: absolute; top: -60%; right: -8%; width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(232, 64, 42, .18), transparent 65%);
}
.dl-wrap__in { position: relative; z-index: 2; display: flex; gap: 40px; align-items: center; flex-wrap: wrap; }
.dl-wrap__txt { flex: 1; min-width: 300px; }
.dl-wrap__title { font-size: 30px; font-weight: 900; color: #fff; line-height: 1.3; }
.dl-wrap__title em { font-style: normal; color: var(--c-gold); }
.dl-wrap__meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.dl-file {
  background: rgba(7, 9, 17, .5); border: 1px solid var(--line-strong);
  border-radius: var(--r-md); padding: 16px 20px; min-width: 230px;
  display: flex; align-items: center; gap: 14px;
}
.dl-file__ico { font-size: 26px; }
.dl-file__name { font-size: 14px; color: var(--t-title); font-weight: 700; }
.dl-file__meta { font-size: 12px; color: var(--t-dim); margin-top: 3px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.step { position: relative; padding-top: 26px; }
.step::before {
  content: ""; position: absolute; top: 8px; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, rgba(232, 64, 42, .5), transparent);
}
.step:last-child::before { display: none; }
.step__n {
  position: absolute; top: 0; left: 0; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 900; font-size: 14px; color: #fff;
  background: linear-gradient(135deg, var(--c-primary), #a3170b);
  box-shadow: 0 0 0 5px var(--bg-body);
}
.step__title { font-size: 15.5px; font-weight: 700; color: var(--t-title); margin-bottom: 6px; }
.step__desc { font-size: 13px; color: var(--t-muted); }

/* ---------- 15. CTA ---------- */
.cta {
  position: relative; overflow: hidden; text-align: center;
  padding: 60px 32px; border-radius: 20px;
  background: linear-gradient(120deg, #1c0d08 0%, #2a1109 40%, #0d1220 100%);
  border: 1px solid rgba(232, 64, 42, .3);
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 200px at 50% 0%, rgba(232, 64, 42, .22), transparent 70%);
}
.cta__in { position: relative; z-index: 2; }
.cta__title { font-size: clamp(26px, 3.6vw, 40px); font-weight: 900; color: #fff; line-height: 1.3; }
.cta__desc { margin: 16px auto 30px; max-width: 620px; color: var(--t-muted); }

/* ---------- 16. 页脚 ---------- */
.foot { background: #060810; border-top: 1px solid var(--line); margin-top: 80px; }
.foot__top { padding: 56px 0 44px; }
.foot__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.foot__about p { font-size: 13.5px; color: var(--t-dim); margin: 16px 0; max-width: 340px; }
.foot__h { font-size: 15px; font-weight: 800; color: var(--t-title); margin-bottom: 16px; }
.foot__list li { margin-bottom: 10px; }
.foot__list a { font-size: 13.5px; color: var(--t-dim); transition: color .2s var(--ease); }
.foot__list a:hover { color: var(--c-primary-2); }
.foot__contact { display: flex; flex-direction: column; gap: 12px; }
.foot__contact div { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--t-dim); }
.foot__contact i { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--glass); border: 1px solid var(--line); font-style: normal; font-size: 14px; }
.foot__bottom {
  border-top: 1px solid var(--line); padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 12.5px; color: var(--t-dim);
}
.foot__bottom a { color: var(--t-dim); }
.foot__bottom a:hover { color: var(--c-primary-2); }
.disclaimer {
  font-size: 12px; color: var(--t-dim); line-height: 1.7;
  background: rgba(255, 255, 255, .025); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 14px 18px; margin-top: 26px;
}

/* ---------- 17. 表单 ---------- */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 13.5px; color: var(--t-body); font-weight: 600; }
.field label i { color: var(--c-primary); font-style: normal; }
.field .input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--r-md);
  background: rgba(7, 9, 17, .6); border: 1px solid var(--line);
  color: var(--t-title); font-size: 14px; outline: none;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.7; }
.field select { cursor: pointer; appearance: none; background-image: none; }
.field .input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(232, 64, 42, .16);
}
.field .input::placeholder, .field textarea::placeholder { color: var(--t-dim); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__ok {
  display: none; align-items: center; gap: 10px; padding: 14px 18px;
  background: rgba(74, 222, 128, .1); border: 1px solid rgba(74, 222, 128, .3);
  border-radius: var(--r-md); color: #6ee7a0; font-size: 14px;
}
.form__ok.is-show { display: flex; }

/* ---------- 18. 面包屑 / 页头 ---------- */
.page-head {
  padding: calc(var(--nav-h) + 56px) 0 48px; position: relative; overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-head::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 300px at 20% 0%, rgba(232, 64, 42, .16), transparent 65%);
}
.page-head__in { position: relative; z-index: 2; }
.crumb { display: flex; align-items: center; gap: 9px; font-size: 13px; color: var(--t-dim); margin-bottom: 18px; }
.crumb a:hover { color: var(--c-primary-2); }
.crumb span { color: var(--t-dim); }
.page-head__title { font-size: clamp(28px, 4vw, 42px); font-weight: 900; color: #fff; line-height: 1.24; }
.page-head__desc { margin-top: 14px; color: var(--t-muted); max-width: 760px; }

/* ---------- 19. 文章详情 ---------- */
.article { background: var(--bg-panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 40px 44px; }
.article__title { font-size: clamp(24px, 3.2vw, 34px); font-weight: 800; color: var(--t-title); line-height: 1.35; }
.article__meta {
  display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; color: var(--t-dim);
  padding: 18px 0; margin: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.article__body { font-size: 15.5px; line-height: 2; color: var(--t-body); }
.article__body h2 { font-size: 21px; color: var(--t-title); margin: 34px 0 14px; padding-left: 13px; border-left: 4px solid var(--c-primary); }
.article__body h3 { font-size: 17.5px; color: var(--t-title); margin: 26px 0 10px; }
.article__body p { margin-bottom: 16px; }
.article__body ul { margin: 0 0 18px; }
.article__body li { position: relative; padding-left: 20px; margin-bottom: 9px; }
.article__body li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 6px; height: 6px; border-radius: 50%; background: var(--c-primary); }
.article__body code {
  font-family: Consolas, Monaco, monospace; font-size: 13.5px;
  background: var(--bg-elevated); border: 1px solid var(--line);
  padding: 2px 7px; border-radius: 5px; color: var(--c-gold);
}
.article__body .note {
  background: rgba(245, 184, 61, .08); border: 1px solid rgba(245, 184, 61, .26);
  border-left: 4px solid var(--c-gold); border-radius: var(--r-sm);
  padding: 16px 20px; margin: 20px 0; font-size: 14px; color: #e8d5a8;
}
.article__body .warn {
  background: rgba(232, 64, 42, .08); border: 1px solid rgba(232, 64, 42, .26);
  border-left: 4px solid var(--c-primary); border-radius: var(--r-sm);
  padding: 16px 20px; margin: 20px 0; font-size: 14px; color: #f0b8ae;
}
.article__foot { margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line); }
.share { display: flex; align-items: center; gap: 12px; font-size: 13.5px; color: var(--t-muted); }
.share button {
  width: 36px; height: 36px; border-radius: 9px; cursor: pointer;
  background: var(--glass); border: 1px solid var(--line); color: var(--t-body);
  transition: all .22s var(--ease); font-size: 15px;
}
.share button:hover { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }

/* ---------- 20. 定价 ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price {
  background: var(--bg-panel); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 34px 28px; position: relative; text-align: center;
  transition: all .3s var(--ease); display: flex; flex-direction: column;
}
.price:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--sh-hover); }
.price--hot {
  border-color: rgba(232, 64, 42, .5);
  background: linear-gradient(180deg, rgba(232, 64, 42, .1), var(--bg-panel) 55%);
  box-shadow: var(--sh-glow);
}
.price__flag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-2));
  color: #fff; font-size: 12px; font-weight: 800; padding: 5px 18px; border-radius: var(--r-pill);
  white-space: nowrap; box-shadow: 0 6px 18px rgba(232, 64, 42, .4);
}
.price__name { font-size: 18px; font-weight: 800; color: var(--t-title); }
.price__desc { font-size: 13px; color: var(--t-muted); margin-top: 8px; min-height: 40px; }
.price__val { margin: 24px 0 6px; }
.price__val b { font-size: 46px; font-weight: 900; color: #fff; line-height: 1; }
.price__val i { font-style: normal; font-size: 15px; color: var(--t-muted); margin-left: 3px; }
.price__val s { display: block; font-size: 13px; color: var(--t-dim); margin-top: 8px; }
.price__feats { text-align: left; margin: 26px 0; flex: 1; }
.price__feats li {
  display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px;
  color: var(--t-body); margin-bottom: 11px;
}
.price__feats li::before { content: "✓"; color: #4ade80; font-weight: 900; font-size: 14px; line-height: 1.5; }

/* ---------- 21. 时间线 ---------- */
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--c-primary), var(--c-blue), transparent); }
.tl-item { position: relative; padding-bottom: 30px; }
.tl-item::before {
  content: ""; position: absolute; left: -30px; top: 6px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--bg-body); border: 3px solid var(--c-primary);
  box-shadow: 0 0 0 4px rgba(232, 64, 42, .12);
}
.tl-item__date { font-size: 12.5px; color: var(--c-gold); font-weight: 700; letter-spacing: .5px; }
.tl-item__title { font-size: 16px; font-weight: 700; color: var(--t-title); margin: 5px 0 6px; }
.tl-item__desc { font-size: 13.5px; color: var(--t-muted); }

/* ---------- 22. 工具类 ---------- */
.to-top {
  position: fixed; right: 24px; bottom: 28px; z-index: 90;
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  background: rgba(18, 23, 37, .9); border: 1px solid var(--line-strong);
  color: var(--t-title); font-size: 17px; line-height: 1;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all .3s var(--ease); backdrop-filter: blur(8px);
}
.to-top.is-show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--c-primary); border-color: var(--c-primary); }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

.pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.pager button {
  min-width: 38px; height: 38px; padding: 0 12px; border-radius: var(--r-sm);
  background: var(--glass); border: 1px solid var(--line); color: var(--t-body);
  cursor: pointer; font-size: 14px; transition: all .22s var(--ease);
}
.pager button:hover:not(:disabled) { border-color: var(--c-primary); color: var(--c-primary-2); }
.pager button.is-active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; font-weight: 700; }
.pager button:disabled { opacity: .35; cursor: not-allowed; }

.empty { text-align: center; padding: 60px 20px; color: var(--t-dim); }
.empty__ico { font-size: 44px; margin-bottom: 14px; opacity: .5; }

/* ---------- 23. 响应式 ---------- */
@media (max-width: 1080px) {
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .foot__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
}

@media (max-width: 860px) {
  .section { padding: 56px 0; }
  .nav__toggle { display: block; }
  .nav__menu {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: rgba(7, 9, 17, .98); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line); padding: 14px 20px 22px;
    max-height: 0; overflow: hidden; transition: max-height .35s var(--ease);
    margin-left: 0;
  }
  .nav__menu.is-open { max-height: 70vh; overflow-y: auto; }
  .nav__link { padding: 12px 10px; font-size: 15px; }
  .nav__link::after { display: none; }
  .nav__link.is-active { background: var(--glass); border-radius: var(--r-sm); }

  .g-2, .g-3, .g-4, .steps { grid-template-columns: 1fr; }
  .steps { gap: 26px; }
  .step { padding-top: 0; padding-left: 52px; }
  .step::before { top: 34px; bottom: -26px; left: 17px; right: auto; width: 2px; height: auto; }
  .step__n { top: 0; }
  .slide__desc { font-size: 14.5px; max-width: 100%; }
  .hero__slider { height: clamp(460px, 82vh, 620px); }
  .hero__stats { margin-top: -40px; }
  .stat { padding: 12px 8px; }
  .stat + .stat::before { display: none; }
  .stat__num { font-size: 24px; }
  .sec-head__title { font-size: 25px; }
  .dl-wrap { padding: 34px 24px; }
  .dl-wrap__title { font-size: 24px; }
  .article { padding: 28px 22px; }
  .faq-a__in { padding-left: 22px; }
  .form__row { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; }
  .cta { padding: 44px 20px; }
  .foot__bottom { justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
  body { font-size: 14.5px; }
  .news-item__thumb { width: 92px; height: 64px; }
  .metric__val { font-size: 38px; }
  .to-top { right: 14px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

@media print {
  .nav, .to-top, .hero__arrow, .hero__nav, .foot { display: none !important; }
  body { background: #fff; color: #000; }
}
