/* ===================================================================
   精灵学院 (riolu-vip.homes) - 陶瓷拟物工业设计与钴蓝釉光 UI 系统
   Matte-Porcelain Hardware Tiles & Cobalt-Glaze UI Design System
   =================================================================== */

/* --- 1. 颜色与硬件陶瓷材质设计变量 --- */
:root {
  /* 核心钴蓝与长春花紫釉光体系 */
  --cobalt-primary: #2563eb;
  --cobalt-hover: #1d4ed8;
  --cobalt-active: #1e40af;
  --cobalt-light: rgba(37, 99, 235, 0.08);
  --cobalt-glow: rgba(37, 99, 235, 0.28);
  
  --periwinkle-violet: #6366f1;
  --periwinkle-light: rgba(99, 102, 241, 0.1);
  --emerald-status: #10b981;
  
  /* 哑光瓷白与凹槽托盘色板 (白天模式 - 默认) */
  --porcelain-pure: #ffffff;
  --porcelain-recessed: #f8fafc;
  --porcelain-groove: #f1f5f9;
  --porcelain-edge: #e2e8f0;
  --porcelain-edge-highlight: rgba(255, 255, 255, 0.95);
  --porcelain-bevel: #cbd5e1;

  --bg-page: #f8fafc;
  --bg-nav: rgba(255, 255, 255, 0.88);
  --bg-card: #ffffff;
  --bg-card-recessed: #f8fafc;

  /* 文字系统：清晰木炭黑与次级灰 */
  --text-charcoal: #111827;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-dim: #94a3b8;

  /* 倒角与物理浮雕阴影 */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-chamfer: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* 陶瓷凹凸触觉阴影 */
  --shadow-tile: 
    0 1px 3px rgba(15, 23, 42, 0.04),
    0 6px 16px -2px rgba(15, 23, 42, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  
  --shadow-tile-hover: 
    0 12px 28px -6px rgba(37, 99, 235, 0.12),
    0 6px 12px -2px rgba(15, 23, 42, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 1);

  --shadow-switch:
    0 4px 14px rgba(37, 99, 235, 0.35),
    inset 0 1px 1px rgba(255, 255, 255, 0.35),
    inset 0 -2px 0 rgba(0, 0, 0, 0.15);

  --shadow-switch-active:
    0 1px 4px rgba(37, 99, 235, 0.25),
    inset 0 2px 4px rgba(0, 0, 0, 0.25);

  --transition-tactile: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-smooth: background-color 0.35s ease, border-color 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}

/* --- 夜间模式 (Dark Mode) --- */
[data-theme="dark"] {
  --porcelain-pure: #0f172a;
  --porcelain-recessed: #090d16;
  --porcelain-groove: #161f36;
  --porcelain-edge: #1e293b;
  --porcelain-edge-highlight: rgba(255, 255, 255, 0.08);
  --porcelain-bevel: #334155;

  --bg-page: #080c14;
  --bg-nav: rgba(9, 13, 22, 0.9);
  --bg-card: #0f172a;
  --bg-card-recessed: #131c31;

  --text-charcoal: #f8fafc;
  --text-body: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --cobalt-primary: #3b82f6;
  --cobalt-hover: #60a5fa;
  --cobalt-active: #2563eb;
  --cobalt-light: rgba(59, 130, 246, 0.15);
  --cobalt-glow: rgba(59, 130, 246, 0.35);

  --shadow-tile: 
    0 1px 3px rgba(0, 0, 0, 0.5),
    0 8px 24px -4px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  
  --shadow-tile-hover: 
    0 14px 34px -4px rgba(0, 0, 0, 0.75),
    0 0 20px rgba(59, 130, 246, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);

  --shadow-switch:
    0 4px 16px rgba(59, 130, 246, 0.4),
    inset 0 1px 1px rgba(255, 255, 255, 0.25),
    inset 0 -2px 0 rgba(0, 0, 0, 0.35);
}

/* --- 2. 基础重置与平滑滚动 --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-size-adjust: 100%;
}

body {
  background-color: var(--bg-page);
  color: var(--text-body);
  transition: var(--transition-smooth);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* 锚点滚动距离顶部留白，防止被固定导航栏遮挡 */
section[id], div[id] {
  scroll-margin-top: 86px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-tactile);
}

