/* ==========================================================================
   IMMTELECOM - IMM-BENTO 统一设计系统样式表 (style.css)
   Neo-Brutalism & Bento Grid Architecture
   ========================================================================== */

:root {
  /* 基础色盘 */
  --bg-canvas: #FFFDF6;
  --bg-canvas-subtle: #F4EFE6;
  --bg-surface: #FFFFFF;
  --bg-dark: #12131A;
  --bg-dark-surface: #1E202B;

  /* 辅助色彩 (新粗野趣味色盘) */
  --color-yellow: #FFDF00;
  --color-mint: #00E599;
  --color-coral: #FF5376;
  --color-peach: #FFB38A;
  --color-cyan: #38BDF8;
  --color-purple: #B779FF;
  --color-orange: #FF9800;
  --color-gold: #F59E0B;
  --color-amber: #D97706;

  /* 墨水线条与文字 */
  --text-primary: #12131A;
  --text-secondary: #4A4D5D;
  --text-muted: #73788B;
  --text-inverse: #FFFFFF;
  --border-color: #12131A;

  /* 边框体系 (统一 2px 硬边框规范) */
  --border-width-sm: 1.5px;
  --border-width: 2px;
  --border-width-lg: 3px;
  
  --border-main: var(--border-width) solid var(--border-color);
  --border-main-sm: var(--border-width-sm) solid var(--border-color);
  --border-main-lg: var(--border-width-lg) solid var(--border-color);

  /* 硬核无模糊阴影 (统一 4px 硬边偏移阴影) */
  --shadow-hard-sm: 2px 2px 0px var(--border-color);
  --shadow-hard: 4px 4px 0px var(--border-color);
  --shadow-hard-lg: 6px 6px 0px var(--border-color);
  --shadow-hard-xl: 10px 10px 0px var(--border-color);
  --shadow-hard-hover: 6px 6px 0px var(--border-color);

  /* Bento 倒角 */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-bento: 18px;
  --radius-pill: 9999px;

  /* 字体系统 */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Fira Code", Menlo, Monaco, Consolas, monospace;

  /* 动效 */
  --transition-fast: 0.15s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* 焦点可见性高亮 (Accessibility Focus-Visible) */
:focus-visible {
  outline: 3px solid var(--color-coral) !important;
  outline-offset: 3px !important;
}

/* 核心锚点跳转顶部预留间距 */
[id] {
  scroll-margin-top: 90px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  background-color: var(--bg-canvas);
  background-image: radial-gradient(#12131A 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: 0 0;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  width: 100%;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

img, svg {
  vertical-align: middle;
  max-width: 100%;
}

/* 布局容器 */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-editorial {
  max-width: 980px;
}

/* 顶部阅读进度条 */
.reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 5px;
  background: var(--color-coral);
  width: 0%;
  z-index: 9999;
  transition: width 0.1s ease-out;
}

/* 跑马灯 Ticker */
.marquee-ticker {
  background: var(--color-yellow);
  color: var(--text-primary);
  border-bottom: var(--border-main);
  overflow: hidden;
  white-space: nowrap;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 8px 0;
  position: relative;
  z-index: 100;
  display: flex;
}

.marquee-content {
  display: inline-flex;
  gap: 32px;
  animation: marquee-scroll 28s linear infinite;
}

.marquee-content:hover {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* 顶部导航栏 */
.bento-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 253, 246, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: var(--border-main);
  padding: 12px 0;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: -0.5px;
}

.brand-badge {
  background: var(--color-coral);
  color: var(--text-inverse);
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  border: var(--border-main-sm);
  box-shadow: 2px 2px 0px var(--border-color);
  font-weight: 800;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 14px;
  list-style: none;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav-link {
  font-weight: 700;
  font-size: 0.92rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}

.nav-link:hover, .nav-link.active {
  background: var(--color-yellow);
  box-shadow: var(--shadow-hard-sm);
  transform: translateY(-2px);
}

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

/* 按钮体系与按压回弹交互 */
.bento-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  font-size: 0.92rem;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  border: var(--border-main);
  background: var(--bg-surface);
  color: var(--text-primary);
  box-shadow: var(--shadow-hard);
  transition: all var(--transition-fast);
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}

.bento-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px var(--border-color);
}

.bento-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px var(--border-color);
}

