/* ============ 敬畏 · 和平 · 成长 ============ */
:root {
  /* 敬畏理论 — 深海蓝 · 暖金 · 奶油白 */
  --bg: #FAF7F2;
  --bg-1: #F5F0E8;
  --bg-2: #EFE8DE;
  --line: rgba(44, 62, 79, 0.08);
  --line-2: rgba(44, 62, 79, 0.16);
  --ocean: #3A6B8C;
  --ocean-dim: rgba(58, 107, 140, 0.6);
  --ocean-soft: rgba(58, 107, 140, 0.1);
  --ocean-light: #7BA4C4;
  --gold: #C9A96E;
  --gold-dim: rgba(201, 169, 110, 0.6);
  --gold-soft: rgba(201, 169, 110, 0.12);
  --gold-light: #E8D5A3;
  --sunset: #D4896B;
  --cream: #EDE4D4;
  --white: #FFFFFF;
  --text: #2C3E4F;
  --text-2: rgba(44, 62, 79, 0.7);
  --text-3: rgba(44, 62, 79, 0.45);
  --text-4: rgba(44, 62, 79, 0.25);
  --gradient: linear-gradient(135deg, #3A6B8C 0%, #C9A96E 100%);
  --gradient-2: linear-gradient(135deg, #3A6B8C 0%, #7BA4C4 50%, #C9A96E 100%);
  --glow-ocean: 0 0 60px rgba(58, 107, 140, 0.2);
  --glow-gold: 0 0 60px rgba(201, 169, 110, 0.3);
  --font-zh: 'Noto Serif SC', 'Source Han Serif SC', 'STSong', 'SimSun', serif;
  --font-sans: 'Noto Sans SC', 'PingFang SC', -apple-system, BlinkMacSystemFont, 'Microsoft YaHei', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --font-display: 'Inter', var(--font-zh);
}

/* DISCO 主题 — 保留但改为暖色调 */
[data-theme="disco"] {
  --ocean: #D4896B;
  --ocean-dim: rgba(212, 137, 107, 0.6);
  --ocean-soft: rgba(212, 137, 107, 0.12);
  --gold: #3A6B8C;
  --gradient: linear-gradient(135deg, #D4896B 0%, #C9A96E 100%);
  --glow-ocean: 0 0 60px rgba(212, 137, 107, 0.3);
  --bg: #FAF5EE;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
*::selection { background: var(--ocean); color: var(--white); }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background 0.6s, color 0.4s;
}

a { color: inherit; text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--ocean); }
img { max-width: 100%; display: block; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* =================== 加载 =================== */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s, visibility 0.6s;
}
.loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { text-align: center; }
.loader-ring {
  width: 48px; height: 48px;
  border: 2px solid var(--line-2);
  border-top-color: var(--ocean);
  border-radius: 50%;
  margin: 0 auto 20px;
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loader-text {
  font-family: var(--font-sans);
  font-size: 12px; letter-spacing: 0.2em;
  color: var(--text-3);
}

/* =================== 导航栏 =================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.7);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}
.navbar.scrolled {
  background: rgba(250, 247, 242, 0.9);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-zh);
  font-weight: 700; font-size: 18px;
  letter-spacing: 0.08em;
  color: var(--text);
}
.logo-mark {
  width: 20px; height: 20px;
  border: 1.5px solid var(--ocean);
  border-radius: 50%;
  display: inline-block;
  position: relative;
}
.logo-dot { color: var(--ocean); font-size: 14px; }

.nav-links {
  display: flex; gap: 32px; list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 13px; font-weight: 500;
  color: var(--text-2);
  letter-spacing: 0.06em;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
  font-family: var(--font-sans);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -4px;
  width: 0; height: 1px; background: var(--ocean);
  transition: width 0.3s;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-cta {
  padding: 8px 20px !important;
  border: 1px solid var(--ocean) !important;
  border-radius: 100px;
  color: var(--ocean) !important;
  font-size: 12px !important;
}
.nav-cta:hover { background: var(--ocean); color: var(--white) !important; }
.nav-cta::after { display: none; }
.nav-toggle {
  display: none;
  background: none; border: none;
  color: var(--text); font-size: 20px;
  cursor: pointer;
}
.nav-progress {
  position: absolute; left: 0; bottom: -1px;
  height: 1px; background: var(--ocean);
  width: 0; transition: width 0.1s;
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(250, 247, 242, 0.98);
    backdrop-filter: blur(20px);
    padding: 20px 32px;
    flex-direction: column;
    gap: 16px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
}

/* =================== 章节通用 =================== */
.chapter {
  padding: 120px 0;
  border-bottom: 1px solid var(--line);
}
.chapter:last-of-type { border-bottom: none; }

.ch-label {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 24px;
  font-family: var(--font-sans);
}
.ch-num {
  font-size: 12px; font-weight: 600;
  color: var(--ocean); letter-spacing: 0.15em;
  font-family: var(--font-mono);
}
.ch-txt {
  font-size: 11px; letter-spacing: 0.2em;
  color: var(--text-3); text-transform: uppercase;
}
.ch-title {
  font-family: var(--font-zh);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 32px;
  color: var(--text);
  letter-spacing: 0.02em;
}
.ch-accent { color: var(--ocean); }
.ch-sub {
  color: var(--text-2);
  font-size: 17px;
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 48px;
}
.ch-lead {
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.9;
  max-width: 720px;
  margin-bottom: 48px;
}

/* =================== HERO — 教室窗边 · 浪潮 =================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg);
  padding: 100px 0 60px;
}
.hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
}
/* 教室窗框叠加 */
.hero-window-frame {
  position: absolute; inset: 0;
  z-index: 2;
  pointer-events: none;
}
.hero-window-frame::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    /* 窗框 — 十字 */
    linear-gradient(to right, transparent calc(50% - 2px), rgba(44,62,79,0.12) calc(50% - 2px), rgba(44,62,79,0.12) calc(50% + 2px), transparent calc(50% + 2px)),
    linear-gradient(to bottom, transparent calc(50% - 2px), rgba(44,62,79,0.12) calc(50% - 2px), rgba(44,62,79,0.12) calc(50% + 2px), transparent calc(50% + 2px));
  /* 外窗框 */
  box-shadow: inset 0 0 0 1px rgba(44,62,79,0.08);
}
/* 窗帘效果 */
.hero-curtain-left, .hero-curtain-right {
  position: absolute;
  top: 0; bottom: 0;
  width: 18%;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(237,228,212,0.6) 0%, rgba(237,228,212,0.3) 100%);
  backdrop-filter: blur(2px);
}
.hero-curtain-left {
  left: 0;
  border-right: 1px solid rgba(44,62,79,0.06);
  animation: curtain-sway-l 8s ease-in-out infinite;
}
.hero-curtain-right {
  right: 0;
  border-left: 1px solid rgba(44,62,79,0.06);
  animation: curtain-sway-r 8s ease-in-out infinite;
}
@keyframes curtain-sway-l {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-8px); }
}
@keyframes curtain-sway-r {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(8px); }
}
/* 窗帘褶皱装饰 */
.hero-curtain-left::after, .hero-curtain-right::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100%;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 30px,
    rgba(44,62,79,0.02) 30px,
    rgba(44,62,79,0.02) 31px
  );
}
/* 窗框上沿 */
.hero-frame-top {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 8px;
  background: rgba(44,62,79,0.06);
  z-index: 4;
}
.hero-frame-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 12px;
  background: rgba(44,62,79,0.04);
  z-index: 4;
}