img, svg {
  display: block;
  max-width: 100%;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

.container {
  width: 100%;
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
}

/* --- 3. 顶部导航栏 (Ceramic Porcelain Top Nav) --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-nav);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--porcelain-edge);
  transition: var(--transition-smooth);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 16px;
}

/* 品牌像素徽章 */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--text-charcoal);
  flex-shrink: 0;
}

.site-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  transition: transform 0.2s ease;
}

.brand-logo:hover .site-logo-img {
  transform: scale(1.03);
}

.brand-divider {
  width: 1px;
  height: 20px;
  background-color: var(--porcelain-edge);
  display: inline-block;
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text-charcoal);
}

[data-theme="dark"] .site-logo-img {
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.45));
}

/* 导航目录：首页加每个板块 + 推荐资讯 */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 8px 6px;
  position: relative;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: var(--cobalt-primary);
}

.nav-link.badge-news {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--cobalt-primary);
}

.nav-link.badge-news::after {
  content: "HOT";
  font-size: 0.65rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #fff;
  padding: 1px 5px;
  border-radius: var(--radius-xs);
  line-height: 1.2;
}

/* 右侧操作栏 */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

/* 昼夜切换透明磨砂按键 */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-chamfer);
  background: var(--porcelain-recessed);
  border: 1px solid var(--porcelain-edge);
  color: var(--text-muted);
  transition: var(--transition-tactile);
  box-shadow: inset 0 1px 0 var(--porcelain-edge-highlight);
}

.theme-toggle-btn:hover {
  color: var(--cobalt-primary);
  border-color: var(--cobalt-primary);
  transform: translateY(-1px);
}

.theme-toggle-btn:active {
  transform: translateY(1px);
}

.theme-toggle-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.sun-icon { display: block; }
.moon-icon { display: none; }
[data-theme="dark"] .sun-icon { display: none; }
[data-theme="dark"] .moon-icon { display: block; }

/* 倒角钴蓝控制台开关 (Chamfered Cobalt Switch) */
.switch-cobalt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  background-color: var(--cobalt-primary);
  color: #ffffff !important;
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  border-radius: var(--radius-chamfer);
  box-shadow: var(--shadow-switch);
  transition: var(--transition-tactile);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.15);
  white-space: nowrap;
}

.switch-cobalt:hover {
  background-color: var(--cobalt-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px var(--cobalt-glow);
}

/* 陶瓷阻尼按压微交互 (Quiet, damped porcelain-key depression with spring rebound) */
.switch-cobalt:active,
.btn-tactile:active {
  transform: translateY(2px) scale(0.985);
  box-shadow: var(--shadow-switch-active);
}

/* 次级触觉按键 */
.switch-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--porcelain-pure);
  color: var(--text-charcoal);
  border: 1px solid var(--porcelain-edge);
  border-radius: var(--radius-chamfer);
  font-size: 0.94rem;
  font-weight: 600;
  box-shadow: var(--shadow-tile);
  transition: var(--transition-tactile);
}

.switch-secondary:hover {
  background: var(--porcelain-recessed);
  border-color: var(--cobalt-primary);
  color: var(--cobalt-primary);
  transform: translateY(-1px);
}

.switch-secondary:active {
  transform: translateY(2px) scale(0.985);
}

/* --- 4. 主视觉区 (Hero Layout - Left Content + Right 3D Porcelain Module) --- */
.hero-ceramic-section {
  padding: 70px 0 60px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 48px;
  align-items: center;
}

