/* ==========================================================================
   z机场博客 (zjichang.blog) - 现代高转化美学与响应式样式表
   特点：新颖浮岛胶囊导航、Bento Grid 极简卡片、玻璃拟态、高对比度阅读体验
   ========================================================================== */

:root {
  --bg-primary: #0a0d14;
  --bg-surface: #111726;
  --bg-surface-elevated: #182035;
  --bg-glass: rgba(17, 23, 38, 0.78);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(99, 102, 241, 0.4);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent-cyan: #06b6d4;
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;
  --gradient-brand: linear-gradient(135deg, #38bdf8 0%, #6366f1 50%, #a855f7 100%);
  --gradient-cheap: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
  --gradient-hot: linear-gradient(135deg, #f43f5e 0%, #f97316 100%);
  --glow-brand: 0 0 35px rgba(99, 102, 241, 0.25);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --container-max: 1200px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  scroll-behavior: smooth;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 10%, rgba(56, 189, 248, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: inherit;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #0ea5e9, #6366f1 58%, #9333ea);
  border-color: rgba(125, 211, 252, 0.2);
  box-shadow: 0 8px 22px rgba(79, 70, 229, 0.28);
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  filter: brightness(1.08);
  box-shadow: 0 12px 28px rgba(79, 70, 229, 0.4);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100000;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff;
  color: #0f172a;
  font-weight: 700;
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

:where(a, button):focus-visible {
  outline: 3px solid #67e8f9;
  outline-offset: 3px;
}

/* 顶部通知横幅 (高转化优惠通知) */
.top-notice-bar {
  background: linear-gradient(90deg, #1e1b4b, #312e81, #1e1b4b);
  border-bottom: 1px solid rgba(139, 92, 246, 0.3);
  padding: 8px 16px;
  text-align: center;
  font-size: 0.85rem;
  color: #e0e7ff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  z-index: 100;
}
.top-notice-bar b {
  color: #38bdf8;
  font-weight: 600;
}
.top-notice-btn {
  background: rgba(255, 255, 255, 0.15);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  color: #fff;
  font-weight: 500;
  margin-left: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.top-notice-btn:hover {
  background: #fff;
  color: #1e1b4b;
}

/* ==========================================================================
   新颖浮岛灵动胶囊导航栏 (Floating Capsule Nav)
   特点：悬浮岛屿感、呼吸光效、毛玻璃胶囊、独立于普通网页的大气设计
   ========================================================================== */
/* ==========================================================================
   新颖富媒体悬浮胶囊导航 (Modern Capsule & Rich Dropdown Navigation)
   ========================================================================== */
.nav-island-wrapper {
  position: sticky;
  top: 14px;
  z-index: 999;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 16px;
}

.nav-island {
  background: rgba(14, 20, 36, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  padding: 6px 10px 6px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-island:hover {
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.7), 0 0 25px rgba(99, 102, 241, 0.2);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.nav-logo-icon {
  width: 32px;
  height: 32px;
  background: var(--gradient-brand);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.nav-logo-icon svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

.brand-text {
  background: linear-gradient(135deg, #ffffff 30%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

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

.nav-link-item {
  position: relative;
}

.nav-link-item > a {
  padding: 7px 13px;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 500;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: all 0.2s ease;
  cursor: pointer;
}

.nav-link-item > a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-link-item > a.active {
  color: #fff;
  background: rgba(99, 102, 241, 0.25);
  border: 1px solid rgba(99, 102, 241, 0.45);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.2);
}

.dropdown-arrow {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
  opacity: 0.7;
}

.nav-link-item:hover .dropdown-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

/* 现代富媒体下拉菜单 (Rich Dropdown Menu) */
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 290px;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.06);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 1001;
}

/* 悬停连接桥：防止鼠标移到下拉框时断开 */
.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  width: 100%;
  height: 16px;
}

.nav-link-item:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  transition: all 0.2s ease;
  color: #cbd5e1;
}

.dropdown-card:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.dropdown-card-icon {
  font-size: 1.25rem;
  line-height: 1;
  padding: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.dropdown-card-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #f1f5f9;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}

.dropdown-card-desc {
  font-size: 0.74rem;
  color: #64748b;
  line-height: 1.4;
}

.dropdown-card:hover .dropdown-card-desc {
  color: #94a3b8;
}

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

.btn-nav-primary {
  background: var(--gradient-brand);
  color: #fff;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.btn-nav-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.55);
}

.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 6px;
}

/* ==========================================================================
   博客双栏流式布局与侧边栏 (Blog Stream & Sidebar Layout)
   ========================================================================== */
.blog-main-layout {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 32px;
  align-items: flex-start;
  margin-top: 36px;
  margin-bottom: 60px;
}

/* 左侧文章流 */
.blog-stream {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.post-card-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  transition: all 0.28s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.post-card-item:hover {
  border-color: var(--border-focus);
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 20px rgba(99, 102, 241, 0.15);
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.post-category-tag {
  background: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.75rem;
}

.post-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  transition: color 0.2s;
}

.post-card-title:hover {
  color: #38bdf8;
}

.post-card-excerpt {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
}

.post-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 4px;
}

.read-more-btn {
  color: #38bdf8;
  font-size: 0.86rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}

.read-more-btn:hover {
  gap: 8px;
  color: #7dd3fc;
}

/* 右侧粘性侧边栏 (Sticky Sidebar) */
.blog-sidebar {
  position: sticky;
  top: 84px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-widget {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 22px;
  backdrop-filter: blur(12px);
}

.sidebar-widget-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-rank-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-rank-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
}

.rank-number {
  background: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.sidebar-rank-item:nth-child(1) .rank-number {
  background: var(--gradient-hot);
  color: #fff;
}

.sidebar-rank-item:nth-child(2) .rank-number {
  background: #f59e0b;
  color: #fff;
}

.sidebar-rank-item:nth-child(3) .rank-number {
  background: #3b82f6;
  color: #fff;
}

.rank-link {
  color: #cbd5e1;
  line-height: 1.45;
  transition: color 0.2s;
}

.rank-link:hover {
  color: #38bdf8;
}

.tag-cloud-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-cloud-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  transition: all 0.2s;
}

.tag-cloud-item:hover {
  background: rgba(99, 102, 241, 0.2);
  color: #fff;
  border-color: rgba(99, 102, 241, 0.4);
}

/* 博客文章页单页排版 */
.article-header {
  margin-bottom: 28px;
}

.article-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.3;
  margin: 16px 0;
  color: #fff;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-muted);
  font-size: 0.85rem;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

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

.article-body h2 {
  font-size: 1.5rem;
  color: #fff;
  margin: 32px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.article-body h3 {
  font-size: 1.2rem;
  color: #e2e8f0;
  margin: 24px 0 12px;
}

.article-body p {
  margin-bottom: 18px;
}

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

.article-body li {
  margin-bottom: 8px;
}

/* ==========================================================================
   页面容器与排版
   ========================================================================== */
.main-wrapper {
  max-width: var(--container-max);
  margin: 32px auto 80px;
  padding: 0 20px;
}

/* Hero 区域：高权威性、直击关键词、强引流 */
.hero-section {
  text-align: center;
  padding: 40px 10px 48px;
  position: relative;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  color: #34d399;
  font-weight: 500;
  margin-bottom: 20px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
  animation: pulseAnim 2s infinite;
}

@keyframes pulseAnim {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.hero-gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 780px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: -8px auto 28px;
}

.btn-hero-primary,
.btn-hero-secondary {
  min-height: 46px;
  padding: 11px 18px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  font-weight: 700;
}

.btn-hero-primary {
  color: #07111f;
  background: linear-gradient(135deg, #67e8f9, #a5b4fc);
  box-shadow: 0 10px 28px rgba(56, 189, 248, 0.2);
}

.btn-hero-secondary {
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.24);
}

.btn-hero-primary:hover,
.btn-hero-secondary:hover { transform: translateY(-2px); }

.method-note {
  max-width: 780px;
  margin: -18px auto 0;
  color: #718096;
  font-size: 0.75rem;
  line-height: 1.65;
}

/* 核心价值微指标 (Stats Bar) */
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 900px;
  margin: 0 auto 36px;
}

.metric-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 12px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.metric-card .num {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  display: block;
}

.metric-card .label {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   主推 C 位引流卡片 (Featured Flagship Card) - 转化率核心
   ========================================================================== */
.flagship-banner-card {
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.6) 0%, rgba(15, 23, 42, 0.8) 100%);
  border: 2px solid rgba(99, 102, 241, 0.4);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 48px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), var(--glow-brand);
}

.flagship-banner-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.flagship-badge-hot {
  position: absolute;
  top: 18px;
  right: auto;
  left: 32px;
  background: var(--gradient-hot);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(244, 63, 94, 0.4);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.flagship-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
  z-index: 2;
  padding-top: 30px;
}

.flagship-info h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.flagship-tagline {
  color: #38bdf8;
  font-size: 0.95rem;
  margin-bottom: 20px;
  font-weight: 500;
}

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

.flagship-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.flagship-features li svg {
  width: 18px;
  height: 18px;
  color: #10b981;
  flex-shrink: 0;
}

.flagship-action-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}

.price-display {
  margin-bottom: 16px;
}

.price-display .currency {
  font-size: 1.4rem;
  color: #34d399;
  font-weight: 700;
}

.price-display .amount {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.price-display .unit {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.coupon-pill {
  background: rgba(245, 158, 11, 0.15);
  border: 1px dashed rgba(245, 158, 11, 0.5);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.85rem;
  color: #fbbf24;
}

.coupon-pill:hover {
  background: rgba(245, 158, 11, 0.25);
}

.btn-cta-giant {
  display: block;
  width: 100%;
  background: var(--gradient-brand);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
}

.btn-cta-giant:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(99, 102, 241, 0.6);
}

/* ChatGPT 专区：实测套餐转化卡 */
.ai-offer-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  background:
    radial-gradient(circle at 85% 0%, rgba(99, 102, 241, 0.24), transparent 38%),
    linear-gradient(165deg, rgba(10, 18, 34, 0.98), rgba(13, 20, 39, 0.92));
  border-color: rgba(103, 232, 249, 0.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 18px 45px rgba(0,0,0,0.3);
}

.ai-flagship-banner > .flagship-badge-hot {
  top: 22px;
  right: auto;
  left: 32px;
  z-index: 3;
}

.ai-flagship-banner .flagship-grid {
  padding-top: 30px;
}

.ai-offer-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, #22d3ee, #6366f1 55%, #a855f7);
}

.ai-offer-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 0.72rem;
}

.ai-editor-pick {
  color: #c4b5fd;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.ai-stock-status {
  color: #6ee7b7;
  white-space: nowrap;
}

.ai-stock-status i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 4px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.75);
}

