/* ============================================
   凌航 LinkHub - 公司网站样式表 v2
   双业务：AI获客及智能跟进系统 + 外贸独立站建设
   纯静态网站，无外部依赖，适合中国大陆部署
   ============================================ */

/* ========== CSS 变量 ========== */
:root {
  /* 主色调 - 深蓝 */
  --primary: #0f2540;
  --primary-light: #1a3a5c;
  --primary-lighter: #2d5a87;
  /* 辅助色 - 科技蓝 */
  --secondary: #2563eb;
  --secondary-light: #3b82f6;
  --secondary-lighter: #60a5fa;
  /* 强调色 - 暖橙 */
  --accent: #f59e0b;
  --accent-light: #fbbf24;
  --accent-dark: #d97706;
  /* 独立站色系 - 翡翠绿 */
  --teal: #0d9488;
  --teal-light: #14b8a6;
  --teal-dark: #0f766e;
  /* 功能色 */
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;

  /* 中性色 */
  --text-dark: #0f172a;
  --text-medium: #334155;
  --text-light: #64748b;
  --text-muted: #94a3b8;
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-gray: #f1f5f9;
  --bg-darker: #e2e8f0;
  --bg-dark: #0a1628;
  --bg-dark-2: #0f2540;
  --border: #e2e8f0;
  --border-dark: #cbd5e1;

  /* 字体 */
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "SF Mono", "Fira Code", "Consolas", monospace;

  /* 间距 */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-5xl: 128px;

  /* 圆角 */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* 阴影 */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 24px rgba(0,0,0,0.10);
  --shadow-xl: 0 24px 48px rgba(0,0,0,0.12);
  --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.15);

  /* 布局 */
  --container-max: 1200px;
  --header-height: 76px;

  /* 过渡 */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ========== 布局工具 ========== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section { padding: var(--space-4xl) 0; }
.section-sm { padding: var(--space-3xl) 0; }
.section-dark { background: var(--bg-dark); color: #fff; }
.section-dark-2 { background: var(--bg-dark-2); color: #fff; }
.section-light { background: var(--bg-light); }
.section-gray { background: var(--bg-gray); }

.text-center { text-align: center; }
.text-left { text-align: left; }

/* ========== 排版 ========== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.section-dark h1, .section-dark h2, .section-dark h3,
.section-dark-2 h1, .section-dark-2 h2, .section-dark-2 h3 { color: #fff; }

h1 { font-size: 2.75rem; }
h2 { font-size: 2.1rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.7;
}

.section-dark .section-subtitle,
.section-dark-2 .section-subtitle { color: rgba(255,255,255,0.65); }

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header h2 { margin-bottom: var(--space-md); }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: var(--space-sm);
}

.section-dark .eyebrow,
.section-dark-2 .eyebrow { color: var(--secondary-lighter); }

.lead {
  font-size: 1.125rem;
  color: var(--text-medium);
  line-height: 1.8;
}

/* ========== 按钮 ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 13px 30px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn svg { width: 18px; height: 18px; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.btn-secondary {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}
.btn-secondary:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-teal {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
}
.btn-teal:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--border-dark);
}
.btn-outline:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}
.btn-outline-light:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
}

.btn-white {
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-md);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-lg { padding: 16px 38px; font-size: 1.1rem; }
.btn-block { width: 100%; }

/* ========== 导航栏 ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 12px rgba(0,0,0,0.04);
}

.nav {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--space-lg);
  height: 100%;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  flex-shrink: 0;
  font-size: 1rem;
}

.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text .logo-name { font-size: 1.05rem; font-weight: 800; }
.logo-text .logo-sub { font-size: 0.68rem; color: var(--text-muted); font-weight: 500; letter-spacing: 0.05em; }

.logo-img {
  height: 56px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.logo-img-footer {
  height: 60px;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-medium);
  padding: 8px 0;
  position: relative;
  transition: var(--transition);
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: var(--radius-full);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  justify-self: end;
}

.nav-cta { display: flex; align-items: center; gap: var(--space-md); }

/* ===== 中英切换按钮 ===== */
.lang-switcher {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 7px 12px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--bg-white);
  color: var(--text-medium); font-size: 0.82rem;
  cursor: pointer; transition: all 0.15s;
  font-family: inherit; font-weight: 500; line-height: 1;
}
.lang-switcher:hover { border-color: var(--secondary); color: var(--secondary); }
.lang-switcher[data-current="en"] { border-color: var(--secondary); color: var(--secondary); background: rgba(37,99,235,0.05); }
.lang-switcher .lang-label { letter-spacing: 0.3px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* ========== Hero ========== */
.hero {
  padding-top: calc(var(--header-height) + var(--space-4xl));
  padding-bottom: var(--space-4xl);
  background: var(--bg-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.18) 0%, transparent 60%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -40%;
  left: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 60%);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero-content { max-width: 560px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.25);
  color: var(--secondary-lighter);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: var(--space-lg);
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: var(--space-lg);
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: var(--space-3xl);
  margin-top: var(--space-3xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.hero-stat { display: flex; flex-direction: column; }

.hero-stat-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-light);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-top: var(--space-xs);
}

/* Hero 产品 Mockup */
.hero-mockup {
  position: relative;
}

.hero-mockup-window {
  background: #1e293b;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.08);
}

.hero-mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(0,0,0,0.3);
}

