/* =========================================================================
   通问AI 官网设计系统 v3.0
   品牌色对齐 Logo：墨蓝（书法/远山）+ 金（外环）+ 米白纸底
   调性：商业实战 · 有力 · 高对比 · 阿里同源 · 专业可信
   纯静态 / 零构建 / 系统字体（Latin 用 Space Grotesk 增强）
   ========================================================================= */

:root {
  /* 墨蓝结构色 */
  --ink:        #14233f;   /* 主墨蓝 */
  --ink-deep:   #0d1a30;   /* 更深 — 导航/页脚 */
  --ink-soft:   #2b3f63;
  --ink-line:   #243a5e;

  /* 金 */
  --gold:       #c2912e;
  --gold-deep:  #a8791d;
  --gold-bright:#d9aa44;
  --gold-soft:  #f1e6cb;

  /* 纸底 / 面 */
  --paper:      #f4efe3;   /* 米白纸底（alt 区块） */
  --paper-2:    #efe8d8;
  --surface:    #ffffff;
  --surface-warm:#fbf7ef;

  /* 文字 */
  --text:       #1b2536;
  --text-soft:  #57607180;
  --text-2:     #5a6273;
  --text-mute:  #8b8f9b;
  --on-ink:     #f3ece0;
  --on-ink-soft:#b9c2d4;
  --on-ink-mute:#7f8aa3;

  /* 线 */
  --border:     #e3dac7;
  --border-2:   #ece4d4;
  --border-ink: #2a3c5d;

  /* 半径 / 阴影 */
  --radius-sm:  4px;
  --radius:     8px;
  --radius-lg:  14px;
  --shadow-sm:  0 1px 2px rgba(20,35,63,.05);
  --shadow:     0 10px 30px -12px rgba(20,35,63,.16);
  --shadow-lg:  0 24px 60px -20px rgba(20,35,63,.28);

  --maxw: 1160px;
  --maxw-read: 760px;

  --font-sans: "Space Grotesk", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-cjk: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-cjk);
  color: var(--text);
  background: var(--paper);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; transition: color .15s; }

/* ---------- 排版 ---------- */
h1, h2, h3, h4 { line-height: 1.22; font-weight: 700; color: var(--text); letter-spacing: -0.01em; }
h1 { font-size: clamp(30px, 5.2vw, 52px); }
h2 { font-size: clamp(24px, 3.4vw, 36px); }
h3 { font-size: clamp(19px, 2vw, 23px); }
h4 { font-size: 17px; }

.display { font-family: var(--font-sans); }

/* eyebrow / 小标签 */
.eyebrow, .section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans);
  text-transform: uppercase;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--gold-deep);
  margin-bottom: 14px;
}
.eyebrow::before, .section-label::before {
  content: ""; width: 22px; height: 1.5px; background: var(--gold); display: inline-block;
}
.hero .eyebrow, .hero .section-label, .on-ink .eyebrow { color: var(--gold-bright); }
.hero .eyebrow::before, .on-ink .eyebrow::before { background: var(--gold-bright); }

.lead {
  font-size: clamp(17px, 1.5vw, 19px);
  color: var(--text-2);
  max-width: 720px;
  margin: 14px 0 28px;
  line-height: 1.75;
  text-wrap: pretty;
}
.subtitle {
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--text-2);
  max-width: 760px;
  line-height: 1.75;
  margin: 14px 0 28px;
  text-wrap: pretty;
}

/* ---------- 容器 / 区块 ---------- */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--paper); }
.section-surface { background: var(--surface); }
.section-ink { background: var(--ink-deep); color: var(--on-ink); }
.section-ink h1, .section-ink h2, .section-ink h3, .section-ink h4 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 8px; }

/* ====================================================================
   导航（同时支持 .nav 与 .site-header 两套结构）
   ==================================================================== */