.ai-offer-name {
  margin-bottom: 4px;
  color: #94a3b8;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ai-offer-card .price-display {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 3px;
  margin-bottom: 16px;
}

.ai-price-prefix {
  margin-right: 7px;
  color: #64748b;
  font-size: 0.75rem;
}

.ai-offer-card .price-display .amount {
  font-size: clamp(2.7rem, 5vw, 3.5rem);
  letter-spacing: -0.06em;
}

.ai-offer-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 0 16px;
  border-block: 1px solid rgba(148, 163, 184, 0.12);
}

.ai-offer-facts span {
  padding: 10px 5px;
  color: #64748b;
  font-size: 0.68rem;
  line-height: 1.35;
}

.ai-offer-facts span + span { border-left: 1px solid rgba(148, 163, 184, 0.12); }
.ai-offer-facts b { display: block; color: #e2e8f0; font-size: 0.77rem; }

.ai-coupon-button {
  width: 100%;
  margin-bottom: 12px;
  padding: 8px 10px;
  justify-content: space-between;
  color: #fde68a;
  font-family: inherit;
}

.ai-coupon-button .ai-coupon-label { color: #94a3b8; font-size: 0.74rem; }
.ai-coupon-button strong { letter-spacing: 0.08em; }
.ai-coupon-button small {
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.16);
  color: #fbbf24;
}

.ai-offer-card .btn-cta-giant {
  border-radius: 11px;
  font-size: 0.96rem;
  box-shadow: 0 10px 28px rgba(79, 70, 229, 0.28);
}

.ai-offer-note {
  margin-top: 11px;
  color: #64748b;
  font-size: 0.68rem;
}

@media (max-width: 480px) {
  .ai-offer-card { padding: 18px 14px; }
  .ai-offer-topline { align-items: flex-start; }
  .ai-offer-facts span { padding-inline: 2px; }
}

@media (max-width: 768px) {
  .ai-flagship-banner .flagship-grid { padding-top: 0; }
}

/* ==========================================================================
   交互式快速分类与筛选栏 (Interactive Filter Bar)
   ========================================================================== */
.filter-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.filter-tabs {
  display: flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
}

.filter-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn.active, .filter-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.filter-btn.active {
  background: var(--accent-blue);
  color: #fff;
}

.ping-status-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Bento Grid 机场推荐卡片矩阵
   ========================================================================== */
.airports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.airport-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.3s ease;
  backdrop-filter: blur(12px);
}