.hero-grain {
  position: absolute; inset: 0;
  z-index: 2;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 800px;
  padding: 0 64px;
}

.hero-eyebrow {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin-bottom: 32px;
  font-family: var(--font-sans);
  font-size: 11px; letter-spacing: 0.3em;
  color: var(--ocean-light);
  text-transform: uppercase;
}
.hero-eyebrow .dot {
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
}

.hero-title {
  font-family: var(--font-zh);
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.ht-line { display: block; }
.ht-line em {
  font-style: normal;
  background: linear-gradient(135deg, var(--ocean), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  color: var(--text-2);
  font-size: 17px;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 40px;
  font-family: var(--font-zh);
}
.hero-lead .kbd {
  display: inline-block;
  padding: 2px 12px;
  border: 1px solid var(--line-2);
  border-radius: 100px;
  font-size: 13px;
  color: var(--ocean);
  font-family: var(--font-sans);
  letter-spacing: 0.1em;
}

.hero-actions {
  display: flex; gap: 16px; justify-content: center;
  flex-wrap: wrap;
}

.hero-meta {
  display: flex; align-items: center; justify-content: center; gap: 24px;
  margin-top: 48px;
  font-family: var(--font-sans);
}
.hm-item { text-align: center; }
.hm-num {
  display: block;
  font-size: 24px; font-weight: 700;
  color: var(--ocean);
  font-family: var(--font-mono);
}
.hm-lbl {
  font-size: 11px; letter-spacing: 0.1em;
  color: var(--text-3);
}
.hm-sep { width: 1px; height: 32px; background: var(--line); }

.hero-scroll-cue {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--font-sans);
  font-size: 10px; letter-spacing: 0.3em;
  color: var(--text-3);
  animation: float 2s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}
.hsc-line {
  width: 1px; height: 32px;
  background: linear-gradient(to bottom, var(--text-3), transparent);
}

.hero-corner {
  position: absolute;
  z-index: 5;
  font-family: var(--font-sans);
}
.hero-corner-tl { top: 120px; left: 64px; }
.hero-corner-br { bottom: 80px; right: 64px; }
.hc-num {
  font-family: var(--font-mono);
  font-size: 11px; color: var(--ocean);
  letter-spacing: 0.15em;
}
.hc-txt {
  font-size: 10px; letter-spacing: 0.2em;
  color: var(--text-3);
  display: block; margin-top: 4px;
}

@media (max-width: 768px) {
  .hero-content { padding: 0 20px; }
  .hero-corner { display: none; }
  .hero-meta { gap: 16px; flex-wrap: wrap; }
  .hero-curtain-left, .hero-curtain-right { width: 10%; }
}

/* =================== 按钮 =================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px;
  border-radius: 100px;
  font-size: 13px; font-weight: 600;
  font-family: var(--font-sans);
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.3s;
  text-decoration: none;
}
.btn-primary {
  background: var(--ocean);
  color: var(--white);
  border-color: var(--ocean);
}
.btn-primary:hover {
  background: transparent;
  color: var(--ocean);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px -10px var(--ocean-dim);
}
.btn-primary i { transition: transform 0.3s; }
.btn-primary:hover i { transform: translate(3px, -3px); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-2);
}
.btn-ghost:hover { border-color: var(--ocean); color: var(--ocean); }

/* =================== CHAPTER — 敬畏 =================== */
.chapter-awe {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-1) 100%);
}
.awe-quote {
  font-family: var(--font-zh);
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.6;
  color: var(--ocean);
  padding: 40px 0;
  margin-bottom: 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-style: normal;
}
.awe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}
.awe-card {
  padding: 40px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.awe-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px -20px rgba(58, 107, 140, 0.15);
}
.awe-card-icon {
  font-size: 28px;
  color: var(--gold);
  margin-bottom: 20px;
}
.awe-card h3 {
  font-family: var(--font-zh);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}
