/* 
 * 西关数智发货管理系统 - 落地页专属样式表
 * 浅色大气风格 | 现代化自适应布局 | 精致微交互动画
 */

:root {
  /* 调色盘 */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --bg-main: #f8fafc;
  --bg-gradient: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
  --bg-card: rgba(255, 255, 255, 0.75);
  --border-color: rgba(226, 232, 240, 0.8);
  --border-glass: rgba(255, 255, 255, 0.5);
  
  --primary: #2563eb;
  --primary-glow: rgba(37, 99, 235, 0.15);
  --primary-gradient: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  --secondary: #0f172a;
  --accent: #0d9488;
  --accent-gradient: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
  
  /* 功能卡片多色主题 */
  --theme-blue: #2563eb;
  --theme-cyan: #0891b2;
  --theme-amber: #d97706;
  --theme-purple: #7c3aed;
  --theme-rose: #e11d48;
  --theme-indigo: #4f46e5;

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #64748b;
  
  /* 阴影与圆角 */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px -10px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 50px -15px rgba(0, 0, 0, 0.08);
  --shadow-primary: 0 12px 30px -8px rgba(37, 99, 235, 0.3);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  
  /* 动画过渡 */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 基础重置 */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-main);
  background-image: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
  cursor: default;
}

.navbar,
.menu-btn,
.btn,
.hero-showcase,
.demo-container {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* 噪声背景微效，提升质感 */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(37, 99, 235, 0.03) 1px, transparent 0);
  background-size: 24px 24px;
  z-index: -1;
  pointer-events: none;
}

/* 导航栏 */
header.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4%;
  background: rgba(248, 250, 252, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: var(--transition-normal);
}

header.navbar.scrolled {
  height: 70px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-sm);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast);
}

.nav-brand:hover .brand-logo {
  transform: scale(1.05) rotate(5deg);
}

.brand-name {
  font-size: 20px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--text-main) 30%, #1e40af 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 15px;
  transition: var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition-fast);
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* 按钮组件 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  border: none;
  gap: 8px;
}

.btn-primary {
  background: var(--primary-gradient);
  color: white;
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -8px rgba(37, 99, 235, 0.45);
  background: linear-gradient(135deg, #4f46e5 0%, #2563eb 100%);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: white;
  color: var(--text-main);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-main);
  border-color: var(--text-light);
  transform: translateY(-2px);
}

.btn-icon svg {
  width: 18px;
  height: 18px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* 移动端菜单按钮 */
.menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-main);
}

.menu-btn svg {
  width: 28px;
  height: 28px;
}

/* Hero 区域 */
.hero-section {
  padding: 160px 4% 60px 4%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 10;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(37, 99, 235, 0.15);
  color: var(--primary);
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  animation: float 3s ease-in-out infinite;
  border-color: rgba(37, 99, 235, 0.18);
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.08);
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.hero-title {
  font-size: clamp(38px, 4.2vw, 56px);
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: 0;
  margin-bottom: 24px;
  color: var(--text-main);
  text-wrap: balance;
}

.hero-title span.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, #4f46e5 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
  animation: textShine 4s linear infinite;
}

