/* ==========================================================================
   梯子推荐网 (tizituijian.vip) - 现代科技资讯门户设计系统 (Design System 2.0)
   专注性能、秒开体验、无重复单调视觉、高阶排版层次感与全平台响应式
   ========================================================================== */

:root {
  /* 品牌核心主色与辅助渐变 */
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-active: #1e40af;
  --primary-light: #eff6ff;
  --primary-border: #bfdbfe;
  --accent-cyan: #0284c7;
  --accent-indigo: #4f46e5;
  --accent-purple: #7c3aed;
  
  /* 状态颜色 */
  --success: #10b981;
  --success-bg: #ecfdf5;
  --success-border: #a7f3d0;
  --warning: #f59e0b;
  --warning-bg: #fffbeb;
  --warning-border: #fde68a;
  --danger: #ef4444;
  --danger-bg: #fef2f2;
  --danger-border: #fecaca;
  
  /* 中性背景色与表面层级 */
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --bg-surface: #f1f5f9;
  --bg-subtle: #f8fafc;
  --bg-glass: rgba(255, 255, 255, 0.92);
  
  /* 文字层级颜色 */
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  --text-white: #ffffff;
  
  /* 边框体系 */
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  --border-hover: #93c5fd;
  
  /* 圆角规范 */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  
  /* 阴影层次 */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 6px 16px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 14px 28px -4px rgba(15, 23, 42, 0.09), 0 4px 10px -2px rgba(15, 23, 42, 0.05);
  --shadow-glow: 0 0 20px -3px rgba(37, 99, 235, 0.25);
  
  /* 字体族群 */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --max-width: 1200px;
}

/* 全局重置与平滑滚动 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ==========================================================================
   Header 现代磨砂玻璃导航
   ========================================================================== */
.site-header {
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-logo:hover {
  color: var(--primary);
}

.brand-icon-box {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--primary), var(--accent-indigo));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
  flex-shrink: 0;
}

.brand-badge {
  font-size: 0.72rem;
  font-weight: 700;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  color: var(--primary);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  border: 1px solid var(--primary-border);
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 1;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 7px 11px;
  border-radius: var(--radius-sm);
  transition: all 0.18s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-link:hover {
  color: var(--text-main);
  background: rgba(241, 245, 249, 0.7);
}

.nav-link.active {
  color: var(--primary);
  background: var(--primary-light);
  font-weight: 600;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-toggle-btn {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--text-main);
  flex-shrink: 0;
}

/* ==========================================================================
   通用按钮体系 (Buttons)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  white-space: nowrap;
  line-height: 1.25;
}

.btn-primary {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: var(--text-white);
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  color: var(--text-white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.btn-outline {
  background: #ffffff;
  color: var(--text-main);
  border-color: var(--border-color);
  box-shadow: var(--shadow-xs);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-1px);
}

.btn-accent {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.25);
}

.btn-accent:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.35);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.84rem;
}

.btn-lg {
  padding: 12px 24px;
  font-size: 1.02rem;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* ==========================================================================
   首页 Modern Split Hero 视觉区 (杜绝单一单调)
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 48px 0 36px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -80px;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, rgba(37, 99, 235, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.hero-status-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  70% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero-title {
  font-size: 2.35rem;
  font-weight: 850;
  line-height: 1.25;
  color: var(--text-main);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.hero-title-highlight {
  background: linear-gradient(135deg, #1d4ed8, #0284c7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.hero-quick-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
}

.hero-tag-label {
  font-size: 0.82rem;
  color: var(--text-light);
  font-weight: 600;
}

.hero-tag-chip {
  font-size: 0.82rem;
  color: var(--text-muted);
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  transition: all 0.15s ease;
}

.hero-tag-chip:hover {
  color: var(--primary);
  border-color: var(--primary-border);
  background: var(--primary-light);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* 焦点推介卡片 (Hero Featured Card) */
.hero-spotlight-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.hero-spotlight-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #06b6d4, #10b981);
}

.spotlight-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.spotlight-badge {
  background: #fef3c7;
  color: #b45309;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid #fde68a;
}

.spotlight-brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.spotlight-price-box {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin: 14px 0;
}

