/* 译镜翻译介绍页样式 - 明亮主题 */
:root {
  --bg: #f7f9fc;
  --surface: #ffffff;
  --text: #243042;
  --muted: #5f6c7b;
  --primary: #2b7cff;
  --accent: #ff7a59;
  --border: #e6eef6;
  --shadow: 0 4px 16px rgba(31, 98, 200, 0.06);
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body { /* 增大全局行距提升可读性 */
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  color: var(--text);
  background: #f7f9fc; /* 统一浅色背景，消除蓝白分界 */
}
.container { width: min(1100px, 92%); margin: 0 auto; }
/* 顶部导航 */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(120%) blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 8px 0 8px;
}
.nav-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 10px; }
.logo { width: 34px; height: 40px; }
.brand-name { font-size: 20px;font-weight: 700; letter-spacing: 0.5px; color: #1b2b3c; }
.nav-actions { display: flex; gap: 10px; }
/* 按钮 */
.btn { display:inline-flex; align-items:center; justify-content:center; padding:10px 16px; border-radius:8px; text-decoration:none; font-weight:600; transition: all .2s ease; box-shadow: var(--shadow); }
.btn:hover { transform: translateY(-1px); filter: brightness(1.03); }
.btn-primary { color:#fff; background: var(--primary); }
.btn-outline { color: #2f3e50; border:1px solid var(--border); background: #ffffff; }
.btn-accent { color:#fff; background: linear-gradient(135deg, #ffb673 0%, #ff6a66 100%); }
/* 首屏 */
.hero { padding: 60px 0 50px; text-align:center; }
.hero h1 { font-size: clamp(28px, 5vw, 42px); margin: 0 0 12px; color: #0f2238; }
.subtitle { color: var(--muted); font-size: clamp(14px, 2.6vw, 18px); }
.cta { margin-top: 22px; display:flex; align-items:center; gap:12px; justify-content:center; }
.cta-note { color: var(--muted); }
/* 功能块 */
.feature { padding: 40px 0; background: linear-gradient(180deg, rgba(43,124,255,0.02) 0%, rgba(255,255,255,0.0) 100%); }
.feature.alt { background: linear-gradient(180deg, rgba(43,124,255,0.02) 0%, rgba(255,255,255,0.0) 100%); }
.feature h2 { font-size: 28px; margin: 0 0 8px; color: #17304a; }
.feature p { color: var(--muted); margin: 8px 0 20px; }
.figure { border:1px solid var(--border); border-radius:14px; overflow:hidden; background: #ffffff; box-shadow: var(--shadow); }
.figure img { display:block; width:100%; height:auto; }
.center { display:flex; justify-content:center; }
/* 页脚 */
.site-footer { padding: 30px 0 40px; text-align:center; color: var(--muted); border-top: 1px solid var(--border); background: rgba(255,255,255,0.8); }
.site-footer small { font-size: 15px; }
/* 响应式 */
@media (max-width: 640px) {
  .nav-actions .btn { padding: 8px 12px; }
  .hero { padding: 64px 0 32px; }
}
.mini-cards { display:grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 24px 0 35px; }
.mini-card { background: #fff; border:1px solid var(--border); border-radius: 10px; padding: 18px 20px; box-shadow: var(--shadow); position: relative; z-index: 0; transition: transform .18s ease, box-shadow .18s ease; will-change: transform; transform-origin: center; }
.mini-card h3 { margin: 6px 0 8px; font-size: 18px; color: #17304a; }
.mini-card p { margin: 0; color: var(--muted); }
.card-icon { width: 32px; height: 32px; border-radius: 8px; display:flex; align-items:center; justify-content:center; background: rgba(43,124,255,0.12); color: #2b7cff; font-size: 18px; }
.mini-card:hover { transform: scale(1.03); z-index: 1; box-shadow: 0 10px 36px rgba(31, 98, 200, 0.12); }
@media (max-width: 760px) { .mini-cards { grid-template-columns: 1fr; } }
h1, h2, h3 { line-height: 1.3; }
p, li, small { line-height: 1.75; }