.bento-btn-primary { background: var(--color-yellow); }
.bento-btn-accent { background: var(--color-mint); }
.bento-btn-coral { background: var(--color-coral); color: var(--text-inverse); }
.bento-btn-dark { background: var(--bg-dark); color: var(--text-inverse); }
.bento-btn-gold { background: var(--color-gold); color: #12131A; }

.bento-btn-sm { padding: 6px 12px; font-size: 0.82rem; }
.bento-btn-lg {
  padding: 14px 26px;
  font-size: 1.05rem;
  border-radius: var(--radius-bento);
  box-shadow: var(--shadow-hard);
}

/* Bento 网格布局 */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.col-12 { grid-column: span 12; }
.col-8 { grid-column: span 8; }
.col-7 { grid-column: span 7; }
.col-6 { grid-column: span 6; }
.col-5 { grid-column: span 5; }
.col-4 { grid-column: span 4; }
.col-3 { grid-column: span 3; }

/* Bento 卡片 */
.bento-card {
  background: var(--bg-surface);
  border: var(--border-main);
  border-radius: var(--radius-bento);
  box-shadow: var(--shadow-hard);
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.bento-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-hard-lg);
}

.bento-card-yellow { background: var(--color-yellow); }
.bento-card-mint { background: var(--color-mint); }
.bento-card-coral { background: var(--color-coral); color: var(--text-inverse); }
.bento-card-cyan { background: var(--color-cyan); }
.bento-card-purple { background: var(--color-purple); }
.bento-card-subtle { background: var(--bg-canvas-subtle); }
.bento-card-dark { background: var(--bg-dark); color: var(--text-inverse); }

/* 贴纸与状态 */
.sticker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  border: var(--border-main-sm);
  box-shadow: 2px 2px 0px var(--border-color);
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sticker-yellow { background: var(--color-yellow); color: var(--text-primary); }
.sticker-mint { background: var(--color-mint); color: var(--text-primary); }
.sticker-coral { background: var(--color-coral); color: var(--text-inverse); }
.sticker-cyan { background: var(--color-cyan); color: var(--text-primary); }
.sticker-purple { background: var(--color-purple); color: var(--text-inverse); }
.sticker-white { background: #FFFFFF; color: var(--text-primary); }
.sticker-dark { background: var(--bg-dark); color: #FFFFFF; }
.sticker-warning { background: #FEF08A; color: #854D0E; }

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: var(--border-main-sm);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.82rem;
  box-shadow: 2px 2px 0px var(--border-color);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-mint);
  border: 1.5px solid var(--border-color);
  display: inline-block;
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

/* 免责声明提示框 */
.disclaimer-banner {
  background: #FFFBEB;
  border: var(--border-main);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hard-sm);
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #78350F;
}

.disclaimer-banner strong {
  color: #92400E;
}

/* 测速表格与客户端卡片 */
.ping-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 8px;
}

.ping-row {
  background: var(--bg-dark-surface);
  border-radius: var(--radius-sm);
  border: 1px solid #33384B;
  transition: var(--transition-fast);
}

.ping-row:hover {
  border-color: var(--color-mint);
  transform: translateX(4px);
}

.ping-row td {
  padding: 10px 14px;
  font-size: 0.9rem;
}

.ping-node-name {
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ping-speed {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--color-mint);
  text-align: right;
}

/* 定价卡片 (Pricing) */
.pricing-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.pricing-card.featured {
  background: var(--color-yellow);
  transform: scale(1.02);
  z-index: 2;
  box-shadow: var(--shadow-hard-lg);
}

.pricing-card.featured:hover {
  transform: scale(1.02) translate(-3px, -3px);
  box-shadow: var(--shadow-hard-xl);
}

.plan-price {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  margin: 16px 0 8px;
}

.plan-currency {
  font-size: 1.4rem;
  vertical-align: super;
}

