/* ===== 二手物品系统 · 官网样式 ===== */
:root {
  --primary: #FF483C;
  --primary-dark: #E8392E;
  --primary-light: #FFF0EF;
  --accent: #FF6B50;
  --accent-hover: #E8392E;
  --text-primary: #111827;
  --text-secondary: #6B7280;
  --text-muted: #9CA3AF;
  --bg-white: #FFFFFF;
  --bg-gray: #F9FAFB;
  --bg-dark: #0F172A;
  --border: #E5E7EB;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow-md: 0 4px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.12);
  --radius: 12px;
  --radius-lg: 20px;
  --header-h: 72px;
  --font: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --transition: .25s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  color: var(--text-primary);
  background: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

body.nav-open { overflow: hidden; }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.site-header.scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  min-width: 0;
}

.logo-picture {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-link img {
  width: 130px;
  height: auto;
  display: block;
}

.logo-text {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 1px;
  line-height: 1;
  white-space: nowrap;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-demo-mobile { display: none; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-main a {
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}

.nav-main a:hover,
.nav-main a.active {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-main a.btn-demo,
.nav-main a.btn-demo-mobile {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #FF6B50);
}

.nav-main a.btn-demo:hover,
.nav-main a.btn-demo-mobile:hover,
.nav-main a.btn-demo.active,
.nav-main a.btn-demo-mobile.active {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #FF6B50);
}

.btn-demo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), #FF6B50);
  border-radius: 24px;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 16px rgba(255,72,60,.35);
  white-space: nowrap;
}

.btn-demo.btn-demo-mobile {
  display: none;
}

.btn-demo.btn-demo-desktop {
  display: inline-flex;
}

.btn-demo:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(255,72,60,.45);
}

.btn-demo svg { width: 16px; height: 16px; fill: currentColor; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== Hero ===== */
.hero {
  padding: calc(var(--header-h) + 80px) 0 100px;
  background: linear-gradient(180deg, var(--primary-light) 0%, var(--bg-white) 100%);
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,72,60,.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255,72,60,.1);
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 24px;
}

.hero-badge svg { width: 16px; height: 16px; }

.hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--primary), #FF6B50);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  background: var(--primary);
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  background: transparent;
  border: 2px solid var(--primary);
  border-radius: 12px;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-outline:hover {
  background: var(--primary-light);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-mockup {
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ===== Stats ===== */
.stats-bar {
  padding: 48px 0;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item .stat-num {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

.stat-item .stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ===== Section Common ===== */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-tag {
  display: inline-block;
  padding: 4px 14px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.section-header h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -.5px;
}

.section-header p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== Feature Cards (Home) ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 36px 28px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg { width: 28px; height: 28px; }

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== CTA ===== */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, #CC2E24 100%);
  text-align: center;
  color: #fff;
}

.cta-section h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 17px;
  opacity: .85;
  margin-bottom: 32px;
}

.cta-section .btn-primary {
  background: #fff;
  color: var(--primary);
  font-size: 17px;
  padding: 16px 40px;
}

.cta-section .btn-primary:hover {
  background: var(--primary-light);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,.7);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand .logo-link .footer-logo-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 9px;
}

.footer-brand .logo-link .footer-logo-text {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  line-height: 1;
  white-space: nowrap;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.8;
  margin-top: 16px;
}

.footer-col h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  padding: 6px 0;
  transition: color var(--transition);
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}

/* ===== Features Page ===== */
.page-hero {
  padding: calc(var(--header-h) + 60px) 0 60px;
  background: linear-gradient(180deg, var(--primary-light) 0%, var(--bg-white) 100%);
  text-align: center;
}

.page-hero h1 {
  font-size: 44px;
  font-weight: 800;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.feature-block:last-child { border-bottom: none; }

.feature-block.reverse { direction: rtl; }
.feature-block.reverse > * { direction: ltr; }

.feature-block-text .block-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  border-radius: 4px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.feature-block-text h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.3;
}

.feature-block-text h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
}

.feature-block-text p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 12px;
}

.feature-block-text ul {
  margin-top: 16px;
}

.feature-block-text ul li {
  position: relative;
  padding-left: 24px;
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 10px;
  line-height: 1.6;
}

.feature-block-text ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  background: var(--primary);
  border-radius: 50%;
}

.feature-block-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--bg-gray);
}