.airport-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-focus);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.airport-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.airport-badge {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.card-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
  min-height: 40px;
}

.card-meta-list {
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-sm);
  padding: 12px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.82rem;
}

.card-meta-item {
  display: flex;
  justify-content: space-between;
  color: var(--text-secondary);
}

.card-meta-item b {
  color: var(--text-primary);
  font-weight: 500;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.tag-pill {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.card-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: #34d399;
}

.card-price small {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: normal;
}

.btn-card-cta {
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  border: 1px solid rgba(99, 102, 241, 0.35);
  padding: 8px 18px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-card-cta:hover {
  background: var(--accent-blue);
  color: #fff;
  border-color: var(--accent-blue);
}

/* ==========================================================================
   全站对比大宽表 (Bing GEO 最爱的结构化数据呈现)
   ========================================================================== */
.table-section {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 60px;
}

.section-head {
  margin-bottom: 24px;
}

.section-head h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-head p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.table-responsive {
  overflow-x: auto;
  border-radius: var(--radius-md);
}

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

.comparison-table th {
  background: rgba(0, 0, 0, 0.4);
  padding: 14px 16px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-table td {
  padding: 16px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.comparison-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.badge-green {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
}

/* ==========================================================================
   深度指南与避坑板块 (高质量长文干货区)
   ========================================================================== */
.guide-article-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 60px;
}

.guide-article-container h2 {
  font-size: 1.5rem;
  color: #fff;
  margin: 28px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.guide-article-container h3 {
  font-size: 1.2rem;
  color: #e2e8f0;
  margin: 20px 0 10px;
}

.guide-article-container p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
  font-size: 0.96rem;
}

.callout-box {
  background: rgba(56, 189, 248, 0.08);
  border-left: 4px solid var(--accent-cyan);
  padding: 16px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 24px 0;
  color: #e0f2fe;
}

.callout-warning {
  background: rgba(244, 63, 94, 0.08);
  border-left-color: var(--accent-rose);
  color: #ffe4e6;
}

/* ==========================================================================
   Clash 配置专区卡片 (汲取 zjichang.com 精华)
   ========================================================================== */
.clash-tech-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 24px 0 36px;
}

.clash-card {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all 0.2s ease;
}

.clash-card:hover {
  border-color: var(--accent-cyan);
}

.clash-card h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.clash-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   GEO 智能搜索引擎常见问答 (FAQPage Schema 容器)
   ========================================================================== */
.faq-section {
  margin-bottom: 60px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.2s;
}

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

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: transform 0.25s ease;
}

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

.faq-answer {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ==========================================================================
   底部悬浮快捷转换条 (Sticky Mobile/Desktop Bottom Dock)
   ========================================================================== */
.sticky-conversion-dock {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(99, 102, 241, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 90%;
  animation: slideUpDock 0.5s ease-out;
}

@keyframes slideUpDock {
  from { transform: translate(-50%, 40px); opacity: 0; }
  to { transform: translate(-50%, 0); opacity: 1; }
}

.dock-text {
  font-size: 0.85rem;
  color: #fff;
  white-space: nowrap;
}

.dock-text span {
  color: #38bdf8;
  font-weight: 700;
}

.btn-dock-cta {
  background: var(--gradient-brand);
  color: #fff;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

/* ==========================================================================
   页脚 (Footer)
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: #080a10;
  padding: 48px 20px 80px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 32px;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col ul li a:hover {
  color: #fff;
}

.copyright {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Toast 提示浮层 */
.toast-notice {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: rgba(16, 185, 129, 0.95);
  color: #fff;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  z-index: 999;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notice.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* 响应式断点 */
@media (max-width: 900px) {
  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .flagship-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1080px) {
  .nav-links {
    display: none; /* 移动端抽屉处理 */
  }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 62px;
    left: 16px;
    right: 16px;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: rgba(10, 15, 27, 0.98);
    box-shadow: 0 24px 50px rgba(0,0,0,0.72);
    z-index: 1002;
  }
  .nav-links.mobile-open .nav-link-item > a {
    width: 100%;
    justify-content: space-between;
    padding: 11px 12px;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .nav-island { border-radius: 18px; }
  .nav-brand { flex-shrink: 0; }
  .brand-text { white-space: nowrap; }
  .btn-nav-primary { display: none; }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .dock-text {
    display: none;
  }
  .sticky-conversion-dock { display: none; }
  .top-notice-bar {
    align-items: flex-start;
    text-align: left;
  }
  .top-notice-btn { flex-shrink: 0; }
  .main-wrapper { margin-top: 20px; padding-inline: 14px; }
  .hero-section { padding: 28px 2px 38px; }
  .hero-subtitle { line-height: 1.75; }
  .hero-metrics { gap: 10px; }
  .metric-card { padding: 12px 8px; }
  .metric-card .num { font-size: 1.16rem; }
  .flagship-banner-card { padding: 26px 18px 22px; }
  .flagship-badge-hot {
    position: static;
    display: inline-flex;
    margin-bottom: 18px;
  }
  .flagship-grid { padding-top: 0; }
}

@media (max-width: 480px) {
  .hero-actions { display: grid; }
  .hero-metrics { grid-template-columns: 1fr 1fr; }
  .hero-pill-badge { font-size: 0.75rem; }
  .top-notice-bar { font-size: 0.76rem; }
  .top-notice-btn { padding-inline: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* 移动端侧边抽屉 */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100vh;
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 99999;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.7);
}

.mobile-drawer.active {
  transform: translateX(0);
}

.drawer-header {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.drawer-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
}

.drawer-content {
  padding: 16px 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.drawer-link {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.drawer-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #38bdf8;
}

/* ====================================================================
   文章目录导航 (Article Table of Contents) & 嵌入式二猫云推荐卡
   ==================================================================== */
.article-toc-box {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 20px 24px;
  margin: 24px 0 32px 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.toc-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #f1f5f9;
}

.toc-badge {
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 9999px;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toc-item a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.92rem;
  padding: 6px 10px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.toc-item a:hover {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.08);
  transform: translateX(4px);
}

.toc-num {
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748b;
  min-width: 20px;
}

/* 目录内置二猫云小卡片 (High-converting CTA mini card) */
.toc-ermao-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.08);
}

.toc-ermao-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #38bdf8, #818cf8, #34d399);
}

.toc-ermao-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.toc-ermao-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #0284c7, #2563eb);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.toc-ermao-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.toc-ermao-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.toc-ermao-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
}

.toc-ermao-tag {
  font-size: 0.7rem;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  font-weight: 600;
}

.toc-ermao-desc {
  font-size: 0.82rem;
  color: #94a3b8;
}

.toc-ermao-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.toc-ermao-price {
  text-align: right;
}

.toc-ermao-price-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: #34d399;
}

.toc-ermao-price-label {
  font-size: 0.72rem;
  color: #64748b;
  display: block;
}

.toc-ermao-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 8px;
  background: linear-gradient(135deg, #0284c7, #2563eb);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.toc-ermao-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.45);
  filter: brightness(1.1);
}

@media (max-width: 640px) {
  .toc-ermao-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .toc-ermao-right {
    width: 100%;
    justify-content: space-between;
  }
  .toc-ermao-btn {
    flex: 1;
    justify-content: center;
  }
}

