/* ==========================================================================
   nice加速机场官网 - 原生现代极简响应式样式表
   核心原则：纯原生 CSS、零重型框架、语义化、无障碍、秒开性能
   ========================================================================== */

:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --primary-border: #bfdbfe;
  --secondary: #0f172a;
  --accent: #10b981;
  --accent-light: #ecfdf5;
  --warning: #f59e0b;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-main: #ffffff;
  --bg-alt: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --border-hover: #cbd5e1;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.03);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --max-width: 1200px;
  --nav-height: 72px;
}

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

html {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-main);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-main);
  overflow-x: hidden;
}

/* 无障碍：跳至主内容 */
.skip-link {
  position: absolute;
  top: -9999px;
  left: 20px;
  background: var(--primary);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  z-index: 99999;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus {
  top: 16px;
}

/* 锚点防遮挡 */
[id] {
  scroll-margin-top: calc(var(--nav-height) + 20px);
}

/* 通用容器 */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* 链接与排版 */
a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

h1, h2, h3, h4 {
  color: var(--secondary);
  line-height: 1.3;
  font-weight: 700;
}

/* 导航栏 */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
}
.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--secondary);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.logo-wrap:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.28);
  display: block;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.logo-wrap:hover .logo-mark {
  transform: scale(1.04);
}
.logo-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--secondary);
}
.logo-badge {
  display: inline-block;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 800;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-border);
  letter-spacing: 0.5px;
  line-height: 1.3;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}
.nav-link {
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 4px;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  text-decoration: none;
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: var(--primary);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  min-height: 44px;
  min-width: 44px;
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
  transition: all 0.2s ease;
  text-decoration: none !important;
}
.nav-cta:hover {
  background: var(--primary-hover);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
  transform: translateY(-1px);
}

/* 主视觉区 Hero */
.hero-section {
  padding: 64px 0 48px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  text-align: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid var(--primary-border);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  color: var(--secondary);
}
.hero-desc {
  max-width: 780px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  background: var(--primary);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: var(--radius-full);
  min-height: 48px;
  min-width: 44px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transition: all 0.2s ease;
  text-decoration: none !important;
}
.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
  transform: translateY(-2px);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-color);
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: var(--radius-full);
  min-height: 48px;
  min-width: 44px;
  transition: all 0.2s ease;
  text-decoration: none !important;
}
.btn-secondary:hover {
  background: var(--bg-alt);
  border-color: var(--border-hover);
  color: var(--primary);
}
.hero-features {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.hero-features span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-features svg {
  color: var(--accent);
}

/* 核心优势卡片 */
.section {
  padding: 72px 0;
}
.section-alt {
  background-color: var(--bg-alt);
}
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}
.section-tag {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  display: block;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 14px;
}
.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.adv-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}
.adv-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-border);
}
.adv-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.adv-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.adv-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* 流媒体与 AI 支持图卡 */
.support-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.support-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}
.support-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.support-logo {
  font-size: 2rem;
  margin-bottom: 10px;
  display: block;
}
.support-name {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 6px;
  color: var(--secondary);
}
.support-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--accent-light);
  color: var(--accent);
}

/* 套餐价格对比表 */
.pricing-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  background: var(--bg-card);
}
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 640px;
}
.pricing-table caption {
  padding: 16px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border-color);
}
.pricing-table th, .pricing-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.95rem;
}
.pricing-table th {
  background-color: var(--bg-alt);
  color: var(--secondary);
  font-weight: 700;
}
.pricing-table tbody tr:hover {
  background-color: #f1f5f9;
}
.pricing-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--accent);
  color: #fff;
  margin-left: 6px;
}
.price-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
}
.price-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
}
.table-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  background: var(--primary);
  color: #fff !important;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  min-height: 44px;
  min-width: 44px;
  text-decoration: none !important;
  transition: background 0.2s ease;
}
.table-cta:hover {
  background: var(--primary-hover);
}

