/* -------------------------------------------------------------
 * 流量光机场官网 - 全局轻量趣味浅色系样式表
 * 域名: liuliangguangjc.homes
 * 风格: 浅色轻量、趣味互动、灵动微光、现代卡片拟态
 * ------------------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Noto+Sans+SC:wght@400;500;700;900&family=JetBrains+Mono:wght@400;600&display=swap');

:root {
  --font-main: 'Plus Jakarta Sans', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* 浅色主题核心配色 */
  --bg-primary: #f8fafc;
  --bg-secondary: #f0f6ff;
  --bg-card: rgba(255, 255, 255, 0.88);
  --bg-card-hover: rgba(255, 255, 255, 0.98);
  --bg-tag: #e0f2fe;

  --text-main: #0f172a;
  --text-sub: #475569;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  /* 流量光品牌渐变色彩 */
  --primary: #0284c7;
  --primary-light: #38bdf8;
  --primary-hover: #0369a1;
  --accent-cyan: #06b6d4;
  --accent-purple: #8b5cf6;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;

  /* 边框与微光投影 */
  --border-subtle: rgba(226, 232, 240, 0.9);
  --border-focus: rgba(2, 132, 199, 0.4);
  --shadow-sm: 0 2px 8px rgba(148, 163, 184, 0.08);
  --shadow-md: 0 8px 24px -4px rgba(148, 163, 184, 0.14);
  --shadow-lg: 0 20px 40px -12px rgba(2, 132, 199, 0.12);
  --shadow-glow: 0 10px 30px -5px rgba(56, 189, 248, 0.35);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(at 10% 20%, rgba(56, 189, 248, 0.12) 0px, transparent 50%),
    radial-gradient(at 90% 15%, rgba(139, 92, 246, 0.10) 0px, transparent 45%),
    radial-gradient(at 30% 70%, rgba(16, 185, 129, 0.08) 0px, transparent 50%),
    radial-gradient(at 80% 85%, rgba(245, 158, 11, 0.08) 0px, transparent 45%);
  background-attachment: fixed;
}

/* 动态背景画布 */
#ambient-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.65;
}

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

/* 链接与排版 */
a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-fast);
}

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

/* ---------------- 顶部导航栏 ---------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.brand-logo .logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #0284c7 0%, #38bdf8 50%, #06b6d4 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
  position: relative;
  overflow: hidden;
  animation: logo-glow 3s ease-in-out infinite alternate;
}

@keyframes logo-glow {
  0% { box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3); }
  100% { box-shadow: 0 4px 22px rgba(56, 189, 248, 0.7); }
}

.brand-logo .badge-tag {
  font-size: 0.72rem;
  font-weight: 700;
  background: #e0f2fe;
  color: #0369a1;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-left: 4px;
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-sub);
  position: relative;
  padding: 6px 2px;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--primary), var(--accent-cyan));
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  transform: translateX(-50%);
}

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

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

/* 按钮通用 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-bounce);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(14, 165, 233, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 26px rgba(14, 165, 233, 0.48);
}

.btn-secondary {
  background: #ffffff;
  color: var(--primary);
  border-color: rgba(186, 230, 253, 0.9);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: #f0f9ff;
  border-color: var(--primary-light);
  transform: translateY(-2px);
}

.btn-pulse {
  position: relative;
  overflow: hidden;
}

.btn-pulse::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-20deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% { left: -75%; }
  35%, 100% { left: 125%; }
}

/* 移动端菜单按钮 */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  color: var(--text-main);
  cursor: pointer;
}

/* ---------------- 英雄区 (Hero Section) ---------------- */
.hero-section {
  padding-top: 150px;
  padding-bottom: 90px;
  position: relative;
  overflow: hidden;
}

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

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(224, 242, 254, 0.85);
  border: 1px solid rgba(186, 230, 253, 0.9);
  color: #0369a1;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  box-shadow: 0 2px 10px rgba(56, 189, 248, 0.15);
}

