/* ============================================================
   德隆智能 · 企业官网  |  暖紫调设计系统
   零外部依赖 · 系统字体 · 响应式
   ============================================================ */

:root {
  --purple-900: #2a1b4e;
  --purple-700: #5b2d8e;
  --purple-600: #7c3aed;
  --purple-500: #8b5cf6;
  --purple-400: #a78bfa;
  --purple-300: #c4b5fd;
  --accent:    #9333ea;
  --warm:      #f5ebe0;
  --bg:        #fef9f3;
  --bg-soft:   #fdf3ea;
  --card:      #ffffff;
  --text:      #1f1a38;
  --muted:     #6b5f7a;
  --line:      #ede4d8;
  --white:     #ffffff;

  --grad-hero:  linear-gradient(135deg, #2a1b4e 0%, #5b2d8e 50%, #7c3aed 100%);
  --grad-primary: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
  --grad-warm:   linear-gradient(135deg, #fef9f3 0%, #fdf3ea 100%);

  --radius:    16px;
  --radius-sm: 10px;
  --shadow:    0 10px 30px rgba(42,27,78,.10);
  --shadow-lg: 0 20px 50px rgba(42,27,78,.14);
  --maxw:      1180px;

  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB",
          -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }
.biz-block { scroll-margin-top: 88px; border-top: 1px solid var(--line); }
.biz-block:first-of-type { border-top: none; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head .eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em;
  color: var(--purple-600); text-transform: uppercase; margin-bottom: 14px;
}
.section-head h2 { font-size: 34px; line-height: 1.25; color: var(--purple-900); }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 17px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: 999px; font-size: 15px; font-weight: 600;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--grad-primary); color: #fff; box-shadow: 0 10px 24px rgba(124,58,237,.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(124,58,237,.45); }
.btn-outline { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.45); }
.btn-outline:hover { background: rgba(255,255,255,.22); }
.btn-ghost { background: var(--bg-soft); color: var(--purple-700); border: 1px solid var(--line); }
.btn-ghost:hover { background: #f3e6d6; transform: translateY(-2px); }
.btn-lg { padding: 16px 36px; font-size: 16px; }

/* ---------- navbar ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
  padding: 20px 0;
}
.navbar.scrolled {
  background: rgba(254,249,243,.94);
  backdrop-filter: saturate(180%) blur(10px);
  box-shadow: 0 4px 20px rgba(42,27,78,.06);
  padding: 12px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: #fff; }
.navbar.scrolled .brand { color: var(--purple-900); }
.brand .logo {
  width: 36px; height: 36px; border-radius: 10px; background: var(--grad-primary);
  display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 15px;
  box-shadow: 0 6px 14px rgba(124,58,237,.35);
}
.brand .logo-text { letter-spacing: 1px; }

/* 圆形 Logo 锁版：圆形徽标在上，公司全称小字在下 */
.brand.logo-stack { flex-direction: column; align-items: center; gap: 3px; }
.brand .logo-emblem {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: #fff;
  box-shadow: 0 3px 10px rgba(42,27,78,.20);
}
.brand.logo-stack .logo-text { font-size: 11px; font-weight: 600; letter-spacing: .5px; line-height: 1; }
.footer .brand .logo-emblem { width: 44px; height: 44px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: rgba(255,255,255,.92); font-size: 15px; font-weight: 500; transition: color .2s; }
.navbar.scrolled .nav-links a { color: var(--text); }
.nav-links a:hover, .nav-links a.active { color: var(--purple-400); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; background: rgba(255,255,255,.15); }
.navbar.scrolled .nav-toggle { background: var(--bg-soft); }
.nav-toggle span { display: block; width: 20px; height: 2px; background: #fff; margin: 4px auto; transition: .3s; }
.navbar.scrolled .nav-toggle span { background: var(--purple-900); }

/* ---------- hero ---------- */
.hero {
  position: relative; padding: 160px 0 120px;
  background: var(--grad-hero); color: #fff; overflow: hidden;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(12px); opacity: .28;
}
.hero::before { width: 520px; height: 520px; background: radial-gradient(circle, #c4b5fd 0%, transparent 70%); top: -180px; right: -120px; }
.hero::after  { width: 420px; height: 420px; background: radial-gradient(circle, #a78bfa 0%, transparent 70%); bottom: -160px; left: -120px; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero .badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  font-size: 13px; font-weight: 600; margin-bottom: 22px;
}
.hero h1 { font-size: 48px; line-height: 1.18; font-weight: 800; letter-spacing: -.5px; }
.hero h1 .hl { background: linear-gradient(90deg, #ddd6fe, #e9d5ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { margin: 22px 0 34px; font-size: 18px; color: rgba(255,255,255,.85); max-width: 520px; line-height: 1.75; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual { position: relative; }
.hero-visual .panel {
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16);
  border-radius: 20px; padding: 22px; backdrop-filter: blur(6px);
}
.hero-visual .panel .row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.hero-visual .panel .row:last-child { border-bottom: none; }
.hero-visual .dot { width: 38px; height: 38px; border-radius: 10px; background: var(--grad-primary); display: grid; place-items: center; font-size: 18px; }
.hero-visual .row b { font-size: 15px; }
.hero-visual .row small { display: block; color: rgba(255,255,255,.6); font-size: 12px; }

/* ---------- stats ---------- */
.stats { background: var(--purple-900); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat .num { font-size: 42px; font-weight: 800; background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .label { color: rgba(255,255,255,.72); font-size: 15px; margin-top: 6px; }

/* ---------- cards / features ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card .icon {
  width: 54px; height: 54px; border-radius: 14px; background: var(--grad-warm);
  display: grid; place-items: center; font-size: 26px; margin-bottom: 18px;
  border: 1px solid var(--line);
}
.card h3 { font-size: 19px; color: var(--purple-900); margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }

/* ---------- solution cards (原 course) ---------- */
.solution {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: transform .22s ease, box-shadow .22s ease;
}
.solution:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.solution .thumb { height: 160px; background: var(--grad-hero); position: relative; overflow: hidden; }
.solution .thumb::after {
  content: ""; position: absolute; width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(196,181,253,.55), transparent 70%); right: -40px; top: -60px;
}
.solution .thumb .tag { position: absolute; left: 16px; top: 16px; z-index: 2; background: rgba(255,255,255,.92); color: var(--purple-700); font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.solution .thumb .emoji { position: absolute; right: 18px; bottom: 12px; z-index: 2; font-size: 46px; }
.solution .body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.solution h3 { font-size: 18px; color: var(--purple-900); }
.solution .meta { display: flex; gap: 14px; color: var(--muted); font-size: 13px; margin: 10px 0 14px; }
.solution .meta span { display: inline-flex; align-items: center; gap: 5px; }
.solution p.desc { color: var(--muted); font-size: 14px; flex: 1; }
.solution .foot { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; }
.solution .price { font-size: 20px; font-weight: 800; color: var(--purple-600); }
.solution .price small { font-size: 12px; color: var(--muted); font-weight: 500; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.step { position: relative; padding-top: 14px; }
.step .n {
  width: 48px; height: 48px; border-radius: 50%; background: var(--grad-primary); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 20px; margin-bottom: 16px;
  box-shadow: 0 10px 22px rgba(124,58,237,.32);
}
.step h3 { font-size: 17px; color: var(--purple-900); margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; }

/* ---------- testimonials ---------- */
.testi { background: var(--bg-soft); }
.quote {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column; gap: 16px;
}
.quote .stars { color: #f59e0b; letter-spacing: 2px; }
.quote p { color: var(--text); font-size: 15px; }
.quote .who { display: flex; align-items: center; gap: 12px; }
.quote .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--grad-primary); color: #fff; display: grid; place-items: center; font-weight: 700; }
.quote .who b { font-size: 15px; color: var(--purple-900); }
.quote .who small { display: block; color: var(--muted); font-size: 12px; }

/* ---------- CTA banner ---------- */
.cta {
  background: var(--grad-hero); border-radius: 24px; padding: 60px 50px;
  text-align: center; color: #fff; position: relative; overflow: hidden;
}
.cta::before { content:""; position:absolute; width:300px; height:300px; border-radius:50%; background: radial-gradient(circle, rgba(196,181,253,.45), transparent 70%); top:-100px; right:-60px; }
.cta h2 { font-size: 32px; position: relative; }
.cta p { position: relative; margin: 14px 0 28px; color: rgba(255,255,255,.85); font-size: 17px; }
.cta .hero-actions { position: relative; justify-content: center; }

/* ---------- about page ---------- */
.page-hero { background: var(--grad-hero); color: #fff; padding: 150px 0 80px; }
.page-hero h1 { font-size: 42px; font-weight: 800; }
.page-hero p { margin-top: 16px; color: rgba(255,255,255,.85); font-size: 18px; max-width: 640px; }
.values { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.value { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.value .icon { font-size: 30px; margin-bottom: 12px; }
.value h3 { color: var(--purple-900); font-size: 18px; margin-bottom: 8px; }
.value p { color: var(--muted); font-size: 14px; }

.timeline { position: relative; max-width: 760px; margin: 0 auto; padding-left: 28px; }
.timeline::before { content:""; position:absolute; left:7px; top:6px; bottom:6px; width:2px; background: var(--line); }
.tl-item { position: relative; padding: 0 0 34px 28px; }
.tl-item::before { content:""; position:absolute; left:-28px; top:6px; width:16px; height:16px; border-radius:50%; background: var(--grad-primary); box-shadow: 0 0 0 4px var(--bg-soft); }
.tl-item .year { font-weight: 800; color: var(--purple-600); }
.tl-item h4 { color: var(--purple-900); font-size: 17px; margin: 4px 0; }
.tl-item p { color: var(--muted); font-size: 14px; }

.team { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.member { text-align: center; background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 26px 18px; }
.member .avatar { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 14px; background: var(--grad-warm); display:grid; place-items:center; font-size: 30px; }
.member b { color: var(--purple-900); display:block; font-size: 16px; }
.member small { color: var(--muted); font-size: 13px; }

/* ---------- founder section ---------- */
.founder-grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; max-width: 880px; margin: 0 auto; }
.founder-bio {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--purple-600);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 32px;
}
.founder-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.founder-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; border: 3px solid #fff; box-shadow: 0 6px 18px rgba(124,58,237,.22); }
.founder-bio h3 { color: var(--purple-900); font-size: 17px; margin-bottom: 12px; }
.founder-bio p { color: var(--muted); font-size: 14.5px; line-height: 1.85; }
.founder-photo {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; display: flex; align-items: center; justify-content: center;
  min-height: 300px;
}
.founder-photo .placeholder-avatar {
  width: 180px; height: 220px; border-radius: 12px; background: var(--grad-warm);
  border: 2px solid var(--line); display: grid; place-items: center;
  font-size: 80px; color: var(--purple-300);
}

/* ---------- solutions page ---------- */
.cat-filter { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.chip { padding: 9px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--muted); font-size: 14px; font-weight: 600; transition: .2s; text-decoration: none; }
.chip.active, .chip:hover { background: var(--grad-primary); color: #fff; border-color: transparent; }
.chip.static { background: var(--bg-soft); color: var(--purple-700); border-color: transparent; cursor: default; pointer-events: none; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.form-card h3 { color: var(--purple-900); font-size: 22px; margin-bottom: 6px; }
.form-card p.sub { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: 15px; font-family: inherit; color: var(--text); background: #fffcf8; transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--purple-500); box-shadow: 0 0 0 3px rgba(124,58,237,.12); }
.field textarea { resize: vertical; min-height: 110px; }
.field .err { color: #e0483b; font-size: 12px; margin-top: 6px; display: none; }
.field.invalid input, .field.invalid textarea { border-color: #e0483b; }
.field.invalid .err { display: block; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 4px; }

.info-card { background: var(--grad-hero); color: #fff; border-radius: var(--radius); padding: 34px; position: relative; overflow: hidden; }
.info-card::after { content:""; position:absolute; width:220px; height:220px; border-radius:50%; background: radial-gradient(circle, rgba(196,181,253,.4), transparent 70%); bottom:-80px; right:-60px; }
.info-card h3 { font-size: 22px; margin-bottom: 18px; position: relative; }
.info-list { position: relative; display: flex; flex-direction: column; gap: 18px; }
.info-list .item { display: flex; gap: 14px; align-items: flex-start; }
.info-list .ico { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.14); display: grid; place-items: center; font-size: 20px; flex-shrink: 0; }
.info-list b { font-size: 15px; display: block; }
.info-list small { color: rgba(255,255,255,.75); font-size: 13px; }
.map { margin-top: 22px; border-radius: var(--radius-sm); overflow: hidden; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); }
.map svg { width: 100%; height: 180px; }

/* ---------- footer ---------- */
.footer { background: var(--purple-900); color: rgba(255,255,255,.78); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; }
.footer .brand { color: #fff; margin-bottom: 16px; }
.footer p.about { font-size: 14px; max-width: 280px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer ul li { margin-bottom: 11px; }
.footer ul li a { font-size: 14px; color: rgba(255,255,255,.68); transition: color .2s; }
.footer ul li a:hover { color: var(--purple-300); }
.footer .sub-form { display: flex; gap: 8px; margin-top: 12px; }
.footer .sub-form input { flex: 1; padding: 11px 14px; border-radius: 999px; border: none; font-size: 14px; }
.footer .bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; color: rgba(255,255,255,.55); }
.footer .bottom a { color: rgba(255,255,255,.55); }
.footer .bottom a:hover { color: #fff; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 太优 · 考试品类组件 ---------- */
.exam-category {
  background: #fff;
  border-radius: 16px;
  padding: 28px 32px 24px;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(124,58,237,.06), 0 6px 24px rgba(124,58,237,.06);
  border: 1px solid rgba(124,58,237,.08);
}
.cat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--bg-soft);
}
.cat-icon { font-size: 26px; }
.cat-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--purple-900);
  margin: 0;
  flex: 1;
}
.cat-count {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--purple-600), var(--purple-500));
  padding: 3px 12px;
  border-radius: 999px;
}
.exam-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.exam-tag {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: all .2s ease;
}
.exam-tag:hover {
  background: linear-gradient(135deg, var(--purple-600), var(--purple-500));
  color: #fff;
  border-color: transparent;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(124,58,237,.25);
}

/* ---------- 太优搜索栏 ---------- */
.taiu-search {
  display: flex;
  gap: 0;
  margin-bottom: 28px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(124,58,237,.1);
  border: 1px solid var(--line);
}
.taiu-search-input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  outline: none;
  font-size: 15px;
  color: var(--text);
  background: #fff;
}
.taiu-search-input::placeholder { color: var(--muted); }
.taiu-search-btn {
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--purple-600), var(--purple-500));
  color: #fff;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .2s;
}
.taiu-search-btn:hover { opacity: .9; }

/* ---------- 太优预育题库 ---------- */
.taiu-bank {
  background: linear-gradient(135deg, #e0f2fe, #f0f9ff);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 28px;
  border: 1px solid #bae6fd;
}
.taiu-bank-header {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.taiu-bank-title {
  font-size: 17px;
  font-weight: 700;
  color: #0369a1;
}
.taiu-bank-desc {
  font-size: 13px;
  color: #64748b;
}
.taiu-bank-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.bank-tag {
  display: inline-block;
  padding: 5px 14px;
  background: #fff;
  border: 1px solid #7dd3fc;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #0369a1;
}

/* ---------- 综合其他子分组 ---------- */
.exam-subgroup {
  margin-bottom: 18px;
}
.exam-subgroup:last-child { margin-bottom: 0; }
.sub-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--purple-700);
  margin-bottom: 10px;
  padding-left: 2px;
}

/* ---------- 关注太优服务号 · 微信连接卡片 ---------- */
.wechat-connect {
  display: flex;
  gap: 28px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 32px;
  margin-top: 40px;
  box-shadow: 0 6px 24px rgba(124,58,237,.07);
  flex-wrap: wrap;
}
.wechat-qr {
  flex: 0 0 auto;
  width: 132px;
  height: 132px;
  border-radius: 12px;
  border: 2px dashed var(--purple-300);
  background: #faf7ff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--purple-600);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  overflow: hidden;
  position: relative;
  white-space: pre-line;
}
.wechat-qr img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.wechat-info { flex: 1 1 260px; min-width: 240px; }
.wechat-info h3 { font-size: 19px; color: var(--purple-900); margin: 0 0 8px; }
.wechat-info p { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 0 0 14px; }
.wechat-info .slogan { color: var(--purple-700); font-weight: 600; }
.wechat-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.wechat-actions .wx-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #07c160;
}
.wechat-actions .wx-badge::before {
  content: "";
  width: 16px; height: 16px;
  border-radius: 4px;
  background: #07c160;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M9 3C4.9 3 1.6 5.9 1.6 9.4c0 2 1.1 3.8 2.9 5l-.7 2.2 2.6-1.3c.9.3 1.9.4 2.9.4h.6a5.7 5.7 0 0 1-.2-1.5c0-3.3 3.2-5.9 7.1-5.9.3 0 .6 0 .9.1C16.6 5.3 13.2 3 9 3zm-3 4.3a1.1 1.1 0 1 1 0 2.2 1.1 1.1 0 0 1 0-2.2zm6 0a1.1 1.1 0 1 1 0 2.2 1.1 1.1 0 0 1 0-2.2z'/></svg>") center/contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M9 3C4.9 3 1.6 5.9 1.6 9.4c0 2 1.1 3.8 2.9 5l-.7 2.2 2.6-1.3c.9.3 1.9.4 2.9.4h.6a5.7 5.7 0 0 1-.2-1.5c0-3.3 3.2-5.9 7.1-5.9.3 0 .6 0 .9.1C16.6 5.3 13.2 3 9 3zm-3 4.3a1.1 1.1 0 1 1 0 2.2 1.1 1.1 0 0 1 0-2.2zm6 0a1.1 1.1 0 1 1 0 2.2 1.1 1.1 0 0 1 0-2.2z'/></svg>") center/contain no-repeat;
}
.footer-wechat {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
}
.footer-wechat .wechat-qr { width: 84px; height: 84px; margin-top: 0; }

/* 微信内打开菜单 */
.wx-open-wrap { position: relative; display: inline-block; }
.wx-open-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 20px; border: none; border-radius: 999px;
  background: #07c160; color: #fff; font-size: 14px; font-weight: 700;
  cursor: pointer; transition: .18s;
}
.wx-open-btn:hover { background: #06ad56; box-shadow: 0 6px 16px rgba(7,193,96,.3); }
.wx-open-btn[aria-expanded="true"] { background: #06ad56; }
.wx-menu {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 50;
  min-width: 210px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; box-shadow: 0 16px 44px rgba(40,20,80,.2);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: .18s; text-align: left;
}
.wx-menu.show { opacity: 1; visibility: visible; transform: translateY(0); }
.wx-menu::before {
  content: ""; position: absolute; top: -7px; left: 22px; width: 12px; height: 12px;
  background: #fff; border-left: 1px solid var(--line); border-top: 1px solid var(--line);
  transform: rotate(45deg);
}
.wx-menu-item {
  display: flex; align-items: center; gap: 10px; padding: 11px 12px;
  border-radius: 10px; color: var(--text); font-size: 14px; font-weight: 600;
  cursor: pointer; transition: .15s;
}
.wx-menu-item:hover { background: var(--bg-soft); }
.wx-menu-item .mi-ico { font-size: 17px; line-height: 1; }
.wx-menu-item.copied { color: #07c160; }

/* 公众号文章列表 */
.taiu-articles { margin-top: 56px; }
.article-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.article-card {
  display: block; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 22px; text-decoration: none; color: inherit;
  transition: .18s;
}
.article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(124,58,237,.15);
  border-color: rgba(124,58,237,.32);
}
.a-tag {
  display: inline-block; font-size: 12px; font-weight: 700; color: #fff;
  background: linear-gradient(135deg, var(--purple-600), var(--purple-500));
  padding: 3px 11px; border-radius: 999px; margin-bottom: 12px;
}
.article-card h4 { font-size: 17px; margin: 0 0 8px; line-height: 1.45; }
.article-card p { font-size: 14px; color: var(--muted); margin: 0 0 14px; line-height: 1.65; }
.a-meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--purple-600); font-weight: 600; }
.taiu-articles-more { text-align: center; margin-top: 24px; font-size: 14px; color: var(--muted); }
.taiu-articles-more a { color: var(--purple-600); font-weight: 700; text-decoration: none; }

/* ---------- 资质荣誉 ---------- */
.creds-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.cred-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 24px; display: flex; flex-direction: column; gap: 6px;
  transition: .25s;
}
.cred-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(124,58,237,.12); border-color: #c4b5fd; }
.cred-highlight { background: linear-gradient(135deg,#fff7ed,#fff1f2); border-color: #fca5a5; }
.cred-icon {
  width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;
  color:#fff;font-weight:800;font-size:15px;flex-shrink:0;
}
.cred-card h4 { font-size:17px; color: var(--gray-900); margin: 4px 0 2px; }
.cred-meta { font-size:13px; color: var(--muted); line-height:1.5; }
.cred-no { font-size:12px; color: var(--purple-600); font-weight:600; font-family: monospace; }
.cred-date { font-size:12px; color: var(--muted); }

/* ---------- GEO · 主体公示 / 业务矩阵 / FAQ ---------- */
.entity-card {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--purple-600);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 30px 34px;
  box-shadow: var(--shadow);
}
.entity-card .summary { font-size: 16px; color: var(--text); line-height: 1.8; margin-bottom: 20px; }
.entity-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 32px; margin: 0; padding: 0; list-style: none; }
.entity-facts li { display: flex; gap: 8px; font-size: 14.5px; color: var(--muted); padding: 10px 0; border-bottom: 1px dashed var(--line); }
.entity-facts li:last-child, .entity-facts li:nth-last-child(2):nth-child(odd) { border-bottom: none; }
.entity-facts li b { color: var(--purple-900); font-weight: 700; min-width: 72px; flex: none; }
.entity-facts li span { color: var(--text); }
.entity-facts li span a { color: var(--purple-600); font-weight: 700; text-decoration: none; border-bottom: 1px dashed var(--purple-300); }
.entity-facts li span a:hover { color: var(--purple-700); }

/* 业务矩阵表格 */
.table-wrap { width: 100%; overflow-x: auto; }
.geo-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); min-width: 680px; }
.geo-table th, .geo-table td { padding: 16px 20px; text-align: left; font-size: 15px; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.65; }
.geo-table thead th { background: var(--grad-primary); color: #fff; font-weight: 700; font-size: 14px; white-space: nowrap; }
.geo-table tbody tr:nth-child(even) { background: var(--bg-soft); }
.geo-table tbody tr:last-child td { border-bottom: none; }
.geo-table td b { color: var(--purple-900); }

/* 目标人群 */
.audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.audience { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; text-align: center; transition: .22s; }
.audience:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.audience .ico { font-size: 34px; margin-bottom: 12px; }
.audience h4 { color: var(--purple-900); font-size: 16px; margin-bottom: 6px; }
.audience p { color: var(--muted); font-size: 13.5px; }


/* 业务矩阵简介卡（首页在线题库段） */
.biz-mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.biz-mini { background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.biz-mini h4 { color: var(--purple-900); font-size: 17px; margin-bottom: 8px; }
.biz-mini p { color: var(--muted); font-size: 14px; }

/* FAQ */
.faq-list { max-width: 900px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 14px; overflow: hidden; }
.faq-item summary { cursor: pointer; padding: 20px 24px; font-size: 16px; font-weight: 700; color: var(--purple-900); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 26px; font-weight: 400; color: var(--purple-600); flex: none; line-height: 1; }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-a { padding: 0 24px 22px; color: var(--muted); font-size: 15px; line-height: 1.85; }
.faq-item .faq-a ul { list-style: disc; padding-left: 22px; }
.faq-item .faq-a ul li { margin: 6px 0; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .grid-4, .stats-grid, .steps, .team, .audience-grid, .geo-steps, .biz-mini-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .values, .contact-grid, .founder-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 40px; }
  section { padding: 70px 0; }
}
@media (max-width: 640px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: block; }
  .navbar.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; padding: 18px 24px; gap: 16px; box-shadow: var(--shadow);
  }
  .navbar.open .nav-links a { color: var(--text); }
  .grid-4, .stats-grid, .steps, .team, .footer-grid, .audience-grid, .geo-steps, .biz-mini-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .section-head h2 { font-size: 26px; }
  .cta { padding: 44px 24px; }
  .cta h2 { font-size: 25px; }
  .taiu-search { flex-direction: column; }
  .taiu-search-btn { border-radius: 0 0 12px 12px; }
  .wechat-connect { flex-direction: column; text-align: center; }
  .wechat-info { text-align: center; }
  .wechat-actions { justify-content: center; }
  .exam-category { padding: 20px 16px; }
  .exam-grid { gap: 8px; }
  .exam-tag { padding: 8px 14px; font-size: 13px; }
  .taiu-bank-header { flex-direction: column; align-items: flex-start; gap: 4px; }
  .article-list { grid-template-columns: 1fr; }
  .wx-menu { left: 0; right: auto; min-width: 0; width: 100%; }
  .creds-grid { grid-template-columns: 1fr; }
  .entity-facts { grid-template-columns: 1fr; }
  .entity-card { padding: 22px 18px; }
  .geo-service { padding: 40px 22px; }
}

/* ============ 面包屑导航 ============ */
.breadcrumb {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  color: var(--muted);
}
.breadcrumb li { display: flex; align-items: center; gap: 10px; margin: 0; }
.breadcrumb li + li::before {
  content: "";
  width: 5px; height: 5px;
  border-right: 1.5px solid var(--purple-300);
  border-top: 1.5px solid var(--purple-300);
  transform: rotate(45deg);
  display: inline-block;
  flex: none;
}
.breadcrumb a { color: var(--purple-600); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb li[aria-current="page"] { color: var(--text); font-weight: 600; }
@media (max-width: 640px) {
  .breadcrumb { padding: 12px 0; }
  .breadcrumb ol { font-size: 13px; gap: 8px; }
  .breadcrumb li { gap: 8px; }
}

/* ============ 创始人 · 高校课程认证 ============ */
.founder-creds {
  margin-top: 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--purple-500);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  box-shadow: 0 2px 12px rgba(124,58,237,.06);
}
.fc-head { font-size: 14px; font-weight: 800; color: var(--purple-900); letter-spacing: .02em; }
.fc-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.fc-list li {
  display: grid; grid-template-columns: 116px 1fr auto; align-items: center; gap: 12px;
  font-size: 14px; color: var(--text);
  padding: 10px 14px; background: var(--bg-soft); border-radius: 10px;
}
.fc-list li b { color: var(--purple-700); font-weight: 700; }
.fc-list li span { color: var(--text); }
.fc-list li em { font-style: normal; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.founder-creds .fc-note { margin-top: 14px; font-size: 13px; color: var(--muted); line-height: 1.7; }
.fc-note { margin-top: 14px; font-size: 13px; color: var(--muted); line-height: 1.7; }
.fc-note a { color: var(--purple-600); font-weight: 700; text-decoration: none; }
.fc-note a:hover { text-decoration: underline; }

/* ============ 高校课程认证证书 ============ */
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(248px, 1fr)); gap: 22px; }
.cert-card {
  margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; display: flex; flex-direction: column; transition: .25s;
}
.cert-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(124,58,237,.14); border-color: var(--purple-300); }
.cert-card > a { display: block; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.cert-card img { display: block; width: 100%; height: auto; }
.cert-card figcaption { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 5px; }
.cert-card figcaption h4 { font-size: 17px; color: var(--text); margin: 0; }
.cert-school { font-size: 13px; color: var(--purple-600); font-weight: 700; }
.cert-date { font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.cert-subhead {
  font-size: 16px; color: var(--purple-700); font-weight: 800; margin: 0 0 18px;
  padding-left: 12px; border-left: 4px solid var(--purple-500);
}
.cert-foot {
  margin-top: 24px; font-size: 14px; color: var(--muted); line-height: 1.8;
  background: var(--bg-soft); border: 1px dashed var(--line);
  border-radius: 12px; padding: 16px 20px;
}
@media (max-width: 640px) {
  .cert-grid { grid-template-columns: 1fr; }
  .fc-list li { grid-template-columns: 1fr auto; row-gap: 2px; }
  .fc-list li span { grid-column: 1 / -1; grid-row: 2; font-size: 13px; }
  .fc-list li b { font-size: 13.5px; }
}

/* ============ 太优集团 · 三大业务品牌 ============ */
.brand-arch { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 8px; }
.brand-arch-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px 24px;
  text-align: center; transition: .25s; display: flex; flex-direction: column; align-items: center;
}
.brand-arch-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(124,58,237,.14); border-color: var(--purple-300); }
.ba-icon {
  width: 72px; height: 72px; border-radius: 18px; color: #fff; font-weight: 800; font-size: 19px;
  display: flex; align-items: center; justify-content: center; line-height: 1.15; margin-bottom: 16px;
}
.brand-arch-card h4 { font-size: 22px; color: var(--purple-900); margin: 0 0 6px; }
.ba-tag { font-size: 13px; color: var(--purple-600); font-weight: 700; margin: 0 0 12px; }
.ba-biz { font-size: 14.5px; color: var(--text); line-height: 1.7; margin: 0 0 10px; }
.ba-loc { font-size: 14px; color: var(--muted); font-weight: 700; margin: 0 0 10px; }
.ba-note { font-size: 13px; color: var(--muted); line-height: 1.7; margin: 0; }
@media (max-width: 768px) { .brand-arch { grid-template-columns: 1fr; } }
