/* ════════════════════════════════════════════════════════════════════
   询盘收集系统 — 产品首页样式
   ════════════════════════════════════════════════════════════════════ */

/* ── 全局变量 ── */
:root {
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --primary-light: #eef2ff;
  --primary-dark: #3730a3;
  --accent: #7c3aed;
  --accent-light: #f5f3ff;
  --success: #16a34a;
  --warning: #ea580c;
  --danger: #dc2626;
  --info: #0891b2;

  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow: 0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
  --shadow-md: 0 10px 15px rgba(0,0,0,.1), 0 4px 6px rgba(0,0,0,.05);
  --shadow-lg: 0 20px 40px rgba(0,0,0,.12), 0 8px 16px rgba(0,0,0,.06);
  --shadow-xl: 0 32px 64px rgba(0,0,0,.15);

  --gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  --gradient-soft: linear-gradient(135deg, #eef2ff 0%, #f5f3ff 100%);

  --container: 1140px;
  --container-narrow: 760px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-hover); }

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

::selection { background: var(--primary-light); color: var(--primary-dark); }

/* ── Container ── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 24px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 22px; border: none; border-radius: var(--radius);
  font-size: 15px; font-weight: 600; cursor: pointer;
  transition: all .25s cubic-bezier(.4,0,.2,1);
  white-space: nowrap; text-decoration: none;
  font-family: inherit;
}
.btn:active { transform: scale(.97); }
.btn-lg { padding: 14px 32px; font-size: 16px; border-radius: 12px; }
.btn-primary { background: var(--gradient); color: #fff; box-shadow: 0 4px 14px rgba(79,70,229,.35); }
.btn-primary:hover { color: #fff; box-shadow: 0 6px 20px rgba(79,70,229,.45); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--gray-300); }
.btn-outline:hover { border-color: var(--primary); background: var(--primary-light); color: var(--primary); }
.btn-white { background: #fff; color: var(--primary); box-shadow: var(--shadow-md); }
.btn-white:hover { color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ── Gradient Text ── */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ════════════════════════════════════════════════════════════════════
   导航栏
   ════════════════════════════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: all .3s; padding: 16px 0;
}
.nav.scrolled {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 12px rgba(0,0,0,.06);
  padding: 10px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 700; color: var(--gray-900); }
.nav-logo:hover { color: var(--gray-900); text-decoration: none; }
.logo-icon { font-size: 24px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-link { color: var(--gray-600); font-size: 15px; font-weight: 500; }
.nav-link:hover { color: var(--primary); text-decoration: none; }
.nav-link-btn {
  background: var(--gradient); color: #fff !important;
  padding: 8px 20px; border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(79,70,229,.3);
}
.nav-link-btn:hover { box-shadow: 0 4px 14px rgba(79,70,229,.4); transform: translateY(-1px); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--gray-700);
  border-radius: 2px; transition: all .3s;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ════════════════════════════════════════════════════════════════════
   Hero
   ════════════════════════════════════════════════════════════════════ */
.hero {
  position: relative; padding: 140px 0 100px;
  background: linear-gradient(180deg, #f5f3ff 0%, #eef2ff 50%, #f9fafb 100%);
  overflow: hidden;
}
.hero-bg {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(79,70,229,.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(124,58,237,.08) 0%, transparent 50%);
  pointer-events: none;
}
.hero-inner { position: relative; display: flex; align-items: center; gap: 60px; }
.hero-content { flex: 1; max-width: 560px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--gray-200);
  padding: 6px 16px; border-radius: 100px;
  font-size: 13px; font-weight: 500; color: var(--gray-700);
  box-shadow: var(--shadow-sm); margin-bottom: 24px;
}
.badge-dot {
  width: 8px; height: 8px; background: var(--success);
  border-radius: 50%; animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(22,163,74,.4); }
  50% { box-shadow: 0 0 0 6px rgba(22,163,74,0); }
}
.hero-title {
  font-size: 52px; font-weight: 800; line-height: 1.15;
  color: var(--gray-900); letter-spacing: -0.02em; margin-bottom: 20px;
}
.hero-desc {
  font-size: 18px; line-height: 1.7; color: var(--gray-600);
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 16px; margin-bottom: 48px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; }
.hero-stat-num {
  font-size: 32px; font-weight: 800; color: var(--gray-900);
  display: flex; align-items: baseline; gap: 2px;
}
.hero-stat-num span { font-size: 16px; font-weight: 500; color: var(--gray-500); }
.hero-stat-label { font-size: 13px; color: var(--gray-500); margin-top: 2px; }

