/* ----------------------------------------------------
   一云梯 (1yunti.click) - 视觉主题：61｜苹果式发布
   暖白、石墨灰、品牌蓝，大留白与逐段展示
---------------------------------------------------- */

:root {
  --bg-primary: #fbfbfd;
  --bg-secondary: #f5f5f7;
  --bg-card: #ffffff;
  --bg-card-subtle: #fafafc;
  
  --text-primary: #1d1d1f;
  --text-secondary: #515154;
  --text-muted: #86868b;
  --text-light: #f5f5f7;
  
  --brand-blue: #0071e3;
  --brand-blue-hover: #0077ed;
  --brand-blue-light: #e8f2fc;
  --brand-blue-border: #b9d7fb;
  
  --border-light: rgba(0, 0, 0, 0.08);
  --border-subtle: rgba(0, 0, 0, 0.04);
  --border-dark: rgba(255, 255, 255, 0.15);
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 36px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.05);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --nav-height: 54px;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "SF Mono", Menlo, Consolas, Monaco, monospace;
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

a {
  color: var(--brand-blue);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--brand-blue-hover);
}

img, svg {
  max-width: 100%;
  display: block;
}

/* 布局容器 */
.container {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-narrow {
  max-width: 860px;
}

/* 顶部导航 - 苹果式磨砂半透 */
.site-nav {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: background-color 0.3s ease;
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.brand-icon {
  width: 24px;
  height: 24px;
  fill: var(--brand-blue);
}

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

.nav-link {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 400;
  transition: color 0.2s ease;
  padding: 8px 4px;
}

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

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

/* 按钮规范 - 44px 触控目标 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--brand-blue);
  color: #ffffff !important;
  box-shadow: 0 2px 10px rgba(0, 113, 227, 0.25);
}

.btn-primary:hover {
  background-color: var(--brand-blue-hover);
  box-shadow: 0 4px 16px rgba(0, 113, 227, 0.35);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  border-color: var(--border-light);
}

.btn-secondary:hover {
  background-color: #ebebee;
  color: var(--text-primary);
}

.btn-sm {
  min-height: 36px;
  padding: 6px 16px;
  font-size: 13px;
}

/* 汉堡菜单按钮（移动端） */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
}

.mobile-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--text-primary);
  transition: all 0.3s ease;
  position: relative;
}

.mobile-toggle span::before,
.mobile-toggle span::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 2px;
  background-color: var(--text-primary);
  transition: all 0.3s ease;
}

.mobile-toggle span::before {
  top: -6px;
}

.mobile-toggle span::after {
  top: 6px;
}

.mobile-toggle.open span {
  background-color: transparent;
}

.mobile-toggle.open span::before {
  transform: rotate(45deg);
  top: 0;
}

.mobile-toggle.open span::after {
  transform: rotate(-45deg);
  top: 0;
}

/* 任务 Hero 区域 */
.section-hero {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background-color: var(--brand-blue-light);
  color: var(--brand-blue);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.hero-desc {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 36px;
  font-weight: 400;
  line-height: 1.55;
}

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

.hero-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.badge-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 13px;
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
}

.badge-dot {
  width: 6px;
  height: 6px;
  background-color: #34c759;
  border-radius: 50%;
}

/* 苹果风格设备特写组合 (SVG / Vector UI Mockup) */
.hero-device-wrapper {
  margin: 0 auto;
  max-width: 960px;
  perspective: 1000px;
}

.device-display {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  text-align: left;
}

.device-header {
  height: 42px;
  background: #f1f1f3;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  padding: 0 16px;
  justify-content: space-between;
}

.device-controls {
  display: flex;
  gap: 8px;
}

.device-controls span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}

.ctrl-close { background-color: #ff5f56; }
.ctrl-min { background-color: #ffbd2e; }
.ctrl-max { background-color: #27c93f; }

.device-titlebar {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.device-body {
  padding: 24px;
  background: #fafafc;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
  min-height: 280px;
}

.device-sidebar {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid var(--border-light);
}

.sidebar-title {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  font-weight: 600;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 4px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.sidebar-item.active {
  background: var(--brand-blue-light);
  color: var(--brand-blue);
  font-weight: 600;
}

.device-content {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.screen-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  font-size: 13px;
}

.screen-code {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #2e7d32;
  background: #edf7ed;
  padding: 4px 8px;
  border-radius: 4px;
}

/* 通用区块排版 */
.section {
  padding: 90px 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-secondary);
}

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

.section-eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: var(--brand-blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

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

/* 三类工作流程 (Three Core Workflows) */
.workflows-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.workflow-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.workflow-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.workflow-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--brand-blue-light);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.workflow-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-blue);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.workflow-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 14px;
  line-height: 1.35;
}

.workflow-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}

.workflow-points {
  list-style: none;
  margin-bottom: 24px;
}

.workflow-points li {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 6px 0;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.workflow-points li::before {
  content: '✓';
  color: var(--brand-blue);
  font-weight: bold;
}

/* 交互实用功能：任务准备卡生成器 (Task Prep Card Generator) */
.tool-container {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  padding: 40px;
  max-width: 920px;
  margin: 0 auto;
}

.tool-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 30px;
}

.tool-field-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
  display: block;
}

