/* ===================================================================
   Cocoduck VPN 官方信息与新手指南站 - 全局样式规范
   设计方案：04｜轻动漫·角色旅程
   配色系统：低饱和樱粉、暖奶白、小黄鸭暖黄辅色与高对比炭灰文本
   遵循：WCAG AA/AAA 对比度、prefers-reduced-motion、移动端触控区 >= 44px
   =================================================================== */

:root {
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  
  /* 品牌色系 */
  --bg-primary: #FAF9F6;           /* 温暖奶白 */
  --bg-surface: #FFFFFF;           /* 纯白卡片 */
  --bg-soft-pink: #FDF2F4;         /* 低饱和粉底色 */
  --bg-pink-subtle: #FFF5F7;       /* 浅粉渐变辅色 */
  
  --pink-light: #FCE7EB;
  --pink-primary: #E85B81;         /* 主强调粉色（对比度符合 AA） */
  --pink-dark: #C93B63;            /* 悬停/强调深粉色 */
  
  --duck-yellow: #FFF3C4;          /* 鸭系柔和鹅黄 */
  --duck-gold: #D97706;            /* 鸭系琥珀金辅色 */
  --duck-border: #FDE68A;
  
  --text-main: #24292F;            /* 炭灰正文，与白色对比度 > 11:1 */
  --text-muted: #57606A;           /* 辅色文字，对比度 > 4.6:1 */
  --text-light: #6E7781;
  
  --border-color: #F0E2E5;
  --border-hover: #E8BAC5;
  
  --shadow-sm: 0 2px 8px rgba(232, 91, 129, 0.06);
  --shadow-md: 0 8px 24px rgba(201, 59, 99, 0.08);
  --shadow-lg: 0 16px 36px rgba(201, 59, 99, 0.12);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --container-max: 1200px;
  --header-height: 72px;
}

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

html {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-main);
  background-color: var(--bg-primary);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  max-width: 100%;
}

/* 键盘焦点可访问性 */
:focus-visible {
  outline: 3px solid var(--pink-primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* 无障碍跳过链接 */
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  background: var(--pink-primary);
  color: #FFFFFF;
  padding: 10px 18px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top 0.2s ease;
  text-decoration: none;
}
.skip-link:focus {
  top: 16px;
}

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

/* 锚点滚动距离 */
[id] {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

/* ================= 导航 Header ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(250, 249, 246, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
}

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

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 700;
  font-size: 1.15rem;
}

.brand-logo {
  width: 40px;
  height: 40px;
  display: block;
  border-radius: var(--radius-sm);
}

.brand-text-sub {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--pink-primary);
  background: var(--bg-soft-pink);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-left: 4px;
}

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

.nav-link {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, background-color 0.2s ease;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

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

/* 站内搜索栏 */
.header-search {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  width: 200px;
  height: 40px;
  padding: 8px 14px 8px 36px;
  font-size: 0.875rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  color: var(--text-main);
  transition: all 0.2s ease;
}

.search-input:focus {
  width: 250px;
  border-color: var(--pink-primary);
  box-shadow: 0 0 0 3px rgba(232, 91, 129, 0.15);
}

.search-icon {
  position: absolute;
  left: 12px;
  width: 16px;
  height: 16px;
  color: var(--text-light);
  pointer-events: none;
}

.search-results-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 320px;
  max-height: 380px;
  overflow-y: auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  display: none;
  z-index: 150;
}

.search-results-dropdown.show {
  display: block;
}

.search-item {
  display: block;
  padding: 10px 12px;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border-bottom: 1px solid var(--bg-soft-pink);
  transition: background 0.15s ease;
}
.search-item:last-child {
  border-bottom: none;
}
.search-item:hover, .search-item:focus {
  background: var(--bg-soft-pink);
}
.search-item-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 3px;
}
.search-item-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ================= Hero 区域 ================= */
.hero-section {
  position: relative;
  padding: 56px 0 64px;
  background: linear-gradient(180deg, var(--bg-soft-pink) 0%, var(--bg-primary) 100%);
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.hero-content {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--duck-border);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--duck-gold);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.hero-tag .tag-icon {
  font-size: 1.1rem;
}

