/* ===================================================================
   狗狗加速 (GouGou Speed) - Mischievous Corgi-Orange Pop Minimalism
   Squishy Spring Physics & Playful Tactile UI
   =================================================================== */

:root {
  /* 暖调奶油与柯基橙主色调 (白天模式) */
  --bg-canvas: #FFFBF4;
  --bg-card: #FFFFFF;
  --bg-card-subtle: #FDF6EC;
  --bg-nav: rgba(255, 251, 244, 0.88);
  --border-tactile: #1E1612;
  --border-subtle: rgba(30, 22, 18, 0.1);
  --border-focus: #FF6B2C;
  --text-primary: #1E1612; /* 深浓缩咖啡色 Deep Espresso */
  --text-secondary: #574B45;
  --text-muted: #8A7B73;
  --corgi-orange: #FF6B2C; /* 鲜活柯基橙 */
  --corgi-orange-hover: #E85517;
  --corgi-orange-light: rgba(255, 107, 44, 0.1);
  --mustard-yellow: #FACC15; /* 明亮芥末黄 */
  --mustard-yellow-light: rgba(250, 204, 21, 0.15);
  --mint-green: #10B981; /* 活力薄荷绿 */
  --mint-green-light: rgba(16, 185, 129, 0.12);
  --card-shadow: 0 10px 0 rgba(30, 22, 18, 0.04), 0 20px 30px -10px rgba(255, 107, 44, 0.08);
  --tactile-shadow: 0 4px 0 #1E1612;
  --tactile-shadow-hover: 0 6px 0 #1E1612;
  --tactile-shadow-active: 0 1px 0 #1E1612;
  --squishy-ease: cubic-bezier(0.34, 1.56, 0.64, 1); /* 果冻弹簧回弹曲线 */
  --theme-toggle-bg: #FFFFFF;
  --table-head-bg: #FDF6EC;
  --table-border: rgba(30, 22, 18, 0.08);
}

[data-theme="dark"] {
  /* 柯基暖黑模式 (深夜咖啡与温润黑炭) */
  --bg-canvas: #15110E;
  --bg-card: #211B17;
  --bg-card-subtle: #2A221C;
  --bg-nav: rgba(21, 17, 14, 0.88);
  --border-tactile: #FDF6EC;
  --border-subtle: rgba(253, 246, 236, 0.12);
  --border-focus: #FF7D45;
  --text-primary: #FDF6EC;
  --text-secondary: #D4C5BB;
  --text-muted: #9E8E83;
  --corgi-orange: #FF7D45;
  --corgi-orange-hover: #FF9263;
  --corgi-orange-light: rgba(255, 125, 69, 0.18);
  --mustard-yellow: #FCD34D;
  --mustard-yellow-light: rgba(252, 211, 77, 0.15);
  --mint-green: #34D399;
  --mint-green-light: rgba(52, 211, 153, 0.15);
  --card-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.6);
  --tactile-shadow: 0 4px 0 #3A2F27;
  --tactile-shadow-hover: 0 6px 0 #3A2F27;
  --tactile-shadow-active: 0 1px 0 #3A2F27;
  --theme-toggle-bg: #2A221C;
  --table-head-bg: #2A221C;
  --table-border: rgba(253, 246, 236, 0.1);
}

/* 基础重置 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  scroll-behavior: smooth;
  font-size: 16px;
  line-height: 1.6;
}

body {
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color 0.35s ease, color 0.35s ease;
  overflow-x: hidden;
  position: relative;
}

/* 页面装饰软几何微光 */
body::before {
  content: "";
  position: fixed;
  top: -150px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--corgi-orange-light) 0%, rgba(250, 204, 21, 0.05) 50%, transparent 70%);
  pointer-events: none;
  z-index: -1;
  filter: blur(80px);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s var(--squishy-ease);
}

/* ================= 导航条 (Sticky Navbar) ================= */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background: var(--bg-nav);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 2px solid var(--border-subtle);
  z-index: 1000;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.75rem;
}

/* 品牌 Logo 与萌趣几何狗狗摇耳动效 */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 800;
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  cursor: pointer;
}

