/* ==========================================================================
   掌中世界机场网 (zzsj.best) - 原生极致性能样式表
   零外部依赖 · 纯CSS硬件加速 · 秒开级加载体验
   ========================================================================== */

:root {
  --bg-primary: #070b16;
  --bg-secondary: #0d1527;
  --bg-card: rgba(16, 26, 48, 0.75);
  --bg-card-hover: rgba(22, 36, 68, 0.9);
  --border-color: rgba(253, 224, 71, 0.16);
  --border-hover: rgba(253, 224, 71, 0.45);
  
  --primary: #fde047;
  --primary-rgb: 253, 224, 71;
  --secondary: #fef08a;
  --accent: #8b5cf6;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 25px rgba(253, 224, 71, 0.3);
  --shadow-glow-purple: 0 0 30px rgba(139, 92, 246, 0.25);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ================= 动态背景系统 (纯Canvas/CSS组合，零卡顿) ================= */
#dynamic-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}

.aurora-glow {
  position: fixed;
  top: -20%;
  left: 10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(253, 224, 71, 0.08) 0%, rgba(139, 92, 246, 0.05) 50%, transparent 70%);
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
  animation: pulseAurora 14s ease-in-out infinite alternate;
}

.aurora-glow-2 {
  position: fixed;
  bottom: -10%;
  right: -5%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(79, 172, 254, 0.09) 0%, rgba(16, 185, 129, 0.04) 50%, transparent 70%);
  filter: blur(70px);
  z-index: -1;
  pointer-events: none;
  animation: pulseAurora 18s ease-in-out infinite alternate-reverse;
}

@keyframes pulseAurora {
  0% { transform: scale(1) translate(0, 0); opacity: 0.7; }
  50% { transform: scale(1.15) translate(4%, 3%); opacity: 1; }
  100% { transform: scale(0.95) translate(-3%, -2%); opacity: 0.6; }
}

/* ================= 容器与版心 ================= */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ================= 顶栏导航 (Navbar) ================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 11, 22, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
}

.brand-logo:hover {
  transform: translateY(-1px);
}

.brand-logo img {
  height: 44px;
  width: auto;
  display: block;
}

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

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

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

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ================= 按钮体系 (严格 CTA 规范) ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #fffbeb 0%, #fef08a 35%, #facc15 100%);
  color: #070b16;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(250, 204, 21, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ffffff 0%, #fff59d 30%, #fde047 100%);
  box-shadow: 0 6px 28px rgba(253, 224, 71, 0.65);
  transform: translateY(-2px);
  color: #020617;
}

.btn-glow {
  position: relative;
  background: linear-gradient(135deg, #fffde7 0%, #fde047 38%, #8b5cf6 100%);
  color: #070b16;
  font-weight: 700;
  box-shadow: 0 6px 25px rgba(253, 224, 71, 0.45);
}

.btn-glow:hover {
  transform: translateY(-2px) scale(1.02);
  background: linear-gradient(135deg, #ffffff 0%, #fef08a 38%, #a855f7 100%);
  box-shadow: 0 8px 32px rgba(253, 224, 71, 0.7);
  color: #000000;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-color);
  color: var(--text-main);
}

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

.btn-outline {
  border: 1px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

.btn-outline:hover {
  background: rgba(253, 224, 71, 0.12);
  box-shadow: 0 0 20px rgba(253, 224, 71, 0.35);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 13px;
  border-radius: 6px;
}

.btn-block {
  width: 100%;
}

/* ================= 移动端菜单按钮 ================= */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
  display: block;
}

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

.badge-notice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(253, 224, 71, 0.08);
  border: 1px solid rgba(253, 224, 71, 0.3);
  border-radius: var(--radius-full);
  font-size: 13px;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 24px;
}

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

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

.hero-title {
  font-size: clamp(32px, 5.5vw, 56px);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.gradient-text {
  background: linear-gradient(135deg, #fffde7 0%, #fef08a 28%, #facc15 58%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  filter: drop-shadow(0 0 18px rgba(254, 240, 138, 0.25));
}

.hero-desc {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-muted);
  max-width: 840px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 980px;
  margin: 0 auto;
  padding: 24px;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.stat-item {
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-mono);
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ================= 通用 Section 规范 ================= */
.section {
  padding: 80px 0;
  position: relative;
}

.section-alt {
  background: rgba(13, 21, 39, 0.5);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 50px;
}

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

.section-title {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  margin-bottom: 16px;
  color: #ffffff;
}

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

/* ================= 核心特色卡片 ================= */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

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

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

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

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

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(253, 224, 71, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 20px;
  border: 1px solid rgba(253, 224, 71, 0.28);
}

.feature-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
}

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

/* ================= 套餐价格系统 (关键规范：所有价格同排) ================= */
.pricing-wrapper {
  position: relative;
  width: 100%;
}

.pricing-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 24px;
}

/* 核心：价格卡片在同排横向布局，移动端支持无缝横向滑动查看，桌面端一排铺开 */
.pricing-row-container {
  display: grid;
  grid-template-columns: repeat(6, minmax(200px, 1fr));
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 20px;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}

.pricing-row-container::-webkit-scrollbar {
  height: 6px;
}

.pricing-row-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
}