.hero-title {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text-main);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 28px;
}

/* 最低价醒目标记条 */
.lowest-price-banner {
  background: #FFFFFF;
  border: 1.5px dashed var(--pink-primary);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  margin: 0 auto 36px;
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 20px;
  box-shadow: var(--shadow-sm);
  max-width: 90%;
}

.lowest-price-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--pink-dark);
  background: var(--pink-light);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.lowest-price-amount {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--pink-primary);
}

.lowest-price-detail {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* 热门套餐推荐卡片网格 */
.hero-plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 20px;
  text-align: left;
}

.plan-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--pink-primary);
}

.plan-card.featured {
  border: 2px solid var(--pink-primary);
  background: linear-gradient(180deg, #FFFFFF 0%, var(--bg-pink-subtle) 100%);
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  background: var(--pink-primary);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 6px rgba(232, 91, 129, 0.4);
}

.plan-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.plan-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.plan-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--border-color);
}

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

.plan-price {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--pink-primary);
  line-height: 1;
}

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

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

.plan-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-main);
  margin-bottom: 10px;
}

.plan-feature-icon {
  width: 16px;
  height: 16px;
  color: #10B981;
  flex-shrink: 0;
  margin-top: 3px;
}

/* CTA 按钮规范 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 44px;
  min-width: 44px;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--pink-primary);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(232, 91, 129, 0.35);
}

.btn-primary:hover {
  background: var(--pink-dark);
  box-shadow: 0 6px 20px rgba(201, 59, 99, 0.45);
  transform: translateY(-1px);
}

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

.btn-outline:hover {
  background: var(--bg-soft-pink);
  color: var(--pink-dark);
}

.btn-block {
  width: 100%;
}

/* ================= 角色旅程 3 步入门 ================= */
.section {
  padding: 72px 0;
}

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

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

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--pink-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--pink-light);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 12px;
}

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

.journey-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
}

.journey-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.journey-card:hover {
  transform: translateY(-4px);
  border-color: var(--pink-primary);
}

.step-num {
  width: 44px;
  height: 44px;
  background: var(--duck-yellow);
  color: var(--duck-gold);
  border: 2px solid var(--duck-border);
  font-weight: 800;
  font-size: 1.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.journey-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}

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

.journey-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--pink-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.journey-link:hover {
  text-decoration: underline;
}

/* ================= 套餐对比表格 ================= */
.table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 16px;
}

.plan-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 680px;
}

.plan-table caption {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 12px 16px;
  text-align: right;
  caption-side: bottom;
}

.plan-table th, .plan-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.925rem;
}

.plan-table thead th {
  background: var(--bg-soft-pink);
  font-weight: 700;
  color: var(--text-main);
}

.plan-table tbody th {
  background: transparent;
  font-weight: 700;
  color: var(--text-main);
}

.plan-table tr:last-child th,
.plan-table tr:last-child td {
  border-bottom: none;
}

.plan-table tr:hover th,
.plan-table tr:hover td {
  background: var(--bg-pink-subtle);
}

.plan-note-text {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 10px;
}

/* ================= 设备与特性网格 ================= */
.device-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.device-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  transition: all 0.2s ease;
}
.device-card:hover {
  border-color: var(--pink-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.device-icon-wrap {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: var(--bg-soft-pink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pink-primary);
}

.device-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 6px;
}

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

/* ================= 常见问题 FAQ (details/summary) ================= */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: var(--pink-primary);
}

.faq-summary {
  padding: 18px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
  min-height: 44px;
}

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

.faq-summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--pink-primary);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-summary::after {
  content: "−";
}

