/* ==========================================================================
   流量光官网 (liuliangguang.blog) - 新野兽主义 (Neo-Brutalism) 核心样式库
   ========================================================================== */

:root {
  /* 基础主色板 - 新野兽主义高对比度鲜明配色 */
  --bg-main: #fcfaf4;
  --bg-card: #ffffff;
  --bg-alt: #f4efe2;
  --text-main: #121212;
  --text-muted: #4b5563;
  --border-color: #121212;
  --border-thick: 3px solid var(--border-color);
  --border-medium: 2.5px solid var(--border-color);
  --border-thin: 1.5px solid var(--border-color);
  
  /* 硬阴影 (Hard Offset Box Shadow) */
  --shadow-sm: 3px 3px 0px var(--border-color);
  --shadow-md: 5px 5px 0px var(--border-color);
  --shadow-lg: 8px 8px 0px var(--border-color);
  --shadow-xl: 12px 12px 0px var(--border-color);
  --shadow-hover: 7px 7px 0px var(--border-color);

  /* 强明度点缀色 (Neo-Brutalist Highlights) */
  --nb-yellow: #ffde59;
  --nb-cyan: #4ce1ff;
  --nb-pink: #ff5e85;
  --nb-green: #37e38a;
  --nb-orange: #ff914d;
  --nb-purple: #c38fff;
  --nb-blue: #3b82f6;

  /* 字体与间距 */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', Menlo, Monaco, Consolas, monospace;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 9999px;
  --container-max: 1200px;
}

