/* ============================================================
   今日爆料网 · 全站样式表  style.css
   配色：爆料红 + 墨黑 + 纸白，专业资讯媒体风格
   ============================================================ */

/* ---------- 设计变量 ---------- */
:root {
  --red: #d9232e;
  --red-dark: #b3151f;
  --red-deep: #8f0f18;
  --red-soft: #fdecee;
  --ink: #17191f;
  --ink-2: #23262f;
  --ink-3: #333742;
  --text: #3d424c;
  --muted: #828894;
  --line: #e8eaef;
  --bg: #f5f6f8;
  --paper: #ffffff;
  --gold: #f6a623;
  --blue: #1f5fbf;
  --shadow-sm: 0 2px 10px rgba(20, 22, 28, .06);
  --shadow: 0 10px 30px rgba(20, 22, 28, .10);
  --shadow-lg: 0 22px 60px rgba(20, 22, 28, .18);
  --radius: 14px;
  --radius-sm: 9px;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  --container: 1200px;
}

/* ---------- 基础重置 ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .22s ease; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.35; font-weight: 700; }
:focus-visible { outline: 3px solid rgba(217, 35, 46, .35); outline-offset: 2px; }

::selection { background: var(--red); color: #fff; }

.container { width: min(var(--container), 92%); margin-inline: auto; }

/* ---------- 通用工具 ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: 4px;
  font-size: 12px; font-weight: 700; letter-spacing: .5px;
  color: #fff; background: var(--red); white-space: nowrap;
}
.tag--gold { background: var(--gold); color: #3a2500; }
.tag--ink { background: var(--ink); }
.tag--outline { background: transparent; color: var(--red); border: 1px solid var(--red); }
.tag--ghost { background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.35); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 30px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 15px; cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
}
.btn--primary { background: linear-gradient(135deg, var(--red), var(--red-dark)); color: #fff; box-shadow: 0 8px 22px rgba(217,35,46,.32); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(217,35,46,.42); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: #fff; background: rgba(255,255,255,.06); }
.btn--ghost:hover { background: #fff; color: var(--ink); transform: translateY(-3px); }
.btn--line { border-color: var(--red); color: var(--red); background: #fff; }
.btn--line:hover { background: var(--red); color: #fff; transform: translateY(-3px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-3); transform: translateY(-3px); }

.section { padding: 78px 0; }
.section--tight { padding: 56px 0; }
.section--dark { background: var(--ink); color: #c9ccd4; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--paper { background: var(--paper); }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.section-head__title { display: flex; align-items: center; gap: 14px; }
.section-head__bar { width: 6px; height: 34px; border-radius: 4px; background: linear-gradient(180deg, var(--red), var(--gold)); }
.section-head h2 { font-size: clamp(24px, 3vw, 32px); }
.section-head p { color: var(--muted); margin-top: 6px; font-size: 15px; }
.section-head__more { color: var(--red); font-weight: 700; font-size: 14px; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.section-head__more:hover { gap: 10px; }

/* 渐入动画 */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .ticker__track { animation: none !important; }
}

/* ============================================================
   顶部条
   ============================================================ */