/* 左侧 Hero 模块 */
.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* "十五分钟急速工单响应" 触觉胶囊 */
.pill-response {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--porcelain-groove);
  border: 1px solid var(--porcelain-edge);
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--cobalt-primary);
  margin-bottom: 22px;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--emerald-status);
  box-shadow: 0 0 8px var(--emerald-status);
  animation: pulsePing 2s infinite;
}

@keyframes pulsePing {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

/* 大标题包含当前品牌名，'加速服务' 为钴蓝色 */
.hero-headline {
  font-size: 3.1rem;
  line-height: 1.18;
  font-weight: 850;
  letter-spacing: -0.035em;
  color: var(--text-charcoal);
  margin-bottom: 20px;
}

.cobalt-text {
  color: var(--cobalt-primary);
  position: relative;
  display: inline-block;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 34px;
  max-width: 580px;
}

/* 双触觉操作块 (Dual Tactile Blue Action Blocks) */
.hero-dual-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 42px;
}

.action-block-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background-color: var(--cobalt-primary);
  color: #ffffff !important;
  font-size: 1.05rem;
  font-weight: 750;
  border-radius: var(--radius-chamfer);
  box-shadow: var(--shadow-switch);
  transition: var(--transition-tactile);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.action-block-primary:hover {
  background-color: var(--cobalt-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--cobalt-glow);
}

.action-block-emby {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  background: var(--porcelain-pure);
  color: var(--text-charcoal);
  border: 1px solid var(--porcelain-edge);
  border-radius: var(--radius-chamfer);
  font-size: 0.98rem;
  font-weight: 700;
  box-shadow: var(--shadow-tile);
  transition: var(--transition-tactile);
}

.action-block-emby:hover {
  border-color: var(--periwinkle-violet);
  background: var(--porcelain-recessed);
  transform: translateY(-2px);
  box-shadow: var(--shadow-tile-hover);
}

.emby-badge {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-xs);
  letter-spacing: 0.02em;
}

/* 信任指标微型陶瓷托盘 */
.hero-trust-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  width: 100%;
  max-width: 580px;
}

.trust-tile {
  background: var(--porcelain-recessed);
  border: 1px solid var(--porcelain-edge);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  box-shadow: inset 0 1px 0 var(--porcelain-edge-highlight);
}

.trust-num {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-charcoal);
}

.trust-lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* 右侧 Hero 雕塑感 3D 哑光瓷白与长春花紫几何节点装配体 */
.hero-right-sculpture {
  position: relative;
}

.ceramic-assembly-card {
  background: var(--porcelain-pure);
  border: 1px solid var(--porcelain-edge);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-tile-hover);
  position: relative;
  overflow: hidden;
}

/* 顶部金属/陶瓷装饰倒角 */
.assembly-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--porcelain-edge);
}

.assembly-title {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text-charcoal);
  display: flex;
  align-items: center;
  gap: 8px;
}

.assembly-status-pill {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--emerald-status);
  background: rgba(16, 185, 129, 0.1);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* 几何长春花紫与陶瓷节点槽位 */
.node-tiles-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.node-hardware-bay {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--porcelain-recessed);
  border: 1px solid var(--porcelain-edge);
  border-radius: var(--radius-chamfer);
  box-shadow: inset 0 1px 0 var(--porcelain-edge-highlight);
  transition: var(--transition-tactile);
}

.node-hardware-bay:hover {
  background: var(--porcelain-pure);
  border-color: var(--cobalt-primary);
  transform: translateX(4px);
}

.node-info-col {
  display: flex;
  align-items: center;
  gap: 12px;
}

.node-icon-box {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-xs);
  background: var(--periwinkle-light);
  color: var(--periwinkle-violet);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
}

.node-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-charcoal);
}

.node-spec {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.node-ping {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--emerald-status);
}

.node-ping span {
  font-size: 0.7rem;
  color: var(--text-dim);
}

