/* 万重云 · 社区信息发布系统 — 官网样式 */
:root {
  --primary: #1a6dff;
  --primary-dark: #0d4fc7;
  --primary-light: #e8f1ff;
  --accent: #00b4d8;
  --text: #1a2332;
  --text-muted: #5a6578;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --bg-dark: #0b1628;
  --border: #e2e8f0;
  --shadow: 0 4px 24px rgba(26, 109, 255, 0.08);
  --shadow-lg: 0 12px 48px rgba(26, 109, 255, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --header-h: 72px;
  --max-w: 1200px;
  --transition: 0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--max-w);
  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, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.site-header.scrolled { box-shadow: var(--shadow); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-logo {
  width: 130px;
  height: auto;
  flex-shrink: 0;
}

.brand-suffix {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
  border-left: 2px solid var(--border);
  padding-left: 16px;
  height: 36px;
  display: flex;
  align-items: center;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.main-nav { display: flex; align-items: center; gap: 4px; }

.main-nav a {
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 8px;
  transition: all var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
  background: var(--primary-light);
}

.btn-demo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(26, 109, 255, 0.3);
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--transition);
}

.btn-demo svg {
  width: 16px;
  height: 16px;
}

.btn-demo:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(26, 109, 255, 0.45);
  color: #fff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
  padding: calc(var(--header-h) + 80px) 0 100px;
  background: linear-gradient(160deg, #f0f6ff 0%, #ffffff 50%, #f8fbff 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(26, 109, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -100px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero-badge::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 20px;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 4px 16px rgba(26, 109, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 109, 255, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary-light);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-mockup {
  width: 100%;
  max-width: 480px;
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

.mockup-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}

.mockup-bar span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #ff5f57;
}

.mockup-bar span:nth-child(2) { background: #febc2e; }
.mockup-bar span:nth-child(3) { background: #28c840; }

.mockup-content {
  background: #111827;
  border-radius: 12px;
  padding: 16px;
  min-height: 300px;
}

.mockup-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  margin-bottom: 12px;
  font-size: 12px;
  color: #9ca3af;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.mockup-logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

.mockup-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: rgba(255,255,255,0.04);
  border-radius: 10px;
  margin-bottom: 8px;
  border: 1px solid rgba(255,255,255,0.04);
  transition: background var(--transition);
}

.mockup-item.mockup-pinned {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.15);
}

.mockup-item .dot {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.mockup-item .dot svg { width: 16px; height: 16px; }
.mockup-item .dot.dot-green { background: linear-gradient(135deg, #059669, #10b981); }
.mockup-item .dot.dot-purple { background: linear-gradient(135deg, #7c3aed, #a78bfa); }

.mockup-item .info { flex: 1; min-width: 0; }
.mockup-item .info .title {
  color: #e5e7eb;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.mockup-item .info .sub { color: #6b7280; font-size: 10px; margin-top: 3px; }

.badge-pin, .badge-paid {
  font-size: 9px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  line-height: 1.4;
}

.badge-pin { background: rgba(245, 158, 11, 0.2); color: #fbbf24; }
.badge-paid { background: rgba(26, 109, 255, 0.2); color: #60a5fa; }

.mockup-ad {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  margin-top: 4px;
  border-radius: 8px;
  border: 1px dashed rgba(245, 158, 11, 0.3);
  background: rgba(245, 158, 11, 0.06);
  color: #fbbf24;
  font-size: 11px;
  font-weight: 500;
}

.mockup-ad svg { width: 14px; height: 14px; }

.cta-section .btn-outline:hover {
  background: rgba(255,255,255,0.15);
}

/* ===== Demo Modal ===== */
.demo-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(11, 22, 40, 0.55);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.demo-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.demo-modal {
  position: relative;
  width: 100%;
  max-width: 380px;
  padding: 32px 28px 28px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(11, 22, 40, 0.25);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.25s ease;
}

.demo-modal-overlay.open .demo-modal {
  transform: translateY(0) scale(1);
}

.demo-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: none;
  background: var(--bg-soft);
  color: var(--text-muted);
  font-size: 22px;
  line-height: 1;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition);
}

.demo-modal-close:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.demo-modal-head {
  text-align: center;
  margin-bottom: 24px;
}

.demo-modal-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-light), #dbeafe);
  color: var(--primary);
  border-radius: 12px;
}

.demo-modal-head h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}

.demo-modal-head p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

.demo-modal-qr {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.demo-modal-qr img {
  width: 180px;
  height: 180px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 8px;
}

.demo-modal-url {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.demo-modal-input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  font-size: 12px;
  font-family: Consolas, "Courier New", monospace;
  color: var(--text);
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
}

.demo-modal-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 109, 255, 0.12);
}

.demo-modal-copy {
  flex-shrink: 0;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.demo-modal-copy:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 109, 255, 0.35);
}

.demo-modal-copy.copied {
  background: linear-gradient(135deg, #059669, #10b981);
}

.demo-modal-open {
  display: block;
  text-align: center;
  padding: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-light);
  border-radius: 10px;
  transition: all var(--transition);
}

.demo-modal-open:hover {
  background: #dbeafe;
  color: var(--primary-dark);
}

/* ===== Section ===== */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-soft); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 17px;
  color: var(--text-muted);
}

