/* ==========================================================================
   Gatern 云机场 (gaternjc.mom) - 官方极速轻量原生设计系统
   纯原生 CSS，零重型第三方库，毫秒级响应渲染
   ========================================================================== */

:root {
  --bg-dark: #070A13;
  --bg-darker: #04060C;
  --bg-card: rgba(15, 23, 42, 0.78);
  --bg-card-hover: rgba(22, 33, 58, 0.92);
  --border-color: rgba(255, 255, 255, 0.09);
  --border-hover: rgba(0, 240, 255, 0.45);
  --primary: #00F0FF;
  --primary-glow: rgba(0, 240, 255, 0.35);
  --primary-dark: #00b4c2;
  --secondary: #3B82F6;
  --accent: #8B5CF6;
  --accent-glow: rgba(139, 92, 246, 0.3);
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(0, 240, 255, 0.25);
}

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

html {
  font-family: var(--font-family);
  background-color: #02050e;
  color: var(--text-main);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.65;
  font-size: 16px;
  background-color: transparent;
}

/* ================= 动态海滩与波浪背景 (Dynamic Beach & Ocean Canvas) ================= */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  opacity: 1;
}

.aurora-bg {
  display: none;
}

/* ================= 布局通用容器 ================= */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 90px 0;
  position: relative;
}

.section-title-wrap {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.gradient-text {
  background: linear-gradient(135deg, #FFFFFF 20%, var(--primary) 70%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-muted);
  line-height: 1.7;
}

/* ================= 导航条 (Header & Nav) ================= */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(7, 10, 19, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

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

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
  transition: var(--transition);
}

.logo-link:hover .logo-img {
  filter: drop-shadow(0 0 12px var(--primary-glow));
}

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

.nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding: 6px 0;
}

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

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  transition: width 0.3s ease;
}

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

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

/* ================= 按钮与 CTA 规范 ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #00F0FF 0%, #3B82F6 100%);
  color: #050811;
  box-shadow: 0 4px 18px rgba(0, 240, 255, 0.32);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(0, 240, 255, 0.48);
  filter: brightness(1.08);
}

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

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

.btn-lg {
  padding: 16px 36px;
  font-size: 17px;
  border-radius: var(--radius-full);
}

.btn-block {
  width: 100%;
}

.pulse-badge {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ================= Hero 区域 ================= */
.hero-section {
  padding: 70px 0 90px;
  text-align: center;
  position: relative;
}

.hero-notice {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(0, 240, 255, 0.3);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 13.5px;
  color: var(--text-main);
  margin-bottom: 28px;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
}

.hero-title {
  font-size: clamp(34px, 5.2vw, 62px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -1px;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--text-muted);
  max-width: 840px;
  margin: 0 auto 38px;
  line-height: 1.75;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1050px;
  margin: 0 auto;
}

.stat-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 18px;
  backdrop-filter: blur(12px);
  transition: var(--transition);
}

.stat-item:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.stat-num {
  font-size: 34px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 6px;
  font-feature-settings: "tnum";
}

.stat-label {
  font-size: 13.5px;
  color: var(--text-muted);
}

/* ================= 核心优势 (Features) ================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

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

.feature-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 22px;
  color: var(--primary);
}

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

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

/* ================= 晚高峰测速对比 (Live Speed Test) ================= */
.speed-test-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card);
}

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

.comparison-table th,
.comparison-table td {
  padding: 18px 22px;
  border-bottom: 1px solid var(--border-color);
}

.comparison-table th {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.02);
}

.comparison-table th.col-highlight {
  color: var(--primary);
  background: rgba(0, 240, 255, 0.06);
  border-left: 1px solid rgba(0, 240, 255, 0.2);
  border-right: 1px solid rgba(0, 240, 255, 0.2);
}

.comparison-table td.col-highlight {
  background: rgba(0, 240, 255, 0.04);
  border-left: 1px solid rgba(0, 240, 255, 0.2);
  border-right: 1px solid rgba(0, 240, 255, 0.2);
  font-weight: 600;
  color: #FFFFFF;
}

