/* ==========================================================================
   小鲤鱼机场官网 (xiaoliyu.cfd) 主样式表
   主题：暗黑水纹高清金鳞锦鲤 (Dark Oceanic HD Koi Luxury Theme)
   ========================================================================== */

:root {
  --primary-gold: #ffb703;
  --primary-coral: #fb8500;
  --primary-cyan: #023e8a;
  --bg-dark: #060b14;
  --bg-card: rgba(13, 20, 36, 0.78);
  --bg-glass: rgba(255, 255, 255, 0.05);
  --border-glass: rgba(255, 183, 3, 0.22);
  --border-hover: rgba(251, 133, 0, 0.55);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-gold: #ffe066;
  --shadow-glow: 0 0 25px rgba(255, 183, 3, 0.3);
  --shadow-coral: 0 0 30px rgba(251, 133, 0, 0.35);
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 基础重置 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

body {
  position: relative;
  background: 
    radial-gradient(circle at 20% 20%, rgba(2, 62, 138, 0.45) 0%, transparent 50%),
    radial-gradient(circle at 80% 60%, rgba(255, 183, 3, 0.18) 0%, transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(251, 133, 0, 0.22) 0%, transparent 50%),
    #060b14;
  min-height: 100vh;
}

/* 鼠标尾翼 Canvas 特效画布 */
#cursor-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 99999;
}

/* 【全背景高清小鲤鱼动画画布】 */
#koi-bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  opacity: 0.85;
}

/* 通用容器 */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* 渐变文本 */
.gradient-text {
  background: linear-gradient(135deg, #ffb703 0%, #fb8500 50%, #ff5400 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-blue-text {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 玻璃拟态卡片 (半透明确保底层高清游动锦鲤清晰可见) */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: var(--transition-smooth);
}

.glass-panel:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
}

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

.btn-primary {
  background: linear-gradient(135deg, #ffb703 0%, #fb8500 100%);
  color: #070d19;
  box-shadow: 0 4px 20px rgba(251, 133, 0, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 30px rgba(251, 133, 0, 0.6);
  background: linear-gradient(135deg, #ffc324 0%, #ff9100 100%);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-glass);
}

.btn-outline:hover {
  background: rgba(255, 183, 3, 0.15);
  border-color: var(--primary-gold);
  color: var(--primary-gold);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.875rem;
}

/* 顶部导航栏 Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition-smooth);
  background: rgba(6, 11, 20, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

.logo-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffb703 0%, #fb8500 70%, #023e8a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(255, 183, 3, 0.5);
  padding: 4px;
}

.logo-icon-wrap svg {
  width: 28px;
  height: 28px;
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #fff;
}

.logo-tag {
  font-size: 0.75rem;
  background: rgba(255, 183, 3, 0.15);
  color: var(--primary-gold);
  padding: 2px 8px;
  border-radius: 12px;
  border: 1px solid var(--border-glass);
}

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

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

.nav-link:hover, .nav-link.active {
  color: var(--primary-gold);
}

/* 移动端菜单按钮 */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero 英雄区 */
.hero-section {
  padding: 160px 0 90px;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 30px;
  background: rgba(255, 183, 3, 0.12);
  border: 1px solid var(--border-glass);
  color: var(--primary-gold);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 24px;
  animation: pulseGlow 3s infinite alternate;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 10px rgba(255, 183, 3, 0.2); }
  100% { box-shadow: 0 0 25px rgba(251, 133, 0, 0.5); }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #cbd5e1;
  max-width: 780px;
  margin: 0 auto 36px;
  line-height: 1.7;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

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

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

.stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-gold);
}

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

/* 高清拟真锦鲤元素卡片展示区 */
.koi-visual-banner {
  margin: 40px auto 0;
  max-width: 1080px;
  border-radius: var(--radius-lg);
  padding: 30px;
  background: radial-gradient(ellipse at center, rgba(2, 62, 138, 0.5) 0%, rgba(13, 20, 36, 0.85) 100%);
  border: 1px solid rgba(255, 183, 3, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 24px;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.6), 0 15px 35px rgba(0,0,0,0.5);
  flex-wrap: wrap;
}

.koi-illustration-wrap {
  width: 180px;
  height: 180px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.koi-illustration-wrap svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 20px rgba(251, 133, 0, 0.7));
  animation: koiSwim 6s ease-in-out infinite alternate;
}

