/* ===================================================================
   QuickQ VPN - 极简高性能原生样式表 (style.css)
   深色赛博霓虹风格: Navy-to-Black Gradient + #00F0FF 霓虹青 + #FF00E5 霓虹洋红
   =================================================================== */

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

:root {
  --bg-primary: #050811;
  --bg-secondary: #0a0f24;
  --bg-card: rgba(13, 20, 44, 0.75);
  --bg-card-hover: rgba(19, 30, 66, 0.85);
  --border-color: rgba(0, 240, 255, 0.2);
  --border-glow: rgba(0, 240, 255, 0.6);
  --border-magenta: rgba(255, 0, 229, 0.4);
  --neon-cyan: #00F0FF;
  --neon-magenta: #FF00E5;
  --neon-cyan-glow: 0 0 20px rgba(0, 240, 255, 0.6), 0 0 40px rgba(0, 240, 255, 0.25);
  --neon-magenta-glow: 0 0 20px rgba(255, 0, 229, 0.6), 0 0 40px rgba(255, 0, 229, 0.25);
  --text-primary: #FFFFFF;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --font-heading: 'Orbitron', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --max-width: 1200px;
  --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;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
}

body {
  background: radial-gradient(circle at 50% 0%, #0d1b3e 0%, #060a17 50%, #03050c 100%);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* 背景粒子画布 */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.content-wrapper {
  position: relative;
  z-index: 1;
}

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

/* 导航栏 */
.header-nav {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(5, 8, 17, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 240, 255, 0.15);
  z-index: 100;
  transition: var(--transition);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 1px;
  color: #fff;
}

.logo-badge {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
  color: #03050c;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 900;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.5);
}

.logo-text {
  background: linear-gradient(90deg, #FFFFFF, var(--neon-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--neon-cyan);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.nav-link.highlight {
  color: #FFFFFF;
  background: rgba(255, 0, 229, 0.15);
  border: 1px solid var(--neon-magenta);
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 600;
  transition: var(--transition);
}

.nav-link.highlight:hover {
  background: var(--neon-magenta);
  color: #fff;
  box-shadow: var(--neon-magenta-glow);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* 按钮基础与发光脉冲 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  border: none;
}

.btn-cyan {
  background: linear-gradient(135deg, var(--neon-cyan) 0%, #00a8ff 100%);
  color: #03050c;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: var(--neon-cyan-glow);
}

/* 脉冲动画呼吸灯效果 */
.btn-pulse {
  animation: pulse-cyan 2.4s infinite;
}

@keyframes pulse-cyan {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 240, 255, 0.7);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(0, 240, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 240, 255, 0);
  }
}

.btn-magenta-outline {
  background: rgba(255, 0, 229, 0.08);
  border: 1px solid var(--neon-magenta);
  color: #FFFFFF;
  box-shadow: 0 0 15px rgba(255, 0, 229, 0.2);
}

.btn-magenta-outline:hover {
  background: var(--neon-magenta);
  color: #FFFFFF;
  box-shadow: var(--neon-magenta-glow);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
}

/* 英雄区 (Hero Section) */
.hero-section {
  padding: 100px 0 80px;
  position: relative;
  text-align: center;
}

.hero-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.3);
  padding: 8px 18px;
  border-radius: 30px;
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-cyan);
  box-shadow: 0 0 10px var(--neon-cyan);
  animation: blink 1.5s infinite;
}

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

.hero-badge-text {
  font-size: 0.88rem;
  color: var(--neon-cyan);
  font-weight: 600;
  letter-spacing: 0.5px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #FFFFFF 20%, var(--neon-cyan) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-magenta {
  background: linear-gradient(135deg, var(--neon-cyan) 0%, var(--neon-magenta) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 500;
  color: #E2E8F0;
  max-width: 860px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

.hero-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-btn-large {
  padding: 16px 38px;
  font-size: 1.1rem;
}

/* 核心参数统计看板 */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.stat-card {
  background: rgba(10, 16, 36, 0.6);
  border: 1px solid rgba(0, 240, 255, 0.15);
  border-radius: 12px;
  padding: 20px 16px;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.stat-card:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
  transform: translateY(-3px);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--neon-cyan);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* 通用区块标题 */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--neon-magenta);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.3;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* 核心优势板块 (3个核心图文卡片) */
.features-section {
  padding: 80px 0;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--neon-cyan);
  box-shadow: 0 10px 30px rgba(0, 240, 255, 0.15);
  transform: translateY(-6px);
}

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

.feature-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--neon-cyan);
}

.feature-icon {
  width: 32px;
  height: 32px;
}

.feature-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: #FFFFFF;
}

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

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

.feature-pill {
  font-size: 0.78rem;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  color: var(--neon-cyan);
  border: 1px solid rgba(0, 240, 255, 0.2);
}