/* Hero Visual — 浏览器 Mockup */
.hero-visual { flex: 1; max-width: 520px; }
.hero-mockup { perspective: 1000px; }
.mockup-browser {
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl); overflow: hidden;
  transform: rotateY(-5deg) rotateX(3deg);
  transition: transform .6s;
}
.hero-mockup:hover .mockup-browser { transform: rotateY(0) rotateX(0); }
.mockup-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 16px; background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
}
.mockup-dot { width: 12px; height: 12px; border-radius: 50%; }
.mockup-dot.red { background: #ff5f57; }
.mockup-dot.yellow { background: #febc2e; }
.mockup-dot.green { background: #28c840; }
.mockup-url {
  margin-left: 12px; flex: 1; background: #fff;
  border-radius: 6px; padding: 4px 12px;
  font-size: 12px; color: var(--gray-500);
}
.mockup-body {
  position: relative; height: 340px;
  background: linear-gradient(180deg, #fafafa 0%, #f0f0f0 100%);
  padding: 32px; overflow: hidden;
}
.mockup-content { display: flex; flex-direction: column; gap: 16px; }
.mockup-line {
  height: 10px; border-radius: 5px;
  background: var(--gray-200);
}
.mockup-line.w60 { width: 60%; }
.mockup-line.w80 { width: 80%; }
.mockup-line.w40 { width: 40%; }
.mockup-line.w70 { width: 70%; }
.mockup-line.w50 { width: 50%; }

/* 悬浮 FAB */
.mockup-fab {
  position: absolute; bottom: 24px; right: 24px;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--gradient); color: #fff;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: 0 4px 16px rgba(79,70,229,.4);
  animation: fab-pulse 2.5s ease-in-out infinite;
  transition: transform .3s;
}
.mockup-fab:hover { transform: scale(1.1); }
@keyframes fab-pulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(79,70,229,.4); }
  50% { box-shadow: 0 4px 28px rgba(79,70,229,.6); }
}

/* 弹出表单 */
.mockup-modal {
  position: absolute; bottom: 88px; right: 24px;
  width: 280px; background: #fff;
  border-radius: 12px; box-shadow: var(--shadow-lg);
  overflow: hidden; opacity: 0; transform: translateY(10px) scale(.95);
  transition: all .3s; pointer-events: none;
}
.mockup-modal.show { opacity: 1; transform: translateY(0) scale(1); }
.mockup-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-bottom: 1px solid var(--gray-100);
  font-size: 14px; font-weight: 600; color: var(--gray-800);
}
.mockup-modal-close { font-size: 20px; color: var(--gray-400); cursor: pointer; }
.mockup-modal-body { padding: 14px 16px; }
.mockup-field { margin-bottom: 12px; }
.mockup-field-label { font-size: 12px; color: var(--gray-600); margin-bottom: 4px; font-weight: 500; }
.mockup-field-label span { color: var(--danger); }
.mockup-input {
  height: 32px; background: var(--gray-50);
  border: 1px solid var(--gray-200); border-radius: 6px;
}
.mockup-textarea {
  height: 48px; background: var(--gray-50);
  border: 1px solid var(--gray-200); border-radius: 6px;
}
.mockup-submit {
  height: 34px; background: var(--gradient); border-radius: 6px; margin-top: 4px;
}

/* Hero 波浪 */
.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0; }
.hero-wave svg { width: 100%; height: 80px; }

/* ════════════════════════════════════════════════════════════════════
   信任栏
   ════════════════════════════════════════════════════════════════════ */
.trust { padding: 48px 0; background: var(--gray-50); text-align: center; }
.trust-title { font-size: 14px; color: var(--gray-500); margin-bottom: 20px; }
.trust-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.trust-tag {
  padding: 6px 16px; background: #fff; border: 1px solid var(--gray-200);
  border-radius: 100px; font-size: 14px; color: var(--gray-700);
  box-shadow: var(--shadow-sm); transition: all .2s;
}
.trust-tag:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

/* ════════════════════════════════════════════════════════════════════
   Section Head 通用
   ════════════════════════════════════════════════════════════════════ */