.hero-desc {
  font-size: 15px;
  color: #334155;
  line-height: 1.8;
  letter-spacing: 0.2px;
  font-weight: 400;
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 64px;
  border-top: 1px solid var(--border-color);
  padding-top: 32px;
  width: 100%;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-value {
  font-size: 20px;
  font-weight: 760;
  color: #334155;
  font-family: var(--font-sans);
  font-variant-numeric: tabular-nums;
  line-height: 1.18;
}

.stat-suffix {
  font-size: 11px;
  font-weight: 600;
  color: #718096;
}

.stat-label {
  font-size: 11.5px;
  color: #64748b;
  font-weight: 500;
}

/* Hero 右侧精美面板（智能看板插图） */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-container {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1.15;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  position: relative;
  transition: transform var(--transition-slow);
  transform-style: preserve-3d;
  perspective: 1000px;
}

.visual-container:hover {
  transform: translateY(-5px) rotateX(2deg) rotateY(-2deg);
}

/* 看板精美小部件 */
.widget {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  padding: 16px;
  position: absolute;
  transition: all var(--transition-normal);
}

.widget-main {
  position: static;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.widget-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.widget-chart {
  flex-grow: 1;
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 150px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border-color);
}

.chart-bar {
  flex: 1;
  background: linear-gradient(to top, rgba(37, 99, 235, 0.1), var(--primary));
  border-radius: 4px 4px 0 0;
  height: 0%;
  transition: height 1.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.chart-bar::after {
  content: attr(data-value);
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 700;
  color: var(--primary);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.visual-container:hover .chart-bar::after {
  opacity: 1;
}

.widget-overlay-1 {
  top: -30px;
  right: -20px;
  width: 180px;
  transform: translateZ(30px);
  animation: float-widget-1 6s ease-in-out infinite;
}

.widget-overlay-2 {
  bottom: -20px;
  left: -30px;
  width: 200px;
  transform: translateZ(50px);
  animation: float-widget-2 8s ease-in-out infinite;
}

.flex-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.indicator.green { background: var(--accent); }
.indicator.blue { background: var(--primary); }

/* 功能特性网格 */
.section {
  padding: 56px 8%;
  max-width: 1400px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 64px auto;
}

.section-badge {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.5px;
  color: var(--text-main);
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 16px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.feature-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-gradient);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.2);
}

.feature-card:hover::before {
  opacity: 1;
}

/* 功能区 —— 多色主题 */
.feature-card.theme-blue  { --card-theme: var(--theme-blue); --card-gradient: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.feature-card.theme-cyan  { --card-theme: var(--theme-cyan); --card-gradient: linear-gradient(135deg, #06b6d4, #0e7490); }
.feature-card.theme-amber { --card-theme: var(--theme-amber); --card-gradient: linear-gradient(135deg, #f59e0b, #b45309); }
.feature-card.theme-purple{ --card-theme: var(--theme-purple); --card-gradient: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.feature-card.theme-rose  { --card-theme: var(--theme-rose); --card-gradient: linear-gradient(135deg, #fb7185, #be123c); }
.feature-card.theme-indigo{ --card-theme: var(--theme-indigo); --card-gradient: linear-gradient(135deg, #818cf8, #4338ca); }

.feature-card[class*="theme-"]::before {
  background: var(--card-gradient);
}
.feature-card[class*="theme-"]:hover {
  border-color: color-mix(in srgb, var(--card-theme) 25%, transparent);
}
.feature-card[class*="theme-"] .feature-icon {
  background: color-mix(in srgb, var(--card-theme) 8%, transparent);
  color: var(--card-theme);
}
.feature-card[class*="theme-"]:hover .feature-icon {
  background: var(--card-gradient);
  color: white;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(37, 99, 235, 0.06);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all var(--transition-fast);
}

.feature-card:hover .feature-icon {
  background: var(--primary-gradient);
  color: white;
  transform: scale(1.05);
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-title {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.2px;
  margin-bottom: 12px;
  color: var(--text-main);
}

.feature-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 400;
}

/* 智能模拟计算器板块 */
.demo-section {
  background: linear-gradient(180deg, transparent, rgba(37, 99, 235, 0.03), transparent);
}

.demo-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}

.demo-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.demo-calculator {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.calc-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.calc-group {
  margin-bottom: 20px;
}

.calc-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.calc-label span.value {
  color: var(--primary);
  font-weight: 700;
}

.calc-input {
  width: 100%;
  height: 6px;
  -webkit-appearance: none;
  background: #e2e8f0;
  border-radius: 9999px;
  outline: none;
}

.calc-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.4);
  transition: transform var(--transition-fast);
}

.calc-input::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.calc-select {
  display: none !important;
}

/* 计算结果展示卡片 */
.calc-results {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 2px dashed var(--border-color);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.result-card {
  background: var(--bg-main);
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  text-align: center;
  transition: all var(--transition-fast);
}

.result-card.highlight {
  background: rgba(37, 99, 235, 0.04);
  border-color: rgba(37, 99, 235, 0.2);
}

.result-val {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
  font-family: var(--font-sans);
  font-variant-numeric: tabular-nums;
}

.result-val.primary-color {
  color: var(--primary);
}

.result-val.accent-color {
  color: var(--accent);
}

.result-lbl {
  font-size: 11px;
  color: var(--text-light);
  font-weight: 600;
}

/* 经营分析动态展示区 */
.charts-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.charts-visual {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}

.charts-header-preview {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.charts-tabs {
  display: flex;
  gap: 8px;
}

.charts-tab {
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 9999px;
  border: 1px solid var(--border-color);
  background: none;
  cursor: pointer;
  color: var(--text-muted);
}

.charts-tab.active {
  background: var(--secondary);
  color: white;
  border-color: var(--secondary);
}

/* 柱状图实现 */
.bar-chart-preview {
  height: 200px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 20px;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.chart-bar-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  height: 100%;
  justify-content: flex-end;
}

.chart-bar-fill {
  width: 24px;
  background: linear-gradient(to top, rgba(13, 148, 136, 0.2), var(--accent));
  border-radius: 6px 6px 0 0;
  height: 0;
  transition: height 1s var(--transition-normal);
}

.chart-bar-label {
  font-size: 11px;
  color: var(--text-light);
  font-weight: 500;
}

/* CTA行动区 */
.cta-section {
  padding: 56px 8%;
  text-align: center;
  position: relative;
}

.cta-box {
  background: var(--primary-gradient);
  border-radius: var(--radius-lg);
  padding: 64px 32px;
  color: white;
  box-shadow: var(--shadow-primary);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.cta-title {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 18px;
  max-width: 580px;
  margin: 0 auto 36px auto;
  opacity: 0.9;
}

.btn-white {
  background: white;
  color: var(--primary);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.btn-white:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(255, 255, 255, 0.35);
}

/* Footer 页脚 */
footer {
  border-top: 1px solid var(--border-color);
  padding: 40px 8%;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 700;
}

.footer-logo img {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
}

.footer-copy {
  font-size: 13px;
  color: var(--text-light);
}

/* 动效关键帧 */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

@keyframes textShine {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes float-widget-1 {
  0%, 100% { transform: translateY(0) translateZ(30px); }
  50% { transform: translateY(-10px) translateZ(30px); }
}

@keyframes float-widget-2 {
  0%, 100% { transform: translateY(0) translateZ(50px); }
  50% { transform: translateY(12px) translateZ(50px); }
}

/* 滚动曝光显现动画类 */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ==========================================================================
   响应式断点样式 (Responsive CSS)
   ========================================================================== */

@media (max-width: 1024px) {
  header.navbar {
    padding: 0 5%;
  }
  
  .hero-section {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 140px;
    gap: 40px;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-desc {
    margin: 0 auto 32px auto;
  }
  
  .hero-btns {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .demo-container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 32px;
  }
  
  .charts-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .charts-section .reveal:first-child {
    order: 2;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 42px;
  }
  
  .section-title {
    font-size: 30px;
  }
  
  .menu-btn {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: white;
    flex-direction: column;
    padding: 40px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform var(--transition-normal);
    box-shadow: var(--shadow-lg);
  }
  
  .nav-links.active {
    transform: translateX(0);
  }
  
  .nav-actions {
    display: none;
  }
  
  .nav-links .btn {
    width: 100%;
    margin-top: 20px;
  }
  
  .stat-value {
    font-size: 20px;
  }
  
  .widget-overlay-1 {
    right: 0px;
    width: 150px;
  }
  
  .widget-overlay-2 {
    left: 0px;
    width: 160px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 34px;
  }
  
  .hero-btns {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-btns .btn {
    width: 100%;
  }
  
  .hero-stats {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: space-around;
  }
  
  .calc-results {
    grid-template-columns: 1fr;
  }
  
  .cta-title {
    font-size: 28px;
  }

  /* 极小屏幕下优化，减少内边距和柱子宽度以确保完全对称不溢出 */
  .charts-visual {
    padding: 16px 12px;
  }

  .chart-bar-fill {
    width: 12px;
  }
}

/* ==========================================================================
   新增介绍板块专属样式 (New Presentation Sections)
   ========================================================================== */

/* 增加间距呼吸感，使布局大气 */
.review-section, .roles-section, .workflow-section, .security-section {
  padding: clamp(44px, 4vw, 56px) 8% !important;
}

/* 1. 落地页诊断诊断 (#review) */
.review-section {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0) 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: none;
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}
.review-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(37, 99, 235, 0.3);
  background: white;
}
.review-card h4 {
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-main);
  transition: color var(--transition-fast);
}
.review-card:hover h4 {
  color: var(--primary);
}
.review-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* 2. 角色收益模块 (#roles) */
.roles-section {
  background: transparent;
}
.role-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}
.role-tab-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.role-tab {
  padding: 16px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: var(--text-light);
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
}
.role-tab:hover {
  color: var(--text-main);
  transform: translateX(4px);
  border-color: rgba(37, 99, 235, 0.25);
  background: rgba(255, 255, 255, 0.9);
}
.role-tab.active {
  background: var(--primary-gradient);
  color: white;
  border-color: var(--primary);
  box-shadow: var(--shadow-primary);
  transform: translateX(8px);
}
.role-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all var(--transition-normal);
}
.role-panel h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-main);
}
.role-panel p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 600px;
  line-height: 1.6;
}
.role-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  list-style: none;
}
.role-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-main);
  padding: 4px 0;
  transition: transform var(--transition-fast);
}
.role-checklist li:hover {
  transform: translateX(4px);
}
.role-checklist li svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* 3. 业务闭环流程 (#workflow) */
.workflow-section {
  background: rgba(255, 255, 255, 0.2);
}
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}
.workflow-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 34px 24px 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all var(--transition-normal);
}
/* 桌面端水平连接线 */
.workflow-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 46px;
  right: -48px;
  width: 48px;
  height: 0;
  border-top: 2px dashed rgba(37, 99, 235, 0.25);
  pointer-events: none;
}
.workflow-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  background: white;
  border-color: rgba(37, 99, 235, 0.25);
}
.flow-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.flow-badge {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 4px 14px -4px rgba(37, 99, 235, 0.4);
  transition: all var(--transition-fast);
  position: relative;
  z-index: 2;
}
.workflow-card:hover .flow-badge {
  background: var(--accent-gradient);
  box-shadow: 0 4px 18px -4px rgba(13, 148, 136, 0.45);
  transform: scale(1.1);
}
.flow-title {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary);
  opacity: 0.7;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.workflow-card:hover .flow-title {
  opacity: 1;
  color: var(--accent);
}
.workflow-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}
.workflow-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* 4. 数据安全 (#security) — 浅色轻盈信任绿主题 */
.security-section {
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.05) 0%, rgba(37, 99, 235, 0.02) 100%), #f8fafc;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(13, 148, 136, 0.12);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px -15px rgba(13, 148, 136, 0.08);
}
.security-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 60%, rgba(13,148,136,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 80% 30%, rgba(37,99,235,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.security-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(13, 148, 136, 0.05) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
}
/* 浅色信任配色 */
.security-section .section-badge {
  display: inline-block;
  background: rgba(13, 148, 136, 0.06);
  color: #0f766e;
  border: 1px solid rgba(13, 148, 136, 0.2);
  padding: 4px 12px;
  border-radius: 12px;
  line-height: 1.2;
}
.security-section .section-title {
  color: var(--text-main);
}
.security-section .section-desc {
  color: var(--text-muted);
}
.security-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.security-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 32px;
}
.security-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(13, 148, 136, 0.1);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}
.security-item:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(13, 148, 136, 0.3);
  box-shadow: 0 8px 32px -8px rgba(13, 148, 136, 0.12);
}
.security-badge-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 12px;
  background: rgba(13, 148, 136, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}
