/* ==========================================================================
   大象网络 (Elephant Cloud - daxiangwangluo.buzz) 官方落地页原生样式表
   特性：纯原生 CSS3、零外部框架、极致轻量、秒开加载、高质感赛博暗色系设计
   ========================================================================== */

:root {
  --bg-primary: #070a12;
  --bg-secondary: #0c1220;
  --bg-card: rgba(16, 24, 40, 0.72);
  --bg-card-hover: rgba(23, 34, 57, 0.88);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(168, 85, 247, 0.45);
  
  --primary-cyan: #00f2fe;
  --primary-blue: #3b82f6;
  --primary-purple: #8b5cf6;
  --primary-purple-bright: #c084fc;
  --primary-emerald: #10b981;
  --accent-gold: #f59e0b;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --grad-cyan-blue: linear-gradient(135deg, #00f2fe 0%, #3b82f6 100%);
  --grad-purple: linear-gradient(135deg, #a855f7 0%, #7c3aed 50%, #6366f1 100%);
  --grad-purple-hover: linear-gradient(135deg, #c084fc 0%, #9333ea 50%, #7c3aed 100%);
  --grad-purple-pink: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
  --grad-purple-text: linear-gradient(135deg, #f3e8ff 0%, #c084fc 40%, #a855f7 70%, #7c3aed 100%);
  --grad-purple-text-bright: linear-gradient(135deg, #ffffff 0%, #e9d5ff 25%, #c084fc 60%, #9333ea 100%);
  --grad-card: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(168, 85, 247, 0.35);
  --shadow-purple-glow: 0 0 25px rgba(168, 85, 247, 0.35);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --max-width: 1240px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--bg-primary);
}

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

/* 页面主要容器 */
.page-wrapper {
  position: relative;
  z-index: 1;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img, svg {
  display: block;
}

/* ==========================================================================
   导航栏 Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(7, 10, 18, 0.8);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

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

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

.brand-logo-img {
  width: 44px;
  height: auto;
  aspect-ratio: 80 / 72;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 12px rgba(16, 185, 129, 0.35));
  transition: var(--transition);
}

.brand-logo-link:hover .brand-logo-img {
  transform: translateY(-1px) scale(1.05);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 18px rgba(16, 185, 129, 0.65));
}

.brand-text-block {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: var(--grad-purple-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-slogan {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 1px;
  text-transform: uppercase;
}

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

.nav-links li a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 6px 4px;
  position: relative;
}

.nav-links li a:hover, .nav-links li a.active {
  color: var(--primary-purple-bright);
}

.nav-links li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-purple);
  transition: var(--transition);
}

.nav-links li a:hover::after, .nav-links li a.active::after {
  width: 100%;
}

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

/* 按钮基础规范与极高清晰度对比保证 */
.btn,
a.btn,
.article-prose a.btn,
.article-prose .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  border-radius: var(--radius-md);
  padding: 10px 22px;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none !important;
  text-underline-offset: 0 !important;
}

.btn-primary,
a.btn-primary,
.article-prose a.btn-primary,
.article-prose .btn-primary {
  background: var(--grad-purple) !important;
  color: #ffffff !important; /* 纯白高对比度文字，字体锐利清晰 */
  font-weight: 800 !important;
  text-decoration: none !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35) !important;
  box-shadow: 0 4px 18px rgba(124, 58, 237, 0.45);
}

.btn-primary:hover,
a.btn-primary:hover,
.article-prose a.btn-primary:hover,
.article-prose .btn-primary:hover {
  background: var(--grad-purple-hover) !important;
  box-shadow: 0 6px 28px rgba(168, 85, 247, 0.7);
  transform: translateY(-2px);
  color: #ffffff !important;
  text-decoration: none !important;
}

.btn-secondary,
a.btn-secondary,
.article-prose a.btn-secondary,
.article-prose .btn-secondary {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  border: 1px solid var(--border-color) !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

.btn-secondary:hover,
a.btn-secondary:hover,
.article-prose a.btn-secondary:hover,
.article-prose .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16) !important;
  border-color: var(--primary-purple-bright) !important;
  color: var(--primary-purple-bright) !important;
  text-decoration: none !important;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
  border-radius: var(--radius-md);
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 24px;
  cursor: pointer;
  padding: 6px;
}

/* ==========================================================================
   Hero 首屏核心区
   ========================================================================== */
.hero-section {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.16) 0%, rgba(124, 58, 237, 0.1) 100%);
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: var(--primary-purple-bright);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(147, 51, 234, 0.3);
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--primary-purple-bright);
  border-radius: 50%;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(192, 132, 252, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(192, 132, 252, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(192, 132, 252, 0); }
}

.hero-title {
  font-size: 50px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  max-width: 950px;
  margin-left: auto;
  margin-right: auto;
}

