/* ==========================================================================
   肯の机官网 (kendejijc.best) - 原生核心样式表
   零重型框架依赖 · 纯 CSS · 鲜红主题 · 秒开加载 · 完美无障碍支持
   ========================================================================== */

:root {
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --bg-primary: #0b0f19;
  --bg-secondary: #111827;
  --bg-card: #1a2234;
  --bg-card-hover: #222d44;
  --text-primary: #f3f4f6;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  
  /* 鲜红色核心主色调 (Vivid Red Palette) */
  --accent-primary: #e60026;
  --accent-hover: #cc0020;
  --accent-glow: rgba(230, 0, 38, 0.35);
  --accent-badge: #b3001c;
  --accent-light: #ff6b81;
  --accent-soft: #ff8597;
  --border-color: #2e384d;
  --border-focus: #ff4d6d;
  
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --container-max-width: 1200px;
  --border-radius-sm: 6px;
  --border-radius-md: 10px;
  --border-radius-lg: 16px;
  --header-height: 72px;
  --transition-speed: 0.2s;
}

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

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* 键盘跳过直达入口 (无障碍入口) */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--accent-primary);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  z-index: 9999;
  font-weight: 600;
  border-radius: var(--border-radius-sm);
  text-decoration: none;
  transition: top var(--transition-speed);
}
.skip-link:focus {
  top: 1rem;
  outline: 3px solid #ffffff;
}

/* 锚点防遮挡 */
h1, h2, h3, h4, section, article {
  scroll-margin-top: calc(var(--header-height) + 1.5rem);
}

a {
  color: var(--accent-light);
  text-decoration: none;
  transition: color var(--transition-speed);
}
a:hover {
  color: #ffa3b1;
  text-decoration: underline;
}
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--border-focus);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

/* ==========================================================================
   页眉与导航
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  height: var(--header-height);
  background-color: rgba(11, 15, 25, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  display: flex;
  align-items: center;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.site-logo:hover {
  text-decoration: none;
  color: #ffffff;
}
.logo-badge {
  background: linear-gradient(135deg, #e60026, #ff4d6d);
  color: #ffffff;
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: var(--border-radius-sm);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(230, 0, 38, 0.35);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-list {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 1.25rem;
}
.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.25rem;
  display: inline-block;
  min-height: 44px;
  line-height: 28px;
}
.nav-link:hover, .nav-link.active {
  color: #ffffff;
  text-decoration: none;
}
.nav-link.highlight {
  color: var(--accent-light);
  font-weight: 600;
}

/* ==========================================================================
   按钮组件 (CTA)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--border-radius-md);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-speed) ease;
  min-height: 44px;
  min-width: 44px;
  line-height: 1.2;
  border: 1px solid transparent;
  text-align: center;
}
.btn:hover {
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, #e60026, #cc0020);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--accent-glow);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #cc0020, #990018);
  box-shadow: 0 6px 20px rgba(230, 0, 38, 0.5);
  transform: translateY(-1px);
  color: #ffffff;
}
.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border-color);
}
.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-primary);
  color: #ffffff;
}
.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.875rem;
  min-height: 44px;
}
.btn-lg {
  padding: 0.9rem 2rem;
  font-size: 1.125rem;
}

/* ==========================================================================
   Hero 主视觉区与两侧超大音浪向外扩展特效 (3X 大尺寸震撼音浪特效)
   ========================================================================== */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0 4.5rem;
  background: radial-gradient(circle at 50% 25%, rgba(230, 0, 38, 0.18) 0%, transparent 68%);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}
.hero-content {
  position: relative;
  z-index: 5;
  max-width: 860px;
  margin: 0 auto;
}

/* 音浪主体容器 (尺寸放大3倍) */
.hero-soundwave {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 680px;
  height: 560px;
  pointer-events: none;
  z-index: 1;
  display: flex;
  align-items: center;
}
.hero-soundwave-left {
  left: -40px;
  justify-content: flex-start;
  padding-left: 2rem;
}
.hero-soundwave-right {
  right: -40px;
  justify-content: flex-start;
  padding-left: 2rem;
  transform: translateY(-50%) scaleX(-1); /* 镜像翻转，使超大波形朝屏幕右侧深度扩展 */
}