.nav, .site-header {
  background: var(--ink-deep);
  position: sticky; top: 0; z-index: 200;
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
.nav-inner, .header-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 64px;
}
.nav-brand, .site-header .logo {
  display: inline-flex; align-items: center; gap: 10px;
  color: #fff; font-size: 19px; font-weight: 700;
  letter-spacing: .02em; text-decoration: none; flex: none;
}
.nav-brand img, .site-header .logo img {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--paper); object-fit: cover; display: block;
}
.nav-links, .main-nav {
  list-style: none; display: flex; gap: 2px; align-items: center; margin: 0; padding: 0;
}
.main-nav { gap: 2px; }
.nav-links li a, .main-nav a {
  color: var(--on-ink-soft); text-decoration: none;
  font-size: 14.5px; padding: 9px 13px; border-radius: 6px;
  transition: color .15s, background .15s; white-space: nowrap; display: inline-block;
}
.nav-links li a:hover, .main-nav a:hover,
.nav-links li a.active, .main-nav a.active { color: #fff; background: rgba(255,255,255,.08); }
.nav-cta {
  margin-left: 8px; background: var(--gold); color: var(--ink-deep) !important;
  font-weight: 600; padding: 9px 18px !important; border-radius: 6px;
}
.nav-cta:hover { background: var(--gold-bright) !important; }
.nav-toggle {
  display: none; background: none; border: none; color: #fff;
  font-size: 22px; cursor: pointer; padding: 6px 8px; line-height: 1;
}

/* ====================================================================
   Hero（编辑式 · 深墨蓝 + 金线）
   ==================================================================== */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 120% at 85% -10%, rgba(194,145,46,.16), transparent 55%),
    linear-gradient(160deg, #15243f 0%, #0d1a30 70%);
  color: var(--on-ink);
  padding: 92px 0 84px;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright), var(--gold-deep));
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 .accent { color: var(--gold-bright); }
.hero .subtitle { color: var(--on-ink-soft); max-width: 620px; }
.hero .cta-group { margin-top: 30px; }

/* 单列简版 hero（子页） */
.hero--sub { padding: 64px 0 56px; }
.hero--sub .hero-grid { grid-template-columns: 1fr; }
.hero--sub h1 { font-size: clamp(28px, 4vw, 42px); }

/* hero 媒体（讲师并肩 / logo） */
.hero-figure {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg);
}
.hero-duo { display: grid; grid-template-columns: 1fr 1fr; height: 100%; }
.hero-duo .ph { position: relative; overflow: hidden; background: #1a2a48; }
.hero-duo .ph img { width: 100%; height: 100%; object-fit: cover; }
.hero-duo .ph + .ph { border-left: 1px solid rgba(255,255,255,.12); }
.hero-duo .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px 12px;
  background: linear-gradient(transparent, rgba(8,16,30,.86));
  color: #fff; font-size: 13px;
}
.hero-duo .cap b { display: block; font-size: 15px; }
.hero-duo .cap span { color: var(--gold-bright); font-size: 12px; }

/* ---------- 统计带 ---------- */
.stat-row {
  display: flex; flex-wrap: wrap; gap: 36px 48px; margin: 30px 0 0;
}
.hero .stat-row { border-top: 1px solid rgba(255,255,255,.14); padding-top: 26px; margin-top: 34px; }
.stat-item .num {
  font-family: var(--font-sans); font-size: clamp(28px, 3vw, 38px); font-weight: 700;
  color: var(--ink); line-height: 1; letter-spacing: -0.02em;
}
.hero .stat-item .num { color: var(--gold-bright); }
.stat-item .num small { font-size: .5em; font-weight: 600; color: var(--text-mute); margin-left: 2px; }
.hero .stat-item .num small { color: var(--on-ink-soft); }
.stat-item .label { font-size: 13.5px; color: var(--text-mute); margin-top: 7px; }
.hero .stat-item .label { color: var(--on-ink-soft); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600; font-family: var(--font-cjk);
  text-decoration: none; cursor: pointer; transition: all .16s; border: 1.5px solid transparent;
  line-height: 1.2;
}
.btn-primary { background: var(--gold); color: var(--ink-deep); }
.btn-primary:hover { background: var(--gold-bright); transform: translateY(-1px); color: var(--ink-deep); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-soft); transform: translateY(-1px); color:#fff; }
.btn-outline { border-color: var(--border); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.hero .btn-outline, .on-ink .btn-outline { border-color: rgba(255,255,255,.4); color: #fff; }
.hero .btn-outline:hover, .on-ink .btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.cta-group { display: flex; gap: 14px; flex-wrap: wrap; }

/* ====================================================================
   卡片系统
   ==================================================================== */
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px; margin-top: 36px;
}
.card {
  background: var(--surface); border-radius: var(--radius);
  padding: 28px 26px; border: 1px solid var(--border);
  transition: box-shadow .22s, transform .18s, border-color .18s;
  position: relative;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--gold-soft); }