.badge-speed {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
}

.badge-speed.fast {
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-speed.slow {
  background: rgba(239, 68, 68, 0.15);
  color: #F87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ================= 价格套餐区 (所有价格要同排) ================= */
.pricing-wrapper {
  width: 100%;
  overflow-x: auto;
  padding-top: 32px;
  padding-bottom: 24px;
}

/* 核心要求：所有价格要同排 (严格采用单排并列网格布局) */
.pricing-grid-same-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(220px, 1fr));
  gap: 16px;
  width: 100%;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 34px 20px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: var(--transition);
  backdrop-filter: blur(12px);
}

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

.pricing-card.featured {
  background: linear-gradient(180deg, rgba(16, 26, 48, 0.96) 0%, rgba(13, 30, 60, 0.96) 100%);
  border: 2px solid var(--primary);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
  z-index: 5;
}

.pricing-card.featured:hover {
  border-color: #5eead4;
  transform: translateY(-6px);
  box-shadow: 0 14px 35px rgba(0, 240, 255, 0.4);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #00F0FF, #3B82F6);
  color: #050811;
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  box-shadow: 0 4px 14px rgba(0, 240, 255, 0.5);
  white-space: nowrap;
  z-index: 10;
}

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

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

.plan-desc {
  font-size: 12.5px;
  color: var(--text-muted);
}

.plan-price-wrap {
  margin: 18px 0 8px;
}

.plan-currency {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
}

.plan-price {
  font-size: 38px;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1;
}

.plan-period {
  font-size: 13px;
  color: var(--text-dim);
}

.plan-traffic-highlight {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: #38BDF8;
  background: rgba(56, 189, 248, 0.12);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-top: 6px;
}

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

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.45;
}

.pricing-features li svg {
  width: 16px;
  height: 16px;
  fill: var(--success);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ================= 博客 / 评测文章区 ================= */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
}

.article-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 240, 255, 0.15);
}

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

.article-tag {
  background: rgba(0, 240, 255, 0.1);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
}

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

.article-card:hover .article-title {
  color: var(--primary);
}

.article-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

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

.article-read-more svg {
  transition: transform 0.2s ease;
}

.article-card:hover .article-read-more svg {
  transform: translateX(4px);
}

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

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

.user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  color: #FFFFFF;
}

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

.user-meta-role {
  font-size: 12.5px;
  color: var(--text-muted);
}

.star-rating {
  color: #FBBF24;
  font-size: 14px;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  font-style: normal;
}

/* ================= 常见问题 FAQ ================= */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

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

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

.faq-question {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.faq-q-icon {
  background: rgba(0, 240, 255, 0.15);
  color: var(--primary);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 1px;
}

.faq-answer {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.7;
  padding-left: 36px;
}

/* ================= 底部 CTA 横幅 ================= */
.cta-banner {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(20, 35, 70, 0.95));
  border: 1px solid rgba(0, 240, 255, 0.35);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.cta-banner-title {
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 900;
  margin-bottom: 16px;
}

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

/* ================= 页脚 (Footer) ================= */
.footer {
  background: rgba(4, 6, 12, 0.92);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-color);
  padding: 70px 0 35px;
  font-size: 14px;
  color: var(--text-muted);
}

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

.footer-brand-desc {
  margin-top: 16px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 320px;
}

.footer-heading {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-dim);
}

/* ================= 响应式调整 (Responsive Breakpoints) ================= */
@media (max-width: 1200px) {
  .pricing-grid-same-row {
    grid-template-columns: repeat(5, 240px);
    overflow-x: auto;
  }
}

@media (max-width: 1024px) {
  .features-grid,
  .articles-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .features-grid,
  .articles-grid,
  .testimonials-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  
  .stat-item {
    padding: 16px 12px;
  }
  
  .stat-num {
    font-size: 26px;
  }
  
  .comparison-table th,
  .comparison-table td {
    padding: 12px 10px;
    font-size: 13px;
  }
}