.faq-body {
  padding: 0 24px 20px;
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-body p:not(:last-child) {
  margin-bottom: 12px;
}

/* ================= 知识科普文章卡片网格 ================= */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  color: inherit;
}

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

.article-badge {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: var(--bg-soft-pink);
  color: var(--pink-dark);
  margin-bottom: 12px;
}

.article-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
  line-height: 1.4;
}

.article-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
}

.article-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-light);
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
}

.article-read-more {
  color: var(--pink-primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ================= 文章详情页排版 ================= */
.article-layout {
  padding: 48px 0 72px;
}

.article-header {
  max-width: 820px;
  margin: 0 auto 36px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
}
.breadcrumbs a:hover {
  color: var(--pink-primary);
}

.article-main-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
  color: var(--text-main);
}

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

.article-content {
  max-width: 820px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-main);
}

.article-content h2 {
  font-size: 1.55rem;
  font-weight: 700;
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
}

.article-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--text-main);
}

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

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

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

.article-content code {
  background: var(--bg-soft-pink);
  color: var(--pink-dark);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
  font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
}

.article-content pre {
  background: #24292F;
  color: #F0F6FC;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  overflow-x: auto;
  margin: 20px 0 28px;
  font-size: 0.875rem;
  line-height: 1.5;
}

.article-content pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}

.callout {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin: 24px 0;
  border-left: 4px solid var(--pink-primary);
  background: var(--bg-soft-pink);
  font-size: 0.95rem;
}

.callout.warning {
  border-left-color: var(--duck-gold);
  background: var(--duck-yellow);
  color: #78350F;
}

/* 文章底部推广卡片 */
.article-cta-box {
  background: linear-gradient(135deg, var(--bg-soft-pink) 0%, #FFFFFF 100%);
  border: 1px solid var(--pink-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin: 48px 0;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.article-cta-box h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.article-cta-box p {
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 20px;
}

/* ================= 页脚 Footer ================= */
.site-footer {
  background: #FFFFFF;
  border-top: 1px solid var(--border-color);
  padding: 48px 0 32px;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
}

.footer-nav-link:hover {
  color: var(--pink-primary);
  text-decoration: underline;
}

.footer-disclaimer {
  max-width: 760px;
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.6;
}

.footer-copy {
  font-size: 0.775rem;
  color: var(--text-light);
}

/* ================= 动效与减弱动效 ================= */
@keyframes softFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.anime-float {
  animation: softFloat 4s ease-in-out infinite;
}

@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;
  }
}

/* ================= 响应式断点测试与适配 ================= */
/* 768px - 平板与小屏幕 */
@media (max-width: 900px) {
  .hero-plans-grid {
    grid-template-columns: 1fr;
  }
  .journey-grid {
    grid-template-columns: 1fr;
  }
  .device-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 390px, 360px - 手机端 */
@media (max-width: 600px) {
  html, body {
    overflow-x: hidden;
    max-width: 100vw;
  }
  .site-header {
    height: auto;
    padding: 12px 0;
  }
  .header-inner {
    flex-wrap: wrap;
    gap: 8px;
  }
  .nav-menu {
    order: 3;
    width: 100%;
    justify-content: space-around;
    gap: 4px;
    padding-top: 8px;
    border-top: 1px solid var(--border-color);
  }
  .nav-link {
    padding: 6px 6px;
    font-size: 0.85rem;
    white-space: nowrap;
    min-height: 40px;
  }
  .header-search {
    order: 2;
    position: relative;
  }
  .search-input {
    width: 125px;
  }
  .search-input:focus {
    width: 155px;
  }
  .search-results-dropdown {
    left: 0;
    right: auto;
    width: min(280px, calc(100vw - 40px));
    max-width: calc(100vw - 40px);
  }
  .device-grid {
    grid-template-columns: 1fr;
  }
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .lowest-price-banner {
    max-width: 100%;
    padding: 16px 12px;
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}
