/* ==========================================================================
   满座 POS · 产品官网样式表
   Design System — TDesign inspired
   ========================================================================== */

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

:root {
  /* Brand Colors (TDesign palette) */
  --primary: #0052D9;
  --primary-light: #0265D8;
  --primary-lighter: #E8F3FF;
  --primary-dark: #003CAB;
  --success: #00A870;
  --warning: #ED7B2F;
  --error: #D54941;

  /* Accent Gradients */
  --gradient-primary: linear-gradient(135deg, #0052D9 0%, #00A870 100%);
  --gradient-blue: linear-gradient(135deg, #0052D9 0%, #36CFC9 100%);
  --gradient-hero: linear-gradient(160deg, #001B5E 0%, #0052D9 50%, #00A870 100%);

  /* Neutrals */
  --bg: #FFFFFF;
  --bg-alt: #F7F8FA;
  --bg-dark: #0B1B3A;
  --bg-dark-2: #0F2547;
  --text-1: #181818;
  --text-2: #595959;
  --text-3: #8C8C8C;
  --text-light: rgba(255,255,255,0.85);
  --text-light-muted: rgba(255,255,255,0.6);
  --border: #E7E7E7;
  --border-light: rgba(255,255,255,0.12);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 24px 60px rgba(0,0,0,0.15);
  --shadow-primary: 0 8px 30px rgba(0,82,217,0.35);
  --shadow-primary-lg: 0 16px 50px rgba(0,82,217,0.4);

  /* Layout */
  --container: 1200px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --nav-h: 68px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-1);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

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

/* ==================== Buttons ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  font-family: inherit;
}

.btn-sm { padding: 8px 20px; font-size: 14px; }
.btn-lg { padding: 16px 36px; font-size: 17px; border-radius: 14px; }
.btn-block { display: flex; width: 100%; }

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

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

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

.btn-ghost {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.6);
}

/* ==================== Navbar ==================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}
.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: var(--container);
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--text-1);
  flex-shrink: 0;
}
.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--gradient-primary);
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: var(--shadow-primary);
}
.logo-img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex-shrink: 0;
}
.logo-text small {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-3);
  margin-left: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-2);
  padding: 8px 16px;
  border-radius: 8px;
  transition: all var(--transition);
}
.nav-links a:hover {
  color: var(--primary);
  background: var(--primary-lighter);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

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

/* ==================== Hero ==================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--nav-h);
  background: linear-gradient(180deg, #F0F5FF 0%, #FFFFFF 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  animation: floatGlow 8s ease-in-out infinite alternate;
}
.hero-glow-1 {
  width: 600px;
  height: 600px;
  background: var(--primary);
  top: -150px;
  left: -100px;
}
.hero-glow-2 {
  width: 500px;
  height: 500px;
  background: var(--success);
  bottom: -100px;
  right: -100px;
  animation-delay: -4s;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,82,217,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,82,217,0.04) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 80%);
}

@keyframes floatGlow {
  0% { transform: translate(0, 0); }
  100% { transform: translate(40px, -30px); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,82,217,0.08);
  border: 1px solid rgba(0,82,217,0.15);
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 28px;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(0,168,112,0.5);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(0,168,112,0.5); }
  70% { box-shadow: 0 0 0 10px rgba(0,168,112,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,168,112,0); }
}

.hero-title {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 16px;
  color: var(--text-1);
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
  letter-spacing: 4px;
}

.hero-desc {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.hide-mobile { display: inline; }

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 32px;
}
.stat-number {
  font-size: 36px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}
.stat-label {
  font-size: 14px;
  color: var(--text-3);
  margin-top: 8px;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid var(--text-3);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.scroll-indicator span {
  width: 4px;
  height: 8px;
  background: var(--text-3);
  border-radius: 2px;
  animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot {
  0% { opacity: 0; transform: translateY(-6px); }
  50% { opacity: 1; }
  100% { opacity: 0; transform: translateY(10px); }
}

/* ==================== Sections ==================== */
.section {
  padding: 100px 0;
  position: relative;
}
.section-alt { background: var(--bg-alt); }
.section-dark {
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-2) 100%);
  color: var(--text-light);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}
.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  background: var(--primary-lighter);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.section-tag.light {
  color: #7BB4FF;
  background: rgba(0,168,255,0.12);
}
.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
  color: var(--text-1);
}
.section-title.light { color: #fff; }
.section-desc {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.7;
}
.section-desc.light { color: var(--text-light-muted); }

.text-primary { color: var(--primary); }

/* ==================== Industry Grid ==================== */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.industry-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.industry-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.industry-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.industry-card:hover::before { transform: scaleX(1); }

.industry-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary-lighter) 0%, #F0F8FF 100%);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: all var(--transition);
}
.industry-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.8;
}
.industry-card:hover .industry-icon {
  background: var(--gradient-primary);
  color: #fff;
  transform: scale(1.08);
  box-shadow: var(--shadow-primary);
}
.industry-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-1);
}
.industry-card p {
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.8;
}

