* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* 主色系 */
  --primary-color: #3b82f6;
  --primary-hover: #2563eb;
  --primary-light: #eff6ff;
  
  /* 辅助色系 */
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --error-color: #ef4444;
  --excel-color: #217346;
  
  /* 背景色 */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-card: #ffffff;
  --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  
  /* 文本色 */
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;
  
  /* 边框色 */
  --border-color: #e2e8f0;
  --border-light: #f1f5f9;
  
  /* 阴影 */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  
  /* 圆角 */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  
  /* 间距 */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
}

/* 全局样式 */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  background: var(--bg-secondary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* 导航栏样式 */
.navbar {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
}

.brand-icon {
  color: var(--primary-color);
  font-size: 1.5rem;
}

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

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

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

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

/* 语言切换链接 */
.language-links {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.lang-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  padding: var(--spacing-xs);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.lang-link:hover {
  color: var(--primary-color);
  background: var(--primary-light);
}

.lang-link.active {
  color: var(--primary-color);
  background: var(--primary-light);
  font-weight: 600;
}

.lang-separator {
  color: var(--text-muted);
  font-weight: 300;
}

.btn-nav {
  background: var(--primary-color);
  color: var(--text-white);
  border: none;
  padding: var(--spacing-xs) var(--spacing-md);
  border-radius: var(--radius-md);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.btn-nav:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* 主内容区 */
.main-content {
  min-height: calc(100vh - 70px);
  padding-bottom: 0;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--spacing-xl) var(--spacing-lg);
}

/* Hero区域 */
.hero-section {
  text-align: center;
  padding: var(--spacing-md) 0;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  background: var(--bg-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
}

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

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.feature-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  background: var(--primary-light);
  color: var(--primary-color);
  padding: var(--spacing-xs) var(--spacing-md);
  border-radius: var(--radius-lg);
  font-weight: 500;
  font-size: 0.9rem;
}

/* 快速上手指南 */
.quick-start-section {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
  box-shadow: var(--shadow-sm);
}

.quick-start-content {
  max-width: 1000px;
  margin: 0 auto;
}

.quick-start-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-top: var(--spacing-sm);
}

.quick-start-tips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

.tip-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  padding: var(--spacing-lg);
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.tip-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
  background: var(--bg-card);
}

.tip-icon {
  color: var(--primary-color);
  font-size: 1.8rem;
  flex-shrink: 0;
  margin-top: 4px;
}

.tip-content h3 {
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
  font-size: 1.1rem;
  font-weight: 600;
}

.tip-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* 流程区域 */
.process-section {
  margin-bottom: var(--spacing-lg);
}

/* 步骤指示器 */
.step-indicator {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-bottom: var(--spacing-lg);
  padding: var(--spacing-lg) var(--spacing-md);
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow-x: auto;
  overflow-y: visible;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  transition: all 0.3s ease;
  min-width: 80px;
  flex-shrink: 0;
}

.step-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-bottom: var(--spacing-sm);
  border: 3px solid transparent;
}

.step.active .step-circle {
  background: var(--primary-color);
  color: var(--text-white);
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
  border-color: var(--primary-color);
}

.step.completed .step-circle {
  background: var(--success-color);
  color: var(--text-white);
  border-color: var(--success-color);
}

.step-info {
  text-align: center;
  max-width: 90px;
}

.step-number {
  display: none;
}

.step-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.4;
  word-break: keep-all;
  overflow-wrap: break-word;
  hyphens: auto;
}

.step.active .step-label {
  color: var(--primary-color);
  font-weight: 600;
}

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

.step-connector {
  width: 50px;
  height: 2px;
  background: var(--border-color);
  margin: 0 8px;
  margin-top: 26px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.step.active + .step-connector,
.step.completed + .step-connector {
  background: var(--primary-color);
}

/* 步骤内容区域 */
.step-content {
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-lg);
  margin-bottom: var(--spacing-lg);
  animation: fadeInUp 0.5s ease;
}

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

.step-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.step-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
}

.step-title i {
  color: var(--primary-color);
}

.step-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* 上传区域样式 */
.upload-section {
  display: grid;
  gap: var(--spacing-lg);
  align-items: center;
  margin-bottom: var(--spacing-xl);
}

.upload-card {
  background: var(--bg-primary);
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--spacing-lg);
  transition: all 0.3s ease;
}

.upload-card:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-md);
}

.card-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.file-badge {
  background: var(--primary-light);
  color: var(--primary-color);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
}

