/* ==========================================================================
   阿达西 (Adaxi) 网络加速器 - 商务简洁 CSS 设计系统
   纯原生 CSS3 | 秒开优化 | 移动端优先 | 纯 CSS 动态视觉图卡
   ========================================================================== */

:root {
  /* 商务高质感暗色调 */
  --bg-primary: #0b0f19;
  --bg-secondary: #111827;
  --bg-card: rgba(17, 24, 39, 0.75);
  --bg-card-hover: rgba(31, 41, 55, 0.85);
  
  --text-primary: #f9fafb;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  
  --accent-blue: #3b82f6;
  --accent-cyan: #06b6d4;
  --accent-indigo: #6366f1;
  --accent-emerald: #10b981;
  
  --accent-gradient: linear-gradient(135deg, #06b6d4 0%, #3b82f6 50%, #6366f1 100%);
  --accent-glow: rgba(6, 182, 212, 0.2);
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(6, 182, 212, 0.35);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(6, 182, 212, 0.25);

  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 20% 20%, rgba(6, 182, 212, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(99, 102, 241, 0.04) 0%, transparent 50%);
  background-attachment: fixed;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid var(--border-highlight);
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
  animation: pulseDot 2s infinite;
}

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

/* 按钮规范 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-full);
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #030712;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.4);
  filter: brightness(1.08);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-highlight);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 0.95rem 2.2rem;
  font-size: 1.05rem;
}

/* 顶部导航栏 (包含导航目录) */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 25, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.35rem;
  font-weight: 800;
}

.logo-icon {
  width: 2.3rem;
  height: 2.3rem;
  background: var(--accent-gradient);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #030712;
  font-weight: 900;
}

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

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

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

/* Hero 主视觉区 - 左右分布 */
.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-wrapper {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-left {
  text-align: left;
}

.hero-title {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 1.25rem;
  letter-spacing: -0.8px;
}

.hero-subtitle {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* 右侧纯 CSS 动态视觉图卡 */
.hero-right {
  position: relative;
}

.hero-card-container {
  background: var(--bg-card);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}

.card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ping-tag {
  font-size: 0.78rem;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.12);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.node-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.node-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  transition: var(--transition);
}

.node-item:hover {
  background: rgba(6, 182, 212, 0.05);
  border-color: var(--border-highlight);
}

.node-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.node-flag { font-size: 1.2rem; }
.node-name { font-size: 0.9rem; font-weight: 600; }
.node-type { font-size: 0.75rem; color: var(--text-muted); }
.node-ping {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.speed-meter {
  background: rgba(6, 182, 212, 0.06);
  border: 1px dashed var(--border-highlight);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.meter-info h5 { font-size: 0.82rem; color: var(--text-muted); font-weight: 500; }
.meter-value { font-size: 1.4rem; font-weight: 800; color: var(--accent-cyan); }
.meter-bar {
  width: 120px;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.meter-progress {
  width: 92%;
  height: 100%;
  background: var(--accent-gradient);
  border-radius: 3px;
  animation: shimmerSpeed 2s infinite alternate;
}

@keyframes shimmerSpeed {
  0% { width: 85%; }
  100% { width: 96%; }
}

/* 核心优势、图卡与通用 Sections */
.section { padding: 4.5rem 0; }
.section-header { text-align: center; max-width: 650px; margin: 0 auto 3rem; }
.section-title { font-size: clamp(1.75rem, 3vw, 2.3rem); font-weight: 700; margin-bottom: 0.75rem; }
.section-desc { font-size: 1rem; color: var(--text-secondary); }

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem 1.6rem;
  transition: var(--transition);
}

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

.feature-icon {
  width: 3.2rem;
  height: 3.2rem;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  margin-bottom: 1.25rem;
}

.feature-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; }
.feature-desc { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.6; }

/* 流媒体与 AI 支持图卡 */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--border-highlight);
  transform: translateY(-3px);
}