.section-head { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block; padding: 4px 14px;
  background: var(--primary-light); color: var(--primary);
  border-radius: 100px; font-size: 13px; font-weight: 600;
  margin-bottom: 16px;
}
.section-title {
  font-size: 36px; font-weight: 800; color: var(--gray-900);
  letter-spacing: -0.02em; margin-bottom: 12px;
}
.section-desc { font-size: 17px; color: var(--gray-500); max-width: 580px; margin: 0 auto; }

/* ════════════════════════════════════════════════════════════════════
   功能特性
   ════════════════════════════════════════════════════════════════════ */
.features { padding: 100px 0; background: #fff; }
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.feature-card {
  padding: 32px 28px; background: #fff;
  border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  transition: all .3s;
}
.feature-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.feature-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.icon-purple { background: var(--primary-light); color: var(--primary); }
.icon-blue { background: #dbeafe; color: #2563eb; }
.icon-green { background: #dcfce7; color: #16a34a; }
.icon-orange { background: #ffedd5; color: #ea580c; }
.icon-cyan { background: #cffafe; color: #0891b2; }
.icon-pink { background: #fce7f3; color: #db2777; }
.feature-card h3 { font-size: 20px; font-weight: 700; color: var(--gray-900); margin-bottom: 8px; }
.feature-card p { font-size: 15px; line-height: 1.6; color: var(--gray-500); }

/* ════════════════════════════════════════════════════════════════════
   接入流程
   ════════════════════════════════════════════════════════════════════ */
.how { padding: 100px 0; background: var(--gray-50); }
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: center; padding: 40px 0;
}
.step:nth-child(even) { direction: rtl; }
.step:nth-child(even) > * { direction: ltr; }
.step-num {
  position: absolute; font-size: 80px; font-weight: 900;
  color: var(--primary); opacity: .1; line-height: 1;
}
.step-content { position: relative; }
.step-content .step-num { position: relative; margin-bottom: 16px; }
.step-content h3 { font-size: 24px; font-weight: 700; color: var(--gray-900); margin-bottom: 10px; }
.step-content p { font-size: 16px; line-height: 1.7; color: var(--gray-500); }
.step-content code {
  background: var(--gray-100); padding: 2px 6px;
  border-radius: 4px; font-size: 14px; color: var(--primary);
}
.step-visual { position: relative; }
.step-connector {
  width: 2px; height: 40px; background: var(--gray-300);
  margin: 0 auto; position: relative;
}
.step-connector::after {
  content: ''; position: absolute; bottom: -4px; left: 50%;
  transform: translateX(-50%); width: 0; height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid var(--gray-300);
}

/* Step Mock — 表单配置 */
.step-mock {
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.step-mock-bar { height: 8px; background: var(--gradient); }
.step-mock-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; border-bottom: 1px solid var(--gray-100);
}
.step-mock-row:last-child { border-bottom: none; }
.step-mock-label { font-size: 14px; color: var(--gray-500); }
.step-mock-val { font-size: 14px; font-weight: 600; color: var(--gray-800); }

/* Step Mock — 代码 */
.step-code {
  background: #1e1e2e; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.step-code-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 16px; background: #181825;
}
.step-code-dot { width: 10px; height: 10px; border-radius: 50%; }
.step-code-dot:nth-child(1) { background: #f38ba8; }
.step-code-dot:nth-child(2) { background: #f9e2af; }
.step-code-dot:nth-child(3) { background: #a6e3a1; }
.step-code-lang { margin-left: 8px; font-size: 12px; color: #6c7086; }
.step-code-body { padding: 20px; margin: 0; font-family: "JetBrains Mono", "Fira Code", "Consolas", monospace; font-size: 13px; line-height: 1.7; }
.step-code-body code { color: #cdd6f4; }
.code-comment { color: #6c7086; font-style: italic; }
.code-tag { color: #f38ba8; }
.code-keyword { color: #cba6f7; }
.code-string { color: #a6e3a1; }
.code-fn { color: #89b4fa; }

/* Step Mock — 浏览器 */
.step-browser {
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.step-browser-bar {
  display: flex; gap: 6px; padding: 10px 14px;
  background: var(--gray-100); border-bottom: 1px solid var(--gray-200);
}
.step-browser-dot { width: 10px; height: 10px; border-radius: 50%; }
.step-browser-dot:nth-child(1) { background: #ff5f57; }
.step-browser-dot:nth-child(2) { background: #febc2e; }
.step-browser-dot:nth-child(3) { background: #28c840; }
.step-browser-body { position: relative; padding: 24px; height: 180px; background: #fafafa; }
.step-browser-line { height: 8px; border-radius: 4px; background: var(--gray-200); margin-bottom: 12px; }
.step-browser-line.w70 { width: 70%; }
.step-browser-line.w90 { width: 90%; }
.step-browser-line.w50 { width: 50%; }
.step-browser-fab {
  position: absolute; bottom: 16px; right: 16px;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--gradient); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 3px 12px rgba(79,70,229,.4);
  animation: fab-pulse 2.5s ease-in-out infinite;
}

/* ════════════════════════════════════════════════════════════════════
   效果展示
   ════════════════════════════════════════════════════════════════════ */
.showcase { padding: 100px 0; background: #fff; }
.showcase-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
}
.showcase-lg { grid-column: span 2; }
.showcase-card {
  padding: 32px; background: var(--gray-50);
  border: 1px solid var(--gray-200); border-radius: var(--radius-lg);
  transition: all .3s;
}
.showcase-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.showcase-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.showcase-icon { font-size: 28px; }
.showcase-card-head h3 { font-size: 20px; font-weight: 700; color: var(--gray-900); }
.showcase-card p { font-size: 15px; color: var(--gray-500); line-height: 1.6; margin-bottom: 20px; }

/* 仪表盘预览 */
.showcase-preview {
  background: #fff; border-radius: 12px; padding: 20px;
  border: 1px solid var(--gray-200);
}
.preview-stats { display: flex; gap: 16px; margin-bottom: 20px; }
.preview-stat {
  flex: 1; text-align: center; padding: 12px;
  background: var(--gray-50); border-radius: 8px;
}
.preview-stat-num { display: block; font-size: 24px; font-weight: 800; color: var(--primary); }
.preview-stat-label { font-size: 12px; color: var(--gray-500); }
.preview-chart { display: flex; align-items: flex-end; gap: 8px; height: 80px; }
.preview-bar {
  flex: 1; background: var(--gradient); border-radius: 4px 4px 0 0;
  opacity: .8; transition: opacity .3s;
}
.preview-bar:hover { opacity: 1; }

/* 询盘列表预览 */
.showcase-list { display: flex; flex-direction: column; gap: 8px; }
.showcase-list-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; background: #fff;
  border: 1px solid var(--gray-200); border-radius: 8px;
}
.showcase-list-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dot-new { background: var(--danger); }
.dot-read { background: var(--info); }
.dot-replied { background: var(--success); }
.showcase-list-text { flex: 1; font-size: 13px; color: var(--gray-700); }
.showcase-list-tag { font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 100px; }
.tag-new { background: #fef2f2; color: var(--danger); }
.tag-read { background: #ecfeff; color: var(--info); }
.tag-replied { background: #dcfce7; color: var(--success); }

/* 表单管理预览 */
.showcase-forms { display: flex; flex-direction: column; gap: 8px; }
.showcase-form-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px; background: #fff;
  border: 1px solid var(--gray-200); border-radius: 8px;
}
.showcase-form-name { font-size: 14px; font-weight: 600; color: var(--gray-800); }
.showcase-form-badge { font-size: 11px; font-weight: 600; padding: 2px 10px; border-radius: 100px; }
.badge-active { background: #dcfce7; color: var(--success); }
.badge-inactive { background: var(--gray-100); color: var(--gray-500); }

/* ════════════════════════════════════════════════════════════════════
   代码示例
   ════════════════════════════════════════════════════════════════════ */
.code-section { padding: 100px 0; background: var(--gray-50); }
.code-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.code-tab {
  padding: 8px 20px; border-radius: 8px; font-size: 14px; font-weight: 600;
  color: var(--gray-500); cursor: pointer; transition: all .2s;
  background: #fff; border: 1px solid var(--gray-200);
}
.code-tab:hover { color: var(--primary); border-color: var(--primary); }
.code-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.code-blocks { max-width: 720px; margin: 0 auto; }
.code-block { display: none; }
.code-block.active { display: block; }
.code-block pre {
  background: #1e1e2e; border-radius: var(--radius-lg);
  padding: 24px 28px; overflow-x: auto;
  box-shadow: var(--shadow-lg);
}
.code-block code {
  font-family: "JetBrains Mono", "Fira Code", "Consolas", monospace;
  font-size: 14px; line-height: 1.8; color: #cdd6f4;
}

/* ════════════════════════════════════════════════════════════════════
   FAQ
   ════════════════════════════════════════════════════════════════════ */
.faq { padding: 100px 0; background: #fff; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--gray-200); border-radius: var(--radius);
  overflow: hidden; transition: all .2s;
}
.faq-item:hover { border-color: var(--gray-300); }
.faq-item.open { border-color: var(--primary); box-shadow: 0 4px 12px rgba(79,70,229,.08); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px; cursor: pointer; font-size: 16px; font-weight: 600;
  color: var(--gray-800); user-select: none;
}
.faq-q:hover { color: var(--primary); }
.faq-icon { font-size: 22px; color: var(--gray-400); transition: transform .3s; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--primary); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .3s ease;
}
.faq-item.open .faq-a { max-height: 200px; }
.faq-a p { padding: 0 24px 18px; font-size: 15px; line-height: 1.7; color: var(--gray-500); }
.faq-a code { background: var(--gray-100); padding: 2px 6px; border-radius: 4px; font-size: 13px; color: var(--primary); }

/* ════════════════════════════════════════════════════════════════════
   CTA
   ════════════════════════════════════════════════════════════════════ */
.cta { padding: 80px 0; background: var(--gradient); position: relative; overflow: hidden; }
.cta::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255,255,255,.08) 0%, transparent 50%);
}
.cta-inner { position: relative; text-align: center; }
.cta-title { font-size: 36px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.cta-desc { font-size: 18px; color: rgba(255,255,255,.8); margin-bottom: 32px; }

/* ════════════════════════════════════════════════════════════════════
   Footer
   ════════════════════════════════════════════════════════════════════ */
.footer { background: var(--gray-900); padding: 60px 0 24px; color: var(--gray-400); }
.footer-inner { display: flex; justify-content: space-between; gap: 60px; margin-bottom: 40px; }
.footer-brand { flex: 0 0 300px; }
.footer-logo { display: flex; align-items: center; gap: 8px; font-size: 20px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.footer-desc { font-size: 14px; line-height: 1.6; }
.footer-links { display: flex; gap: 60px; }
.footer-col h4 { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: var(--gray-400); margin-bottom: 10px; transition: color .2s; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-bottom { border-top: 1px solid var(--gray-800); padding-top: 24px; text-align: center; }
.footer-bottom p { font-size: 13px; color: var(--gray-500); }

/* ════════════════════════════════════════════════════════════════════
   动画
   ════════════════════════════════════════════════════════════════════ */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity .6s, transform .6s;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ════════════════════════════════════════════════════════════════════
   响应式
   ════════════════════════════════════════════════════════════════════ */
@media (max-width: 968px) {
  .hero-inner { flex-direction: column; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { max-width: 100%; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }

  .step { grid-template-columns: 1fr; gap: 24px; }
  .step:nth-child(even) { direction: ltr; }

  .showcase-grid { grid-template-columns: 1fr; }
  .showcase-lg { grid-column: span 1; }

  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-brand { flex: none; }
  .footer-links { flex-wrap: wrap; gap: 32px; }
}

@media (max-width: 640px) {
  .nav-links {
    position: fixed; top: 64px; left: 0; right: 0;
    background: #fff; flex-direction: column;
    padding: 20px; gap: 16px; box-shadow: var(--shadow-md);
    transform: translateY(-100%); opacity: 0; pointer-events: none;
    transition: all .3s;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-toggle { display: flex; }

  .hero { padding: 110px 0 80px; }
  .hero-title { font-size: 34px; }
  .hero-desc { font-size: 16px; }
  .hero-stats { gap: 24px; }
  .hero-stat-num { font-size: 26px; }

  .section-title { font-size: 28px; }
  .section-desc { font-size: 15px; }

  .features { padding: 60px 0; }
  .features-grid { grid-template-columns: 1fr; }

  .how { padding: 60px 0; }

  .showcase { padding: 60px 0; }

  .code-section { padding: 60px 0; }

  .faq { padding: 60px 0; }

  .cta { padding: 60px 0; }
  .cta-title { font-size: 26px; }

  .footer { padding: 40px 0 20px; }
  .footer-links { gap: 24px; }
}