.plan-period {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.plan-features {
  list-style: none;
  margin: 20px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plan-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 700;
  font-size: 0.92rem;
}

/* 四维度核验与评测组件 */
.verification-details {
  margin: 14px 0;
  border: 2px solid var(--border-color);
  background: #FFFFFF;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 0.82rem;
  box-shadow: 2px 2px 0px var(--border-color);
  transition: var(--transition-fast);
}

.verification-details[open] {
  background: #FFFBEB;
  box-shadow: var(--shadow-hard-sm);
}

.verification-summary {
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  user-select: none;
  color: var(--text-primary);
}

.verification-summary::-webkit-details-marker {
  display: none;
}

.verification-summary::after {
  content: "▼";
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.verification-details[open] .verification-summary::after {
  transform: rotate(180deg);
}

.verification-content {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed #CBD5E1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  line-height: 1.5;
}

.verification-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.verification-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 4px;
  width: fit-content;
  border: 1px solid var(--border-color);
}

.tag-claim { background: #FEF08A; color: #854D0E; }
.tag-analysis { background: #E0E7FF; color: #3730A3; }
.tag-thirdparty { background: #DCFCE7; color: #166534; }
.tag-test { background: #FCE7F3; color: #9D174D; }

/* 知识库主页搜索与分类 */
.kb-hero-card {
  padding: 36px;
  background: var(--color-yellow);
  margin-bottom: 30px;
}

.kb-search-box {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  max-width: 650px;
}

.kb-search-input {
  flex: 1;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  border: var(--border-main);
  box-shadow: var(--shadow-hard-sm);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  outline: none;
  background: #FFFFFF;
}

.kb-search-input:focus {
  box-shadow: var(--shadow-hard);
}

.kb-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.filter-tab-btn {
  padding: 8px 18px;
  font-weight: 800;
  font-size: 0.88rem;
  border-radius: var(--radius-pill);
  border: var(--border-main-sm);
  background: var(--bg-surface);
  box-shadow: 2px 2px 0px var(--border-color);
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-tab-btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0px var(--border-color);
}

.filter-tab-btn.active {
  background: var(--bg-dark);
  color: var(--text-inverse);
  box-shadow: 3px 3px 0px var(--color-yellow);
}

/* 文章网格与文章卡片 */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.article-card {
  background: var(--bg-surface);
  border: var(--border-main);
  border-radius: var(--radius-bento);
  box-shadow: var(--shadow-hard);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-fast);
  text-decoration: none;
  color: inherit;
}

.article-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-hard-lg);
  background: #FFFDF8;
}

.article-card-title {
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.35;
  margin: 12px 0 10px;
}

.article-card-excerpt {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  border-top: 2px dashed #E2E8F0;
  padding-top: 14px;
}

/* 文章详情页排版 */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 40px;
  padding: 40px 0 80px;
  align-items: start;
}

.article-main {
  background: var(--bg-surface);
  border: var(--border-main);
  border-radius: var(--radius-bento);
  box-shadow: var(--shadow-hard);
  padding: 40px 48px;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.breadcrumb-nav a {
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-header {
  margin-bottom: 32px;
  border-bottom: var(--border-main-sm);
  padding-bottom: 24px;
}

.article-title {
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -1px;
  margin: 16px 0;
}

.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.article-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #2D3748;
}

.article-content h2 {
  font-size: 1.65rem;
  font-weight: 900;
  margin: 44px 0 18px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--border-color);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.article-content h2::before {
  content: "";
  display: inline-block;
  width: 12px;
  height: 24px;
  background: var(--color-yellow);
  border: 2px solid var(--border-color);
  border-radius: 4px;
}

.article-content h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 28px 0 14px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-content h3::before {
  content: "•";
  color: var(--color-coral);
  font-size: 1.5rem;
  line-height: 1;
}

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

.article-content ul, .article-content ol {
  margin: 16px 0 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.article-content strong {
  font-weight: 800;
  color: var(--text-primary);
  background: rgba(255, 223, 0, 0.25);
  padding: 0 4px;
  border-radius: 2px;
}

/* 终端代码块 */
.code-block-wrapper {
  margin: 24px 0 32px;
  border: var(--border-main);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hard-sm);
  background: var(--bg-dark);
  color: #F8FAFC;
  overflow: hidden;
}

.code-header {
  background: #1E202B;
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #33384B;
}

.code-dots {
  display: flex;
  gap: 6px;
}

.code-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #FF5F56; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #27C93F; }

.code-title {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: #94A3B8;
}

.copy-code-btn {
  font-size: 0.75rem;
  font-weight: 800;
  background: #33384B;
  color: #FFFFFF;
  border: 1px solid #475569;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
}

.copy-code-btn:hover {
  background: var(--color-mint);
  color: var(--text-primary);
  border-color: #000;
}

.code-block-wrapper pre {
  padding: 18px 20px;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  line-height: 1.6;
}

.article-content code:not(pre code) {
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: var(--bg-canvas-subtle);
  border: 1.5px solid var(--border-color);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
  color: #D946EF;
}

/* Callout 提醒框 */
.callout {
  padding: 18px 22px;
  margin: 24px 0;
  border: var(--border-main);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hard-sm);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.callout-icon { font-size: 1.4rem; line-height: 1; flex-shrink: 0; }
.callout-body { font-size: 0.96rem; line-height: 1.65; }
.callout-body strong { display: block; margin-bottom: 4px; }
.callout-tip { background: #E8FFF6; }
.callout-warning { background: #FFFBEB; }
.callout-danger { background: #FFF1F2; }
.callout-info { background: #F0F9FF; }

/* 响应式表格 */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 28px 0;
  border: var(--border-main);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hard-sm);
  background: #FFFFFF;
}

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

.bento-table th {
  background: var(--bg-canvas-subtle);
  padding: 12px 18px;
  font-weight: 800;
  border-bottom: var(--border-main);
  border-right: 1px solid #CBD5E1;
}

.bento-table th:last-child { border-right: none; }

.bento-table td {
  padding: 12px 18px;
  border-bottom: 1px solid #E2E8F0;
  border-right: 1px solid #CBD5E1;
}

.bento-table td:last-child { border-right: none; }
.bento-table tr:last-child td { border-bottom: none; }
.bento-table tr:hover { background: #FFFDF5; }

/* 侧边栏与 TOC */
.article-sidebar {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.toc-card {
  background: var(--bg-surface);
  border: var(--border-main);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hard-sm);
  padding: 20px;
}

.toc-title {
  font-size: 1rem;
  font-weight: 900;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
}

.toc-item a {
  display: block;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-weight: 600;
  transition: var(--transition-fast);
}

.toc-item a:hover {
  background: var(--color-yellow);
  color: var(--text-primary);
}

.toc-item.active a {
  background: var(--bg-dark);
  color: #FFFFFF;
  font-weight: 800;
}

.sidebar-cta-card {
  background: var(--color-yellow);
  border: var(--border-main);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hard-sm);
  padding: 20px;
  text-align: center;
}

/* 翻页导航卡片 */
.article-nav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 48px 0 32px;
}

.article-nav-card {
  padding: 18px 24px;
  border: var(--border-main);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  box-shadow: var(--shadow-hard-sm);
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.article-nav-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hard);
  background: var(--color-yellow);
}

.article-nav-label {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* 底部浮动转化栏 (Floating Conversion Bar) */
.floating-conversion-bar {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(18, 19, 26, 0.95);
  backdrop-filter: blur(12px);
  border: var(--border-main-sm);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-hard-lg);
  padding: 10px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  z-index: 80;
  color: #FFFFFF;
  max-width: 90vw;
}

.floating-text {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 0.9rem;
}

.floating-coupon-tag {
  background: var(--color-yellow);
  color: #12131A;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-family: var(--font-mono);
}

/* Toast 提示 */
.bento-toast {
  position: fixed;
  bottom: 80px;
  right: 24px;
  background: var(--color-mint);
  color: var(--text-primary);
  border: var(--border-main);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hard);
  padding: 12px 24px;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 9999;
  transform: translateY(120%);
  opacity: 0;
  transition: all var(--transition-bounce);
  pointer-events: none;
}

.bento-toast.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* 页脚 Footer */
.bento-footer {
  margin-top: auto;
  background: var(--bg-dark);
  color: var(--text-inverse);
  border-top: var(--border-main-lg);
  padding: 50px 0 24px;
}

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

.footer-brand h3 {
  font-size: 1.5rem;
  font-weight: 900;
  margin-bottom: 10px;
}

.footer-brand p {
  color: #94A3B8;
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--color-yellow);
}

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