/* 全局重置与平滑滚动 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
  /* 点阵网格背景 */
  background-image: 
    radial-gradient(var(--border-color) 1.2px, transparent 1.2px),
    linear-gradient(to right, rgba(0,0,0,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 28px 28px, 14px 14px, 14px 14px;
}

/* 动态背景点缀装饰 */
.bg-decorations {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.decor-shape {
  position: absolute;
  border: var(--border-thick);
  box-shadow: var(--shadow-md);
  z-index: 0;
  opacity: 0.85;
  animation: floatSlow 7s ease-in-out infinite alternate;
}

.shape-1 {
  top: 140px;
  right: 5%;
  width: 70px;
  height: 70px;
  background-color: var(--nb-yellow);
  border-radius: var(--radius-md);
  transform: rotate(12deg);
}

.shape-2 {
  top: 550px;
  left: 3%;
  width: 50px;
  height: 50px;
  background-color: var(--nb-pink);
  border-radius: var(--radius-pill);
  animation-duration: 9s;
}

.shape-3 {
  top: 1350px;
  right: 4%;
  width: 80px;
  height: 80px;
  background-color: var(--nb-cyan);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  animation-duration: 8s;
}

.shape-4 {
  top: 2400px;
  left: 4%;
  width: 65px;
  height: 65px;
  background-color: var(--nb-green);
  border-radius: var(--radius-md);
  transform: rotate(-15deg);
  animation-duration: 11s;
}

@keyframes floatSlow {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(8deg); }
  100% { transform: translateY(10px) rotate(-6deg); }
}

/* 容器 */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* 顶部跑马灯通告 (Marquee Bar) */
.marquee-bar {
  background: var(--nb-yellow);
  border-bottom: var(--border-thick);
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.92rem;
  padding: 8px 0;
  position: relative;
  z-index: 101;
}

.marquee-content {
  display: inline-block;
  animation: marqueeScroll 25s linear infinite;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  margin: 0 20px;
  color: var(--text-main);
}

.marquee-item span {
  margin-right: 8px;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* 顶部导航栏 (Sticky Header) */
.header-nav {
  position: sticky;
  top: 0;
  background-color: rgba(252, 250, 244, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: var(--border-thick);
  z-index: 100;
  padding: 14px 0;
}

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

.logo-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.logo-badge {
  background-color: var(--nb-yellow);
  color: var(--text-main);
  font-weight: 900;
  font-size: 1.3rem;
  padding: 6px 14px;
  border: var(--border-thick);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: -0.5px;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  display: flex;
  flex-direction: column;
}

.logo-domain {
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  font-weight: 600;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
  position: relative;
}

.nav-link:hover {
  background-color: var(--nb-yellow);
  box-shadow: 2px 2px 0px var(--border-color);
  transform: translate(-1px, -1px);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* 按钮通用组件 - 新野兽主义风格 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  padding: 10px 22px;
  border: var(--border-thick);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0px var(--border-color);
}

.btn-primary {
  background-color: var(--nb-yellow);
  color: var(--text-main);
}
.btn-primary:hover {
  background-color: #ffe83d;
}

.btn-cyan {
  background-color: var(--nb-cyan);
  color: var(--text-main);
}

.btn-green {
  background-color: var(--nb-green);
  color: var(--text-main);
}

.btn-pink {
  background-color: var(--nb-pink);
  color: #ffffff;
}

.btn-black {
  background-color: #121212;
  color: #ffffff;
}
.btn-black:hover {
  background-color: #262626;
  color: var(--nb-yellow);
}

.btn-outline {
  background-color: #ffffff;
  color: var(--text-main);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1.15rem;
  box-shadow: var(--shadow-md);
}
.btn-lg:hover {
  box-shadow: var(--shadow-lg);
}

/* 移动端菜单按钮 */
.mobile-toggle {
  display: none;
  background: var(--nb-yellow);
  border: var(--border-thick);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-sm);
  padding: 8px;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
}

/* 板块通用头部 */
.section {
  padding: 80px 0;
  position: relative;
  z-index: 2;
}

.section-alt {
  background-color: var(--bg-alt);
  border-top: var(--border-thick);
  border-bottom: var(--border-thick);
}

.section-header {
  margin-bottom: 50px;
  text-align: center;
}

.section-tag {
  display: inline-block;
  background-color: var(--nb-cyan);
  color: var(--text-main);
  border: var(--border-thick);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
  text-transform: uppercase;
  transform: rotate(-1.5deg);
}

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

.section-desc {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
  font-weight: 500;
}

/* ==========================================================================
   板块 1: HERO 首屏
   ========================================================================== */
.hero-section {
  padding: 80px 0 90px;
}

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

.hero-badge-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.hero-sticker {
  background: var(--nb-pink);
  color: #fff;
  border: var(--border-thick);
  box-shadow: var(--shadow-sm);
  font-weight: 900;
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  transform: rotate(-2deg);
}

.hero-sub-badge {
  background: var(--nb-green);
  color: var(--text-main);
  border: var(--border-thick);
  box-shadow: var(--shadow-sm);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

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

.hero-desc {
  font-size: 1.2rem;
  color: #374151;
  font-weight: 600;
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.stat-card {
  background: #ffffff;
  border: var(--border-thick);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  text-align: center;
}

.stat-num {
  font-size: 1.65rem;
  font-weight: 900;
  font-family: var(--font-mono);
  color: var(--text-main);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 4px;
}

/* 首屏右侧新野兽主义动态卡片交互图 */
.hero-visual {
  position: relative;
}

.hero-card-terminal {
  background: #ffffff;
  border: var(--border-thick);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.terminal-header {
  background: #121212;
  color: #ffffff;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.terminal-dots {
  display: flex;
  gap: 8px;
}

.t-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1.5px solid #000;
}
.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--nb-yellow);
}

.terminal-body {
  padding: 24px;
}

.live-ping-demo {
  background: #f8fafc;
  border: var(--border-medium);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 18px;
}

.ping-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed #cbd5e1;
  font-family: var(--font-mono);
  font-size: 0.9rem;
}
.ping-item:last-child {
  border-bottom: none;
}

.ping-item .node-name {
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ping-item .ping-badge {
  background: var(--nb-green);
  color: #000;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  border: 1.5px solid #000;
}

.speed-gauge-wrap {
  background: var(--nb-yellow);
  border: var(--border-medium);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.speed-title {
  font-weight: 900;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.speed-bar-outer {
  background: #fff;
  border: 2px solid #000;
  height: 22px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  margin-bottom: 8px;
}

.speed-bar-inner {
  width: 96%;
  height: 100%;
  background: repeating-linear-gradient(
    45deg,
    var(--nb-pink),
    var(--nb-pink) 10px,
    #ff3366 10px,
    #ff3366 20px
  );
  animation: stripeMove 1.5s linear infinite;
}

@keyframes stripeMove {
  from { background-position: 0 0; }
  to { background-position: 28px 0; }
}

.speed-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.85rem;
}

/* 浮动便签贴纸 */
.floating-sticker {
  position: absolute;
  border: var(--border-thick);
  box-shadow: var(--shadow-md);
  padding: 10px 16px;
  font-weight: 900;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  z-index: 3;
}

.sticker-top-right {
  top: -20px;
  right: -20px;
  background: var(--nb-cyan);
  transform: rotate(6deg);
}

.sticker-bottom-left {
  bottom: -18px;
  left: -20px;
  background: var(--nb-orange);
  transform: rotate(-6deg);
  color: #fff;
}

/* ==========================================================================
   板块 2: 核心优势板块 (Core Advantages)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.feature-card {
  background: #ffffff;
  border: var(--border-thick);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 30px 26px;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

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

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

.f-icon-1 { background-color: var(--nb-yellow); }
.f-icon-2 { background-color: var(--nb-cyan); }
.f-icon-3 { background-color: var(--nb-pink); }
.f-icon-4 { background-color: var(--nb-green); }
.f-icon-5 { background-color: var(--nb-orange); }
.f-icon-6 { background-color: var(--nb-purple); }

.feature-title {
  font-size: 1.35rem;
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.feature-desc {
  font-size: 0.98rem;
  color: #4b5563;
  line-height: 1.6;
}

.feature-pill {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  background: #f1f5f9;
  border: 1.5px solid #000;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
}

/* ==========================================================================
   板块 3: 节点延迟与状态 (Node Latency & Status)
   ========================================================================== */
.node-dashboard {
  background: #ffffff;
  border: var(--border-thick);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.dashboard-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 2px dashed #000;
}

.toolbar-status {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e6fcf5;
  color: #0ca678;
  border: 1.5px solid #0ca678;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #0ca678;
  border-radius: 50%;
  animation: pulseAnim 1.5s infinite;
}

@keyframes pulseAnim {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.nodes-table-wrap {
  overflow-x: auto;
}

.nodes-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.nodes-table th {
  background: #f8fafc;
  border: var(--border-medium);
  padding: 14px 18px;
  font-weight: 900;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.nodes-table td {
  border: var(--border-medium);
  padding: 14px 18px;
  font-size: 0.95rem;
  background: #fff;
  vertical-align: middle;
}

.nodes-table tr:hover td {
  background-color: #fffde6;
}

.node-region-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.flag-emoji {
  font-size: 1.35rem;
}

.latency-value {
  font-family: var(--font-mono);
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.latency-ultra { color: #059669; }
.latency-fast { color: #0284c7; }
.latency-good { color: #d97706; }

.load-bar-wrap {
  width: 120px;
  background: #f1f5f9;
  border: 1.5px solid #000;
  height: 14px;
  border-radius: var(--radius-pill);
  overflow: hidden;
  display: inline-block;
  margin-right: 8px;
}

.load-bar-fill {
  height: 100%;
  background: var(--nb-green);
}
.load-bar-fill.medium { background: var(--nb-yellow); }

.tag-stream {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #0369a1;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

.tag-ai {
  background: #fce7f3;
  color: #be185d;
  border: 1px solid #be185d;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
}

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

.pricing-card {
  background: #ffffff;
  border: var(--border-thick);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.2s ease;
}

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

.pricing-card.featured {
  background: #ffffff;
  border-color: #121212;
  box-shadow: var(--shadow-xl);
  transform: scale(1.03);
  z-index: 3;
}
.pricing-card.featured:hover {
  transform: scale(1.03) translate(-2px, -2px);
  box-shadow: 14px 14px 0px var(--border-color);
}

.pricing-ribbon {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--nb-pink);
  color: #ffffff;
  font-weight: 900;
  font-size: 0.85rem;
  padding: 4px 16px;
  border: var(--border-thick);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.plan-header {
  margin-bottom: 20px;
}

.plan-name {
  font-size: 1.45rem;
  font-weight: 900;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}

.plan-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
  min-height: 42px;
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  margin: 18px 0 24px;
  padding-bottom: 18px;
  border-bottom: 2px dashed #e2e8f0;
}

.price-currency {
  font-size: 1.5rem;
  font-weight: 900;
  margin-right: 4px;
}

.price-amount {
  font-size: 3rem;
  font-weight: 900;
  font-family: var(--font-mono);
  line-height: 1;
}

.price-unit {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-left: 6px;
  font-weight: 700;
}

.plan-features {
  list-style: none;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plan-features li {
  font-size: 0.92rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--nb-green);
  border: 1.5px solid #000;
  font-size: 0.75rem;
  font-weight: 900;
  flex-shrink: 0;
}

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

.review-card {
  background: #ffffff;
  border: var(--border-thick);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
}

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

.review-stars {
  color: #ff914d;
  font-size: 1.15rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.review-text {
  font-size: 0.96rem;
  color: #334155;
  font-weight: 500;
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.reviewer-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 14px;
  border-top: 2px dashed #cbd5e1;
}

.reviewer-avatar {
  width: 48px;
  height: 48px;
  border: var(--border-medium);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background-color: var(--nb-yellow);
  box-shadow: var(--shadow-sm);
}

.reviewer-name {
  font-weight: 800;
  font-size: 0.98rem;
}

.reviewer-role {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   板块 6: 常见问题 (FAQ)
   ========================================================================== */
.faq-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: var(--border-thick);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  margin-bottom: 18px;
  overflow: hidden;
  transition: all 0.2s ease;
}

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

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-sans);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border: var(--border-medium);
  border-radius: 50%;
  background: var(--nb-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
  padding: 0 24px 22px;
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.7;
  border-top: 1px dashed #cbd5e1;
  padding-top: 16px;
}

/* ==========================================================================
   板块 7: 知识库与教程 (Knowledge Base & Tutorials)
   ========================================================================== */
.tutorials-filter-wrap {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.filter-btn {
  background: #ffffff;
  border: var(--border-medium);
  box-shadow: var(--shadow-sm);
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 800;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all 0.15s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--nb-yellow);
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-md);
}

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

.article-card {
  background: #ffffff;
  border: var(--border-thick);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
  text-decoration: none;
  color: inherit;
}

.article-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: var(--shadow-lg);
  background-color: #fffdf2;
}

.article-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.article-cat-badge {
  background: var(--nb-cyan);
  border: 1.5px solid #000;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
}

.article-read-time {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 700;
}

.article-title {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 12px;
  color: var(--text-main);
}

.article-excerpt {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.article-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1.5px dashed #e2e8f0;
  font-size: 0.85rem;
  font-weight: 800;
}

.read-more-link {
  color: #000;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.article-card:hover .read-more-link {
  color: #d97706;
}

/* ==========================================================================
   底栏 CTA 呼吁横幅
   ========================================================================== */
.cta-banner-wrap {
  padding: 80px 0;
}

.cta-banner {
  background: var(--nb-yellow);
  border: var(--border-thick);
  box-shadow: var(--shadow-xl);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner-title {
  font-size: 2.6rem;
  font-weight: 900;
  margin-bottom: 14px;
  letter-spacing: -1px;
}

.cta-banner-desc {
  font-size: 1.15rem;
  color: #1f2937;
  max-width: 660px;
  margin: 0 auto 30px;
  font-weight: 600;
}

.cta-banner-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* ==========================================================================
   页脚 (Footer)
   ========================================================================== */
.footer {
  background: #121212;
  color: #ffffff;
  border-top: var(--border-thick);
  padding: 70px 0 30px;
  position: relative;
  z-index: 2;
}

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

.footer-brand-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 14px;
}

.footer-brand-badge {
  background: var(--nb-yellow);
  color: #121212;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
}

.footer-brand-desc {
  color: #9ca3af;
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 20px;
  max-width: 360px;
}

.footer-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-tag {
  background: #27272a;
  color: var(--nb-cyan);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  padding: 2px 8px;
  border-radius: 4px;
}

.footer-col-title {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--nb-yellow);
  margin-bottom: 18px;
  border-left: 4px solid var(--nb-yellow);
  padding-left: 10px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #d1d5db;
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--nb-yellow);
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid #27272a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: #9ca3af;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: #9ca3af;
  text-decoration: none;
}
.footer-bottom-links a:hover {
  color: var(--nb-yellow);
}

/* ==========================================================================
   文章详情页专有样式 (Article Detail Page Style)
   ========================================================================== */
.article-header {
  padding: 50px 0 30px;
  background: var(--bg-alt);
  border-bottom: var(--border-thick);
}

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

.breadcrumb a {
  color: var(--text-main);
  text-decoration: none;
}
.breadcrumb a:hover {
  text-decoration: underline;
}

.article-main-title {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
}

.article-content-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  padding: 50px 0 80px;
}

.article-body-box {
  background: #ffffff;
  border: var(--border-thick);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px;
  font-size: 1.05rem;
  line-height: 1.85;
}

.article-body-box h2 {
  font-size: 1.7rem;
  font-weight: 900;
  margin: 36px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2.5px solid #000;
  color: var(--text-main);
}
.article-body-box h2:first-child {
  margin-top: 0;
}

.article-body-box h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 24px 0 12px;
  color: var(--text-main);
}

.article-body-box p {
  margin-bottom: 18px;
  color: #334155;
}

.article-body-box strong {
  color: #0f172a;
}

.article-body-box ul,
.article-body-box ol {
  margin-bottom: 22px;
  padding-left: 24px;
}

.article-body-box li {
  margin-bottom: 8px;
  color: #334155;
}

.article-body-box blockquote {
  background: #fffde6;
  border-left: 6px solid var(--nb-yellow);
  border: var(--border-medium);
  border-left-width: 8px;
  border-left-color: #eab308;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin: 24px 0;
  font-weight: 600;
}

.article-body-box code {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.9em;
  color: #e11d48;
}

.article-cta-box {
  background: var(--nb-yellow);
  border: var(--border-thick);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 36px 0;
  text-align: center;
}

.article-cta-box h4 {
  font-size: 1.3rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.article-cta-box p {
  font-size: 0.95rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 16px;
}

.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.sidebar-widget {
  background: #ffffff;
  border: var(--border-thick);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 24px;
}

.widget-title {
  font-size: 1.15rem;
  font-weight: 900;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px dashed #000;
  display: flex;
  align-items: center;
  gap: 8px;
}

.related-article-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.related-article-list a {
  text-decoration: none;
  color: var(--text-main);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.45;
  display: block;
  transition: color 0.15s ease;
}

.related-article-list a:hover {
  color: #d97706;
}

/* ==========================================================================
   响应式断点适配 (Media Queries)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .pricing-card.featured {
    transform: none;
  }
  .pricing-card.featured:hover {
    transform: translate(-4px, -4px);
  }
  .features-grid,
  .reviews-grid,
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .article-content-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.3rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-bottom: var(--border-thick);
    flex-direction: column;
    padding: 20px;
    gap: 14px;
    box-shadow: var(--shadow-lg);
  }
  .nav-menu.active {
    display: flex;
  }
  .features-grid,
  .reviews-grid,
  .articles-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .cta-banner {
    padding: 30px 20px;
  }
  .cta-banner-title {
    font-size: 1.8rem;
  }
  .article-main-title {
    font-size: 1.8rem;
  }
  .article-body-box {
    padding: 20px;
  }
}