.card-num {
  font-family: var(--font-sans); font-size: 15px; font-weight: 700;
  color: var(--gold-deep); letter-spacing: .08em; margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.card-num::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.card h4 { margin: 0 0 8px; font-size: 18px; }
.card p { color: var(--text-2); font-size: 14.5px; line-height: 1.7; }

/* 适合/不适合等强调卡 */
.flag-card { border-left: 3px solid var(--ink); }
.flag-card.good { border-left-color: var(--gold-deep); }
.flag-card.bad { border-left-color: #b2402f; }

/* ====================================================================
   讲师卡
   ==================================================================== */
.instructor-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.instructor-card {
  background: var(--surface); border-radius: var(--radius-lg);
  border: 1px solid var(--border); overflow: hidden; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.instructor-photo {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden;
  background: #d8d3c7;
}
.instructor-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 18%;
}
.instructor-photo .badge {
  position: absolute; top: 14px; left: 14px;
  background: rgba(13,26,48,.88); color: var(--gold-bright);
  font-family: var(--font-sans); font-size: 11px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 4px; backdrop-filter: blur(4px);
}
.instructor-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.instructor-body h4 { font-size: 21px; margin: 0; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.instructor-body h4 .alt { font-weight: 400; color: var(--text-mute); font-size: .68em; }
.instructor-card .role {
  font-family: var(--font-sans); font-size: 12.5px; color: var(--gold-deep); font-weight: 600;
  letter-spacing: .06em; margin: 8px 0 14px; text-transform: uppercase;
}
.instructor-card .bio p { margin-bottom: 11px; color: var(--text-2); font-size: 14.5px; line-height: 1.72; }
.instructor-card .bio p:last-child { margin-bottom: 0; }
.instructor-card .tagline {
  margin-top: 18px; padding: 14px 16px; background: var(--paper);
  border-left: 3px solid var(--gold); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 14.5px; color: var(--ink); font-weight: 500; line-height: 1.6;
}

/* 旧 placeholder（保留兼容） */
.photo-placeholder {
  width: 120px; height: 120px; background: var(--paper-2); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
  font-size: 13px; text-align: center; color: var(--text-mute);
}

/* ====================================================================
   引用 / 口碑
   ==================================================================== */
.quote-block {
  background: var(--surface); border-radius: var(--radius); padding: 26px 26px 22px;
  border: 1px solid var(--border); position: relative;
}
.quote-block::before {
  content: "\201C"; position: absolute; top: 4px; left: 18px;
  font-family: Georgia, serif; font-size: 56px; color: var(--gold-soft); line-height: 1;
}
.quote-block .text { font-size: 16.5px; line-height: 1.6; margin: 14px 0 12px; color: var(--text); position: relative; z-index: 1; }
.quote-block .author { font-size: 13.5px; color: var(--gold-deep); font-weight: 600; }

/* ====================================================================
   FAQ
   ==================================================================== */
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-item:first-of-type { border-top: 1px solid var(--border); }
.faq-item .q {
  font-weight: 600; margin-bottom: 8px; color: var(--ink); font-size: 16.5px;
  display: flex; gap: 10px; align-items: baseline;
}
.faq-item .q::before {
  content: "Q"; font-family: var(--font-sans); color: var(--gold-deep); font-weight: 700; flex: none;
}
.faq-item .a { color: var(--text-2); line-height: 1.75; font-size: 15px; padding-left: 22px; }
.faq-chip {
  display: inline-block; padding: 7px 15px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 30px; font-size: 14px; text-decoration: none; color: var(--text);
  transition: all .15s;
}
.faq-chip:hover { border-color: var(--ink); color: var(--ink); }

/* ====================================================================
   表格
   ==================================================================== */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 22px 0; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; background: var(--surface); }
th, td { border: 1px solid var(--border); padding: 12px 14px; text-align: left; vertical-align: top; }
th { background: var(--paper-2); font-weight: 600; color: var(--ink); }
tbody tr:nth-child(even) td { background: var(--surface-warm); }

/* ====================================================================
   文档卡
   ==================================================================== */
.doc-card {
  background: var(--surface); border-radius: var(--radius-lg); padding: 34px;
  margin-bottom: 22px; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.doc-card h3 { margin-top: 0; margin-bottom: 12px; }
.doc-card p { margin-bottom: 12px; color: var(--text-2); }
.doc-card ul, .doc-card ol { margin: 14px 0 14px 22px; color: var(--text-2); line-height: 1.9; }

/* ====================================================================
   活动照片画廊（占位）
   ==================================================================== */
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px;
}
.gallery-slot {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius);
  background: var(--surface-warm); border: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--text-mute); text-align: center; padding: 16px; overflow: hidden;
}
.gallery-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery-slot .ico { font-size: 26px; color: var(--gold); margin-bottom: 8px; }
.gallery-slot .t { font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.gallery-slot .s { font-size: 11.5px; margin-top: 3px; }
.gallery-slot.wide { grid-column: span 2; aspect-ratio: 32 / 9; }
.gallery-slot .cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 22px 14px 11px; color: #fff; font-size: 13px; font-weight: 500;
  background: linear-gradient(transparent, rgba(8,16,30,.78)); text-align: left;
}

