/* ============================================================
   DaiWAF 企业站 · 首页营销单页样式
   结构：Hero → 场景条 → Section 通用 → 能力专题 → 攻击矩阵 → 人机验证 Tabs
        → 报表 → 管理后台 Mock → 版本对比 → 定价 → 论坛精华 → 响应式
   ============================================================ */

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, #0A0F1E 0%, #0E1730 55%, #12204A 100%);
  color: #fff;
  padding: 150px 0 120px;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(120, 150, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 150, 255, .06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; }
.orb-a { width: 480px; height: 480px; left: -140px; top: -120px; background: radial-gradient(circle, #2B6BFF 0%, transparent 70%); }
.orb-b { width: 420px; height: 420px; right: -100px; bottom: -140px; background: radial-gradient(circle, #22D3EE 0%, transparent 70%); }

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(120, 160, 255, .35);
  background: rgba(90, 130, 255, .12);
  color: #AEC4FF;
  font-size: 13px;
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }

.hero h1 {
  font-size: 56px;
  line-height: 1.2;
  font-weight: 800;
  margin: 22px 0 18px;
  letter-spacing: 1px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #6EA0FF 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub { font-size: 16px; color: var(--text-light); max-width: 520px; }
.hero-cta { display: flex; gap: 16px; margin: 32px 0 44px; }
.hero-chips { display: flex; gap: 10px; flex-wrap: wrap; margin: -28px 0 40px; }
.hero-chips span {
  font-size: 12px;
  color: #C7D6FF;
  border: 1px solid rgba(120, 160, 255, .35);
  background: rgba(90, 130, 255, .10);
  padding: 6px 14px;
  border-radius: 999px;
}
.hero-stats { display: flex; gap: 44px; flex-wrap: wrap; }
.stat-num { font-size: 34px; font-weight: 800; font-variant-numeric: tabular-nums; }
.stat-num small { font-size: 16px; font-weight: 600; color: #AEC4FF; margin-left: 2px; }
.stat-label { font-size: 13px; color: var(--text-light); margin-top: 4px; }

/* 验证卡片 Mock */
.hero-visual { position: relative; }
.verify-card {
  width: 100%;
  max-width: 440px;
  margin-left: auto;
  background: rgba(17, 26, 51, .75);
  border: 1px solid rgba(120, 160, 255, .22);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(8px);
  animation: float 5s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.vc-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.vc-dots { display: flex; gap: 5px; }
.vc-dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.vc-dots i:first-child { background: #FF6B6B; }
.vc-dots i:nth-child(2) { background: #FFC24B; }
.vc-dots i:nth-child(3) { background: #34D399; }
.vc-title { font-size: 13px; color: var(--text-light); flex: 1; text-align: center; }
.vc-chip {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(34, 211, 238, .14);
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, .3);
}
.vc-canvas { position: relative; height: 190px; border-radius: 12px; overflow: hidden; }
.vc-scene {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 22% 28%, rgba(94, 160, 255, .5) 0%, transparent 42%),
    radial-gradient(circle at 76% 66%, rgba(124, 92, 255, .45) 0%, transparent 46%),
    radial-gradient(circle at 50% 90%, rgba(34, 211, 238, .35) 0%, transparent 40%),
    linear-gradient(150deg, #1B2B57 0%, #24346B 60%, #1A2450 100%);
}
.vc-scene::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 26px 26px;
}
.vc-hole {
  position: absolute;
  left: 58%; top: 26%;
  width: 58px; height: 58px;
  border-radius: 12px;
  background: rgba(8, 12, 26, .72);
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .12);
}
.vc-piece {
  position: absolute;
  left: 6%; top: 26%;
  width: 58px; height: 58px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(110, 160, 255, .85), rgba(124, 92, 255, .8));
  box-shadow: 0 6px 18px rgba(60, 90, 220, .5);
  animation: pieceFloat 3.4s ease-in-out infinite;
}
@keyframes pieceFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
.vc-probe {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, .22);
  animation: pulse 2.4s infinite;
}
.vc-slider { margin: 16px 4px 12px; }
.vc-track {
  position: relative;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
}
.vc-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 42px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(43, 107, 255, .55), rgba(34, 211, 238, .55));
}
.vc-handle {
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  margin-left: -2px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), #5A8BFF);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 6px 16px rgba(43, 107, 255, .5);
}
.vc-handle svg { width: 18px; height: 18px; }
.vc-foot { display: flex; gap: 10px; flex-wrap: wrap; }
.vc-foot span {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(16, 185, 129, .14);
  color: #5EEAD4;
  border: 1px solid rgba(16, 185, 129, .3);
}
.float-tag {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  background: rgba(17, 26, 51, .85);
  border: 1px solid rgba(120, 160, 255, .25);
  font-size: 12px;
  color: #C7D6FF;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-md);
}
.float-tag svg { width: 16px; height: 16px; color: var(--cyan); }
.tag-a { top: -18px; right: 6%; animation: float 4.4s ease-in-out infinite; }
.tag-b { bottom: -16px; left: 8%; animation: float 5.2s .6s ease-in-out infinite; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; }
.hero-wave svg { width: 100%; height: 70px; }

/* ---------------- 场景条 ---------------- */
.scenes { background: var(--bg); padding: 26px 0; border-bottom: 1px solid var(--line); }
.scenes-inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.scenes-label { font-size: 13px; color: var(--text-sub); white-space: nowrap; }
.scenes-list { display: flex; gap: 12px; flex-wrap: wrap; }
.scenes-list span {
  font-size: 13px;
  color: var(--text-sub);
  background: var(--card);
  border: 1px solid var(--line);
  padding: 6px 16px;
  border-radius: 999px;
}

/* ---------------- Section 通用 ---------------- */
.section { padding: 96px 0; }
.section-tint { background: var(--bg); }
.section-dark {
  background:
    radial-gradient(circle at 12% 20%, rgba(43, 107, 255, .16) 0%, transparent 40%),
    radial-gradient(circle at 88% 80%, rgba(34, 211, 238, .10) 0%, transparent 40%),
    linear-gradient(160deg, #0A0F1E 0%, #0E1730 100%);
  color: #fff;
}
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.sec-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--primary);
  background: #EAF0FF;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.sec-head h2 { font-size: 34px; font-weight: 800; margin-bottom: 14px; letter-spacing: .5px; }
.sec-head p { color: var(--text-sub); font-size: 15px; }
.sec-head-light .sec-tag { color: var(--cyan); background: rgba(34, 211, 238, .12); }
.sec-head-light h2 { color: #fff; }
.sec-head-light p { color: var(--text-light); }

/* 左右交替专题（能力 01-08 与报表/后台） */
.cap-row + .cap-row { margin-top: 76px; }
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split.rev .split-copy { order: 2; }
.split-copy .sec-tag { margin-bottom: 16px; }
.split-copy h2 { font-size: 32px; font-weight: 800; margin-bottom: 14px; }
.split-copy > p { color: var(--text-sub); font-size: 15px; margin-bottom: 24px; }
.check-list li {
  position: relative;
  padding: 10px 0 10px 32px;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px dashed var(--line);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 14px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #E8F8F1 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"><path d="M6 12.5l4 4L18 8" stroke="%2310B981" stroke-width="2.6" stroke-linecap="round" stroke-linejoin="round"/></svg>') center/12px no-repeat;
}

/* 浅色防护模式卡 / 拦截记录 / 策略配置 */
.mode-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
}
.mode-light { justify-content: flex-start; padding-bottom: 4px; }
.mode-light .mode-chip { color: var(--text-sub); border-color: var(--line); background: var(--bg); }
.mode-light .mode-chip.on { color: #fff; }
.mode-label { font-size: 12px; color: var(--text-light); margin-bottom: 14px; text-align: center; }
.mode-note {
  font-size: 12px;
  color: var(--text-light);
  text-align: left;
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px dashed var(--line);
}
.block-list, .rule-list { display: flex; flex-direction: column; gap: 10px; }
.block-row, .rule-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 13px;
}
.block-row b, .rule-row b {
  min-width: 108px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.block-row span, .rule-row span { flex: 1; color: var(--text-sub); }
.block-row em {
  font-style: normal;
  font-size: 11px;
  color: #B91C1C;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  border-radius: 999px;
  padding: 2px 10px;
}

/* 终端 Mock */
.term {
  width: 100%;
  max-width: 440px;
  border-radius: 14px;
  overflow: hidden;
  background: #0B1120;
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: var(--shadow-lg);
}
.term-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, .04);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.term-head i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.term-head i:nth-child(1) { background: #FF6B6B; }
.term-head i:nth-child(2) { background: #FFC24B; }
.term-head i:nth-child(3) { background: #34D399; }
.term-head span { margin-left: 8px; font-size: 12px; color: var(--text-light); }
.term-lines { padding: 20px 22px; }
.term-lines li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #C7D6FF;
  padding: 8px 0;
  opacity: 0;
  animation: lineIn .5s forwards;
}
.term-lines li:nth-child(1) { animation-delay: .2s; }
.term-lines li:nth-child(2) { animation-delay: .7s; }
.term-lines li:nth-child(3) { animation-delay: 1.2s; }
.term-lines li:nth-child(4) { animation-delay: 1.7s; }
@keyframes lineIn { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
.term-lines b { color: var(--cyan); font-weight: 600; min-width: 56px; }
.term-lines em { margin-left: auto; font-style: normal; color: #5EEAD4; font-size: 12px; }
.term-lines li.pass b { color: #5EEAD4; }
.term-lines li.pass em { color: #fff; background: rgba(16, 185, 129, .25); padding: 2px 10px; border-radius: 999px; }
.term-static li b { color: #7AA5FF; min-width: 24px; }

/* 等候室 Mock */
.wait-card {
  width: 100%;
  max-width: 420px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  box-shadow: var(--shadow-md);
}
.wait-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.wait-head b { font-size: 15px; }
.wait-live {
  font-size: 11px;
  color: var(--warn);
  background: rgba(245, 158, 11, .12);
  border: 1px solid rgba(245, 158, 11, .35);
  padding: 3px 12px;
  border-radius: 999px;
}
.wait-stat { font-size: 14px; color: var(--text-sub); margin-bottom: 12px; }
.wait-stat b { font-size: 30px; color: var(--text); font-variant-numeric: tabular-nums; margin-right: 6px; }
.wait-bar { height: 12px; border-radius: 999px; background: #EEF2F9; overflow: hidden; margin-bottom: 14px; }
.wait-bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  animation: waitFill 1.6s cubic-bezier(.2, .8, .3, 1) both;
}
@keyframes waitFill { from { width: 0; } }
.wait-meta { font-size: 13px; color: var(--text-sub); margin-bottom: 18px; }
.wait-dots { display: flex; gap: 6px; }
.wait-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); opacity: .35; animation: pulse 1.4s infinite; }
.wait-dots i:nth-child(2) { animation-delay: .2s; }
.wait-dots i:nth-child(3) { animation-delay: .4s; }

/* ---------------- 攻击矩阵 ---------------- */
.attack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.attack-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  transition: border-color .25s, background .25s;
}
.attack-item:hover { border-color: rgba(239, 68, 68, .35); background: #FFF7F7; }
.attack-item b { font-size: 14px; }
.attack-item span { font-size: 12px; color: var(--text-sub); }

/* ---------------- 人机验证 Tabs ---------------- */
.ch-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.ch-tab {
  padding: 10px 26px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .06);
  color: var(--text-light);
  font-size: 14px;
  transition: all .25s;
}
.ch-tab:hover { color: #fff; border-color: rgba(255, 255, 255, .4); }
.ch-tab.active {
  background: linear-gradient(135deg, var(--primary), #5A8BFF);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 18px rgba(43, 107, 255, .4);
}
.ch-panel { display: none; }
.ch-panel.show { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; animation: fadeUp .5s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.ch-demo { display: flex; justify-content: center; }
.ch-desc h3 { font-size: 22px; font-weight: 800; margin-bottom: 14px; color: #fff; }
.ch-desc p { font-size: 14px; color: var(--text-light); margin-bottom: 20px; }
.ch-desc ul li {
  position: relative;
  padding-left: 24px;
  font-size: 13px;
  color: #C7D6FF;
  margin-bottom: 10px;
}
.ch-desc ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(34, 211, 238, .6);
}

/* 演示卡片（滑块 / 验证码 / 模式选择） */
.demo-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  border-radius: 14px;
  background: #0B1120;
  border: 1px solid rgba(255, 255, 255, .12);
  padding: 16px;
  box-shadow: var(--shadow-lg);
}
.demo-canvas { position: relative; height: 190px; border-radius: 10px; overflow: hidden; }
.demo-slider-bg {
  background:
    radial-gradient(circle at 70% 30%, rgba(124, 92, 255, .5) 0%, transparent 45%),
    radial-gradient(circle at 25% 75%, rgba(34, 211, 238, .4) 0%, transparent 40%),
    linear-gradient(140deg, #1B2B57 0%, #2A3A72 100%);
}
.demo-hole {
  position: absolute;
  left: 62%; top: 30%;
  width: 54px; height: 54px;
  border-radius: 12px;
  background: rgba(8, 12, 26, .7);
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 255, 255, .12);
}
.demo-slider { margin-top: 14px; }
.demo-track {
  position: relative;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  overflow: hidden;
  touch-action: none;
}
.demo-fill {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 0;
  background: linear-gradient(90deg, rgba(43, 107, 255, .5), rgba(34, 211, 238, .5));
}
.demo-handle {
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), #5A8BFF);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  cursor: grab;
  user-select: none;
  box-shadow: 0 6px 16px rgba(43, 107, 255, .5);
}
.demo-handle:active { cursor: grabbing; }
.demo-ok {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(16, 185, 129, .12);
  border: 1px solid rgba(16, 185, 129, .35);
  color: #5EEAD4;
  font-size: 13px;
  opacity: 0;
  transform: translateY(6px);
  transition: all .4s;
}
.demo-ok.show { opacity: 1; transform: none; }
.demo-ok svg { width: 18px; height: 18px; }

.demo-captcha {
  height: 190px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 20% 20%, rgba(70, 90, 160, .5) 0%, transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(50, 70, 130, .6) 0%, transparent 45%),
    linear-gradient(150deg, #1A2242 0%, #232E5C 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  position: relative;
  overflow: hidden;
}
.demo-captcha::before, .demo-captcha::after {
  content: "";
  position: absolute;
  width: 140%; height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(140, 170, 255, .4), transparent);
  transform: rotate(-8deg);
}
.demo-captcha::before { top: 36%; }
.demo-captcha::after { top: 68%; transform: rotate(6deg); }
.demo-captcha span {
  font-size: 46px;
  font-weight: 800;
  font-family: Georgia, serif;
  background: linear-gradient(180deg, #DCE6FF, #8FA8E8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 2px 6px rgba(0, 0, 0, .3);
}
.demo-captcha-input {
  margin-top: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  color: var(--text-light);
  font-size: 13px;
}
.demo-probe-meta {
  margin-top: 12px;
  text-align: center;
  font-size: 12px;
  color: var(--text-light);
  padding: 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .04);
  border: 1px dashed rgba(255, 255, 255, .16);
}
.mode-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; padding-bottom: 16px; }
.mode-chip {
  font-size: 12px;
  color: #C7D6FF;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .05);
  padding: 9px 16px;
  border-radius: 10px;
}
.mode-chip.on {
  background: linear-gradient(135deg, var(--primary), #5A8BFF);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 16px rgba(43, 107, 255, .45);
}

/* ---------------- 管理后台 Mock ---------------- */
.admin-mock {
  display: flex;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  background: #fff;
}
.am-side {
  width: 56px;
  background: #0E1730;
  padding: 14px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.am-logo {
  width: 26px; height: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
}
.am-side i { width: 22px; height: 22px; border-radius: 6px; background: rgba(255, 255, 255, .14); }
.am-side i.on { background: linear-gradient(135deg, #5A8BFF, #22D3EE); }
.am-main { flex: 1; padding: 16px; background: var(--bg); min-width: 0; }
.am-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.am-top b { font-size: 13px; }
.am-live {
  font-size: 10px;
  color: var(--primary);
  background: #EAF0FF;
  padding: 3px 10px;
  border-radius: 999px;
}
.am-cards { display: flex; gap: 10px; margin-bottom: 12px; }
.am-card { flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; min-width: 0; }
.am-card b { display: block; font-size: 15px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.am-card span { font-size: 11px; color: var(--text-sub); }
.am-card.warn b { color: var(--danger); }
.am-card.ok b { color: var(--success); }
.am-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 110px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
}
.am-chart span {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, #7AA5FF, #2B6BFF);
  animation: barUp .8s cubic-bezier(.2, .8, .3, 1) both;
}
.am-rows { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.am-rows i { height: 12px; border-radius: 6px; background: #E9EEF7; }
.am-rows i:nth-child(1) { width: 92%; }
.am-rows i:nth-child(2) { width: 76%; }
.am-rows i:nth-child(3) { width: 84%; }

/* ---------------- 统计报表 ---------------- */
.chart-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow-md);
}
.chart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.chart-head b { font-size: 15px; }
.chart-legend { font-size: 12px; color: var(--text-sub); display: flex; align-items: center; gap: 6px; }
.lg { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-left: 10px; }
.lg-a { background: linear-gradient(180deg, #5A8BFF, #2B6BFF); }
.lg-b { background: linear-gradient(180deg, #FF8F8F, #EF4444); }
.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 180px;
  padding: 0 4px;
}
.bar-group { flex: 1; display: flex; align-items: flex-end; gap: 3px; height: 100%; }
.bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  transform-origin: bottom;
  animation: barUp .8s cubic-bezier(.2, .8, .3, 1) both;
}
.bar-a { background: linear-gradient(180deg, #7AA5FF, #2B6BFF); }
.bar-b { background: linear-gradient(180deg, #FF9E9E, #EF4444); max-width: 8px; }
@keyframes barUp { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.chart-foot {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.mini-stat { flex: 1; text-align: center; }
.mini-stat b { display: block; font-size: 17px; font-variant-numeric: tabular-nums; }
.mini-stat span { font-size: 12px; color: var(--text-sub); }

/* ---------------- 版本对比 ---------------- */
.compare-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
}
.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare th, .compare td {
  padding: 15px 24px;
  text-align: left;
  font-size: 14px;
  border-bottom: 1px solid var(--line);
}
.compare thead th {
  font-size: 13px;
  color: var(--text-sub);
  font-weight: 600;
  background: #FAFBFE;
}
.compare tbody tr:last-child td { border-bottom: none; }
.compare tbody tr:hover td { background: #FAFBFF; }
.compare td:first-child { color: var(--text); font-weight: 500; }
.compare td { color: var(--text-sub); }
.pro-col {
  background: rgba(43, 107, 255, .045) !important;
  color: var(--text) !important;
  font-weight: 600;
}
.compare thead .pro-col { color: var(--primary) !important; }
.yes {
  display: inline-block;
  width: 18px; height: 18px;
  border-radius: 50%;
  vertical-align: middle;
  background: #E8F8F1 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"><path d="M6 12.5l4 4L18 8" stroke="%2310B981" stroke-width="2.6" stroke-linecap="round" stroke-linejoin="round"/></svg>') center/12px no-repeat;
}
.no {
  display: inline-block;
  width: 18px; height: 18px;
  border-radius: 50%;
  vertical-align: middle;
  background: #F1F3F8 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none"><path d="M7 7l10 10M17 7L7 17" stroke="%23B7C0D4" stroke-width="2.4" stroke-linecap="round"/></svg>') center/10px no-repeat;
}

/* ---------------- 定价 ---------------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.price-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.price-card h3 { font-size: 17px; font-weight: 700; }
.price-num {
  font-size: 38px;
  font-weight: 800;
  margin: 14px 0 6px;
  font-variant-numeric: tabular-nums;
}
.price-num small { font-size: 14px; font-weight: 500; color: var(--text-sub); margin-left: 4px; }
.price-note { font-size: 12px; color: var(--text-sub); margin-bottom: 20px; min-height: 36px; }
.price-card ul { margin-bottom: 26px; flex: 1; }
.price-card ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-sub);
  padding: 7px 0;
}
.price-card.hot {
  border: 2px solid var(--primary);
  box-shadow: 0 16px 44px rgba(43, 107, 255, .22);
}
.hot-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), #5A8BFF);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 999px;
  white-space: nowrap;
}
.price-tip {
  text-align: center;
  margin-top: 32px;
  font-size: 13px;
  color: var(--text-sub);
}

/* ---------------- 论坛精华 SSR 区块 ---------------- */
.ess-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.ess-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  color: inherit;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.ess-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(43, 107, 255, .4);
}
.ess-tags { display: flex; gap: 8px; margin-bottom: 14px; }
.ess-tags span { font-size: 11px; padding: 3px 10px; border-radius: 999px; }
.ess-tags .tg-ess { color: #B45309; background: #FEF3C7; border: 1px solid #FDE68A; }
.ess-tags .tg-done { color: #047857; background: #ECFDF5; border: 1px solid #A7F3D0; }
.ess-tags .tg-hot { color: #B91C1C; background: #FEF2F2; border: 1px solid #FECACA; }
.ess-card h3 { font-size: 15px; font-weight: 700; line-height: 1.5; margin-bottom: 10px; }
.ess-card p {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.7;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ess-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--text-light);
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}
.ess-more { text-align: center; margin-top: 40px; }

/* ---------------- 购买支付弹窗（站内当面付） ---------------- */
.pay-mask {
  position: fixed;
  inset: 0;
  background: rgba(7, 11, 22, .66);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
}
.pay-mask.show { display: flex; }
.pay-card {
  width: 100%;
  max-width: 400px;
  background: #fff;
  border-radius: 20px;
  padding: 34px 30px 28px;
  position: relative;
  animation: fadeUp .35s ease;
}
.pay-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--bg);
  cursor: pointer;
  font-size: 15px;
  color: var(--text-sub);
}
.pay-close:hover { background: var(--line); }
.pay-card h3 { font-size: 18px; text-align: center; }
/* 支付方式选择（后台启用几个显示几个） */
.pay-channels { display: flex; justify-content: center; gap: 10px; margin: 14px 0 4px; flex-wrap: wrap; }
.pay-channel {
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: 10px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-sub);
  cursor: pointer;
  transition: all .2s;
}
.pay-channel:hover { border-color: var(--primary); color: var(--primary); }
.pay-channel.on { border-color: var(--primary); background: #EEF4FF; color: var(--primary); box-shadow: 0 0 0 3px rgba(43, 107, 255, .1); }
.pay-channel.disabled { opacity: .45; cursor: not-allowed; }
.pay-plan { text-align: center; margin-top: 6px; font-size: 13px; color: var(--text-sub); }
.pay-price { text-align: center; font-size: 34px; font-weight: 800; color: var(--primary); margin: 10px 0 2px; }
.pay-price small { font-size: 13px; color: var(--text-light); font-weight: 400; }
.pay-alipay {
  display: flex;
  justify-content: center;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: #1677FF;
  font-weight: 600;
  margin: 6px 0 16px;
}
.pay-alipay svg { width: 18px; height: 18px; }
.pay-qr {
  display: block;
  margin: 0 auto;
  width: 218px;
  height: 218px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  background: #fff;
  object-fit: contain;
}
.pay-order { text-align: center; font-size: 12px; color: var(--text-light); margin-top: 14px; word-break: break-all; }
.pay-count { text-align: center; font-size: 13px; margin-top: 6px; }
.pay-count b { color: var(--primary); font-variant-numeric: tabular-nums; }
.pay-refresh {
  display: block;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-light);
  cursor: pointer;
  text-decoration: none;
}
.pay-refresh:hover { color: var(--primary); }
.pay-tip {
  text-align: center;
  font-size: 12px;
  color: var(--text-light);
  margin-top: 14px;
  line-height: 1.7;
  background: var(--bg);
  border-radius: 10px;
  padding: 10px 12px;
}
.pay-success { display: none; text-align: center; padding: 18px 0 10px; }
.pay-success .ok-ico {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #ECFDF5;
  color: #10B981;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 30px;
}
.pay-success p { font-size: 13px; color: var(--text-sub); margin-top: 8px; line-height: 1.7; }
.pay-success .lic { font-size: 13px; color: var(--text); background: var(--bg); border-radius: 10px; padding: 12px; margin-top: 14px; font-family: ui-monospace, Consolas, monospace; word-break: break-all; }
.pay-card.done .pay-body { display: none; }
.pay-card.done .pay-success { display: block; }
@media (max-width: 640px) {
  .pay-mask { padding: 16px; }
  .pay-card { padding: 26px 18px 22px; }
}

/* ---------------- 响应式（首页专属） ---------------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 480px; margin: 0 auto; }
  .verify-card { margin: 0 auto; }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .ess-grid { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .ch-panel.show { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .hero { padding: 120px 0 90px; }
  .hero h1 { font-size: 32px; }
  .hero-cta { gap: 10px; }
  .hero-cta .btn { flex: 1; }
  .hero-chips { flex-wrap: nowrap; gap: 6px; }
  .hero-chips span {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    padding: 5px 4px;
    white-space: nowrap;
  }
  .hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .stat-num { font-size: 19px; }
  .stat-num small { font-size: 11px; }
  .stat-label { font-size: 10.5px; margin-top: 2px; }
  .ess-grid { grid-template-columns: 1fr; }
  .attack-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .attack-grid .attack-item { padding: 14px 12px; }
  .price-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .sec-head h2 { font-size: 26px; }
  .chart-foot { flex-direction: column; gap: 14px; }
  /* 支付仅支持支付宝扫码，手机端隐藏定价卡内全部购买/使用按钮 */
  .price-card a.btn { display: none; }
  .float-tag { display: none; }
}
@media (max-width: 500px) {
  /* 手机窄屏：对比表取消 640px 最小宽，压缩单元格直接适配屏宽 */
  .compare { min-width: 0; }
  .compare th, .compare td { padding: 11px 10px; font-size: 12.5px; }
  .compare thead th { font-size: 12px; }
}


/* ============================================================
   促销活动（横幅广告位 + 预售定价 + 规则弹窗）
   开屏广告为代码类型（自带样式），此段只承载页面内结构
   ============================================================ */

/* ---------- 横幅广告位 ---------- */
.ad-slot-wrap { padding: 34px 0 0; }
.ad-banner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 220px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(120deg, #0A0F1E 0%, #2A0D0D 55%, #7A1E12 130%);
  box-shadow: var(--shadow-md);
}
.ad-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ad-mark {
  position: absolute;
  z-index: 2;
  right: 14px;
  top: 12px;
  font-style: normal;
  font-size: 11px;
  color: rgba(255, 255, 255, .55);
  border: 1px solid rgba(255, 255, 255, .35);
  padding: 1px 7px;
  border-radius: 4px;
}

/* ---------- 预售定价元素 ---------- */
.promo-badge {
  position: absolute;
  top: -13px;
  right: 18px;
  background: linear-gradient(135deg, #FF3B30, #FF6A00);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  letter-spacing: 1px;
  box-shadow: 0 6px 16px rgba(255, 80, 40, .35);
}
.price-was { display: flex; align-items: center; gap: 8px; margin: 16px 0 4px; }
.was-tag {
  font-size: 11px;
  color: var(--text-light);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 7px;
}
.was-num { font-size: 18px; font-weight: 600; color: var(--text-light); }
.disc-tag {
  font-size: 12px;
  font-weight: 700;
  color: #FF3B30;
  background: rgba(255, 59, 48, .08);
  border: 1px solid rgba(255, 59, 48, .3);
  padding: 1px 8px;
  border-radius: 6px;
}
.price-now { display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.now-tag {
  align-self: center;
  background: linear-gradient(135deg, #FF3B30, #FF6A00);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
}
.price-now b {
  font-size: 46px;
  font-weight: 900;
  color: #FF3B30;
  letter-spacing: -1px;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.price-now small { font-size: 14px; font-weight: 500; color: var(--text-sub); margin-left: -2px; }
.save-tag {
  align-self: center;
  font-size: 12px;
  font-weight: 700;
  color: #FF3B30;
  background: rgba(255, 59, 48, .08);
  border: 1px dashed rgba(255, 59, 48, .45);
  padding: 2px 8px;
  border-radius: 6px;
}
.deposit-row {
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(90deg, rgba(255, 59, 48, .05), rgba(255, 106, 0, .05));
  border: 1px dashed rgba(255, 106, 0, .45);
  border-radius: 10px;
  padding: 9px 14px;
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: 12px;
}
.deposit-row b { color: #FF3B30; font-size: 15px; margin-right: 2px; }
.deposit-row span { margin-left: auto; font-size: 12px; }
.quota-row { margin-bottom: 6px; }
.quota-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 6px;
}
.quota-meta b { color: #FF3B30; }
.quota-bar { height: 8px; border-radius: 99px; background: var(--bg); overflow: hidden; }
.quota-bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #FF3B30, #FF6A00); }
.btn-promo { background: linear-gradient(135deg, #FF3B30, #FF6A00); }
.btn-promo:hover { box-shadow: 0 10px 28px rgba(255, 80, 40, .45); }
.btn-disabled { background: #D9DCE4; color: #8A8F9E; cursor: not-allowed; }
.btn-disabled:hover { background: #D9DCE4; box-shadow: none; transform: none; }

/* ---------- 预售规则弹窗 ---------- */
.rule-badge {
  display: inline-block;
  background: linear-gradient(135deg, #FF3B30, #FF6A00);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  letter-spacing: 1px;
}
.rule-price { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 4px; flex-wrap: wrap; }
.rule-price b { font-size: 30px; font-weight: 800; color: #FF3B30; }
.rule-price s { color: var(--text-light); font-size: 15px; }
.rule-sub { font-size: 12px; color: var(--text-light); }
.rule-steps {
  display: grid;
  gap: 10px;
  background: var(--bg);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 12px 0 14px;
  text-align: left;
}
.rule-steps li { display: flex; gap: 10px; font-size: 13px; color: var(--text-sub); line-height: 1.7; }
.rule-steps li b { color: var(--text); white-space: nowrap; }
.rule-steps li em { font-style: normal; color: #FF3B30; font-weight: 700; }
.rule-warn {
  font-size: 12px;
  color: #B45309;
  background: #FFF7E8;
  border: 1px solid #FDE1B9;
  border-radius: 10px;
  padding: 9px 12px;
  margin-bottom: 18px;
  text-align: left;
}

@media (max-width: 860px) {
  .ad-banner { min-height: 0; }
  .price-now b { font-size: 36px; }
}