.upload-area {
  border: 2px dashed var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: var(--bg-secondary);
}

.upload-area:hover {
  border-color: var(--primary-color);
  background: var(--primary-light);
}

.upload-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
}

.upload-icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-sm);
}

.upload-icon {
  font-size: 2rem;
  color: var(--primary-color);
}

.upload-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.upload-hint {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

.btn-upload {
  background: var(--primary-color);
  color: var(--text-white);
  padding: var(--spacing-xs) var(--spacing-lg);
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.btn-upload:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

/* VS分隔符 */
.vs-separator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xs);
}

.vs-line {
  width: 2px;
  height: 40px;
  background: var(--border-color);
}

.vs-text {
  background: var(--primary-color);
  color: var(--text-white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

/* 工作表选择样式 */
.worksheet-section {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--spacing-lg);
  align-items: flex-start;
  margin-bottom: var(--spacing-xl);
  min-height: 200px; /* 确保有足够的高度 */
}

/* 工作表容器和选择样式 */
.worksheet-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  max-width: 800px;
  margin: 0 auto;
}

.worksheet-selection {
  background: var(--bg-primary);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.worksheet-selection:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

.worksheet-selection h3 {
  margin: 0 0 var(--spacing-md) 0;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.worksheet-selection h3::before {
  content: "📊";
  font-size: 1.2rem;
}

.select-wrapper {
  position: relative;
}

.select-wrapper select {
  width: 100%;
  padding: var(--spacing-md);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 1rem;
  cursor: pointer;
  appearance: none;
  transition: all 0.3s ease;
}

.select-wrapper select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.select-wrapper select:hover {
  border-color: var(--primary-hover);
}

.select-wrapper::after {
  content: "▼";
  position: absolute;
  right: var(--spacing-md);
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--text-secondary);
  transition: transform 0.3s ease;
}

.select-wrapper:hover::after {
  color: var(--primary-color);
}

/* 关键列选择样式 */
.key-column-section {
  max-width: 800px;
  margin: 0 auto;
}

.key-column-container {
  background: var(--bg-primary);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-sm);
}

.key-column-info {
  text-align: center;
  margin-bottom: var(--spacing-xl);
  padding: var(--spacing-lg);
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary-color);
}

.key-column-info p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin: 0;
  line-height: 1.6;
}

.key-column-selection {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
}

.column-select-group {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: var(--spacing-lg);
  transition: all 0.3s ease;
}

.column-select-group:hover {
  background: var(--bg-tertiary);
}

.column-select-group label {
  display: block;
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1rem;
}

.column-select-group .select-wrapper {
  position: relative;
}

.column-select-group .select-wrapper select {
  width: 100%;
  padding: var(--spacing-md);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 1rem;
  cursor: pointer;
  appearance: none;
  transition: all 0.3s ease;
}

.column-select-group .select-wrapper select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.column-select-group .select-wrapper::after {
  content: "🔑";
  position: absolute;
  right: var(--spacing-md);
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 1.2rem;
}

/* 对比内容列选择样式 */
.compare-columns-section {
  max-width: 900px;
  margin: 0 auto;
}

.compare-columns-container {
  background: var(--bg-primary);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-sm);
}

.compare-columns-info {
  text-align: center;
  margin-bottom: var(--spacing-xl);
  padding: var(--spacing-lg);
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--excel-color);
}

.compare-columns-info p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin: 0;
  line-height: 1.6;
}

.compare-columns-selection {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
}

.columns-select-group {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: var(--spacing-lg);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.columns-select-group:hover {
  background: var(--bg-tertiary);
  border-color: var(--excel-color);
}

.columns-select-group label {
  display: block;
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.columns-select-group label::before {
  content: "📊";
  font-size: 1.2rem;
}

.checkbox-container {
  max-height: 300px;
  overflow-y: auto;
  padding: var(--spacing-sm);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-primary);
}

.checkbox-container::-webkit-scrollbar {
  width: 6px;
}

.checkbox-container::-webkit-scrollbar-track {
  background: var(--bg-secondary);
  border-radius: 3px;
}

.checkbox-container::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 3px;
}

.checkbox-container::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-xs);
  margin-bottom: var(--spacing-xs);
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease;
  cursor: pointer;
}

.checkbox-item:hover {
  background: var(--bg-secondary);
}

.checkbox-item input[type="checkbox"] {
  margin: 0;
  cursor: pointer;
}