/* ====================================================================
   博客列表 / 文章卡
   ==================================================================== */
.blog-hero {
  background: linear-gradient(160deg, #15243f 0%, #0d1a30 75%);
  color: #fff; padding: 72px 24px 64px; text-align: left; position: relative; overflow: hidden;
}
.blog-hero::after { content:""; position:absolute; left:0; right:0; bottom:0; height:4px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright), var(--gold-deep)); }
.blog-hero .inner { max-width: var(--maxw); margin: 0 auto; }
.blog-hero h1 { color: #fff; }
.blog-hero p { color: var(--on-ink-soft); max-width: 640px; margin-top: 14px; line-height: 1.7; }
.blog-container { max-width: 980px; margin: 0 auto; padding: 48px 24px; }
.category-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.category-nav a {
  padding: 8px 16px; border-radius: 30px; font-size: 14px; text-decoration: none;
  background: var(--surface); border: 1px solid var(--border); color: var(--text-2); transition: all .15s;
}
.category-nav a:hover, .category-nav a.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.article-list { display: grid; gap: 18px; }
.article-card {
  background: var(--surface); border-radius: var(--radius); padding: 28px 30px;
  border: 1px solid var(--border); transition: box-shadow .2s, transform .18s, border-color .18s;
}
.article-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--gold-soft); }
.cat-tag {
  display: inline-block; font-family: var(--font-sans); font-size: 11.5px; padding: 4px 11px;
  border-radius: 4px; margin-bottom: 12px; font-weight: 600; letter-spacing: .04em;
}
.cat-ai { background: var(--ink); color: var(--gold-bright); }
.cat-case { background: var(--gold-soft); color: var(--gold-deep); }
.cat-method { background: var(--paper-2); color: var(--ink); border: 1px solid var(--border); }
.article-card h3 { font-size: 20px; margin: 0 0 8px; line-height: 1.4; }
.article-card h3 a { color: var(--ink); }
.article-card h3 a:hover { color: var(--gold-deep); }
.article-card .summary { color: var(--text-2); font-size: 15px; line-height: 1.65; margin: 0 0 12px; }
.article-card .meta { color: var(--text-mute); font-size: 13px; font-family: var(--font-sans); }
.blog-footer { text-align: center; padding: 40px 24px; color: var(--text-mute); font-size: 13px; border-top: 1px solid var(--border); }
.blog-footer a { color: var(--gold-deep); }

/* ====================================================================
   文章正文页
   ==================================================================== */
