/* ============================================================
   圆圆脑工作室 · 官网设计系统
   设计语言：水墨 Enso（开口圆环）+ 朱红印章 —— 对应品牌 VI
   《圆的圆满与残缺》：宣纸暖白、墨色主体、朱砂点睛
   亮/暗双主题 · 无外部依赖 · 静态优先（GEO 友好）
   ============================================================ */

:root {
  --bg: #f8f4ec;        /* 宣纸暖白 */
  --bg-soft: #f0eadd;
  --surface: #fffdf7;
  --surface-2: #f4eee1;
  --ink: #262019;       /* 墨 */
  --ink-2: #5c5347;
  --ink-3: #8b7f6f;
  --line: #e3dac7;
  --primary: #b8432e;   /* 朱砂 */
  --primary-ink: #fff8f2;
  --logo-paper: #fff8f2;  /* yan-bai light */
  --coral: #b8432e;     /* 兼容旧变量名：朱砂 */
  --mint: #3f7d5d;
  --grad-a: #a63a26;    /* 朱砂 → 柿色 */
  --grad-b: #c96a35;
  --shadow-sm: 0 1px 2px rgba(38, 32, 25, 0.05), 0 4px 16px rgba(38, 32, 25, 0.07);
  --shadow-md: 0 2px 4px rgba(38, 32, 25, 0.05), 0 12px 32px rgba(38, 32, 25, 0.12);
  --shadow-lg: 0 4px 8px rgba(38, 32, 25, 0.07), 0 24px 64px rgba(38, 32, 25, 0.16);
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 12px;
  --nav-h: 68px;
  --seal: #b8432e;      /* 印章朱红 */
  --font: "PingFang SC", "HarmonyOS Sans SC", "MiSans", "Microsoft YaHei UI", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Songti SC", "STSong", "SimSun", serif;
}