.checkbox-item label {
  margin: 0;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: normal;
  color: var(--text-primary);
  flex: 1;
}

.checkbox-item label::before {
  display: none;
}

.worksheet-card {
  background: var(--bg-primary);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--spacing-lg);
  transition: all 0.3s ease;
  min-width: 0; /* 防止内容溢出 */
}

.worksheet-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-lg);
}

.worksheet-count {
  background: var(--bg-tertiary);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
}

.worksheet-list {
  margin-top: var(--spacing-md);
  max-height: 300px;
  overflow-y: auto;
}

.worksheet-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-xs);
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--bg-secondary);
}

.worksheet-item:hover {
  border-color: var(--primary-color);
  background: var(--primary-light);
}

.worksheet-item.selected {
  border-color: var(--primary-color);
  background: var(--primary-light);
  box-shadow: var(--shadow-sm);
}

.worksheet-radio {
  margin: 0;
  cursor: pointer;
}

.worksheet-info-content {
  flex: 1;
}

.worksheet-name {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.worksheet-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  gap: var(--spacing-md);
}

.worksheet-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.worksheet-info {
  margin: var(--spacing-lg) 0;
}

.info-card {
  display: flex;
  gap: var(--spacing-md);
  padding: var(--spacing-lg);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--primary-color);
}