/* 底部专线拓扑直显 */
.assembly-topology {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(99, 102, 241, 0.05));
  border: 1px dashed var(--cobalt-primary);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--text-body);
}

.topology-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}

/* --- 5. 核心优势模块 (3 Lower Ceramic Bays) --- */
.section {
  padding: 85px 0;
  position: relative;
}

.section-recessed {
  background-color: var(--porcelain-recessed);
  border-top: 1px solid var(--porcelain-edge);
  border-bottom: 1px solid var(--porcelain-edge);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px;
}

.section-kicker {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cobalt-primary);
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 850;
  letter-spacing: -0.025em;
  color: var(--text-charcoal);
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 陶瓷凹槽与倒角高光模块 (Chamfered Ceramic Bays with Cobalt Specular Highlight) */
.ceramic-bays-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.ceramic-bay-tile {
  background: var(--porcelain-pure);
  border: 1px solid var(--porcelain-edge);
  border-radius: var(--radius-chamfer);
  padding: 38px 30px;
  box-shadow: var(--shadow-tile);
  transition: var(--transition-tactile);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* 悬浮边缘钴蓝镜面高光反射效果 (Refined #2563eb cobalt specular highlight along the chamfered tile edge) */
.ceramic-bay-tile::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--cobalt-primary), var(--periwinkle-violet), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ceramic-bay-tile:hover {
  transform: translateY(-6px);
  border-color: var(--cobalt-primary);
  box-shadow: var(--shadow-tile-hover);
}

.ceramic-bay-tile:hover::before {
  opacity: 1;
}

.bay-badge-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background: var(--cobalt-light);
  border: 1px solid rgba(37, 99, 235, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--cobalt-primary);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.bay-badge-icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
}

.bay-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-charcoal);
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}

.bay-desc {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 22px;
  flex-grow: 1;
}

.bay-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.bay-pill-item {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  background: var(--porcelain-recessed);
  border: 1px solid var(--porcelain-edge);
  color: var(--text-muted);
}

/* --- 6. 流媒体与 AI 支持图卡 (Showcase Ceramic Modules) --- */
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.showcase-ceramic-box {
  background: var(--porcelain-pure);
  border: 1px solid var(--porcelain-edge);
  border-radius: var(--radius-chamfer);
  padding: 38px 34px;
  box-shadow: var(--shadow-tile);
  display: flex;
  flex-direction: column;
  transition: var(--transition-tactile);
}

.showcase-ceramic-box:hover {
  border-color: var(--cobalt-primary);
  box-shadow: var(--shadow-tile-hover);
  transform: translateY(-4px);
}

.showcase-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.showcase-icon-tile {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.tile-stream {
  background: linear-gradient(135deg, #e50914 0%, #ff5e62 100%);
}

.tile-ai {
  background: linear-gradient(135deg, #2563eb 0%, #6366f1 100%);
}

.showcase-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-charcoal);
}

.showcase-sub {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 2px;
}

.showcase-body {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

/* 品牌平铺托盘 */
.logo-tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.logo-tile-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--porcelain-recessed);
  border: 1px solid var(--porcelain-edge);
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-charcoal);
  transition: var(--transition-tactile);
}

.logo-tile-item:hover {
  background: var(--porcelain-pure);
  border-color: var(--cobalt-primary);
  transform: translateY(-2px);
}

.logo-tile-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.feature-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.feature-checklist li {
  font-size: 0.9rem;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-checklist li svg {
  width: 16px;
  height: 16px;
  color: var(--emerald-status);
  stroke-width: 2.5;
  flex-shrink: 0;
}

/* --- 7. 真实套餐价格对比表 (Realistic Pricing Modules) --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.pricing-tile {
  background: var(--porcelain-pure);
  border: 1px solid var(--porcelain-edge);
  border-radius: var(--radius-chamfer);
  padding: 40px 32px;
  box-shadow: var(--shadow-tile);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-tactile);
}

.pricing-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-tile-hover);
}

/* 热门推荐陶瓷高亮模块 */
.pricing-tile.featured {
  border: 2px solid var(--cobalt-primary);
  box-shadow: var(--shadow-tile-hover), 0 0 25px var(--cobalt-glow);
}

.featured-ribbon-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--cobalt-primary);
  color: #ffffff;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: var(--shadow-switch);
}

