/* =========================================================
   吃瓜海角网 - 全站样式
   主题：吃瓜 / 娱乐 / 爆料
   ========================================================= */

:root {
  --primary: #e63946;
  --primary-dark: #c1121f;
  --primary-light: #ff8fa3;
  --secondary: #2a9d8f;
  --secondary-dark: #1f7a6f;
  --accent: #f4a261;
  --dark: #17172b;
  --dark-2: #22223b;
  --bg: #faf7f2;
  --card-bg: #ffffff;
  --text: #2b2b3a;
  --muted: #70707f;
  --border: #ece5dc;
  --radius: 16px;
  --shadow-sm: 0 4px 14px rgba(23, 23, 43, 0.06);
  --shadow-md: 0 12px 30px rgba(23, 23, 43, 0.12);
  --shadow-lg: 0 24px 60px rgba(230, 57, 70, 0.18);
  --gradient: linear-gradient(135deg, #e63946 0%, #ff8fa3 100%);
  --gradient-dark: linear-gradient(135deg, #17172b 0%, #3a1d33 60%, #571f2e 100%);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(23, 23, 43, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.site-header.scrolled {
  background: rgba(23, 23, 43, 0.98);
  box-shadow: 0 8px 30px rgba(23, 23, 43, 0.35);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.brand-logo {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 12px;
  background: var(--gradient);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 900;
  box-shadow: 0 6px 16px rgba(230, 57, 70, 0.4);
  animation: logoPulse 3.2s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 6px 16px rgba(230, 57, 70, 0.4); }
  50% { transform: scale(1.06); box-shadow: 0 8px 24px rgba(230, 57, 70, 0.55); }
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-menu a {
  display: block;
  padding: 10px 16px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
  border-radius: 10px;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
  position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #fff;
  background: rgba(230, 57, 70, 0.28);
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2px;
  background: var(--gradient);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after { width: 60%; }

.nav-cta {
  margin-left: 10px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 700;
  transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease, color 0.28s ease;
  border: 2px solid transparent;
}

.btn-primary {
  color: #fff;
  background: var(--gradient);
  box-shadow: 0 10px 24px rgba(230, 57, 70, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(230, 57, 70, 0.45);
}

.btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
}

.btn-secondary {
  color: #fff;
  background: linear-gradient(135deg, #2a9d8f, #1f7a6f);
  box-shadow: 0 10px 24px rgba(42, 157, 143, 0.3);
}

.btn-secondary:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(42, 157, 143, 0.4); }

.btn-ghost {
  color: var(--primary);
  border-color: var(--primary);
  background: transparent;
}

.btn-ghost:hover { background: rgba(230, 57, 70, 0.08); transform: translateY(-3px); }

.btn-sm { padding: 8px 18px; font-size: 0.88rem; }

/* ---------- Hero 区 ---------- */
.hero {
  position: relative;
  background: var(--gradient-dark);
  color: #fff;
  padding: 96px 0 120px;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  pointer-events: none;
}

.hero::before {
  width: 420px; height: 420px;
  background: rgba(230, 57, 70, 0.75);
  top: -120px; right: -80px;
  animation: drift 12s ease-in-out infinite alternate;
}

.hero::after {
  width: 320px; height: 320px;
  background: rgba(42, 157, 143, 0.55);
  bottom: -100px; left: -60px;
  animation: drift 14s ease-in-out infinite alternate-reverse;
}

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(40px, 30px) scale(1.12); }
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 56px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffd9c9;
  margin-bottom: 22px;
  animation: fadeInUp 0.7s ease both;
}

.hero-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  animation: blink 1.6s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.22;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  animation: fadeInUp 0.7s 0.12s ease both;
}

.hero h1 .highlight {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-right: 4px;
}

.hero p.lead {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.86);
  max-width: 560px;
  margin-bottom: 32px;
  animation: fadeInUp 0.7s 0.24s ease both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  animation: fadeInUp 0.7s 0.36s ease both;
}

.hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 40px;
  flex-wrap: wrap;
  animation: fadeInUp 0.7s 0.48s ease both;
}

.hero-stats .stat-num {
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
}

.hero-stats .stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.hero-visual {
  position: relative;
  animation: fadeInRight 0.9s 0.2s ease both;
}

.hero-visual img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  border: 4px solid rgba(255, 255, 255, 0.12);
}