/* 流媒体与 AI 支持图卡 */
.support-section {
  padding: 80px 0;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.support-card {
  background: rgba(10, 16, 38, 0.7);
  border: 1px solid rgba(255, 0, 229, 0.2);
  border-radius: 14px;
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.support-card:hover {
  border-color: var(--neon-magenta);
  box-shadow: 0 8px 25px rgba(255, 0, 229, 0.2);
  transform: translateY(-5px);
}

.support-icon-wrap {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 0, 229, 0.1);
  color: var(--neon-magenta);
  border: 1px solid rgba(255, 0, 229, 0.3);
}

.support-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.support-card-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 套餐价格对比表 (Pricing) */
.pricing-section {
  padding: 90px 0;
}

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

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--neon-cyan);
  box-shadow: 0 15px 40px rgba(0, 240, 255, 0.15);
}

.pricing-card.featured {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.25);
  background: linear-gradient(180deg, rgba(16, 27, 60, 0.9) 0%, rgba(10, 16, 36, 0.85) 100%);
  transform: scale(1.03);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-4px);
  box-shadow: 0 0 45px rgba(0, 240, 255, 0.35);
}

.pricing-badge-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta));
  color: #03050c;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 1px;
  padding: 4px 16px;
  border-radius: 20px;
  text-transform: uppercase;
}

.pricing-name {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-sub {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-price-box {
  margin-bottom: 28px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

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

.price-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1;
}

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

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

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: #cbd5e1;
  margin-bottom: 14px;
}

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

.pricing-btn {
  width: 100%;
}

/* FAQ 常见问题板块 */
.faq-section {
  padding: 80px 0;
}

.faq-grid {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(0, 240, 255, 0.3);
}

.faq-question {
  width: 100%;
  padding: 22px 24px;
  text-align: left;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  outline: none;
  font-family: inherit;
}

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--neon-cyan);
  transition: var(--transition);
  flex-shrink: 0;
}

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

.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-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 280px;
  padding-bottom: 22px;
}

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

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

.review-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.review-card:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 10px 25px rgba(0, 240, 255, 0.1);
  transform: translateY(-4px);
}

.review-stars {
  display: flex;
  gap: 4px;
  color: #ffb703;
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.review-text {
  font-size: 0.95rem;
  color: #e2e8f0;
  line-height: 1.7;
  margin-bottom: 24px;
  flex-grow: 1;
}

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

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #03050c;
  font-weight: 800;
  font-size: 1rem;
}

.author-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
}

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

/* 页脚 (Footer) - 严格只保留4个标题，且全部target="_blank" */
.footer {
  background: #03050b;
  border-top: 1px solid rgba(0, 240, 255, 0.15);
  padding: 50px 0 30px;
  margin-top: 40px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.footer-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.footer-link:hover {
  color: var(--neon-cyan);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.6);
}

.footer-divider {
  color: rgba(255, 255, 255, 0.15);
}

.footer-copy {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 文章资讯页与子页面样式 */
.article-header {
  padding: 60px 0 40px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.article-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 50px 0 80px;
}

.article-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 32px;
  transition: var(--transition);
}

.article-item:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 8px 30px rgba(0, 240, 255, 0.12);
}

.article-meta {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--neon-cyan);
  margin-bottom: 12px;
}

.article-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.4;
}

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

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

.article-content {
  font-size: 1rem;
  color: #cbd5e1;
  line-height: 1.8;
}

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

.article-content a {
  color: var(--neon-cyan);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 600;
  transition: var(--transition);
}

.article-content a:hover {
  color: var(--neon-magenta);
}

/* 子页面内容排版 (About / Terms / Privacy / Sitemap) */
.legal-page-wrap {
  padding: 60px 0 100px;
  max-width: 900px;
  margin: 0 auto;
}

.legal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 44px;
}

.legal-card h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: #fff;
}

.legal-card h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--neon-cyan);
  margin: 32px 0 14px;
}

.legal-card p {
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-card ul {
  padding-left: 24px;
  margin-bottom: 20px;
  color: #cbd5e1;
}

.legal-card li {
  margin-bottom: 10px;
  line-height: 1.7;
}

/* 响应式媒体查询 (@media) */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .support-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
  .pricing-card.featured {
    transform: none;
  }
  .pricing-card.featured:hover {
    transform: translateY(-4px);
  }
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-container {
    height: auto;
    padding: 16px 0;
    flex-direction: column;
    gap: 16px;
  }
  .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
  .hero-section {
    padding: 60px 0 40px;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .hero-subtitle {
    font-size: 1.05rem;
  }
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .support-grid {
    grid-template-columns: 1fr;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
    padding: 14px 20px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 16px;
  }
  .footer-divider {
    display: none;
  }
  .legal-card {
    padding: 24px 18px;
  }
}