.feature-block-visual svg,
.feature-block-visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== Pricing Page ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding: 80px 0;
}

.pricing-card {
  position: relative;
  padding: 40px 32px;
  background: var(--bg-white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.pricing-card.featured::before {
  content: '推荐';
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  padding: 4px 20px;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 20px;
}

.pricing-card .plan-name {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-card .plan-desc {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  min-height: 42px;
}

.pricing-card .plan-price {
  margin-bottom: 8px;
}

.pricing-card .plan-price .currency {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  vertical-align: top;
}

.pricing-card .plan-price .amount {
  font-size: 48px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.pricing-card .plan-price .period {
  font-size: 14px;
  color: var(--text-muted);
}

.pricing-card .plan-note {
  font-size: 13px;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 28px;
  padding: 8px 12px;
  background: rgba(255,72,60,.08);
  border-radius: 8px;
}

.pricing-card .plan-features {
  flex: 1;
  margin-bottom: 32px;
}

.pricing-card .plan-features li {
  position: relative;
  padding: 10px 0 10px 28px;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.pricing-card .plan-features li:last-child { border-bottom: none; }

.pricing-card .plan-features li::before {
  content: '';
  position: absolute;
  left: 0; top: 14px;
  width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23FF483C'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E") no-repeat center/contain;
}

.pricing-card .btn-plan {
  display: block;
  width: 100%;
  padding: 14px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.pricing-card .btn-plan:hover,
.pricing-card.featured .btn-plan {
  background: var(--primary);
  color: #fff;
}

.pricing-card.featured .btn-plan:hover {
  background: var(--primary-dark);
}

.pricing-faq {
  padding: 60px 0 100px;
}

.pricing-faq h2 {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 48px;
}

.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}

.faq-item h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  cursor: pointer;
}

.faq-item p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ===== Guide Page ===== */
.guide-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  padding: calc(var(--header-h) + 40px) 0 80px;
  min-height: 100vh;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.guide-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  align-self: start;
  min-width: 0;
  max-width: 100%;
}

.guide-sidebar h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 2px;
  margin-bottom: 16px;
  padding-left: 16px;
}

.guide-nav a {
  display: block;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  margin-bottom: 4px;
  transition: all var(--transition);
  border-left: 3px solid transparent;
}

.guide-nav a:hover {
  background: var(--bg-gray);
  color: var(--text-primary);
}

.guide-nav a.active {
  background: var(--primary-light);
  color: var(--primary);
  border-left-color: var(--primary);
  font-weight: 600;
}

.guide-content {
  padding: 32px 40px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  min-height: 500px;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
  box-sizing: border-box;
}

.guide-content h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
}

.guide-content .guide-meta {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  overflow-wrap: break-word;
  word-break: break-word;
}

.guide-content h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 32px 0 12px;
}

.guide-content p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 16px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.guide-content .placeholder-box {
  padding: 60px 40px;
  background: var(--bg-gray);
  border-radius: var(--radius);
  text-align: center;
  color: var(--text-muted);
  font-size: 15px;
  margin: 24px 0;
  border: 2px dashed var(--border);
}

.guide-welcome {
  text-align: center;
  padding: 80px 40px;
}

.guide-welcome svg {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  opacity: .4;
}

