/* ============================================================
   brand-tokens.css · 炉廷官网配色 v2（A 方案 · 全站统一蓝白）
   2026-11-13 12:28 · 龙哥改 | 阿卢当天拍板 A 方案
   ------------------------------------------------------------
   变更说明（相对 11:52 那版）：
     11:52 版是「蓝做骨、橙做血脉」，产品位点橙 #FF6B35。
     阿卢 12:22 定 A 方案 = 全站彻底统一蓝白，橙色全面退出。
     ⇒ 本版删掉全部橙值，产品位改用「深蓝底 + 亮蓝边光」识别，
       既统一又不丢「这是产品」的视觉重量。

   配色来源：何美斯《设计规范_蓝白_v1_20261112》（与 H5 / 小程序同源）
   ============================================================ */

:root {
  /* ---- 骨架色（全站主力）---- */
  --huanting-blue-deep:   #0A2A5E;   /* 首屏底、页脚、大结构块 */
  --huanting-blue-accent: #1E6BFF;   /* 主按钮、链接、数据数字（对齐 --primary） */
  --huanting-blue-cyan:   #2CE8DB;   /* 渐变末端（对齐 --primary-2） */
  --huanting-blue-dark:   #1550CC;   /* 按下 / 深色端 */
  --huanting-navy:        #1A365D;   /* 深蓝结构（对齐小程序 --navy-900） */
  --huanting-blue-tint:   #EEF3FB;   /* 卡片浅底、产品卡内浅区 */
  --huanting-field:       #F4F6FA;   /* 输入框 / 次级底 */
  --huanting-line-soft:   #C7DAF7;   /* 浅蓝分割 / 描边 */

  /* ---- 文字 ---- */
  --huanting-ink:         #0D1117;   /* 标题 */
  --huanting-graphite:    #3A4250;   /* 正文 */
  --huanting-gray:        #8A93A3;   /* 说明 */

  /* ---- 语义映射 ---- */
  --color-primary:      var(--huanting-blue-accent);
  --color-primary-2:    var(--huanting-blue-cyan);
  --color-structure:    var(--huanting-blue-deep);
  --color-product-cta:  var(--huanting-blue-accent);   /* 产品位也用蓝，不再用橙 */
  --color-text:         var(--huanting-graphite);
  --color-text-strong:  var(--huanting-ink);

  /* ---- 统一渐变（与 H5 / 小程序完全一致）---- */
  --grad-primary: linear-gradient(100deg, #1E6BFF 0%, #2CE8DB 100%);
  --grad-structure: linear-gradient(135deg, #0A2A5E 0%, #1A365D 100%);
}

/* ============================================================
   产品位组件：不再靠橙色识别，靠「深蓝底 + 亮蓝边光」
   ============================================================ */

/* ① 「进入金钥匙」产品 CTA */
.btn-enter-product {
  background: var(--grad-primary);
  color: #fff;
  border: 0;
  border-radius: 12px;
  padding: 16px 32px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 6px 20px rgba(30, 107, 255, .28);
}
.btn-enter-product:hover {
  background: linear-gradient(100deg, #1550CC 0%, #1ECFC4 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(30, 107, 255, .34);
}

/* ② 产品卡片（含小程序码）—— 深蓝底 + 亮蓝边光 */
.card-product {
  background: linear-gradient(135deg, #F7FAFF 0%, #EEF4FF 100%);
  color: var(--huanting-graphite);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid rgba(30, 107, 255, .22);
  position: relative;
  overflow: hidden;
}
.card-product::after {
  content: "";
  position: absolute;
  inset: -40% -40% auto auto;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(30, 107, 255, .10), transparent 70%);
  pointer-events: none;
}
.card-product h3 { color: var(--huanting-ink); }
.card-product .card-desc { color: var(--huanting-graphite); }

/* ③ 产品数据数字 */
.num-product {
  color: var(--huanting-blue-accent);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

/* ④ 内联强调：正文里提到产品名时的浅蓝底高亮 */
.mark-product {
  background: rgba(30, 107, 255, .10);
  color: inherit;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 600;
}

/* ============================================================
   自检脚本（贴到浏览器 console 跑）
   ------------------------------------------------------------
   期望：✓ 未发现橙色
   ============================================================
   (() => {
     const isOrange = v => /rgba?\((255,\s*107,\s*53|212,\s*168,\s*67)/.test(v);
     const hits = [];
     document.querySelectorAll('*').forEach(el => {
       const cs = getComputedStyle(el);
       if (isOrange(cs.backgroundColor) || isOrange(cs.color) || isOrange(cs.borderTopColor)) {
         hits.push(el.tagName + '.' + el.className);
       }
     });
     console.log(hits.length ? '✗ 仍有橙色 ' + hits.length + ' 处：\n' + hits.join('\n')
                             : '✓ 未发现橙色');
   })();
   ============================================================ */