.security-badge-icon svg {
  width: 22px;
  height: 22px;
  color: #0d9488;
  stroke-width: 1.8;
}
.security-item:hover .security-badge-icon {
  background: linear-gradient(135deg, #0d9488, #0f766e);
}
.security-item:hover .security-badge-icon svg {
  color: white;
}
.security-item-content b {
  font-size: 14.5px;
  color: var(--text-main);
  display: block;
  margin-bottom: 6px;
}
.security-item-content span {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
}
.security-info-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(13, 148, 136, 0.1);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  position: relative;
  z-index: 1;
}
.security-info-card h4 {
  color: var(--text-main) !important;
}
.security-info-card p {
  color: var(--text-muted) !important;
}
/* 安全区终端代码框 */
.security-info-card .security-terminal {
  background: rgba(13, 148, 136, 0.04) !important;
  border: 1px solid rgba(13, 148, 136, 0.15) !important;
  color: #0f766e !important;
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
}

/* 响应式适配 */
@media (max-width: 900px) {
  .review-grid, .workflow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .workflow-grid {
    gap: 32px;
  }
  /* 平板 2列布局：隐藏水平连接线 */
  .workflow-card:not(:last-child)::after {
    display: none;
  }
  .role-layout, .security-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .role-tab-list {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 8px;
  }
  .role-tab {
    white-space: nowrap;
  }
  .role-tab.active {
    transform: none;
  }
}
@media (max-width: 600px) {
  .review-grid, .workflow-grid, .role-checklist {
    grid-template-columns: 1fr;
  }
  .workflow-grid {
    gap: 24px;
  }
  /* 移动端单列：使用垂直连接线 */
  .workflow-card:not(:last-child)::after {
    display: block;
    top: auto;
    bottom: -24px;
    right: auto;
    left: 45px;
    width: 0;
    height: 24px;
    border-top: none;
    border-left: 2px dashed rgba(37, 99, 235, 0.25);
  }
  .role-panel {
    padding: 24px;
  }
  .security-item {
    flex-direction: column;
    gap: 12px;
  }
}

/* 卡片 3D 视差的基础过渡配置 */
.feature-card, .review-card, .workflow-card {
  transform-style: preserve-3d;
  will-change: transform, box-shadow;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out, background 0.3s, border-color 0.3s;
}

/* ==========================================================================
   自定义下拉选择器组件专属样式
   ========================================================================== */
.custom-select-wrapper {
  position: relative;
  width: 100%;
}
.custom-select-trigger {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 14.5px;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}
.custom-select-trigger:hover {
  background: white;
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow: var(--shadow-md);
}
.custom-select-trigger::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--text-light);
  border-bottom: 2px solid var(--text-light);
  transform: translateY(-2px) rotate(45deg);
  transition: transform var(--transition-fast);
}
.custom-select-wrapper.open .custom-select-trigger::after {
  transform: translateY(2px) rotate(-135deg);
}

.custom-select-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 100;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.custom-select-wrapper.open .custom-select-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-select-option {
  padding: 12px 16px;
  font-size: 14px;
  color: var(--text-main);
  cursor: pointer;
  transition: background var(--transition-fast);
}
.custom-select-option:hover {
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
}
.custom-select-option.selected {
  background: rgba(37, 99, 235, 0.05);
  color: var(--primary);
  font-weight: 600;
}


/* ==========================================================================
   新增产品 Mockup 展示与打包站场景通栏
   ========================================================================== */

/* 1. Hero Mockup 样式优化 - 移除容器白框，直连首屏背景以实现大气开阔感 */
.visual-container {
  max-width: 740px !important;
  aspect-ratio: 16 / 9 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.hero-mockup-wrapper {
  width: 100%;
  height: 100%;
  border-radius: 0;
  overflow: visible;
  position: relative;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.hero-mockup-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 15px 35px rgba(15, 23, 42, 0.16));
}

.hero-mockup-glare {
  display: none; /* 移除眩光以保持纯净 */
}

/* 2. 场景大图通栏 Banner - 精细控制扁平化高度与边缘丝滑淡入 */
.banner-section {
  padding-top: 40px !important;
  padding-bottom: 56px !important;
}

.scene-banner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  background: linear-gradient(135deg, #0e1d38 0%, #152c54 100%);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 45px rgba(14, 29, 56, 0.22);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  height: 290px; /* 精致扁平化高度 */
}

.scene-content {
  padding: 32px 48px;
  color: #ffffff;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.scene-title {
  font-size: 25px;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}

.scene-subtitle {
  font-size: 13.5px;
  color: #94a3b8;
  line-height: 1.5;
  margin-bottom: 18px;
}

.scene-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px; /* 更紧凑的间距 */
}

.scene-points li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.point-icon {
  width: 16px;
  height: 16px;
  color: #3b82f6;
  flex-shrink: 0;
}

.scene-points span {
  font-size: 13.5px;
  color: #cbd5e1;
}

.scene-image-container {
  position: relative;
  height: 100%;
  overflow: hidden;
}

/* 结合 CSS Mask 与 渐变 Overlay，实现极致丝滑的淡入效果，绝无硬边 */
.scene-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.05) 5%, rgba(0, 0, 0, 0.8) 35%, black 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.05) 5%, rgba(0, 0, 0, 0.8) 35%, black 100%);
}

.scene-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #0e1d38 0%, rgba(14, 29, 56, 0.95) 15%, rgba(14, 29, 56, 0.7) 35%, rgba(14, 29, 56, 0.2) 65%, rgba(14, 29, 56, 0) 100%);
  pointer-events: none;
}

/* 3. 移动端自适应 */
@media (max-width: 900px) {
  .scene-banner {
    grid-template-columns: 1fr;
    height: auto; /* 移动端自适应高度 */
  }
  .scene-content {
    padding: 36px 24px;
  }
  .scene-image-container {
    min-height: 240px;
    height: 240px;
  }
  .scene-image-overlay {
    background: linear-gradient(180deg, #0e1d38 0%, rgba(14, 29, 56, 0.9) 20%, rgba(14, 29, 56, 0) 70%);
  }
  .scene-image {
    mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 25%, black 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 25%, black 100%);
  }
  .visual-container {
    aspect-ratio: auto !important;
    padding: 8px !important;
  }
}

/* ==========================================================================
   大气首屏重构：生成场景背景 + HTML 产品样机
   ========================================================================== */

.btn-primary-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid rgba(37, 99, 235, 0.25);
  box-shadow: none;
}

.btn-primary-outline:hover {
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  transform: translateY(-1px);
}

.hero-section {
  max-width: 100%;
  min-height: calc(100vh - 80px);
  padding: 156px 8% 120px;
  grid-template-columns: minmax(420px, 0.92fr) minmax(520px, 1.08fr);
  gap: clamp(32px, 5vw, 92px);
  overflow: hidden;
  isolation: isolate;
}

.hero-section::before,
.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-section::before {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(248, 250, 252, 1) 0%, rgba(248, 250, 252, 1) 42%, rgba(248, 250, 252, 0.88) 58%, rgba(248, 250, 252, 0.15) 82%),
    linear-gradient(180deg, rgba(248, 250, 252, 0.35) 0%, rgba(248, 250, 252, 0.12) 58%, #f8fafc 100%),
    url("/assets/hero-baling-yard.webp") right top / cover no-repeat;
}

.hero-section::after {
  z-index: -1;
  background:
    radial-gradient(circle at 14% 24%, rgba(37, 99, 235, 0.13), transparent 27%),
    radial-gradient(circle at 72% 14%, rgba(14, 165, 233, 0.12), transparent 22%),
    linear-gradient(180deg, transparent 0%, transparent 82%, #f8fafc 100%);
}

.hero-content {
  max-width: 620px;
}

.scroll-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  color: var(--text-light);
  opacity: 0.65;
  transition: opacity var(--transition-fast), color var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 12px rgba(28, 45, 72, 0.04);
  animation: scrollBounce 2s infinite;
}

.scroll-indicator:hover {
  opacity: 1;
  color: var(--primary);
  background: #ffffff;
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: var(--shadow-md);
}

.scroll-indicator svg {
  width: 18px;
  height: 18px;
  display: block;
}

@keyframes scrollBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-6px);
  }
  60% {
    transform: translateX(-50%) translateY(-3px);
  }
}

.hero-showcase {
  width: min(760px, 100%);
  position: relative;
  margin-top: 18px;
  transform: translateX(-2%);
  filter: drop-shadow(0 26px 45px rgba(15, 23, 42, 0.2));
  animation: showcaseFloat 8s ease-in-out infinite;
}

