/* ============================================
   Ledger中文站 - 极致SEO优化版 v3.0
   百度/搜狗SEO + 高性能 + 极致交互
   ============================================ */

:root {
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --bg-muted: #f1f5f9;
  --bg-dark: #0f172a;
  --txt: #1e293b;
  --txt-sub: #475569;
  --txt-muted: #94a3b8;
  --txt-light: #f1f5f9;
  --line: #e2e8f0;
  --line-dark: #334155;
  --pri: #6366f1;
  --pri-light: #818cf8;
  --pri-dark: #4f46e5;
  --pink: #ec4899;
  --cyan: #06b6d4;
  --green: #10b981;
  --orange: #f59e0b;
  --red: #ef4444;
  --grad-main: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
  --grad-soft: linear-gradient(135deg, #ede9fe 0%, #fce7f3 100%);
  --grad-hero: linear-gradient(135deg, #f0f9ff 0%, #fdf4ff 50%, #fef3c7 100%);
  --font: system-ui, -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
  --rd-sm: 8px;
  --rd-md: 12px;
  --rd-lg: 20px;
  --rd-xl: 32px;
  --rd-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12);
  --shadow-color: 0 8px 32px rgba(99,102,241,.25);
  --anim: .3s cubic-bezier(.4,0,.2,1);
  --hd-h: 72px;
  --max-w: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); background: var(--bg); color: var(--txt); line-height: 1.7; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--pri); text-decoration: none; transition: color var(--anim); }
a:hover { color: var(--pink); }
a:focus-visible { outline: 2px solid var(--pri); outline-offset: 2px; border-radius: 4px; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
button:focus-visible { outline: 2px solid var(--pri); outline-offset: 2px; }
ul, ol { list-style: none; }
::selection { background: var(--pri); color: #fff; }

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.tc { text-align: center; }
.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; }

.i { width: 20px; height: 20px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; fill: none; flex-shrink: 0; }
.i-sm { width: 16px; height: 16px; }
.i-lg { width: 24px; height: 24px; }
.i-xl { width: 32px; height: 32px; }

/* 头部 - 性能优化 */
.hd { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--hd-h); background: rgba(255,255,255,.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); will-change: transform; }
.hd-inner { display: flex; align-items: center; justify-content: space-between; height: var(--hd-h); }
.hd-logo { height: 36px; transition: opacity var(--anim); }
.hd-logo:hover { opacity: .8; }
.hd-logo img { height: 100%; width: auto; }
.hd-nav { display: none; align-items: center; gap: 6px; }
.hd-link { padding: 10px 16px; font-size: 15px; font-weight: 500; color: var(--txt-sub); border-radius: var(--rd-full); transition: all var(--anim); position: relative; }
.hd-link:hover { color: var(--txt); background: var(--bg-muted); }
.hd-link.on { color: var(--pri); background: #ede9fe; }
.hd-actions { display: flex; gap: 12px; }
.hd-btn { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--txt-sub); border-radius: var(--rd-md); transition: all var(--anim); }
.hd-btn:hover { color: var(--txt); background: var(--bg-muted); }