.pricing-row-container::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, #fde047 0%, #facc15 100%);
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(253, 224, 71, 0.5);
}

.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
  scroll-snap-align: start;
  min-width: 190px;
}

.price-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 10px 25px rgba(253, 224, 71, 0.25);
}

.price-card.featured {
  border-color: var(--primary);
  background: linear-gradient(180deg, rgba(253, 224, 71, 0.08) 0%, rgba(16, 26, 48, 0.95) 100%);
  box-shadow: var(--shadow-glow);
}

.ribbon-tag {
  position: absolute;
  top: -10px;
  right: 12px;
  background: linear-gradient(135deg, #fffbeb 0%, #fde047 50%, #facc15 100%);
  color: #070b16;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(250, 204, 21, 0.4);
}

.price-plan-name {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price-plan-en {
  font-size: 12px;
  color: var(--primary);
  font-family: var(--font-mono);
  font-weight: normal;
}

.price-box {
  margin: 18px 0;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.price-amount {
  font-size: 32px;
  font-weight: 900;
  color: #ffffff;
  font-family: var(--font-mono);
  letter-spacing: -1px;
}

.price-period {
  font-size: 12px;
  color: var(--text-muted);
}

.price-traffic-badge {
  display: inline-block;
  background: rgba(253, 224, 71, 0.12);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
  border: 1px solid rgba(253, 224, 71, 0.28);
}

.price-features {
  list-style: none;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 22px;
  flex-grow: 1;
}

.price-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
  line-height: 1.4;
}

.price-features li svg {
  width: 14px;
  height: 14px;
  color: var(--success);
  flex-shrink: 0;
}

/* ================= 客户端支持生态 ================= */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.client-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 20px 16px;
  text-align: center;
  transition: var(--transition);
}

.client-item:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  background: var(--bg-card-hover);
}

.client-icon {
  font-size: 28px;
  margin-bottom: 10px;
  display: block;
}

.client-name {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

.client-plat {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ================= 文章专区 (SEO权重导流) ================= */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
}

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

.article-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

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

.article-tag {
  background: rgba(253, 224, 71, 0.12);
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  border: 1px solid rgba(253, 224, 71, 0.28);
}

.article-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.5;
  margin-bottom: 12px;
  transition: var(--transition);
}

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

.article-card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.article-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
}

.article-link:hover {
  gap: 10px;
}

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

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

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

.review-stars {
  color: #fbbf24;
  margin-bottom: 12px;
  font-size: 14px;
  letter-spacing: 2px;
}

.review-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 18px;
  font-style: italic;
}

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

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #ffffff;
  font-size: 15px;
}

.user-meta h4 {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.user-meta span {
  font-size: 12px;
  color: var(--text-dim);
}

/* ================= 常见问题 FAQ (手风琴交互) ================= */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

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

.faq-question {
  width: 100%;
  padding: 18px 22px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
}

.faq-question svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, padding 0.3s ease;
  padding: 0 22px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  padding-bottom: 20px;
}

/* ================= 权威外链与资源导航 ================= */
.outlinks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.outlink-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

.outlink-card:hover {
  border-color: var(--primary);
  background: var(--bg-card-hover);
  transform: translateY(-2px);
}

.outlink-info h4 {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

.outlink-info p {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 2px;
}

.outlink-card svg {
  color: var(--primary);
  width: 16px;
  height: 16px;
}

/* ================= 页脚 (Footer) ================= */
.footer {
  background: #040711;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 60px 0 30px;
  font-size: 14px;
  color: var(--text-dim);
}

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

.footer-brand p {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 340px;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-muted);
  transition: var(--transition);
  font-size: 13px;
}

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
}

/* ================= 响应式调整 (Mobile & Tablet) ================= */
@media (max-width: 1024px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .stat-item:nth-child(2) {
    border-right: none;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: #090f1f;
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  }

  .nav-menu.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    padding: 50px 0 40px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