.brand-emblem {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  transition: transform 0.4s var(--squishy-ease);
}

.brand-emblem-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 12px;
  flex-shrink: 0;
  transition: transform 0.35s var(--squishy-ease);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.08));
}

.brand-logo:hover .brand-emblem-img {
  transform: rotate(-6deg) scale(1.1);
}

.brand-logo:hover .brand-emblem {
  transform: rotate(-6deg) scale(1.08);
}

/* 摇尾巴微动效 */
.brand-logo:hover .corgi-tail {
  transform-origin: 28px 24px;
  animation: wagTail 0.4s ease-in-out infinite alternate;
}

@keyframes wagTail {
  0% { transform: rotate(-10deg); }
  100% { transform: rotate(18deg); }
}

.brand-accent {
  color: var(--corgi-orange);
}

/* 导航目录 (含首页及每个板块锚点 + 推荐资讯入口) */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  background: var(--bg-card-subtle);
  padding: 0.35rem 0.6rem;
  border-radius: 9999px;
  border: 1.5px solid var(--border-subtle);
}

.nav-item-link {
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: 9999px;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.25s var(--squishy-ease);
}

.nav-item-link:hover {
  background: var(--bg-card);
  color: var(--corgi-orange);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(30, 22, 18, 0.06);
}

/* 推荐资讯高亮小徽章 */
.nav-badge-news {
  font-size: 0.7rem;
  padding: 0.1rem 0.45rem;
  border-radius: 9999px;
  background: var(--mustard-yellow);
  color: #1E1612;
  font-weight: 800;
  margin-left: 0.2rem;
  letter-spacing: -0.02em;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* 精致半透明昼夜切换按钮 */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--theme-toggle-bg);
  border: 2px solid var(--border-subtle);
  border-radius: 50%;
  cursor: pointer;
  color: var(--text-primary);
  transition: all 0.3s var(--squishy-ease);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  outline: none;
}

.theme-toggle-btn:hover {
  border-color: var(--corgi-orange);
  color: var(--corgi-orange);
  transform: scale(1.1) rotate(15deg);
  box-shadow: 0 4px 12px var(--corgi-orange-light);
}

.theme-toggle-btn svg {
  width: 20px;
  height: 20px;
}

/* 按钮规范与果冻弹簧回弹 (Squishy Spring Physics) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 9999px;
  transition: transform 0.25s var(--squishy-ease), box-shadow 0.25s var(--squishy-ease), background-color 0.2s ease;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  outline: none;
  user-select: none;
}

.btn:active {
  transform: scale(0.96) translateY(2px) !important;
}

.btn-corgi {
  background-color: var(--corgi-orange);
  color: #FFFFFF !important;
  box-shadow: 0 4px 0 #B93E08, 0 8px 18px rgba(255, 107, 44, 0.35);
}

.btn-corgi:hover {
  background-color: var(--corgi-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 #B93E08, 0 12px 22px rgba(255, 107, 44, 0.45);
}

.btn-mustard {
  background-color: var(--bg-card);
  border: 2px solid var(--mustard-yellow);
  color: var(--text-primary) !important;
  box-shadow: 0 4px 0 rgba(250, 204, 21, 0.4);
}

.btn-mustard:hover {
  background-color: var(--mustard-yellow-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 rgba(250, 204, 21, 0.5);
}

.btn-secondary {
  background-color: var(--bg-card-subtle);
  border: 1.5px solid var(--border-subtle);
  color: var(--text-primary);
}

.btn-secondary:hover {
  border-color: var(--corgi-orange);
  color: var(--corgi-orange);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 0.95rem 2.2rem;
  font-size: 1.05rem;
}

/* ================= 主视觉区 (Hero Section: 2-Column Split) ================= */
.hero {
  padding: 4.5rem 0 4rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

/* 左侧文案列 */
.hero-left {
  display: flex;
  flex-direction: column;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background: var(--corgi-orange-light);
  color: var(--corgi-orange);
  border: 1.5px solid rgba(255, 107, 44, 0.25);
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 700;
  width: fit-content;
  margin-bottom: 1.5rem;
  white-space: nowrap;
}

.hero-tag .tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--corgi-orange);
  animation: pulseDot 1.6s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: 1.18rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 2.25rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