.hero-pill .dot-live {
  width: 8px;
  height: 8px;
  background-color: var(--accent-emerald);
  border-radius: 50%;
  display: inline-block;
  animation: ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
  75%, 100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.hero-title {
  font-size: 3.4rem;
  line-height: 1.15;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

.text-gradient {
  background: linear-gradient(135deg, #0284c7 0%, #06b6d4 50%, #8b5cf6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-sub);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 600px;
}

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

.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 24px;
  border-top: 1px dashed rgba(203, 213, 225, 0.8);
}

.stat-item h4 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.2;
}

.stat-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* 英雄区趣味互动仪表挂件 (Speed Test & Status Card) */
.hero-widget-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-xl);
  padding: 30px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(226, 232, 240, 0.6);
  backdrop-filter: blur(20px);
  position: relative;
}

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

.widget-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
}

.status-beacon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #065f46;
  background: #d1fae5;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.node-list-mini {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}

.node-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid #f1f5f9;
  transition: all var(--transition-fast);
}

.node-row:hover {
  border-color: var(--primary-light);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.node-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.9rem;
}

.flag {
  font-size: 1.25rem;
}

.node-metrics {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.latency-badge {
  color: var(--accent-emerald);
  font-weight: 700;
}

.protocol-tag {
  background: #f1f5f9;
  padding: 2px 8px;
  border-radius: 6px;
  color: var(--text-muted);
  font-size: 0.75rem;
}

/* 测速互动操作区 */
.speed-action-box {
  background: linear-gradient(135deg, #f0fdf4 0%, #e0f2fe 100%);
  border: 1px dashed #86efac;
  border-radius: var(--radius-md);
  padding: 18px;
  text-align: center;
}

.speed-meter-val {
  font-size: 2.2rem;
  font-weight: 900;
  font-family: var(--font-mono);
  color: #047857;
  line-height: 1;
  margin: 6px 0;
}

.speed-meter-val small {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

.speed-btn {
  width: 100%;
  margin-top: 10px;
  background: #ffffff;
  color: #047857;
  border: 1px solid #a7f3d0;
  padding: 9px;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.speed-btn:hover {
  background: #047857;
  color: #ffffff;
}

/* 浮动趣味小挂件 */
.floating-badge {
  position: absolute;
  background: #ffffff;
  border-radius: var(--radius-full);
  padding: 8px 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid #f1f5f9;
  z-index: 5;
  animation: float 4s ease-in-out infinite alternate;
}

.badge-top-right {
  top: -18px;
  right: -15px;
}

.badge-bottom-left {
  bottom: -15px;
  left: -20px;
  animation-delay: -2s;
}

@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-8px) rotate(1deg); }
}

/* ---------------- 通用 Section 标题 ---------------- */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--bg-tag);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 14px;
  line-height: 1.25;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-sub);
  line-height: 1.6;
}

/* ---------------- 核心优势板块 (Core Advantages) ---------------- */
.advantages-section {
  padding: 100px 0;
  position: relative;
}

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

.advantage-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  transition: all var(--transition-bounce);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.advantage-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: var(--shadow-lg);
  background: var(--bg-card-hover);
}

.advantage-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 22px;
  transition: transform var(--transition-bounce);
}

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

.icon-blue { background: #e0f2fe; color: #0284c7; }
.icon-cyan { background: #cffafe; color: #0891b2; }
.icon-purple { background: #ede9fe; color: #7c3aed; }
.icon-green { background: #d1fae5; color: #059669; }
.icon-amber { background: #fef3c7; color: #d97706; }
.icon-rose { background: #ffe4e6; color: #e11d48; }

.advantage-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.advantage-card p {
  font-size: 0.93rem;
  color: var(--text-sub);
  line-height: 1.65;
  flex-grow: 1;
}

.advantage-footer-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}

.advantage-footer-tags span {
  font-size: 0.75rem;
  background: #f8fafc;
  color: var(--text-muted);
  border: 1px solid #e2e8f0;
  padding: 3px 8px;
  border-radius: 6px;
}

/* ---------------- 套餐价格板块 (Pricing Section) ---------------- */
.pricing-section {
  padding: 100px 0;
  background: linear-gradient(180deg, rgba(240, 246, 255, 0.6) 0%, rgba(248, 250, 252, 0.4) 100%);
  position: relative;
}

/* 周期切换控制器 (月付/季付/年付) */
.billing-switcher-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 48px;
}

.billing-switcher {
  display: inline-flex;
  background: #e2e8f0;
  padding: 5px;
  border-radius: var(--radius-full);
  position: relative;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

.billing-opt {
  padding: 9px 24px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-sub);
  cursor: pointer;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  position: relative;
  z-index: 2;
  user-select: none;
}

.billing-opt.active {
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.discount-pill {
  position: absolute;
  top: -12px;
  right: -15px;
  background: linear-gradient(135deg, #f43f5e 0%, #fb7185 100%);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(244, 63, 94, 0.3);
  animation: pulse-sm 2s infinite;
}

@keyframes pulse-sm {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-bounce);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(56, 189, 248, 0.8);
}

.pricing-card.featured {
  background: #ffffff;
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-glow), var(--shadow-md);
  transform: scale(1.03);
}

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

.popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #0284c7, #06b6d4);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}

.plan-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.plan-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  min-height: 40px;
}

.plan-price-wrap {
  margin: 20px 0;
  padding: 16px 0;
  border-top: 1px dashed #e2e8f0;
  border-bottom: 1px dashed #e2e8f0;
}

.plan-currency {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  vertical-align: top;
  margin-right: 2px;
}

.plan-price {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--text-main);
  line-height: 1;
  font-family: var(--font-mono);
}

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

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

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-sub);
}