.info-card i {
  color: var(--primary-color);
  font-size: 1.2rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.info-content h4 {
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
  font-size: 1rem;
}

.info-content p {
  color: var(--text-secondary);
  margin: 2px 0;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* 按钮样式 */
.button-group {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  margin-top: var(--spacing-xl);
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  padding: var(--spacing-md) var(--spacing-xl);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  outline: none;
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  text-decoration: none;
  min-width: 120px;
  justify-content: center;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--text-white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover:not(:disabled) {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-primary:disabled {
  background: var(--bg-tertiary);
  color: var(--text-muted);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-secondary {
  background: var(--bg-primary);
  color: var(--text-primary);
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-secondary);
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* 步骤操作按钮样式 */
.step-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-md);
  margin-top: var(--spacing-xl);
  padding: var(--spacing-lg) 0;
}

.btn-next,
.btn-compare {
  padding: var(--spacing-md) var(--spacing-xl);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  outline: none;
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  text-decoration: none;
  min-width: 140px;
  justify-content: center;
  background: var(--primary-color);
  color: var(--text-white);
  box-shadow: var(--shadow-md);
}

.btn-next:hover:not(:disabled),
.btn-compare:hover:not(:disabled) {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-next:disabled,
.btn-compare:disabled {
  background: var(--bg-tertiary);
  color: var(--text-muted);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-next i {
  margin-left: var(--spacing-xs);
}

.btn-compare {
  background: var(--success-color);
}

.btn-compare:hover:not(:disabled) {
  background: #059669;
}

.compare-options {
  display: flex;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-md);
  align-items: center;
}

/* 文件信息样式 */
.file-info {
  margin-top: var(--spacing-md);
  padding: var(--spacing-md);
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--success-color);
}

.file-info h4 {
  color: var(--success-color);
  margin-bottom: var(--spacing-xs);
  font-size: 1rem;
  font-weight: 600;
}

.file-info p {
  color: var(--text-secondary);
  margin: 0;
  font-size: 0.9rem;
}

/* 上传区域 */
.upload-section {
  margin-bottom: var(--spacing-xl);
  padding: 0 var(--spacing-lg);
}

.upload-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  max-width: 1600px;
  margin: 0 auto;
  width: 100%;
}

/* 响应式：在移动设备上显示为上下布局 */
@media (max-width: 768px) {
  .upload-container {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .quick-start-tips {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
  
  .tip-item {
    padding: var(--spacing-md);
    gap: var(--spacing-sm);
  }
  
  .tip-icon {
    font-size: 1.4rem;
  }
}

.upload-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  min-height: 320px;
}

.upload-card h3 {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.upload-area {
  position: relative;
  background: var(--bg-primary);
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  overflow: hidden;
}

.upload-box {
  padding: var(--spacing-xl) var(--spacing-lg);
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.upload-area:hover {
  border-color: var(--primary-color);
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.upload-area.active {
  border-color: var(--primary-color);
  background: var(--primary-light);
  box-shadow: var(--shadow-md);
}

.upload-icon {
  font-size: 3rem;
  color: var(--text-muted);
  margin-bottom: var(--spacing-md);
  transition: color 0.3s ease;
}

.upload-area:hover .upload-icon {
  color: var(--primary-color);
}

.upload-text {
  color: var(--text-secondary);
}

.upload-text h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
  color: var(--text-primary);
}

.upload-text p {
  margin-bottom: var(--spacing-xs);
  color: var(--text-muted);
}

.file-types {
  font-size: 0.875rem;
  color: var(--text-light);
  font-weight: 500;
}

/* 文件信息显示 */
.file-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.file-details {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.file-details i {
  color: var(--excel-color);
  font-size: 1.5rem;
}

.filename {
  font-weight: 600;
  color: var(--text-primary);
  margin-right: var(--spacing-xs);
}

.filesize {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.btn-remove {
  background: var(--error-color);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: var(--spacing-xs) var(--spacing-sm);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-remove:hover {
  background: #dc2626;
}

/* 隐藏原生文件输入 */
input[type="file"] {
  display: none;
}

.upload-text {
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.upload-hint {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.file-info {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--bg-secondary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.file-info-icon {
  width: 24px;
  height: 24px;
  color: var(--accent-green);
}

.file-info-text {
  flex: 1;
}

.file-info-name {
  font-weight: 500;
  color: var(--text-primary);
}

.file-info-size {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* 步骤描述 */
.step-description {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1.125rem;
}

/* 选择区域 */
.selection-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.selection-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.selection-card h3 {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.select-input {
  width: 100%;
  padding: 0.75rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 1rem;
  cursor: pointer;
}

.select-input:focus {
  outline: none;
  border-color: var(--accent-blue);
}

/* 复选框组 */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--bg-secondary);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
}

.checkbox-item:hover {
  background: rgba(59, 130, 246, 0.04);
  box-shadow: var(--shadow-sm);
}

.checkbox-item input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(--accent-blue);
}

.checkbox-item label {
  flex: 1;
  cursor: pointer;
  color: var(--text-primary);
}

/* 结果展示 */
.results-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}

.results-header h2 {
  font-size: 1.75rem;
  color: var(--text-primary);
  text-align: center;
}

.download-section {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

.download-card {
  background: var(--bg-card);
  border: 2px solid var(--accent-blue);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  max-width: 400px;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
}

.download-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 10px 10px -5px rgb(0 0 0 / 0.04);
}

.download-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  display: block;
}

.download-card h3 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.download-desc {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.5;
}

.download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  min-width: 200px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--accent-blue), #60a5fa);
  border: none;
  border-radius: var(--radius);
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.download-btn:hover {
  background: linear-gradient(135deg, var(--accent-blue-hover), var(--accent-blue));
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.download-svg {
  width: 20px;
  height: 20px;
}

.export-section {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.export-hint {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

.export-details {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 2rem 0;
  box-shadow: var(--shadow-sm);
}

.export-details h3 {
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-size: 1.125rem;
}

.export-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.export-info-item {
  background: var(--bg-secondary);
  border-radius: var(--radius);
  padding: 1rem;
  border-left: 4px solid var(--accent-blue);
}

.export-sheet-name {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.export-sheet-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.results-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.tab-btn {
  padding: 0.75rem 1.5rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}

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

.tab-btn.active {
  color: var(--accent-blue);
  border-bottom-color: var(--accent-blue);
}

.results-table {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: auto;
  max-height: 600px;
  box-shadow: var(--shadow-sm);
}

.results-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.results-table th {
  background: var(--bg-secondary);
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--text-primary);
  position: sticky;
  top: 0;
  z-index: 10;
}

.results-table td {
  padding: 1rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.status-matched {
  background: rgba(16, 185, 129, 0.2);
  color: var(--accent-green);
}

.status-different {
  background: rgba(245, 158, 11, 0.2);
  color: var(--accent-yellow);
}

.status-file1only {
  background: rgba(59, 130, 246, 0.2);
  color: var(--accent-blue);
}

.status-file2only {
  background: rgba(139, 92, 246, 0.2);
  color: #a78bfa;
}

.diff-highlight {
  background: rgba(245, 158, 11, 0.2);
  padding: 0.125rem 0.25rem;
  border-radius: 4px;
}

/* 弹窗 */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-content {
  background: var(--bg-card);
  border-radius: var(--radius);
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow: auto;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
  font-size: 1.5rem;
  color: var(--text-primary);
}

.modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 32px;
  height: 32px;
}

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

.modal-body {
  padding: var(--spacing-xl);
  max-height: 70vh;
  overflow-y: auto;
}

/* 指南介绍 */
.guide-intro {
  text-align: center;
  margin-bottom: var(--spacing-xl);
  padding: var(--spacing-lg);
  background: var(--primary-light);
  border-radius: var(--radius-lg);
}

.guide-intro h3 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
}

.guide-intro p {
  color: var(--text-secondary);
  margin: 0;
}

/* 指南步骤 */
.instruction-step {
  display: flex;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
  align-items: flex-start;
  padding: var(--spacing-lg);
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--primary-color);
}

.instruction-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}

.instruction-content {
  flex: 1;
}

.instruction-content h3 {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: var(--spacing-xs);
  font-weight: 600;
}

.instruction-content p {
  color: var(--text-secondary);
  margin: 0 0 var(--spacing-sm) 0;
  line-height: 1.6;
}

/* 提示信息 */
.tip {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-xs) var(--spacing-sm);
  background: var(--bg-primary);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
}

.tip i {
  color: var(--warning-color);
}

/* 功能特点 */
.guide-features {
  margin: var(--spacing-xl) 0;
  padding: var(--spacing-lg);
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
}

.guide-features h3 {
  color: var(--success-color);
  margin-bottom: var(--spacing-md);
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.feature-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-sm);
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.feature-list li i {
  color: var(--success-color);
  width: 16px;
}

/* 使用技巧 */
.guide-tips {
  margin: var(--spacing-xl) 0;
  padding: var(--spacing-lg);
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg-secondary) 100%);
  border-radius: var(--radius-lg);
}

.guide-tips h3 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-md);
}

.tip-item {
  background: var(--bg-primary);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.tip-item strong {
  color: var(--primary-color);
  font-weight: 600;
  display: block;
  margin-bottom: var(--spacing-xs);
}

.tip-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.4;
}

/* 页脚样式 */
.footer {
  background: var(--text-primary);
  color: var(--text-white);
  margin-top: var(--spacing-xl);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--spacing-xl) var(--spacing-lg);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-lg);
}