/* 3个趣味状态胶囊 Stat Pills */
.hero-stat-pills {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--bg-card);
  border: 1.5px solid var(--border-subtle);
  border-radius: 9999px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-primary);
  box-shadow: 0 2px 5px rgba(30, 22, 18, 0.04);
  white-space: nowrap;
}

.stat-pill svg {
  width: 16px;
  height: 16px;
  color: var(--corgi-orange);
}

/* 右侧：交互式“捡飞盘”测速卡片 (Fetch Latency Widget) */
.latency-widget-card {
  background: var(--bg-card);
  border: 2px solid var(--border-tactile);
  border-radius: 28px;
  padding: 2.25rem;
  box-shadow: 6px 8px 0 var(--corgi-orange), 0 20px 30px rgba(30, 22, 18, 0.06);
  position: relative;
  transition: transform 0.3s var(--squishy-ease);
}

.latency-widget-card:hover {
  transform: translateY(-4px);
}

.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.widget-title {
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.widget-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.25rem 0.7rem;
  background: var(--mint-green-light);
  color: var(--mint-green);
  border-radius: 9999px;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.widget-live-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mint-green);
}

/* 城市胶囊选择器 */
.city-pills-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.city-pill-btn {
  padding: 0.6rem 0.5rem;
  background: var(--bg-card-subtle);
  border: 1.5px solid var(--border-subtle);
  border-radius: 14px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  text-align: center;
  transition: all 0.25s var(--squishy-ease);
  outline: none;
}

.city-pill-btn:hover {
  border-color: var(--corgi-orange);
  color: var(--corgi-orange);
  transform: translateY(-2px);
}

.city-pill-btn.active {
  background: var(--corgi-orange);
  color: #FFFFFF;
  border-color: var(--corgi-orange);
  box-shadow: 0 4px 10px rgba(255, 107, 44, 0.3);
  transform: scale(1.04);
}

/* 动态节点飞盘地图画布 */
.fetch-map-canvas {
  width: 100%;
  height: 180px;
  background: var(--bg-card-subtle);
  border: 1.5px dashed var(--border-subtle);
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.fetch-svg {
  width: 100%;
  height: 100%;
}

/* 动态虚线轨迹动画 */
.trajectory-arc {
  stroke-dasharray: 6 6;
  animation: dashMove 1s linear infinite;
}

@keyframes dashMove {
  to {
    stroke-dashoffset: -24;
  }
}

/* 测速结果弹出徽章 */
.latency-result-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card-subtle);
  padding: 1rem 1.25rem;
  border-radius: 16px;
  border: 1.5px solid var(--border-subtle);
}

.latency-metric {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
}

.latency-value {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
}

.latency-unit {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--corgi-orange);
}

.latency-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  background: var(--mint-green);
  color: #FFFFFF;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
  transition: all 0.3s var(--squishy-ease);
}

/* ================= 通用板块标题 ================= */
.section {
  padding: 5.5rem 0;
}

.section-cream {
  background-color: var(--bg-card-subtle);
  border-top: 2px solid var(--border-subtle);
  border-bottom: 2px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--corgi-orange);
  background: var(--corgi-orange-light);
  padding: 0.3rem 0.9rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
  color: var(--text-primary);
}

.section-desc {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ================= Bento 核心优势三卡片 ================= */
.bento-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.bento-card {
  background: var(--bg-card);
  border: 2px solid var(--border-subtle);
  border-radius: 26px;
  padding: 2.5rem 2rem;
  box-shadow: var(--card-shadow);
  transition: all 0.35s var(--squishy-ease);
  position: relative;
  display: flex;
  flex-direction: column;
}

.bento-card:hover {
  transform: translateY(-8px);
  border-color: var(--corgi-orange);
  box-shadow: 0 8px 0 var(--border-tactile), 0 20px 30px rgba(255, 107, 44, 0.15);
}

.bento-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.35s var(--squishy-ease);
}

.bento-card:hover .bento-icon-box {
  transform: scale(1.1) rotate(5deg);
}

.bento-icon-orange {
  background: var(--corgi-orange-light);
  color: var(--corgi-orange);
}