.hero-mockup-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.hero-mockup-bar span:nth-child(1) { background: #ef4444; }
.hero-mockup-bar span:nth-child(2) { background: #f59e0b; }
.hero-mockup-bar span:nth-child(3) { background: #10b981; }

.hero-mockup-bar .mock-url {
  margin-left: var(--space-sm);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.3);
  font-family: var(--font-mono);
}

.hero-mockup-body {
  padding: var(--space-md);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
}

.mock-sidebar {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: var(--space-md);
  min-height: 320px;
}

.mock-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mock-sidebar-nav .mock-nav-item {
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  display: flex;
  align-items: center;
  gap: 6px;
}

.mock-sidebar-nav .mock-nav-item.active {
  background: rgba(37, 99, 235, 0.15);
  color: var(--secondary-lighter);
}

.mock-sidebar-nav .mock-nav-item .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.6;
}

.mock-main { display: flex; flex-direction: column; gap: var(--space-md); }

.mock-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mock-card {
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-sm);
  padding: 10px;
  border: 1px solid rgba(255,255,255,0.05);
}

.mock-card .mock-card-label {
  font-size: 0.62rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 4px;
}

.mock-card .mock-card-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.mock-card .mock-card-trend {
  font-size: 0.6rem;
  color: var(--success);
  margin-top: 2px;
}

.mock-table {
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-sm);
  padding: 10px;
  border: 1px solid rgba(255,255,255,0.05);
  flex: 1;
}

.mock-table-head {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 0.8fr;
  gap: 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.6rem;
  color: rgba(255,255,255,0.3);
  font-weight: 600;
  text-transform: uppercase;
}

.mock-table-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 0.8fr;
  gap: 6px;
  padding: 6px 0;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.6);
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.mock-table-row:last-child { border-bottom: none; }

.mock-badge {
  display: inline-block;
  padding: 1px 6px;
  border-radius: var(--radius-full);
  font-size: 0.55rem;
  font-weight: 700;
}

.mock-badge-a { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.mock-badge-b { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.mock-badge-c { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }

/* ========== 痛点区 ========== */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

.pain-card {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  padding: var(--space-xl);
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

.pain-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.pain-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: #fef3c7;
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pain-icon svg { width: 24px; height: 24px; }

.pain-card h4 { font-size: 1.05rem; margin-bottom: var(--space-xs); }
.pain-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; }

/* ========== 双方案区 ========== */
.dual-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--space-lg);
  align-items: stretch;
}

.dual-card {
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

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

.dual-card-blue {
  background: linear-gradient(135deg, #1e3a5f, #2563eb);
  color: #fff;
}

.dual-card-teal {
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  color: #fff;
}

.dual-card h3 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

.dual-card .dual-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
  background: rgba(255,255,255,0.15);
}

.dual-card .dual-desc {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.dual-card ul li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.dual-card ul li:last-child { border-bottom: none; }

.dual-card ul li svg {
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: rgba(255,255,255,0.6);
}

.dual-card .dual-cta {
  margin-top: var(--space-lg);
}

.dual-card .dual-cta a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(255,255,255,0.3);
}

.dual-card .dual-cta a:hover { border-bottom-color: #fff; }

.dual-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

.dual-connector .connector-line {
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, var(--secondary), var(--teal));
}

.dual-connector .connector-text {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  writing-mode: vertical-rl;
  letter-spacing: 0.1em;
}

.dual-connector .connector-arrow {
  font-size: 1.2rem;
  color: var(--text-muted);
}

/* ========== 系统界面预览区 ========== */
.system-preview {
  background: var(--bg-dark);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255,255,255,0.06);
}