.footer-links a {
  color: #CBD5E1;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-mint);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #64748B;
}

/* ==========================================================================
   原生 DETAILS 与 SUMMARY FAQ 模块规范
   ========================================================================== */
details.faq-item {
  background: var(--bg-surface);
  border: var(--border-main);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hard-sm);
  transition: var(--transition-fast);
  overflow: hidden;
  margin-bottom: 14px;
}

details.faq-item:hover {
  box-shadow: var(--shadow-hard);
  border-color: #000;
}

details.faq-item summary {
  padding: 18px 22px;
  font-weight: 800;
  font-size: 1.05rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  user-select: none;
  background: var(--bg-surface);
  transition: background var(--transition-fast);
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

details.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1;
  margin-left: 14px;
  transition: transform 0.2s ease;
}

details.faq-item[open] summary {
  background: var(--color-yellow);
  border-bottom: var(--border-main);
}

details.faq-item[open] summary::after {
  content: "−";
  transform: rotate(180deg);
}

.faq-panel {
  padding: 18px 22px 20px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  background: #FFFFFF;
}

/* ==========================================================================
   移动端抽屉导航 (Mobile Drawer - 触控热区 ≥ 44×44px & 键盘 ESC 支持)
   ========================================================================== */
.nav-toggle-btn {
  display: none;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  background: var(--color-yellow);
  border: var(--border-main);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-hard-sm);
  cursor: pointer;
  font-size: 1.25rem;
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background: var(--bg-surface);
  border-left: var(--border-main-lg);
  box-shadow: -8px 0px 0px rgba(18, 19, 26, 0.4);
  z-index: 1000;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-drawer.open {
  right: 0;
}