.awe-card p {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.7;
}

/* =================== CHAPTER — 海洋 =================== */
.chapter-ocean { background: var(--bg-1); }
.ocean-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.ocean-card {
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s;
}
.ocean-card:hover { transform: translateY(-3px); }
.ocean-card .oc-icon {
  width: 48px; height: 48px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  background: var(--ocean-soft);
  color: var(--ocean);
}
.ocean-card h3 {
  font-family: var(--font-zh);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.ocean-card p {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.6;
}
.ocean-card .oc-en {
  font-size: 11px; letter-spacing: 0.2em;
  color: var(--ocean-light); text-transform: uppercase;
  margin-bottom: 12px;
  font-family: var(--font-sans);
}

/* =================== CHAPTER — 博客 =================== */
.chapter-blog { background: var(--bg); }
.blog-grid-mini {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.blog-card-mini {
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  display: block;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  color: inherit;
}
.blog-card-mini:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px -20px rgba(58, 107, 140, 0.15);
}
.bcm-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px; font-weight: 600;
  background: var(--ocean-soft);
  color: var(--ocean);
  margin-bottom: 12px;
  font-family: var(--font-sans);
  letter-spacing: 0.05em;
}
.bcm-tag.alt { background: var(--gold-soft); color: #8B7A4E; }
.bcm-tag.alt2 { background: rgba(212,137,107,0.12); color: #B0755A; }
.bcm-tag.alt3 { background: rgba(123,164,196,0.12); color: #3A6B8C; }
.blog-card-mini h3 {
  font-family: var(--font-zh);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}
.blog-card-mini p {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
}
.bcm-more {
  font-size: 13px;
  color: var(--ocean);
  font-weight: 500;
}
.blog-cta { text-align: center; margin-top: 40px; }

/* =================== CTA =================== */
.chapter-cta { background: var(--bg-1); }
.cta-card {
  text-align: center;
  padding: 80px 40px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}
.cta-eyebrow {
  font-size: 11px; letter-spacing: 0.3em;
  color: var(--ocean);
  font-family: var(--font-sans);
  display: block; margin-bottom: 16px;
}
.cta-title {
  font-family: var(--font-zh);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 16px;
}
.cta-sub {
  color: var(--text-2);
  font-size: 16px;
  max-width: 500px;
  margin: 0 auto 32px;
}
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-stamp {
  position: absolute;
  bottom: -20px; right: -20px;
  font-size: 80px; font-weight: 800;
  color: var(--line);
  font-family: var(--font-zh);
  letter-spacing: 0.1em;
  opacity: 0.5;
  pointer-events: none;
  transform: rotate(-5deg);
}

/* =================== FOOTER =================== */
.site-footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--line);
  background: var(--white);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.7;
  margin-top: 12px;
}
.footer-philo {
  font-family: var(--font-sans);
  font-size: 11px; letter-spacing: 0.3em;
  color: var(--ocean-light);
  margin-top: 12px !important;
  text-transform: uppercase;
}
.footer-col h4 {
  font-size: 13px; font-weight: 600;
  font-family: var(--font-sans);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  color: var(--text);
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: var(--text-2);
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--ocean); }
.social-links {
  display: flex; gap: 16px;
  margin-bottom: 16px;
}
.social-links a {
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-2);
  transition: all 0.2s;
}
.social-links a:hover {
  border-color: var(--ocean);
  color: var(--ocean);
  background: var(--ocean-soft);
}
.footer-mail { font-size: 13px; color: var(--text-3); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: 12px; color: var(--text-3);
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .container { padding: 0 20px; }
  .chapter { padding: 80px 0; }
  .nav-inner { padding: 16px 20px; }
  .hero-content { padding: 100px 20px 60px; }
  .cta-card { padding: 48px 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* =================== 动画工具 =================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =================== 博客页面 =================== */
.page-header {
  padding: 160px 0 80px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  background: var(--bg-1);
}
.page-header h1 {
  font-family: var(--font-zh);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.page-header p {
  color: var(--text-2);
  font-size: 17px;
  max-width: 600px;
  margin: 0 auto;
  font-family: var(--font-zh);
}
.section-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11px; letter-spacing: 0.25em;
  color: var(--ocean);
  margin-bottom: 16px;
}

/* 博客卡片网格 — 内容页面 */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px -20px rgba(58, 107, 140, 0.15);
}
.blog-thumb {
  height: 140px;
  background: var(--ocean-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 40px;
  color: var(--ocean-light);
}
.blog-thumb.alt-2 { background: var(--gold-soft); color: var(--gold); }
.blog-thumb.alt-3 { background: rgba(212,137,107,0.1); color: var(--sunset); }
.blog-content { padding: 24px; }
.blog-meta {
  display: flex; gap: 12px; align-items: center;
  font-size: 12px; color: var(--text-3);
  margin-bottom: 12px;
}
.blog-meta .cat {
  background: var(--ocean-soft);
  color: var(--ocean);
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
}
.blog-content h3 {
  font-family: var(--font-zh);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
}
.blog-content p {
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}
.read-more {
  font-size: 13px;
  color: var(--ocean);
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
}
.read-more i { font-size: 12px; }

/* =================== 工具页面 =================== */
.tool-container { max-width: 900px; margin: 0 auto; padding: 0 20px; }
.tool-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 24px;
}
.tool-panel h3 {
  font-family: var(--font-zh);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex; align-items: center; gap: 8px;
}
.tool-panel h3 i { color: var(--ocean); }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 13px; font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  font-size: 14px;
  color: var(--text);
  font-family: var(--font-sans);
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--ocean);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-2);
}
.btn-secondary:hover { border-color: var(--ocean); background: var(--ocean-soft); color: var(--text); }

.score-circle {
  width: 120px; height: 120px;
  border-radius: 50%;
  border: 4px solid var(--ocean);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.score-circle span {
  font-size: 36px; font-weight: 800;
  color: var(--ocean);
  font-family: var(--font-mono);
}
.checklist { list-style: none; }
.checklist li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 8px;
  font-size: 14px;
}
.checklist li:last-child { border-bottom: none; }
.checklist .pass { color: var(--ocean); }
.checklist .fail { color: var(--sunset); }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.result-panel {
  background: var(--bg);
  border-radius: 8px;
  padding: 16px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .tool-panel { padding: 20px; }
}