.footer-section h4 {
  color: var(--text-white);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section li {
  margin-bottom: var(--spacing-xs);
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.footer-section li i {
  color: var(--success-color);
  width: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-md);
}

.footer-desc {
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: var(--spacing-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.footer-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

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

/* 页脚语言切换 */
.footer-language-links {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.footer-lang-link {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  font-size: 0.875rem;
}

.footer-lang-link:hover {
  color: var(--primary-color);
  background: rgba(59, 130, 246, 0.1);
}

.footer-lang-link.active {
  color: var(--primary-color);
  background: rgba(59, 130, 246, 0.1);
  font-weight: 600;
}

.footer-lang-separator {
  color: var(--text-muted);
  font-weight: 300;
  margin: 0 4px;
}

.footer-link {
  color: var(--text-light);
  cursor: pointer;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--text-white);
}

.footer-separator {
  color: #4b5563;
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .upload-section {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .vs-separator {
    flex-direction: row;
    gap: var(--spacing-md);
  }
  
  .vs-line {
    width: 40px;
    height: 2px;
  }
}

@media (max-width: 768px) {
  .nav-container {
    padding: 0 var(--spacing-md);
  }
  
  .nav-menu {
    gap: var(--spacing-md);
  }
  
  .nav-link {
    display: none;
  }
  
  .hero-title {
    font-size: 2rem;
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  /* 确保工作表选择在小屏幕上仍然是左右布局 */
  .worksheet-section {
    grid-template-columns: 1fr auto 1fr;
    gap: var(--spacing-md);
  }
  
  .worksheet-card {
    padding: var(--spacing-md);
  }
  
  .hero-features {
    flex-direction: column;
    align-items: center;
  }
  
  .step-indicator {
    padding: var(--spacing-md);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  
  .step-indicator::-webkit-scrollbar {
    height: 4px;
  }
  
  .step-indicator::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 2px;
  }
  
  .step {
    min-width: 70px;
  }
  
  .step-circle {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }
  
  .step.active .step-circle {
    transform: scale(1.1);
  }
  
  .step-info {
    max-width: 70px;
  }
  
  .step-label {
    font-size: 0.7rem;
  }
  
  .step-connector {
    width: 30px;
    margin: 0 4px;
    margin-top: 21px;
  }
  
  .container {
    padding: var(--spacing-lg) var(--spacing-md);
  }
  
  .step-content {
    padding: var(--spacing-lg);
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-actions {
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
  }
  
  .footer-language-links {
    margin-top: var(--spacing-xs);
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.75rem;
  }
  
  .step-title {
    font-size: 1.5rem;
    flex-direction: column;
    gap: var(--spacing-xs);
  }
  
  .button-group {
    flex-direction: column;
    align-items: center;
  }
  
  /* 在很小的屏幕上改为上下布局 */
  .worksheet-section {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .vs-separator {
    order: 2;
    flex-direction: row;
    justify-content: center;
    margin: var(--spacing-md) 0;
  }
  
  .worksheet-card:first-child {
    order: 1;
  }
  
  .worksheet-card:last-child {
    order: 3;
  }
  
  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 300px;
  }
}

/* 优化的结果页面样式 */
.result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding: 1.5rem 0;
  border-bottom: 2px solid var(--border-light);
}

.result-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn-export-excel {
  background: linear-gradient(135deg, #217346, #10b981);
  color: white;
  border: none;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.btn-export-excel:hover {
  background: linear-gradient(135deg, #1e6940, #059669);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-export-excel:active {
  transform: translateY(0);
}

.btn-reset {
  background: linear-gradient(135deg, #6b7280, #9ca3af);
  color: white;
  border: none;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-lg);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}

.btn-reset:hover {
  background: linear-gradient(135deg, #4b5563, #6b7280);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.stats-container {
  margin-bottom: 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

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

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: block;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.result-preview-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
}

.preview-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.preview-title {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.preview-description {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

.preview-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.preview-stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary-color);
}

.preview-stat-item .stat-label {
  font-weight: 500;
  color: var(--text-secondary);
}

.preview-stat-item .stat-value {
  font-weight: 700;
  font-size: 1.125rem;
}

.preview-stat-item .stat-value.matched {
  color: var(--success-color);
}

.preview-stat-item .stat-value.different {
  color: var(--warning-color);
}

.preview-stat-item .stat-value.file1only {
  color: var(--primary-color);
}

.preview-stat-item .stat-value.file2only {
  color: #8b5cf6;
}

.result-tips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.tip-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.tip-card:hover {
  background: var(--bg-tertiary);
  transform: translateY(-2px);
}

.tip-card i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.tip-card h4 {
  font-size: 1.125rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.tip-card p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .result-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .result-actions {
    width: 100%;
    justify-content: center;
  }
  
  .btn-export-excel,
  .btn-reset {
    flex: 1;
    justify-content: center;
  }
  
  .preview-stats {
    grid-template-columns: 1fr;
  }
  
  .result-tips {
    grid-template-columns: 1fr;
  }
}

/* 增强的快速上手指南样式 */
.security-notice {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  margin: 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  box-shadow: var(--shadow-md);
}

.security-notice i {
  font-size: 1.25rem;
}

.tip-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
  margin-bottom: 1rem;
}

.tip-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.step-number {
  background: var(--primary-color);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.tip-icon {
  color: var(--primary-color);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.tip-content {
  flex: 1;
}

.tip-content h3 {
  color: var(--text-primary);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.tip-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
}

.features-highlight {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border-light);
}

.features-highlight h3 {
  color: var(--text-primary);
  font-size: 1.375rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}

.features-highlight h3 i {
  color: var(--warning-color);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.feature-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: var(--bg-tertiary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.feature-item i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.feature-item h4 {
  color: var(--text-primary);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.feature-item p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* 针对快速上手指南的响应式优化 */
@media (max-width: 768px) {
  .security-notice {
    text-align: center;
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .tip-item {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .step-number {
    align-self: center;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
}

/* 导航栏语言切换器样式 */
.language-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

.language-switcher:hover {
  background: var(--bg-tertiary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.lang-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.lang-link:hover {
  color: var(--primary-color);
  background: var(--primary-light);
}

.lang-link.active {
  color: var(--primary-color);
  background: var(--primary-light);
  font-weight: 600;
}

.lang-link i {
  font-size: 0.75rem;
}

.lang-separator {
  color: var(--border-color);
  font-size: 0.875rem;
  margin: 0 0.25rem;
}

/* 响应式设计 - 语言切换器 */
@media (max-width: 768px) {
  .nav-menu {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .language-switcher {
    margin-left: 0;
    margin-top: 0.5rem;
  }
  
  .lang-link {
    font-size: 0.8rem;
  }
}