.service-logo {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

.service-card.netflix .service-logo { background: #e50914; color: #fff; }
.service-card.disney .service-logo { background: #113ccf; color: #fff; }
.service-card.youtube .service-logo { background: #ff0000; color: #fff; }
.service-card.openai .service-logo { background: #10a37f; color: #fff; }
.service-card.claude .service-logo { background: #d97757; color: #fff; }
.service-card.midjourney .service-logo { background: #0f172a; border: 1px solid #334155; color: #fff; }

.service-info h4 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.25rem; }
.service-info p { font-size: 0.85rem; color: var(--text-secondary); }

/* 价格套餐对比表 */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.6rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.pricing-card.popular {
  background: rgba(17, 24, 39, 0.95);
  border-color: var(--accent-cyan);
  box-shadow: var(--shadow-glow);
}

.pricing-card:hover { transform: translateY(-4px); border-color: var(--border-highlight); }

.popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gradient);
  color: #030712;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.9rem;
  border-radius: var(--radius-full);
}

.plan-name { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.4rem; }
.plan-desc { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 1.25rem; }
.plan-price { font-size: 2.2rem; font-weight: 800; margin-bottom: 1.25rem; display: flex; align-items: baseline; gap: 0.2rem; }
.plan-price span { font-size: 0.9rem; color: var(--text-muted); font-weight: 400; }
.plan-features { list-style: none; margin-bottom: 1.75rem; flex-grow: 1; }
.plan-features li { display: flex; align-items: center; gap: 0.65rem; font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 0.75rem; }
.plan-features li svg { color: var(--accent-cyan); flex-shrink: 0; }

/* ==========================================================================
   SEO 文章 3x3 图卡网格 (放置在价格板块正下方)
   ========================================================================== */
.seo-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.article-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-highlight);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-card), 0 0 20px rgba(6, 182, 212, 0.15);
}

.article-card-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

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

.article-card-title a {
  transition: var(--transition);
}

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

.article-card-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  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;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.article-card-link {
  color: var(--accent-cyan);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: var(--transition);
}

.article-card-link:hover {
  color: var(--accent-blue);
  transform: translateX(3px);
}

/* 用户评价 */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

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

.review-stars { color: #f59e0b; margin-bottom: 0.85rem; display: flex; gap: 0.2rem; }
.review-text { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 1.1rem; }
.review-user { display: flex; align-items: center; gap: 0.75rem; }
.user-avatar {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #030712;
  font-weight: 700;
  font-size: 0.85rem;
}
.user-meta h5 { font-size: 0.9rem; font-weight: 600; }
.user-meta span { font-size: 0.78rem; color: var(--text-muted); }

/* FAQ 常见问题 */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

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

.faq-item details { padding: 1.15rem 1.35rem; cursor: pointer; }
.faq-item summary {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.3rem; color: var(--accent-cyan); }
.faq-item details[open] summary::after { content: '−'; }
.faq-content {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* 底部 Footer */
.footer {
  padding: 3rem 0;
  border-top: 1px solid var(--border-color);
  background: #070a12;
  margin-top: 3.5rem;
}

.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.25rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.footer-link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
}

.footer-link:hover {
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.08);
}

.footer-copy { text-align: center; color: var(--text-muted); font-size: 0.82rem; }

/* ==========================================================================
   SEO 文章单页专用排版 (seo-article-1.html ~ seo-article-9.html)
   ========================================================================== */
.article-header {
  padding: 4rem 0 2rem;
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
}

.article-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.article-content {
  max-width: 860px;
  margin: 0 auto 5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
}

.article-content h2 {
  font-size: 1.45rem;
  margin: 2rem 0 1rem;
  color: var(--accent-cyan);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.article-content h3 {
  font-size: 1.2rem;
  margin: 1.5rem 0 0.75rem;
  color: var(--text-primary);
}

.article-content p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  line-height: 1.75;
  font-size: 1.02rem;
}

.article-content ul, .article-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--text-secondary);
}

.article-content li {
  margin-bottom: 0.6rem;
  line-height: 1.65;
}

.article-content a.internal-link {
  color: var(--accent-cyan);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: var(--transition);
}

.article-content a.internal-link:hover {
  color: var(--accent-blue);
}

.article-cta-box {
  background: rgba(6, 182, 212, 0.06);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  margin: 2.5rem 0 1.5rem;
}

.article-cta-box h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.article-cta-box p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

/* 响应式断点 */
@media (max-width: 992px) {
  .hero-wrapper { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-left { text-align: center; }
  .hero-cta { justify-content: center; }
  .features-grid, .pricing-grid, .seo-articles-grid {
    grid-template-columns: repeat(1, 1fr);
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .hero { padding: 3rem 0 2rem; }
  .article-content { padding: 1.75rem 1.25rem; }
  .footer-nav { gap: 1rem; }
}