.plan-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.plan-title {
  font-size: 1.35rem;
  font-weight: 850;
  color: var(--text-charcoal);
}

.plan-period-badge {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--cobalt-primary);
  background: var(--cobalt-light);
  padding: 2px 8px;
  border-radius: var(--radius-xs);
}

.plan-intro {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 22px;
  line-height: 1.5;
}

.price-display-box {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--porcelain-edge);
}

.currency-symbol {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-charcoal);
}

.price-integer {
  font-size: 3.1rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text-charcoal);
}

.price-cycle-text {
  font-size: 0.9rem;
  color: var(--text-dim);
  font-weight: 600;
}

.pricing-specs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 34px;
  flex-grow: 1;
}

.pricing-specs-list li {
  font-size: 0.92rem;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-specs-list li svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  color: var(--cobalt-primary);
  stroke-width: 2.4;
}

.pricing-specs-list li.dimmed {
  color: var(--text-dim);
  opacity: 0.6;
}

.pricing-specs-list li.dimmed svg {
  color: var(--text-dim);
}

/* 按钮全宽适配 */
.pricing-tile .switch-cobalt,
.pricing-tile .switch-secondary {
  width: 100%;
}

/* --- 8. 用户真实评价 (Testimonials) --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.testimonial-tile {
  background: var(--porcelain-pure);
  border: 1px solid var(--porcelain-edge);
  border-radius: var(--radius-chamfer);
  padding: 32px 26px;
  box-shadow: var(--shadow-tile);
  display: flex;
  flex-direction: column;
  transition: var(--transition-tactile);
}

.testimonial-tile:hover {
  transform: translateY(-4px);
  border-color: var(--cobalt-primary);
  box-shadow: var(--shadow-tile-hover);
}

.stars-row {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  color: #f59e0b;
}

.stars-row svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.quote-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-body);
  margin-bottom: 22px;
  flex-grow: 1;
  font-style: italic;
}

.author-block {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--porcelain-edge);
}

.avatar-badge {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--cobalt-primary);
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.author-name {
  font-size: 0.95rem;
  font-weight: 750;
  color: var(--text-charcoal);
}

.author-title {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* --- 9. 常见问题解答 (FAQ) --- */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-bay {
  background: var(--porcelain-pure);
  border: 1px solid var(--porcelain-edge);
  border-radius: var(--radius-chamfer);
  overflow: hidden;
  box-shadow: var(--shadow-tile);
  transition: var(--transition-tactile);
}

.faq-bay:hover {
  border-color: var(--cobalt-primary);
}

.faq-question-btn {
  padding: 20px 24px;
  font-size: 1.05rem;
  font-weight: 750;
  color: var(--text-charcoal);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  list-style: none;
}

.faq-question-btn::-webkit-details-marker {
  display: none;
}

.faq-icon-arrow {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.2;
  transition: transform 0.25s ease;
  flex-shrink: 0;
  color: var(--text-dim);
}

details[open] .faq-icon-arrow {
  transform: rotate(180deg);
  color: var(--cobalt-primary);
}

.faq-answer-content {
  padding: 0 24px 22px;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-body);
}

/* --- 10. 页脚 (Footer) - 严格遵循指令：仅保留四个标题，打开新页面展示 --- */
.site-footer {
  background-color: var(--porcelain-pure);
  border-top: 1px solid var(--porcelain-edge);
  padding: 42px 0 34px;
  transition: var(--transition-smooth);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-nav-link {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition-tactile);
  padding: 6px 8px;
}