.desktop-mockup {
  width: 88%;
  min-width: 500px;
  background: linear-gradient(180deg, #0b1220 0%, #111827 100%);
  border-radius: 16px 16px 10px 10px;
  padding: 13px 13px 22px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    0 26px 58px rgba(15, 23, 42, 0.25);
  position: relative;
}

.desktop-mockup::before {
  content: "";
  position: absolute;
  width: 18%;
  height: 34px;
  left: 50%;
  bottom: -34px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #cbd5e1, #94a3b8);
  clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%);
}

.desktop-mockup::after {
  content: "";
  position: absolute;
  width: 34%;
  height: 12px;
  left: 50%;
  bottom: -45px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #94a3b8, #e2e8f0, #94a3b8);
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.18);
}

.desktop-topbar {
  display: flex;
  gap: 7px;
  padding: 0 0 10px 4px;
}

.desktop-topbar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ef4444;
}

.desktop-topbar span:nth-child(2) { background: #f59e0b; }
.desktop-topbar span:nth-child(3) { background: #22c55e; }

.desktop-screen {
  display: grid;
  grid-template-columns: 72px 1fr;
  min-height: 320px;
  overflow: hidden;
  border-radius: 8px;
  background: #f8fafc;
}

.mock-sidebar {
  padding: 18px 14px;
  background: linear-gradient(180deg, #f1f5f9, #e2e8f0);
  border-right: 1px solid #dbe4f0;
}

.mock-logo-dot {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #60a5fa, #2563eb);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.mock-sidebar span {
  display: block;
  width: 100%;
  height: 9px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: #cbd5e1;
}

.mock-sidebar span.active {
  background: #2563eb;
}

.mock-dashboard {
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.05), transparent 34%),
    #ffffff;
}

.mock-heading,
.mock-kpis,
.mock-panel-row {
  display: grid;
  gap: 12px;
}

.mock-heading {
  grid-template-columns: 1fr auto;
  align-items: start;
  margin-bottom: 14px;
}

.mock-heading b {
  display: block;
  font-size: 16px;
  color: #0f172a;
  margin-bottom: 3px;
}

.mock-heading small {
  font-size: 10px;
  color: #64748b;
}

.mock-heading em {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(13, 148, 136, 0.1);
  color: #0f766e;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}

.mock-kpis {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 14px;
}

.mock-kpis div,
.mock-chart-card,
.mock-donut-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.mock-kpis div {
  padding: 12px;
}

.mock-kpis strong {
  display: block;
  color: #0f172a;
  font-size: 15px;
  line-height: 1.2;
}

.mock-kpis span {
  font-size: 10px;
  color: #64748b;
}

.mock-panel-row {
  grid-template-columns: 1fr;
}

.mock-chart-card,
.mock-donut-card {
  min-height: 116px;
  padding: 16px;
}

.mock-line-chart {
  height: 82px;
  display: flex;
  align-items: flex-end;
  gap: 11px;
  border-bottom: 1px solid #dbe4f0;
}

.mock-line-chart span {
  flex: 1;
  min-width: 8px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, #60a5fa, #2563eb);
}

.mock-donut-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.mock-donut {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: conic-gradient(#2563eb 0 42%, #0d9488 42% 69%, #f59e0b 69% 100%);
  position: relative;
}

.mock-donut::after {
  content: "";
  position: absolute;
  inset: 17px;
  border-radius: 50%;
  background: #ffffff;
}

.mock-legend {
  display: grid;
  gap: 9px;
  width: 68px;
}

.mock-legend span {
  height: 7px;
  border-radius: 999px;
  background: #bfdbfe;
}

.mock-legend span:nth-child(2) { background: #99f6e4; }
.mock-legend span:nth-child(3) { background: #fde68a; }

.mock-table {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px 10px;
  margin-top: 14px;
}

.mock-table span {
  height: 8px;
  border-radius: 999px;
  background: #e2e8f0;
}

.phone-mockup {
  position: absolute;
  right: 4%;
  bottom: -34px;
  width: 164px;
  height: 318px;
  padding: 12px 10px;
  border-radius: 28px;
  background: #0b1220;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    0 26px 50px rgba(15, 23, 42, 0.26);
  transform: rotate(1.5deg);
}

.phone-speaker {
  width: 50px;
  height: 5px;
  border-radius: 999px;
  background: #1f2937;
  margin: 0 auto 9px;
}

.phone-screen {
  height: calc(100% - 14px);
  border-radius: 21px;
  padding: 16px 12px 12px;
  background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%);
  overflow: hidden;
}

.phone-screen b {
  display: block;
  font-size: 13px;
  color: #0f172a;
  margin-bottom: 12px;
}

.phone-card {
  padding: 11px 10px;
  margin-bottom: 9px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
}

.phone-card strong {
  display: block;
  color: #2563eb;
  font-size: 14px;
  line-height: 1.1;
}

.phone-card span {
  font-size: 9px;
  color: #64748b;
}

.phone-card.accent strong {
  color: #0d9488;
}

.phone-nav {
  display: flex;
  justify-content: space-around;
  margin-top: 14px;
}

.phone-nav span {
  width: 18px;
  height: 18px;
  border-radius: 7px;
  background: rgba(37, 99, 235, 0.13);
}

.review-section {
  max-width: none;
  margin-top: -15px;
  padding-top: 56px !important;
  position: relative;
  z-index: 3;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.84)),
    radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.08), transparent 35%);
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  box-shadow: 0 -20px 55px rgba(15, 23, 42, 0.05);
}

.review-section .section-header,
.review-section .review-grid,
.banner-section .scene-banner {
  max-width: 1200px;
}

.banner-section {
  max-width: none;
  padding-top: 20px !important;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.84), rgba(248, 250, 252, 0));
}

.banner-section .scene-banner {
  margin: 0 auto;
  height: 260px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(239, 246, 255, 0.94) 48%, rgba(219, 234, 254, 0.84) 100%);
  border: 1px solid rgba(191, 219, 254, 0.72);
  box-shadow: 0 18px 50px rgba(37, 99, 235, 0.12), 0 10px 26px rgba(15, 23, 42, 0.06);
}

.banner-section .scene-banner {
  display: block;
}

.banner-section .scene-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0) 38%,
      rgba(239, 246, 255, 0.74) 53%,
      rgba(219, 234, 254, 0.38) 69%,
      rgba(219, 234, 254, 0.06) 100%);
  pointer-events: none;
}

.banner-section .scene-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), transparent 42%, rgba(37, 99, 235, 0.04) 100%),
    radial-gradient(circle at 22% 12%, rgba(37, 99, 235, 0.14), transparent 28%);
  pointer-events: none;
}

.banner-section .scene-content {
  position: relative;
  z-index: 5;
  width: min(56%, 720px);
  height: 100%;
}

.banner-section .scene-image-container {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: 58%;
  height: 100%;
}

.banner-section .scene-image {
  object-position: center center;
  filter: saturate(1.02) contrast(0.96) brightness(1.05);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.06) 8%, rgba(0, 0, 0, 0.68) 32%, black 58%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.06) 8%, rgba(0, 0, 0, 0.68) 32%, black 58%);
}

.banner-section .scene-image-overlay {
  background:
    linear-gradient(90deg,
      rgba(248, 250, 252, 0.8) 0%,
      rgba(239, 246, 255, 0.55) 26%,
      rgba(239, 246, 255, 0.22) 55%,
      rgba(239, 246, 255, 0.02) 100%);
}

.banner-section .scene-title {
  color: #0f172a;
}

.banner-section .scene-subtitle {
  color: #475569;
}

.banner-section .scene-points span {
  color: #334155;
}

.banner-section .point-icon {
  color: #2563eb;
  filter: drop-shadow(0 4px 10px rgba(37, 99, 235, 0.18));
}