/* ==================== Feature Grid ==================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.feature-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition);
  position: relative;
}
.feature-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.feature-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--primary-lighter);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all var(--transition);
}
.feature-icon-wrap svg {
  width: 26px;
  height: 26px;
}
.feature-card:hover .feature-icon-wrap {
  background: var(--gradient-primary);
  color: #fff;
  transform: scale(1.1) rotate(-5deg);
}
.feature-card h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-1);
}
.feature-card p {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 16px;
}
.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.feature-tags li {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-3);
  background: var(--bg-alt);
  padding: 4px 12px;
  border-radius: 50px;
}

/* ==================== Highlights ==================== */
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.highlight-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: all var(--transition);
}
.highlight-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}
.highlight-large {
  grid-column: span 1;
  grid-row: span 2;
  background: var(--gradient-hero);
  color: #fff;
  display: flex;
  flex-direction: column;
}
.highlight-wide {
  grid-column: span 2;
}
.highlight-emoji {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--primary-lighter);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: all var(--transition);
}
.highlight-emoji svg {
  width: 26px;
  height: 26px;
  stroke-width: 1.8;
}
.highlight-card:hover .highlight-emoji {
  background: var(--gradient-primary);
  color: #fff;
  transform: translateY(-4px) scale(1.05);
}
.highlight-large .highlight-emoji {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
}
.highlight-large:hover .highlight-emoji {
  background: rgba(255,255,255,0.25);
  transform: translateY(-4px) scale(1.05);
}
.highlight-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}
.highlight-large h3 { color: #fff; }
.highlight-card p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.8;
}
.highlight-large p { color: var(--text-light); flex: 1; }

.highlight-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.highlight-tech span {
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
}

/* ==================== Dashboard Mockup ==================== */
.dashboard-mockup {
  max-width: 1080px;
  margin: 0 auto;
}
.dashboard-window {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.dashboard-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: #F3F4F6;
  border-bottom: 1px solid var(--border);
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.dot-red { background: #FF5F57; }
.dot-yellow { background: #FEBC2E; }
.dot-green { background: #28C840; }
.dashboard-title-text {
  margin-left: 12px;
  font-size: 13px;
  color: var(--text-3);
  font-weight: 600;
}
.dash-time {
  margin-left: auto;
  font-size: 12px;
  color: var(--text-3);
}

.dashboard-body { padding: 0; }

/* Sidebar + Main Layout */
.dash-layout {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 600px;
}

/* Sidebar */
.dash-sidebar {
  background: #FAFBFC;
  border-right: 1px solid var(--border);
  padding: 20px 0;
}
.dash-side-section { margin-bottom: 24px; }
.dash-side-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-3);
  padding: 0 20px;
  margin-bottom: 8px;
}
.dash-side-item {
  font-size: 14px;
  color: var(--text-2);
  padding: 9px 20px;
  cursor: default;
  transition: all var(--transition);
  position: relative;
}
.dash-side-item.active {
  color: var(--primary);
  font-weight: 600;
  background: var(--primary-lighter);
}
.dash-side-item.active::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--primary);
}
.dash-side-item:hover:not(.active) {
  background: #F0F2F5;
}