.hero-title .text-gradient {
  background: linear-gradient(135deg, #f3e8ff 0%, #c084fc 40%, #a855f7 70%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

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

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 24px;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.stat-item {
  text-align: center;
  border-right: 1px solid var(--border-color);
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-size: 32px;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, #e9d5ff 25%, #c084fc 60%, #9333ea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

/* ==========================================================================
   通栏章节通用样式
   ========================================================================== */
.section {
  padding: 80px 0;
  position: relative;
}

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

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background: linear-gradient(135deg, #e9d5ff 0%, #c084fc 40%, #9333ea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

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

/* ==========================================================================
   核心卖点 / 特色特性 (Features)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-purple);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
  background: var(--bg-card-hover);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  color: var(--primary-purple-bright);
}

.feature-card:nth-child(2) .feature-icon-wrapper {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.25);
  color: var(--primary-purple);
}

.feature-card:nth-child(3) .feature-icon-wrapper {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.25);
  color: var(--primary-emerald);
}

.feature-card-title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
}

.feature-card-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   价格方案 (Pricing) - 核心要求：所有价格同排对齐
   ========================================================================== */
.pricing-section {
  background: linear-gradient(180deg, rgba(7, 10, 18, 0) 0%, rgba(12, 18, 32, 0.6) 50%, rgba(7, 10, 18, 0) 100%);
}

.pricing-grid-same-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch; /* 保证所有卡片等高 */
}

.pricing-card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-purple-bright);
  box-shadow: 0 12px 30px rgba(168, 85, 247, 0.25);
}

/* 人气爆款卡片突出显示 */
.pricing-card.featured {
  background: linear-gradient(180deg, rgba(28, 20, 52, 0.9) 0%, rgba(16, 18, 36, 0.95) 100%);
  border: 2px solid var(--primary-purple-bright);
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.3);
  transform: scale(1.03);
  z-index: 2;
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-6px);
  box-shadow: 0 16px 40px rgba(168, 85, 247, 0.5);
}

.featured-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-purple);
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  box-shadow: 0 2px 10px rgba(147, 51, 234, 0.5);
  white-space: nowrap;
}

.pricing-plan-header {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-color);
}

.pricing-plan-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.pricing-card.featured .pricing-plan-name {
  background: linear-gradient(135deg, #ffffff 0%, #e9d5ff 25%, #c084fc 60%, #9333ea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pricing-plan-desc {
  font-size: 12px;
  color: var(--text-muted);
  min-height: 36px;
}

/* 核心价格区域严格水平同排对齐 */
.pricing-price-box {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 20px;
  height: 48px;
}

.pricing-currency {
  font-size: 22px;
  font-weight: 700;
  background: linear-gradient(135deg, #e9d5ff 0%, #c084fc 50%, #9333ea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pricing-amount {
  font-size: 40px;
  font-weight: 800;
  color: #ffffff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  line-height: 1;
}

.pricing-period {
  font-size: 13px;
  color: var(--text-muted);
  margin-left: 2px;
}

.pricing-features-list {
  list-style: none;
  margin-bottom: 24px;
  flex-grow: 1; /* 占据中间所有可用空间，确保底部按钮严格同排 */
}

.pricing-features-list li {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features-list li .check-icon {
  color: var(--primary-emerald);
  font-size: 14px;
  flex-shrink: 0;
}

.pricing-features-list li strong {
  color: var(--text-main);
}

.pricing-footer {
  margin-top: auto; /* 保证底部的 CTA 按钮在同一基准线上 */
  padding-top: 10px;
}

.pricing-footer .btn {
  width: 100%;
}

/* ==========================================================================
   全球专线节点与网络概览
   ========================================================================== */
.nodes-table-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

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

.node-table th {
  background: rgba(255, 255, 255, 0.03);
  padding: 16px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.node-table td {
  padding: 16px 20px;
  font-size: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

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

.node-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.node-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--text-main);
}

.status-dot-green {
  width: 8px;
  height: 8px;
  background-color: var(--primary-emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--primary-emerald);
}

.ping-tag {
  font-family: ui-monospace, SFMono-Regular, monospace;
  font-weight: 600;
  background: linear-gradient(135deg, #e9d5ff 0%, #c084fc 50%, #9333ea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   精选深度干货文章 (Articles & Knowledge Base)
   ========================================================================== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.article-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-purple);
  box-shadow: var(--shadow-purple-glow);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.article-tag {
  background: rgba(139, 92, 246, 0.15);
  color: #c4b5fd;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 11px;
}

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

.article-title a:hover {
  color: var(--primary-purple-bright);
}

.article-excerpt {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.article-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
  font-size: 13px;
}

.read-more-link {
  color: var(--primary-purple-bright);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.read-more-link:hover {
  gap: 8px;
}

/* ==========================================================================
   真实用户评价 (User Reviews)
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 26px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-sm);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.review-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--grad-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.45);
}

.review-user-info {
  display: flex;
  flex-direction: column;
}

.review-user-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
}

.review-user-role {
  font-size: 12px;
  color: var(--text-dim);
}

.review-stars {
  color: var(--accent-gold);
  font-size: 14px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.review-comment {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  flex-grow: 1;
}

.review-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 14px;
  font-size: 11px;
  color: var(--primary-emerald);
}

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

.faq-item {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

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

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

.faq-question:hover {
  color: var(--primary-purple-bright);
}

.faq-toggle-icon {
  font-size: 20px;
  color: var(--primary-purple-bright);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

/* ==========================================================================
   权威外部链接 (External Links)
   ========================================================================== */
.external-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.external-link-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: var(--transition);
}

.external-link-card:hover {
  border-color: var(--primary-purple-bright);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}

.ext-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.ext-info h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2px;
}

.ext-info p {
  font-size: 12px;
  color: var(--text-dim);
}

/* ==========================================================================
   底部 CTA 巨幕横幅
   ========================================================================== */
.banner-cta-section {
  padding: 60px 0;
}

.banner-cta-box {
  background: linear-gradient(135deg, rgba(16, 24, 40, 0.9) 0%, rgba(30, 41, 59, 0.95) 100%);
  border: 1px solid rgba(168, 85, 247, 0.4);
  box-shadow: var(--shadow-purple-glow);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.banner-cta-box h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
}

.banner-cta-box p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 30px;
}

/* ==========================================================================
   页脚 Footer
   ========================================================================== */
.site-footer {
  background: rgba(4, 7, 13, 0.95);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
  font-size: 13px;
  color: var(--text-muted);
}

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

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 18px;
}

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

.footer-links li a:hover {
  color: var(--primary-purple-bright);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-dim);
}