.article-page { max-width: var(--maxw-read); margin: 0 auto; padding: 52px 24px; }
.article-page > .cat-tag { margin-bottom: 16px; }
.article-page h1 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.3; margin: 0 0 18px; color: var(--ink); }
.article-page .byline {
  color: var(--text-mute); font-size: 13.5px; margin-bottom: 30px; padding-bottom: 22px;
  border-bottom: 1px solid var(--border); font-family: var(--font-sans);
  display: flex; flex-wrap: wrap; gap: 6px 18px;
}
.article-page .bluf {
  background: var(--surface-warm); border-left: 4px solid var(--gold);
  padding: 18px 22px; margin-bottom: 30px; border-radius: 0 var(--radius) var(--radius) 0;
  font-weight: 500; color: var(--ink); line-height: 1.7;
}
.article-page .content { font-size: 16.5px; line-height: 1.9; color: var(--text); }
.article-page .content h2 { font-size: 23px; margin: 38px 0 14px; color: var(--ink); padding-top: 4px; }
.article-page .content h3 { font-size: 18.5px; margin: 26px 0 10px; color: var(--ink-soft); }
.article-page .content p { margin: 0 0 16px; }
.article-page .content ul, .article-page .content ol { margin: 0 0 18px 22px; }
.article-page .content li { margin-bottom: 9px; }
.article-page .content blockquote {
  border-left: 3px solid var(--gold); padding: 12px 20px; margin: 22px 0;
  background: var(--surface-warm); color: var(--ink); font-size: 17px; border-radius: 0 var(--radius) var(--radius) 0;
}
.article-page .faq-section { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--border); }
.article-page .faq-section h2 { font-size: 21px; margin-bottom: 16px; }
.article-page .faq-item { padding: 16px 0; }
.article-page .faq-q { font-weight: 600; color: var(--ink); }
.article-page .faq-a { color: var(--text-2); margin-top: 5px; line-height: 1.7; }
.article-nav { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); font-family: var(--font-sans); font-size: 14.5px; }
.article-nav a { color: var(--gold-deep); }
.article-nav a:hover { color: var(--ink); }

/* ====================================================================
   媒体页
   ==================================================================== */
.media-hero {
  background: linear-gradient(160deg, #15243f 0%, #0d1a30 75%);
  color: #fff; padding: 72px 24px 64px; position: relative; overflow: hidden;
}
.media-hero::after { content:""; position:absolute; left:0; right:0; bottom:0; height:4px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright), var(--gold-deep)); }
.media-hero .inner { max-width: var(--maxw); margin: 0 auto; }
.media-hero h1 { color: #fff; }
.media-hero p { color: var(--on-ink-soft); max-width: 660px; margin-top: 14px; line-height: 1.7; }
.media-container { max-width: 960px; margin: 0 auto; padding: 48px 24px; }
.platform-summary { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.platform-summary span { padding: 7px 15px; border-radius: 30px; font-size: 13px; color: #fff; font-family: var(--font-sans); font-weight: 600; white-space: nowrap; }
.media-footer { text-align: center; padding: 40px 24px; color: var(--text-mute); font-size: 13px; border-top: 1px solid var(--border); }
.media-footer a { color: var(--gold-deep); }

/* ====================================================================
   联系 / 表单
   ==================================================================== */
.form-card { max-width: 500px; margin: 0 auto; }
.form-card input, .form-card textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 15px; margin-bottom: 13px; font-family: var(--font-cjk); background: var(--surface); color: var(--text);
}
.form-card input:focus, .form-card textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-soft); }

/* ====================================================================
   页脚（同时支持 .footer）
   ==================================================================== */