/* Main */
.dash-main { padding: 20px; }

/* KPI Cards */
.dash-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}
.dash-card {
  background: linear-gradient(135deg, #F7F9FC 0%, #EFF4FF 100%);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.dash-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dash-card-label { font-size: 12px; color: var(--text-3); font-weight: 500; }
.dash-card-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.icon-blue { background: rgba(0,82,217,0.12); color: var(--primary); }
.icon-green { background: rgba(0,168,112,0.12); color: var(--success); }
.icon-orange { background: rgba(237,123,47,0.12); color: var(--warning); }
.icon-purple { background: rgba(102,51,153,0.12); color: #9966CC; }

.dash-card-value { font-size: 26px; font-weight: 800; color: var(--text-1); line-height: 1.2; }
.dash-card-unit { font-size: 14px; font-weight: 600; color: var(--text-3); margin-left: 2px; }
.dash-card-trend-wrap { display: flex; align-items: center; gap: 6px; }
.dash-card-trend { font-size: 12px; font-weight: 600; }
.dash-card-trend.up { color: var(--success); }
.dash-card-sub { font-size: 11px; color: var(--text-3); }

/* Panels */
.dash-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
}
.dash-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.dash-panel-head .chart-label { margin-bottom: 0; }
.dash-panel-head .chart-label small { font-size: 12px; font-weight: 400; color: var(--text-3); margin-left: 4px; }

.dash-panel-tabs { display: flex; gap: 4px; background: #F0F2F5; border-radius: 8px; padding: 3px; }
.dash-tab { font-size: 12px; font-weight: 600; color: var(--text-3); padding: 4px 12px; border-radius: 6px; cursor: pointer; transition: all var(--transition); }
.dash-tab.active { background: #fff; color: var(--primary); box-shadow: var(--shadow-sm); }

/* Charts Row */
.dash-charts-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
.dash-panel-lg { background: #FAFBFC; }

.chart-label { font-size: 14px; font-weight: 600; color: var(--text-2); }
.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 160px;
  padding-top: 10px;
}
.chart-bar {
  flex: 1;
  background: var(--primary-lighter);
  border-radius: 6px 6px 0 0;
  position: relative;
  transition: all var(--transition);
  min-height: 16px;
  cursor: pointer;
}
.chart-bar:hover { opacity: 0.7; }
.chart-bar.active { background: var(--gradient-primary); }
.chart-bar span {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  color: var(--text-3);
  white-space: nowrap;
}

/* Hourly Heatmap */
.hourly-heat {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}
.hourly-cell {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-3);
  padding: 14px 0;
  border-radius: 8px;
}
.h-low { background: #F0F4FA; color: #B0B8C4; }
.h-mid { background: #D6E4FF; color: var(--primary); }
.h-high { background: #85B4FF; color: #fff; }
.h-peak { background: var(--gradient-primary); color: #fff; box-shadow: var(--shadow-primary); }

.hourly-legend {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; color: var(--text-3);
}
.hourly-legend span { white-space: nowrap; }
.legend-bar {
  flex: 1; height: 6px; border-radius: 3px;
  background: linear-gradient(90deg, #F0F4FA, #D6E4FF, #85B4FF, var(--primary));
}

/* Bottom Row: 3 panels */
.dash-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}

/* Product Rank */
.dash-rank-list { display: flex; flex-direction: column; gap: 10px; }
.rank-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.rank-badge {
  width: 22px; height: 22px;
  border-radius: 6px;
  background: #E8ECF0;
  color: var(--text-3);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  flex-shrink: 0;
}
.rank-badge.badge-1 { background: var(--primary); color: #fff; }
.rank-badge.badge-2 { background: #5B8EF4; color: #fff; }
.rank-badge.badge-3 { background: #85B4FF; color: #fff; }
.rank-name { width: 56px; flex-shrink: 0; color: var(--text-2); font-weight: 500; }
.rank-bar-wrap { flex: 1; height: 8px; background: #F0F4FA; border-radius: 4px; overflow: hidden; }
.rank-bar { height: 100%; background: var(--gradient-primary); border-radius: 4px; }
.rank-value { font-size: 13px; font-weight: 700; color: var(--text-1); width: 52px; text-align: right; flex-shrink: 0; }

/* Donut Chart */
.donut-wrap { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.donut {
  width: 130px; height: 130px;
  border-radius: 50%;
  background: conic-gradient(
    var(--primary) 0% calc(var(--p1) * 1%),
    #07C160 calc(var(--p1) * 1%) calc((var(--p1) + var(--p2)) * 1%),
    #1677FF calc((var(--p1) + var(--p2)) * 1%) calc((var(--p1) + var(--p2) + var(--p3)) * 1%),
    var(--warning) calc((var(--p1) + var(--p2) + var(--p3)) * 1%) calc((var(--p1) + var(--p2) + var(--p3) + var(--p4)) * 1%),
    #9966CC calc((var(--p1) + var(--p2) + var(--p3) + var(--p4)) * 1%) 100%
  );
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.donut::after {
  content: '';
  position: absolute;
  inset: 18px;
  background: #fff;
  border-radius: 50%;
}
.donut-center { position: relative; z-index: 1; text-align: center; }
.donut-value { display: block; font-size: 18px; font-weight: 800; color: var(--text-1); }
.donut-label { display: block; font-size: 11px; color: var(--text-3); }

.donut-legend { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.donut-legend-item { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-2); }
.donut-legend-item small { margin-left: auto; font-weight: 700; color: var(--text-1); }
.dot-color { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

/* Employee Performance */
.emp-list { display: flex; flex-direction: column; gap: 12px; }
.emp-item { display: flex; align-items: center; gap: 10px; }
.emp-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  flex-shrink: 0;
}
.emp-avatar.avatar-2 { background: #07C160; }
.emp-avatar.avatar-3 { background: #ED7B2F; }
.emp-avatar.avatar-4 { background: #9966CC; }
.emp-info { flex: 1; }
.emp-name { font-size: 13px; font-weight: 600; color: var(--text-1); }
.emp-bar-wrap { margin-top: 4px; height: 6px; background: #F0F4FA; border-radius: 3px; overflow: hidden; }
.emp-bar { height: 100%; background: var(--primary); border-radius: 3px; }
.emp-bar-2 { background: #07C160; }
.emp-bar-3 { background: var(--warning); }
.emp-bar-4 { background: #9966CC; }
.emp-value { font-size: 13px; font-weight: 700; color: var(--text-1); flex-shrink: 0; }

/* Status Bar */
.dash-statusbar {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding: 12px 16px;
  background: #FAFBFC;
  border-radius: 10px;
  border: 1px solid var(--border);
}
.dash-status-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-3); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.status-dot.success { background: var(--success); box-shadow: 0 0 0 2px rgba(0,168,112,0.2); }
.status-dot.info { background: var(--primary); box-shadow: 0 0 0 2px rgba(0,82,217,0.2); }

/* ==================== Pricing ==================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1000px;
  margin: 0 auto;
}
.pricing-card {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: all var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}
.pricing-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.pricing-featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-primary);
  transform: scale(1.03);
}
.pricing-featured:hover {
  transform: scale(1.03) translateY(-4px);
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 50px;
  white-space: nowrap;
}

.pricing-header { text-align: center; margin-bottom: 28px; }
.pricing-header h3 { font-size: 22px; font-weight: 700; margin-bottom: 16px; }
.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin-bottom: 8px;
}
.price-symbol { font-size: 22px; font-weight: 700; color: var(--text-1); }
.price-amount {
  font-size: 52px;
  font-weight: 900;
  color: var(--text-1);
  line-height: 1;
}
.price-amount.contact { font-size: 24px; }
.price-period { font-size: 15px; color: var(--text-3); }
.pricing-desc { font-size: 14px; color: var(--text-3); }

.pricing-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-2);
}
.check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.check.muted { background: var(--border); color: var(--text-3); }
.check.highlight { background: var(--primary); }
.pricing-features li strong { color: var(--text-1); }

/* ==================== Tech ==================== */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.tech-item {
  text-align: center;
  padding: 36px 24px;
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
  transition: all var(--transition);
}
.tech-item:hover {
  background: #fff;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.tech-badge {
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  padding: 8px 20px;
  border-radius: 50px;
  background: var(--gradient-primary);
  color: #fff;
  margin-bottom: 16px;
  font-family: 'SF Mono', 'Fira Code', monospace;
}
.tech-item h4 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.tech-item p { font-size: 14px; color: var(--text-3); }

/* ==================== FAQ ==================== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all var(--transition);
}
.faq-item[open] {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  background: var(--primary);
  border-radius: 2px;
  transition: all var(--transition);
}
.faq-icon::before {
  width: 16px;
  height: 2.5px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.faq-icon::after {
  width: 2.5px;
  height: 16px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

.faq-answer {
  padding: 0 28px 24px;
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.8;
}
.faq-answer strong { color: var(--text-1); }

/* ==================== CTA ==================== */
.section-cta {
  position: relative;
  background: var(--bg-dark);
  overflow: hidden;
  padding: 120px 0;
}
.cta-bg { position: absolute; inset: 0; }
.cta-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.3;
}
.cta-glow-1 {
  width: 500px; height: 500px;
  background: var(--primary);
  top: -100px; left: 10%;
}
.cta-glow-2 {
  width: 400px; height: 400px;
  background: var(--success);
  bottom: -100px; right: 10%;
}
.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
}
.cta-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
  line-height: 1.2;
}
.cta-desc {
  font-size: 18px;
  color: var(--text-light-muted);
  margin-bottom: 36px;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.cta-note {
  font-size: 14px;
  color: var(--text-light-muted);
}

/* ==================== Footer ==================== */
.footer {
  background: #060F24;
  color: var(--text-light-muted);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .nav-logo { color: #fff; margin-bottom: 16px; }
.footer-slogan {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}
.footer-desc {
  font-size: 14px;
  line-height: 1.8;
  max-width: 320px;
}
.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  font-size: 14px;
  color: var(--text-light-muted);
  transition: color var(--transition);
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  text-align: center;
  font-size: 13px;
}
/* 备案号：紧贴版权行下方，弱化但不喧宾夺主，可点击跳转工信部备案系统 */
.footer-icp { margin-top: 8px; }
.footer-icp a {
  color: var(--text-light-muted);
  transition: color var(--transition);
}
.footer-icp a:hover { color: #fff; }

/* ==================== Reveal Animation ==================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--delay, 0s);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==================== Responsive ==================== */
@media (max-width: 1024px) {
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .highlight-grid { grid-template-columns: repeat(2, 1fr); }
  .highlight-large { grid-row: span 1; }
  .highlight-wide { grid-column: span 2; }
  .pricing-featured { transform: none; }
  .pricing-featured:hover { transform: translateY(-4px); }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    background: #fff;
    padding: 20px;
    gap: 4px;
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    transition: transform var(--transition);
    align-items: stretch;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 16px; }
  .nav-toggle { display: flex; }
  .nav-actions .btn { display: none; }

  .section { padding: 64px 0; }
  .section-header { margin-bottom: 40px; }

  .hero-desc br { display: none; }
  .hero-stats { flex-wrap: wrap; gap: 20px 0; }
  .stat-divider { display: none; }
  .stat-item { padding: 0 16px; }
  .stat-number { font-size: 28px; }

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

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

  .highlight-grid { grid-template-columns: 1fr; }
  .highlight-large, .highlight-wide { grid-column: span 1; grid-row: span 1; }

  .dash-cards { grid-template-columns: repeat(2, 1fr); }
  .dash-bottom { grid-template-columns: 1fr; }
  .dash-charts-row { grid-template-columns: 1fr; }
  .dash-layout { grid-template-columns: 1fr; }
  .dash-sidebar { display: none; }
  .chart-bars { gap: 6px; }

  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-featured { transform: none; }

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

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }

  .hide-mobile { display: none; }
  .cta-buttons { flex-direction: column; align-items: stretch; }
  .cta-buttons .btn { width: 100%; }
}

@media (max-width: 480px) {
  .dash-cards { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  .hero-title { letter-spacing: -1px; }
}
