/* ==========================================================================
   贝贝云 (beibeiyunjc.mom) - 新野兽主义风格样式表
   Neo-Brutalism Style: 柠檬黄 + 电光紫 + 3px纯黑描边 + 硬边缘投影 + 贴纸
   ========================================================================== */

:root {
  --color-yellow: #FFE600;
  --color-yellow-light: #FFF275;
  --color-purple: #7928CA;
  --color-purple-light: #9B51E0;
  --color-purple-bg: #F4EBFF;
  --color-black: #0F0F0F;
  --color-white: #FFFFFF;
  --color-gray-bg: #F9F9FB;
  --color-accent-cyan: #00F0FF;
  --color-accent-pink: #FF3366;
  --color-accent-green: #00E676;
  --border-main: 3px solid #0F0F0F;
  --shadow-sm: 3px 3px 0px #0F0F0F;
  --shadow-main: 5px 5px 0px #0F0F0F;
  --shadow-lg: 8px 8px 0px #0F0F0F;
  --shadow-hover: 7px 7px 0px #0F0F0F;
  --radius-main: 12px;
  --radius-pill: 9999px;
  --max-content-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: #FAF8F5;
  color: var(--color-black);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: radial-gradient(var(--color-black) 1px, transparent 0);
  background-size: 28px 28px;
}