.spotlight-price-val {
  font-size: 2rem;
  font-weight: 850;
  color: var(--primary);
  line-height: 1;
}

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

.spotlight-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: var(--bg-body);
  padding: 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  font-size: 0.84rem;
}

.spotlight-spec-item strong {
  color: var(--text-main);
}

.spotlight-spec-item span {
  color: var(--text-light);
}

/* ==========================================================================
   区块规范 (Sections)
   ========================================================================== */
.section {
  padding: 56px 0;
  position: relative;
}

.section-alt {
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  margin-bottom: 32px;
}

.section-title {
  font-size: 1.68rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   机场卡片体系 (Airport Cards - 富有层次变化，杜绝千篇一律)
   ========================================================================== */
.airport-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* 冠军/旗舰专属重点卡片样式 */
.airport-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-shadow: var(--shadow-xs);
}

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

.airport-card.card-featured {
  border-color: #93c5fd;
  box-shadow: var(--shadow-md);
  background: linear-gradient(180deg, #ffffff 0%, #fcfdfe 100%);
}

.airport-card.card-featured::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #6366f1);
  border-top-left-radius: var(--radius-md);
  border-top-right-radius: var(--radius-md);
}

.card-top-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.card-title-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-rank-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
}

.rank-gold {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

.rank-silver {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
}

.rank-bronze {
  background: #ffedd5;
  color: #9a3412;
  border: 1px solid #fed7aa;
}

.rank-normal {
  background: #f8fafc;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.card-brand-name {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
}

.card-brand-name a {
  color: var(--text-main);
}

.card-brand-name a:hover {
  color: var(--primary);
}

.card-status-badge {
  font-size: 0.74rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.badge-verified {
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid var(--success-border);
}

.card-description {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 14px;
  min-height: 40px;
}

/* 价格与流量统计栏 */
.card-metric-banner {
  background: var(--bg-body);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.metric-price-left {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.metric-price-num {
  font-size: 1.45rem;
  font-weight: 850;
  color: var(--primary);
  line-height: 1;
}

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

.metric-traffic-right {
  text-align: right;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.metric-traffic-right strong {
  color: var(--text-main);
}

/* 协议与线路标签组 */
.card-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.tag {
  background: var(--bg-subtle);
  color: var(--text-muted);
  font-size: 0.76rem;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-color);
  white-space: nowrap;
  display: inline-block;
  font-weight: 500;
}

.tag-highlight {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe;
  font-weight: 600;
}

/* 特性与避坑清单 */
.card-features-list {
  list-style: none;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.card-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.45;
}

.card-features-list .icon-check {
  color: var(--success);
  font-weight: 800;
  flex-shrink: 0;
}

.card-features-list .icon-warn {
  color: var(--warning);
  font-weight: 800;
  flex-shrink: 0;
}

/* 专属优惠码条 */
.card-coupon-bar {
  background: #fff1f2;
  border: 1px dashed #fda4af;
  border-radius: var(--radius-xs);
  padding: 6px 10px;
  font-size: 0.8rem;
  color: #be123c;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.card-coupon-bar code {
  font-family: monospace;
  font-weight: 700;
  background: #ffffff;
  padding: 1px 6px;
  border-radius: 3px;
  border: 1px solid #fecdd3;
}

/* 卡片底部操作按钮网格 */
.card-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
}

/* ==========================================================================
   按需求精准选型 Bento-Grid (杜绝6个一模一样的小框)
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bento-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.22s ease;
  position: relative;
}

.bento-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.bento-card-wide {
  grid-column: span 2;
  background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
  border-color: #cbd5e1;
}

.bento-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.bento-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
}

.bento-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.bento-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

/* ==========================================================================
   数据表格系统 (Data Table - 全宽单行并排无滚动条)
   ========================================================================== */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
}

@media (min-width: 992px) {
  .table-responsive {
    overflow-x: visible;
  }
}

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

.data-table th {
  background-color: var(--bg-surface);
  color: var(--text-main);
  font-weight: 700;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

.data-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-muted);
  vertical-align: middle;
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

.data-table tbody tr:hover {
  background-color: #f8fafc;
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.85rem;
}

.rank-1 {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.4);
}

.rank-2 {
  background: linear-gradient(135deg, #94a3b8, #64748b);
  color: #ffffff;
}

.rank-3 {
  background: linear-gradient(135deg, #fb923c, #ea580c);
  color: #ffffff;
}

.rank-other {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid var(--border-color);
}

/* ==========================================================================
   横向对比工具专属控制器与胶囊标签 (Comparison Tool Controller)
   ========================================================================== */
.compare-selector-bar {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-xs);
}

.compare-selector-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}

.compare-selector-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.02rem;
  font-weight: 750;
  color: var(--text-main);
}