@keyframes koiSwim {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(4deg); }
  100% { transform: translateY(5px) rotate(-4deg); }
}

.koi-banner-content {
  text-align: left;
  max-width: 600px;
}

.koi-banner-content h3 {
  font-size: 1.6rem;
  color: var(--primary-gold);
  margin-bottom: 10px;
}

.koi-banner-content p {
  color: #cbd5e1;
  font-size: 0.95rem;
}

/* 核心优势板块 Features */
.features-section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-tag {
  color: var(--primary-gold);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
}

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

.feature-card {
  padding: 30px;
  position: relative;
  overflow: hidden;
}

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(255, 183, 3, 0.12);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-gold);
  margin-bottom: 20px;
}

.feature-card h4 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.925rem;
  line-height: 1.6;
}

/* ==========================================================================
   价格方案区 (核心要求：价格格式弄成一排 - Horizontal Plans Row)
   ========================================================================== */
.pricing-section {
  padding: 90px 0;
  position: relative;
}

.pricing-row-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
  align-items: stretch;
}

.pricing-card {
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  background: linear-gradient(180deg, rgba(16, 26, 46, 0.85) 0%, rgba(8, 14, 26, 0.92) 100%);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  transition: var(--transition-smooth);
}

.pricing-card.featured {
  border-color: var(--primary-gold);
  box-shadow: var(--shadow-glow);
  transform: translateY(-8px);
}