@media (max-width: 900px) {
  .banner-section .scene-banner {
    display: grid;
    height: auto;
  }

  .banner-section .scene-banner::before {
    background:
      linear-gradient(180deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0) 42%,
        rgba(239, 246, 255, 0.9) 56%,
        rgba(219, 234, 254, 0.42) 75%,
        rgba(219, 234, 254, 0) 100%);
  }

  .banner-section .scene-content {
    width: 100%;
    height: auto;
  }

  .banner-section .scene-image-container {
    position: relative;
    width: 100%;
    height: 240px;
  }

  .banner-section .scene-image {
    mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.12) 8%, rgba(0, 0, 0, 0.82) 34%, black 64%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.12) 8%, rgba(0, 0, 0, 0.82) 34%, black 64%);
  }

  .banner-section .scene-image-overlay {
    background:
      linear-gradient(180deg,
        rgba(248, 250, 252, 0.9) 0%,
        rgba(239, 246, 255, 0.62) 26%,
        rgba(239, 246, 255, 0.18) 70%,
        rgba(239, 246, 255, 0) 100%);
  }
}

@keyframes showcaseFloat {
  0%, 100% { transform: translateX(-2%) translateY(0); }
  50% { transform: translateX(-2%) translateY(-10px); }
}

@media (max-width: 1120px) {
  .hero-section {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 134px;
    text-align: center;
  }

  .scroll-indicator {
    display: none;
  }

  .hero-content {
    max-width: 760px;
    margin: 0 auto;
    align-items: center;
  }

  .hero-visual {
    min-height: 390px;
    justify-content: center;
  }

  .hero-showcase {
    transform: none;
    margin-top: 0;
  }

  @keyframes showcaseFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
  }
}