.preview-tabs {
  display: flex;
  gap: 0;
  background: rgba(0,0,0,0.3);
  padding: 0 var(--space-md);
}

.preview-tab {
  padding: 14px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.preview-tab:hover { color: rgba(255,255,255,0.7); }

.preview-tab.active {
  color: #fff;
  border-bottom-color: var(--accent);
}

.preview-panel {
  display: none;
  padding: var(--space-xl);
}

.preview-panel.active { display: block; }

/* Dashboard preview */
.dash-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.dash-card {
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  border: 1px solid rgba(255,255,255,0.05);
}

.dash-card .dash-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 6px;
}

.dash-card .dash-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
}

.dash-card .dash-sub {
  font-size: 0.68rem;
  margin-top: 4px;
}

.dash-card .dash-sub.up { color: #34d399; }
.dash-card .dash-sub.down { color: #f87171; }

.dash-funnel {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--space-lg);
}

.funnel-row {
  display: grid;
  grid-template-columns: 120px 1fr 60px;
  gap: var(--space-md);
  align-items: center;
}

.funnel-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}

.funnel-bar {
  height: 28px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  padding: 0 var(--space-sm);
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
}

.funnel-bar.f1 { background: linear-gradient(90deg, #2563eb, #3b82f6); width: 100%; }
.funnel-bar.f2 { background: linear-gradient(90deg, #1d4ed8, #2563eb); width: 85%; }
.funnel-bar.f3 { background: linear-gradient(90deg, #1e40af, #1d4ed8); width: 65%; }
.funnel-bar.f4 { background: linear-gradient(90deg, #1e3a8a, #1e40af); width: 42%; }
.funnel-bar.f5 { background: linear-gradient(90deg, #172554, #1e3a8a); width: 28%; }
.funnel-bar.f6 { background: linear-gradient(90deg, #0f172a, #172554); width: 15%; }

.funnel-num {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
  text-align: right;
}

/* Lead intelligence preview */
.lead-table {
  width: 100%;
  border-collapse: collapse;
}

.lead-table th {
  text-align: left;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.lead-table td {
  padding: 10px 12px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.lead-table tbody tr:hover { background: rgba(255,255,255,0.02); }

.lead-grade {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
}

.lead-grade.aplus { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.lead-grade.a { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.lead-grade.b { background: rgba(245, 158, 11, 0.15); color: #fbbf24; }
.lead-grade.c { background: rgba(148, 163, 184, 0.15); color: #94a3b8; }

.lead-match {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
}

.lead-match .match-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.lead-match.premium .match-dot { background: #fbbf24; }
.lead-match.couture .match-dot { background: #60a5fa; }

/* Follow-up preview */
.followup-channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.channel-card {
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  border: 1px solid rgba(255,255,255,0.05);
}

.channel-card .ch-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.channel-card .ch-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.channel-card .ch-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
}

.channel-card .ch-stat {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
}

.channel-card .ch-stat .num {
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
}

.timeline-item {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.timeline-item:last-child { border-bottom: none; }

.timeline-time {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.3);
  flex-shrink: 0;
  width: 60px;
  padding-top: 2px;
}

.timeline-content {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

.timeline-content .tl-channel {
  display: inline-block;
  padding: 1px 6px;
  border-radius: var(--radius-sm);
  font-size: 0.65rem;
  font-weight: 600;
  margin-right: 6px;
}

.tl-email { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.tl-whatsapp { background: rgba(16, 185, 129, 0.15); color: #34d399; }
.tl-instagram { background: rgba(236, 72, 153, 0.15); color: #f472b6; }

/* ========== 功能卡片区 ========== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.feature-card {
  padding: var(--space-xl);
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--secondary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.feature-card.teal::before { background: var(--teal); }

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

.feature-card:hover::before { transform: scaleX(1); }

.feature-card .feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(37, 99, 235, 0.02));
  color: var(--secondary);
}

.feature-card.teal .feature-icon {
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.08), rgba(13, 148, 136, 0.02));
  color: var(--teal);
}

.feature-card .feature-icon svg { width: 26px; height: 26px; }

.feature-card h4 { font-size: 1.05rem; margin-bottom: var(--space-xs); }
.feature-card p { font-size: 0.88rem; color: var(--text-light); line-height: 1.7; }

.feature-card .feature-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: var(--space-md);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
}

.feature-card.teal .feature-link { color: var(--teal); }

/* ========== 工作流程 ========== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-md);
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary), var(--teal));
  opacity: 0.2;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 2px solid var(--secondary);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

.process-step h4 { font-size: 0.92rem; margin-bottom: var(--space-xs); }
.process-step p { font-size: 0.8rem; color: var(--text-light); line-height: 1.5; }

/* ========== 为什么选我们 ========== */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.advantage-card {
  text-align: center;
  padding: var(--space-xl);
}

.advantage-card .adv-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--secondary), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.advantage-card h4 { font-size: 1rem; margin-bottom: var(--space-xs); }
.advantage-card p { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; }

/* ========== 合作方式 ========== */
.cooperation-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  max-width: 800px;
  margin: 0 auto;
}

.cooperation-card {
  background: var(--bg-white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  transition: var(--transition);
  position: relative;
}

.cooperation-card.featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.cooperation-card.featured::before {
  content: '推荐';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
}

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

.cooperation-card h3 { font-size: 1.3rem; margin-bottom: var(--space-sm); }
.cooperation-card .coop-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: var(--space-lg);
  line-height: 1.7;
}

.cooperation-card ul { margin-bottom: var(--space-xl); }

.cooperation-card ul li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-medium);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border-bottom: 1px solid var(--border);
}

.cooperation-card ul li:last-child { border-bottom: none; }
.cooperation-card ul li svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--success); }

/* ========== 成果案例 ========== */
.case-study {
  max-width: 1000px;
  margin: 0 auto;
}

.case-browser {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: var(--space-2xl);
}

.browser-chrome {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: 12px 16px;
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
}

.browser-dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.browser-dots span:nth-child(1) { background: #ff5f56; }
.browser-dots span:nth-child(2) { background: #ffbd2e; }
.browser-dots span:nth-child(3) { background: #27c93f; }

.browser-address {
  flex: 1;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 12px;
  font-size: 0.8rem;
  color: var(--text-light);
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.browser-content img {
  width: 100%;
  height: auto;
  display: block;
}

.case-info {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.case-info h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

.case-desc {
  max-width: 640px;
  margin: 0 auto var(--space-lg);
  color: var(--text-light);
  line-height: 1.7;
}

.case-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.case-gallery-item .case-browser {
  margin-bottom: var(--space-sm);
}

.case-caption {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  margin: 0;
}

@media (max-width: 768px) {
  .case-gallery { grid-template-columns: 1fr; }
}

/* ========== 手机端适配展示 ========== */
.case-mobile {
  margin-top: var(--space-3xl);
  text-align: center;
}

.case-mobile-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--space-xs);
}

.case-mobile-sub {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: var(--space-xl);
}

.case-mobile-row {
  display: flex;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.phone-frame {
  width: 200px;
  flex-shrink: 0;
}

.phone-frame-body {
  position: relative;
  background: #1a1d24;
  border-radius: 32px;
  padding: 8px;
  box-shadow: var(--shadow-xl);
}

.phone-frame-screen {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}

.phone-frame-screen img {
  width: 100%;
  height: auto;
  display: block;
}

.phone-frame-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 18px;
  background: #1a1d24;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}

.phone-frame .case-caption {
  margin-top: var(--space-sm);
}

@media (max-width: 768px) {
  .case-mobile-row { gap: var(--space-lg); }
  .phone-frame { width: 160px; }
}

@media (max-width: 480px) {
  .browser-address { font-size: 0.65rem; padding: 4px 8px; }
  .browser-dots span { width: 8px; height: 8px; }
}

/* ========== 视频区域 ========== */
.video-section {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-dark);
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 */
}

.video-section video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
  background: #000;
}

.video-placeholder {
  text-align: center;
  color: rgba(255,255,255,0.5);
}

.video-placeholder .play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  transition: var(--transition);
}

.video-section:hover .play-btn {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.05);
}

.video-placeholder .play-btn svg { width: 28px; height: 28px; color: #fff; }
.video-placeholder p { font-size: 0.9rem; }

/* ========== CTA 区域 ========== */
.cta-section {
  background: linear-gradient(135deg, var(--bg-dark), var(--primary));
  color: #fff;
  text-align: center;
  padding: var(--space-4xl) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 60%);
  border-radius: 50%;
}

.cta-section .container { position: relative; z-index: 1; }

.cta-section h2 { color: #fff; font-size: 2.2rem; margin-bottom: var(--space-md); }
.cta-section p { color: rgba(255,255,255,0.65); font-size: 1.1rem; margin-bottom: var(--space-2xl); }
.cta-section .hero-actions { justify-content: center; }

/* ========== 页面横幅 ========== */
.page-banner {
  padding-top: calc(var(--header-height) + var(--space-3xl));
  padding-bottom: var(--space-3xl);
  background: var(--bg-dark);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.12) 0%, transparent 60%);
  border-radius: 50%;
}

.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { color: #fff; font-size: 2.5rem; margin-bottom: var(--space-md); }
.page-banner p { font-size: 1.1rem; color: rgba(255,255,255,0.6); max-width: 600px; margin: 0 auto; }

.breadcrumb {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  margin-top: var(--space-lg);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

.breadcrumb a:hover { color: var(--accent-light); }

/* ========== 内容区块 ========== */
.content-block { max-width: 800px; margin: 0 auto; }

.content-block h2 { font-size: 1.6rem; margin: var(--space-2xl) 0 var(--space-md); }
.content-block h3 { font-size: 1.2rem; margin: var(--space-lg) 0 var(--space-sm); }
.content-block p { color: var(--text-medium); line-height: 1.8; margin-bottom: var(--space-md); }

.content-block ul { margin-bottom: var(--space-md); }

.content-block ul li {
  padding: var(--space-xs) 0 var(--space-xs) var(--space-lg);
  position: relative;
  color: var(--text-medium);
  line-height: 1.7;
}

.content-block ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--secondary);
}

/* ========== 表单 ========== */
.form-group { margin-bottom: var(--space-lg); }

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: var(--space-sm);
}

.form-label .required { color: var(--danger); }

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border-dark);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--bg-white);
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-textarea { resize: vertical; min-height: 120px; }

.form-hint { font-size: 0.8rem; color: var(--text-muted); margin-top: var(--space-xs); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-lg); }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 0.875rem;
  color: var(--text-medium);
}

.form-check input { margin-top: 2px; }

.form-success {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
}

/* ========== 权限表格 ========== */
.permission-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.permission-table th, .permission-table td {
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.permission-table th {
  background: var(--bg-dark);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
}

.permission-table th:not(:first-child) { text-align: center; }
.permission-table td:not(:first-child) { text-align: center; }
.permission-table tbody tr:hover { background: var(--bg-light); }
.permission-table .yes { color: var(--success); font-weight: 700; }
.permission-table .no { color: var(--text-muted); }
.permission-table .partial { color: var(--accent-dark); font-weight: 600; font-size: 0.8rem; }

/* ========== 标签 ========== */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
}

.tag-primary { background: #dbeafe; color: #1e40af; }
.tag-accent { background: #fef3c7; color: #92400e; }
.tag-success { background: #d1fae5; color: #065f46; }
.tag-teal { background: #ccfbf1; color: #0f766e; }
.tag-gray { background: var(--bg-gray); color: var(--text-medium); }

/* ========== 页脚 ========== */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.6);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo { color: #fff; margin-bottom: var(--space-md); }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; max-width: 320px; }

.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: var(--space-md); }
.footer-col ul li { margin-bottom: var(--space-sm); }
.footer-col ul li a { font-size: 0.875rem; color: rgba(255,255,255,0.5); }
.footer-col ul li a:hover { color: var(--accent-light); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

.footer-bottom a { color: rgba(255,255,255,0.3); }
.footer-bottom a:hover { color: var(--accent-light); }

.footer-icp { display: flex; gap: var(--space-md); align-items: center; }

/* ========== 滚动动画 ========== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in { animation: fadeInUp 0.6s ease-out; }

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--space-2xl); }
  .hero-mockup { max-width: 560px; }
  .dual-grid { grid-template-columns: 1fr; }
  .dual-connector {
    flex-direction: row;
    padding: var(--space-sm) 0;
  }
  .dual-connector .connector-line {
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, var(--secondary), var(--teal));
  }
  .dual-connector .connector-text {
    writing-mode: horizontal-tb;
  }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .advantage-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
    --space-4xl: 64px;
    --space-3xl: 48px;
  }

  .logo-img { height: 42px; }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  .section-title { font-size: 1.6rem; }
  .hero h1 { font-size: 1.8rem; }
  .hero-subtitle { font-size: 1rem; }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: var(--space-lg);
    gap: var(--space-md);
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle { display: flex; }
  .nav-actions { gap: var(--space-sm); }

  .pain-grid,
  .feature-grid,
  .cooperation-grid {
    grid-template-columns: 1fr;
  }

  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }

  .advantage-grid { grid-template-columns: 1fr; }

  .dash-grid { grid-template-columns: 1fr 1fr; }
  .followup-channels { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }

  .hero-stats { flex-direction: column; gap: var(--space-lg); }

  .footer-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .footer-bottom { flex-direction: column; gap: var(--space-sm); text-align: center; }

  .permission-table { font-size: 0.78rem; }
  .permission-table th, .permission-table td { padding: var(--space-sm); }

  .cooperation-card { padding: var(--space-lg); }

  .mock-sidebar { grid-template-columns: 100px 1fr; }
  .mock-cards { grid-template-columns: 1fr 1fr; }
  .mock-table-head, .mock-table-row {
    grid-template-columns: 1.5fr 1fr 0.8fr;
  }
  .mock-table-head span:nth-child(4),
  .mock-table-row span:nth-child(4) { display: none; }

  .funnel-row { grid-template-columns: 80px 1fr 40px; }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--space-md); }
  .hero h1 { font-size: 1.5rem; }
  .page-banner h1 { font-size: 1.7rem; }
  .btn { padding: 10px 22px; font-size: 0.9rem; }
  .process-steps { grid-template-columns: 1fr; }
}

/* ========== Prefers reduced motion ========== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ========== 微信悬浮组件 ========== */
.wechat-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.wechat-entry {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wechat-name {
  background: #fff;
  color: var(--text-dark);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
  letter-spacing: 0.02em;
}

.wechat-button {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #07c160;
  border: none;
  box-shadow: 0 4px 12px rgba(7, 193, 96, 0.35);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wechat-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(7, 193, 96, 0.45);
}

.wechat-button:active {
  transform: translateY(-1px);
}

.wechat-button.active-contact {
  box-shadow: 0 0 0 3px rgba(7, 193, 96, 0.25), 0 4px 12px rgba(7, 193, 96, 0.35);
}

.wechat-card {
  position: absolute;
  bottom: 140px;
  right: 0;
  width: 240px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.18);
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.wechat-card.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.wechat-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.wechat-card-header h4 {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  color: var(--text-dark);
}

.wechat-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-light);
  padding: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: background 0.15s;
}

.wechat-close:hover {
  background: var(--bg-gray);
  color: var(--text-dark);
}

.wechat-qr {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.wechat-card p {
  font-size: 0.8rem;
  color: var(--text-light);
  text-align: center;
  margin: 12px 0 0;
  line-height: 1.5;
}

.wechat-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.25);
  z-index: 9998;
}

.wechat-overlay.active {
  display: block;
}

@media (max-width: 640px) {
  .wechat-widget {
    bottom: 16px;
    right: 16px;
  }

  .wechat-card {
    position: fixed;
    bottom: auto;
    top: 50%;
    left: 50%;
    right: auto;
    transform: translate(-50%, -45%);
    width: 280px;
  }

  .wechat-card.active {
    transform: translate(-50%, -50%);
  }
}

.header .container { display: flex; align-items: center; height: 100%; }


/* ========== 移动端网格修正（2026-09-17）==========
   背景：部分区块曾把 grid 列数写在内联 style 里，优先级压过媒体查询，
   导致手机端 4 列挤成竖排。改为 class 化，PC 端列数保持不变。 */
.cols-4 { grid-template-columns: repeat(4, 1fr); }
.info-duo { margin-top: var(--space-xl); display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }
.synergy-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: var(--space-md); align-items: center; }
@media (max-width: 768px) {
  .cols-4 { grid-template-columns: repeat(2, 1fr); }
  .synergy-flow { grid-template-columns: 1fr; }
  .synergy-flow .flow-arrow { transform: rotate(90deg); text-align: center; padding: 6px 0; }
}
@media (max-width: 480px) {
  .cols-4,
  .info-duo { grid-template-columns: 1fr; }
}