.bento-icon-yellow {
  background: var(--mustard-yellow-light);
  color: #D97706;
}

.bento-icon-green {
  background: var(--mint-green-light);
  color: var(--mint-green);
}

.bento-icon-box svg {
  width: 30px;
  height: 30px;
}

.bento-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
  color: var(--text-primary);
}

.bento-card p {
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.bento-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.bento-tag-item {
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 8px;
  background: var(--bg-card-subtle);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}

/* ================= 流媒体图卡 & AI 支持图卡 ================= */
.spotlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.spotlight-card {
  background: var(--bg-card);
  border: 2px solid var(--border-subtle);
  border-radius: 28px;
  padding: 2.75rem 2.25rem;
  box-shadow: var(--card-shadow);
  transition: all 0.35s var(--squishy-ease);
}

.spotlight-card:hover {
  transform: translateY(-6px);
  border-color: var(--corgi-orange);
  box-shadow: 0 8px 0 var(--border-tactile), 0 20px 30px rgba(255, 107, 44, 0.12);
}

.spotlight-badge {
  display: inline-block;
  padding: 0.35rem 0.95rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  white-space: nowrap;
}

.badge-stream {
  background: rgba(239, 68, 68, 0.12);
  color: #DC2626;
  border: 1.5px solid rgba(239, 68, 68, 0.25);
}

.badge-ai {
  background: var(--mint-green-light);
  color: var(--mint-green);
  border: 1.5px solid rgba(16, 185, 129, 0.25);
}

.spotlight-card h3 {
  font-size: 1.7rem;
  font-weight: 900;
  margin-bottom: 0.85rem;
}

.spotlight-card p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.pill-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.media-pill {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  background: var(--bg-card-subtle);
  border: 1.5px solid var(--border-subtle);
  border-radius: 14px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}

.media-pill svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.pill-status {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--mint-green);
  font-weight: 800;
}

/* ================= 真实套餐价格对比表 (Pricing) ================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.price-card {
  background: var(--bg-card);
  border: 2px solid var(--border-subtle);
  border-radius: 28px;
  padding: 2.75rem 2.25rem;
  display: flex;
  flex-direction: column;
  transition: all 0.35s var(--squishy-ease);
  position: relative;
  box-shadow: var(--card-shadow);
}

.price-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-tactile);
  box-shadow: 0 8px 0 var(--border-tactile), 0 25px 35px rgba(30, 22, 18, 0.08);
}

/* 热门爆款卡片 */
.price-card.featured {
  border: 2.5px solid var(--corgi-orange);
  background: var(--bg-card);
  box-shadow: 0 6px 0 var(--corgi-orange), 0 20px 40px rgba(255, 107, 44, 0.15);
  transform: scale(1.03);
}

.price-card.featured:hover {
  transform: scale(1.03) translateY(-8px);
}

.popular-flag {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--corgi-orange);
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.38rem 1.4rem;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(255, 107, 44, 0.35);
  white-space: nowrap; /* 保持单行显示，禁止折行 */
  z-index: 10;
}

.price-tier-name {
  font-size: 1.45rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.price-tier-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  min-height: 44px;
}

.price-value-box {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px dashed var(--border-subtle);
}

.price-currency {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--corgi-orange);
}

.price-amount {
  font-size: 3.25rem;
  font-weight: 900;
  line-height: 1;
  color: var(--text-primary);
}

.price-period {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
  flex-grow: 1;
}