.pricing-card.featured::before {
  content: "⚡ 最受推荐";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ffb703, #fb8500);
  color: #070d19;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

.plan-header {
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.plan-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.plan-price-box {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.plan-currency {
  font-size: 1.2rem;
  color: var(--primary-gold);
  font-weight: 700;
}

.plan-price {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--primary-gold);
  letter-spacing: -1px;
}

.plan-period {
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

.plan-features li {
  font-size: 0.875rem;
  color: var(--text-main);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan-features li svg {
  width: 16px;
  height: 16px;
  color: var(--primary-gold);
  flex-shrink: 0;
}

/* ==========================================================================
   全网机场价格在线检索与对比工具
   ========================================================================== */
.price-search-section {
  padding: 80px 0;
}

.search-filter-box {
  padding: 24px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.search-input-wrap {
  flex: 1;
  min-width: 260px;
  position: relative;
}

.search-input-wrap input {
  width: 100%;
  padding: 12px 18px 12px 42px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  color: #fff;
  font-size: 0.95rem;
  outline: none;
}

.search-input-wrap input:focus {
  border-color: var(--primary-gold);
  box-shadow: 0 0 15px rgba(255, 183, 3, 0.2);
}

.search-input-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  width: 18px;
  height: 18px;
}

.filter-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-chip {
  padding: 8px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-chip.active, .filter-chip:hover {
  background: rgba(255, 183, 3, 0.2);
  color: var(--primary-gold);
  border-color: var(--primary-gold);
}

.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glass);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background: var(--bg-card);
}

.compare-table th, .compare-table td {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.9rem;
}

.compare-table th {
  background: rgba(2, 62, 138, 0.35);
  color: var(--primary-gold);
  font-weight: 700;
  white-space: nowrap;
}

.compare-table tr:hover {
  background: rgba(255, 183, 3, 0.05);
}

.tag-badge {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.tag-iepl { background: rgba(16, 185, 129, 0.2); color: #34d399; }
.tag-bgp { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }
.tag-cheap { background: rgba(245, 158, 11, 0.2); color: #fbbf24; }

/* ==========================================================================
   SEO 文章矩阵区 (800-1500字文章，全关键词覆盖)
   ========================================================================== */
.articles-section {
  padding: 90px 0;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.article-card {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.article-category {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  background: rgba(255, 183, 3, 0.15);
  color: var(--primary-gold);
  border: 1px solid var(--border-glass);
}

.article-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

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

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

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

.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.article-keywords {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.kw-tag {
  font-size: 0.725rem;
  color: #a7f3d0;
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

.read-more-btn {
  color: var(--primary-gold);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.read-more-btn:hover {
  color: var(--primary-coral);
}

/* 全屏文章阅读器 Modal */
.article-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(6, 11, 20, 0.92);
  backdrop-filter: blur(20px);
  z-index: 10000;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
}

.article-modal.active {
  display: flex;
}

.modal-content-box {
  width: 100%;
  max-width: 900px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 40px;
  border-radius: var(--radius-lg);
  background: #0b1324;
  border: 1px solid var(--border-glass);
  position: relative;
  color: #e2e8f0;
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-body h2 {
  font-size: 1.75rem;
  color: var(--primary-gold);
  margin: 28px 0 14px;
}

.article-body h3 {
  font-size: 1.35rem;
  color: #38bdf8;
  margin: 20px 0 10px;
}

.article-body p {
  margin-bottom: 16px;
  line-height: 1.8;
  font-size: 1rem;
}

.article-body ul, .article-body ol {
  margin: 0 0 20px 24px;
  line-height: 1.8;
}

.article-cta-box {
  margin: 30px 0;
  padding: 24px;
  background: radial-gradient(ellipse at center, rgba(255, 183, 3, 0.15), rgba(251, 133, 0, 0.05));
  border: 1px dashed var(--primary-gold);
  border-radius: var(--radius-md);
  text-align: center;
}

/* ==========================================================================
   用户评价与 FAQ
   ========================================================================== */
.testimonials-section {
  padding: 80px 0;
}

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

.review-card {
  padding: 28px;
}

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

.avatar-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #023e8a, #ffb703);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
}

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

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

.star-rating {
  color: #fbbf24;
  margin-bottom: 12px;
}

.review-text {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* FAQ 手风琴 */
.faq-section {
  padding: 80px 0;
}

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

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

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

.faq-question svg {
  transition: var(--transition-fast);
  color: var(--primary-gold);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

/* ==========================================================================
   【核心任务 2】：页脚 PBN 权重精准输血管道 (页脚 PBN 链接融合)
   ========================================================================== */
footer {
  background: #03060c;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 60px 0 30px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  margin-top: 12px;
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 320px;
}

.footer-col h5 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 16px;
  font-weight: 700;
}

.footer-col ul {
  list-style: none;
}

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

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

.footer-col a:hover {
  color: var(--primary-gold);
}

/* 核心要求：低调、美观、小字号融合的 PBN 友情链接区 */
.pbn-link-pipe {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px dashed rgba(255, 255, 255, 0.06);
  font-size: 0.75rem;
  color: #475569;
  text-align: center;
}

.pbn-link-pipe span {
  display: inline-block;
  margin-right: 8px;
  color: #64748b;
  font-weight: 600;
}

.pbn-link-list {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 18px;
  list-style: none;
  margin-top: 8px;
}

.pbn-link-list a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
  font-size: 0.75rem;
}

.pbn-link-list a:hover {
  color: var(--primary-gold);
}

.footer-bottom {
  margin-top: 30px;
  text-align: center;
  font-size: 0.8rem;
  color: #475569;
}

/* ==========================================================================
   移动端响应式适配 (Mobile Responsiveness - Mobile-First Overrides)
   ========================================================================== */
@media (max-width: 1024px) {
  .pricing-row-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid, .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
  .download-platforms-wrapper {
    grid-template-columns: 1fr;
    max-width: 580px;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 12px 0;
  }
  .nav-container {
    padding: 0 16px;
  }
  .hero-section {
    padding: 60px 0 40px;
  }
  .hero-title {
    font-size: clamp(1.75rem, 5vw, 2.25rem);
    line-height: 1.3;
  }
  .hero-subtitle {
    font-size: 0.95rem;
    padding: 0 8px;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero-cta-group .btn {
    width: 100%;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 16px;
  }
  .stat-num {
    font-size: 1.5rem;
  }
  .stat-desc {
    font-size: 0.8rem;
  }
  .koi-visual-banner {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  .koi-illustration-wrap {
    margin-bottom: 12px;
  }
  /* 套餐卡片：移动端优雅单列，不撑破视口 */
  .pricing-row-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0;
  }
  .pricing-card {
    min-width: 100%;
    width: 100%;
    padding: 24px 20px;
  }
  .pricing-card.featured {
    transform: none;
    margin-top: 10px;
  }
  .pricing-card.featured::before {
    top: -12px;
  }
  .features-grid, .articles-grid, .reviews-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .features-section, .pricing-section, .price-search-section, .articles-section, .testimonials-section, .faq-section {
    padding: 50px 0;
  }
  .section-title {
    font-size: clamp(1.5rem, 4.5vw, 1.85rem);
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(6, 11, 20, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid var(--border-glass);
    z-index: 999;
  }
  .nav-menu.active {
    display: flex;
  }
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .pbn-link-list {
    gap: 8px 12px;
  }
  .table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    margin-top: 20px;
  }
  .compare-table {
    min-width: 600px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .plan-price-box {
    margin: 12px 0 6px;
  }
  .plan-price {
    font-size: 2.2rem;
  }
  .download-modal-box {
    padding: 24px 16px;
    width: 95%;
  }
  .modal-platform-card {
    padding: 16px 12px;
  }
}

/* ==========================================================================
   客户端下载弹窗与下载中心样式 (Download Client Component Styles)
   ========================================================================== */
.download-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 16px;
  padding-top: max(16px, env(safe-area-inset-top));
  padding-bottom: max(16px, env(safe-area-inset-bottom));
}

.download-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.download-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 6, 12, 0.85);
  backdrop-filter: blur(8px);
}

.download-modal-box {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  max-height: 90dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: linear-gradient(180deg, rgba(16, 26, 46, 0.96) 0%, rgba(7, 13, 25, 0.98) 100%);
  border: 1px solid var(--primary-gold);
  border-radius: var(--radius-lg);
  padding: 36px 30px 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), var(--shadow-glow);
  animation: modalScaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleUp {
  from {
    transform: scale(0.92);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.download-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.download-modal-close:hover {
  background: rgba(255, 183, 3, 0.2);
  color: var(--primary-gold);
}

.download-modal-header {
  text-align: center;
  margin-bottom: 24px;
}

.modal-brand-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-gold);
  background: rgba(255, 183, 3, 0.12);
  border: 1px solid var(--border-glass);
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.download-modal-header h3 {
  font-size: clamp(1.3rem, 3.5vw, 1.6rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.modal-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.download-modal-platforms {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-platform-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: var(--transition-fast);
}

.modal-platform-card:hover {
  border-color: var(--border-hover);
  background: rgba(255, 183, 3, 0.05);
}

.platform-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 12px;
  background: rgba(255, 183, 3, 0.15);
  color: var(--primary-gold);
  border: 1px solid rgba(255, 183, 3, 0.3);
}

.platform-icon {
  color: var(--primary-gold);
  display: flex;
  align-items: center;
}

.modal-platform-card h4 {
  font-size: 1.1rem;
  color: #fff;
}

.modal-platform-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.modal-action-btn {
  width: 100%;
  padding: 12px;
  font-size: 0.95rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.download-modal-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.modal-link-download {
  color: var(--primary-gold);
  font-weight: 700;
  text-decoration: none;
  margin-left: 4px;
}

.modal-link-download:hover {
  text-decoration: underline;
}

/* 下载中心专用卡片排版 */
.download-center-hero {
  padding-bottom: 30px;
}

.download-platforms-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 40px auto 0;
  max-width: 860px;
  text-align: left;
}

.download-platform-card {
  position: relative;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.platform-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
  background: rgba(255, 183, 3, 0.15);
  color: var(--primary-gold);
  border: 1px solid rgba(255, 183, 3, 0.3);
}

.platform-icon-large {
  color: var(--primary-gold);
  margin-bottom: 16px;
}

.download-platform-card h3 {
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 8px;
}

.platform-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.platform-specs {
  list-style: none;
  margin-bottom: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
}

.platform-specs li {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}

.platform-specs li span {
  color: var(--text-muted);
}

.platform-specs li strong {
  color: #e2e8f0;
}

.btn-download-act {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