.tool-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip-btn {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 38px;
}

.chip-btn:hover {
  background: #ececee;
  color: var(--text-primary);
}

.chip-btn.active {
  background: var(--brand-blue);
  color: #ffffff;
  border-color: var(--brand-blue);
  box-shadow: 0 2px 8px rgba(0, 113, 227, 0.25);
}

.tool-output-card {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
  position: relative;
}

.output-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.output-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}

.output-badge {
  font-size: 12px;
  padding: 4px 10px;
  background: #e8f5e9;
  color: #2e7d32;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.checklist-list {
  list-style: none;
  margin-bottom: 24px;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.5;
}

.checklist-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--brand-blue);
}

.tool-disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  background: #ffffff;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  margin-top: 16px;
}

.tool-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  justify-content: flex-end;
}

/* 场景文章列表卡片 */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.article-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-blue);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.article-card-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.article-card-title a {
  color: inherit;
}

.article-card-title a:hover {
  color: var(--brand-blue);
}

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

.article-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}

/* 套餐说明区 */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.plan-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 36px 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.plan-card.featured {
  border-color: var(--brand-blue);
  box-shadow: 0 10px 30px rgba(0, 113, 227, 0.12);
}

.plan-featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-blue);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: var(--radius-full);
}

.plan-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.plan-badge {
  font-size: 13px;
  color: var(--brand-blue);
  font-weight: 500;
  margin-bottom: 16px;
}

.plan-status-box {
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  border-left: 3px solid var(--brand-blue);
}

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

.plan-features li {
  font-size: 14px;
  color: var(--text-primary);
  padding: 8px 0;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.plan-features li::before {
  content: '✓';
  color: var(--brand-blue);
  font-weight: bold;
}

.plan-protocol {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 24px;
}

/* 真实空态评价区 (Genuine Empty State) */
.reviews-empty-card {
  background: #ffffff;
  border: 1px dashed var(--border-light);
  border-radius: var(--radius-lg);
  padding: 50px 30px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.reviews-empty-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: var(--text-muted);
}

.reviews-empty-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.reviews-empty-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 580px;
  margin: 0 auto;
}

/* FAQ 常见问题手风琴 */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  margin-bottom: 14px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 44px;
}

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.25s ease;
  flex-shrink: 0;
  color: var(--brand-blue);
}

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

.faq-answer {
  display: none;
  padding: 0 24px 22px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

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

/* 文章详情页排版 */
.article-header {
  padding: 60px 0 30px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 40px;
}

.article-breadcrumbs {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.article-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.article-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.article-meta-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.article-content {
  font-size: 16px;
  line-height: 1.8;
  color: #2c2c2e;
}

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

.article-content h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 48px 0 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
}

.article-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 32px 0 14px;
}

.step-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.step-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-blue);
  background: var(--brand-blue-light);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.step-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

/* 响应式表格 */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 28px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

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

.data-table th,
.data-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
}

.data-table th {
  background: var(--bg-secondary);
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
}

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

.data-table tr:hover td {
  background: #fafafc;
}

.table-caption {
  font-size: 13px;
  color: var(--text-muted);
  padding: 10px 18px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-light);
  font-weight: 500;
}

/* 相关文章卡片 */
.related-articles {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border-light);
}

.related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

/* 页脚 */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  padding: 60px 0 30px;
  margin-top: 80px;
  font-size: 13px;
  color: var(--text-secondary);
}

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

.footer-col-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--text-secondary);
}

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

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--text-muted);
}

/* 移动端响应式适配 */
@media (max-width: 992px) {
  .workflows-grid,
  .articles-grid,
  .plans-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .device-body {
    grid-template-columns: 1fr;
  }
  
  .device-sidebar {
    display: none;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: inline-flex;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    display: none;
  }
  
  .nav-menu.open {
    display: flex;
  }
  
  .nav-actions {
    display: none;
  }
  
  .workflows-grid,
  .articles-grid,
  .plans-grid,
  .related-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .tool-controls {
    grid-template-columns: 1fr;
  }
  
  .tool-container {
    padding: 24px 18px;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .section-hero {
    padding: 50px 0 40px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* 窄屏防溢出检查 (360px - 430px) */
@media (max-width: 430px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
  }
  
  .badge-item {
    font-size: 12px;
    padding: 4px 10px;
  }
  
  .chip-btn {
    padding: 6px 12px;
    font-size: 12px;
  }
}