.price-features li {
  font-size: 0.94rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.price-features svg {
  width: 18px;
  height: 18px;
  color: var(--mint-green);
  flex-shrink: 0;
}

.price-card .btn {
  width: 100%;
}

/* 详细参数对比表 */
.pricing-table-container {
  margin-top: 3.5rem;
  background: var(--bg-card);
  border: 2px solid var(--border-subtle);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.pricing-table th,
.pricing-table td {
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid var(--table-border);
}

.pricing-table th {
  background: var(--table-head-bg);
  font-weight: 800;
  color: var(--text-primary);
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

.pricing-table .check-icon {
  color: var(--mint-green);
  font-weight: 900;
}

/* ================= 用户评价 (Testimonials) ================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 2px solid var(--border-subtle);
  border-radius: 24px;
  padding: 2.25rem 2rem;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s var(--squishy-ease);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--corgi-orange);
}

.bone-rating {
  color: var(--mustard-yellow);
  margin-bottom: 1rem;
  display: flex;
  gap: 0.25rem;
}

.bone-rating svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.testimonial-content {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--corgi-orange-light);
  color: var(--corgi-orange);
  border: 1.5px solid rgba(255, 107, 44, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.author-info h4 {
  font-size: 0.95rem;
  font-weight: 800;
}

.author-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ================= 常见问题解答 (FAQ) ================= */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  background: var(--bg-card);
  border: 2px solid var(--border-subtle);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: border-color 0.25s ease;
}

.faq-item:hover {
  border-color: var(--corgi-orange);
}

.faq-summary {
  padding: 1.35rem 1.75rem;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  list-style: none;
}

.faq-summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 22px;
  height: 22px;
  color: var(--text-muted);
  transition: transform 0.3s var(--squishy-ease), color 0.3s ease;
  flex-shrink: 0;
}

details[open] .faq-icon {
  transform: rotate(180deg);
  color: var(--corgi-orange);
}

.faq-body {
  padding: 0 1.75rem 1.5rem;
  color: var(--text-secondary);
  font-size: 0.96rem;
  line-height: 1.75;
  border-top: 1.5px dashed var(--border-subtle);
  margin-top: 0.5rem;
  padding-top: 1.25rem;
}

/* ================= 底部 CTA 横幅 ================= */
.cta-banner {
  margin: 4.5rem 0 2rem;
  background: var(--corgi-orange);
  border: 3px solid var(--border-tactile);
  border-radius: 32px;
  padding: 3.5rem 2.5rem;
  text-align: center;
  color: #FFFFFF;
  box-shadow: 8px 8px 0 var(--border-tactile), 0 20px 40px rgba(255, 107, 44, 0.35);
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.cta-banner p {
  font-size: 1.15rem;
  opacity: 0.95;
  max-width: 620px;
  margin: 0 auto 2.25rem;
}

.cta-banner .btn {
  background: #FFFFFF;
  color: #1E1612 !important;
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
  box-shadow: 0 4px 0 #D4C5BB;
}

.cta-banner .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 0 #D4C5BB;
}

/* ================= 页脚 (Footer) ================= */
/* 严格要求：页脚只保留这四个标题，内容打开新的页面展示 */
.site-footer {
  background: var(--bg-card-subtle);
  border-top: 2px solid var(--border-subtle);
  padding: 3.5rem 0 2.5rem;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.75rem;
  flex-wrap: wrap;
}

.footer-nav-link {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text-primary);
  position: relative;
  padding-bottom: 4px;
}

.footer-nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2.5px;
  background: var(--corgi-orange);
  transition: width 0.3s var(--squishy-ease);
}

.footer-nav-link:hover {
  color: var(--corgi-orange);
}

.footer-nav-link:hover::after {
  width: 100%;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.footer-brand svg {
  width: 24px;
  height: 24px;
}

.footer-copyright {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ================= 内容页规范 (About, Terms, Privacy, Sitemap, News) ================= */
.doc-page {
  padding: 3.5rem 0 5rem;
}

.doc-card {
  background: var(--bg-card);
  border: 2px solid var(--border-subtle);
  border-radius: 28px;
  padding: 3.5rem 3rem;
  box-shadow: var(--card-shadow);
  max-width: 900px;
  margin: 0 auto;
}

.doc-header {
  border-bottom: 2px dashed var(--border-subtle);
  padding-bottom: 2rem;
  margin-bottom: 2.5rem;
}

.doc-header h1 {
  font-size: 2.4rem;
  font-weight: 900;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.doc-header p {
  color: var(--text-muted);
  font-size: 0.98rem;
}

.doc-section {
  margin-bottom: 3rem;
}

.doc-section h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.doc-section h2 svg {
  color: var(--corgi-orange);
}

.doc-section p, .doc-section li {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 0.85rem;
}

.doc-section ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.doc-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0;
}

.doc-badge {
  padding: 0.45rem 1rem;
  background: var(--bg-card-subtle);
  color: var(--text-primary);
  border: 1.5px solid var(--border-subtle);
  border-radius: 12px;
  font-size: 0.86rem;
  font-weight: 700;
}

/* ================= 文章页与内容门户样式 (Article Layout & News Portal) ================= */
.news-hero {
  text-align: center;
  padding: 3rem 0 2.5rem;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.news-card {
  background: var(--bg-card);
  border: 2px solid var(--border-subtle);
  border-radius: 24px;
  padding: 2.25rem 2rem;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--squishy-ease);
  position: relative;
}

.news-card:hover {
  transform: translateY(-6px);
  border-color: var(--corgi-orange);
  box-shadow: 0 8px 0 var(--border-tactile), 0 20px 30px rgba(255, 107, 44, 0.12);
}

.news-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--corgi-orange);
  background: var(--corgi-orange-light);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  width: fit-content;
  margin-bottom: 1rem;
}