/* 前排音浪图层 (在两侧音浪前面生成的同款第二排立体音浪) */
.hero-soundwave.hero-soundwave-front {
  z-index: 2;
  opacity: 0.92;
}
.hero-soundwave-left.hero-soundwave-front {
  left: 110px; /* 前置向内错位，形成前后双排重叠递进的立体音浪 */
}
.hero-soundwave-right.hero-soundwave-front {
  right: 110px;
  transform: translateY(-50%) scaleX(-1);
}
.hero-soundwave-front .sound-bar {
  background: linear-gradient(180deg, #ffffff 0%, #ff4d6d 35%, #e60026 75%, rgba(230, 0, 38, 0.1) 100%);
  box-shadow: 0 0 20px rgba(255, 77, 109, 0.85), 0 0 38px rgba(230, 0, 38, 0.6);
  animation-duration: 1.5s;
}
.hero-soundwave-front .wave-ring {
  border-left-color: rgba(255, 140, 160, 0.9);
  animation-duration: 2.5s;
  animation-delay: -0.6s;
}

/* 动态音浪频谱柱条 (3倍粗度与高度) */
.sound-bars {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 340px;
  z-index: 2;
}
.sound-bar {
  width: 10px;
  min-height: 25px;
  border-radius: 9999px;
  background: linear-gradient(180deg, #ff6b81 0%, #e60026 55%, rgba(230, 0, 38, 0.15) 100%);
  box-shadow: 0 0 16px rgba(230, 0, 38, 0.75), 0 0 32px rgba(255, 77, 109, 0.4);
  animation: soundBarPulse 1.8s ease-in-out infinite alternate;
}
.sound-bar:nth-child(1) { height: 80px;  animation-delay: 0.1s;  animation-duration: 1.4s; }
.sound-bar:nth-child(2) { height: 160px; animation-delay: 0.35s; animation-duration: 1.7s; }
.sound-bar:nth-child(3) { height: 255px; animation-delay: 0.15s; animation-duration: 2.1s; }
.sound-bar:nth-child(4) { height: 330px; animation-delay: 0.5s;  animation-duration: 1.6s; }
.sound-bar:nth-child(5) { height: 220px; animation-delay: 0.25s; animation-duration: 1.9s; }
.sound-bar:nth-child(6) { height: 285px; animation-delay: 0.4s;  animation-duration: 1.5s; }
.sound-bar:nth-child(7) { height: 140px; animation-delay: 0.6s;  animation-duration: 2.2s; }
.sound-bar:nth-child(8) { height: 68px;  animation-delay: 0.2s;  animation-duration: 1.3s; }

@keyframes soundBarPulse {
  0% {
    transform: scaleY(0.28);
    opacity: 0.4;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
    filter: drop-shadow(0 0 16px #ff4d6d) drop-shadow(0 0 30px rgba(230, 0, 38, 0.9));
  }
  100% {
    transform: scaleY(0.45);
    opacity: 0.55;
  }
}

/* 向外大幅扩展的同心音浪巨环 (3倍大尺寸巨浪) */
.wave-rings {
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  pointer-events: none;
  z-index: 1;
}
.wave-ring {
  position: absolute;
  top: 50%;
  left: 0;
  width: 320px;
  height: 540px;
  border-radius: 50%;
  border-left: 6px solid rgba(255, 77, 109, 0.85);
  border-top: 3.5px solid rgba(230, 0, 38, 0.5);
  border-bottom: 3.5px solid rgba(230, 0, 38, 0.5);
  border-right: none;
  transform: translateY(-50%);
  animation: waveExpandOut 2.8s cubic-bezier(0.18, 0.65, 0.35, 1) infinite;
  filter: drop-shadow(0 0 25px rgba(230, 0, 38, 0.85)) drop-shadow(0 0 50px rgba(255, 77, 109, 0.5));
}
.wave-ring.ring-1 {
  animation-delay: 0s;
}
.wave-ring.ring-2 {
  animation-delay: 0.9s;
}
.wave-ring.ring-3 {
  animation-delay: 1.8s;
}

@keyframes waveExpandOut {
  0% {
    transform: translateY(-50%) translateX(40px) scale(0.35);
    opacity: 0;
  }
  25% {
    opacity: 0.9;
  }
  75% {
    opacity: 0.5;
  }
  100% {
    transform: translateY(-50%) translateX(-280px) scale(2.4);
    opacity: 0;
  }
}

@media (max-width: 1200px) {
  .hero-soundwave {
    width: 380px;
    height: 400px;
    opacity: 0.75;
  }
  .sound-bar {
    width: 7px;
  }
  .sound-bars {
    gap: 10px;
  }
}

@media (max-width: 860px) {
  .hero-soundwave {
    display: none;
  }
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(230, 0, 38, 0.15);
  border: 1px solid rgba(230, 0, 38, 0.35);
  color: var(--accent-soft);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
}
.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 1rem;
}
.hero-subtitle {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--accent-soft);
  margin-bottom: 1.25rem;
}
.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.hero-meta-points {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.hero-meta-points span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* ==========================================================================
   功能区块通用样式
   ========================================================================== */
.section {
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--border-color);
}
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}
.section-tag {
  color: var(--accent-primary);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
  display: block;
}
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.section-desc {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* 卡片网格 */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  transition: transform var(--transition-speed), border-color var(--transition-speed);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(230, 0, 38, 0.5);
  background: var(--bg-card-hover);
}
.card-icon {
  width: 52px;
  height: 52px;
  background: rgba(230, 0, 38, 0.15);
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-light);
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}
.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}
.card-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* 流媒体与 AI 支持图卡 */
.media-ai-card {
  background: linear-gradient(145deg, var(--bg-card), #22161b);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 2.25rem;
}
.media-ai-card h3 {
  font-size: 1.35rem;
  color: #ffffff;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}
.pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  color: #e5e7eb;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* ==========================================================================
   套餐对比表 (语义化表格与滚动容器) - 保证按钮完全可见且防遮挡
   ========================================================================== */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  margin-bottom: 2rem;
  -webkit-overflow-scrolling: touch;
  position: relative;
}
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.pricing-table caption {
  padding: 1rem 1.25rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: #ffffff;
  background: var(--bg-secondary);
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}
.pricing-table th, .pricing-table td {
  padding: 1rem 0.85rem;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
  font-size: 0.95rem;
}
.pricing-table th {
  background: rgba(17, 24, 39, 0.9);
  color: #ffffff;
  font-weight: 700;
  white-space: nowrap;
}
.pricing-table td:nth-child(2),
.pricing-table td:nth-child(3),
.pricing-table td:nth-child(4),
.pricing-table td:nth-child(5) {
  white-space: nowrap;
}
.pricing-table td:nth-child(6) {
  line-height: 1.5;
  min-width: 180px;
}
/* 核心保障：操作按钮列固定在右侧，永不被遮挡或滚出视野 */
.pricing-table th:last-child,
.pricing-table td:last-child {
  text-align: center;
  white-space: nowrap;
  padding-left: 1rem;
  padding-right: 1.25rem;
  position: sticky;
  right: 0;
  background: #1a2234;
  z-index: 3;
  box-shadow: -6px 0 16px rgba(0, 0, 0, 0.5);
}
.pricing-table tr.featured-col td:last-child {
  background: #24141d;
}
.pricing-table tr:hover td:last-child {
  background: #222d44;
}
.pricing-table tr:last-child td {
  border-bottom: none;
}
.pricing-table tr:hover td {
  background-color: rgba(230, 0, 38, 0.06);
}
.price-badge {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent-light);
}
.price-period {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 400;
}
.featured-col {
  background: rgba(230, 0, 38, 0.08);
  position: relative;
}
.popular-tag {
  display: inline-block;
  background: var(--accent-primary);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  margin-left: 0.35rem;
  vertical-align: middle;
}