.footer { background: var(--ink-deep); color: var(--on-ink-soft); padding: 56px 0 30px; font-size: 14px; line-height: 1.85; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.2fr; gap: 32px; margin-bottom: 36px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.footer-brand img { width: 34px; height: 34px; border-radius: 50%; background: var(--paper); }
.footer h5 { color: #fff; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-family: var(--font-sans); margin-bottom: 12px; font-weight: 600; }
.footer a { color: var(--on-ink-soft); display: block; padding: 2px 0; }
.footer a:hover { color: var(--gold-bright); }
.footer .col-inline a { display: inline; padding: 0; }
.footer .meta {
  border-top: 1px solid var(--border-ink); padding-top: 22px; font-size: 12.5px;
  color: var(--on-ink-mute); text-align: center; line-height: 1.9;
}
.footer .meta a { display: inline; color: var(--on-ink-mute); }
.footer .meta a:hover { color: var(--gold-bright); }

/* ====================================================================
   常驻企业微信二维码浮窗（site.js 注入）
   ==================================================================== */
/* 桌面端常驻迷你二维码卡片（最上层，无需点击即可见） */
.tw-dock {
  position: fixed; right: 20px; bottom: 20px; z-index: 980; width: 232px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 16px 44px -14px rgba(13,26,48,.42); padding: 14px;
  display: flex; gap: 12px; align-items: center;
}
.tw-dock-qr { width: 104px; height: 104px; flex: none; border-radius: 8px; border: 1px solid var(--border); background: #fff; cursor: pointer; }
.tw-dock-txt b { display: block; font-size: 13.5px; color: var(--ink); line-height: 1.45; }
.tw-dock-txt span { display: block; font-size: 11.5px; color: var(--text-mute); margin-top: 5px; line-height: 1.4; }
.tw-dock-min { position: absolute; top: 7px; right: 9px; width: 20px; height: 20px; border: none; background: transparent; color: var(--text-mute); cursor: pointer; font-size: 17px; line-height: 1; }
.tw-dock-min:hover { color: var(--ink); }
.tw-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 980; display: none;
  align-items: center; gap: 8px; background: var(--gold); color: var(--ink-deep);
  border: none; border-radius: 40px; padding: 13px 18px 13px 15px;
  font-family: var(--font-cjk); font-size: 15px; font-weight: 600; cursor: pointer;
  box-shadow: 0 10px 26px -8px rgba(13,26,48,.5); transition: transform .15s;
}
.tw-fab:hover { transform: translateY(-2px); }
.tw-fab svg { width: 20px; height: 20px; flex: none; }
.tw-fab .tw-fab-label { white-space: nowrap; }
.tw-wechat.dock-min .tw-dock { display: none; }
.tw-wechat.dock-min .tw-fab { display: inline-flex; }

.tw-pop {
  position: fixed; right: 20px; bottom: 88px; z-index: 1001; width: 300px;
  background: var(--surface); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
  overflow: hidden; transform-origin: bottom right;
  opacity: 0; transform: translateY(12px) scale(.96); pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.tw-pop.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.tw-pop-head { background: var(--ink-deep); color: #fff; padding: 16px 18px; position: relative; }
.tw-pop-head .nm { font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.tw-pop-head .nm .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; flex: none; }
.tw-pop-head .ro { font-size: 12.5px; color: var(--on-ink-soft); margin-top: 3px; }
.tw-pop-close {
  position: absolute; top: 12px; right: 12px; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,.12); color: #fff; border: none; cursor: pointer; font-size: 16px; line-height: 1;
}
.tw-pop-close:hover { background: rgba(255,255,255,.22); }
.tw-pop-body { padding: 18px; text-align: center; }
.tw-pop-qr { width: 196px; height: 196px; margin: 0 auto; border-radius: var(--radius); border: 1px solid var(--border); background:#fff; }
.tw-pop-body .scan { margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--ink); }
.tw-pop-body .save { margin-top: 3px; font-size: 12px; color: var(--text-mute); }
.tw-pop-foot { border-top: 1px solid var(--border); padding: 12px 16px; font-size: 12px; color: var(--text-mute); text-align: center; background: var(--surface-warm); }

/* 移动端：浮窗变成居中弹层 */
.tw-mask { position: fixed; inset: 0; background: rgba(13,26,48,.5); z-index: 1000; opacity: 0; pointer-events: none; transition: opacity .18s; }
.tw-mask.open { opacity: 1; pointer-events: auto; }

@media (max-width: 780px) {
  .tw-dock { display: none; }
  .tw-fab { display: inline-flex; }
  .tw-pop {
    right: 50%; bottom: auto; top: 50%; transform: translate(50%, -46%) scale(.96);
    width: min(340px, 90vw);
  }
  .tw-pop.open { transform: translate(50%, -50%) scale(1); }
  .tw-pop-qr { width: 220px; height: 220px; }
}

/* ====================================================================
   响应式
   ==================================================================== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-figure { aspect-ratio: 16 / 10; max-width: 520px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  /* 文章页 .main-nav 无汉堡按钮 —— 移动端改为常显换行，保证可导航 */
  .main-nav { display: flex; flex-wrap: wrap; gap: 2px 4px; }
  .main-nav a { padding: 8px 10px; font-size: 13.5px; }
  .nav-links.show, .main-nav.show {
    display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0;
    background: var(--ink-deep); padding: 12px 18px 18px; gap: 2px; box-shadow: var(--shadow);
  }
  .nav-links.show li { width: 100%; }
  .nav-links.show li a, .main-nav.show a { display: block; padding: 12px 14px; width: 100%; }
  .nav-cta { margin-left: 0; margin-top: 6px; text-align: center; }
  .nav-toggle { display: block; }
  .instructor-duo { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-slot.wide { grid-column: span 2; }
}
/* ====================================================================
   文章正文页覆盖（盖过各文章 <style> 内联的旧蓝配色，统一墨蓝+金）
   ==================================================================== */
body .article-page h1 { color: var(--ink); }
body .article-page .byline { font-family: var(--font-sans); color: var(--text-mute); }
body .article-page .byline span { white-space: nowrap; }
body .article-page .bluf { background: var(--surface-warm); border-left: 4px solid var(--gold); color: var(--ink); border-radius: 0 var(--radius) var(--radius) 0; }
body .article-page .content h2 { color: var(--ink); }
body .article-page .content h3 { color: var(--ink-soft); }
body .article-page .content blockquote { border-left: 3px solid var(--gold); background: var(--surface-warm); color: var(--ink); border-radius: 0 var(--radius) var(--radius) 0; }
body .article-page .content a { color: var(--gold-deep); }
body .article-nav a { color: var(--gold-deep); }
body .cat-ai { background: var(--ink); color: var(--gold-bright); }
body .cat-case { background: var(--gold-soft); color: var(--gold-deep); }
body .cat-method { background: var(--paper-2); color: var(--ink); border: 1px solid var(--border); }

/* ====================================================================
   Why Us / 优势卡
   ==================================================================== */
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; margin-top: 36px; }
.why-card { background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--gold); border-radius: var(--radius); padding: 26px 24px; }
.why-card .ic { display: block; font-family: var(--font-sans); font-size: 13px; font-weight: 700; color: var(--gold-deep); letter-spacing: .1em; margin-bottom: 12px; }
.why-card h4 { font-size: 18px; margin: 0 0 8px; }
.why-card p { color: var(--text-2); font-size: 14.5px; line-height: 1.7; margin: 0; }
.why-banner { margin-top: 30px; background: var(--ink-deep); color: #fff; border-radius: var(--radius-lg); padding: 30px 34px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.why-banner .big { font-size: clamp(20px, 2.4vw, 27px); font-weight: 700; line-height: 1.4; }
.why-banner .big b { color: var(--gold-bright); }

/* ====================================================================
   八大系统详解（传统对应 → AI时代重做）
   ==================================================================== */
.sys-list { display: grid; gap: 14px; margin-top: 34px; }
@media (min-width: 760px) { .sys-list { grid-template-columns: 1fr 1fr; } }
.sys-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 26px; display: grid; grid-template-columns: 46px 1fr; gap: 18px; align-items: start; transition: box-shadow .2s, transform .18s, border-color .18s; }
.sys-item:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--gold-soft); }
.sys-no { font-family: var(--font-sans); font-size: 30px; font-weight: 700; color: var(--gold); line-height: 1; }
.sys-item h4 { font-size: 18.5px; margin: 0 0 8px; }
.sys-old { display: inline-block; font-size: 12px; color: var(--text-mute); border: 1px solid var(--border); border-radius: 20px; padding: 2px 11px; margin-bottom: 10px; }
.sys-old b { color: var(--text-2); font-weight: 600; }
.sys-item p { color: var(--text-2); font-size: 14.5px; line-height: 1.72; margin: 0; }
.sys-proof { margin-top: 11px; font-size: 13px; color: var(--gold-deep); font-weight: 500; display: flex; gap: 7px; align-items: baseline; }
.sys-proof::before { content: "▸"; color: var(--gold); }