.news-card-title {
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1.45;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.news-card-excerpt {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.news-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1.5px dashed var(--border-subtle);
  padding-top: 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.news-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--corgi-orange);
  font-weight: 700;
}

/* 深度长篇科普文章排版 */
.article-header {
  margin-bottom: 2.5rem;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* 目录 (TOC) 样式 */
.article-toc {
  background: var(--bg-card-subtle);
  border: 2px solid var(--border-subtle);
  border-radius: 20px;
  padding: 1.75rem 2rem;
  margin: 2rem 0 3rem;
}

.toc-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.toc-title svg {
  color: var(--corgi-orange);
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-left: 0.5rem;
}

.toc-list li a {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.toc-list li a:hover {
  color: var(--corgi-orange);
  transform: translateX(4px);
}

/* 文章正文段落与高亮引用 */
.article-body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-secondary);
}

.article-body h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 3rem 0 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-subtle);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.article-body h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 2rem 0 0.85rem;
}

.article-body p {
  margin-bottom: 1.25rem;
}

.article-body strong {
  color: var(--text-primary);
}

.article-callout {
  background: var(--bg-card-subtle);
  border-left: 4px solid var(--corgi-orange);
  border-radius: 0 16px 16px 0;
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
  font-size: 0.98rem;
  color: var(--text-primary);
}

.article-body ul, .article-body ol {
  padding-left: 1.75rem;
  margin-bottom: 1.5rem;
}

.article-body li {
  margin-bottom: 0.5rem;
}

/* 内链高亮 */
.inline-link {
  color: var(--corgi-orange);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.inline-link:hover {
  color: var(--corgi-orange-hover);
}

/* 相关阅读区域 */
.related-reading {
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 2px dashed var(--border-subtle);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.related-card {
  background: var(--bg-card-subtle);
  border: 1.5px solid var(--border-subtle);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  transition: all 0.25s var(--squishy-ease);
}

.related-card:hover {
  border-color: var(--corgi-orange);
  transform: translateY(-3px);
  background: var(--bg-card);
}

.related-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.related-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 768px) {
  .news-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }
}


/* ================= 移动端响应式 (@media) ================= */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .bento-features-grid,
  .pricing-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .price-card.featured {
    transform: none;
  }
  .price-card.featured:hover {
    transform: translateY(-8px);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }

  .nav-menu {
    display: none; /* 手机端导航折叠保持整洁，操作栏突出 */
  }

  .hero {
    padding: 3rem 0 2.5rem;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    min-height: 48px;
  }

  .bento-features-grid,
  .spotlight-grid,
  .pricing-grid,
  .testimonials-grid {
    grid-template-columns: 1fr; /* 手机端单栏展示 */
    gap: 1.5rem;
  }

  .pill-grid {
    grid-template-columns: 1fr;
  }

  .pricing-table-container {
    overflow-x: auto;
  }

  .pricing-table {
    min-width: 580px;
  }

  .footer-nav {
    flex-direction: column;
    gap: 1.25rem;
  }

  .doc-card {
    padding: 2rem 1.25rem;
  }

  .doc-header h1 {
    font-size: 1.85rem;
  }
}