.plan-features li .check-icon {
  width: 18px;
  height: 18px;
  background: #e0f2fe;
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 900;
  flex-shrink: 0;
}

.plan-cta-btn {
  width: 100%;
}

/* ---------------- 用户评价板块 (Testimonials) ---------------- */
.testimonials-section {
  padding: 100px 0;
  position: relative;
}

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

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-fast);
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(56, 189, 248, 0.5);
}

.review-stars {
  color: #f59e0b;
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #ffffff;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(56, 189, 248, 0.25);
}

.author-meta h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

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

/* ---------------- 常见问题板块 (FAQ) ---------------- */
.faq-section {
  padding: 100px 0;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0) 0%, rgba(241, 245, 249, 0.6) 100%);
}

.faq-container {
  max-width: 860px;
  margin: 0 auto;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.faq-item:hover {
  border-color: rgba(56, 189, 248, 0.5);
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.faq-header {
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
  transition: color var(--transition-fast);
}

.faq-header:hover {
  color: var(--primary);
}

.faq-icon-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-sub);
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.faq-item.active .faq-icon-arrow {
  transform: rotate(180deg);
  background: #e0f2fe;
  color: var(--primary);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, padding 0.35s ease;
  padding: 0 26px;
  color: var(--text-sub);
  font-size: 0.95rem;
  line-height: 1.75;
}

.faq-item.active .faq-content {
  max-height: 600px;
  padding: 0 26px 22px;
}

/* ---------------- 知识库与教程板块 (Knowledge Base) ---------------- */
.knowledge-section {
  padding: 100px 0;
  position: relative;
}

.knowledge-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-sub);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

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

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-bounce);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.article-card:hover {
  transform: translateY(-6px);
  border-color: rgba(56, 189, 248, 0.7);
  box-shadow: var(--shadow-lg);
}

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

.article-category {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.cat-recommend { background: #fee2e2; color: #dc2626; }
.cat-guide { background: #e0f2fe; color: #0284c7; }
.cat-tech { background: #ede9fe; color: #7c3aed; }
.cat-ai { background: #d1fae5; color: #059669; }
.cat-security { background: #fef3c7; color: #d97706; }

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

.article-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.45;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-excerpt {
  font-size: 0.88rem;
  color: var(--text-sub);
  line-height: 1.65;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.article-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
}

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

.article-link:hover {
  gap: 10px;
  color: var(--primary-hover);
}

.article-preview-btn {
  background: #f1f5f9;
  border: none;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-sub);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.article-preview-btn:hover {
  background: #e2e8f0;
  color: var(--text-main);
}

/* ---------------- 模态文章阅读抽屉 (Article Drawer Modal) ---------------- */
.article-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.article-modal.show {
  opacity: 1;
  visibility: visible;
}

.article-modal-content {
  background: #ffffff;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(30px);
  transition: transform var(--transition-bounce);
}

.article-modal.show .article-modal-content {
  transform: translateY(0);
}

.modal-header {
  padding: 20px 28px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
}

.modal-header h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-main);
}

.modal-close-btn {
  background: #e2e8f0;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-sub);
}

.modal-close-btn:hover {
  background: #cbd5e1;
  color: var(--text-main);
}

.modal-body {
  padding: 32px;
  overflow-y: auto;
  line-height: 1.8;
  color: var(--text-sub);
}

.modal-body h1, .modal-body h2, .modal-body h3 {
  color: var(--text-main);
  margin-top: 24px;
  margin-bottom: 12px;
}

.modal-body p {
  margin-bottom: 16px;
}

.modal-body ul, .modal-body ol {
  margin-bottom: 18px;
  padding-left: 24px;
}

.modal-footer {
  padding: 16px 28px;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ---------------- 转换引导 CTA 区域 ---------------- */
.cta-banner-section {
  padding: 80px 0;
}

.cta-banner-box {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 40%, #1e1b4b 100%);
  border-radius: var(--radius-xl);
  padding: 60px 48px;
  text-align: center;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(2, 132, 199, 0.3);
}

.cta-banner-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.3) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-banner-box h2 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.cta-banner-box p {
  font-size: 1.15rem;
  color: #bae6fd;
  max-width: 680px;
  margin: 0 auto 32px;
  position: relative;
  z-index: 2;
}

.cta-banner-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
  z-index: 2;
}

/* ---------------- 页脚与 IndexNow 工具卡片 ---------------- */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 30px;
  position: relative;
  z-index: 2;
}

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

.footer-col h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 20px;
}

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

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-sub);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.indexnow-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 16px;
}