@media (max-width: 760px) {
  .hero-section {
    padding: 118px 5% 84px;
  }

  .hero-section::before {
    background:
      linear-gradient(180deg, rgba(248, 250, 252, 1) 0%, rgba(248, 250, 252, 0.94) 42%, rgba(248, 250, 252, 0.78) 100%),
      url("/assets/hero-baling-yard.webp") 68% top / auto 58% no-repeat;
  }

  .hero-title {
    font-size: clamp(38px, 11vw, 52px);
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .stat-value {
    font-size: 19px;
  }

  .stat-suffix {
    font-size: 11px;
  }

  .stat-label {
    font-size: 10.5px;
    line-height: 1.35;
  }

  .hero-visual {
    min-height: 298px;
  }

  .desktop-mockup {
    min-width: 0;
    width: 100%;
    padding: 9px 9px 17px;
  }

  .desktop-screen {
    grid-template-columns: 46px 1fr;
    min-height: 224px;
  }

  .mock-sidebar {
    padding: 12px 9px;
  }

  .mock-dashboard {
    padding: 12px;
  }

  .mock-kpis {
    gap: 7px;
  }

  .mock-kpis div {
    padding: 8px;
  }

  .mock-kpis strong {
    font-size: 11px;
  }

  .mock-donut-card {
    display: none;
  }

  .phone-mockup {
    width: 116px;
    height: 232px;
    right: -6px;
    bottom: -26px;
    padding: 9px 7px;
  }

  .phone-card {
    padding: 8px;
    margin-bottom: 7px;
  }

  .phone-card strong {
    font-size: 11px;
  }

  .review-section {
    margin-top: -18px;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
  }
}

@media (max-width: 520px) {
  .hero-stats {
    grid-template-columns: 1fr;
    max-width: 310px;
  }

  .hero-showcase {
    width: 108%;
  }

  .phone-mockup {
    right: 0;
    transform: scale(0.9) rotate(1.5deg);
    transform-origin: right bottom;
  }
}

/* ==========================================================================
   Hero 真实后台样机：窄边框设备 + 虚拟化经营数据
   ========================================================================== */

.desktop-mockup {
  width: 92%;
  min-width: 560px;
  padding: 6px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(226, 232, 240, 0.98), rgba(148, 163, 184, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    inset 0 0 0 1px rgba(15, 23, 42, 0.08),
    0 28px 64px rgba(15, 23, 42, 0.22);
}

.desktop-mockup::before {
  width: 18%;
  height: 38px;
  bottom: -38px;
  background: linear-gradient(180deg, #cbd5e1 0%, #718096 100%);
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.12);
}

.desktop-mockup::after {
  width: 36%;
  height: 12px;
  bottom: -49px;
  background: linear-gradient(90deg, #94a3b8, #cbd5e1 50%, #94a3b8);
  box-shadow: 
    0 10px 24px rgba(15, 23, 42, 0.16),
    0 3px 6px rgba(15, 23, 42, 0.08);
}

.desktop-screen {
  grid-template-columns: 150px minmax(0, 1fr);
  min-height: 430px;
  border-radius: 10px;
  background: #f4f7fb;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.07);
}

.mock-sidebar {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 13px 10px;
  background: linear-gradient(180deg, #102c47, #0b2136);
  border-right: 0;
  color: #dbeafe;
}

.mock-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 3px 2px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 6px;
}

.mock-logo-dot {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  margin: 0;
  background: linear-gradient(135deg, #60a5fa, #2563eb);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.32);
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.mock-brand b {
  display: block;
  color: #ffffff;
  font-size: 9px;
  line-height: 1.2;
  white-space: nowrap;
}

.mock-brand span {
  display: block;
  color: rgba(219, 234, 254, 0.72);
  font-size: 7px;
  margin-top: 2px;
  white-space: nowrap;
  width: auto;
  height: auto;
  margin-bottom: 0;
  border-radius: 0;
  background: transparent;
}

.mock-sidebar > span {
  display: none;
}

.mock-nav-item {
  height: 24px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 8px;
  color: rgba(219, 234, 254, 0.82);
  font-size: 8px;
  font-weight: 650;
}

.mock-nav-item svg {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  color: rgba(219, 234, 254, 0.82);
  stroke-width: 2;
}

.mock-nav-item.active {
  background: linear-gradient(90deg, rgba(37, 99, 235, 0.48), rgba(37, 99, 235, 0.13));
  color: #ffffff;
}

.mock-nav-item.active svg {
  color: #ffffff;
}

.mock-side-card {
  margin-top: auto;
  padding: 9px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5px 7px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.mock-side-card span {
  color: rgba(219, 234, 254, 0.64);
  font-size: 6.5px;
  width: auto;
  height: auto;
  margin: 0;
  border-radius: 0;
  background: transparent;
}

.mock-side-card b {
  color: #ffffff;
  font-size: 6.8px;
  text-align: right;
  white-space: nowrap;
}

.mock-dashboard {
  padding: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #f4f7fb;
}

.mock-app-topbar {
  height: 42px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid #e5ebf3;
}

.mock-app-topbar > div {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.mock-app-topbar button {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 1px solid #dde5f0;
  background: #ffffff;
  box-shadow: 0 5px 12px rgba(21, 40, 71, 0.04);
  position: relative;
}

.mock-app-topbar button::before,
.mock-app-topbar button::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  height: 2px;
  border-radius: 999px;
  background: #8ea0b8;
}

.mock-app-topbar button::before {
  top: 8px;
}

.mock-app-topbar button::after {
  bottom: 8px;
}

.mock-app-topbar b {
  color: #172033;
  font-size: 12px;
}

.mock-top-actions {
  gap: 6px;
}

.mock-top-actions span {
  height: 22px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #dde5f0;
  color: #41516a;
  font-size: 7.5px;
  font-weight: 750;
}

.mock-top-actions i {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #dde5f0;
  display: grid;
  place-items: center;
  color: #3e5a76;
  box-shadow: 0 5px 12px rgba(21, 40, 71, 0.04);
  font-style: normal;
}

.mock-top-actions i::before {
  content: none;
}

.mock-top-actions i svg {
  width: 13px;
  height: 13px;
  display: block;
  stroke: currentColor;
  stroke-width: 2;
}

.mock-top-actions em {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #eaf1ff, #d5e7ff);
  color: #2553b9;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
}

.mock-heading {
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 13px 15px 10px;
  margin: 0;
}

.mock-heading b {
  font-size: 13px;
}

.mock-heading small {
  font-size: 7.6px;
  color: #637087;
}

.mock-heading em {
  background: #eef5ff;
  color: #2c5fca;
  font-size: 7.2px;
  font-style: normal;
  font-weight: 850;
  padding: 5px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.mock-heading strong {
  color: #5f6d82;
  font-size: 7.7px;
  white-space: nowrap;
}

.mock-kpis {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 0 15px;
  margin: 0 0 10px;
}

.mock-kpis div {
  position: relative;
  min-width: 0;
  min-height: 58px;
  padding: 10px 11px 9px 11px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #e5ebf3;
  box-shadow: 0 4px 14px rgba(28, 45, 72, 0.045);
}

.mock-kpis span {
  display: block;
  color: #5a6577;
  font-size: 7.5px;
  margin-bottom: 5px;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
}

.mock-kpis strong {
  color: #111827;
  font-size: 12.4px;
  line-height: 1.1;
  white-space: nowrap;
}

.mock-kpis strong em {
  color: #8290a3;
  font-size: 6.4px;
  font-style: normal;
  font-weight: 700;
}

.mock-kpis small {
  display: block;
  color: #7b8a9e;
  font-size: 6.5px;
  margin-top: 6px;
  white-space: nowrap;
}

.mock-kpi-card::after {
  display: none;
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 20px;
  height: 20px;
  border-radius: 10px;
  transform: translateY(-50%);
  background: #eef5ff;
}

.mock-kpi-card.blue::after { background: #eef5ff; }
.mock-kpi-card.amber::after { background: #fff6df; }
.mock-kpi-card.green::after { background: #e8fbf3; }
.mock-kpi-card.purple::after { background: #f2eaff; }

.mock-kpi-card.green strong,
.mock-kpi-card.purple strong {
  color: #10a66a;
}

.mock-panel-row {
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 0 15px;
}

.mock-chart-card,
.mock-donut-card,
.mock-rank-card,
.mock-mini-card {
  min-height: 154px;
  padding: 0;
  border-radius: 10px;
  background: #ffffff;
  border-color: #e5ebf3;
  overflow: hidden;
}

.mock-chart-card {
  min-height: 236px !important;
}

.mock-line-chart {
  height: 186px !important;
}

.mock-panel-head {
  height: 32px;
  padding: 0 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #edf1f5;
}

.mock-panel-head b {
  color: #172033;
  font-size: 8.5px;
}

.mock-panel-head span {
  color: #5a6577;
  font-size: 7px;
  width: auto;
  height: auto;
  margin: 0;
  border-radius: 0;
  background: transparent;
}

.mock-line-chart {
  position: relative;
  display: block;
  height: 122px;
  margin: 0 12px 10px;
  padding: 8px 0 15px 34px;
  border-bottom: 0;
  background:
    linear-gradient(#e8eef6 1px, transparent 1px) 34px 15px / calc(100% - 34px) 24px repeat-y;
}

.mock-line-chart > span {
  background: linear-gradient(180deg, #72a4ff, #2563eb);
  border-radius: 7px 7px 0 0;
}

.mock-axis {
  position: absolute;
  left: 0;
  top: 11px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #8a97aa;
  font-size: 6.3px;
}

.mock-axis span,
.mock-chart-legend span,
.mock-chart-dates span {
  width: auto;
  height: auto;
  margin: 0;
  border-radius: 0;
  background: transparent;
}

.mock-line-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.mock-area {
  fill: url(#mockArea);
}

.mock-line-blue,
.mock-line-green {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mock-line-blue { stroke: #2563eb; }
.mock-line-green { stroke: #10a66a; }

.mock-points-blue circle,
.mock-points-green circle {
  r: 4;
  fill: #ffffff;
  stroke-width: 4;
}

.mock-points-blue circle { stroke: #2563eb; }
.mock-points-green circle { stroke: #10a66a; }

.mock-chart-legend {
  position: absolute;
  right: 8px;
  top: 10px;
  display: flex;
  gap: 10px;
  color: #617087;
  font-size: 6.5px;
}

.mock-chart-legend span {
  position: relative;
  padding-left: 8px;
}

.mock-chart-legend span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #2563eb;
}

.mock-chart-legend span:nth-child(2)::before {
  background: #10a66a;
}

.mock-chart-dates {
  position: absolute;
  left: 34px;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  color: #8a97aa;
  font-size: 6.2px;
}

.mock-rank-list {
  display: grid;
  gap: 9px;
  padding: 16px 13px 13px;
}

.mock-rank-list div {
  display: grid;
  grid-template-columns: 58px 1fr 34px;
  align-items: center;
  gap: 9px;
  color: #3a4658;
  font-size: 7.2px;
}

.mock-rank-list i {
  height: 6px;
  border-radius: 999px;
  background: #e9eef5;
  position: relative;
  overflow: hidden;
}

.mock-rank-list i::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  border-radius: inherit;
  background: linear-gradient(90deg, #3b73f6, #77a4ff);
}

.mock-rank-list b {
  color: #7b8a9e;
  font-size: 6.8px;
  text-align: right;
}

.mock-donut-card {
  display: grid;
  grid-template-columns: 86px 1fr;
  align-items: center;
  column-gap: 8px;
}

.mock-donut-card .mock-panel-head {
  grid-column: 1 / -1;
}

.mock-donut {
  width: 64px;
  height: 64px;
  margin-left: 13px;
  background: conic-gradient(#2563eb 0 45%, #10a66a 45% 72%, #ef9400 72% 100%);
  position: relative;
}

.mock-donut::after {
  inset: 18px;
  background: #ffffff;
}

.mock-donut strong {
  position: absolute;
  inset: 21px;
  z-index: 1;
  display: grid;
  place-items: center;
  color: #40516b;
  font-size: 5.5px;
  line-height: 1.15;
  text-align: center;
}

.mock-donut.profit {
  background: conic-gradient(#2563eb 0 45%, #10a66a 45% 77%, #ef9400 77% 88%, #7c5ce8 88% 100%);
}

.mock-legend {
  width: auto;
  padding-right: 10px;
}

.mock-legend span {
  position: relative;
  height: auto;
  padding-left: 12px;
  background: transparent;
  color: #4b5a70;
  font-size: 6.8px;
  line-height: 1.35;
  width: auto;
  margin: 0 0 4px;
  border-radius: 0;
}

.mock-legend b {
  float: right;
  color: #40516b;
  font-size: 6.4px;
}

.mock-legend span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: #2563eb;
}

.mock-legend span:nth-child(2)::before { background: #10a66a; }
.mock-legend span:nth-child(3)::before { background: #ef9400; }

.mock-table {
  display: block;
  margin: 10px 15px 13px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #e5ebf3;
  overflow: hidden;
}

.mock-table-head {
  height: 30px;
  padding: 0 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #edf1f5;
}

.mock-table-head b {
  color: #172033;
  font-size: 8.5px;
}

.mock-table-head span {
  color: #5a6577;
  font-size: 7px;
  width: auto;
  height: auto;
  margin: 0;
  border-radius: 0;
  background: transparent;
}

.mock-table-row {
  display: grid;
  grid-template-columns: 0.62fr 0.95fr 0.9fr 0.7fr 0.75fr 0.62fr;
  gap: 8px;
  align-items: center;
  height: 24px;
  padding: 0 11px;
  border-bottom: 1px solid #edf1f5;
  color: #384458;
  font-size: 7.2px;
}

.mock-table-row span {
  width: auto;
  height: auto;
  margin: 0;
  border-radius: 0;
  background: transparent;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mock-table-row:last-child {
  border-bottom: 0;
}

.mock-table-row.head {
  height: 22px;
  background: #f8fafc;
  color: #677489;
  font-weight: 700;
}

.mock-table-row b {
  color: #10a66a;
  font-size: 7.2px;
  text-align: right;
  white-space: nowrap;
}

.mock-table-row em {
  justify-self: end;
  padding: 2px 4px;
  border-radius: 999px;
  background: #eef5ff;
  color: #2563eb;
  font-size: 6.2px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.mock-analysis-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  padding: 10px 15px 13px;
}

.mock-mini-card {
  min-height: 102px;
}

.mock-mini-body {
  display: grid;
  grid-template-columns: 86px 1fr;
  align-items: center;
  column-gap: 8px;
  padding: 10px 10px 12px;
}

.phone-mockup {
  width: 174px;
  height: 360px;
  right: -3%;
  bottom: -56px;
  padding: 5px;
  border-radius: 26px;
  background: linear-gradient(135deg, #111827, #020617);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    -12px 20px 48px rgba(15, 23, 42, 0.32);
  transform: rotate(-2.5deg) translateY(8px);
}

.phone-screen {
  height: 100%;
  border-radius: 21px;
  padding: 10px 9px 10px;
  background: #f4f7fb;
  overflow: hidden;
}

.phone-status {
  height: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.phone-status span {
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: #0f172a;
  opacity: 0.18;
}

.phone-status i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #dbe4ef;
}

.phone-screen b {
  font-size: 12px;
  margin-bottom: 3px;
}

.phone-screen p {
  margin: 6px 0 5px;
  color: #64748b;
  font-size: 6.4px;
  line-height: 1.4;
}

.phone-card {
  position: relative;
  min-height: 39px;
  padding: 5px 8px 5px 8px;
  margin-bottom: 4px;
  border-radius: 13px;
  background: #ffffff;
  border-color: #e5ebf3;
  box-shadow: 0 4px 12px rgba(28, 45, 72, 0.04);
}

.phone-card span {
  display: block;
  font-size: 6.2px;
  color: #5a6577;
  margin-bottom: 3px;
}

.phone-card strong {
  font-size: 11px;
  color: #2563eb;
}

.phone-card strong em {
  color: #7b8a9e;
  font-size: 6px;
  font-style: normal;
  font-weight: 700;
}

.phone-card small {
  display: block;
  margin-top: 3px;
  color: #8a97aa;
  font-size: 5.8px;
}

.phone-card i {
  display: none;
  position: absolute;
  right: 12px;
  top: 50%;
  width: 21px;
  height: 21px;
  border-radius: 9px;
  transform: translateY(-50%);
  background: #eef5ff;
}

.phone-card.amber i { background: #fff6df; }
.phone-card.green i { background: #e8fbf3; }
.phone-card.purple i { background: #f2eaff; }

.phone-card.green strong,
.phone-card.purple strong {
  color: #10a66a;
}

.phone-toolbar {
  display: grid;
  grid-template-columns: 24px 1fr 1fr 24px;
  gap: 5px;
  align-items: center;
}

.phone-toolbar i,
.phone-toolbar em,
.phone-toolbar span {
  height: 24px;
  border-radius: 9px;
  background: #ffffff;
  border: 1px solid #dfe7f2;
  box-shadow: 0 3px 8px rgba(28, 45, 72, 0.04);
}

.phone-toolbar i {
  position: relative;
}

.phone-toolbar i::before,
.phone-toolbar i::after {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  height: 2px;
  border-radius: 999px;
  background: #52627a;
}

.phone-toolbar i::before { top: 8px; }
.phone-toolbar i::after { bottom: 8px; }

.phone-toolbar span {
  display: grid;
  place-items: center;
  color: #1f2a3d;
  font-size: 7.2px;
  font-weight: 850;
}

.phone-toolbar em {
  background: radial-gradient(circle at 50% 36%, #ffd7a8 0 22%, #3777ed 23% 58%, #dbeafe 59% 100%);
}

.phone-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.phone-tabs b {
  margin: 0;
  padding: 5px 8px;
  border-radius: 999px;
  color: #2563eb;
  background: #eef5ff;
  font-size: 8px;
}

.phone-tabs strong {
  color: #52627a;
  font-size: 8px;
}

.phone-kpi-list {
  display: grid;
  gap: 7px;
}

.phone-mini-chart {
  height: 45px;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  padding: 9px 9px 0;
  margin-top: 2px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #e5ebf3;
}

.phone-mini-chart span {
  flex: 1;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(180deg, #72a4ff, #2563eb);
}

.phone-records {
  display: grid;
  gap: 4px;
  margin-top: 7px;
}

.phone-records span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 18px;
  padding: 0 8px;
  border-radius: 7px;
  background: #ffffff;
  border: 1px solid #e5ebf3;
  color: #52627a;
}

.phone-records b,
.phone-records em {
  font-size: 6.2px;
  line-height: 1;
  white-space: nowrap;
}

.phone-records b {
  color: #1f2a3d;
  font-weight: 800;
}

.phone-records em {
  color: #64748b;
  font-style: normal;
}

.phone-nav {
  margin-top: 11px;
}

.phone-nav span {
  width: 16px;
  height: 4px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.18);
}

@media (max-width: 760px) {
  .desktop-mockup {
    min-width: 0;
    width: 100%;
    padding: 4px;
    border-radius: 12px;
  }

  .desktop-screen {
    grid-template-columns: 52px minmax(0, 1fr);
    min-height: 244px;
  }

  .mock-sidebar {
    padding: 8px 6px;
    gap: 5px;
  }

  .mock-brand {
    justify-content: center;
    padding-bottom: 8px;
  }

  .mock-nav-item {
    font-size: 0;
  }

  .mock-brand div:last-child,
  .mock-side-card {
    display: none;
  }

  .mock-nav-item {
    justify-content: center;
    padding: 0;
  }

  .mock-app-topbar {
    height: 30px;
    padding: 0 8px;
  }

  .mock-app-topbar b {
    font-size: 9px;
  }

  .mock-top-actions span:nth-child(2),
  .mock-top-actions i {
    display: none;
  }

  .mock-heading {
    padding: 9px 9px 7px;
  }

  .mock-heading small,
  .mock-heading em,
  .mock-heading strong {
    display: none;
  }

  .mock-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 0 9px;
  }

  .mock-kpis div {
    min-height: 42px;
    padding: 7px 22px 7px 7px;
  }

  .mock-kpis span,
  .mock-kpis small {
    font-size: 6px;
  }

  .mock-kpis strong {
    font-size: 9px;
  }

  .mock-kpi-card::after {
    width: 16px;
    height: 16px;
    right: 5px;
    border-radius: 6px;
  }

  .mock-panel-row {
    display: block;
    padding: 0 9px;
  }

  .mock-chart-card {
    min-height: 88px;
  }

  .mock-line-chart {
    height: 52px;
    padding-left: 22px;
  }

  .mock-axis,
  .mock-chart-legend,
  .mock-chart-dates {
    display: none;
  }

  .mock-donut-card,
  .mock-rank-card,
  .mock-table,
  .mock-analysis-row {
    display: none;
  }

  .phone-mockup {
    width: 124px;
    height: 248px;
    right: -6px;
    bottom: -24px;
    padding: 4px;
  }

  .phone-screen {
    padding: 8px 7px 7px;
  }

  .phone-toolbar {
    grid-template-columns: 20px 1fr 1fr 20px;
    gap: 3px;
  }

  .phone-toolbar i,
  .phone-toolbar em,
  .phone-toolbar span {
    height: 20px;
    font-size: 5.8px;
  }

  .phone-screen p {
    font-size: 5.8px;
    margin: 5px 0;
  }

  .phone-tabs {
    gap: 5px;
    margin-bottom: 5px;
  }

  .phone-tabs b,
  .phone-tabs strong {
    font-size: 5.8px;
  }

  .phone-card {
    min-height: 38px;
    padding: 6px 7px 5px 7px;
    margin-bottom: 5px;
    border-radius: 10px;
  }

  .phone-card span,
  .phone-card small {
    font-size: 5.4px;
  }

  .phone-card strong {
    font-size: 9px;
  }

  .phone-card i {
    width: 20px;
    height: 20px;
    right: 7px;
  }
}

@media (max-width: 520px) {
  .desktop-mockup {
    width: 100%;
    margin-inline: auto;
  }

  .phone-mockup {
    right: -2px;
  }
}

/* ==========================================================================
   审查修复：锚点、移动首屏、移动菜单与可访问性
   ========================================================================== */

html {
  scroll-padding-top: 92px;
}

:where(#review, #features, #roles, #workflow, #demo, #calculator, #analysis, #security) {
  scroll-margin-top: 92px;
}

.nav-mobile-action {
  display: none;
}

.menu-btn {
  min-width: 44px;
  min-height: 44px;
  border-radius: 10px;
  place-items: center;
}

.menu-btn:focus-visible,
.btn:focus-visible,
.role-tab:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.36);
  outline-offset: 3px;
}

@media (max-width: 768px) {
  .brand-name {
    max-width: 160px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  html {
    scroll-padding-top: 84px;
  }

  .menu-btn {
    display: grid;
  }

  :where(#review, #features, #roles, #workflow, #demo, #analysis, #security) {
    scroll-margin-top: 84px;
  }

  .nav-links {
    height: calc(100dvh - 80px);
    overflow-y: auto;
    align-items: stretch;
    padding: 36px 32px 32px;
  }

  .nav-links a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-mobile-action {
    display: block;
    width: 100%;
    margin-top: 8px;
  }

  .nav-mobile-action .btn {
    display: inline-flex;
    width: 100%;
    color: #ffffff;
  }
}

@media (max-width: 760px) {
  .hero-section {
    padding: 96px 5% 52px;
    gap: 24px;
  }

  .hero-badge {
    margin-bottom: 16px;
  }

  .hero-title {
    font-size: clamp(34px, 9.6vw, 42px);
    line-height: 1.18;
    margin-bottom: 18px;
  }

  .hero-desc {
    margin-bottom: 24px;
    line-height: 1.75;
  }

  .hero-btns {
    margin-bottom: 28px;
  }

  .hero-stats {
    padding-top: 22px;
  }

  .hero-visual {
    min-height: 252px;
    margin-top: -8px;
  }

  .review-section {
    margin-top: -4px;
  }

  .role-tab-list {
    display: grid;
    grid-template-columns: 1fr;
    overflow: visible;
    padding-bottom: 0;
    gap: 10px;
  }

  .role-tab {
    min-height: 48px;
    text-align: center;
    white-space: normal;
    transform: none;
  }

  .role-tab:hover,
  .role-tab.active {
    transform: none;
  }
}

@media (max-width: 520px) {
  .hero-showcase {
    width: 100%;
  }

  .hero-visual {
    min-height: 236px;
  }

  .phone-mockup {
    width: 112px;
    height: 224px;
  }
}

/* 移动端防止样机、抽屉菜单或横向动效把页面撑出视口。 */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

@supports not (overflow-x: clip) {
  html,
  body {
    overflow-x: hidden;
  }
}

@media (max-width: 768px) {
  .navbar,
  .hero-section,
  .section,
  .cta-section,
  footer {
    max-width: 100vw;
  }

  .nav-links {
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .hero-visual {
    overflow: hidden;
  }

  .hero-showcase,
  .desktop-mockup,
  .demo-container,
  .scene-banner,
  .charts-visual,
  .security-info-card,
  .cta-box {
    max-width: 100%;
  }

  .charts-visual {
    padding: 20px 16px;
  }

  .charts-header-preview {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .chart-bar-fill {
    width: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* 2026-07 落地页转化与移动端回归修复 */
:where(#review, #features, #roles, #workflow, #demo, #analysis, #security) {
  scroll-margin-top: 0;
}

.trust-strip {
  position: relative;
  z-index: 4;
  padding: 0 5%;
  background: #f8fafc;
}

.trust-strip-inner {
  width: min(1200px, 100%);
  margin: -34px auto 0;
  padding: 20px 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(191, 219, 254, 0.78);
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.trust-item {
  min-width: 0;
  padding: 4px 16px;
  border-left: 1px solid var(--border-color);
}

.trust-item:first-child { border-left: 0; }
.trust-item strong,
.trust-item span { display: block; }
.trust-item strong { color: var(--text-main); font-size: 15px; margin-bottom: 5px; }
.trust-item span { color: var(--text-muted); font-size: 12.5px; line-height: 1.55; }

@media (max-width: 768px) {
  header.navbar {
    padding-inline: 16px;
    gap: 12px;
  }

  .nav-brand {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
  }

  .brand-logo { flex: 0 0 auto; }

  .brand-name {
    min-width: 0;
    max-width: none;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .menu-btn {
    flex: 0 0 44px;
    margin-left: auto;
  }

  .hero-section {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    padding-inline: 20px;
  }

  .hero-content,
  .hero-title,
  .hero-desc,
  .hero-btns,
  .hero-stats,
  .hero-visual {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .hero-title {
    overflow-wrap: anywhere;
  }

  .gradient-text { white-space: normal; }

  .hero-btns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-btns .btn {
    width: 100%;
    min-height: 48px;
    margin: 0;
  }

  .section-header,
  .section-title,
  .section-desc {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .trust-strip { padding-inline: 20px; }

  .trust-strip-inner {
    margin-top: -18px;
    grid-template-columns: 1fr 1fr;
    padding: 16px;
    gap: 0;
  }

  .trust-item {
    padding: 12px;
    border-left: 0;
    border-top: 1px solid var(--border-color);
  }

  .trust-item:nth-child(-n + 2) { border-top: 0; }
}

@media (max-width: 420px) {
  header.navbar { padding-inline: 12px; }
  .brand-logo { width: 36px; height: 36px; }
  .brand-name { font-size: 16px; }
  .hero-section { padding-inline: 16px; }
  .hero-title { font-size: clamp(32px, 10vw, 40px); }
  .hero-desc { font-size: 15.5px; }
  .trust-strip { padding-inline: 16px; }
  .trust-strip-inner { grid-template-columns: 1fr; }
  .trust-item:nth-child(2) { border-top: 1px solid var(--border-color); }
}

/* 手机端核算器：减少多层容器留白，优先使用整屏宽度。 */
@media (max-width: 760px) {
  .demo-section {
    padding-inline: 12px !important;
  }

  .demo-container {
    width: 100%;
    max-width: none;
    gap: 28px;
    padding: 20px 0 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .demo-info {
    padding-inline: 8px;
  }

  .demo-calculator {
    width: 100%;
    max-width: none;
    padding: 22px 18px 20px;
    border-radius: 20px;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
  }

  .calc-title {
    margin-bottom: 22px;
    font-size: 18px;
  }

  .calc-group {
    margin-bottom: 22px;
  }

  .calc-label {
    margin-bottom: 12px;
    font-size: 14px;
  }

  .calc-input {
    height: 8px;
  }

  .calc-input::-webkit-slider-thumb {
    width: 24px;
    height: 24px;
  }

  .custom-select-trigger {
    min-height: 48px;
    padding: 12px 14px;
    font-size: 15px;
  }

  .calc-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
    padding-top: 20px;
  }

  .result-card {
    min-width: 0;
    padding: 16px 8px;
  }

  .result-val {
    font-size: clamp(17px, 5vw, 21px);
    overflow-wrap: anywhere;
  }

  .result-lbl {
    font-size: 10.5px;
    line-height: 1.45;
  }
}

@media (max-width: 360px) {
  .demo-section { padding-inline: 8px !important; }
  .demo-calculator { padding-inline: 14px; }
  .calc-results { gap: 8px; }
  .result-val { font-size: 16px; }
}

/* 手机端统一内容宽度：与核算器保持同一条 8–12px 外边距基线。 */
@media (max-width: 760px) {
  .section,
  .review-section,
  .banner-section,
  .features-section,
  .roles-section,
  .workflow-section,
  .demo-section,
  .charts-section,
  .security-section,
  .cta-section {
    width: 100%;
    max-width: none;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .hero-section,
  .trust-strip {
    padding-left: 12px;
    padding-right: 12px;
  }

  .section-header,
  .review-grid,
  .features-grid,
  .role-layout,
  .role-panel,
  .workflow-grid,
  .demo-container,
  .charts-visual,
  .security-grid,
  .security-info-card,
  .scene-banner,
  .cta-box,
  .trust-strip-inner {
    width: 100%;
    max-width: none;
  }

  .charts-section {
    gap: 28px;
  }

  .charts-visual {
    padding-left: 14px;
    padding-right: 14px;
    border-radius: 20px;
  }

  .role-panel,
  .security-info-card,
  .cta-box {
    border-radius: 20px;
  }
}

@media (max-width: 360px) {
  .section,
  .review-section,
  .banner-section,
  .features-section,
  .roles-section,
  .workflow-section,
  .demo-section,
  .charts-section,
  .security-section,
  .cta-section {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  .hero-section,
  .trust-strip {
    padding-left: 8px;
    padding-right: 8px;
  }
}