.hero-float-card {
  position: absolute;
  left: -28px;
  bottom: 34px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatY 4s ease-in-out infinite;
}

.hero-float-card .emoji-badge {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--gradient);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
}

.hero-float-card strong { display: block; font-size: 0.92rem; }
.hero-float-card small { color: var(--muted); font-size: 0.78rem; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------- 通用区块 ---------- */
.section { padding: 84px 0; }

.section-alt { background: #fff; }

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 52px;
}

.section-head .kicker {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(230, 57, 70, 0.1);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  color: var(--dark);
  line-height: 1.3;
  margin-bottom: 14px;
}

.section-head p {
  color: var(--muted);
  font-size: 1rem;
}

/* ---------- 特性区 ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(230, 57, 70, 0.35);
}

.feature-icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
}

.feature-icon.c1 { background: linear-gradient(135deg, #e63946, #ff8fa3); box-shadow: 0 8px 20px rgba(230, 57, 70, 0.35); }
.feature-icon.c2 { background: linear-gradient(135deg, #2a9d8f, #6ec6b8); box-shadow: 0 8px 20px rgba(42, 157, 143, 0.35); }
.feature-icon.c3 { background: linear-gradient(135deg, #f4a261, #f6c58c); box-shadow: 0 8px 20px rgba(244, 162, 97, 0.35); }
.feature-icon.c4 { background: linear-gradient(135deg, #7b5bd6, #b59df0); box-shadow: 0 8px 20px rgba(123, 91, 214, 0.35); }

.feature-card h3 {
  font-size: 1.12rem;
  color: var(--dark);
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.93rem;
}

/* ---------- 服务区 ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
}

.service-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--dark);
  color: #fff;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  box-shadow: var(--shadow-md);
  transition: transform 0.32s ease;
}

.service-card:hover { transform: translateY(-8px); }

.service-card img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.5;
  transition: transform 0.5s ease, opacity 0.4s ease;
}

.service-card:hover img { transform: scale(1.06); opacity: 0.62; }

.service-body {
  position: relative;
  z-index: 2;
  padding: 28px;
  background: linear-gradient(180deg, rgba(23, 23, 43, 0), rgba(23, 23, 43, 0.9) 70%);
  width: 100%;
}

.service-body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.service-body p { font-size: 0.92rem; color: rgba(255, 255, 255, 0.82); }
.service-tag {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.78rem;
  font-weight: 600;
}

/* ---------- 资讯卡片 ---------- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.news-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.32s ease, box-shadow 0.32s ease;
  display: flex;
  flex-direction: column;
}

.news-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }

.news-thumb { position: relative; overflow: hidden; }

.news-thumb img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.news-card:hover .news-thumb img { transform: scale(1.08); }

.news-cat {
  position: absolute;
  left: 14px; top: 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(230, 57, 70, 0.92);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
}

.news-cat.cool { background: rgba(42, 157, 143, 0.92); }
.news-cat.warm { background: rgba(244, 162, 97, 0.95); }
.news-cat.purple { background: rgba(123, 91, 214, 0.92); }

.news-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }

.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.news-body h3 {
  font-size: 1.06rem;
  line-height: 1.5;
  color: var(--dark);
  margin-bottom: 10px;
  transition: color 0.25s ease;
}

.news-card:hover .news-body h3 { color: var(--primary); }

.news-body p { font-size: 0.9rem; color: var(--muted); margin-bottom: 16px; flex: 1; }

.news-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.88rem;
  transition: gap 0.25s ease;
}

.news-link:hover { gap: 12px; }

/* ---------- 排行榜 ---------- */
.rank-list {
  counter-reset: rank;
  display: grid;
  gap: 16px;
}

.rank-item {
  counter-increment: rank;
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.rank-item:hover { transform: translateX(6px); box-shadow: var(--shadow-sm); }

.rank-item::before {
  content: counter(rank, decimal-leading-zero);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  min-width: 46px;
  text-align: center;
  background: rgba(230, 57, 70, 0.08);
  border-radius: 10px;
  padding: 6px 0;
}

.rank-item:nth-child(-n+3)::before {
  background: var(--gradient);
  color: #fff;
}

.rank-item h3 { font-size: 0.98rem; margin-bottom: 4px; }
.rank-item p { font-size: 0.8rem; color: var(--muted); }
.rank-heat { font-size: 0.76rem; color: var(--accent); font-weight: 700; white-space: nowrap; }

/* ---------- 双栏布局 ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
}

.split h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--dark);
  line-height: 1.35;
  margin-bottom: 16px;
}

.split p { color: var(--muted); margin-bottom: 16px; }

.check-list li {
  position: relative;
  padding: 8px 0 8px 32px;
  color: var(--text);
  font-size: 0.95rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 8px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(42, 157, 143, 0.15);
  color: var(--secondary);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  background: var(--gradient);
  color: #fff;
  text-align: center;
  padding: 84px 0;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.16), transparent 45%);
}

.cta .container { position: relative; z-index: 2; }

.cta h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  margin-bottom: 14px;
}

.cta p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 620px;
  margin: 0 auto 30px;
}

.cta .btn-cta {
  background: #fff;
  color: var(--primary);
  border: none;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.cta .btn-cta:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24); }

.cta .btn-outline-light {
  border-color: #fff;
  color: #fff;
}

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.72);
  padding-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 44px;
}

.footer-brand .brand { margin-bottom: 14px; }

.footer-brand p { font-size: 0.9rem; max-width: 320px; color: rgba(255, 255, 255, 0.6); }

.footer-col h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 28px; height: 3px;
  border-radius: 3px;
  background: var(--gradient);
}

.footer-col li { margin-bottom: 10px; }

.footer-col a {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.9rem;
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.footer-col a:hover { color: var(--primary-light); padding-left: 6px; }

.footer-contact li { font-size: 0.9rem; display: flex; gap: 8px; align-items: flex-start; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- 页面横幅 ---------- */
.page-hero {
  background: var(--gradient-dark);
  color: #fff;
  padding: 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(230, 57, 70, 0.5);
  filter: blur(70px);
  top: -90px; right: -60px;
}

.page-hero .container { position: relative; z-index: 2; }

.page-hero .crumb {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 12px;
}

.page-hero .crumb a:hover { color: #fff; }

.page-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  margin-bottom: 12px;
}

.page-hero p {
  max-width: 620px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
}

/* ---------- 文章详情 ---------- */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}

.article-main {
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.article-main .article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.article-main .article-meta .tag {
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(230, 57, 70, 0.1);
  color: var(--primary);
  font-weight: 700;
}

.article-main h1 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.35;
  color: var(--dark);
  margin-bottom: 22px;
}

.article-cover {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 26px;
}

.article-body { font-size: 1rem; }

.article-body h2 {
  font-size: 1.3rem;
  color: var(--dark);
  margin: 30px 0 12px;
  padding-left: 12px;
  border-left: 4px solid var(--primary);
}

.article-body h3 {
  font-size: 1.1rem;
  color: var(--dark);
  margin: 22px 0 10px;
}

.article-body p { margin-bottom: 16px; color: #44445a; }

.article-body blockquote {
  margin: 22px 0;
  padding: 18px 22px;
  background: rgba(244, 162, 97, 0.1);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  color: #7a5a38;
  font-style: italic;
}

.article-body ul { margin: 0 0 18px 22px; list-style: disc; color: #44445a; }
.article-body ol { margin: 0 0 18px 22px; list-style: decimal; color: #44445a; }
.article-body li { margin-bottom: 6px; }

.article-body img {
  border-radius: 12px;
  margin: 18px 0;
  width: 100%;
}

.article-body figure { margin: 22px 0; }
.article-body figcaption { font-size: 0.82rem; color: var(--muted); text-align: center; margin-top: 8px; }

.article-share {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 22px;
  margin-top: 28px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}

.share-btn {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
  transition: all 0.25s ease;
}

.share-btn:hover { color: var(--primary); border-color: var(--primary); background: rgba(230, 57, 70, 0.06); }

.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 26px;
}

.article-nav a {
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  font-size: 0.88rem;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.article-nav a:hover { border-color: var(--primary); transform: translateY(-3px); }

.article-nav .prev { text-align: left; }
.article-nav .next { text-align: right; }
.article-nav small { display: block; color: var(--muted); font-size: 0.76rem; margin-bottom: 4px; }

/* ---------- 侧边栏 ---------- */
.sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 24px;
}

.sidebar-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.sidebar-card h2 {
  font-size: 1.05rem;
  color: var(--dark);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(230, 57, 70, 0.15);
}

.sidebar-card .mini-list li {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.88rem;
}

.sidebar-card .mini-list li:last-child { border-bottom: none; }

.sidebar-card .mini-list img {
  width: 68px; height: 50px;
  object-fit: cover;
  border-radius: 8px;
  flex: 0 0 68px;
}

.sidebar-card .mini-list a:hover { color: var(--primary); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; display: grid; gap: 16px; }

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.28s ease;
}

.faq-item:hover { box-shadow: var(--shadow-sm); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  text-align: left;
}

.faq-q .faq-icon {
  flex: 0 0 28px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(230, 57, 70, 0.1);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--primary); color: #fff; }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 22px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.85;
}

.faq-item.open .faq-a { max-height: 600px; padding: 0 22px 20px; }

/* ---------- 产品页 ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 26px;
  align-items: stretch;
}

.price-card {
  background: var(--card-bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

.price-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: rgba(230, 57, 70, 0.3); }

.price-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.price-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 5px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.price-card h3 { font-size: 1.2rem; color: var(--dark); margin-bottom: 8px; }

.price-card .price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

.price-card .price small { font-size: 0.9rem; color: var(--muted); font-weight: 500; }

.price-card .price-desc { font-size: 0.86rem; color: var(--muted); margin-bottom: 18px; }

.price-features { margin-bottom: 24px; flex: 1; }

.price-features li {
  position: relative;
  padding: 7px 0 7px 28px;
  font-size: 0.9rem;
  color: #44445a;
}

.price-features li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 7px;
  color: var(--secondary);
  font-weight: 800;
}

/* ---------- 表单 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.form-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--dark);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fcfbf9;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.1);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.contact-info-card {
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius);
  padding: 32px;
}

.contact-info-card h2 { font-size: 1.3rem; margin-bottom: 16px; }

.contact-info-card p { color: rgba(255, 255, 255, 0.75); font-size: 0.95rem; margin-bottom: 22px; }

.contact-info-card li {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.93rem;
}

.contact-info-card li:last-child { border-bottom: none; }

.contact-info-card .ci-icon {
  flex: 0 0 36px;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(230, 57, 70, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  font-weight: 800;
}

/* ---------- 关于页 ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.value-card {
  text-align: center;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.value-card .value-num {
  width: 54px; height: 54px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.value-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.value-card p { font-size: 0.9rem; color: var(--muted); }

.timeline { max-width: 760px; margin: 0 auto; }

.timeline-item {
  position: relative;
  padding: 0 0 32px 34px;
  border-left: 2px solid rgba(230, 57, 70, 0.25);
  margin-left: 12px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -8px; top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--gradient);
  box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.12);
}

.timeline-item .tl-year {
  font-weight: 800;
  color: var(--primary);
  font-size: 0.92rem;
  margin-bottom: 4px;
}

.timeline-item h3 { font-size: 1.05rem; color: var(--dark); margin-bottom: 6px; }
.timeline-item p { font-size: 0.9rem; color: var(--muted); }

/* ---------- 统计条 ---------- */
.stats-band {
  background: var(--gradient-dark);
  color: #fff;
  padding: 56px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  text-align: center;
}

.stats-grid .stat-num { font-size: 2rem; font-weight: 800; margin-bottom: 4px; }
.stats-grid .stat-label { font-size: 0.88rem; color: rgba(255, 255, 255, 0.7); }

/* ---------- 滚动显现 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ---------- 回到顶部 ---------- */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  z-index: 99;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

.back-to-top:hover { transform: translateY(-4px); }

/* ---------- 动画 ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 72px 0 96px; }
  .hero-visual { max-width: 620px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .article-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--dark);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 5%;
    gap: 4px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav-menu.open { max-height: 460px; opacity: 1; padding-top: 16px; padding-bottom: 16px; }
  .nav-menu a { padding: 12px 14px; }
  .nav-cta { margin-left: 0; margin-top: 8px; }
  .section { padding: 60px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-stats { gap: 22px; }
  .hero-float-card { left: 8px; bottom: 14px; }
  .article-main { padding: 24px; }
  .article-nav { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .brand { font-size: 1.1rem; }
  .news-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.85rem; }
  .hero-actions .btn { width: 100%; }
  .btn { padding: 11px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