/* ===== Stats ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  position: relative;
  text-align: left;
  padding: 28px 24px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition);
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity var(--transition);
}

.stat-card:hover {
  border-color: rgba(26, 109, 255, 0.25);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.stat-card:hover::before { opacity: 1; }

.stat-card .stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.stat-card .stat-icon svg {
  width: 24px;
  height: 24px;
}

.stat-card:nth-child(1) .stat-icon { background: linear-gradient(135deg, #e8f1ff, #dbeafe); color: var(--primary); }
.stat-card:nth-child(2) .stat-icon { background: linear-gradient(135deg, #ede9fe, #ddd6fe); color: #7c3aed; }
.stat-card:nth-child(3) .stat-icon { background: linear-gradient(135deg, #ecfdf5, #d1fae5); color: #059669; }
.stat-card:nth-child(4) .stat-icon { background: linear-gradient(135deg, #fff7ed, #ffedd5); color: #ea580c; }

.stat-card .num {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-card .label {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.stat-card .stat-desc {
  font-size: 12px;
  color: var(--text-muted);
  opacity: 0.7;
  margin-top: 8px;
}

/* ===== Feature Cards (Home) ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  position: relative;
  padding: 32px 28px 28px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 109, 255, 0.03), transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.feature-card:hover {
  border-color: rgba(26, 109, 255, 0.2);
  box-shadow: 0 16px 48px rgba(26, 109, 255, 0.1);
  transform: translateY(-8px);
}

.feature-card:hover::after { opacity: 1; }

.feature-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-card .feature-tag {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.02em;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 16px;
}

.feature-card .feature-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  opacity: 0;
  transform: translateX(-8px);
  transition: all var(--transition);
}

.feature-card .feature-link svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
}

.feature-card:hover .feature-link {
  opacity: 1;
  transform: translateX(0);
}

.feature-card:hover .feature-link svg {
  transform: translateX(3px);
}

/* 功能卡片配色 */
.feature-card[data-color="blue"] .feature-icon { background: linear-gradient(135deg, #e8f1ff, #c7d9ff); color: #1a6dff; }
.feature-card[data-color="blue"] .feature-tag { background: #e8f1ff; color: #1a6dff; }
.feature-card[data-color="purple"] .feature-icon { background: linear-gradient(135deg, #f3e8ff, #e9d5ff); color: #7c3aed; }
.feature-card[data-color="purple"] .feature-tag { background: #f3e8ff; color: #7c3aed; }
.feature-card[data-color="cyan"] .feature-icon { background: linear-gradient(135deg, #ecfeff, #cffafe); color: #0891b2; }
.feature-card[data-color="cyan"] .feature-tag { background: #ecfeff; color: #0891b2; }
.feature-card[data-color="amber"] .feature-icon { background: linear-gradient(135deg, #fffbeb, #fef3c7); color: #d97706; }
.feature-card[data-color="amber"] .feature-tag { background: #fffbeb; color: #d97706; }
.feature-card[data-color="green"] .feature-icon { background: linear-gradient(135deg, #ecfdf5, #d1fae5); color: #059669; }
.feature-card[data-color="green"] .feature-tag { background: #ecfdf5; color: #059669; }
.feature-card[data-color="rose"] .feature-icon { background: linear-gradient(135deg, #fff1f2, #fecdd3); color: #e11d48; }
.feature-card[data-color="rose"] .feature-tag { background: #fff1f2; color: #e11d48; }
.feature-card[data-color="indigo"] .feature-icon { background: linear-gradient(135deg, #eef2ff, #c7d2fe); color: #4f46e5; }
.feature-card[data-color="indigo"] .feature-tag { background: #eef2ff; color: #4f46e5; }
.feature-card[data-color="slate"] .feature-icon { background: linear-gradient(135deg, #f1f5f9, #e2e8f0); color: #475569; }
.feature-card[data-color="slate"] .feature-tag { background: #f1f5f9; color: #475569; }
.feature-card[data-color="teal"] .feature-icon { background: linear-gradient(135deg, #f0fdfa, #ccfbf1); color: #0d9488; }
.feature-card[data-color="teal"] .feature-tag { background: #f0fdfa; color: #0d9488; }

/* ===== Use Cases ===== */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.case-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.case-visual {
  position: relative;
  height: 200px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-visual .case-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.15;
}

.case-visual .case-illustration {
  position: relative;
  z-index: 1;
  width: 120px;
  height: 120px;
}

.case-visual .case-illustration svg {
  width: 100%;
  height: 100%;
}

.case-card[data-theme="blue"] .case-visual { background: linear-gradient(145deg, #1a6dff 0%, #0d4fc7 100%); }
.case-card[data-theme="cyan"] .case-visual { background: linear-gradient(145deg, #0891b2 0%, #0e7490 100%); }
.case-card[data-theme="purple"] .case-visual { background: linear-gradient(145deg, #7c3aed 0%, #5b21b6 100%); }

.case-card .case-icon-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
}

.case-card .case-icon-badge svg {
  width: 20px;
  height: 20px;
}

.case-content {
  padding: 24px 28px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.case-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.case-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
  flex: 1;
}

.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.case-tags span {
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--bg-soft);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.case-card[data-theme="blue"] .case-tags span:nth-child(1) { background: #e8f1ff; color: #1a6dff; border-color: #c7d9ff; }
.case-card[data-theme="cyan"] .case-tags span:nth-child(1) { background: #ecfeff; color: #0891b2; border-color: #a5f3fc; }
.case-card[data-theme="purple"] .case-tags span:nth-child(1) { background: #f3e8ff; color: #7c3aed; border-color: #ddd6fe; }

/* ===== Tech Stack ===== */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.tech-card {
  padding: 32px 24px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  text-align: center;
  transition: all var(--transition);
}

.tech-card:hover {
  border-color: rgba(26, 109, 255, 0.25);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.tech-card .tech-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-card .tech-icon svg {
  width: 28px;
  height: 28px;
}

.tech-card:nth-child(1) .tech-icon { background: linear-gradient(135deg, #ede9fe, #ddd6fe); color: #7c3aed; }
.tech-card:nth-child(2) .tech-icon { background: linear-gradient(135deg, #ecfdf5, #d1fae5); color: #059669; }
.tech-card:nth-child(3) .tech-icon { background: linear-gradient(135deg, #e8f1ff, #c7d9ff); color: #1a6dff; }
.tech-card:nth-child(4) .tech-icon { background: linear-gradient(135deg, #fff7ed, #ffedd5); color: #ea580c; }

.tech-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text);
}

.tech-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== CTA ===== */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  text-align: center;
  color: #fff;
}

.cta-section h2 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 17px;
  opacity: 0.9;
  margin-bottom: 32px;
}

.cta-section .btn-primary {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.cta-section .btn-primary:hover {
  background: var(--primary-light);
}

/* ===== Feature Detail (features page) ===== */
.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-text .feature-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 16px;
  font-weight: 800;
  border-radius: 10px;
  margin-bottom: 16px;
}

.feature-text h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  margin-bottom: 8px;
}

.feature-text h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 20px;
}

.feature-text p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.9;
}

.feature-text ul {
  margin-top: 20px;
}

.feature-text ul li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.feature-text ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.feature-visual {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  border: 1px solid var(--border);
}

.feature-visual svg {
  width: 100%;
  max-width: 360px;
  height: auto;
}

/* ===== Pricing ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
  position: relative;
}

.pricing-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured::before {
  content: "推荐";
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 20px;
  border-radius: 100px;
}

.pricing-card .plan-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-card .plan-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.pricing-card .price {
  margin-bottom: 8px;
}

.pricing-card .price .amount {
  font-size: 42px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.pricing-card .price .currency {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  vertical-align: super;
}

.pricing-card .price-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.pricing-card .features-list li {
  position: relative;
  padding-left: 28px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.6;
}

.pricing-card .features-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px; height: 20px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing-card .btn { margin-top: auto; width: 100%; padding-top: 16px; padding-bottom: 16px; }

.pricing-note {
  text-align: center;
  margin-top: 48px;
  padding: 24px;
  background: var(--primary-light);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text-muted);
}

/* ===== Guide Page ===== */
.page-hero {
  padding: calc(var(--header-h) + 60px) 0 60px;
  background: linear-gradient(160deg, #f0f6ff 0%, #ffffff 100%);
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 17px;
  color: var(--text-muted);
}

.guide-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  padding: 60px 0 100px;
  align-items: start;
}

.guide-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.guide-sidebar h3 {
  padding: 20px 24px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}

.guide-nav a {
  display: block;
  padding: 14px 24px;
  font-size: 14px;
  color: var(--text-muted);
  border-left: 3px solid transparent;
  transition: all var(--transition);
}

.guide-nav a:hover,
.guide-nav a.active {
  color: var(--primary);
  background: var(--primary-light);
  border-left-color: var(--primary);
}

.guide-content {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  min-height: 500px;
}

.guide-content h2 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}

.guide-content .guide-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.guide-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--text);
}

.guide-content p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.9;
}

.guide-placeholder {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

.guide-placeholder .placeholder-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.4;
}

.guide-nav-label {
  padding: 14px 24px 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.75;
}

.guide-nav-label:not(:first-child) {
  margin-top: 4px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.guide-list,
.guide-steps {
  margin: 12px 0 20px;
  padding-left: 0;
  list-style: none;
}

.guide-list li,
.guide-steps li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.8;
}

.guide-list li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--primary);
  font-weight: 700;
}

.guide-steps {
  counter-reset: guide-step;
}

.guide-steps li {
  counter-increment: guide-step;
}

.guide-steps li::before {
  content: counter(guide-step);
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.guide-figure {
  margin: 20px auto 28px;
  text-align: center;
  max-width: 100%;
}

.guide-figure img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  width: auto;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.guide-figure.phone img {
  max-width: min(300px, 100%);
}

.guide-figure.mobile-admin img {
  max-width: min(420px, 100%);
}

.guide-figure.desktop img {
  max-width: min(960px, 100%);
}

.guide-figure figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  padding: 0 8px;
}

.guide-figures-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin: 20px 0 28px;
}

.guide-figures-row .guide-figure {
  margin: 0;
  flex: 0 1 min(300px, 100%);
}

.guide-figures-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 20px 0 28px;
}

.guide-figures-col .guide-figure {
  margin: 0;
}

.guide-figures-overview {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
  justify-content: center;
  margin: 24px 0 28px;
}

.guide-figures-overview .guide-figure {
  margin: 0;
}

.guide-figures-overview .guide-figure.phone {
  flex: 0 1 min(280px, 100%);
}

.guide-figures-overview .guide-figure.desktop {
  flex: 1 1 min(520px, 100%);
}

.guide-figures-overview .guide-figure.phone img {
  max-width: min(280px, 100%);
}

.guide-figures-overview .guide-figure.desktop img {
  max-width: 100%;
}

.guide-tip {
  padding: 16px 20px;
  background: var(--primary-light);
  border-radius: var(--radius);
  border-left: 3px solid var(--primary);
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand p {
  font-size: 14px;
  margin-top: 16px;
  line-height: 1.8;
  max-width: 320px;
}

.footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-brand-icon-wrap {
  width: 36px;
  height: 36px;
  overflow: hidden;
  flex-shrink: 0;
  border-radius: 8px;
}

.footer-brand-icon {
  width: 130px;
  height: auto;
  max-width: none;
  display: block;
}

.footer-brand-name {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  line-height: 1;
  white-space: nowrap;
}

.footer-col h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
  transition: color var(--transition);
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
}

.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: #fff; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-grid,
  .feature-block,
  .feature-block.reverse { grid-template-columns: 1fr; direction: ltr; }
  .features-grid,
  .cases-grid,
  .pricing-grid,
  .stats-grid,
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .guide-layout { grid-template-columns: 1fr; }
  .guide-sidebar { position: static; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .header-right {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
    gap: 8px;
  }
  .header-right.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .main-nav {
    flex-direction: column;
    width: 100%;
  }
  .main-nav a { width: 100%; text-align: center; padding: 12px; }
  .btn-demo {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
  }
  .brand-suffix { font-size: 15px; height: 26px; padding-left: 10px; }
  .brand-logo { width: 96px; }
  .hero { padding-bottom: 60px; }
  .hero-grid { gap: 40px; }
  .section { padding: 60px 0; }
  .features-grid,
  .cases-grid,
  .pricing-grid,
  .stats-grid,
  .tech-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .feature-block { padding: 48px 0; gap: 32px; }
  .guide-content { padding: 28px; }
  .guide-figure.phone img { max-width: min(260px, 100%); }
  .guide-figure.mobile-admin img { max-width: 100%; }
  .guide-figure.desktop img { max-width: 100%; }
  .guide-figures-row { gap: 16px; }
  .guide-figures-overview { gap: 16px; }
  .guide-figures-overview .guide-figure.phone,
  .guide-figures-overview .guide-figure.desktop { flex: 1 1 100%; }
  .case-visual { height: 160px; }
  .feature-card .feature-link { opacity: 1; transform: none; }
  .section-header { margin-bottom: 40px; }
}