/* 用户评价区 */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.review-stars {
  color: #f59e0b;
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.review-text {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.65;
  margin-bottom: 18px;
  flex: 1;
}
.reviewer-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.reviewer-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--secondary);
}
.reviewer-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* 常见问题解答 FAQ */
.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-item:hover {
  border-color: var(--primary-border);
}
.faq-question {
  padding: 18px 24px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--secondary);
  cursor: pointer;
  user-select: none;
  list-style: none;
  position: relative;
  outline: none;
}
.faq-question::-webkit-details-marker {
  display: none;
}
.faq-question::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--primary);
  transition: transform 0.2s ease;
}
.faq-item[open] .faq-question::after {
  content: "−";
}
.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  border-top: 1px solid var(--bg-alt);
  padding-top: 14px;
}

/* 页面底部与规范页脚 */
.site-footer {
  background: var(--secondary);
  color: #94a3b8;
  padding: 48px 0 32px;
  margin-top: auto;
  border-top: 1px solid #1e293b;
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.5px;
}
.footer-logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  display: block;
}
.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  list-style: none;
  flex-wrap: wrap;
}
.footer-link {
  color: #cbd5e1;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}
.footer-link:hover {
  color: #ffffff;
  text-decoration: underline;
}
.footer-copy {
  font-size: 0.85rem;
  color: #64748b;
  border-top: 1px solid #334155;
  width: 100%;
  padding-top: 24px;
}

/* ==========================================================================
   知识科普与文章专栏页面特定样式
   ========================================================================== */
.breadcrumbs {
  padding: 16px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.breadcrumbs a {
  color: var(--text-muted);
}
.breadcrumbs a:hover {
  color: var(--primary);
}
.breadcrumbs span {
  margin: 0 8px;
  color: var(--border-hover);
}

.article-header {
  margin-bottom: 32px;
}
.article-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 16px;
  line-height: 1.35;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.article-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-main);
}
.article-content h2 {
  font-size: 1.5rem;
  margin: 36px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}
.article-content h3 {
  font-size: 1.25rem;
  margin: 28px 0 12px;
}
.article-content p {
  margin-bottom: 18px;
}
.article-content ul, .article-content ol {
  margin: 0 0 20px 24px;
}
.article-content li {
  margin-bottom: 8px;
}
.article-content blockquote {
  border-left: 4px solid var(--primary);
  background: var(--bg-alt);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 24px;
  color: var(--text-muted);
  font-style: italic;
}

.article-cta-box {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid var(--primary-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  margin: 40px 0;
}
.article-cta-box h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}
.article-cta-box p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

/* 知识科普聚合页卡片网格 */
.knowledge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}
.knowledge-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}
.knowledge-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.k-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}
.k-title {
  font-size: 1.2rem;
  margin-bottom: 12px;
  line-height: 1.4;
}
.k-title a {
  color: var(--secondary);
  text-decoration: none;
}
.k-title a:hover {
  color: var(--primary);
}
.k-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}
.k-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-light);
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
}

/* 网站地图与单页通用容器 */
.page-container {
  max-width: 880px;
  margin: 40px auto 60px;
  padding: 0 20px;
}
.sitemap-group {
  margin-bottom: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
}
.sitemap-group h2 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--primary-light);
  padding-bottom: 8px;
}
.sitemap-links {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.sitemap-links li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

/* 移动端媒体查询与响应式适配 */
@media (max-width: 1024px) {
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .support-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .knowledge-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-wrapper {
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px 0;
  }
  .site-header {
    height: auto;
    position: relative;
  }
  [id] {
    scroll-margin-top: 20px;
  }
  .nav-menu {
    gap: 12px;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    padding-bottom: 8px;
  }
  .nav-link {
    font-size: 0.9rem;
    padding: 6px 4px;
  }
  .hero-section {
    padding: 40px 0 32px;
  }
  .advantages-grid,
  .support-grid,
  .reviews-grid,
  .knowledge-grid,
  .sitemap-links {
    grid-template-columns: 1fr;
  }
  .footer-links {
    gap: 16px;
    flex-direction: column;
  }
  .hero-features {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }
  .pricing-table {
    min-width: 520px;
  }
  .table-cta {
    padding: 10px 14px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.6rem;
  }
  .hero-desc {
    font-size: 0.95rem;
  }
  .btn-primary, .btn-secondary {
    width: 100%;
    text-align: center;
  }
}

/* 减少动画偏好支持 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