.footer-nav-link:hover {
  color: var(--cobalt-primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-bottom {
  font-size: 0.85rem;
  color: var(--text-dim);
  text-align: center;
}

/* --- 11. 资讯与文章列表页面样式 (Insights & Docs) --- */
.page-wrapper {
  padding: 50px 0 80px;
}

.insights-header {
  margin-bottom: 38px;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  margin-bottom: 40px;
}

.article-tile {
  background: var(--porcelain-pure);
  border: 1px solid var(--porcelain-edge);
  border-radius: var(--radius-chamfer);
  padding: 30px 26px;
  box-shadow: var(--shadow-tile);
  transition: var(--transition-tactile);
  display: flex;
  flex-direction: column;
}

.article-tile:hover {
  border-color: var(--cobalt-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-tile-hover);
}

.article-tag {
  font-size: 0.76rem;
  font-weight: 750;
  color: var(--cobalt-primary);
  background: var(--cobalt-light);
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  display: inline-block;
  margin-bottom: 12px;
  align-self: flex-start;
}

.article-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-charcoal);
  margin-bottom: 10px;
  line-height: 1.4;
}

.article-summary {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.article-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--porcelain-edge);
  font-size: 0.82rem;
  color: var(--text-dim);
}

/* 法律文档容器 */
.legal-article {
  background: var(--porcelain-pure);
  border: 1px solid var(--porcelain-edge);
  border-radius: var(--radius-chamfer);
  padding: 48px 44px;
  box-shadow: var(--shadow-tile);
  max-width: 880px;
  margin: 0 auto;
}

.legal-title {
  font-size: 2.2rem;
  font-weight: 850;
  margin-bottom: 12px;
  color: var(--text-charcoal);
}

.legal-meta {
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-bottom: 34px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--porcelain-edge);
}

.legal-section {
  margin-bottom: 32px;
}

.legal-section h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-charcoal);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.legal-section p {
  font-size: 0.98rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 14px;
}

.legal-section ul {
  padding-left: 24px;
  margin-bottom: 16px;
  color: var(--text-body);
}

.legal-section li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.back-home-bar {
  margin-bottom: 24px;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--cobalt-primary);
}

.back-link:hover {
  text-decoration: underline;
}

/* --- 12. 响应式适配媒体查询 (@media) --- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-headline {
    font-size: 2.6rem;
  }
  .pricing-grid {
    gap: 20px;
  }
  .ceramic-bays-grid {
    gap: 20px;
  }
}

@media (max-width: 860px) {
  .showcase-grid {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
  .ceramic-bays-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin: 0 auto;
  }
  .insights-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .navbar {
    height: 64px;
  }
  .nav-menu {
    display: none; /* 移动端精简，保障核心触控 */
  }
  .hero-ceramic-section {
    padding: 40px 0 35px;
  }
  .hero-headline {
    font-size: 2.15rem;
    line-height: 1.25;
  }
  .hero-subtitle {
    font-size: 1.02rem;
  }
  .section {
    padding: 60px 0;
  }
  .section-title {
    font-size: 1.85rem;
  }
  .hero-trust-bar {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
  }
  .legal-article {
    padding: 30px 20px;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }
  .hero-headline {
    font-size: 1.85rem;
  }
  .hero-dual-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-dual-actions a {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }
  .hero-trust-bar {
    grid-template-columns: 1fr;
  }
  .logo-tile-grid {
    grid-template-columns: 1fr;
  }
  .footer-nav {
    flex-direction: column;
    gap: 14px;
  }
}
/* --- 15. SEO 深度科普长文专属排版系统 (Article Reader Styles) --- */
.article-page-container {
  max-width: 920px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.article-hero-header {
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--porcelain-edge);
}

.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.article-breadcrumb a {
  color: var(--cobalt-primary);
  font-weight: 600;
}