.compare-count-badge {
  display: inline-flex;
  align-items: center;
  background: #eff6ff;
  color: var(--primary);
  border: 1px solid #bfdbfe;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}

.compare-quick-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.compare-action-btn {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.82rem;
  padding: 4px 11px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-weight: 550;
}

.compare-action-btn:hover {
  background: #ffffff;
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* 品牌胶囊选择群组 */
.compare-checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
}

.compare-check-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid var(--border-color);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 550;
  color: var(--text-main);
  cursor: pointer;
  user-select: none;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.compare-check-label:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

/* 选中高亮状态 (同时支持 CSS :has() 与 JS .is-checked class 回退) */
.compare-check-label.is-checked,
.compare-check-label:has(.compare-check-input:checked) {
  background: #eff6ff;
  border-color: #3b82f6;
  color: #1d4ed8;
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(37, 99, 235, 0.12);
}

.compare-check-input {
  appearance: auto;
  accent-color: #2563eb;
  width: 15px;
  height: 15px;
  cursor: pointer;
  margin: 0;
}

.compare-selector-hint {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   杂志风双栏文章与教程展台 (Magazine Editorial Showcase)
   ========================================================================== */
.magazine-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
}

.magazine-lead-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.magazine-lead-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

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

.magazine-list-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  transition: all 0.18s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.magazine-list-item:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  transform: translateX(3px);
}

/* ==========================================================================
   文章正文与侧边栏 (Articles & Editorial Layout)
   ========================================================================== */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 36px;
  padding: 36px 0;
}

.article-content {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-xs);
}

.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-widget {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow-xs);
}

.sidebar-title {
  font-size: 1.05rem;
  font-weight: 750;
  color: var(--text-main);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

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

.sidebar-list li a {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
  display: block;
}

.sidebar-list li a:hover {
  color: var(--primary);
  padding-left: 4px;
}

/* Prose 排版规范 */
.prose h1 {
  font-size: 2.1rem;
  font-weight: 850;
  color: var(--text-main);
  line-height: 1.3;
  margin-bottom: 16px;
}

.prose h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 32px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.prose h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 24px 0 12px;
}

.prose p {
  margin-bottom: 18px;
  line-height: 1.8;
  color: var(--text-muted);
}

.prose ul, .prose ol {
  margin-bottom: 20px;
  padding-left: 24px;
  color: var(--text-muted);
  line-height: 1.8;
}

.prose pre {
  background: #0f172a;
  color: #f8fafc;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  overflow-x: auto;
  font-family: Consolas, Monaco, monospace;
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 22px;
}

.prose code {
  font-family: Consolas, Monaco, monospace;
  background: #f1f5f9;
  color: #0f172a;
  padding: 2px 6px;
  border-radius: var(--radius-xs);
  font-size: 0.88rem;
}

.prose pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}

/* 提示呼出盒 (Callouts) */
.callout {
  border-left: 4px solid;
  border-radius: var(--radius-xs);
  padding: 16px 20px;
  margin: 22px 0;
  font-size: 0.92rem;
  line-height: 1.7;
}

.callout-info {
  background: #eff6ff;
  border-color: #3b82f6;
  color: #1e40af;
}

.callout-warning {
  background: #fffbeb;
  border-color: #f59e0b;
  color: #92400e;
}

.callout-success {
  background: #ecfdf5;
  border-color: #10b981;
  color: #065f46;
}

/* 面包屑导航 */
.breadcrumb-nav {
  padding: 14px 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.85rem;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  gap: 8px;
}

.breadcrumb-separator {
  color: var(--text-light);
}

.breadcrumb-current {
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   Footer 权威门户页脚
   ========================================================================== */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 60px 0 32px;
  margin-top: auto;
  border-top: 1px solid #1e293b;
}

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