/* 居中主体容器：两侧自然留白，稳重简洁 */
.container {
  width: 100%;
  max-width: var(--max-content-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

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

ul, ol {
  list-style: none;
}

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

/* ================= 顶部通知条 ================= */
.top-banner {
  background: var(--color-purple);
  color: var(--color-white);
  border-bottom: var(--border-main);
  padding: 8px 16px;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.top-banner .badge {
  background: var(--color-yellow);
  color: var(--color-black);
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--color-black);
  margin-right: 8px;
  font-size: 0.8rem;
  display: inline-block;
  box-shadow: 2px 2px 0px #0F0F0F;
}

.top-banner a {
  text-decoration: underline;
  margin-left: 8px;
  color: var(--color-yellow);
}

/* ================= 导航栏 (Sticky Header) ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: var(--border-main);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-box {
  background: var(--color-yellow);
  border: var(--border-main);
  padding: 6px 14px;
  font-size: 1.4rem;
  font-weight: 900;
  box-shadow: var(--shadow-sm);
  transform: rotate(-1.5deg);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.logo-box span.dot {
  width: 12px;
  height: 12px;
  background: var(--color-purple);
  border: 2px solid var(--color-black);
  border-radius: 50%;
  display: inline-block;
}

.logo-text {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo-domain {
  display: block;
  font-size: 0.72rem;
  color: #666;
  font-weight: 600;
}

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

.nav-link {
  font-weight: 700;
  font-size: 0.98rem;
  padding: 8px 14px;
  border-radius: 8px;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.nav-link:hover {
  background: var(--color-yellow-light);
  border-color: var(--color-black);
  transform: translateY(-2px);
}

.nav-cta-btn {
  background: var(--color-purple);
  color: var(--color-white);
  font-weight: 800;
  font-size: 1rem;
  padding: 10px 22px;
  border: var(--border-main);
  border-radius: var(--radius-main);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.nav-cta-btn:hover {
  background: var(--color-purple-light);
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-main);
  color: var(--color-white);
}

.nav-cta-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0px #0F0F0F;
}

/* 汉堡按钮（移动端） */
.mobile-toggle {
  display: none;
  background: var(--color-yellow);
  border: var(--border-main);
  padding: 8px 12px;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  border-radius: 8px;
}

/* ================= 按钮通用类 ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 900;
  font-size: 1.1rem;
  padding: 14px 28px;
  border: var(--border-main);
  border-radius: var(--radius-main);
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.2, 0, 0, 1);
  text-align: center;
  user-select: none;
}

.btn-primary {
  background: var(--color-yellow);
  color: var(--color-black);
  box-shadow: var(--shadow-main);
}

.btn-primary:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-lg);
  background: #FFF152;
}

.btn-primary:active {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0px #0F0F0F;
}

.btn-purple {
  background: var(--color-purple);
  color: var(--color-white);
  box-shadow: var(--shadow-main);
}

.btn-purple:hover {
  background: var(--color-purple-light);
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-lg);
}

.btn-purple:active {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0px #0F0F0F;
}

.btn-white {
  background: var(--color-white);
  color: var(--color-black);
  box-shadow: var(--shadow-main);
}

.btn-white:hover {
  background: #F4F4F6;
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-lg);
}

/* ================= 贴纸与装饰组件 ================= */
.sticker {
  display: inline-block;
  font-weight: 900;
  padding: 6px 14px;
  border: var(--border-main);
  box-shadow: var(--shadow-sm);
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 6px;
  user-select: none;
}

.sticker-yellow {
  background: var(--color-yellow);
  color: var(--color-black);
  transform: rotate(-2deg);
}

.sticker-purple {
  background: var(--color-purple);
  color: var(--color-white);
  transform: rotate(2deg);
}

.sticker-cyan {
  background: var(--color-accent-cyan);
  color: var(--color-black);
  transform: rotate(-1.5deg);
}

.sticker-green {
  background: var(--color-accent-green);
  color: var(--color-black);
  transform: rotate(2.5deg);
}

.sticker-pink {
  background: var(--color-accent-pink);
  color: var(--color-white);
  transform: rotate(-3deg);
}

/* ================= Section 通用布局 ================= */
.section {
  padding: 85px 0;
  position: relative;
}

.section-title-wrap {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px auto;
}

.section-tag {
  display: inline-block;
  background: var(--color-yellow);
  color: var(--color-black);
  border: var(--border-main);
  box-shadow: var(--shadow-sm);
  font-weight: 900;
  font-size: 0.85rem;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.15rem;
  color: #4A4A4A;
  font-weight: 500;
}

/* ================= Hero 首屏板块 ================= */
.hero-section {
  padding: 60px 0 80px 0;
  text-align: center;
}

.hero-content {
  max-width: 960px;
  margin: 0 auto;
}

.hero-stickers-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.hero-main-title {
  font-size: 3.6rem;
  font-weight: 950;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}

.hero-main-title .highlight-yellow {
  background: var(--color-yellow);
  padding: 0 10px;
  border: var(--border-main);
  box-shadow: var(--shadow-sm);
  display: inline-block;
  transform: rotate(-1deg);
}

.hero-main-title .highlight-purple {
  background: var(--color-purple);
  color: var(--color-white);
  padding: 0 10px;
  border: var(--border-main);
  box-shadow: var(--shadow-sm);
  display: inline-block;
  transform: rotate(1.5deg);
}

.hero-sub {
  font-size: 1.35rem;
  font-weight: 600;
  color: #333333;
  max-width: 780px;
  margin: 0 auto 36px auto;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.hero-guarantee {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #555;
  flex-wrap: wrap;
}

.hero-guarantee span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* 核心优势板块看板 */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--color-white);
  border: var(--border-main);
  border-radius: var(--radius-main);
  padding: 32px 26px;
  box-shadow: var(--shadow-main);
  transition: all 0.2s ease;
  position: relative;
}

.feature-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon-box {
  width: 60px;
  height: 60px;
  border: var(--border-main);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.feature-icon-yellow { background: var(--color-yellow); }
.feature-icon-purple { background: var(--color-purple); color: #fff; }
.feature-icon-cyan { background: var(--color-accent-cyan); }
.feature-icon-green { background: var(--color-accent-green); }
.feature-icon-pink { background: var(--color-accent-pink); color: #fff; }

.feature-card h3 {
  font-size: 1.35rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 1rem;
  color: #4A4A4A;
  line-height: 1.6;
}

.feature-pill {
  position: absolute;
  top: -12px;
  right: 16px;
}

/* ================= 节点状态与延迟板块 ================= */
.node-status-card {
  background: var(--color-white);
  border: var(--border-main);
  border-radius: var(--radius-main);
  box-shadow: var(--shadow-lg);
  padding: 32px;
}

.node-header-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: var(--border-main);
  margin-bottom: 24px;
}

.node-global-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.1rem;
}

.status-dot {
  width: 14px;
  height: 14px;
  background: var(--color-accent-green);
  border: 2px solid var(--color-black);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 230, 118, 0.8);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.node-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.node-item {
  background: var(--color-gray-bg);
  border: var(--border-main);
  border-radius: 10px;
  padding: 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.15s ease;
}

.node-item:hover {
  background: var(--color-yellow-light);
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-main);
}

.node-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.node-country {
  font-weight: 800;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.node-ping {
  font-weight: 900;
  font-size: 0.92rem;
  padding: 3px 8px;
  border-radius: 6px;
  border: 2px solid var(--color-black);
}

.ping-ultra { background: #A3E635; color: #000; }
.ping-fast { background: #67E8F9; color: #000; }
.ping-good { background: #FDE047; color: #000; }

.node-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
}

.node-tag-item {
  background: #FFF;
  border: 1.5px solid #0F0F0F;
  padding: 2px 6px;
  border-radius: 4px;
}

.node-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: #666;
  font-weight: 600;
  border-top: 1px dashed #ccc;
  padding-top: 8px;
}

/* ================= 套餐价格板块 ================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

.pricing-card {
  background: var(--color-white);
  border: var(--border-main);
  border-radius: var(--radius-main);
  padding: 36px 28px;
  box-shadow: var(--shadow-main);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.2s ease;
}

.pricing-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  background: #FFFBE6;
  border: 4px solid var(--color-purple);
  box-shadow: 8px 8px 0px var(--color-black);
  transform: scale(1.02);
}

.pricing-badge-popular {
  position: absolute;
  top: -16px;
  right: 20px;
  background: var(--color-purple);
  color: var(--color-white);
  border: var(--border-main);
  box-shadow: var(--shadow-sm);
  font-weight: 900;
  font-size: 0.85rem;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
}

.pricing-header {
  border-bottom: var(--border-main);
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.pricing-plan-name {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 6px;
}

.pricing-plan-desc {
  font-size: 0.95rem;
  color: #666;
  font-weight: 600;
}

.pricing-price {
  margin: 16px 0 10px 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-currency {
  font-size: 1.4rem;
  font-weight: 900;
}

.price-num {
  font-size: 3.2rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -1px;
}

.price-period {
  font-size: 1rem;
  color: #777;
  font-weight: 700;
}

.pricing-features {
  flex-grow: 1;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.96rem;
  font-weight: 700;
}

.pricing-features li .check-icon {
  width: 22px;
  height: 22px;
  background: var(--color-yellow);
  border: 2px solid var(--color-black);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 900;
  flex-shrink: 0;
}

/* ================= 用户评价板块 ================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testi-card {
  background: var(--color-white);
  border: var(--border-main);
  border-radius: var(--radius-main);
  padding: 26px;
  box-shadow: var(--shadow-main);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.testi-stars {
  font-size: 1.2rem;
  color: #FFB800;
  margin-bottom: 8px;
}

.testi-text {
  font-size: 0.98rem;
  color: #2D3748;
  font-weight: 600;
  line-height: 1.6;
}

.testi-user {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: var(--border-main);
  padding-top: 14px;
}

.user-avatar {
  width: 44px;
  height: 44px;
  border: var(--border-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 900;
  box-shadow: 2px 2px 0px #0F0F0F;
}

.user-meta h4 {
  font-size: 1rem;
  font-weight: 800;
}

.user-meta span {
  font-size: 0.82rem;
  color: #666;
  font-weight: 600;
}

/* ================= 常见问题板块 (FAQ) ================= */
.faq-wrap {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--color-white);
  border: var(--border-main);
  border-radius: var(--radius-main);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all 0.2s ease;
}

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

.faq-header {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  background: var(--color-white);
  font-weight: 900;
  font-size: 1.15rem;
}

.faq-header .toggle-icon {
  width: 32px;
  height: 32px;
  background: var(--color-yellow);
  border: var(--border-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 900;
  transition: transform 0.2s ease;
  box-shadow: 2px 2px 0px #0F0F0F;
}

.faq-item.active .faq-header .toggle-icon {
  transform: rotate(45deg);
  background: var(--color-purple);
  color: var(--color-white);
}

.faq-content {
  display: none;
  padding: 0 24px 20px 24px;
  font-size: 1rem;
  color: #4A4A4A;
  font-weight: 500;
  line-height: 1.7;
  border-top: 1px dashed #DDD;
  margin-top: 4px;
  padding-top: 14px;
}

.faq-item.active .faq-content {
  display: block;
}

/* ================= 知识库与教程板块 ================= */
.kb-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.kb-card {
  background: var(--color-white);
  border: var(--border-main);
  border-radius: var(--radius-main);
  padding: 26px;
  box-shadow: var(--shadow-main);
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.kb-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-lg);
  background: #FFFFFA;
}

.kb-card-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.kb-category {
  background: var(--color-purple-bg);
  color: var(--color-purple);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 3px 10px;
  border: 1.5px solid var(--color-purple);
  border-radius: 4px;
}

.kb-reading-time {
  font-size: 0.8rem;
  color: #777;
  font-weight: 600;
}

.kb-card h3 {
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 10px;
}

.kb-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 18px;
  line-height: 1.6;
}

.kb-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--color-purple);
  border-top: 2px dashed #E2E8F0;
  padding-top: 14px;
}

