
/* =========================================================
   2026 v28 · 布局精修
   统一栅格 / 留白 / 卡片层次 / 列表与详情页一致性
   ========================================================= */
:root {
  --radius: 14px;
  --radius-lg: 18px;
  --line-strong: #d9dfe8;
  --shadow-card: 0 1px 2px rgba(16, 24, 40, .05), 0 14px 30px -24px rgba(16, 24, 40, .32);
  --shadow-hover: 0 2px 4px rgba(16, 24, 40, .06), 0 26px 48px -28px rgba(16, 24, 40, .42);
}
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.container { max-width: 1240px; padding: 0 30px; }

/* 顶部导航 */
.site-topbar { font-size: 11.5px; letter-spacing: .03em; }
.header-inner { height: 76px; }
.brand-mark { width: 46px; height: 46px; }
.brand-text strong { font-size: 17.5px; }
.main-nav { gap: 0; }
.main-nav > a, .nav-drop-btn { height: 42px; padding: 0 17px; }
.nav-menu { padding: 8px; border-radius: 12px; }
.nav-menu a { padding: 9px 12px; border-radius: 8px; font-size: 12.5px; }

/* Hero */
.hero-wrap { padding: 26px 0 0; }
.hero-v2 { padding: 54px 54px 52px; gap: 46px; border-radius: 22px; }
.hero h1 { font-size: 53px; line-height: 1.09; letter-spacing: -.045em; }
.hero-sub { margin-top: 18px; font-size: 14.5px; line-height: 1.85; max-width: 540px; }
.hero-search { margin-top: 26px; height: 58px; }
.hero-tags { margin-top: 16px; gap: 8px; }
.hero-tags a { padding: 5px 12px; border-radius: 999px; }
.hero-stats {
  margin-top: 32px; padding-top: 22px; gap: 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.hero-stats > div {
  padding-right: 32px; margin-right: 32px;
  border-right: 1px solid rgba(255, 255, 255, .10);
}
.hero-stats > div:last-child { padding-right: 0; margin-right: 0; border-right: 0; }
.hero-stats strong { font-size: 28px; letter-spacing: -.02em; }
.hero-stats span { margin-top: 4px; font-size: 11.5px; color: #94a3b8; }
.hero-spotlight { padding: 18px; border-radius: 16px; }
.hs-head { margin-bottom: 12px; }
.hs-feature { padding: 12px; border-radius: 12px; }
.hs-mini a { padding: 8px 9px; border-radius: 10px; }
.hs-mini a:hover { background: rgba(255, 255, 255, .06); }
.hs-specs { margin-top: 12px; gap: 8px; }
.hs-specs > span { padding: 8px 10px; }
.hs-foot { margin-top: 12px; }

/* 快讯条 */
.news-ticker { margin-top: 12px; padding: 11px 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }

/* 区块节奏 */
.section { padding: 64px 0; }
.section-cats { padding: 44px 0 8px; }
.section-glasses { padding-top: 34px; padding-bottom: 44px; }
.page-home .section > .container > .section-head {
  padding-top: 20px; border-top: 1px solid var(--line);
}
.page-home .section-head.compact { padding-top: 0; border-top: 0; }
.section-head { align-items: flex-end; gap: 24px; margin-bottom: 26px; }
.section-head h2 { font-size: 29px; line-height: 1.25; letter-spacing: -.035em; }
.section-head p { margin-top: 7px; font-size: 12.5px; color: var(--muted); }
.eyebrow { font-size: 10.5px; letter-spacing: .18em; }
.link-more { font-size: 12.5px; padding-bottom: 3px; }

/* 品类卡 */
.cat-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.cat-card {
  height: 74px; padding: 0 14px; gap: 11px;
  border-radius: 12px; border: 1px solid var(--line); background: #fff;
  box-shadow: none; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.cat-card:hover { transform: translateY(-2px); border-color: var(--line-strong); background: #fff; box-shadow: var(--shadow-card); }
.cat-icon { width: 38px; height: 38px; border-radius: 10px; background: #eef2ff; color: #1e3a8a; }
.cat-card:nth-child(3n+2) .cat-icon { background: #e9f8f4; color: #0f766e; }
.cat-card:nth-child(3n) .cat-icon { background: #f1effd; color: #4338ca; }
.cat-name { font-size: 13.5px; font-weight: 650; }
.cat-count { font-size: 10.5px; color: var(--muted-2); }
.cat-arrow { margin-left: auto; color: #c3cad6; opacity: .8; transition: transform .18s ease, color .18s ease, opacity .18s ease; }
.cat-card:hover .cat-arrow { opacity: 1; color: var(--brand); transform: translateX(2px); }

/* 眼镜专题 */
.glasses-band { padding: 44px; border-radius: 20px; gap: 44px; }
.glasses-intro h2 { font-size: 32px; line-height: 1.22; }
.glasses-intro p { margin-top: 14px; font-size: 13px; line-height: 1.85; }
.glasses-stats { margin-top: 24px; }
.glasses-products { gap: 12px; }

/* 产品卡片 */
.product-grid { gap: 18px; }
.p-card {
  border-radius: 14px; border: 1px solid var(--line); background: #fff;
  box-shadow: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.p-card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow-hover); }
.p-visual { height: 150px; padding: 12px; }
.p-visual-img { transition: transform .5s ease; }
.p-card:hover .p-visual-img { transform: scale(1.03); }
.p-visual-cat, .p-visual-status { top: 10px; height: 21px; border-radius: 6px; font-size: 9.5px; }
.p-visual-cat { left: 10px; }
.p-visual-status { right: 10px; }
.p-body { padding: 15px 17px 16px; gap: 8px; }
.p-head h3 { font-size: 15.5px; }
.p-tagline { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 38px; font-size: 12px; line-height: 1.65; }
.p-company { font-size: 11px; }
.p-foot { padding-top: 12px; border-top: 1px solid #eef1f6; }
.compare-btn { height: 26px; padding: 0 9px; }
.p-cta { font-size: 11.5px; }

/* 文章卡片 */
.a-card { border-radius: 14px; border: 1px solid var(--line); background: #fff; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.a-card:hover { transform: translateY(-3px); border-color: var(--line-strong); box-shadow: var(--shadow-hover); }
.a-cover { height: 172px; }
.a-cover-img { transition: transform .5s ease; }
.a-card:hover .a-cover-img { transform: scale(1.04); }
.a-body { padding: 16px 18px 16px; gap: 8px; display: flex; flex-direction: column; }
.a-kicker { font-size: 10.5px; }
.a-card h3 { font-size: 16px; line-height: 1.45; }
.a-card h3 a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.a-summary { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 12.5px; line-height: 1.7; }
.a-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid #eef1f6; font-size: 11px; }
.a-row { border-radius: 12px; padding: 12px 14px; }
.a-row:hover { border-color: var(--line-strong); box-shadow: var(--shadow-card); }
.a-row h3 { font-size: 14px; line-height: 1.5; }
.a-row p { font-size: 11.5px; }
.a-row-date { border-radius: 8px; }

/* 本周焦点 */
.editorial-grid { gap: 30px; }
.editorial-feature { grid-template-columns: 46% minmax(0, 1fr); border-radius: 16px; min-height: 372px; }
.editorial-feature:hover { border-color: var(--line-strong); box-shadow: var(--shadow-card); }
.ef-cover, .ef-body { min-height: 0; }
.ef-body { padding: 34px 34px 32px; gap: 12px; }
.ef-kicker { font-size: 11px; }
.ef-body > strong { font-size: 26px; line-height: 1.35; }
.ef-body > em { font-size: 13px; line-height: 1.8; }
.ef-more { margin-top: 6px; font-size: 12.5px; }
.editorial-list { gap: 8px; }

/* 企业卡片 */
.company-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.company-card { border-radius: 14px; padding: 18px; gap: 10px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.company-card:hover { transform: translateY(-2px); border-color: var(--line-strong); box-shadow: var(--shadow-card); }
.company-card::before { top: 18px; bottom: 18px; width: 3px; opacity: .55; }
.company-card-top .company-logo-img { width: 48px; height: 48px; border-radius: 12px; }
.company-card-title h3 { font-size: 15px; }
.company-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 38px; font-size: 12px; line-height: 1.65; }
.company-foot { padding-top: 11px; border-top: 1px solid #eef1f6; font-size: 10.5px; }

/* 产品动态 / 排行 */
.split-3 { gap: 22px; }
.updates-panel, .hot-panel { border-radius: 14px; padding: 20px 22px; }
.timeline-item { border-radius: 10px; padding: 10px 10px; margin: 0 -10px; }
.timeline-item:hover { background: #f8fafc; }
.hot-list li a { padding: 9px 0; }
.hot-num { width: 22px; height: 22px; border-radius: 7px; }

/* 按钮 */
.btn { border-radius: 9px; }
.btn-light, .btn-outline-light { border-radius: 9px; }

/* CTA */
.cta { padding: 54px; border-radius: 20px; }
.cta h2 { font-size: 32px; }

/* 页脚 */
.site-footer { padding-top: 54px; }
.footer-desc { font-size: 12.5px; line-height: 1.85; }

/* =========================================================
   列表页 / 详情页
   ========================================================= */
.page-hero { padding: 44px 0 26px; }
.page-hero h1 { font-size: 40px; line-height: 1.2; }
.page-hero p, .page-hero-sub { max-width: 760px; font-size: 14px; line-height: 1.85; }
.page-hero-inner { gap: 24px; align-items: flex-end; }

.filter-bar { border-radius: 12px; padding: 10px 12px; }
.filter-chip { height: 32px; padding: 0 14px; border-radius: 8px; font-size: 12.5px; }
.cat-pill { height: 32px; padding: 0 13px; border-radius: 8px; font-size: 12.5px; }
.list-search { height: 42px; border-radius: 10px; }
.list-search input { font-size: 13px; }
.filter-panel { border-radius: 14px; padding: 18px; }
.filter-field select { height: 38px; border-radius: 8px; }
.filter-panel-head { margin-bottom: 14px; }
.products-main .product-grid { gap: 18px; }
.active-filters a { border-radius: 7px; }

/* 详情页 */
.article-head h1 { font-size: 40px; line-height: 1.32; }
.article-head { padding: 44px 0 22px; }
.article-summary { font-size: 15.5px; line-height: 1.85; }
.article-main { border-radius: 16px; padding: 34px 40px 38px; box-shadow: var(--shadow-card); }
.article-cover { height: 240px; border-radius: 14px; margin-bottom: 26px; }
.prose > p:first-child img, .prose > figure:first-child img { margin-top: 0; }
.prose { font-size: 16px; line-height: 1.95; }
.prose h2 { margin: 38px 0 14px; padding-left: 12px; font-size: 22px; }
.prose h3 { margin: 28px 0 10px; font-size: 18px; }
.prose p { margin: 16px 0; }
.prose img { border-radius: 12px; margin: 20px auto; }
.prose blockquote { border-radius: 10px; }
.article-side .side-card, .news-side .side-card { border-radius: 14px; padding: 18px; }
.article-actions { margin-top: 26px; padding-top: 18px; }
.article-rel-box { border-radius: 14px; }

/* 产品详情 */
.product-hero { border-radius: 16px; }
.product-hero-logo .company-logo-img { border-radius: 18px; }
.detail-layout, .news-layout, .article-layout { gap: 26px; }

/* 关于页 */
.origin-quote { border-radius: 16px; }
.origin-points > div { border-radius: 12px; }
.about-card { border-radius: 14px; }

/* =========================================================
   响应式
   ========================================================= */
@media (max-width: 1180px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .cat-grid { gap: 10px; }
  .hero-v2 { padding: 46px 38px; gap: 34px; }
  .hero h1 { font-size: 46px; }
  .hero-spotlight { padding: 14px; }
  .hero-spotlight .hs-specs { display: none; }
  .company-grid { gap: 12px; }
}
@media (min-width: 900px) and (max-width: 1199px) {
  .cat-card { height: 70px; padding: 0 10px; gap: 8px; }
  .cat-icon { width: 32px; height: 32px; border-radius: 8px; }
  .cat-name {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    font-size: 12.5px; line-height: 1.22; white-space: normal;
  }
  .cat-count { display: none; }
  .cat-arrow { display: none; }
}
@media (max-width: 1024px) {
  .section { padding: 52px 0; }
  .section-cats { padding: 36px 0 6px; }
  .section-head h2 { font-size: 25px; }
  .editorial-grid { grid-template-columns: minmax(0, 1fr); }
  .depth-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-3 { grid-template-columns: minmax(0, 1fr); }
  .article-main { padding: 26px 26px 30px; }
  .article-cover { height: 260px; }
  .cta { padding: 40px; }
  .page-hero-inner { align-items: flex-start; text-align: left; }
  .page-hero-inner .list-search { width: 100%; }
}
@media (max-width: 900px) {
  .container { padding: 0 20px; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .company-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-v2 { grid-template-columns: minmax(0, 1fr); padding: 34px 26px; gap: 26px; }
  .hero h1 { font-size: 36px; }
  .hero-spotlight { display: none; }
  .hero-stats > div { padding-right: 20px; margin-right: 20px; }
  .hero-stats strong { font-size: 24px; }
  .page-home .section > .container > .section-head { padding-top: 0; border-top: 0; }
  .section-head { margin-bottom: 20px; }
  .page-hero h1 { font-size: 32px; }
  .article-head h1 { font-size: 30px; }
  .article-main { padding: 20px 18px 24px; border-radius: 14px; }
  .article-cover { height: 200px; }
  .editorial-feature { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .ef-cover { min-height: 200px; }
  .ef-body { padding: 22px 22px 20px; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .product-grid, .company-grid, .depth-grid { grid-template-columns: minmax(0, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .cat-card { height: 64px; padding: 0 10px; gap: 8px; }
  .cat-icon { width: 30px; height: 30px; border-radius: 8px; }
  .cat-name { font-size: 12.5px; }
  .cat-count, .cat-arrow { display: none; }
  .glasses-intro h2 { font-size: 26px; }
  .hero-v2 { padding: 28px 20px; border-radius: 16px; }
  .hero h1 { font-size: 30px; }
  .hero-sub { font-size: 13.5px; }
  .hero-stats { flex-wrap: wrap; gap: 14px 0; }
  .hero-stats > div { padding-right: 18px; margin-right: 18px; }
  .section { padding: 40px 0; }
  .section-head, .section-head.compact { flex-direction: column; align-items: flex-start; gap: 10px; }
  .section-head h2 { font-size: 23px; }
  .cta { padding: 28px 22px; }
  .cta h2 { font-size: 25px; }
}

/* 英文界面细节：避免重复标签 */
body.lang-en .hs-head em { display: none; }

/* =========================================================
   v28.1 · 页面质感补充
   ========================================================= */

/* 列表页页头：浅色过渡带 */
.page-hero {
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
  border-bottom: 1px solid var(--line);
}
.page-hero .breadcrumb { margin-bottom: 18px; }
.page-hero-inner { gap: 26px; }
.page-hero h1 { letter-spacing: -.035em; }

/* 榜单行 */
.rank-row { padding: 14px 18px; border-radius: 12px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.rank-row:hover { transform: translateX(3px); border-color: var(--line-strong); box-shadow: var(--shadow-card); }
.rank-row .rank-no { font-size: 18px; letter-spacing: -.02em; }
.rank-row h3 { font-size: 14.5px; }
.rank-row .rank-meta { font-size: 11.5px; }

/* 榜单筛选 */
.rank-tab { height: 34px; padding: 0 16px; font-size: 12.5px; border-radius: 8px; }
.rank-tab.active { background: var(--brand); border-color: var(--brand); }

/* 企业层级卡 */
.layer-card { padding: 20px; border-radius: 14px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.layer-icon { width: 40px; height: 40px; border-radius: 10px; }

/* 百科卡 */
.wiki-card { border-radius: 14px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.wiki-card:hover { border-color: var(--line-strong); box-shadow: var(--shadow-card); }

/* 产业链节点 */
.chain-node { transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.chain-node:hover { border-color: var(--line-strong); box-shadow: var(--shadow-card); transform: translateY(-1px); }

/* 评测首屏大卡 */
.review-feature .a-feature .a-body { padding: 18px 20px 18px; }
.review-feature .a-feature h3 { font-size: 19px; }

/* 滚动渐显（仅在支持且未开启减弱动效时启用） */
@media (prefers-reduced-motion: no-preference) {
  .has-reveal .section-head,
  .has-reveal .cat-card,
  .has-reveal .p-card,
  .has-reveal .a-card,
  .has-reveal .company-card,
  .has-reveal .wiki-card,
  .has-reveal .layer-card,
  .has-reveal .rank-row,
  .has-reveal .updates-panel,
  .has-reveal .hot-panel,
  .has-reveal .cta,
  .has-reveal .article-main,
  .has-reveal .side-card {
    opacity: 0;
    translate: 0 16px;
    transition:
      opacity .55s cubic-bezier(.22, .61, .36, 1),
      translate .55s cubic-bezier(.22, .61, .36, 1),
      box-shadow .2s ease,
      border-color .2s ease,
      transform .2s ease;
    transition-delay: var(--reveal-delay, 0ms);
  }
  .has-reveal .is-in { opacity: 1; translate: 0 0; }
}