.footer-col-title {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 18px;
}

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

.footer-links a {
  color: #94a3b8;
  font-size: 0.88rem;
  transition: all 0.15s ease;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 3px;
}

.footer-disclaimer-box {
  background: #1e293b;
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  font-size: 0.82rem;
  line-height: 1.7;
  color: #64748b;
  margin-bottom: 28px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid #1e293b;
  font-size: 0.82rem;
  color: #64748b;
}

/* ==========================================================================
   响应式断点适配 (Responsive Breakpoints)
   ========================================================================== */

/* 1. 中等屏幕 / 笔记本屏 (1025px ~ 1260px) - 保证字不折行，紧凑内边距 */
@media (max-width: 1260px) {
  .brand-badge {
    display: none; /* 紧凑屏幕隐藏副徽章，为导航留出充分横向空间 */
  }
  .brand-logo {
    font-size: 1.18rem;
    gap: 8px;
  }
  .site-nav {
    gap: 2px;
  }
  .nav-link {
    padding: 6px 8px;
    font-size: 0.86rem;
  }
  .header-cta {
    gap: 8px;
  }
  .btn-contact-trigger,
  .header-cta .btn {
    padding: 6px 10px;
    font-size: 0.82rem;
  }
}

/* 2. 平板与窄屏桌面 (<= 1024px) - 启动专业移动端折叠导航，彻底杜绝任何字数换行 */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .airport-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-card-wide {
    grid-column: span 2;
  }
  .magazine-grid {
    grid-template-columns: 1fr;
  }
  .article-layout {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  /* 导航折叠为全宽下拉抽屉 */
  .site-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    gap: 6px;
    z-index: 1001;
  }
  .site-nav.open {
    display: flex;
  }
  .site-nav .nav-link {
    padding: 10px 16px;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    width: 100%;
  }
  .nav-toggle-btn {
    display: block;
  }
  .header-cta {
    gap: 8px;
  }
  .btn-contact-trigger,
  .header-cta .btn {
    padding: 6px 10px;
    font-size: 0.82rem;
  }
}

/* 3. 手机端 (<= 768px) */
@media (max-width: 768px) {
  .hero-title {
    font-size: 1.95rem;
  }
  .airport-grid {
    grid-template-columns: 1fr;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-card-wide {
    grid-column: span 1;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* 4. 小屏手机 (<= 480px) */
@media (max-width: 480px) {
  .header-inner {
    height: 60px;
  }
  .site-nav {
    top: 60px;
  }
  .brand-logo {
    font-size: 1.08rem;
    gap: 6px;
  }
  .brand-icon-box {
    width: 28px;
    height: 28px;
    font-size: 0.85rem;
  }
  .header-cta {
    gap: 6px;
  }
  .header-cta .btn {
    padding: 5px 8px;
    font-size: 0.76rem;
  }
  .header-cta .btn-contact-trigger span.contact-bubble-icon {
    display: none;
  }
}

/* ==========================================================================
   商务合作与联络弹窗体系 (Contact & Business Modal)
   ========================================================================== */
.btn-contact-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-color);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.btn-contact-trigger:hover {
  background: #eff6ff;
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.16);
}

.contact-bubble-icon {
  font-size: 1rem;
  line-height: 1;
}

@media (min-width: 1025px) {
  .mobile-contact-link {
    display: none !important;
  }
}

.mobile-contact-link {
  font-weight: 700;
  color: var(--primary) !important;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-sm);
  margin-top: 6px;
  text-align: center;
}

/* 模态框背景遮罩 */
.contact-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.contact-modal-backdrop.is-active {
  opacity: 1;
  visibility: visible;
}

/* 模态对话框 */
.contact-modal-dialog {
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 660px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.3), 0 0 0 1px rgba(226, 232, 240, 0.9);
  transform: translateY(18px) scale(0.97);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 26px;
  position: relative;
}

.contact-modal-backdrop.is-active .contact-modal-dialog {
  transform: translateY(0) scale(1);
}

/* 弹窗头部 */
.contact-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}

.contact-modal-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-modal-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border: 1px solid #bfdbfe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.contact-modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 3px 0;
  line-height: 1.25;
}