.nav-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(18, 19, 26, 0.6);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nav-drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.nav-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: var(--border-main);
  padding-bottom: 14px;
}

.nav-drawer-close {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: var(--border-main);
  border-radius: var(--radius-sm);
  background: var(--color-coral);
  color: #FFF;
  font-weight: 900;
  font-size: 1.2rem;
  cursor: pointer;
}

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

.nav-drawer-links a {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  min-height: 44px;
  font-weight: 800;
  font-size: 1rem;
  border: var(--border-main);
  border-radius: var(--radius-sm);
  background: var(--bg-canvas-subtle);
  box-shadow: var(--shadow-hard-sm);
  transition: var(--transition-fast);
}

.nav-drawer-links a:hover,
.nav-drawer-links a:active {
  background: var(--color-yellow);
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hard);
}

/* ==========================================================================
   Click Burst 点击 SVG 几何爆发动画容器
   ========================================================================== */
.click-burst-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 99999;
  overflow: hidden;
}

.click-burst-particle {
  position: absolute;
  pointer-events: none;
  user-select: none;
  will-change: transform, opacity;
  animation: burst-fade 0.5s ease-out forwards;
}

@keyframes burst-fade {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translate(var(--tx), var(--ty)) scale(0) rotate(var(--rot));
    opacity: 0;
  }
}

/* ==========================================================================
   多端与多分辨率响应式断点 (1440px / 992px / 768px / 390px / 360px)
   ========================================================================== */
@media (min-width: 1440px) {
  .container {
    max-width: 1360px;
  }
  .bento-card {
    padding: 30px;
  }
}

@media (max-width: 992px) {
  .col-8, .col-7, .col-6, .col-5, .col-4, .col-3 {
    grid-column: span 12;
  }
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    position: static;
    order: -1;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .floating-conversion-bar {
    width: 95vw;
    padding: 8px 14px;
    gap: 10px;
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .nav-toggle-btn {
    display: inline-flex;
  }
  .hero-section {
    padding: 24px 0 20px;
  }
  .bento-grid {
    gap: 14px;
  }
  .pricing-card.featured {
    transform: none;
  }
  .pricing-card.featured:hover {
    transform: translate(-2px, -2px);
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 390px) {
  html {
    font-size: 15px;
  }
  .container {
    padding: 0 14px;
  }
  .bento-card {
    padding: 16px;
  }
  .plan-price {
    font-size: 2.2rem;
  }
  .bento-btn-lg {
    padding: 12px 18px;
    font-size: 0.95rem;
    width: 100%;
  }
}

@media (max-width: 360px) {
  html {
    font-size: 14px;
  }
  .container {
    padding: 0 10px;
  }
  .brand-logo span {
    font-size: 1.15rem;
  }
  .nav-actions .copy-coupon-btn {
    display: none;
  }
}

/* 动效降级约束 (prefers-reduced-motion: reduce) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .marquee-content {
    animation: none !important;
  }
  .click-burst-container,
  .click-burst-particle {
    display: none !important;
  }
}