.indexnow-card p {
  font-size: 0.82rem;
  color: var(--text-sub);
  margin-bottom: 12px;
}

.indexnow-btn {
  background: #0284c7;
  color: #ffffff;
  border: none;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
  width: 100%;
}

.indexnow-btn:hover {
  background: #0369a1;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid #e2e8f0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* 浮动返回顶部与快捷上车挂件 */
.floating-dock {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.dock-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all var(--transition-bounce);
}

.dock-btn:hover {
  transform: translateY(-4px) scale(1.08);
  color: var(--primary);
  border-color: var(--primary-light);
}

.dock-cta {
  background: linear-gradient(135deg, #0284c7 0%, #06b6d4 100%);
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4);
}

/* 文章详情页专用排版样式 (Article Detailed Pages) */
.article-page-header {
  padding-top: 130px;
  padding-bottom: 40px;
  background: linear-gradient(180deg, #f0f7ff 0%, #f8fafc 100%);
  border-bottom: 1px solid #e2e8f0;
}

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

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

.article-main-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  padding: 60px 0 100px;
}

.article-toc-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.toc-title {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toc-link {
  font-size: 0.85rem;
  color: var(--text-sub);
  line-height: 1.4;
  display: block;
  padding: 4px 8px;
  border-radius: 4px;
}

.toc-link:hover, .toc-link.active {
  background: #e0f2fe;
  color: var(--primary);
  font-weight: 600;
}

.article-body-content {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}

.article-body-content h1 {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 16px;
  line-height: 1.3;
}

.article-body-content h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-top: 36px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #f1f5f9;
  color: #0f172a;
}

.article-body-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 24px;
  margin-bottom: 12px;
  color: #1e293b;
}

.article-body-content p {
  font-size: 1.02rem;
  line-height: 1.85;
  color: #334155;
  margin-bottom: 20px;
}

.article-body-content ul, .article-body-content ol {
  margin-bottom: 24px;
  padding-left: 28px;
  color: #334155;
}

.article-body-content li {
  margin-bottom: 8px;
  line-height: 1.75;
}

.article-callout {
  background: #f0fdf4;
  border-left: 4px solid #10b981;
  padding: 18px 22px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 28px 0;
}

.article-callout.warning {
  background: #fffbeb;
  border-left-color: #f59e0b;
}

.article-callout.info {
  background: #f0f9ff;
  border-left-color: #0284c7;
}

.article-aff-box {
  background: linear-gradient(135deg, #e0f2fe 0%, #f0fdf4 100%);
  border: 2px solid #7dd3fc;
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  margin: 40px 0;
}

.article-aff-box h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0369a1;
  margin-bottom: 10px;
}

/* 响应式断点适配 */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .knowledge-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
  .article-main-container {
    grid-template-columns: 1fr;
  }
  .article-toc-sidebar {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  }
  .nav-menu.mobile-open {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-title {
    font-size: 2.3rem;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .pricing-card.featured {
    transform: none;
  }
  .advantages-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .knowledge-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .article-body-content {
    padding: 24px;
  }
}