.contact-modal-subtitle {
  font-size: 0.84rem;
  color: #64748b;
  margin: 0;
}

.contact-modal-close {
  background: #f1f5f9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.25rem;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  line-height: 1;
}

.contact-modal-close:hover {
  background: #fee2e2;
  color: #ef4444;
  transform: rotate(90deg);
}

.contact-modal-body {
  padding-top: 18px;
}

/* 业务范围标签栏 */
.contact-scope-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 18px;
}

.contact-scope-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.contact-scope-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.scope-tag {
  font-size: 0.76rem;
  background: #ffffff;
  color: #334155;
  border: 1px solid #cbd5e1;
  padding: 3px 9px;
  border-radius: 6px;
  font-weight: 500;
}

/* 渠道卡片双列网格 */
.contact-channels-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-channel-card {
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid;
  transition: all 0.2s ease;
}

/* Telegram 渠道卡片 */
.contact-channel-tg {
  background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
  border-color: #bae6fd;
}
.contact-channel-tg:hover {
  border-color: #0284c7;
  box-shadow: 0 8px 24px -4px rgba(14, 165, 233, 0.18);
}

/* Gmail 渠道卡片 */
.contact-channel-gmail {
  background: linear-gradient(180deg, #fef2f2 0%, #ffffff 100%);
  border-color: #fecaca;
}
.contact-channel-gmail:hover {
  border-color: #dc2626;
  box-shadow: 0 8px 24px -4px rgba(239, 68, 68, 0.18);
}

.channel-card-top {
  margin-bottom: 14px;
}

.channel-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.tg-badge {
  background: #e0f2fe;
  color: #0369a1;
  border: 1px solid #7dd3fc;
}
.gmail-badge {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fca5a5;
}

.channel-avatar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.channel-avatar-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tg-icon {
  background: #229ed9;
  color: #ffffff;
}
.gmail-icon {
  background: #ea4335;
  color: #ffffff;
}

.channel-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

.channel-account-box {
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  padding: 8px 10px;
  margin: 8px 0 10px 0;
}

.channel-account-text {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.86rem;
  font-weight: 700;
  color: #0f172a;
  word-break: break-all;
  display: block;
}

.channel-desc {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.45;
  margin: 0;
}

.channel-actions {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.btn-tg-primary {
  background: linear-gradient(135deg, #229ed9, #0284c7);
  color: #ffffff !important;
  border: none;
  font-weight: 700;
  font-size: 0.86rem;
  padding: 9px 12px;
  border-radius: 8px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.18s ease;
  box-shadow: 0 2px 6px rgba(34, 158, 217, 0.3);
  text-decoration: none;
}
.btn-tg-primary:hover {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(34, 158, 217, 0.4);
}

.btn-gmail-primary {
  background: linear-gradient(135deg, #ea4335, #dc2626);
  color: #ffffff !important;
  border: none;
  font-weight: 700;
  font-size: 0.86rem;
  padding: 9px 12px;
  border-radius: 8px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.18s ease;
  box-shadow: 0 2px 6px rgba(234, 67, 53, 0.3);
  text-decoration: none;
}
.btn-gmail-primary:hover {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(234, 67, 53, 0.4);
}

.btn-contact-copy {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #475569;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 10px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.18s ease;
}
.btn-contact-copy:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: #94a3b8;
}
.btn-contact-copy.is-copied {
  background: #dcfce7 !important;
  color: #15803d !important;
  border-color: #86efac !important;
}

/* 承诺条目 */
.contact-commitments {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}

.commitment-item {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.commitment-icon {
  font-size: 1.15rem;
  line-height: 1.2;
}

.commitment-item strong {
  display: block;
  font-size: 0.8rem;
  color: #1e293b;
  margin-bottom: 2px;
}

.commitment-item p {
  font-size: 0.72rem;
  color: #64748b;
  margin: 0;
  line-height: 1.35;
}

/* 复制成功浮动 Toast */
.contact-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #0f172a;
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.35);
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 640px) {
  .contact-channels-grid {
    grid-template-columns: 1fr;
  }
  .contact-commitments {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .contact-modal-dialog {
    padding: 20px 16px;
  }
}
