/* ============ MowerRank 全站样式 ============ */
:root {
  --green: #16a34a;
  --green-d: #15803d;
  --green-soft: #eaf7ee;
  --ink: #0f172a;
  --slate: #475569;
  --muted: #8a9aa9;
  --line: #e4eae6;
  --bg: #f4f7f5;
  --card: #ffffff;
  --gold1: #fbbf24; --gold2: #d97706;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 12px 32px -16px rgba(15, 23, 42, .14);
  --shadow-hover: 0 2px 4px rgba(15, 23, 42, .06), 0 20px 44px -16px rgba(21, 128, 61, .25);
  --font: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green-d); text-decoration: none; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--green); color: #fff; font-weight: 600; font-size: 15px;
  padding: 10px 20px; border-radius: 999px; border: 1px solid var(--green);
  transition: all .2s ease; white-space: nowrap;
}
.btn:hover { background: var(--green-d); border-color: var(--green-d); transform: translateY(-1px); }
.btn-sm { padding: 7px 14px; font-size: 13.5px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--green); color: var(--green-d); background: var(--green-soft); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn-outline:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }
.link { color: var(--green-d); font-weight: 600; }

/* ---------- 头部 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { font-size: 21px; font-weight: 800; letter-spacing: -.5px; color: var(--ink); }
.logo span { color: var(--green); }
.logo.light { color: #fff; }
.main-nav { display: flex; gap: 24px; margin-left: 8px; }
.main-nav a { color: var(--slate); font-weight: 500; font-size: 15px; }
.main-nav a:hover { color: var(--green-d); }
.lang-switch { margin-left: auto; display: flex; gap: 2px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang-switch a { font-size: 12.5px; font-weight: 600; color: var(--slate); padding: 4px 10px; border-radius: 999px; }
.lang-switch a.on { background: var(--ink); color: #fff; }
.nav-toggle { display: none; background: none; border: none; font-size: 22px; color: var(--ink); cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(74, 222, 128, .25), transparent 60%),
    linear-gradient(135deg, #052e16 0%, #14532d 45%, #0f172a 100%);
}
.hero-inner { padding: 96px 24px 88px; max-width: 880px; }
.hero-badge {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: #bbf7d0; border: 1px solid rgba(187, 247, 208, .4); border-radius: 999px; padding: 6px 16px;
  margin-bottom: 24px; background: rgba(22, 163, 74, .15);
}
.hero h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.08; letter-spacing: -1.5px; font-weight: 800; }
.hero-sub { margin-top: 20px; font-size: 17.5px; color: #cbd5e1; max-width: 640px; }
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 48px; margin-top: 56px; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .15); flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats b { font-size: 30px; font-weight: 800; letter-spacing: -.5px; }
.hero-stats span { font-size: 13.5px; color: #94a3b8; }

/* ---------- 区块 ---------- */
.section { padding: 72px 0 8px; }
.section-head { margin-bottom: 36px; max-width: 720px; }
.section-head h2, .section-head h1 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -1px; font-weight: 800; }
.section-head p { color: var(--slate); margin-top: 10px; font-size: 16px; }
.section-head.light h2 { color: #fff; }
.section-head.light p { color: #a7b8c9; }
.grid { display: grid; gap: 22px; }
.products-grid { grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); }

/* ---------- 产品卡片 ---------- */
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: all .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: #cfe8d7; }
.card-img { position: relative; display: block; aspect-ratio: 4 / 3; background: #e8efe9; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 18px 18px 20px; }
.card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.brand { font-size: 12px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.card h3 { font-size: 18px; letter-spacing: -.3px; }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--green-d); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 12px 0 16px; }
.chips li { font-size: 12px; font-weight: 600; color: var(--slate); background: var(--bg); border: 1px solid var(--line); padding: 3px 10px; border-radius: 999px; }
.card-foot { display: flex; justify-content: space-between; align-items: center; }
.price { font-size: 19px; font-weight: 800; letter-spacing: -.5px; }

.rank-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  min-width: 42px; height: 30px; padding: 0 10px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; color: #fff; border-radius: 10px;
  background: var(--ink); box-shadow: 0 4px 12px rgba(15, 23, 42, .3);
}
.rank-badge.r1 { background: linear-gradient(135deg, var(--gold1), var(--gold2)); color: #451a03; }
.rank-badge.r2 { background: linear-gradient(135deg, #e2e8f0, #94a3b8); color: #0f172a; }
.rank-badge.r3 { background: linear-gradient(135deg, #fdba74, #c2710c); color: #431407; }

.score { font-size: 12.5px; color: var(--slate); }
.score b { font-size: 16px; }
.score.s-hi b { color: var(--green-d); }
.score.s-md b { color: #b45309; }
.score.s-lo b { color: var(--slate); }

/* ---------- 公司榜单 ---------- */
.company-list { display: flex; flex-direction: column; gap: 12px; }
.company-row {
  display: flex; align-items: center; gap: 18px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 20px; box-shadow: var(--shadow); transition: all .2s ease;
}
.company-row:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.company-row .rank-badge { position: static; box-shadow: none; border-radius: 8px; width: 38px; min-width: 38px; height: 28px; font-size: 13px; }
.company-main { flex: 1.4; min-width: 0; }
.company-main h3 { font-size: 16.5px; letter-spacing: -.2px; }
.company-main h3 a { color: var(--ink); }
.company-main h3 a:hover { color: var(--green-d); }
.company-main p { font-size: 13px; color: var(--muted); }
.share { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.share span { font-size: 12px; font-weight: 600; color: var(--slate); }

.monogram {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 19px; font-weight: 800; color: #fff;
}
.monogram.lg { width: 64px; height: 64px; font-size: 26px; border-radius: 16px; }
.monogram.xl { width: 92px; height: 92px; font-size: 40px; border-radius: 22px; }
.c0 { background: linear-gradient(135deg, #16a34a, #065f46); }
.c1 { background: linear-gradient(135deg, #0284c7, #1e3a8a); }
.c2 { background: linear-gradient(135deg, #d97706, #92400e); }
.c3 { background: linear-gradient(135deg, #7c3aed, #4c1d95); }
.c4 { background: linear-gradient(135deg, #dc2626, #7f1d1d); }
.c5 { background: linear-gradient(135deg, #0891b2, #164e63); }
.c6 { background: linear-gradient(135deg, #db2777, #831843); }
.c7 { background: linear-gradient(135deg, #475569, #0f172a); }

.bar { height: 7px; background: var(--bg); border-radius: 99px; overflow: hidden; border: 1px solid var(--line); }
.bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--green), var(--green-d)); }

/* ---------- 方法论区块 ---------- */
.method {
  margin-top: 72px;
  background:
    radial-gradient(900px 400px at 15% 0%, rgba(74, 222, 128, .16), transparent 60%),
    linear-gradient(160deg, #052e16, #0f172a);
  padding-bottom: 72px; color: #dbe4ee;
}
.method-grid { grid-template-columns: repeat(3, 1fr); }
.method-card {
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius); padding: 26px;
}
.method-card h3 { color: #fff; font-size: 18px; margin-bottom: 10px; }
.method-card p { font-size: 14.5px; color: #a7b8c9; }

/* ---------- 资讯卡片 ---------- */
.news-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.news-card { display: flex; flex-direction: column; padding: 24px; color: var(--ink); }
.news-card:hover h3 { color: var(--green-d); }
.news-date { font-size: 12.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.news-card h3 { font-size: 18px; line-height: 1.4; margin: 10px 0 8px; letter-spacing: -.3px; }
.news-card p { font-size: 14px; color: var(--slate); flex: 1; }
.news-card .link { margin-top: 14px; font-size: 14px; }

/* ---------- 页脚 ---------- */
.site-footer { margin-top: 88px; background: #0b1220; color: #94a3b8; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding: 56px 24px 40px; }
.footer-grid h4 { color: #fff; font-size: 14px; margin-bottom: 14px; }
.footer-grid a { display: block; color: #94a3b8; font-size: 14px; padding: 4px 0; }
.footer-grid a:hover { color: #4ade80; }
.footer-grid a.logo { display: inline-block; padding: 0 0 12px; }
.foot-desc { font-size: 14px; max-width: 380px; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 24px 30px; font-size: 12.5px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-bottom p { max-width: 640px; }

/* ---------- 面包屑 ---------- */
.breadcrumb { padding: 22px 0 0; font-size: 13.5px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: var(--slate); }
.breadcrumb a:hover { color: var(--green-d); }
.breadcrumb i { font-style: normal; color: var(--line); }

/* ---------- 产品详情 ---------- */
.pd-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; padding-top: 32px; align-items: center; }
.pd-media { position: relative; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: #e8efe9; }
.pd-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.pd-media .rank-badge { top: 16px; left: 16px; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--green-d); }
.pd-info h1 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -1.2px; margin: 8px 0 6px; }
.pd-tagline { color: var(--slate); font-size: 16.5px; }
.pd-scoreline { display: flex; align-items: baseline; gap: 14px; margin: 22px 0 4px; }
.score-big { font-size: 54px; font-weight: 800; letter-spacing: -2px; line-height: 1; }
.score-big small { font-size: 20px; color: var(--muted); font-weight: 600; }
.score-big.s-hi { color: var(--green-d); }
.score-big.s-md { color: #b45309; }
.score-big.s-lo { color: var(--slate); }
.pd-scorelabel { color: var(--muted); font-size: 13.5px; }
.pd-prices { display: flex; gap: 10px; align-items: center; font-size: 20px; font-weight: 800; margin: 10px 0 4px; }
.pd-prices span { color: var(--line); }
.pd-cta { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }

.h2 { font-size: clamp(21px, 2.4vw, 27px); letter-spacing: -.6px; margin-bottom: 18px; }

.ratings-panel {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
}
.rating-row { display: grid; grid-template-columns: 180px 1fr 52px; gap: 14px; align-items: center; padding: 7px 0; }
.rating-label { font-size: 14px; color: var(--slate); }
.rating-row b { text-align: right; font-size: 14.5px; }
.issues h3 { font-size: 16px; margin-bottom: 12px; }
.issues ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.issues li {
  font-size: 13.5px; color: #7f1d1d; background: #fef2f2; border: 1px solid #fecaca;
  border-radius: 10px; padding: 8px 14px;
}

.spec-groups { display: block; }
.spec-groups .h2 { margin-top: 40px; }
.spec-groups .h2:first-child { margin-top: 0; }
.spec-table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.spec-table th, .spec-table td { text-align: left; padding: 13px 20px; font-size: 14.5px; border-bottom: 1px solid var(--line); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }
.spec-table th { width: 240px; color: var(--muted); font-weight: 600; background: #fafcfb; }
.spec-table td { font-weight: 550; }
.spec-table tr:hover td { background: var(--green-soft); }

.company-card {
  display: flex; align-items: center; gap: 20px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 26px; box-shadow: var(--shadow); transition: all .2s ease; color: var(--ink);
}
.company-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.company-card h3 { font-size: 18px; }
.company-card p { color: var(--slate); font-size: 14px; }
.company-card .link { margin-left: auto; }

/* ---------- 公司详情 ---------- */
.co-hero {
  display: grid; grid-template-columns: auto 1.4fr 1fr; gap: 36px; align-items: center;
  padding-top: 36px; padding-bottom: 8px;
}
.co-info h1 { font-size: clamp(28px, 3.6vw, 40px); letter-spacing: -1px; margin: 6px 0 8px; }
.co-info p { color: var(--slate); margin-bottom: 18px; }
.co-stats { display: flex; flex-direction: column; gap: 14px; }
.co-stat { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow); }
.co-stat b { font-size: 21px; letter-spacing: -.5px; display: block; }
.co-stat span { font-size: 12.5px; color: var(--muted); display: block; margin: 2px 0 8px; }
.co-stat:last-child .bar, .co-stat:nth-child(2) .bar { display: none; }

/* ---------- 文章页 ---------- */
.article { max-width: 780px; padding-bottom: 40px; }
.article h1 { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -1px; line-height: 1.2; margin-top: 28px; }
.article-meta { color: var(--muted); font-size: 13.5px; margin: 14px 0 30px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.article-body h2 { font-size: 22px; letter-spacing: -.4px; margin: 34px 0 12px; }
.article-body p { font-size: 16px; color: #334155; margin-bottom: 16px; }
.article-body a { text-decoration: underline; text-underline-offset: 3px; }
.article-body strong { color: var(--ink); }

/* ---------- 入场动画 ---------- */
.pre-view { opacity: 0; transform: translateY(14px); }
.in-view { opacity: 1; transform: none; transition: opacity .5s ease, transform .5s ease; }

/* ---------- 响应式 ---------- */
@media (max-width: 1020px) {
  .pd-hero { grid-template-columns: 1fr; gap: 28px; }
  .co-hero { grid-template-columns: auto 1fr; }
  .co-stats { grid-column: 1 / -1; flex-direction: row; }
  .co-stat { flex: 1; }
  .method-grid { grid-template-columns: 1fr; }
  .ratings-panel { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .main-nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 12px 24px 18px; gap: 12px;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .lang-switch a { padding: 4px 8px; font-size: 11.5px; }
  .hero-inner { padding: 64px 24px 56px; }
  .hero-stats { gap: 26px; }
  .company-row { flex-wrap: wrap; gap: 12px; }
  .share { flex-basis: 100%; order: 4; }
  .company-row .btn { margin-left: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .rating-row { grid-template-columns: 120px 1fr 44px; }
  .co-stats { flex-direction: column; }
  .spec-table th { width: 130px; }
}