/* ==========================================================================
   常见问题解答 (FAQ) - 原生 details/summary 默认展开
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 860px;
  margin: 0 auto;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 0;
  overflow: hidden;
  transition: border-color var(--transition-speed);
}
.faq-item[open] {
  border-color: rgba(230, 0, 38, 0.4);
}
.faq-question {
  padding: 1.25rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.faq-question::-webkit-details-marker {
  display: none;
}
.faq-question::after {
  content: "▼";
  font-size: 0.8rem;
  color: var(--accent-primary);
  transition: transform var(--transition-speed);
}
.faq-item[open] .faq-question::after {
  transform: rotate(180deg);
}
.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 0.85rem;
}
.faq-answer p {
  margin-bottom: 0.5rem;
}
.faq-answer p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   客户评价 (Testimonials)
   ========================================================================== */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.rating-stars {
  color: #fbbf24;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}
.testimonial-quote {
  color: var(--text-primary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e60026, #ff4d6d);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
}
.author-info h4 {
  font-size: 0.95rem;
  color: #ffffff;
}
.author-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   页脚规范 (严格只保留四个链接入口)
   ========================================================================== */
.site-footer {
  margin-top: auto;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 3rem 0 2.5rem;
  font-size: 0.95rem;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.75rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  list-style: none;
}
.footer-link {
  color: var(--text-secondary);
  font-weight: 500;
  padding: 0.5rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.footer-link:hover {
  color: #ffffff;
  text-decoration: underline;
}
.footer-copy {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ==========================================================================
   科普列表与文章详情页面特定样式
   ========================================================================== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--text-secondary);
}
.breadcrumb a:hover {
  color: var(--accent-light);
}
.article-header {
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.5rem;
}
.article-header h1 {
  font-size: 2.25rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 1rem;
}
.article-meta {
  display: flex;
  gap: 1.5rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  flex-wrap: wrap;
}
.article-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #d1d5db;
  max-width: 820px;
}
.article-body p {
  margin-bottom: 1.5rem;
}
.article-body h2 {
  font-size: 1.6rem;
  color: #ffffff;
  margin: 2.5rem 0 1rem;
}
.article-body h3 {
  font-size: 1.25rem;
  color: #ffffff;
  margin: 2rem 0 0.75rem;
}
.article-body ul, .article-body ol {
  margin: 1rem 0 1.5rem 1.5rem;
}
.article-body li {
  margin-bottom: 0.5rem;
}
.article-body blockquote {
  border-left: 4px solid var(--accent-primary);
  background: var(--bg-card);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
  color: #9ca3af;
}
.article-internal-box {
  background: rgba(230, 0, 38, 0.08);
  border: 1px solid rgba(230, 0, 38, 0.25);
  border-radius: var(--border-radius-md);
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
}
.article-internal-box h4 {
  color: var(--accent-soft);
  margin-bottom: 0.5rem;
}

/* 知识库列表卡片 */
.article-card-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 1.75rem;
  transition: transform var(--transition-speed), border-color var(--transition-speed);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.article-card-item:hover {
  transform: translateY(-3px);
  border-color: var(--accent-primary);
}
.article-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.article-card-title a {
  color: #ffffff;
}
.article-card-title a:hover {
  color: var(--accent-light);
}
.article-card-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.article-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   响应式媒体查询 (@media)
   适配 1440px, 768px, 390px, 360px
   ========================================================================== */
@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
  .site-header {
    height: auto;
    padding: 0.75rem 0;
  }
  .main-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    gap: 1rem;
    -webkit-overflow-scrolling: touch;
  }
  .nav-list {
    gap: 0.75rem;
    white-space: nowrap;
  }
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1.15rem;
  }
  .grid-3, .grid-2 {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 3rem 0;
  }
  .pricing-table th, .pricing-table td {
    padding: 0.85rem 1rem;
  }
  .footer-nav {
    gap: 1rem;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.65rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .btn {
    width: 100%;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
}

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