.topbar { background: var(--ink); color: #aeb3bd; font-size: 13px; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 38px; gap: 12px; }
.topbar-left { display: flex; align-items: center; gap: 10px; white-space: nowrap; overflow: hidden; }
.topbar-left .dot { width: 7px; height: 7px; border-radius: 50%; background: #2bd46b; box-shadow: 0 0 0 4px rgba(43,212,107,.18); animation: pulse 1.8s infinite; flex: none; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.topbar-right { display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.topbar-right a:hover { color: #fff; }
.topbar-right i { color: #444a57; font-style: normal; }
.topbar-hot { color: #ffd9a8; }

/* ============================================================
   导航栏
   ============================================================ */
.navwrap {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.navwrap.is-stuck { box-shadow: var(--shadow-sm); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 74px; }

.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand-mark {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: #fff; font-size: 24px; font-weight: 900;
  box-shadow: 0 6px 16px rgba(217,35,46,.35);
}
.brand-text strong { display: block; font-size: 21px; color: var(--ink); letter-spacing: 1px; }
.brand-text small { display: block; font-size: 10px; color: var(--muted); letter-spacing: 2.5px; }

.mainnav { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.mainnav a {
  position: relative; padding: 9px 15px; font-size: 16px; font-weight: 500; color: var(--ink-3);
  border-radius: 8px;
}
.mainnav a::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; width: 0; height: 3px;
  background: var(--red); border-radius: 3px; transform: translateX(-50%);
  transition: width .25s ease;
}
.mainnav a:hover, .mainnav a.is-active { color: var(--red); }
.mainnav a:hover::after, .mainnav a.is-active::after { width: 26px; }

.searchbox {
  display: flex; align-items: center; flex: none;
  background: var(--bg); border: 1px solid var(--line); border-radius: 999px;
  padding: 4px 6px 4px 16px; transition: border-color .2s, box-shadow .2s;
}
.searchbox:focus-within { border-color: var(--red); box-shadow: 0 0 0 4px var(--red-soft); }
.searchbox input { border: 0; background: transparent; width: 150px; outline: none; font-size: 14px; color: var(--ink); }
.searchbox button {
  width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--red); color: #fff; display: grid; place-items: center;
}
.searchbox button:hover { background: var(--red-dark); }

.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line);
  background: #fff; border-radius: 10px; cursor: pointer; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 滚动快讯条 */
.ticker { background: linear-gradient(90deg, var(--red-deep), var(--red)); color: #fff; }
.ticker-inner { display: flex; align-items: center; height: 44px; gap: 14px; overflow: hidden; }
.ticker__label { flex: none; display: flex; align-items: center; gap: 7px; font-weight: 700; font-size: 14px; background: rgba(0,0,0,.22); padding: 5px 13px; border-radius: 6px; }
.ticker__viewport { overflow: hidden; flex: 1; }
.ticker__track { display: inline-flex; gap: 56px; white-space: nowrap; animation: marquee 38s linear infinite; will-change: transform; }
.ticker__track:hover { animation-play-state: paused; }
.ticker__track a { font-size: 14.5px; color: #ffe8ea; }
.ticker__track a:hover { color: #fff; text-decoration: underline; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   Hero 主视觉
   ============================================================ */
.hero { padding: 34px 0 60px; background: radial-gradient(1200px 420px at 80% -10%, #fde3e5 0%, transparent 60%), var(--bg); }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 20px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--red); }

.hero-grid { display: grid; grid-template-columns: 1.65fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 18px; }
.hero-card {
  position: relative; border-radius: var(--radius); overflow: hidden; display: block;
  background: var(--ink); min-height: 240px; box-shadow: var(--shadow-sm);
}
.hero-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.hero-card:hover img { transform: scale(1.06); }
.hero-card__mask {
  position: absolute; inset: 0; padding: 22px; display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(180deg, rgba(10,10,14,.04) 35%, rgba(10,10,14,.88) 100%);
}
.hero-card__meta { display: flex; gap: 8px; margin-bottom: 10px; }
.hero-card h2, .hero-card h3 { color: #fff; }
.hero-card--lead { grid-row: span 2; min-height: 500px; }
.hero-card--lead h1 { color: #fff; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.3; text-shadow: 0 2px 16px rgba(0,0,0,.4); }
.hero-card--lead p { color: rgba(255,255,255,.86); margin-top: 12px; font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero-card--side h3 { font-size: 18px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero-card__time { color: rgba(255,255,255,.72); font-size: 12.5px; margin-top: 8px; display: flex; align-items: center; gap: 6px; }

/* Hero 右侧热搜榜 */
.hero-aside {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm);
  padding: 20px 22px; display: flex; flex-direction: column;
  grid-row: span 2;
}
.hero-aside__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 2px solid var(--ink); margin-bottom: 6px; }
.hero-aside__head h2 { font-size: 19px; display: flex; align-items: center; gap: 8px; }
.hero-aside__head h2 i { color: var(--red); font-style: normal; }
.hero-aside__head span { font-size: 12px; color: var(--muted); }
.rank-list { display: flex; flex-direction: column; }
.rank-list li { display: flex; align-items: center; gap: 12px; padding: 11px 4px; border-bottom: 1px dashed var(--line); }
.rank-list li:last-child { border-bottom: 0; }
.rank-num { width: 24px; height: 24px; border-radius: 6px; flex: none; display: grid; place-items: center; font-size: 13px; font-weight: 900; background: #eef0f4; color: #8b919c; }
.rank-list li:nth-child(-n+3) .rank-num { background: var(--red); color: #fff; }
.rank-list li:nth-child(3) .rank-num { background: var(--gold); color: #3a2500; }
.rank-list a { flex: 1; font-size: 14.5px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-list a:hover { color: var(--red); }
.rank-hot { font-size: 11px; color: var(--red); border: 1px solid var(--red); border-radius: 4px; padding: 0 5px; flex: none; }
.rank-hot--new { color: var(--blue); border-color: var(--blue); }

/* 内页小 Hero */
.page-hero { background: linear-gradient(120deg, var(--ink) 0%, var(--ink-2) 55%, #40121a 100%); color: #fff; padding: 64px 0 58px; position: relative; overflow: hidden; }
.page-hero::after { content: "爆"; position: absolute; right: -30px; top: -60px; font-size: 300px; font-weight: 900; color: rgba(255,255,255,.04); pointer-events: none; }
.page-hero .breadcrumb { color: rgba(255,255,255,.6); }
.page-hero .breadcrumb a { color: rgba(255,255,255,.75); }
.page-hero h1 { color: #fff; font-size: clamp(28px, 4vw, 42px); margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,.8); max-width: 720px; font-size: 16px; }
.page-hero__tags { margin-top: 22px; display: flex; gap: 10px; flex-wrap: wrap; }

/* ============================================================
   核心特性
   ============================================================ */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 26px; position: relative; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.feature-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.feature-card:hover::before { transform: scaleX(1); }
.feature-card__icon {
  width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center;
  background: var(--red-soft); color: var(--red); margin-bottom: 20px;
  transition: transform .35s ease, background .3s;
}
.feature-card:hover .feature-card__icon { transform: rotate(-6deg) scale(1.06); background: var(--red); color: #fff; }
.feature-card h3 { font-size: 19px; margin-bottom: 10px; }
.feature-card p { font-size: 14.5px; color: var(--muted); }

/* ============================================================
   新闻卡片
   ============================================================ */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-grid--2 { grid-template-columns: repeat(2, 1fr); }
.news-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.news-card__media { position: relative; aspect-ratio: 16 / 9.5; overflow: hidden; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.news-card:hover .news-card__media img { transform: scale(1.07); }
.news-card__media .tag { position: absolute; left: 12px; top: 12px; }
.news-card__body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.news-card h3 { font-size: 18px; margin-bottom: 9px; transition: color .2s; }
.news-card:hover h3 { color: var(--red); }
.news-card p { font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.news-card__meta { display: flex; align-items: center; gap: 14px; margin-top: 16px; font-size: 12.5px; color: #9aa0aa; }
.news-card__meta span { display: inline-flex; align-items: center; gap: 5px; }

/* 横向图文列表 */
.news-list { display: flex; flex-direction: column; gap: 20px; }
.news-row {
  display: grid; grid-template-columns: 250px 1fr; gap: 24px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease;
}
.news-row:hover { transform: translateX(6px); box-shadow: var(--shadow-sm); }
.news-row__media { position: relative; min-height: 168px; }
.news-row__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.news-row__body { padding: 22px 24px 22px 0; display: flex; flex-direction: column; }
.news-row h3 { font-size: 20px; margin: 8px 0 9px; transition: color .2s; }
.news-row:hover h3 { color: var(--red); }
.news-row p { font-size: 14.5px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-row__meta { margin-top: auto; padding-top: 12px; display: flex; gap: 16px; font-size: 12.5px; color: #9aa0aa; align-items: center; }

/* ============================================================
   服务介绍（深色）
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card {
  border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius);
  padding: 30px 26px; background: rgba(255,255,255,.045);
  transition: transform .3s ease, background .3s, border-color .3s;
  position: relative;
}
.service-card:hover { transform: translateY(-8px); background: rgba(255,255,255,.09); border-color: rgba(217,35,46,.6); }
.service-card__no { font-size: 14px; font-weight: 900; color: var(--red); letter-spacing: 2px; }
.service-card__icon { width: 54px; height: 54px; margin: 16px 0 18px; color: #ffb7bc; }
.service-card h3 { font-size: 19px; margin-bottom: 10px; }
.service-card p { font-size: 14px; color: #a2a7b2; }
.service-card ul { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.service-card li { font-size: 13.5px; color: #b7bcc7; padding-left: 18px; position: relative; }
.service-card li::before { content: "▸"; position: absolute; left: 0; color: var(--red); }

/* 数据条 */
.stats-band { background: linear-gradient(120deg, var(--red-deep), var(--red)); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; padding: 46px 0; }
.stat + .stat { border-left: 1px solid rgba(255,255,255,.22); }
.stat b { display: block; font-size: clamp(28px, 3.6vw, 42px); font-weight: 900; }
.stat span { font-size: 14.5px; color: rgba(255,255,255,.85); }

/* ============================================================
   详情内容区（主内容 + 侧栏）
   ============================================================ */
.layout-2col { display: grid; grid-template-columns: 1fr 340px; gap: 30px; align-items: start; }
.sidebar { display: flex; flex-direction: column; gap: 26px; position: sticky; top: 92px; }
.side-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.side-box h3 { font-size: 17px; padding-bottom: 13px; margin-bottom: 14px; border-bottom: 2px solid var(--red); display: flex; align-items: center; gap: 8px; }

.hot-mini li { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.hot-mini li:last-child { border: 0; padding-bottom: 0; }
.hot-mini img { width: 88px; height: 62px; object-fit: cover; border-radius: 8px; flex: none; }
.hot-mini a { font-size: 14px; color: var(--ink-2); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hot-mini a:hover { color: var(--red); }
.hot-mini small { display: block; margin-top: 5px; color: #a3a9b3; font-size: 12px; }

.tag-cloud { display: flex; flex-wrap: wrap; gap: 9px; }
.tag-cloud a { padding: 6px 14px; border-radius: 999px; background: var(--bg); font-size: 13px; color: var(--ink-3); border: 1px solid var(--line); }
.tag-cloud a:hover { background: var(--red); color: #fff; border-color: var(--red); }

.side-cta { background: linear-gradient(160deg, var(--ink), #3a0e13); color: #fff; border-radius: var(--radius); padding: 28px 24px; text-align: center; }
.side-cta h3 { color: #fff; font-size: 20px; margin-bottom: 8px; }
.side-cta p { font-size: 13.5px; color: rgba(255,255,255,.75); margin-bottom: 18px; }

/* 时间线 */
.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding-bottom: 28px; }
.timeline li::before { content: ""; position: absolute; left: -30px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--red); }
.timeline time { font-size: 13px; color: var(--red); font-weight: 700; }
.timeline h3 { font-size: 16.5px; margin: 4px 0 5px; }
.timeline p { font-size: 14px; color: var(--muted); }

/* ============================================================
   FAQ
   ============================================================ */
.faq-wrap { max-width: 880px; margin-inline: auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: box-shadow .25s, border-color .25s; }
.faq-item.is-open { box-shadow: var(--shadow-sm); border-color: #f3c4c7; }
.faq-q { width: 100%; text-align: left; border: 0; background: transparent; cursor: pointer; padding: 20px 56px 20px 24px; position: relative; font-size: 16.5px; font-weight: 700; color: var(--ink); display: flex; align-items: center; gap: 12px; }
.faq-q::before { content: "Q"; flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; font-size: 14px; }
.faq-q::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--red); transition: transform .3s; line-height: 1; }
.faq-item.is-open .faq-q::after { transform: translateY(-50%) rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 24px 22px 64px; font-size: 14.5px; color: var(--muted); }
.faq-a p::before { content: "A"; float: left; margin: 3px 10px 0 -40px; width: 28px; height: 28px; border-radius: 8px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 14px; font-weight: 700; }

/* ============================================================
   CTA
   ============================================================ */
.cta-band { position: relative; overflow: hidden; }
.cta-inner {
  background: linear-gradient(120deg, var(--red-deep) 0%, var(--red) 55%, #ef5b45 100%);
  border-radius: 22px; padding: 62px 6%; color: #fff; text-align: center;
  position: relative; overflow: hidden; box-shadow: 0 26px 60px rgba(179,21,31,.35);
}
.cta-inner::before, .cta-inner::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.08); }
.cta-inner::before { width: 320px; height: 320px; left: -120px; top: -150px; }
.cta-inner::after { width: 260px; height: 260px; right: -90px; bottom: -160px; }
.cta-inner h2 { color: #fff; font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 14px; }
.cta-inner p { color: rgba(255,255,255,.9); max-width: 640px; margin: 0 auto 30px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-inner .btn--ghost:hover { color: var(--red); }

/* ============================================================
   页脚
   ============================================================ */
.site-footer { background: #12141a; color: #9aa0ac; padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.footer-brand p { font-size: 14px; margin: 18px 0 20px; line-height: 1.9; }
.footer-brand .brand-text strong, .footer-brand .brand-text small { color: #fff; }
.footer-col h3 { color: #fff; font-size: 16px; margin-bottom: 18px; position: relative; padding-left: 12px; }
.footer-col h3::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 4px; width: 4px; border-radius: 3px; background: var(--red); }
.footer-col a { display: block; padding: 6px 0; font-size: 14px; }
.footer-col a:hover { color: #fff; transform: translateX(4px); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; font-size: 14px; }
.footer-contact svg { flex: none; margin-top: 3px; color: var(--red); }
.footer-qr { display: flex; gap: 14px; margin-top: 16px; }
.footer-qr span { display: grid; place-items: center; width: 86px; height: 86px; background: #fff; border-radius: 10px; }
.footer-qr small { display: block; text-align: center; font-size: 12px; margin-top: 6px; }
.footer-bottom { border-top: 1px solid #242833; padding: 20px 0; font-size: 13px; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom .sep { color: #393f4c; margin: 0 8px; }

/* 返回顶部 */
.backtop {
  position: fixed; right: 26px; bottom: 34px; z-index: 90; width: 48px; height: 48px;
  border-radius: 50%; border: 0; cursor: pointer; background: var(--red); color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 26px rgba(217,35,46,.4);
  opacity: 0; pointer-events: none; transform: translateY(16px); transition: .3s;
}
.backtop.is-show { opacity: 1; pointer-events: auto; transform: none; }
.backtop:hover { background: var(--red-dark); transform: translateY(-3px); }

/* ============================================================
   新闻详情页
   ============================================================ */
.article-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 52px); }
.article-head { border-bottom: 1px solid var(--line); padding-bottom: 26px; margin-bottom: 30px; }
.article-head h1 { font-size: clamp(24px, 3.4vw, 36px); margin: 14px 0 16px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: 13.5px; color: #9aa0aa; align-items: center; }
.article-meta .author { color: var(--ink); font-weight: 700; }
.article-cover { border-radius: var(--radius); overflow: hidden; margin-bottom: 30px; }
.article-cover img { width: 100%; aspect-ratio: 21/9; object-fit: cover; }
.article-body { font-size: 16.5px; line-height: 2; color: #333742; }
.article-body p { margin-bottom: 20px; }
.article-body h2 { font-size: 23px; margin: 34px 0 16px; padding-left: 14px; border-left: 5px solid var(--red); }
.article-body h3 { font-size: 19px; margin: 26px 0 12px; }
.article-body blockquote {
  border-left: 4px solid var(--gold); background: #fffaef; margin: 24px 0;
  padding: 18px 24px; border-radius: 0 10px 10px 0; color: #6b5526; font-size: 16px;
}
.article-body figure { margin: 26px 0; }
.article-body figure img { border-radius: 10px; width: 100%; }
.article-body figcaption { text-align: center; font-size: 13px; color: var(--muted); margin-top: 9px; }
.article-body ul.bul { padding-left: 4px; margin: 14px 0 22px; display: flex; flex-direction: column; gap: 10px; }
.article-body ul.bul li { padding-left: 26px; position: relative; }
.article-body ul.bul li::before { content: "●"; position: absolute; left: 0; color: var(--red); font-size: 11px; top: 7px; }
.article-share { display: flex; align-items: center; gap: 10px; margin: 36px 0 8px; padding-top: 24px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.article-share span { font-size: 14px; color: var(--muted); margin-right: 6px; }
.share-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; color: #6b717c; transition: .2s; }
.share-btn:hover { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-3px); }
.article-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.article-tags a { padding: 5px 13px; background: var(--bg); border-radius: 999px; font-size: 13px; color: #5b616c; }
.article-tags a:hover { background: var(--red-soft); color: var(--red); }

.author-card { display: flex; gap: 18px; align-items: center; background: var(--bg); border-radius: var(--radius); padding: 24px; margin-top: 34px; }
.author-card img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }
.author-card h3 { font-size: 17px; }
.author-card p { font-size: 13.5px; color: var(--muted); margin-top: 3px; }
.author-card .btn { margin-left: auto; padding: 9px 22px; font-size: 13.5px; }

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* ============================================================
   新闻列表页
   ============================================================ */
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.filter-bar a { padding: 8px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14.5px; color: #555b66; font-weight: 500; }
.filter-bar a.is-active, .filter-bar a:hover { background: var(--red); color: #fff; border-color: var(--red); }
.pagination { display: flex; justify-content: center; gap: 9px; margin-top: 44px; }
.pagination a { width: 42px; height: 42px; border-radius: 10px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-weight: 700; color: #555b66; }
.pagination a.is-active, .pagination a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.pagination a.edge { width: auto; padding: 0 18px; }

/* ============================================================
   产品/会员页
   ============================================================ */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 38px 32px;
  display: flex; flex-direction: column; position: relative; transition: transform .3s, box-shadow .3s;
}
.price-card:hover { transform: translateY(-10px); box-shadow: var(--shadow); }
.price-card--hot { border: 2px solid var(--red); box-shadow: 0 18px 50px rgba(217,35,46,.14); }
.price-card__ribbon { position: absolute; top: 22px; right: -38px; transform: rotate(45deg); background: var(--red); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 44px; }
.price-card h3 { font-size: 22px; }
.price-card .desc { color: var(--muted); font-size: 14px; margin: 8px 0 22px; }
.price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 24px; }
.price b { font-size: 44px; color: var(--red); font-weight: 900; }
.price b::before { content: "¥"; font-size: 22px; margin-right: 2px; }
.price span { color: #a5abb6; font-size: 14px; text-decoration: line-through; }
.price em { font-style: normal; color: #a5abb6; font-size: 13px; }
.price-features { display: flex; flex-direction: column; gap: 13px; margin-bottom: 30px; flex: 1; }
.price-features li { display: flex; gap: 10px; font-size: 14.5px; color: #4a4f5a; align-items: flex-start; }
.price-features svg { color: var(--red); flex: none; margin-top: 4px; }
.price-features li.is-off { color: #b8bcc5; }
.price-features li.is-off svg { color: #c9cdd6; }

.compare-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: center; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.compare-table th { background: var(--ink); color: #fff; font-size: 15px; }
.compare-table th:first-child, .compare-table td:first-child { text-align: left; color: var(--ink); font-weight: 700; }
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table tbody tr:hover { background: #fff8f8; }
.compare-table .yes { color: var(--red); font-weight: 900; }
.compare-table .no { color: #c1c5ce; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); }

/* ============================================================
   关于页
   ============================================================ */
.about-story { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; }
.about-story img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about-story h2 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 18px; }
.about-story p { color: var(--muted); margin-bottom: 14px; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px 28px; transition: .3s; }
.value-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.value-card__icon { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--red-soft); color: var(--red); }
.value-card h3 { font-size: 18px; margin-bottom: 9px; }
.value-card p { font-size: 14px; color: var(--muted); }

.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.step { text-align: center; padding: 0 22px; position: relative; }
.step:not(:last-child)::after { content: "→"; position: absolute; right: -10px; top: 8px; color: var(--red); font-size: 22px; font-weight: 900; }
.step__no { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--red), var(--red-deep)); color: #fff; font-size: 20px; font-weight: 900; box-shadow: 0 8px 20px rgba(217,35,46,.3); }
.step h3 { font-size: 17px; margin-bottom: 7px; }
.step p { font-size: 13.5px; color: var(--muted); }

/* ============================================================
   联系页 / 表单
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 380px 1fr; gap: 30px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; gap: 16px; align-items: flex-start; }
.contact-card__icon { width: 50px; height: 50px; border-radius: 12px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; flex: none; }
.contact-card h3 { font-size: 16.5px; margin-bottom: 4px; }
.contact-card p { font-size: 14px; color: var(--muted); }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 700; color: var(--ink-2); margin-bottom: 8px; }
.form-group label i { color: var(--red); font-style: normal; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg); outline: none; transition: border-color .2s, box-shadow .2s, background .2s;
  color: var(--ink);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--red); box-shadow: 0 0 0 4px var(--red-soft); background: #fff; }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 13px; color: var(--muted); margin: 10px 0 20px; }
.form-success { display: none; background: #eafaf0; border: 1px solid #b6e6c6; color: #1d7040; padding: 14px 18px; border-radius: 10px; margin-bottom: 18px; font-size: 14.5px; }
.form-success.is-show { display: block; animation: fadeUp .4s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.map-placeholder { border-radius: var(--radius); overflow: hidden; position: relative; margin-top: 26px; }
.map-placeholder img { width: 100%; aspect-ratio: 21/7; object-fit: cover; }
.map-placeholder div { position: absolute; inset: 0; background: rgba(18,20,26,.5); display: grid; place-items: center; color: #fff; text-align: center; padding: 20px; }
.map-placeholder h3 { color: #fff; font-size: 20px; margin-bottom: 6px; }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1.4fr 1fr; }
  .hero-card--lead { grid-column: span 2; grid-row: auto; min-height: 340px; }
  .hero-aside { grid-column: span 2; grid-row: auto; }
  .features-grid, .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .layout-2col { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

@media (max-width: 900px) {
  .news-grid, .news-grid--2, .related-grid, .pricing-grid, .value-grid { grid-template-columns: 1fr 1fr; }
  .about-story, .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 26px 0; }
  .stat:nth-child(3) { border-left: 0; }
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 30px 10px; }
  .step:nth-child(2)::after { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .topbar { display: none; }
  .nav-inner { height: 64px; gap: 14px; }
  .searchbox { display: none; }
  .nav-toggle { display: flex; }
  .mainnav {
    position: fixed; top: 64px; left: 0; right: 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 10px 5%; max-height: 0; overflow: hidden; transition: max-height .35s ease;
    margin-inline: 0;
  }
  .mainnav.is-open { max-height: 420px; padding-bottom: 16px; }
  .mainnav a { padding: 14px 10px; border-bottom: 1px solid #f0f1f4; border-radius: 0; font-size: 16px; }
  .mainnav a::after { display: none; }
  .hero { padding: 22px 0 44px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card--lead { grid-column: auto; min-height: 300px; }
  .hero-card--side { min-height: 200px; }
  .hero-aside { grid-column: auto; }
  .news-row { grid-template-columns: 1fr; }
  .news-row__media { min-height: 200px; }
  .news-row__body { padding: 0 20px 22px; }
  .features-grid, .services-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
  .cta-inner { padding: 44px 24px; }
}

@media (max-width: 520px) {
  .news-grid, .news-grid--2, .related-grid, .pricing-grid, .value-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat + .stat, .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(even) { border-left: 1px solid rgba(255,255,255,.22); }
  .brand-text small { display: none; }
  .steps-grid { grid-template-columns: 1fr; }
  .step::after { display: none !important; }
  .faq-q { padding: 18px 48px 18px 18px; font-size: 15px; }
  .faq-a p { padding-left: 56px; padding-right: 18px; }
  .author-card { flex-wrap: wrap; }
  .author-card .btn { margin-left: 0; }
}