:root[data-theme="dark"] {
  --bg: #171310;        /* 墨黑 */
  --bg-soft: #1e1915;
  --surface: #231d17;
  --surface-2: #2a241c;
  --ink: #f2ecdf;
  --logo-paper: #171310;
  --ink-2: #b8ad9a;
  --ink-3: #837a69;
  --line: #332b21;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3), 0 4px 16px rgba(0, 0, 0, 0.28);
  --shadow-md: 0 2px 4px rgba(0, 0, 0, 0.3), 0 12px 32px rgba(0, 0, 0, 0.42);
  --shadow-lg: 0 4px 8px rgba(0, 0, 0, 0.35), 0 24px 64px rgba(0, 0, 0, 0.55);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

/* 锚点跳转时避开固定导航 */
section[id], [id] { scroll-margin-top: calc(var(--nav-h) + 16px); }

/* ---------- 顶部导航 ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: 0.02em; }
.brand .logo { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  padding: 8px 14px; border-radius: 999px; font-size: 14.5px; color: var(--ink-2);
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover { background: var(--surface-2); color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.theme-btn {
  width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink-2); cursor: pointer; font-size: 16px;
  display: grid; place-items: center; transition: transform 0.2s, box-shadow 0.2s;
}
.theme-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: 999px;
  font-size: 15px; font-weight: 600; border: 1px solid transparent;
  cursor: pointer; transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: linear-gradient(120deg, var(--grad-a), var(--grad-b));
  color: var(--primary-ink); box-shadow: 0 8px 24px rgba(184, 67, 46, 0.32);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(184, 67, 46, 0.42); }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn .arr { transition: transform 0.2s; }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--nav-h) + 64px) 0 72px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: -1;
}
.hero-bg::before, .hero-bg::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.45;
}
.hero-bg::before {
  width: 560px; height: 560px; left: -140px; top: -120px;
  background: radial-gradient(circle, rgba(184, 67, 46, 0.16), transparent 65%);
}
.hero-bg::after {
  width: 520px; height: 520px; right: -120px; top: 80px;
  background: radial-gradient(circle, rgba(201, 106, 53, 0.16), transparent 65%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 13.5px; color: var(--ink-2); box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(255, 122, 89, 0.18); }
h1.display {
  font-size: clamp(38px, 5.4vw, 64px); line-height: 1.18; font-weight: 800; letter-spacing: -0.01em;
}
h1.display .grad {
  background: linear-gradient(120deg, var(--grad-a), var(--grad-b));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin-top: 22px; font-size: clamp(16px, 1.6vw, 19px); color: var(--ink-2); max-width: 34em; }
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 46px; flex-wrap: wrap; }
.stat b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -0.01em; }
.stat span { font-size: 13.5px; color: var(--ink-3); }

/* Hero 右侧：Enso 水墨圆环 + 朱红印章 */
.orb-wrap { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.orb {
  width: min(380px, 78%); aspect-ratio: 1; border-radius: 50%; position: relative;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 45%),
    radial-gradient(circle at 68% 74%, rgba(184, 67, 46, 0.12), rgba(184, 67, 46, 0) 55%),
    radial-gradient(circle at 50% 50%, #fbf7ee, #efe7d5 80%);
  box-shadow: 0 30px 80px rgba(38, 32, 25, 0.18), inset -14px -20px 50px rgba(38, 32, 25, 0.1);
  animation: float 7s ease-in-out infinite;
  display: grid; place-items: center;
  color: var(--ink);
}
/* Enso：开口墨环（conic-gradient 裁出缺口） */
.orb::before {
  content: ""; position: absolute; inset: 7%; border-radius: 50%;
  background: conic-gradient(from 52deg,
    var(--ink) 0deg, var(--ink) 236deg,
    transparent 254deg, transparent 308deg,
    color-mix(in srgb, var(--ink) 72%, transparent) 326deg, var(--ink) 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 15px), #000 calc(100% - 14px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 15px), #000 calc(100% - 14px));
  opacity: 0.92;
}
:root[data-theme="dark"] .orb { background: radial-gradient(circle at 34% 28%, rgba(255, 250, 240, 0.08), transparent 45%), radial-gradient(circle at 50% 50%, #26201a, #1c1712 80%); box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5), inset -14px -20px 50px rgba(0, 0, 0, 0.4); }
/* 中央双眼 LOGO：统一品牌标识，currentColor 跟随 --ink 适配深浅 */
.orb-logo {
  position: relative; z-index: 1;
  width: 128px; height: 128px;
  filter: drop-shadow(0 12px 26px rgba(38, 32, 25, 0.2));
}
.orb-ring {
  position: absolute; inset: -6%; border-radius: 50%;
  border: 1.5px dashed color-mix(in srgb, var(--seal) 40%, transparent);
  animation: spin 26s linear infinite;
}
.orb-ring.two { inset: -14%; border-style: solid; border-color: color-mix(in srgb, var(--ink) 22%, transparent); animation-duration: 40s; animation-direction: reverse; }
.orb-chip {
  position: absolute; padding: 9px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  box-shadow: var(--shadow-md); font-size: 14px; font-weight: 600; white-space: nowrap;
  display: flex; align-items: center; gap: 8px;
}
.orb-chip b { width: 8px; height: 8px; border-radius: 50%; background: var(--pc, var(--seal)); flex: none; }
.orb-chip.c1 { top: 4%; left: 6%; animation: float 6s 0.5s ease-in-out infinite; }
.orb-chip.c2 { top: 22%; right: -4%; animation: float 7s 1.2s ease-in-out infinite; }
.orb-chip.c3 { bottom: 24%; left: -6%; animation: float 6.5s 0.9s ease-in-out infinite; }
.orb-chip.c4 { bottom: 2%; right: 10%; animation: float 7.5s 0.2s ease-in-out infinite; }
.orb-chip.c5 { top: 46%; left: -12%; animation: float 8s 1.6s ease-in-out infinite; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 断层带（93% vs 4%） ---------- */
.gap-band {
  background: linear-gradient(180deg, var(--bg), var(--surface));
  padding: 34px 0 42px;
}
.gap-band p {
  max-width: 52em; margin-inline: auto; text-align: center;
  font-size: clamp(16px, 1.9vw, 20px); line-height: 1.9; color: var(--ink-2);
}
.gap-band p b { color: var(--seal); font-size: 1.25em; font-weight: 800; padding: 0 3px; }
.gap-band p b:nth-of-type(3) { color: var(--ink); }
.gap-band p.gap-sub { margin-top: 8px; font-size: clamp(13.5px, 1.4vw, 15.5px); }
.gap-band p.gap-sub strong { color: var(--ink); font-weight: 700; }
.gap-band p b:nth-of-type(3) { color: var(--ink); }

/* ---------- 跑马灯 ---------- */
.marquee {
  border-block: 1px solid var(--line); background: var(--surface);
  overflow: hidden; padding: 15px 0; position: relative;
}
.marquee-track { display: flex; gap: 44px; width: max-content; animation: marquee 34s linear infinite; }
.marquee-track span { font-size: 14px; color: var(--ink-3); display: flex; align-items: center; gap: 44px; white-space: nowrap; }
.marquee-track span::after { content: "·"; color: var(--primary); font-size: 11px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* 屏幕阅读器专用：对视觉隐藏，但对 AI/读屏器可读 */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- 区块通用 ---------- */
.section { padding: 88px 0; }
.section.alt { background: var(--bg-soft); }
.sec-head { max-width: 640px; margin-bottom: 48px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-tag {
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 12px;
}
h2.sec-title { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; line-height: 1.25; letter-spacing: -0.01em; }
.sec-desc { margin-top: 14px; color: var(--ink-2); font-size: 16.5px; }

/* ---------- 五大板块 Bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.bento .card { grid-column: span 2; display: flex; }
.bento .card > .pillar-card { flex: 1; }
.bento .pillar-meta { margin-top: auto; }
.bento .card.wide { grid-column: span 3; }
.pillar-card {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 30px 28px 26px;
  box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s, border-color 0.28s;
}
.pillar-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--pc, var(--primary)) 40%, var(--line)); }
.pillar-card::before {
  content: ""; position: absolute; inset: -40% -30% auto auto; width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--pc, var(--primary)) 22%, transparent), transparent 70%);
  opacity: 0; transition: opacity 0.3s;
}
.pillar-card:hover::before { opacity: 1; }
.pillar-ico {
  width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--pc, var(--primary)) 12%, var(--surface));
  color: var(--pc, var(--primary));
}
.pillar-card h3 { font-size: 21px; font-weight: 700; }
.pillar-card p { color: var(--ink-2); font-size: 15px; flex: 1; }
.pillar-meta { display: flex; align-items: center; justify-content: space-between; font-size: 13.5px; color: var(--ink-3); }
.pillar-meta b { color: var(--pc, var(--primary)); font-size: 15px; }
.pillar-meta .go { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--ink); }

/* ---------- 课程区 ---------- */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.tab {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink-2); font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
}
.tab:hover { border-color: var(--primary); color: var(--ink); }
.tab.active {
  background: linear-gradient(120deg, var(--grad-a), var(--grad-b)); color: #fff; border-color: transparent;
  box-shadow: 0 6px 18px rgba(184, 67, 46, 0.28);
}
.course-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.course-card {
  display: flex; flex-direction: column; gap: 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 24px 22px 20px; box-shadow: var(--shadow-sm);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s;
}
.course-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.course-card.hidden { display: none; }
.course-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700;
  background: color-mix(in srgb, var(--pc, var(--primary)) 12%, var(--surface));
  color: var(--pc, var(--primary));
}
.chip.plain { background: var(--surface-2); color: var(--ink-3); font-weight: 500; }
.course-card h3 { font-size: 17.5px; font-weight: 700; line-height: 1.4; }
.course-card .desc { font-size: 14px; color: var(--ink-2); flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.course-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.course-meta .m {
  font-size: 12.5px; color: var(--ink-3); background: var(--surface-2);
  padding: 4px 10px; border-radius: 8px;
}
.course-link { font-size: 14px; font-weight: 700; color: var(--pc, var(--primary)); display: inline-flex; align-items: center; gap: 5px; }
.course-card:hover .course-link .arr { transform: translateX(3px); }
.course-link .arr { transition: transform 0.2s; }

/* ---------- 学习路径 ---------- */
.path { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.path-step {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 26px 22px; box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.path-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.path-step .num {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 800; font-size: 15px; color: #fff; margin-bottom: 16px;
  background: linear-gradient(120deg, var(--grad-a), var(--grad-b));
  box-shadow: 0 6px 16px rgba(184, 67, 46, 0.28);
}
.path-step h3 { font-size: 17px; margin-bottom: 8px; }
.path-step p { font-size: 14px; color: var(--ink-2); }
.path-step .step-tag { position: absolute; top: 24px; right: 20px; font-size: 12px; color: var(--ink-3); }

/* ---------- 案例 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.case-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 24px 22px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 12px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.case-card .quote { font-size: 34px; line-height: 1; font-weight: 800; color: color-mix(in srgb, var(--pc, var(--primary)) 30%, transparent); }
.case-card h3 { font-size: 16px; font-weight: 700; line-height: 1.5; }
.case-card ul { display: flex; flex-direction: column; gap: 7px; flex: 1; }
.case-card li { font-size: 13.5px; color: var(--ink-2); padding-left: 16px; position: relative; }
.case-card li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 50%; background: var(--pc, var(--primary)); }
.case-foot { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--ink-3); border-top: 1px dashed var(--line); padding-top: 12px; }
.case-foot a { color: var(--pc, var(--primary)); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 780px; margin-inline: auto; }
details.faq-item {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 0 22px; box-shadow: var(--shadow-sm); transition: box-shadow 0.2s;
}
details.faq-item[open] { box-shadow: var(--shadow-md); }
details.faq-item summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 18px 0; font-weight: 700; font-size: 15.5px;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary .pm {
  flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface-2); color: var(--ink-2); font-size: 16px; font-weight: 600;
  transition: transform 0.25s, background 0.2s;
}
details.faq-item[open] summary .pm { transform: rotate(45deg); background: linear-gradient(120deg, var(--grad-a), var(--grad-b)); color: #fff; }
.faq-item .faq-body { padding: 0 0 20px; color: var(--ink-2); font-size: 14.5px; }

/* ---------- CTA ---------- */
.cta-band {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  padding: 60px 56px; text-align: center; color: #fff;
  background: linear-gradient(125deg, #8f3322 0%, #b8432e 45%, #c96a35 110%);
  box-shadow: var(--shadow-lg);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 255, 255, 0.16), transparent 40%),
    radial-gradient(circle at 84% 80%, rgba(255, 255, 255, 0.1), transparent 45%);
}
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; }
.cta-band p { margin-top: 12px; opacity: 0.88; max-width: 36em; margin-inline: auto; }
.cta-band .hero-cta { justify-content: center; margin-top: 28px; }
.cta-band .btn-ghost { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.35); color: #fff; }

/* ---------- 页脚 ---------- */
.footer { border-top: 1px solid var(--line); background: var(--surface); padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer h4 { font-size: 14px; color: var(--ink-3); font-weight: 600; margin-bottom: 14px; }
.footer-links a { display: block; padding: 5px 0; font-size: 14.5px; color: var(--ink-2); transition: color 0.2s; }
.footer-links a:hover { color: var(--primary); }
.footer-about p { font-size: 14.5px; color: var(--ink-2); margin-top: 12px; max-width: 30em; }
.footer-bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 12px 16px; flex-wrap: wrap;
  font-size: 13px; color: var(--ink-3);
}
/* 备案区：链接各自完整不可断行；徽标+文字用 inline-flex 锁死同一行（窄屏禁止在 img 与文字间断行） */
.footer-bottom a { white-space: nowrap; }
.footer-bottom .beian { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.beian-police { display: inline-flex; align-items: center; gap: 5px; }
.beian-police img { display: block; }
@media (max-width: 680px) {
  .footer-bottom { flex-direction: column; align-items: center; gap: 10px; }
  .footer-bottom .beian { justify-content: center; }
}

/* ---------- 面包屑 & 子页头 ---------- */
.crumbs { padding-top: calc(var(--nav-h) + 40px); font-size: 13.5px; color: var(--ink-3); }
.crumbs a { color: var(--ink-3); }
.crumbs a:hover { color: var(--primary); }
.crumbs .sep { margin: 0 8px; }
.page-hero { padding: 32px 0 20px; }
.page-hero .pillar-ico { width: 62px; height: 62px; border-radius: 20px; margin-bottom: 20px; }
.page-hero h1 { font-size: clamp(32px, 4.4vw, 48px); font-weight: 800; letter-spacing: -0.01em; }
.page-hero .lead { margin-top: 16px; font-size: clamp(15.5px, 1.5vw, 18px); color: var(--ink-2); max-width: 44em; }
.page-hero .value-line { margin-top: 14px; font-size: clamp(18px, 1.8vw, 22px); font-weight: 700; letter-spacing: 0.08em; }
.page-hero .facts { display: flex; gap: 34px; margin-top: 26px; flex-wrap: wrap; }

.pager { display: flex; justify-content: space-between; gap: 14px; margin-top: 56px; }
.pager a {
  flex: 1; max-width: 50%; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 20px 22px; box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.pager a:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pager .dir { font-size: 12.5px; color: var(--ink-3); }
.pager b { font-size: 16px; }
.pager .next { text-align: right; }

/* ---------- 动效 ----------
   渐进增强：仅当 html 有 .js 类（内联脚本添加）时才启用隐藏式入场动画，
   禁用 JS 的爬虫/读屏器看到的是完全可见的静态内容（GEO 友好）。 */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
html.js .reveal.in { opacity: 1; transform: none; }
html.js .reveal[data-d="1"] { transition-delay: 0.08s; }
html.js .reveal[data-d="2"] { transition-delay: 0.16s; }
html.js .reveal[data-d="3"] { transition-delay: 0.24s; }
html.js .reveal[data-d="4"] { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 响应式 ---------- */
/* 三档套餐：桌面一行三块，小屏竖排（消除 2+1 中间态） */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tier-grid > div { display: flex; }
.tier-grid .pillar-card { flex: 1; display: flex; flex-direction: column; }
.tier-grid .pillar-meta { margin-top: auto; }
@media (max-width: 900px) {
  .tier-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .orb-wrap { display: none; }
  .bento .card, .bento .card.wide { grid-column: span 3; }
  .course-grid, .case-grid { grid-template-columns: repeat(2, 1fr); }
  .path { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .container { width: calc(100% - 36px); }
  .nav-links { display: none; }
  .bento .card, .bento .card.wide { grid-column: span 6; }
  .course-grid, .case-grid { grid-template-columns: 1fr; }
  .path { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero { padding-bottom: 48px; }
  h1.display { font-size: clamp(30px, 8.6vw, 38px); }
  .hero-stats { flex-direction: column; gap: 16px; margin-top: 34px; }
  .stat b { font-size: 24px; }
  .cta-band { padding: 44px 24px; }
  .pager { flex-direction: column; }
  .pager a { max-width: 100%; }
  .pager .next { text-align: left; }
  .orb-wrap { max-width: 300px; margin-top: 4px; }
  .orb-chip { padding: 6px 11px; font-size: 12px; gap: 6px; }
  .orb-chip.c2 { right: 0; }
  .orb-chip.c3 { left: 0; }
  .orb-chip.c5 { display: none; }
  .selftest-list { column-count: 1 !important; }
}

/* 移动端菜单按钮（简单折叠） */
.menu-btn { display: none; width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; color: var(--ink); font-size: 17px; }
@media (max-width: 680px) {
  .menu-btn { display: grid; place-items: center; }
  .nav-links.open {
    display: flex; position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; padding: 12px 18px 18px; gap: 2px;
    background: var(--bg); border-bottom: 1px solid var(--line);
  }
}

/* ---------- 产品线层级徽标 ---------- */
.tier-badge {
  display: inline-flex; align-items: center; align-self: flex-start;
  padding: 5px 14px; border-radius: 999px; margin-bottom: 14px;
  font-size: 12.5px; font-weight: 700;
  background: color-mix(in srgb, var(--pc, var(--seal)) 13%, var(--surface));
  color: var(--pc, var(--seal));
  border: 1px solid color-mix(in srgb, var(--pc, var(--seal)) 30%, transparent);
}
.page-hero .tier-badge { margin-bottom: 18px; }
.pillar-note {
  margin-top: 20px; text-align: center; font-size: 13.5px; color: var(--ink-3);
}
.pillar-note { max-width: 46em; margin-inline: auto; }

/* ---------- 引流表单区 ---------- */
.lead-wrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 46px 44px; box-shadow: var(--shadow-md);
}
.lead-desc { margin-top: 14px; color: var(--ink-2); font-size: 15.5px; line-height: 1.85; }
.lead-points { margin-top: 18px; display: flex; flex-direction: column; gap: 9px; }
.lead-points li { padding-left: 24px; position: relative; font-size: 14.5px; color: var(--ink-2); }
.lead-points li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 17px; height: 17px; border-radius: 50%; background: var(--seal); color: #fff6ec;
  font-size: 11px; font-weight: 700; display: grid; place-items: center; margin-top: 3px;
}
.lead-form { display: flex; flex-direction: column; gap: 4px; }
.lead-form .field { margin-bottom: 10px; }
.lead-form .field input, .lead-form .field textarea {
  width: 100%; font-family: var(--font); font-size: 15px; color: var(--ink);
  background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: 12px 14px; outline: none; transition: border-color 0.15s, box-shadow 0.15s;
}
.lead-form .field input:focus, .lead-form .field textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(184, 67, 46, 0.12);
}
.lead-form .field textarea { resize: vertical; }
.lead-submit { width: 100%; justify-content: center; margin-top: 6px; }
.lead-submit:disabled { opacity: 0.6; cursor: wait; }
.lead-done {
  background: color-mix(in srgb, #3f7d5d 12%, var(--surface));
  border: 1px solid color-mix(in srgb, #3f7d5d 35%, transparent);
  color: var(--ink); border-radius: var(--r-sm); padding: 14px 16px; font-size: 14.5px; line-height: 1.8;
}
.lead-err { color: #c0392b; font-size: 13px; min-height: 18px; margin-top: 6px; }

/* ---------- 交付/适合 汇总卡 ---------- */
.fit-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; margin-top: 26px; }
.fit-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 22px 20px; box-shadow: var(--shadow-sm);
}
.fit-card h3 { font-size: 15px; margin-bottom: 12px; color: var(--ink); }
.fit-card ul { display: flex; flex-direction: column; gap: 8px; }
.fit-card li { font-size: 13.5px; color: var(--ink-2); padding-left: 18px; position: relative; line-height: 1.65; }
.fit-card li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--seal); }

/* ---------- 图文课特性卡 ---------- */
.deck-feature {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 36px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--pc, var(--seal));
  border-radius: var(--r-lg); padding: 38px 40px; box-shadow: var(--shadow-sm);
}
.deck-visual {
  aspect-ratio: 16/10; border-radius: var(--r-md); position: relative; overflow: hidden;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--pc, var(--seal)) 14%, var(--surface)), var(--surface-2));
  border: 1px solid var(--line);
  display: grid; place-items: center;
}
.deck-visual b { width: 74px; height: 74px; border-radius: 12px; background: var(--pc, var(--seal)); opacity: 0.9; }
.deck-visual i {
  position: absolute; bottom: 12px; left: 0; right: 0; text-align: center;
  font-style: normal; font-size: 12.5px; color: var(--ink-3);
}

/* ---------- 大号连载目录（产品页） ---------- */
.series-toc-lg { gap: 4px; }
.series-toc-lg li { border-bottom: 1px dashed var(--line); padding: 4px 0; }
.series-toc-lg li:last-child { border-bottom: none; }
.series-toc-lg li a { font-size: 15.5px; padding: 8px 10px; flex: 1; }

/* ---------- 图文课目录徽标 ---------- */
.deck-tag {
  font-style: normal; font-size: 10.5px; font-weight: 700; color: var(--seal);
  border: 1px solid color-mix(in srgb, var(--seal) 40%, transparent);
  border-radius: 999px; padding: 1px 7px; margin-left: 6px; vertical-align: 1px;
}

@media (max-width: 900px) {
  .lead-wrap { grid-template-columns: 1fr; padding: 30px 24px; }
  .fit-grid { grid-template-columns: 1fr; }
  .deck-feature { grid-template-columns: 1fr; padding: 28px 24px; }
  .deck-visual { display: none; }
}

/* ---------- 商标标注 ---------- */
.tm {
  font-size: 0.45em; font-weight: 400; vertical-align: super;
  opacity: 0.7; margin-left: 1px; letter-spacing: 0;
}