/* ================= 底部行动号召 CTA ================= */
.final-cta-section {
  padding: 80px 0;
}

.final-cta-box {
  background: var(--color-yellow);
  border: var(--border-main);
  border-radius: var(--radius-main);
  box-shadow: var(--shadow-lg);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta-box h2 {
  font-size: 2.8rem;
  font-weight: 950;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.final-cta-box p {
  font-size: 1.25rem;
  font-weight: 700;
  max-width: 680px;
  margin: 0 auto 32px auto;
  color: #222;
}

/* ================= 页脚 Footer ================= */
.site-footer {
  background: var(--color-white);
  border-top: var(--border-main);
  padding: 60px 0 30px 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  margin-top: 14px;
  font-size: 0.95rem;
  color: #666;
  font-weight: 500;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 1.1rem;
  font-weight: 900;
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.92rem;
  color: #555;
  font-weight: 600;
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--color-purple);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 2px solid #E5E7EB;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: #777;
  font-weight: 600;
  flex-wrap: wrap;
  gap: 16px;
}

/* ================= 教程详情页（文章页）样式 ================= */
.article-header {
  padding: 50px 0 30px 0;
  background: var(--color-purple-bg);
  border-bottom: var(--border-main);
  margin-bottom: 40px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.breadcrumb a {
  color: var(--color-purple);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.article-title {
  font-size: 2.6rem;
  font-weight: 950;
  line-height: 1.3;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.9rem;
  color: #666;
  font-weight: 700;
  flex-wrap: wrap;
}

.article-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  margin-bottom: 80px;
}

.article-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.toc-card {
  background: var(--color-white);
  border: var(--border-main);
  border-radius: var(--radius-main);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

.toc-title {
  font-size: 1.1rem;
  font-weight: 900;
  margin-bottom: 12px;
  border-bottom: 2px solid var(--color-black);
  padding-bottom: 6px;
}

.toc-list li {
  margin-bottom: 8px;
}

.toc-list a {
  font-size: 0.9rem;
  font-weight: 700;
  color: #4A4A4A;
  transition: color 0.15s ease;
  display: block;
}

.toc-list a:hover {
  color: var(--color-purple);
  padding-left: 4px;
}

.sidebar-cta {
  background: var(--color-yellow);
  border: var(--border-main);
  border-radius: var(--radius-main);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.sidebar-cta h4 {
  font-size: 1.2rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.sidebar-cta p {
  font-size: 0.88rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 16px;
}

.article-body {
  background: var(--color-white);
  border: var(--border-main);
  border-radius: var(--radius-main);
  padding: 48px;
  box-shadow: var(--shadow-main);
  font-size: 1.08rem;
  line-height: 1.8;
  color: #2D3748;
}

.article-body h2 {
  font-size: 1.85rem;
  font-weight: 900;
  margin: 36px 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--color-yellow);
  display: inline-block;
}

.article-body h3 {
  font-size: 1.4rem;
  font-weight: 850;
  margin: 26px 0 12px 0;
  color: var(--color-purple);
}

.article-body p {
  margin-bottom: 18px;
}

.article-body ul, .article-body ol {
  margin: 16px 0 24px 24px;
}

.article-body ul li {
  list-style-type: disc;
  margin-bottom: 8px;
}

.article-body ol li {
  list-style-type: decimal;
  margin-bottom: 8px;
}

.article-body blockquote {
  background: var(--color-purple-bg);
  border-left: 6px solid var(--color-purple);
  padding: 16px 20px;
  margin: 24px 0;
  border-radius: 0 8px 8px 0;
  font-weight: 600;
}

.article-body pre {
  background: #1A1A24;
  color: #A6E22E;
  padding: 20px;
  border-radius: 8px;
  border: var(--border-main);
  box-shadow: var(--shadow-sm);
  overflow-x: auto;
  font-family: Consolas, Monaco, "Courier New", monospace;
  font-size: 0.95rem;
  margin: 20px 0;
}

.article-body code {
  background: #F1F1F5;
  border: 1px solid #CCC;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: Consolas, monospace;
  font-size: 0.9em;
  color: #D6336C;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  border: var(--border-main);
}

.article-body th {
  background: var(--color-yellow);
  border: 2px solid var(--color-black);
  padding: 12px 14px;
  font-weight: 900;
  text-align: left;
}

.article-body td {
  border: 2px solid var(--color-black);
  padding: 10px 14px;
  font-size: 0.95rem;
}

.article-cta-box {
  background: #FFFDE6;
  border: var(--border-main);
  border-radius: var(--radius-main);
  padding: 28px;
  margin: 36px 0;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

/* ================= 响应式适配 ================= */
@media (max-width: 1024px) {
  .feature-grid, .pricing-grid, .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-card.featured {
    transform: none;
  }
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    position: static;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-main-title {
    font-size: 2.4rem;
  }
  .hero-sub {
    font-size: 1.1rem;
  }
  .feature-grid, .pricing-grid, .testimonials-grid, .kb-grid {
    grid-template-columns: 1fr;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    width: 100%;
    background: #FFF;
    flex-direction: column;
    padding: 20px;
    border-bottom: var(--border-main);
    box-shadow: var(--shadow-main);
  }
  .nav-menu.open {
    display: flex;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .article-body {
    padding: 24px;
  }
  .article-title {
    font-size: 1.8rem;
  }
}
