/* ==========================================================================
   外婆云 (WaipoCloud) - 官方落地页主样式表
   配色方案: 蓝白高对比度科技色彩体系 (Blue & White Theme)
   ========================================================================== */

:root {
  --bg-dark: #050b18;
  --bg-surface: #0a152e;
  --bg-card: rgba(14, 27, 59, 0.7);
  --bg-card-hover: rgba(22, 42, 90, 0.85);
  
  --primary-blue: #2563eb;
  --accent-cyan: #00d2ff;
  --accent-blue-light: #60a5fa;
  --glow-cyan: rgba(0, 210, 255, 0.4);
  
  --text-white: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border-light: rgba(59, 130, 246, 0.2);
  --border-active: rgba(0, 210, 255, 0.6);
  
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* 背景科技纹理与柔光 */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: 
    radial-gradient(circle at 15% 20%, rgba(0, 210, 255, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 85% 70%, rgba(37, 99, 235, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(10, 21, 46, 0.5) 0%, var(--bg-dark) 100%);
  z-index: -2;
  pointer-events: none;
}

/* 容器通用限制 */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

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

a:hover {
  color: #60a5fa;
}

/* 按钮基础样式 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, #00d2ff 0%, #2563eb 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 210, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 210, 255, 0.5);
  filter: brightness(1.1);
  color: #ffffff;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: rgba(0, 210, 255, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

/* 顶部状态通告栏 (Live Status Bar) */
.live-status-bar {
  background: rgba(10, 21, 46, 0.95);
  border-bottom: 1px solid var(--border-light);
  padding: 8px 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.live-status-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.status-indicator-group {
  display: flex;
  align-items: center;
  gap: 20px;
}

.status-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dot-pulse {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* 主导航栏 */
.main-header {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.brand-logo svg {
  width: 40px;
  height: 40px;
}

.brand-logo span {
  background: linear-gradient(135deg, #ffffff 0%, #00d2ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--accent-cyan);
}

/* 英雄区 (Hero Section) - 带外婆 AI 背景与动态计数 */
.hero-section {
  padding: 70px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid var(--border-active);
  border-radius: 50px;
  color: var(--accent-cyan);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 3.2rem;
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-title-highlight {
  background: linear-gradient(135deg, #ffffff 30%, #00d2ff 80%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

/* 实时流量节点与下载人数 (指令 4) */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  backdrop-filter: blur(16px);
}

.stat-box {
  text-align: center;
}

.stat-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-cyan);
  font-family: monospace;
}

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

/* 外婆AI科技主题卡片 (指令 2: 背景图要婆婆图片) */
.hero-visual-card {
  position: relative;
  background: radial-gradient(circle at center, rgba(0, 210, 255, 0.15), rgba(10, 21, 46, 0.9));
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.waipo-cyber-avatar-wrapper {
  position: relative;
  width: 260px;
  height: 260px;
  margin-bottom: 20px;
}

.waipo-cyber-avatar-wrapper svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 20px rgba(0, 210, 255, 0.4));
}

.waipo-motto-box {
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid var(--accent-cyan);
  padding: 12px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  text-align: left;
  font-size: 0.9rem;
  color: #e2e8f0;
}

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

.section-tag {
  color: var(--accent-cyan);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* 实时节点性能矩阵 Matrix (节点测速模块) */
.node-matrix-section {
  padding: 80px 0;
  background: rgba(10, 21, 46, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.node-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: var(--transition);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.node-card:hover {
  border-color: var(--border-active);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 210, 255, 0.15);
}

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

.node-flag-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
}

.node-flag {
  font-size: 1.5rem;
}

.node-ping-badge {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.node-details {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.node-bar-container {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.node-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #00d2ff, #2563eb);
  border-radius: 10px;
}

/* 价格套餐卡片 (Pricing Section) */
.pricing-section {
  padding: 90px 0;
}

.pricing-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.tab-btn {
  padding: 10px 24px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn.active {
  background: var(--accent-cyan);
  color: #050b18;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.4);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

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

.pricing-card.popular {
  border-color: var(--accent-cyan);
  background: linear-gradient(180deg, rgba(0, 210, 255, 0.1) 0%, rgba(10, 21, 46, 0.8) 100%);
  box-shadow: 0 15px 40px rgba(0, 210, 255, 0.2);
  transform: scale(1.03);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #00d2ff, #2563eb);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.plan-name {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.plan-price-box {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 24px;
}

.price-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.price-amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-white);
}

.price-period {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.plan-features {
  list-style: none;
  margin-bottom: 36px;
  flex-grow: 1;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.95rem;
  color: #cbd5e1;
}

.plan-features li svg {
  width: 18px;
  height: 18px;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

/* 客户端一键导入中心 */
.client-download-section {
  padding: 80px 0;
  background: rgba(10, 21, 46, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.client-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  transition: var(--transition);
}

.client-card:hover {
  border-color: var(--border-active);
  background: var(--bg-card-hover);
}

.client-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  color: var(--accent-cyan);
}

.client-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.client-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

/* SEO 文章矩阵模块 */
.articles-section {
  padding: 90px 0;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 30px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.article-card:hover {
  border-color: var(--border-active);
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(0, 210, 255, 0.12);
}

.article-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 12px;
  background: rgba(0, 210, 255, 0.1);
  color: var(--accent-cyan);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.article-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}

.article-card-title a {
  color: var(--text-white);
}

.article-card-title a:hover {
  color: var(--accent-cyan);
}

.article-excerpt {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 14px;
}

/* 用户评价 (User Reviews) */
.reviews-section {
  padding: 80px 0;
  background: rgba(10, 21, 46, 0.3);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
}

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

.review-text {
  font-size: 0.95rem;
  color: #cbd5e1;
  margin-bottom: 20px;
  font-style: italic;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00d2ff, #2563eb);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
}

.user-info-name {
  font-weight: 700;
  font-size: 0.95rem;
}

.user-info-role {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* FAQ 常见问题手风琴 */
.faq-section {
  padding: 90px 0;
}

.faq-wrapper {
  max-width: 840px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  user-select: none;
}

.faq-question:hover {
  color: var(--accent-cyan);
}

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  color: var(--accent-cyan);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px 24px;
  transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

/* CTA 行动召唤 Banner */
.cta-banner {
  padding: 60px 0;
  margin-bottom: 60px;
}

.cta-box {
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.15) 0%, rgba(37, 99, 235, 0.25) 100%);
  border: 1px solid var(--accent-cyan);
  border-radius: var(--radius-lg);
  padding: 50px 30px;
  text-align: center;
  backdrop-filter: blur(20px);
}

.cta-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 30px;
}

/* ==========================================================================
   核心任务 2：页脚 PBN 权重输血管道 (Footer & PBN Dofollow Links)
   ========================================================================== */
footer {
  background: #030712;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 45px 0 30px;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--text-white);
}

/* 低调、美观、小字号的友情链接区 (深度融入页面) */
.friendly-links-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 8px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.friendly-links-label {
  color: #475569;
  font-weight: 500;
}

/* 核心要求：纯正 dofollow 外链，带有 target="_blank" */
.friendly-link-item {
  color: #94a3b8;
  transition: color 0.2s ease;
  font-weight: 500;
}

.friendly-link-item:hover {
  color: var(--accent-cyan);
  text-decoration: underline;
}

.friendly-link-divider {
  color: #334155;
}

.footer-copyright {
  font-size: 0.8rem;
  color: #475569;
}

/* 文章页专用布局样式 (Article Layout Styles) */
.article-page {
  padding: 60px 0 100px;
}

.article-header {
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 30px;
}

.article-meta-tags {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.article-title-main {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 20px;
}

.article-author-info {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.article-body-content {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #cbd5e1;
  max-width: 860px;
  margin: 0 auto;
}

.article-body-content h2 {
  font-size: 1.75rem;
  color: var(--text-white);
  margin: 40px 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent-cyan);
  display: inline-block;
}

.article-body-content h3 {
  font-size: 1.35rem;
  color: var(--accent-cyan);
  margin: 30px 0 15px;
}

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

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

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

.article-cta-box {
  background: var(--bg-card);
  border: 1px solid var(--accent-cyan);
  border-radius: var(--radius-md);
  padding: 30px;
  margin: 40px 0;
  text-align: center;
}

.related-articles-box {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* 响应式适配 */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-title { font-size: 2.4rem; }
  .hero-description { margin: 0 auto 30px; }
  .hero-ctas { justify-content: center; }
  .hero-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
}

@media (max-width: 640px) {
  .hero-title { font-size: 2rem; }
  .pricing-card.popular { transform: none; }
  .hero-stats-grid { grid-template-columns: 1fr 1fr; }
  .cta-title { font-size: 1.8rem; }
}