/* 移动菜单 */
.mob-menu { position: fixed; inset: 0; z-index: 200; visibility: hidden; opacity: 0; transition: all var(--anim); }
.mob-menu.open { visibility: visible; opacity: 1; }
.mob-menu__bg { position: absolute; inset: 0; background: rgba(15,23,42,.6); }
.mob-menu__panel { position: absolute; top: 0; right: 0; width: min(320px, 85vw); height: 100%; background: var(--bg); transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.2,1); box-shadow: var(--shadow-lg); overflow-y: auto; }
.mob-menu.open .mob-menu__panel { transform: translateX(0); }
.mob-menu__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.mob-menu__body { padding: 16px; }
.mob-menu__link { display: flex; align-items: center; gap: 14px; padding: 14px 18px; color: var(--txt-sub); font-size: 15px; font-weight: 500; border-radius: var(--rd-md); margin-bottom: 4px; transition: all var(--anim); }
.mob-menu__link:hover, .mob-menu__link.on { color: var(--pri); background: #ede9fe; }
.mob-menu__foot { padding: 20px 24px; border-top: 1px solid var(--line); }

/* 按钮 - 增强交互 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 28px; font-size: 15px; font-weight: 600; border-radius: var(--rd-full); transition: all var(--anim); position: relative; overflow: hidden; }
.btn::before { content: ''; position: absolute; inset: 0; background: rgba(255,255,255,.2); opacity: 0; transition: opacity var(--anim); }
.btn:hover::before { opacity: 1; }
.btn:active { transform: scale(.96); }
.btn-pri { background: var(--grad-main); color: #fff; box-shadow: var(--shadow-color); }
.btn-pri:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 12px 40px rgba(99,102,241,.4); }
.btn-white { background: #fff; color: var(--txt); box-shadow: var(--shadow-md); }
.btn-white:hover { color: var(--pri); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline { background: transparent; color: var(--txt); border: 2px solid var(--line); }
.btn-outline:hover { border-color: var(--pri); color: var(--pri); background: #ede9fe; }
.btn-lg { padding: 18px 36px; font-size: 16px; }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-icon { width: 48px; height: 48px; padding: 0; border-radius: var(--rd-md); }

/* 首屏 Hero - 视觉冲击 */
.hero { position: relative; min-height: 100vh; padding: 140px 0 120px; background: var(--grad-hero); overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -50%; right: -20%; width: 80%; height: 200%; background: radial-gradient(ellipse, rgba(99,102,241,.1) 0%, transparent 60%); pointer-events: none; animation: pulse-bg 8s ease-in-out infinite; }
@keyframes pulse-bg { 0%, 100% { opacity: .5; transform: scale(1); } 50% { opacity: 1; transform: scale(1.1); } }
.hero::after { content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 120px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120'%3E%3Cpath fill='%23ffffff' d='M0,64L60,69.3C120,75,240,85,360,80C480,75,600,53,720,48C840,43,960,53,1080,58.7C1200,64,1320,64,1380,64L1440,64L1440,120L1380,120C1320,120,1200,120,1080,120C960,120,840,120,720,120C600,120,480,120,360,120C240,120,120,120,60,120L0,120Z'/%3E%3C/svg%3E") no-repeat bottom center; background-size: 100% 100%; }

.hero-grid { display: grid; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-content { max-width: 560px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: #fff; border-radius: var(--rd-full); font-size: 13px; font-weight: 600; color: var(--pri); box-shadow: var(--shadow-sm); margin-bottom: 28px; animation: fade-in-up .6s ease; }
.hero-badge::before { content: ''; width: 8px; height: 8px; background: var(--green); border-radius: 50%; animation: pulse-dot 2s ease infinite; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.8); } }
@keyframes fade-in-up { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.hero-title { font-size: clamp(36px, 6vw, 56px); font-weight: 800; line-height: 1.15; color: var(--txt); margin-bottom: 24px; animation: fade-in-up .6s ease .1s both; }
.hero-title span { background: var(--grad-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-desc { font-size: 18px; color: var(--txt-sub); line-height: 1.8; margin-bottom: 36px; animation: fade-in-up .6s ease .2s both; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 16px; animation: fade-in-up .6s ease .3s both; }

.hero-visual { position: relative; display: flex; justify-content: center; animation: fade-in-up .8s ease .2s both; }
.hero-cards { position: relative; width: 100%; max-width: 420px; }
.hero-card { position: relative; background: #fff; border-radius: var(--rd-xl); padding: 24px; box-shadow: var(--shadow-lg); transition: transform .5s ease; }
.hero-card:hover { transform: translateY(-8px); }
.hero-card img { width: 100%; border-radius: var(--rd-lg); }
.hero-card__badge { position: absolute; top: -12px; right: 20px; padding: 8px 16px; background: var(--grad-main); color: #fff; font-size: 12px; font-weight: 700; border-radius: var(--rd-full); animation: bounce-in .6s ease .5s both; }
@keyframes bounce-in { 0% { opacity: 0; transform: scale(.3); } 50% { transform: scale(1.05); } 100% { opacity: 1; transform: scale(1); } }

.hero-float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 20px; background: #fff; border-radius: var(--rd-lg); box-shadow: var(--shadow-md); font-size: 14px; font-weight: 600; animation: float-y 4s ease-in-out infinite; }
.hero-float.f1 { top: 20%; left: -20px; animation-delay: 0s; }
.hero-float.f2 { bottom: 25%; right: -20px; animation-delay: 2s; }
.hero-float__icon { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--grad-soft); border-radius: var(--rd-md); color: var(--pri); }
@keyframes float-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* 信任指标 */
.trust { padding: 60px 0; background: #fff; border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.trust-item { text-align: center; }
.trust-num { font-size: clamp(32px, 5vw, 44px); font-weight: 800; background: var(--grad-main); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 8px; }
.trust-label { font-size: 14px; color: var(--txt-sub); font-weight: 500; }

/* 区块通用 */
.sec { padding: 80px 0; }
.sec-white { background: #fff; }
.sec-soft { background: var(--bg-soft); }
.sec-dark { background: var(--bg-dark); color: var(--txt-light); }
.sec-dark .sec-desc { color: var(--txt-muted); }
.sec-head { text-align: center; margin-bottom: 56px; }
.sec-tag { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: var(--grad-soft); color: var(--pri); font-size: 13px; font-weight: 700; border-radius: var(--rd-full); margin-bottom: 20px; }
.sec-dark .sec-tag { background: rgba(99,102,241,.2); }
.sec-title { font-size: clamp(26px, 4vw, 38px); font-weight: 800; margin-bottom: 16px; }
.sec-desc { font-size: 17px; color: var(--txt-sub); max-width: 600px; margin: 0 auto; }

/* 产品卡片 - 高级悬停 */
.products-grid { display: grid; grid-template-columns: repeat(1, 1fr); gap: 24px; }
.prod-card { position: relative; background: #fff; border-radius: var(--rd-xl); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); transition: all .4s cubic-bezier(.4,0,.2,1); }
.prod-card:hover { transform: translateY(-12px); box-shadow: var(--shadow-lg); border-color: transparent; }
.prod-card__img { position: relative; padding: 28px; background: var(--grad-soft); overflow: hidden; z-index: 1; }
.prod-card__img::before { content: ''; position: absolute; inset: 0; background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,.5) 50%, transparent 70%); transform: translateX(-100%); transition: transform .6s ease; }
.prod-card:hover .prod-card__img::before { transform: translateX(100%); }
.prod-card__img img { width: 100%; aspect-ratio: 1; object-fit: contain; transition: transform .5s ease; position: relative; z-index: 1; }
.prod-card:hover .prod-card__img img { transform: scale(1.08); }
.prod-card__badge { position: absolute; top: 16px; left: 16px; padding: 6px 14px; background: var(--grad-main); color: #fff; font-size: 11px; font-weight: 700; border-radius: var(--rd-full); z-index: 10; }
.prod-card__body { padding: 24px; }
.prod-card__name { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.prod-card__desc { font-size: 14px; color: var(--txt-sub); margin-bottom: 18px; line-height: 1.7; }
.prod-card__link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--pri); transition: all var(--anim); }
.prod-card__link:hover { gap: 12px; color: var(--pink); }

/* 特性网格 */
.feats-grid { display: grid; grid-template-columns: repeat(1, 1fr); gap: 20px; }
.feat-card { padding: 28px; background: #fff; border-radius: var(--rd-lg); border: 1px solid var(--line); transition: all var(--anim); }
.feat-card:hover { border-color: var(--pri); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.sec-dark .feat-card { background: rgba(255,255,255,.05); border-color: var(--line-dark); }
.sec-dark .feat-card:hover { background: rgba(255,255,255,.1); border-color: var(--pri); }
.feat-card__icon { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; background: var(--grad-soft); border-radius: var(--rd-md); color: var(--pri); margin-bottom: 18px; transition: all var(--anim); }
.feat-card:hover .feat-card__icon { background: var(--grad-main); color: #fff; transform: scale(1.1) rotate(5deg); }
.sec-dark .feat-card__icon { background: rgba(99,102,241,.2); }
.feat-card__title { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.feat-card__text { font-size: 14px; color: var(--txt-sub); line-height: 1.7; }
.sec-dark .feat-card__text { color: var(--txt-muted); }

/* 评价卡片 */
.reviews-grid { display: grid; grid-template-columns: repeat(1, 1fr); gap: 20px; }
.review-card { padding: 24px; background: #fff; border-radius: var(--rd-lg); border: 1px solid var(--line); transition: all var(--anim); }
.review-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.review-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.review-card__avatar { width: 48px; height: 48px; background: var(--grad-main); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 18px; }
.review-card__info h4 { font-size: 15px; font-weight: 600; }
.review-card__info span { font-size: 13px; color: var(--txt-muted); }
.review-card__stars { display: flex; gap: 4px; color: var(--orange); margin-bottom: 12px; }
.review-card__text { font-size: 14px; color: var(--txt-sub); line-height: 1.8; }

/* 下载区 */
.dl-grid { display: grid; grid-template-columns: repeat(1, 1fr); gap: 16px; }
.dl-card { display: flex; align-items: center; gap: 18px; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--rd-lg); transition: all var(--anim); cursor: pointer; }
.dl-card:hover { border-color: var(--pri); box-shadow: var(--shadow-md); transform: translateX(8px); }
.dl-card__icon { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; background: var(--grad-soft); border-radius: var(--rd-md); color: var(--pri); flex-shrink: 0; transition: all var(--anim); }
.dl-card:hover .dl-card__icon { background: var(--grad-main); color: #fff; }
.dl-card__info h4 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.dl-card__info p { font-size: 13px; color: var(--txt-muted); }

/* FAQ */
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--rd-lg); margin-bottom: 12px; overflow: hidden; transition: all var(--anim); }
.faq-item[open] { border-color: var(--pri); box-shadow: var(--shadow-sm); }
.faq-item__q { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; font-size: 15px; font-weight: 600; cursor: pointer; transition: background var(--anim); }
.faq-item__q:hover { background: var(--bg-soft); }
.faq-item__q::marker, .faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q .i { transition: transform var(--anim); color: var(--txt-muted); }
.faq-item[open] .faq-item__q .i { transform: rotate(180deg); color: var(--pri); }
.faq-item__a { padding: 0 24px 20px; font-size: 14px; color: var(--txt-sub); line-height: 1.8; }

/* CTA */
.cta-box { position: relative; padding: 64px 40px; background: var(--grad-main); border-radius: var(--rd-xl); text-align: center; overflow: hidden; }
.cta-box::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23fff' fill-opacity='.06'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); animation: pattern-move 25s linear infinite; }
@keyframes pattern-move { 0% { transform: translate(0, 0); } 100% { transform: translate(30px, 30px); } }
.cta-box__title { font-size: clamp(24px, 4vw, 32px); font-weight: 800; color: #fff; margin-bottom: 16px; position: relative; }
.cta-box__text { font-size: 16px; color: rgba(255,255,255,.9); margin-bottom: 28px; position: relative; }
.cta-box__btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; position: relative; }

/* 页面头部 */
.page-head { padding: 120px 0 50px; background: var(--grad-hero); }
.page-head__crumb { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--txt-muted); margin-bottom: 18px; }
.page-head__crumb a { color: var(--txt-sub); }
.page-head__crumb a:hover { color: var(--pri); }
.page-head__title { font-size: clamp(28px, 5vw, 44px); font-weight: 800; margin-bottom: 14px; }
.page-head__desc { font-size: 17px; color: var(--txt-sub); }

/* 内容布局 */
.content-wrap { display: grid; gap: 48px; }
.content-main { min-width: 0; }
.content-side { display: none; }
.toc { position: sticky; top: 92px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--rd-lg); }
.toc__title { font-size: 12px; font-weight: 700; color: var(--txt-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.toc__list { display: flex; flex-direction: column; gap: 4px; }
.toc__link { font-size: 14px; color: var(--txt-sub); padding: 10px 14px; border-left: 3px solid transparent; border-radius: 0 var(--rd-sm) var(--rd-sm) 0; transition: all var(--anim); }
.toc__link:hover, .toc__link.on { color: var(--pri); border-color: var(--pri); background: #ede9fe; }

/* 文章 */
.article h2 { font-size: 22px; margin: 40px 0 20px; padding-top: 28px; border-top: 1px solid var(--line); }
.article h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.article h3 { font-size: 18px; margin: 32px 0 16px; }
.article p { color: var(--txt-sub); margin-bottom: 16px; }
.article a { color: var(--pri); border-bottom: 1px dashed var(--pri); }

/* 提示框 */
.tip { display: flex; gap: 16px; padding: 20px; border-radius: var(--rd-lg); margin: 24px 0; }
.tip__icon { flex-shrink: 0; margin-top: 2px; }
.tip-info { background: #ede9fe; border: 1px solid #c4b5fd; color: var(--pri); }
.tip-warn { background: #fef3c7; border: 1px solid #fcd34d; color: #b45309; }
.tip-error { background: #fee2e2; border: 1px solid #fca5a5; color: #dc2626; }
.tip h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.tip p { font-size: 13px; opacity: .9; margin: 0; }

/* 检查列表 */
.checklist { display: flex; flex-direction: column; gap: 12px; }
.checklist__item { display: flex; gap: 12px; }
.checklist__icon { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; background: #d1fae5; color: var(--green); border-radius: 50%; flex-shrink: 0; margin-top: 2px; }
.checklist__text { font-size: 15px; color: var(--txt-sub); }

/* 表格 */
.table-wrap { overflow-x: auto; border-radius: var(--rd-lg); border: 1px solid var(--line); background: #fff; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.table th { background: var(--bg-soft); font-weight: 600; white-space: nowrap; }
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: var(--bg-soft); }

/* 页脚 */
.ft { background: var(--bg-dark); color: var(--txt-light); padding: 64px 0 28px; }
.ft-top { display: grid; gap: 40px; margin-bottom: 48px; }
.ft-brand { max-width: 300px; }
.ft-logo { height: 32px; margin-bottom: 18px; }
.ft-desc { font-size: 14px; color: var(--txt-muted); line-height: 1.8; margin-bottom: 20px; }
.ft-social { display: flex; gap: 10px; }
.ft-social a { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.08); border-radius: var(--rd-md); color: var(--txt-muted); transition: all var(--anim); }
.ft-social a:hover { background: var(--pri); color: #fff; transform: translateY(-2px); }
.ft-nav h4 { font-size: 14px; font-weight: 700; color: var(--txt-light); margin-bottom: 16px; }
.ft-links { display: flex; flex-direction: column; gap: 12px; }
.ft-links a { font-size: 14px; color: var(--txt-muted); transition: color var(--anim); }
.ft-links a:hover { color: var(--pri-light); }
.ft-bottom { display: flex; flex-direction: column; gap: 14px; padding-top: 28px; border-top: 1px solid var(--line-dark); font-size: 13px; color: var(--txt-muted); }
.ft-legal { display: flex; gap: 20px; }
.ft-legal a { color: var(--txt-muted); }
.ft-legal a:hover { color: var(--pri-light); }

/* 返回顶部 */
.to-top { position: fixed; bottom: 24px; right: 24px; width: 48px; height: 48px; background: #fff; color: var(--pri); border-radius: 50%; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(20px); transition: all var(--anim); box-shadow: var(--shadow-md); border: 1px solid var(--line); z-index: 50; }
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--grad-main); color: #fff; border-color: transparent; transform: translateY(-4px); }

/* 悬浮客服 */
.float-chat { position: fixed; bottom: 24px; left: 24px; z-index: 90; display: flex; align-items: center; gap: 10px; padding: 14px 22px; background: var(--grad-main); color: #fff; font-size: 14px; font-weight: 600; border-radius: var(--rd-full); box-shadow: var(--shadow-color); transition: all var(--anim); }
.float-chat:hover { color: #fff; transform: scale(1.05); box-shadow: 0 12px 40px rgba(99,102,241,.4); }

/* 响应式 */
@media (min-width: 640px) {
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .feats-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .dl-grid { grid-template-columns: repeat(2, 1fr); }
  .ft-top { grid-template-columns: repeat(2, 1fr); }
  .ft-bottom { flex-direction: row; justify-content: space-between; }
}

@media (min-width: 768px) {
  .hd-nav { display: flex; }
  .hd-btn.menu-btn { display: none; }
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero-float.f1 { left: -30px; }
  .hero-float.f2 { right: -30px; }
  .feats-grid { grid-template-columns: repeat(3, 1fr); }
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
  .content-wrap { grid-template-columns: 1fr 240px; }
  .content-side { display: block; }
  .ft-top { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
  .float-chat { display: none; }
  .sec { padding: 100px 0; }
}

@media (min-width: 1024px) {
  .products-grid { grid-template-columns: repeat(4, 1fr); }
  .sec { padding: 120px 0; }
}

/* 打印优化 */
@media print {
  .hd, .ft, .to-top, .float-chat, .mob-menu { display: none !important; }
  .hero { min-height: auto; padding: 40px 0; }
  body { font-size: 12pt; }
}

/* 减少动画 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* 修复产品卡片hover图片遮挡badge的问题 */
.prod-card__img { isolation: isolate; }
.prod-card__badge { z-index: 20 !important; pointer-events: none; }
.prod-card__img img { z-index: 1; }
.prod-card:hover .prod-card__img img { transform: scale(1.05); }