/* ==========================================================================
   文章详情页排版 (Article Layout)
   ========================================================================== */
.article-detail-page {
  padding: 60px 0 100px;
}

.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 30px;
}

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

.article-main-container {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
}

.article-content-body {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.article-header {
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
}

.article-main-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text-main);
  margin-bottom: 16px;
}

.article-info-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: var(--text-dim);
}

.article-prose {
  font-size: 15px;
  line-height: 1.85;
  color: #cbd5e1;
}

.article-prose h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
  margin: 36px 0 16px;
  padding-left: 12px;
  border-left: 4px solid var(--primary-purple-bright);
}

.article-prose h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin: 24px 0 12px;
}

.article-prose p {
  margin-bottom: 20px;
}

.article-prose ul, .article-prose ol {
  margin: 0 0 20px 24px;
}

.article-prose li {
  margin-bottom: 8px;
}

.article-prose strong {
  color: #ffffff;
}

.article-prose a:not(.btn) {
  color: var(--primary-purple-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-prose a:not(.btn):hover {
  color: #ffffff;
}

.article-callout {
  background: rgba(168, 85, 247, 0.08);
  border: 1px solid rgba(168, 85, 247, 0.35);
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 24px 0;
}

.article-callout.warning {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.3);
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.article-table th, .article-table td {
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  font-size: 14px;
}

.article-table th {
  background: rgba(255, 255, 255, 0.04);
  font-weight: 700;
  color: var(--text-main);
}

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

.sidebar-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.sidebar-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

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

.sidebar-link-list li a {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  display: block;
}

.sidebar-link-list li a:hover {
  color: var(--primary-purple-bright);
}

/* 渐变紫色文字与高亮通用工具类 */
.text-grad-purple {
  background: linear-gradient(135deg, #ffffff 0%, #e9d5ff 25%, #c084fc 60%, #9333ea 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.text-purple-bright {
  color: var(--primary-purple-bright) !important;
}

/* ==========================================================================
   响应式断点 (Responsive Queries)
   ========================================================================== */
@media (max-width: 1100px) {
  .pricing-grid-same-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-card.featured {
    transform: none;
  }
  .pricing-card.featured:hover {
    transform: translateY(-6px);
  }
  .features-grid, .articles-grid, .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .external-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links, .header-actions .btn {
    display: none;
  }
  .mobile-menu-btn {
    display: block;
  }
  .hero-title {
    font-size: 32px;
  }
  .hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
  }
  .stat-item:nth-last-child(-n+2) {
    border-bottom: none;
  }
  .pricing-grid-same-row {
    grid-template-columns: 1fr;
  }
  .features-grid, .articles-grid, .reviews-grid {
    grid-template-columns: 1fr;
  }
  .external-links-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .article-main-container {
    grid-template-columns: 1fr;
  }
  .article-content-body {
    padding: 24px;
  }
}

/* 移动端抽屉菜单 */
.mobile-nav-drawer {
  position: fixed;
  top: 72px;
  left: 0;
  width: 100%;
  background: rgba(7, 10, 18, 0.98);
  border-bottom: 1px solid var(--border-color);
  padding: 24px;
  display: none;
  flex-direction: column;
  gap: 16px;
  z-index: 99;
}

.mobile-nav-drawer.open {
  display: flex;
}

.mobile-nav-drawer a {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