/* ====================================================================
   双产品（666 闭门会 / 9800 实训营）
   ==================================================================== */
.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 34px; }
@media (max-width: 780px) { .plan-grid { grid-template-columns: 1fr; } }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; position: relative; }
.plan.feature { border-color: var(--gold); box-shadow: 0 14px 40px -18px rgba(194,145,46,.45); }
.plan .ptag { position: absolute; top: 22px; right: 26px; font-family: var(--font-sans); font-size: 11px; font-weight: 600; letter-spacing: .06em; padding: 5px 12px; border-radius: 20px; background: var(--gold-soft); color: var(--gold-deep); }
.plan h3 { font-size: 22px; margin: 0 0 4px; }
.plan .psub { color: var(--text-mute); font-size: 13.5px; margin-bottom: 18px; }
.plan .price { font-family: var(--font-sans); font-size: 42px; font-weight: 700; color: var(--ink); line-height: 1; }
.plan .price small { font-size: 15px; color: var(--text-mute); font-weight: 500; margin-left: 2px; }
.plan .pmeta { color: var(--text-2); font-size: 13.5px; margin: 8px 0 20px; }
.plan ul { list-style: none; margin: 0 0 24px; padding: 0; }
.plan li { position: relative; padding: 8px 0 8px 24px; font-size: 14.5px; color: var(--text-2); border-bottom: 1px solid var(--border-2); }
.plan li:last-child { border-bottom: none; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-deep); font-weight: 700; }