.article-breadcrumb a:hover {
  text-decoration: underline;
}

.article-h1-title {
  font-size: 2.35rem;
  font-weight: 850;
  line-height: 1.3;
  letter-spacing: -0.025em;
  color: var(--text-charcoal);
  margin-bottom: 18px;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.88rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.article-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* 目录盒子 (Table of Contents Box) */
.toc-box {
  background: var(--porcelain-recessed);
  border: 1px solid var(--porcelain-edge);
  border-left: 4px solid var(--cobalt-primary);
  border-radius: var(--radius-chamfer);
  padding: 24px 28px;
  margin: 32px 0 42px;
  box-shadow: inset 0 1px 0 var(--porcelain-edge-highlight);
}

.toc-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-charcoal);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toc-item a {
  font-size: 0.94rem;
  color: var(--text-body);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-tactile);
}

.toc-item a:hover {
  color: var(--cobalt-primary);
  transform: translateX(4px);
}

/* 正文段落与排版规范 */
.article-rich-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-body);
}

.article-rich-content h2 {
  font-size: 1.65rem;
  font-weight: 850;
  color: var(--text-charcoal);
  margin: 44px 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--porcelain-edge);
  scroll-margin-top: 88px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.article-rich-content h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-charcoal);
  margin: 28px 0 14px;
  scroll-margin-top: 88px;
}

.article-rich-content p {
  margin-bottom: 20px;
}

.article-rich-content ul,
.article-rich-content ol {
  padding-left: 26px;
  margin-bottom: 24px;
}

.article-rich-content li {
  margin-bottom: 10px;
  line-height: 1.75;
}

.article-rich-content strong {
  color: var(--text-charcoal);
}

/* 正文强调引言与提示卡 */
.article-callout {
  background: var(--porcelain-pure);
  border: 1px solid var(--porcelain-edge);
  border-radius: var(--radius-chamfer);
  padding: 22px 24px;
  margin: 28px 0;
  box-shadow: var(--shadow-tile);
  border-left: 4px solid var(--periwinkle-violet);
}

.article-callout.tip {
  border-left-color: var(--cobalt-primary);
  background: linear-gradient(135deg, rgba(37,99,235,0.04), transparent);
}

.article-callout-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-charcoal);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 内链高亮样式 */
.seo-internal-link {
  color: var(--cobalt-primary);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: var(--transition-tactile);
}

.seo-internal-link:hover {
  color: var(--cobalt-hover);
  background: var(--cobalt-light);
  border-radius: var(--radius-xs);
  padding: 1px 4px;
}

/* 文章专属 FAQ 容器 */
.article-faq-section {
  margin: 50px 0 40px;
  padding-top: 30px;
  border-top: 2px dashed var(--porcelain-edge);
}

.article-faq-title {
  font-size: 1.55rem;
  font-weight: 850;
  color: var(--text-charcoal);
  margin-bottom: 20px;
}

/* 相关阅读卡片容器 (Related Reading) */
.related-reading-section {
  margin: 50px 0 30px;
  padding: 34px 30px;
  background: var(--porcelain-recessed);
  border: 1px solid var(--porcelain-edge);
  border-radius: var(--radius-chamfer);
}

.related-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-charcoal);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.related-card {
  background: var(--porcelain-pure);
  border: 1px solid var(--porcelain-edge);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  box-shadow: var(--shadow-tile);
  transition: var(--transition-tactile);
  display: flex;
  flex-direction: column;
}

.related-card:hover {
  border-color: var(--cobalt-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-tile-hover);
}

.related-card-title {
  font-size: 0.98rem;
  font-weight: 750;
  color: var(--text-charcoal);
  margin-bottom: 6px;
  line-height: 1.45;
}

.related-card-desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .article-h1-title {
    font-size: 1.85rem;
  }
  .article-page-container {
    padding: 24px 16px 60px;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
  .toc-box {
    padding: 18px 20px;
  }
}