.guide-welcome h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.guide-welcome p {
  font-size: 16px;
  color: var(--text-muted);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin: 0 auto 36px; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-mockup { max-width: 360px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .feature-block { grid-template-columns: 1fr; gap: 40px; }
  .feature-block.reverse { direction: ltr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .guide-layout { grid-template-columns: 1fr; gap: 20px; padding-top: calc(var(--header-h) + 96px); }
  .guide-sidebar { position: static; top: auto; }
}

.nav-overlay { display: none; }

@media (min-width: 993px) {
  .nav-main {
    flex: 1;
    justify-content: center;
  }
}

@media (max-width: 992px) {
  :root { --header-h: 68px; }

  .menu-toggle { display: flex; }

  .btn-demo-desktop,
  .btn-demo.btn-demo-desktop {
    display: none;
  }

  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    overflow: visible;
    z-index: 1000;
    height: auto;
    min-height: var(--header-h);
  }

  .header-inner {
    height: auto;
    min-height: var(--header-h);
    padding: 10px 0;
  }

  body.nav-open .site-header {
    z-index: 1001;
  }

  .logo-link {
    flex: 1;
    gap: 8px;
  }

  .logo-link img {
    width: 88px;
    height: auto;
    border-radius: 0;
    object-fit: contain;
  }

  .logo-text {
    font-size: 14px;
    letter-spacing: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .45);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .3s ease, visibility .3s ease;
  }

  .nav-overlay.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-main {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(320px, 85vw);
    z-index: 1002;
    background: var(--bg-white);
    flex-direction: column;
    align-items: stretch;
    padding: calc(var(--header-h) + 8px) 20px 32px;
    gap: 0;
    overflow-y: auto;
    box-shadow: -4px 0 24px rgba(0,0,0,.12);
    transform: translateX(100%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    pointer-events: none;
  }

  .nav-main.open {
    transform: translateX(0);
    pointer-events: auto;
  }

  .nav-main a:not(.btn-demo-mobile) {
    display: block;
    width: 100%;
    padding: 16px 4px;
    font-size: 17px;
    font-weight: 500;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border);
    border-radius: 0;
    background: transparent;
  }

  .nav-main a:not(.btn-demo-mobile):hover,
  .nav-main a:not(.btn-demo-mobile).active {
    color: var(--primary);
    background: transparent;
  }

  .nav-main a:not(.btn-demo-mobile).active {
    font-weight: 600;
  }

  .btn-demo-mobile,
  .btn-demo.btn-demo-mobile {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    margin-top: 24px;
    padding: 14px 24px;
    font-size: 16px;
    border-radius: 12px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--bg-gray);
    position: relative;
    z-index: 1003;
  }

  /* 使用教程 · 手机端 */
  .guide-layout {
    display: flex;
    flex-direction: column;
    padding: calc(var(--header-h) + 96px) 0 60px;
    gap: 16px;
    width: 100%;
    overflow: visible;
  }

  .guide-sidebar {
    position: static;
    top: auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px 12px 14px;
    box-shadow: var(--shadow-sm);
    box-sizing: border-box;
    margin-top: 16px;
  }

  .guide-sidebar h3 {
    font-size: 12px;
    margin-bottom: 12px;
    padding-left: 4px;
    padding-top: 2px;
  }

  .guide-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    max-width: 100%;
  }

  .guide-nav::-webkit-scrollbar {
    display: none;
  }

  .guide-nav a {
    flex: 0 1 auto;
    padding: 8px 12px;
    font-size: 13px;
    border-radius: 20px;
    border: 1px solid var(--border);
    border-left: 1px solid var(--border);
    margin-bottom: 0;
    white-space: nowrap;
    background: var(--bg-gray);
  }

  .guide-nav a:hover {
    background: var(--primary-light);
    color: var(--primary);
  }

  .guide-nav a.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
  }

  .guide-nav a.active:hover {
    background: var(--primary-dark);
    color: #fff;
  }

  .guide-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 20px 16px;
    min-height: auto;
    box-sizing: border-box;
  }

  .guide-content h1 {
    font-size: 24px;
    line-height: 1.3;
  }

  .guide-content .guide-meta {
    font-size: 13px;
    margin-bottom: 24px;
    padding-bottom: 16px;
  }

  .guide-content h2 {
    font-size: 18px;
    margin: 24px 0 10px;
  }

  .guide-content p {
    font-size: 15px;
    line-height: 1.8;
  }

  .guide-content .placeholder-box {
    padding: 32px 16px;
    font-size: 14px;
  }

  .guide-welcome {
    padding: 40px 16px;
  }
}

@media (max-width: 768px) {
  .container { padding: 0 16px; }

  .header-inner {
    gap: 12px;
  }

  .hero { padding: calc(var(--header-h) + 48px) 0 60px; }
  .hero h1 { font-size: 32px; }
  .hero-desc { font-size: 16px; }

  .section { padding: 60px 0; }
  .section-header h2 { font-size: 28px; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item .stat-num { font-size: 28px; }

  .page-hero h1 { font-size: 32px; }
  .feature-block { padding: 48px 0; }
  .feature-block-text h2 { font-size: 24px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .footer-brand .logo-link .footer-logo-icon { width: 36px; height: 36px; }
  .footer-brand .logo-link .footer-logo-text { font-size: 22px; }
}

@media (max-width: 380px) {
  .logo-link img { width: 96px; }
  .logo-text { display: none; }
}