/* ====================================================================
   口碑墙（masonry 列）
   ==================================================================== */
.testi-grid { columns: 3 270px; column-gap: 18px; margin-top: 34px; }
.testi-grid .quote-block { break-inside: avoid; margin-bottom: 18px; }
.testi-grid .quote-block .text { font-size: 15.5px; }

/* ====================================================================
   媒体 · 新闻页骨架
   ==================================================================== */
.news-lead {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-bottom: 36px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
}
.news-lead .ph {
  position: relative; min-height: 260px;
  background: linear-gradient(150deg, #15243f, #0d1a30);
  display: flex; align-items: center; justify-content: center; color: var(--on-ink-mute);
  font-size: 13px; text-align: center; padding: 20px;
}
.news-lead .ph::after { content: "▦ 头条配图位 · 建议 1200×800"; }
.news-lead .body { padding: 36px; display: flex; flex-direction: column; }
.news-lead h2 { font-size: clamp(21px, 2.4vw, 28px); line-height: 1.35; margin: 12px 0 12px; }
.news-lead h2 a { color: var(--ink); }
.news-lead .ex { color: var(--text-2); font-size: 15.5px; line-height: 1.7; flex: 1; }
.news-meta { display: flex; align-items: center; gap: 10px; font-family: var(--font-sans); font-size: 12.5px; flex-wrap: wrap; }
.news-plat { padding: 3px 11px; border-radius: 4px; color: #fff; font-weight: 600; }
.news-date { color: var(--text-mute); white-space: nowrap; }

.news-sech { display: flex; align-items: baseline; gap: 12px; margin: 40px 0 4px; }
.news-sech h2 { font-size: 21px; }
.news-sech .ct { font-family: var(--font-sans); font-size: 13px; color: var(--text-mute); }
.news-sub { color: var(--text-mute); font-size: 14px; margin-bottom: 20px; }

.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.news-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 24px; display: flex; flex-direction: column;
  transition: box-shadow .2s, transform .18s, border-color .18s;
}
.news-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--gold-soft); }
.news-card h3 { font-size: 16.5px; line-height: 1.45; margin: 11px 0 8px; }
.news-card h3 a { color: var(--ink); }
.news-card h3 a:hover { color: var(--gold-deep); }
.news-card .ex { color: var(--text-2); font-size: 13.5px; line-height: 1.6; flex: 1; }
.news-card .more { margin-top: 14px; font-family: var(--font-sans); font-size: 12.5px; font-weight: 600; color: var(--gold-deep); }

.news-store { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px 18px; margin-top: 18px; }
.news-store a { display: flex; align-items: center; gap: 9px; padding: 10px 0; border-bottom: 1px solid var(--border-2); color: var(--text); font-size: 14px; }
.news-store a:hover { color: var(--gold-deep); }
.news-store .news-plat { font-size: 11px; flex: none; }

/* ====================================================================
   外链信任条（今日头条 / CSDN / 百科号 等平台 logo 占位）
   ==================================================================== */
.trust-bar { background: var(--surface); border-top: 1px solid var(--border); padding: 46px 0; }
.trust-bar .lead { margin: 8px auto 0; }
.trust-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 14px; margin-top: 30px;
}
.trust-slot {
  min-height: 92px; border: 1px solid var(--border); border-radius: var(--radius);
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  padding: 14px 22px; transition: border-color .18s, box-shadow .18s;
}
.trust-slot:hover { border-color: var(--gold-soft); box-shadow: var(--shadow-sm); }
.trust-slot img { width: 100%; max-width: 200px; height: auto; object-fit: contain; }
.trust-slot .nm { font-size: 13px; font-weight: 600; color: var(--text-2); }
.trust-slot .tip { font-size: 10.5px; color: var(--text-mute); }
@media (max-width: 720px) {
  .news-lead { grid-template-columns: 1fr; } .news-lead .ph { min-height: 180px; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stat-row { gap: 22px 30px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .tw-fab .tw-fab-label { display: none; }
  .tw-fab { padding: 14px; }
}
