*{box-sizing:border-box}
html,body{margin:0;padding:0;font-family:"Microsoft YaHei","PingFang SC","Noto Sans SC",sans-serif;color:#2c3e50;background:#fafbfc}
.app-container{display:flex;min-height:100vh}
/* 侧边栏优化 */
.sidebar{width:280px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:24px;box-shadow:4px 0 20px rgba(102,126,234,.2);position:relative;overflow:hidden}
.sidebar:before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(45deg,transparent 30%,rgba(255,255,255,.1) 50%,transparent 70%);animation:sidebarShine 3s infinite}
@keyframes sidebarShine{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}
.sidebar-header{margin-bottom:40px;text-align:center;position:relative;z-index:1}
.sidebar-logo{font-size:28px;font-weight:800;margin-bottom:8px;text-shadow:0 2px 4px rgba(0,0,0,.1)}
.sidebar-subtitle{font-size:14px;opacity:.9;font-weight:500}
.sidebar-nav{display:flex;flex-direction:column;gap:12px;position:relative;z-index:1}
.sidebar-nav-item{display:flex;align-items:center;padding:16px 20px;border-radius:12px;text-decoration:none;color:#fff;font-weight:600;transition:all .4s cubic-bezier(0.4,0,0.2,1);position:relative;overflow:hidden;border:1px solid rgba(255,255,255,.1)}
.sidebar-nav-item:before{content:'';position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.2),transparent);transition:left .6s ease}
.sidebar-nav-item:hover{background:rgba(255,255,255,.2);transform:translateX(8px);border-color:rgba(255,255,255,.3)}
.sidebar-nav-item:hover:before{left:100%}
.sidebar-nav-item.active{background:#fff;color:#667eea;box-shadow:0 8px 24px rgba(0,0,0,.15);transform:translateX(8px);border-color:#fff}
.sidebar-nav-icon{width:24px;height:24px;margin-right:16px;transition:transform .3s ease}
.sidebar-nav-item:hover .sidebar-nav-icon{transform:scale(1.1)}
.main-content{flex:1;padding:0;background:#f8fff9}
.header{background:#fff;color:#2c3e50;padding:20px;border-bottom:1px solid #e8f6ef}
/* Header actions区域 - 专门容纳主题切换等元素 */
.header-actions{display:flex;align-items:center;gap:12px;position:relative}
.theme-toggle-container{position:relative;margin-left:12px}
.brand{margin-right:0}
.header-row{display:flex;align-items:center;justify-content:space-between}
.title h1{margin:0;font-size:26px;color:#2c3e50}
.title p{margin:6px 0 0;color:#7f8c8d}
.brand{background:#667eea;color:#fff;padding:8px 14px;border-radius:999px;font-weight:700;margin-right:60px}
.container{max-width:1200px;margin:0 auto;padding:20px}
.nav-link{display:inline-block;background:#fff;color:#667eea;padding:8px 14px;border-radius:999px;border:1px solid #cdd9ff;text-decoration:none;font-weight:600}
.nav-link:hover{filter:brightness(1.05)}
.nav-link.active{background:#667eea;color:#fff;border-color:#667eea}
.controls{display:flex;flex-wrap:wrap;gap:16px;margin:16px 0;padding:16px;border:1px solid #e8ecff;background:#fafbfc;border-radius:8px}
.control-group{display:flex;flex-direction:column;gap:6px}
.control-group label{font-size:14px;color:#2c3e50}
select,input[type=number]{padding:8px;border:1px solid #cdd9ff;border-radius:6px;background:#fff}
.radios{display:flex;gap:12px}
.radio{display:flex;align-items:center;gap:6px}
.checkbox{display:flex;align-items:center;gap:8px}
.actions{display:flex;gap:12px;margin-top:4px}
.btn{padding:10px 14px;border-radius:6px;border:1px solid #667eea;cursor:pointer;font-weight:600}
.btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}
.btn-outline{background:#fff;color:#667eea}
.btn:hover{filter:brightness(1.05)}
.paper{padding:10px;border:1px solid #eaeaea;border-radius:8px}
.paper-header{display:flex;flex-direction:column;gap:8px;margin-bottom:12px}
.paper-header h2{margin:0;text-align:center}
.paper-header .summary{font-size:14px;text-align:center;color:#2c3e50}
.info{font-size:14px;color:#7f8c8d;text-align:center}
.grid{display:flex;flex-direction:column;gap:12px}
.row{display:flex;gap:12px}
.cell{flex:1;border:1px solid #e8f6ef;padding:12px;border-radius:6px;min-height:120px;background:#ffffff}
.q{font-size:16px;color:#34495e}
.a{margin-top:6px;color:#667eea}
.line{margin-top:8px;height:1px;background:linear-gradient(to right,#dfe6e9 60%,transparent 0);background-size:10px 1px;background-repeat:repeat-x}
.placeholder{padding:20px;text-align:center;color:#95a5a6}
.answers-only .line{display:none}
.answers-only .q{display:none}
.answers-only .cell{min-height:auto}
.answers-only .a{color:#34495e}
.about{padding:10px}
.card{border:1px solid #e8f6ef;border-radius:8px;padding:16px;margin-bottom:12px;background:#ffffff}
.card h2{margin:0 0 8px;color:#2c3e50;text-align:left}
.list{margin:0;padding-left:18px;color:#34495e}
/* 响应式设计优化 */
@media (max-width: 768px){
  .app-container{flex-direction:column}
  .sidebar{width:100%;box-shadow:none;border-bottom:1px solid rgba(255,255,255,.2);padding:16px}
  .sidebar-header{margin-bottom:16px}
  .sidebar-logo{font-size:22px}
  .sidebar-nav{flex-direction:row;overflow-x:auto;gap:8px;padding-bottom:8px}
  .sidebar-nav-item{white-space:nowrap;min-width:fit-content;padding:12px 16px;font-size:14px;border-radius:8px}
  .sidebar-nav-icon{width:20px;height:20px;margin-right:8px}
  .main-content{padding-top:0}
  .header{padding:16px}
  .title h1{font-size:22px}
  .title p{font-size:14px}
  .container{padding:16px}
  .controls{padding:20px;margin:16px 0;gap:16px}
  .control-group{min-width:100%}
  .actions{flex-direction:column;gap:8px}
  .btn{width:100%;padding:14px 20px}
  .paper{padding:20px;margin:16px 0}
  .paper-header h2{font-size:22px}
  .paper-header .summary{padding:10px 16px;font-size:13px}
  .row{flex-direction:column;gap:12px}
  .cell{min-height:120px;padding:16px}
  .q{font-size:15px}
  .info{padding:12px;font-size:13px}
  /* 移动端主题切换按钮优化 - 移到右下角 */
  .theme-toggle{position:fixed;bottom:24px;right:16px;top:auto;transform:scale(.85);z-index:1000}
  .theme-dark .theme-toggle{bottom:24px;right:16px}
  .header-actions{flex-direction:row;align-items:center;gap:8px}
  .brand{margin-right:0;font-size:12px;padding:6px 10px}
  .theme-toggle-container{margin-left:8px}
  /* 移动端暗色主题增强对比度 */
  .theme-dark .title h1{font-size:20px;color:#ffffff}
  .theme-dark .title p{font-size:13px;color:#e2e8f0}
  .theme-dark .brand{font-size:11px;padding:5px 8px}
  .theme-dark .controls{padding:16px;margin:12px 0}
  .theme-dark .control-group label{font-size:13px;color:#ffffff;font-weight:500}
  /* 移动端主题切换按钮特殊处理 */
  .theme-toggle button{padding:12px 14px;font-size:20px;min-width:42px}
  .theme-dark .theme-toggle button{padding:12px 14px}
  /* 移动端暗色主题标签文字高对比度 */
  .theme-dark .control-group label{font-size:14px;color:#ffffff;font-weight:700;text-shadow:0 1px 3px rgba(0,0,0,.6)}
  .theme-dark .radio label{font-size:13px;color:#ffffff;font-weight:600;text-shadow:0 1px 2px rgba(0,0,0,.5)}
  .theme-dark .checkbox label{font-size:13px;color:#ffffff;font-weight:600;text-shadow:0 1px 2px rgba(0,0,0,.5)}
  .theme-dark small{font-size:12px;color:#f0f4f8;font-weight:500;text-shadow:0 1px 2px rgba(0,0,0,.4)}
  .theme-dark .summary{font-size:13px;color:#ffffff;font-weight:700;text-shadow:0 1px 3px rgba(0,0,0,.6)}
}

/* 数学题目响应式设计 */
@media (max-width: 768px){
  .math-questions{gap:16px}
  .math-question-item{padding:16px;border-radius:12px}
  .question-header{margin-bottom:12px;padding-bottom:8px}
  .question-number{font-size:12px;padding:4px 8px}
  .question-type{font-size:11px;padding:3px 8px}
  .question-content{font-size:16px;padding:12px;min-height:50px}
  .answer-section{padding:16px}
  .answer-label{font-size:14px}
  .answer-value{font-size:14px;padding:6px 12px}
  .step-item{padding:8px;margin-bottom:8px}
  .step-number{font-size:14px;min-width:20px}
  .step-content{font-size:13px}
  .answer-line{margin-top:12px}
}

@media (max-width: 480px){
  .math-question-item{padding:12px}
  .question-content{font-size:15px;padding:10px}
  .answer-section{padding:12px}
  .solution-steps{margin-top:12px;padding-top:12px}
  .step-item{margin-bottom:6px}
}

/* 考试界面优化样式 */
.exam-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

.exam-header {
  background: linear-gradient(135deg, #ffffff, #f8fff9);
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid #e8f6ef;
  text-align: center;
}

.exam-title {
  font-size: 32px;
  font-weight: 800;
  color: #2c3e50;
  margin: 0 0 8px 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.exam-subtitle {
  font-size: 16px;
  color: #7f8c8d;
  margin-bottom: 24px;
  font-weight: 500;
}

.exam-meta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.exam-meta-item {
  background: linear-gradient(135deg, #f8f9ff, #e8ecff);
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 14px;
  color: #667eea;
  font-weight: 600;
  border: 1px solid #d5e3ff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.exam-timer {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
  font-size: 20px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 25px;
  box-shadow: 0 4px 16px rgba(231, 76, 60, 0.3);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.exam-progress {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid #e8f6ef;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.progress-label {
  font-size: 16px;
  font-weight: 600;
  color: #2c3e50;
}

.progress-text {
  font-size: 14px;
  color: #667eea;
  font-weight: 600;
}

.progress-bar {
  background: #e8f6ef;
  height: 10px;
  border-radius: 5px;
  overflow: hidden;
  margin: 16px 0;
}

.progress-fill {
  background: linear-gradient(135deg, #667eea, #764ba2);
  height: 100%;
  border-radius: 5px;
  transition: width 0.3s ease;
}

.progress-stats {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}

.stat-item {
  font-size: 14px;
  color: #7f8c8d;
  font-weight: 500;
}

.exam-question-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid #e8f6ef;
  position: relative;
}

.question-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0f0f0;
}

.question-number-badge {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.question-type {
  background: #f8f9ff;
  color: #667eea;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid #e8ecff;
}

.question-content {
  font-size: 20px;
  line-height: 1.8;
  color: #2c3e50;
  margin: 24px 0;
  padding: 24px;
  background: linear-gradient(135deg, #f8f9ff, #ffffff);
  border-radius: 16px;
  border-left: 4px solid #667eea;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.question-options {
  margin: 24px 0;
}

.option-item {
  background: linear-gradient(135deg, #f8f9ff, #ffffff);
  border: 2px solid #e8ecff;
  border-radius: 16px;
  padding: 20px 24px;
  margin: 16px 0;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.option-item:hover {
  border-color: #667eea;
  background: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.15);
}

.option-item.selected {
  border-color: #667eea;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

.option-radio {
  width: 24px;
  height: 24px;
  border: 3px solid #cdd9ff;
  border-radius: 50%;
  position: relative;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.option-item.selected .option-radio {
  border-color: white;
  background: white;
}

.option-item.selected .option-radio::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: #667eea;
  border-radius: 50%;
}

.answer-section {
  margin-top: 24px;
}

.answer-input {
  width: 100%;
  padding: 20px 24px;
  border: 2px solid #e8f6ef;
  border-radius: 16px;
  font-size: 18px;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #f8fff9, #ffffff);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.answer-input:focus {
  outline: none;
  border-color: #667eea;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1), 0 8px 24px rgba(0, 0, 0, 0.1);
}

.exam-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
}

.exam-btn {
  padding: 18px 36px;
  border-radius: 16px;
  border: none;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 140px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.exam-btn-primary {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
}

.exam-btn-secondary {
  background: linear-gradient(135deg, #f8fff9, #ffffff);
  color: #2c3e50;
  border: 2px solid #e8f6ef;
}

.exam-btn-danger {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
}

.exam-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.exam-results {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e8f6ef;
}

.results-title {
  font-size: 24px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 16px;
}

.results-score {
  font-size: 48px;
  font-weight: 800;
  color: #667eea;
  margin: 24px 0;
}

.results-details {
  display: flex;
  justify-content: space-around;
  margin: 24px 0;
  flex-wrap: wrap;
  gap: 16px;
}

.result-item {
  background: #f8fff9;
  padding: 16px 24px;
  border-radius: 12px;
  border: 1px solid #e8f6ef;
}

.result-label {
  font-size: 14px;
  color: #7f8c8d;
  margin-bottom: 4px;
}

.result-value {
  font-size: 24px;
  font-weight: 700;
  color: #2c3e50;
}

/* 数学题目打印优化 */
@media print{
  body{background:#fff;font-size:12px}
  .exam-container { padding: 0; }
  .exam-header, .exam-progress { display: none; }
  .exam-question { break-inside: avoid; margin-bottom: 20px; }
  .exam-actions { display: none; }
  .math-questions{gap:12px}
  .math-question-item{border:1px solid #ddd;padding:16px;margin-bottom:12px;box-shadow:none}
  .math-question-item:hover{transform:none;box-shadow:none}
  .question-number{background:#f0f0f0;color:#333;border:1px solid #ccc}
  .question-content{background:#fff;border-left:2px solid #667eea;font-size:12px;line-height:1.5}
  .answer-section{background:#f9f9ff;border:1px solid #e8ecff}
  .answer-value{background:#fff;border:1px solid #cdd9ff}
  .step-item{background:#fff;border-left:2px solid #667eea}
  .answer-line{background:#667eea;height:1px;margin-top:6px;margin-bottom:6px}
  .print-grid{page-break-inside:auto}
  .print-page{page-break-after:always}
  .print-row{display:flex;gap:6px;margin-bottom:8px}
  .print-item{flex:1;border:1px solid #ddd;padding:8px;border-radius:4px;min-height:40px}
  .print-item .num{display:inline-block;margin-right:6px;color:#333;font-size:11px}
  .print-item .text{display:inline-block;font-size:11px;color:#000;margin-bottom:6px}
  .print-opts{margin-top:6px}
  .print-opts .opt{display:inline-block;margin-right:10px;font-size:11px;color:#000}
}

@media (max-width: 480px){
  .sidebar-nav-item{padding:10px 12px;font-size:13px}
  .sidebar-nav-icon{width:18px;height:18px;margin-right:6px}
  
  /* 考试界面移动端优化 */
  .exam-container {
    padding: 16px;
  }
  
  .exam-header {
    padding: 24px 20px;
    margin-bottom: 16px;
  }
  
  .exam-title {
    font-size: 24px;
  }
  
  .exam-subtitle {
    font-size: 14px;
    margin-bottom: 20px;
  }
  
  .exam-meta {
    gap: 10px;
    font-size: 12px;
  }
  
  .exam-meta-item {
    padding: 8px 14px;
    font-size: 12px;
  }
  
  .exam-timer {
    font-size: 16px;
    padding: 10px 20px;
  }
  
  .exam-progress {
    padding: 20px 16px;
    margin-bottom: 16px;
  }
  
  .progress-info {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  
  .progress-label {
    font-size: 14px;
  }
  
  .progress-text {
    font-size: 13px;
  }
  
  .progress-bar {
    height: 8px;
    margin: 12px 0;
  }
  
  .progress-stats {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  
  .stat-item {
    font-size: 13px;
  }
  
  .exam-question-card {
    padding: 24px 16px;
    margin-bottom: 16px;
  }
  
  .question-header {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  
  .question-number-badge {
    font-size: 12px;
    padding: 6px 14px;
  }
  
  .question-type {
    font-size: 11px;
    padding: 4px 12px;
  }
  
  .question-content {
    font-size: 16px;
    padding: 16px;
    margin: 16px 0;
    line-height: 1.6;
  }
  
  .option-item {
    padding: 14px 16px;
    margin: 10px 0;
    font-size: 14px;
  }
  
  .option-radio {
    width: 20px;
    height: 20px;
  }
  
  .answer-section {
    margin-top: 16px;
  }
  
  .answer-input {
    padding: 14px 16px;
    font-size: 14px;
  }
  
  .exam-actions {
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
  }
  
  .exam-btn {
    width: 100%;
    padding: 14px 24px;
    font-size: 14px;
    min-width: auto;
  }
  
  .exam-results {
    padding: 24px 16px;
  }
  
  .results-title {
    font-size: 20px;
  }
  
  .results-score {
    font-size: 36px;
  }
  
  .results-details {
    flex-direction: column;
    gap: 12px;
  }
  
  .result-item {
    padding: 12px 16px;
  }
  
  .result-value {
    font-size: 18px;
  }
}
@media (max-width: 768px){
  .controls{padding:16px;gap:12px}
  .paper{padding:16px}
  .paper-header h2{font-size:20px}
  .paper-header .summary{font-size:12px;padding:8px 12px}
  .cell{padding:14px;min-height:100px}
  .q{font-size:14px}
  .a{font-size:13px;padding:6px 10px}
}
/* 数学题目专用样式 */
.math-questions{display:flex;flex-direction:column;gap:24px}
.math-question-item{background:#ffffff;border:2px solid #e8ecff;border-radius:16px;padding:24px;position:relative;transition:all .4s ease;box-shadow:0 4px 16px rgba(0,0,0,.05)}
.math-question-item:hover{transform:translateY(-4px);box-shadow:0 8px 32px rgba(0,0,0,.1);border-color:#764ba2}
.math-question-item:before{content:'';position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(135deg,#764ba2,#667eea);border-radius:16px 16px 0 0;opacity:0;transition:opacity .3s ease}
.math-question-item:hover:before{opacity:1}
.question-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px;padding-bottom:12px;border-bottom:1px solid #f0f0f0}
.question-number{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:6px 12px;border-radius:999px;font-size:14px;font-weight:700;box-shadow:0 2px 8px rgba(102,126,234,.3)}
.question-type{background:#f8f9ff;color:#667eea;padding:4px 12px;border-radius:999px;font-size:12px;font-weight:600;border:1px solid #e8ecff}
.question-content{font-size:18px;color:#2c3e50;line-height:1.8;font-weight:500;padding:16px;background:#f8f9ff;border-radius:12px;border-left:4px solid #667eea;margin-bottom:16px;min-height:60px;display:flex;align-items:center}
.answer-section{background:linear-gradient(135deg,#f8f9ff,#e8ecff);border-radius:12px;padding:20px;border:1px solid #e8ecff}
.answer-item{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.answer-label{font-weight:700;color:#2c3e50;font-size:16px}

/* 首页新样式 */
.home{padding:0}

/* 欢迎区域 */
.hero-section{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;padding:60px 40px;margin:-20px -20px 40px;text-align:center;position:relative;overflow:hidden}
.hero-section:before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background:radial-gradient(circle at 30% 20%,rgba(255,255,255,.1) 0%,transparent 50%),radial-gradient(circle at 70% 80%,rgba(255,255,255,.1) 0%,transparent 50%)}
.hero-content{position:relative;z-index:1;max-width:800px;margin:0 auto}
.hero-title{font-size:48px;font-weight:800;margin-bottom:16px;text-shadow:0 2px 4px rgba(0,0,0,.1)}
.hero-subtitle{font-size:20px;margin-bottom:40px;opacity:.95;font-weight:400;line-height:1.6}
.hero-stats{display:flex;justify-content:center;gap:60px;margin-top:40px}
.stat-item{text-align:center}
.stat-number{font-size:36px;font-weight:800;margin-bottom:8px;text-shadow:0 2px 4px rgba(0,0,0,.1);color:#fff}
.stat-label{font-size:16px;opacity:.9;font-weight:500;color:#fff}

/* 快速开始区域 */
.quick-start-section{padding:40px 0}
.section-title{font-size:32px;font-weight:700;text-align:center;margin-bottom:40px;color:#2c3e50;position:relative}
.section-title:after{content:'';position:absolute;bottom:-8px;left:50%;transform:translateX(-50%);width:60px;height:4px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:2px}
.subject-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:30px;margin-top:30px}
.subject-card{background:#fff;border-radius:20px;padding:32px;text-decoration:none;color:inherit;box-shadow:0 8px 32px rgba(0,0,0,.08);transition:all .4s cubic-bezier(0.4,0,0.2,1);position:relative;overflow:hidden;border:2px solid transparent}
.subject-card:before{content:'';position:absolute;top:0;left:0;right:0;height:6px;background:linear-gradient(135deg,#667eea,#764ba2);opacity:0;transition:opacity .3s ease}
.subject-card:hover{transform:translateY(-8px);box-shadow:0 16px 48px rgba(0,0,0,.12);border-color:#667eea}
.subject-card:hover:before{opacity:1}
.math-card:before{background:linear-gradient(135deg,#3498db,#2980b9)}
.chinese-card:before{background:linear-gradient(135deg,#e74c3c,#c0392b)}
.english-card:before{background:linear-gradient(135deg,#f39c12,#d68910)}
.math-card:hover{border-color:#3498db}
.chinese-card:hover{border-color:#e74c3c}
.english-card:hover{border-color:#f39c12}
.card-icon{font-size:48px;margin-bottom:20px;text-align:center}
.subject-card h3{font-size:24px;font-weight:700;margin-bottom:12px;color:#2c3e50}
.subject-card p{font-size:16px;color:#7f8c8d;margin-bottom:20px;line-height:1.5}
.card-features{display:flex;gap:8px;margin-bottom:24px;flex-wrap:wrap}
.feature-tag{background:linear-gradient(135deg,#f8f9ff,#eef0ff);color:#764ba2;padding:6px 12px;border-radius:20px;font-size:12px;font-weight:600;border:1px solid #e8ecff}
.math-card .feature-tag{color:#667eea;background:linear-gradient(135deg,#f0f2ff,#e8ecff)}
.chinese-card .feature-tag{color:#764ba2;background:linear-gradient(135deg,#f4f0ff,#e8e0ff)}
.english-card .feature-tag{color:#667eea;background:linear-gradient(135deg,#f0f2ff,#e8ecff)}
.card-arrow{position:absolute;bottom:24px;right:24px;font-size:24px;color:#764ba2;transition:transform .3s ease}
.subject-card:hover .card-arrow{transform:translateX(4px)}

/* 特色功能区域 */
.features-section{padding:40px 0;background:#fafbfc;margin:40px -20px;padding-left:20px;padding-right:20px}

/* 首页统计与记录样式 */
.stats-section{padding:40px 0}
.stats-section .section-title{margin-bottom:24px}
.stats-section #history-app{display:block}
.stats-section .card{border:2px solid #e8ecff;border-radius:16px;padding:20px;margin-bottom:16px;background:#ffffff;box-shadow:0 4px 16px rgba(0,0,0,.06)}
.stats-section .card h2{margin:0 0 12px;color:#2c3e50}
.stats-section .actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.stats-section .row{display:flex;gap:12px;flex-wrap:wrap}
.stats-section .cell{flex:1;min-width:300px;border:1px solid #e8ecff;padding:12px;border-radius:12px;background:#ffffff}
.stats-section .cell .paper-header h2{text-align:left}
.stats-section .cell .actions{margin-top:12px}
.stats-section .cell div[style*="overflow:auto"]{border:1px solid #e8ecff;border-radius:8px;padding:8px;background:#f8f9ff}

/* 统计页筛选与分页 */
.stats-filters{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.stats-filters select,.stats-filters .filter-btn{padding:10px 12px;border:1px solid #cdd9ff;border-radius:10px;background:#fff;color:#2c3e50;font-weight:600}
.stats-tabs{display:flex;gap:8px}
.stats-tab{padding:8px 12px;border-radius:999px;border:1px solid #e8ecff;background:#f8f9ff;color:#667eea;font-weight:600;cursor:pointer}
.stats-tab.active{background:#667eea;color:#fff;border-color:#667eea}
.pager{display:flex;gap:8px;justify-content:flex-end;margin-top:12px}
.pager .btn{padding:8px 12px;border-radius:8px;border:1px solid #667eea;background:#fff;color:#667eea;cursor:pointer}
.pager .btn[disabled]{opacity:.6;cursor:not-allowed}
.subject-bars{display:flex;flex-direction:column;gap:10px;margin-top:10px}
.subject-bar{display:flex;align-items:center;gap:10px}
.subject-label{min-width:48px;color:#2c3e50;font-weight:600}
.bar-track{flex:1;height:10px;background:#e8ecff;border-radius:6px;overflow:hidden}
.bar-fill{height:100%;background:linear-gradient(135deg,#667eea,#764ba2)}
.bar-value{min-width:40px;text-align:right;color:#667eea;font-weight:700}
.chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
.chip{padding:6px 12px;border-radius:999px;border:1px solid #e8ecff;background:#f8f9ff;color:#667eea;font-weight:600;cursor:pointer}
.chip.active{background:#667eea;color:#fff;border-color:#667eea}
.top-wrong{margin-top:10px}
.top-wrong-item{display:flex;justify-content:space-between;border-bottom:1px solid #e8ecff;padding:6px 0;font-size:14px;color:#34495e}
.type-bars{display:flex;flex-direction:column;gap:10px;margin-top:10px}
.type-bar{display:flex;align-items:center;gap:10px}
.type-label{min-width:80px;color:#2c3e50;font-weight:600}
.trend-bars{display:flex;flex-direction:column;gap:8px;margin-top:10px}
.trend-item{display:flex;align-items:center;gap:10px}
.trend-date{min-width:90px;color:#2c3e50;font-weight:600}
.trend-track{flex:1;height:8px;background:#e8f6ef;border-radius:6px;overflow:hidden}
.trend-fill{height:100%;background:linear-gradient(135deg,#3498db,#2980b9)}

/* 增强统计页面样式 */
.stats-dashboard{padding:20px 0}
.stats-header{margin-bottom:24px}
.stats-header h2{margin:0 0 16px;color:#2c3e50;font-size:24px;font-weight:700}
.stats-summary-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;margin-bottom:24px}
.summary-card{display:flex;align-items:center;padding:20px;border-radius:12px;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.08);transition:transform .2s,box-shadow .2s}
.summary-card:hover{transform:translateY(-2px);box-shadow:0 4px 16px rgba(0,0,0,.12)}
.summary-card.total{border-left:4px solid #667eea}
.summary-card.correct{border-left:4px solid #667eea}
.summary-card.accuracy{border-left:4px solid #764ba2}
.summary-card.streak{border-left:4px solid #764ba2}
.summary-icon{font-size:32px;margin-right:16px}
.summary-number{font-size:28px;font-weight:800;color:#2c3e50;margin-bottom:4px}
.summary-label{font-size:14px;color:#7f8c8d;font-weight:600}
.stats-filters{background:#f8f9ff;padding:20px;border-radius:12px;border:1px solid #e8ecff;margin-bottom:24px}
.filter-group{display:flex;flex-direction:column;gap:8px;min-width:120px}
.filter-group label{font-size:14px;font-weight:600;color:#2c3e50;margin-bottom:4px}
.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(350px,1fr));gap:20px}
.stats-card{background:#fff;border-radius:12px;box-shadow:0 2px 8px rgba(0,0,0,.08);overflow:hidden;transition:transform .2s,box-shadow .2s}
.stats-card:hover{transform:translateY(-2px);box-shadow:0 4px 16px rgba(0,0,0,.12)}
.stats-card.full-width{grid-column:1/-1}
.card-header{padding:16px 20px;background:#f8fff9;border-bottom:1px solid #e8f6ef;display:flex;justify-content:space-between;align-items:center}
.card-header h3{margin:0;font-size:16px;font-weight:700;color:#2c3e50}
.card-content{padding:20px}
.record-list{display:flex;flex-direction:column;gap:12px}
.record-item{display:flex;justify-content:space-between;align-items:center;padding:12px;border:1px solid #e8ecff;border-radius:8px;background:#f8f9ff;transition:background .2s}
.record-item:hover{background:#e8ecff}
.record-info{flex:1}
.record-title{font-weight:600;color:#2c3e50;margin-bottom:4px}
.record-time{font-size:12px;color:#7f8c8d}
.record-stats{text-align:right}
.record-accuracy{font-size:18px;font-weight:800;color:#667eea;margin-bottom:2px}
.record-count{font-size:12px;color:#7f8c8d}
.export-group{display:flex;align-items:center;gap:8px}
.btn-export{padding:6px 12px;border:1px solid #667eea;border-radius:6px;background:#fff;color:#667eea;font-size:12px;font-weight:600;cursor:pointer;transition:all .2s}
.btn-export:hover{background:#667eea;color:#fff}
.btn-page{padding:6px 10px;border:1px solid #bdc3c7;border-radius:6px;background:#fff;color:#2c3e50;font-size:14px;cursor:pointer;transition:all .2s;margin:0 4px}
.btn-page:hover:not([disabled]){border-color:#667eea;color:#667eea}
.btn-page[disabled]{opacity:.5;cursor:not-allowed}
.page-info{font-size:14px;color:#7f8c8d;margin:0 8px}
.btn-clear{padding:6px 12px;border:1px solid #764ba2;border-radius:6px;background:#fff;color:#764ba2;font-size:12px;font-weight:600;cursor:pointer;transition:all .2s;margin-left:auto}
.btn-clear:hover{background:#764ba2;color:#fff}
.pager{display:flex;align-items:center;margin-top:16px;padding-top:16px;border-top:1px solid #e8ecff}
.insights{display:flex;flex-direction:column;gap:12px}
.insights-header{display:flex;justify-content:center;margin-bottom:16px}
.insights-list{display:flex;flex-direction:column;gap:8px}
.insight-item{padding:12px;border-left:4px solid #667eea;background:#f8f9ff;border-radius:0 8px 8px 0;font-size:14px;color:#2c3e50}
.wrong-questions{display:flex;flex-direction:column;gap:8px}
.wrong-item{padding:12px;border:1px solid #e8ecff;border-radius:8px;background:#fff}
.wrong-question{font-size:14px;color:#2c3e50;margin-bottom:4px;line-height:1.4}
.wrong-count{font-size:12px;color:#764ba2;font-weight:600}
.placeholder{text-align:center;padding:40px 20px;color:#7f8c8d;font-size:14px}

/* 错题分析增强 */
.wrong-analysis{display:flex;flex-direction:column;gap:16px}
.wrong-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:12px;margin-bottom:16px}
.wrong-summary-item{text-align:center;padding:12px;background:#f8f9ff;border-radius:8px;border:1px solid #e8ecff}
.wrong-summary-number{font-size:24px;font-weight:800;color:#764ba2;margin-bottom:4px}
.wrong-summary-label{font-size:12px;color:#7f8c8d;font-weight:600}
.wrong-subject-analysis,.wrong-type-analysis{margin-bottom:16px}
.wrong-subject-analysis h4,.wrong-type-analysis h4,.wrong-questions h4{margin:0 0 12px;font-size:14px;font-weight:700;color:#2c3e50}
.wrong-subject-item,.wrong-type-item{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;margin-bottom:6px;background:#fff;border:1px solid #e8ecff;border-radius:6px;font-size:13px}
.wrong-subject-count,.wrong-type-count{font-weight:700;color:#764ba2}
.wrong-questions{margin-top:16px}

/* 增强数据可视化 */
.subject-bars{margin-top:16px}
.subject-bar{margin-bottom:12px;padding:8px;background:#f8fff9;border-radius:8px;transition:background .2s}
.subject-bar:hover{background:#e8f6ef}
.subject-label{font-size:14px;font-weight:600;margin-bottom:6px}
.bar-track{height:8px;border-radius:4px;background:#e8f6ef;overflow:hidden;position:relative}
.bar-fill{height:100%;border-radius:4px;background:linear-gradient(90deg,#2ecc71,#27ae60);transition:width .3s ease;position:relative}
.bar-fill::after{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.4),transparent);animation:bar-shine 2s infinite}
@keyframes bar-shine{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}
.bar-value{font-size:14px;font-weight:700;color:#27ae60;margin-left:8px;min-width:40px}

.type-bars{margin-top:16px}
.type-bar{margin-bottom:10px;padding:6px 0;border-bottom:1px solid #e8ecff}
.type-label{font-size:13px;font-weight:600;color:#2c3e50;margin-bottom:4px}
.type-bar .bar-track{height:6px}

.trend-bars{margin-top:16px;display:flex;flex-direction:column;gap:12px}
.trend-item{display:flex;align-items:center;padding:8px;background:#f8f9ff;border-radius:8px;transition:background .2s}
.trend-item:hover{background:#e8f6ef}
.trend-date{font-size:13px;font-weight:600;color:#2c3e50;min-width:80px}
.trend-track{flex:1;height:6px;background:#e8ecff;border-radius:3px;overflow:hidden;margin:0 8px}
.trend-fill{height:100%;background:linear-gradient(90deg,#3498db,#2980b9);border-radius:3px;transition:width .3s ease}

/* 公告弹窗 */
.modal{position:fixed;inset:0;z-index:9999}
.modal-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.35)}
.modal-card{position:relative;max-width:560px;margin:10vh auto;background:#fff;border-radius:12px;box-shadow:0 10px 30px rgba(0,0,0,.2);padding:20px}
.modal-card h3{margin:0 0 12px;color:#2c3e50}
.modal-content{color:#34495e;white-space:pre-wrap}
.modal-actions{display:flex;justify-content:flex-end;margin-top:16px}

/* 性能指标环 */
.performance-ring{position:relative;width:120px;height:120px;margin:0 auto}
.performance-ring svg{transform:rotate(-90deg)}
.performance-ring-circle{fill:none;stroke-width:8;transition:stroke-dasharray .3s ease}
.performance-ring-bg{stroke:#e8f6ef}
.performance-ring-progress{stroke:#667eea;stroke-linecap:round}
.performance-ring-text{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);text-align:center}
.performance-ring-value{font-size:24px;font-weight:800;color:#667eea}
.performance-ring-label{font-size:12px;color:#7f8c8d}

/* 品牌链接样式 */
.brand{cursor:pointer;transition:all .2s ease;font-weight:700;color:#2ecc71;text-decoration:none;padding:8px 12px;border-radius:6px;background:rgba(46,204,113,.1)}
.brand:hover{background:rgba(102,126,234,.2);color:#764ba2;transform:translateY(-1px)}
.brand:active{transform:translateY(0)}

/* 响应式统计页面 */
@media (max-width:768px){
.stats-summary-cards{grid-template-columns:repeat(2,1fr)}
.stats-grid{grid-template-columns:1fr}
.stats-filters{flex-direction:column;padding:16px}
.filter-group{width:100%}
.filter-group label{margin-bottom:6px}
.summary-card{padding:16px;flex-direction:column;text-align:center}
.summary-icon{font-size:24px;margin-right:0;margin-bottom:8px}
.summary-number{font-size:20px}
.subject-bar,.trend-item{flex-direction:column;align-items:flex-start}
.bar-value{margin-left:0;margin-top:4px}
.trend-date{min-width:auto;margin-bottom:4px}
.performance-ring{width:100px;height:100px}
.performance-ring-value{font-size:20px}
.stats-header h2{font-size:20px;text-align:center}
.card-header{flex-direction:column;gap:12px;text-align:center}
.card-header h3{font-size:14px}
.export-group{margin-top:8px}
.record-item{flex-direction:column;align-items:flex-start;gap:8px}
.record-stats{text-align:left}
.pager{flex-direction:column;gap:8px}
.btn-clear{margin-left:0;margin-top:8px}
.wrong-summary{grid-template-columns:1fr}
.wrong-subject-analysis,.wrong-type-analysis{margin-bottom:12px}
.insights-header{margin-bottom:12px}
}

@media (max-width:480px){
.stats-summary-cards{grid-template-columns:1fr}
.summary-card{flex-direction:row;text-align:left}
.summary-icon{margin-right:12px;margin-bottom:0}
.stats-tabs{flex-wrap:wrap}
.stats-tab{font-size:12px;padding:6px 10px}
.chip{font-size:12px;padding:4px 8px}
.record-title{font-size:13px}
.record-time{font-size:11px}
.wrong-question{font-size:13px}
.insight-item{font-size:13px;padding:10px}
}
.features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:30px;margin-top:30px}
.feature-item{background:#fff;padding:32px 24px;border-radius:16px;text-align:center;box-shadow:0 4px 16px rgba(0,0,0,.05);transition:all .3s ease;border:1px solid #e8f6ef}
.feature-item:hover{transform:translateY(-4px);box-shadow:0 8px 32px rgba(0,0,0,.1)}
.feature-icon{font-size:48px;margin-bottom:20px}
.feature-item h3{font-size:20px;font-weight:700;margin-bottom:12px;color:#2c3e50}
.feature-item p{font-size:14px;color:#7f8c8d;line-height:1.6}

/* 使用步骤区域 */
.steps-section{padding:40px 0}
.steps-container{display:flex;align-items:center;justify-content:center;gap:40px;margin-top:40px;flex-wrap:wrap}
.step-item{display:flex;align-items:center;gap:20px;background:#fff;padding:24px 32px;border-radius:16px;box-shadow:0 4px 16px rgba(0,0,0,.05);min-width:250px;border:1px solid #e8f6ef;transition:all .3s ease}
.step-item:hover{transform:translateY(-4px);box-shadow:0 8px 32px rgba(0,0,0,.1)}
.step-number{background:linear-gradient(135deg,#764ba2,#667eea);color:#fff;width:48px;height:48px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:24px;font-weight:800;flex-shrink:0}
.step-content h3{font-size:18px;font-weight:700;margin-bottom:6px;color:#2c3e50}
.step-content p{font-size:14px;color:#7f8c8d;margin:0}
.step-arrow{font-size:32px;color:#764ba2;font-weight:700}

/* 响应式设计 */
@media (max-width: 768px){
  .hero-section{padding:40px 20px;margin:-16px -16px 30px}
  .hero-title{font-size:36px}
  .hero-subtitle{font-size:16px}
  .hero-stats{gap:30px}
  .stat-number{font-size:28px}
  .stat-number{color:#fff}
  .section-title{font-size:24px}
  .subject-cards{grid-template-columns:1fr;gap:20px}
  .subject-card{padding:24px}
  .features-grid{grid-template-columns:1fr;gap:20px}
  .features-section{margin:30px -16px;padding-left:16px;padding-right:16px}
  .steps-container{flex-direction:column;gap:20px}
  .step-item{min-width:auto;width:100%;justify-content:flex-start}
  .step-arrow{transform:rotate(90deg)}
}

@media (max-width: 480px){
  .hero-section{padding:30px 16px}
  .hero-title{font-size:28px}
  .hero-subtitle{font-size:14px}
  .hero-stats{gap:20px}
  .stat-number{font-size:24px}
  .stat-label{font-size:12px}
  .stat-label{color:#fff}
  .section-title{font-size:20px}
  .subject-card{padding:20px}
  .card-icon{font-size:36px}
  .subject-card h3{font-size:20px}
  .feature-item{padding:20px 16px}
  .step-item{padding:16px 20px;gap:16px}
  .step-number{width:40px;height:40px;font-size:20px}
}
.answer-value{background:#ffffff;color:#667eea;padding:8px 16px;border-radius:8px;font-weight:700;font-size:16px;box-shadow:0 2px 8px rgba(0,0,0,.05);border:1px solid #e8ecff}
.solution-steps{margin-top:16px;padding-top:16px;border-top:1px solid #e8f6ef}
.step-item{display:flex;align-items:flex-start;gap:12px;margin-bottom:12px;padding:12px;background:#ffffff;border-radius:8px;border-left:3px solid #667eea;transition:all .3s ease}
.step-item:hover{transform:translateX(4px);box-shadow:0 4px 12px rgba(0,0,0,.05)}
.step-number{font-size:16px;font-weight:700;color:#667eea;min-width:24px;text-align:center}
.step-content{flex:1}
.step-title{font-weight:700;color:#2c3e50;font-size:14px;margin-bottom:4px}
.step-desc{color:#7f8c8d;font-size:13px;line-height:1.5}
.answer-line{height:2px;background:linear-gradient(to right,#2ecc71 60%,transparent 0);background-size:30px 2px;background-repeat:repeat-x;margin-top:16px;border-radius:1px}

/* 题目类型颜色编码 */
.math-question-item[data-type="basic_arithmetic"] .question-number{background:linear-gradient(135deg,#667eea,#764ba2)}
.math-question-item[data-type="word_problems"] .question-number{background:linear-gradient(135deg,#764ba2,#667eea)}
.math-question-item[data-type="geometry"] .question-number{background:linear-gradient(135deg,#8e44ad,#667eea)}
.math-question-item[data-type="fractions"] .question-number{background:linear-gradient(135deg,#667eea,#8e44ad)}

/* 额外视觉效果 */
.header{background:linear-gradient(135deg,#ffffff,#f8f9ff);color:#2c3e50;padding:24px;border-bottom:1px solid #e8ecff;box-shadow:0 2px 12px rgba(0,0,0,.05)}
.header-row{display:flex;align-items:center;justify-content:space-between}
.title h1{margin:0;font-size:28px;color:#2c3e50;font-weight:800;background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.title p{margin:8px 0 0;color:#7f8c8d;font-size:16px;font-weight:500}
.brand{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:10px 16px;border-radius:999px;font-weight:700;box-shadow:0 4px 12px rgba(102,126,234,.25);transition:all .3s ease}
.brand:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(46,204,113,.35)}
.container{max-width:1200px;margin:0 auto;padding:24px}
.nav-link{display:inline-block;background:#fff;color:#667eea;padding:10px 16px;border-radius:999px;border:2px solid #cdd9ff;text-decoration:none;font-weight:600;transition:all .3s ease;box-shadow:0 2px 8px rgba(102,126,234,.1)}
.nav-link:hover{background:#f8f9ff;transform:translateY(-2px);box-shadow:0 4px 16px rgba(102,126,234,.2)}
.nav-link.active{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-color:transparent;box-shadow:0 4px 12px rgba(102,126,234,.25)}

/* 加载动画 */
@keyframes fadeInUp{
  from{opacity:0;transform:translateY(20px)}
  to{opacity:1;transform:translateY(0)}
}
.controls,.paper{animation:fadeInUp .6s ease-out}

/* 关闭题目卡片右上角编号圆点 */
.cell{counter-increment:question-counter;position:relative}
.cell:before{display:none !important;content:none !important}

/* 悬停提示已移除 */

@page { size: A4; margin: 12mm }
@media print{
  .sidebar,.header,.controls,.actions,.brand,.nav-link{display:none!important}
  .main-content{padding:0}
  .container{max-width:unset;padding:0}
  .paper{border:none;box-shadow:none}
  .paper-header{margin-bottom:8px}
  .paper-header,.paper-header .summary,.info{display:none!important}
  .math-question-item{box-shadow:none;border:1px solid #ddd}
  .question-content{background:#fff;border:none;padding:0}
  .answer-section{display:none!important}
  .answer-line{display:none!important}
  .math-questions,.grid{display:none!important}
  .print-grid{display:block!important;font-size:12pt;line-height:1.6;color:#000}
  .print-page{page-break-after: always;padding:0 6mm}
  .print-page:last-child{page-break-after: auto}
  .print-row{display:flex;justify-content:space-between;margin-bottom:8pt}
  .print-item{width:32%;min-height:16pt}
  .print-item .num{font-weight:700;margin-right:4pt}
}
.print-questions-only .sidebar,.print-questions-only .header,.print-questions-only .controls,.print-questions-only .actions,.print-questions-only .paper-header .summary,.print-questions-only .info,.print-questions-only .answer-section,.print-questions-only .answer-line{display:none!important}
.print-questions-only .paper{border:none;box-shadow:none}
.print-questions-only .question-content{background:#fff;border:none;padding:0}
.print-questions-only .print-grid{display:block!important}
.print-questions-only .math-questions,.print-questions-only .grid{display:none}

/* 关闭控件悬停提示气泡 */
.control-group:hover:after{display:none!important;content:none!important}

/* 控制面板优化 */
.controls{background:#ffffff;border:1px solid #e8ecff;border-radius:12px;padding:24px;margin:20px 0;box-shadow:0 2px 16px rgba(102,126,234,.08);display:flex;flex-wrap:wrap;gap:20px}
.control-row{display:flex;gap:20px;align-items:flex-end}
/* 等宽排布 */
.control-row .control-group{flex:1}
.control-group{display:flex;flex-direction:column;gap:8px;min-width:120px}
.control-group label{font-size:14px;font-weight:600;color:#2c3e50;margin-bottom:4px}
select,input[type=number]{padding:12px 16px;border:2px solid #e8f6ef;border-radius:8px;background:#ffffff;font-size:14px;transition:all .3s ease;color:#2c3e50}
select:focus,input[type=number]:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px rgba(102,126,234,.1)}
select:hover,input[type=number]:hover{border-color:#cdd9ff}
.radios{display:flex;flex-wrap:wrap;gap:16px}
.radio{display:flex;align-items:center;gap:8px;padding:8px 12px;border-radius:8px;transition:background .3s ease}
.radio:hover{background:#f8fff9}
.radio input[type=radio]{width:18px;height:18px;accent-color:#667eea}
.checkbox{display:flex;align-items:center;gap:8px;padding:8px 12px;border-radius:8px;transition:background .3s ease;cursor:pointer}
.checkbox:hover{background:#f8fff9}
.checkbox input[type=checkbox]{width:18px;height:18px;accent-color:#667eea;cursor:pointer}
.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px;padding-top:20px;border-top:1px solid #e8ecff}
.btn{padding:12px 24px;border-radius:8px;border:none;cursor:pointer;font-weight:600;font-size:14px;transition:all .3s ease;position:relative;overflow:hidden}
.btn:before{content:'';position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent,rgba(255,255,255,.3),transparent);transition:left .6s ease}
.btn:hover:before{left:100%}
.btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;box-shadow:0 4px 12px rgba(102,126,234,.25)}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(102,126,234,.35)}
.btn-outline{background:#ffffff;color:#667eea;border:2px solid #667eea;box-shadow:0 2px 8px rgba(102,126,234,.1)}
.btn-outline:hover{background:#f8f9ff;transform:translateY(-2px);box-shadow:0 4px 16px rgba(102,126,234,.2)}
.btn:active{transform:translateY(0)}

/* 题目卡片优化 */
.paper{background:#ffffff;border:1px solid #e8ecff;border-radius:12px;padding:32px;margin:20px 0;box-shadow:0 4px 20px rgba(0,0,0,.05)}
.paper-header{margin-bottom:32px;text-align:center}
.paper-header h2{margin:0 0 16px;font-size:28px;color:#2c3e50;font-weight:700}
.paper-header .summary{background:linear-gradient(135deg,#f8f9ff,#e8ecff);padding:12px 24px;border-radius:8px;font-size:14px;color:#2c3e50;font-weight:600;margin-bottom:16px;display:inline-block}
.info{color:#7f8c8d;font-size:14px;margin-top:16px;padding:16px;background:#f8f9ff;border-radius:8px;border-left:4px solid #667eea}
.grid{display:flex;flex-direction:column;gap:16px}
.row{display:flex;gap:16px;margin-bottom:16px}
.cell{flex:1;border:1px solid #e8ecff;padding:20px;border-radius:8px;min-height:140px;background:#ffffff;transition:all .3s ease;position:relative}
.cell:before{content:'';position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:8px 8px 0 0;opacity:0;transition:opacity .3s ease}
.cell:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(0,0,0,.08)}
.cell:hover:before{opacity:1}
.q{font-size:16px;color:#2c3e50;line-height:1.6;margin-bottom:12px;font-weight:500}
.a{font-size:14px;color:#667eea;font-weight:600;padding:8px 12px;background:#f8f9ff;border-radius:6px;display:inline-block}
.line{margin-top:16px;height:2px;background:linear-gradient(to right,#667eea 60%,transparent 0);background-size:20px 2px;background-repeat:repeat-x;border-radius:1px}

/* 弹窗样式 */
.toast{position:fixed;bottom:20px;right:20px;background:#667eea;color:#fff;padding:16px 24px;border-radius:8px;box-shadow:0 4px 12px rgba(0,0,0,.15);font-weight:600;z-index:1000;transform:translateY(100px);opacity:0;transition:all .3s ease;max-width:300px}
.toast.show{transform:translateY(0);opacity:1}
.toast.error{background:#e74c3c}
.toast.info{background:#3498db}
.toast.warning{background:#f39c12}
.toast-icon{width:20px;height:20px;margin-right:8px;vertical-align:middle}
.toast-close{position:absolute;top:8px;right:8px;background:none;border:none;color:#fff;font-size:18px;cursor:pointer;opacity:.7}
.toast-close:hover{opacity:1}
.print-grid{display:none}
/* 主题切换 - 移到右下角，避免遮挡 */
.theme-toggle{position:fixed;bottom:20px;right:20px;z-index:1000;display:flex;background:rgba(255,255,255,.98);border:2px solid rgba(102,126,234,.3);border-radius:28px;overflow:hidden;box-shadow:0 12px 40px rgba(0,0,0,.2);backdrop-filter:blur(12px);transition:all .3s cubic-bezier(0.4,0,0.2,1)}
.theme-toggle:hover{box-shadow:0 16px 48px rgba(0,0,0,.3);transform:translateY(-3px)}
.theme-toggle button{border:none;background:transparent;padding:14px 18px;cursor:pointer;font-size:22px;line-height:1;color:#667eea;transition:all .3s ease;position:relative;min-width:48px;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.1)}
.theme-toggle button:hover{background:rgba(102,126,234,.2);color:#764ba2;transform:scale(1.08)}
.theme-toggle button.active{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;box-shadow:0 6px 20px rgba(102,126,234,.5);transform:scale(1.08)}
.theme-dark .theme-toggle{background:rgba(26,35,46,.98);border-color:rgba(102,126,234,.5);box-shadow:0 12px 40px rgba(0,0,0,.5)}
.theme-dark .theme-toggle button{color:#ffffff;text-shadow:0 2px 4px rgba(0,0,0,.4)}
.theme-dark .theme-toggle button:hover{background:rgba(102,126,234,.3);color:#fff}
.theme-dark .theme-toggle button.active{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;box-shadow:0 6px 24px rgba(102,126,234,.6)}

/* 暗色主题覆盖 - 超高对比度优化 */
body.theme-dark{background:linear-gradient(135deg,#0a0f1a,#141b29);color:#ffffff;font-weight:400}
.theme-dark .header{background:linear-gradient(135deg,#141b29,#1f2937);border-bottom:1px solid rgba(255,255,255,.2);box-shadow:0 8px 32px rgba(0,0,0,.6)}
.theme-dark .controls{background:rgba(20,27,41,.95);border:1px solid rgba(255,255,255,.2);backdrop-filter:blur(12px);box-shadow:0 16px 48px rgba(0,0,0,.5)}
.theme-dark .paper{background:rgba(20,27,41,.95);border:1px solid rgba(255,255,255,.2);backdrop-filter:blur(12px);box-shadow:0 16px 48px rgba(0,0,0,.5)}
.theme-dark .cell{background:rgba(25,33,48,.9);border:1px solid rgba(255,255,255,.2);backdrop-filter:blur(8px)}
.theme-dark .paper-header .summary{background:linear-gradient(135deg,rgba(20,27,41,.98),rgba(15,20,30,.98));border:1px solid rgba(255,255,255,.2);color:#ffffff;font-weight:600;font-size:15px;text-shadow:0 1px 2px rgba(0,0,0,.5)}
.theme-dark .question-content{background:rgba(25,33,48,.95);border-left:4px solid #667eea;color:#ffffff;box-shadow:0 8px 24px rgba(0,0,0,.4);font-weight:500}
.theme-dark .option-item{background:rgba(25,33,48,.9);border:1px solid rgba(255,255,255,.2);box-shadow:0 8px 24px rgba(0,0,0,.3)}
.theme-dark .option-item:hover{border-color:#667eea;box-shadow:0 12px 32px rgba(102,126,234,.5);background:rgba(25,33,48,.95)}
.theme-dark .answer-section{background:linear-gradient(135deg,rgba(20,27,41,.98),rgba(15,20,30,.98));border:1px solid rgba(255,255,255,.2)}
.theme-dark .sidebar{background:linear-gradient(135deg,#141b29,#1f2937);box-shadow:4px 0 32px rgba(0,0,0,.7)}
.theme-dark .sidebar-nav-item{color:#ffffff;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.1);font-weight:600;text-shadow:0 1px 2px rgba(0,0,0,.4)}
.theme-dark .sidebar-nav-item:hover{background:rgba(255,255,255,.15);border-color:rgba(255,255,255,.3)}
.theme-dark .sidebar-nav-item.active{background:rgba(102,126,234,.2);color:#667eea;border-color:#667eea;font-weight:700}
.theme-dark .nav-link{background:rgba(25,33,48,.95);color:#ffffff;border:1px solid rgba(255,255,255,.2);box-shadow:0 8px 24px rgba(0,0,0,.4);font-weight:600}
.theme-dark .nav-link:hover{background:rgba(25,33,48,.98);border-color:rgba(255,255,255,.3)}
.theme-dark .nav-link.active{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-color:#667eea;font-weight:700}
.theme-dark .btn-outline{color:#ffffff;border:2px solid rgba(102,126,234,.7);background:rgba(102,126,234,.2);font-weight:600;text-shadow:0 1px 2px rgba(0,0,0,.3)}
.theme-dark .btn-outline:hover{background:rgba(102,126,234,.3);border-color:#667eea}
.theme-dark .btn-primary{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;box-shadow:0 8px 24px rgba(102,126,234,.5);font-weight:700;text-shadow:0 1px 2px rgba(0,0,0,.4)}
.theme-dark .btn-primary:hover{box-shadow:0 12px 32px rgba(102,126,234,.6)}
.theme-dark .brand{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;box-shadow:0 8px 24px rgba(102,126,234,.5);font-weight:800;text-shadow:0 2px 4px rgba(0,0,0,.5)}
.theme-dark .record-item{background:rgba(25,33,48,.9);border:1px solid rgba(255,255,255,.2);backdrop-filter:blur(8px)}
.theme-dark .stats-card{background:rgba(20,27,41,.95);border:1px solid rgba(255,255,255,.2);backdrop-filter:blur(12px);box-shadow:0 16px 48px rgba(0,0,0,.5)}
.theme-dark .bar-track{background:rgba(255,255,255,.25)}
.theme-dark .toast{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;box-shadow:0 16px 48px rgba(102,126,234,.5)}
.theme-dark select,.theme-dark input[type=number]{background:rgba(25,33,48,.9);color:#ffffff;border:1px solid rgba(255,255,255,.2);font-weight:600;text-shadow:0 1px 2px rgba(0,0,0,.3)}
.theme-dark select:focus,.theme-dark input[type=number]:focus{border-color:#667eea;box-shadow:0 0 0 4px rgba(102,126,234,.4)}
.theme-dark .sidebar-header h2{color:#ffffff;text-shadow:0 2px 4px rgba(0,0,0,.6);font-weight:800}
.theme-dark .sidebar-subtitle{color:#e2e8f0;opacity:.95;font-weight:500}
.theme-dark .sidebar-nav-item:before{background:linear-gradient(90deg,transparent,rgba(102,126,234,.5),transparent)}
.theme-dark .sidebar-nav-item:hover:before{left:100%}
.theme-dark .info{color:#e2e8f0;font-weight:500;text-shadow:0 1px 2px rgba(0,0,0,.3)}
.theme-dark .placeholder{color:#cbd5e0;font-weight:400}
.theme-dark .q{color:#ffffff;font-weight:600;text-shadow:0 1px 2px rgba(0,0,0,.3)}
.theme-dark .a{color:#b794f4;font-weight:700;text-shadow:0 1px 2px rgba(0,0,0,.3)}
.theme-dark .line{background:linear-gradient(to right,rgba(255,255,255,.3) 60%,transparent 0)}
.theme-dark .card{background:rgba(25,33,48,.9);border:1px solid rgba(255,255,255,.2);backdrop-filter:blur(8px)}
.theme-dark .card h2{color:#ffffff;font-weight:700;text-shadow:0 2px 4px rgba(0,0,0,.4)}
.theme-dark .list{color:#f0f4f8;font-weight:500}
.theme-dark .math-question-item{background:rgba(25,33,48,.9);border:1px solid rgba(255,255,255,.2)}
.theme-dark .question-header{border-bottom:1px solid rgba(255,255,255,.2)}
.theme-dark .question-number{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;font-weight:700;text-shadow:0 1px 2px rgba(0,0,0,.4)}
.theme-dark .question-type{background:rgba(255,255,255,.25);color:#f0f4f8;font-weight:600}
.theme-dark .step-item{background:rgba(25,33,48,.7);border-left:3px solid #667eea}
.theme-dark .step-number{background:#667eea;color:#fff;font-weight:700;text-shadow:0 1px 2px rgba(0,0,0,.4)}
.theme-dark .step-content{color:#f0f4f8;font-weight:600}
.theme-dark .exam-summary{background:linear-gradient(135deg,rgba(20,27,41,.98),rgba(15,20,30,.98));border:1px solid rgba(255,255,255,.2)}
/* 专门针对控制面板标签的高对比度优化 */
.theme-dark .control-group label{color:#ffffff;font-weight:700;font-size:15px;text-shadow:0 1px 3px rgba(0,0,0,.5)}
.theme-dark .radio label{color:#ffffff;font-weight:600;font-size:14px;text-shadow:0 1px 2px rgba(0,0,0,.4)}
.theme-dark .checkbox label{color:#ffffff;font-weight:600;font-size:14px;text-shadow:0 1px 2px rgba(0,0,0,.4)}
.theme-dark small{color:#e2e8f0;font-weight:500;font-size:13px;text-shadow:0 1px 2px rgba(0,0,0,.3)}
.theme-dark .summary{color:#ffffff;font-weight:700;font-size:14px;text-shadow:0 1px 3px rgba(0,0,0,.5)}

/* 关于页面品牌优化样式 */
.brand-hero{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;padding:80px 40px;margin:-24px -24px 60px;text-align:center;position:relative;overflow:hidden;border-radius:0 0 30px 30px}
.brand-hero:before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background:radial-gradient(circle at 20% 30%,rgba(255,255,255,.15) 0%,transparent 50%),radial-gradient(circle at 80% 70%,rgba(255,255,255,.1) 0%,transparent 50%)}
.brand-logo-large{font-size:72px;font-weight:800;margin-bottom:24px;text-shadow:0 4px 8px rgba(0,0,0,.3);letter-spacing:2px;position:relative;z-index:1;background:linear-gradient(45deg,#fff,#f0f4f8);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text}
.brand-title{font-size:36px;font-weight:700;margin-bottom:16px;text-shadow:0 2px 4px rgba(0,0,0,.3);position:relative;z-index:1}
.brand-subtitle{font-size:18px;margin-bottom:40px;opacity:.95;font-weight:400;line-height:1.6;position:relative;z-index:1;max-width:600px;margin-left:auto;margin-right:auto}
.brand-stats{display:flex;justify-content:center;gap:60px;margin-top:40px;position:relative;z-index:1}
.brand-stat{text-align:center}
.stat-number{font-size:32px;font-weight:800;margin-bottom:8px;text-shadow:0 2px 4px rgba(0,0,0,.3);color:#fff}
.stat-label{font-size:16px;opacity:.9;font-weight:500;color:#fff}

/* 产品特色区域 */
.features-highlight{margin-bottom:60px}
.section-title{font-size:32px;font-weight:700;text-align:center;margin-bottom:40px;color:#2c3e50;position:relative}
.section-title:after{content:'';position:absolute;bottom:-8px;left:50%;transform:translateX(-50%);width:60px;height:4px;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:2px}
.features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:30px;margin-top:30px}
.feature-card{background:#fff;border-radius:20px;padding:32px;text-align:center;box-shadow:0 8px 32px rgba(0,0,0,.08);transition:all .4s cubic-bezier(0.4,0,0.2,1);position:relative;overflow:hidden;border:2px solid transparent}
.feature-card:before{content:'';position:absolute;top:0;left:0;right:0;height:6px;background:linear-gradient(135deg,#667eea,#764ba2);opacity:0;transition:opacity .3s ease}
.feature-card:hover{transform:translateY(-8px);box-shadow:0 16px 48px rgba(0,0,0,.12);border-color:#667eea}
.feature-card:hover:before{opacity:1}
.feature-icon{font-size:48px;margin-bottom:20px;text-align:center}
.feature-card h3{font-size:20px;font-weight:700;margin-bottom:12px;color:#2c3e50}
.feature-card p{font-size:14px;color:#7f8c8d;line-height:1.6;margin:0}

/* 核心功能区域 */
.core-functions{margin-bottom:60px;background:linear-gradient(135deg,#f8f9ff,#e8ecff);padding:60px 40px;border-radius:20px;margin-left:-20px;margin-right:-20px}
.core-functions .section-title{color:#2c3e50;margin-bottom:40px}
.functions-list{display:flex;flex-direction:column;gap:24px;max-width:800px;margin:0 auto}
.function-item{display:flex;align-items:center;gap:20px;background:#fff;padding:24px;border-radius:16px;box-shadow:0 4px 16px rgba(0,0,0,.05);transition:all .3s ease;border-left:4px solid #667eea}
.function-item:hover{transform:translateY(-4px);box-shadow:0 8px 32px rgba(0,0,0,.1)}
.function-icon{font-size:32px;min-width:48px;text-align:center;color:#667eea}
.function-content{flex:1}
.function-content h3{font-size:18px;font-weight:700;margin-bottom:8px;color:#2c3e50}
.function-content p{font-size:14px;color:#7f8c8d;line-height:1.6;margin:0}

/* 使用流程 */
.usage-flow{margin-bottom:60px}
.flow-steps{display:flex;align-items:center;justify-content:center;gap:20px;flex-wrap:wrap;margin-top:30px}
.flow-step{display:flex;flex-direction:column;align-items:center;text-align:center;min-width:160px}
.flow-step .step-number{width:60px;height:60px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:24px;font-weight:800;margin-bottom:16px;box-shadow:0 8px 24px rgba(102,126,234,.3)}
.flow-step .step-content h3{font-size:16px;font-weight:700;margin-bottom:6px;color:#2c3e50}
.flow-step .step-content p{font-size:13px;color:#7f8c8d;margin:0;line-height:1.4}
.flow-arrow{font-size:32px;color:#667eea;font-weight:700;margin:0 10px}

/* 品牌承诺 */
.brand-commitment{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:60px 40px;border-radius:20px;margin:60px -20px;text-align:center;position:relative;overflow:hidden}
.brand-commitment:before{content:'';position:absolute;top:0;left:0;right:0;bottom:0;background:radial-gradient(circle at 50% 50%,rgba(255,255,255,.1) 0%,transparent 70%)}
.commitment-content{position:relative;z-index:1;max-width:800px;margin:0 auto}
.commitment-content h2{font-size:28px;font-weight:700;margin-bottom:24px;text-shadow:0 2px 4px rgba(0,0,0,.3)}
.commitment-text{font-size:16px;line-height:1.8;margin-bottom:32px;opacity:.95;text-shadow:0 1px 2px rgba(0,0,0,.3)}
.commitment-features{display:flex;justify-content:center;gap:40px;flex-wrap:wrap}
.commitment-item{display:flex;align-items:center;gap:12px;font-size:16px;font-weight:500}
.commitment-icon{font-size:20px}

/* 版本信息 */
.version-info{margin-bottom:40px}
.version-card{background:#fff;border-radius:20px;padding:40px;text-align:center;box-shadow:0 8px 32px rgba(0,0,0,.08);border:1px solid #e8ecff;max-width:500px;margin:0 auto}
.version-card h3{font-size:24px;font-weight:700;margin-bottom:24px;color:#2c3e50}
.version-details{display:flex;flex-direction:column;gap:16px;margin-bottom:32px}
.version-item{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid #f0f0f0}
.version-item:last-child{border-bottom:none}
.version-label{font-size:14px;color:#7f8c8d;font-weight:500}
.version-value{font-size:16px;color:#2c3e50;font-weight:600}
.brand-highlight{background:linear-gradient(135deg,#667eea,#764ba2);-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;font-weight:700}

/* 响应式优化 */
@media (max-width:768px){
.brand-hero{padding:60px 20px;margin:-20px -20px 40px}
.brand-logo-large{font-size:56px}
.brand-title{font-size:28px}
.brand-subtitle{font-size:16px}
.brand-stats{gap:30px}
.stat-number{font-size:24px}
.features-grid{grid-template-columns:1fr;gap:20px}
.core-functions{padding:40px 20px;margin-left:-16px;margin-right:-16px}
.flow-steps{flex-direction:column;gap:20px}
.flow-arrow{transform:rotate(90deg);margin:10px 0}
.brand-commitment{padding:40px 20px;margin-left:-16px;margin-right:-16px}
.commitment-features{flex-direction:column;gap:20px;align-items:center}
.version-card{padding:24px}
}
@media (max-width:480px){
.brand-hero{padding:40px 16px}
.brand-logo-large{font-size:48px}
.brand-title{font-size:24px}
.brand-subtitle{font-size:14px}
.brand-stats{gap:20px}
.stat-number{font-size:20px}
.stat-label{font-size:12px}
.flow-step{min-width:auto}
.flow-step .step-number{width:50px;height:50px;font-size:20px}
}

/* 暗色主题适配 */
.theme-dark .brand-hero{background:linear-gradient(135deg,#141b29,#1f2937)}
.theme-dark .feature-card{background:rgba(25,33,48,.9);border:1px solid rgba(255,255,255,.2)}
.theme-dark .feature-card h3{color:#ffffff}
.theme-dark .feature-card p{color:#e2e8f0}
.theme-dark .core-functions{background:linear-gradient(135deg,rgba(20,27,41,.95),rgba(15,20,30,.95))}
.theme-dark .function-item{background:rgba(25,33,48,.9);border-left:4px solid #667eea}
.theme-dark .function-content h3{color:#ffffff}
.theme-dark .function-content p{color:#e2e8f0}
.theme-dark .flow-step .step-content h3{color:#ffffff}
.theme-dark .flow-step .step-content p{color:#e2e8f0}
.theme-dark .version-card{background:rgba(25,33,48,.9);border:1px solid rgba(255,255,255,.2)}
.theme-dark .version-card h3{color:#ffffff}
.theme-dark .version-value{color:#ffffff}
.theme-dark .version-label{color:#e2e8f0}
.theme-dark .version-item{border-bottom:1px solid rgba(255,255,255,.2)}
.theme-dark .brand-commitment{background:linear-gradient(135deg,rgba(20,27,41,.98),rgba(15,20,30,.98))}

/* 首页独有样式 */
.quick-start-header{text-align:center;margin-bottom:40px}
.section-subtitle{font-size:18px;color:#7f8c8d;margin-top:8px;font-weight:400}

/* 快速生成区域 */
.quick-generate-section{background:linear-gradient(135deg,#f8f9ff,#e8ecff);padding:60px 40px;border-radius:20px;margin:40px -20px;text-align:center}
.quick-generate-form{max-width:600px;margin:0 auto}
.quick-form{background:#fff;padding:32px;border-radius:16px;box-shadow:0 8px 32px rgba(0,0,0,.08)}
.form-row{display:flex;gap:20px;justify-content:center;margin-bottom:24px;flex-wrap:wrap}
.form-group{display:flex;flex-direction:column;gap:8px;min-width:120px}
.form-group label{font-size:14px;font-weight:600;color:#2c3e50;text-align:left}
.quick-select{padding:12px 16px;border:2px solid #e8f6ef;border-radius:8px;background:#fff;font-size:14px;transition:all .3s ease;color:#2c3e50;min-width:120px}
.quick-select:focus{outline:none;border-color:#667eea;box-shadow:0 0 0 3px rgba(102,126,234,.1)}
.quick-generate-btn{font-size:16px;padding:16px 32px;border-radius:12px;font-weight:700;box-shadow:0 8px 24px rgba(102,126,234,.3)}

/* 特色功能预览 */
.features-preview-section{margin-bottom:60px}
.features-preview-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:24px;margin-top:30px}
.preview-card{background:#fff;border-radius:16px;padding:32px 24px;text-align:center;box-shadow:0 4px 16px rgba(0,0,0,.05);transition:all .3s ease;border:1px solid #e8f6ef}
.preview-card:hover{transform:translateY(-4px);box-shadow:0 8px 32px rgba(0,0,0,.1)}
.preview-icon{font-size:40px;margin-bottom:16px}
.preview-card h3{font-size:18px;font-weight:700;margin-bottom:12px;color:#2c3e50}
.preview-card p{font-size:14px;color:#7f8c8d;line-height:1.5;margin:0}

/* 简化步骤 */
.simple-steps-section{margin-bottom:60px}
.simple-steps{display:flex;justify-content:center;gap:40px;flex-wrap:wrap;margin-top:30px}
.simple-step{text-align:center;min-width:150px}
.step-icon{font-size:48px;margin-bottom:16px;display:block}
.simple-step h3{font-size:16px;font-weight:700;margin-bottom:8px;color:#2c3e50}
.simple-step p{font-size:14px;color:#7f8c8d;margin:0}

/* 用户评价 */
.testimonials-section{background:linear-gradient(135deg,#f8f9ff,#e8ecff);padding:60px 40px;border-radius:20px;margin:40px -20px}
.testimonials-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px;margin-top:30px}
.testimonial-card{background:#fff;border-radius:16px;padding:24px;box-shadow:0 4px 16px rgba(0,0,0,.05);transition:all .3s ease;border:1px solid #e8f6ef}
.testimonial-card:hover{transform:translateY(-4px);box-shadow:0 8px 32px rgba(0,0,0,.1)}
.testimonial-content{margin-bottom:16px}
.testimonial-content p{font-size:14px;color:#2c3e50;line-height:1.6;margin:0;font-style:italic}
.testimonial-author{display:flex;flex-direction:column;gap:4px}
.author-name{font-size:14px;font-weight:700;color:#667eea}
.author-role{font-size:12px;color:#7f8c8d}

/* AI出题卡片样式 */
.ai-card{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;position:relative;overflow:hidden}
.ai-card::before{content:'';position:absolute;top:-50%;left:-50%;width:200%;height:200%;background:radial-gradient(circle,rgba(255,255,255,.1) 0%,transparent 70%);animation:ai-glow 3s ease-in-out infinite}
@keyframes ai-glow{0%,100%{transform:rotate(0deg)}50%{transform:rotate(180deg)}}
.ai-card .card-icon{font-size:48px;margin-bottom:20px;background:rgba(255,255,255,.2);width:80px;height:80px;border-radius:50%;display:flex;align-items:center;justify-content:center;backdrop-filter:blur(10px)}
.ai-card h3{font-size:24px;margin-bottom:12px;font-weight:700}
.ai-card p{font-size:16px;opacity:.9;margin-bottom:20px;line-height:1.5}
.ai-card .card-features{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}
.ai-card .feature-tag{background:rgba(255,255,255,.2);color:#fff;border:1px solid rgba(255,255,255,.3);backdrop-filter:blur(10px)}
.ai-card .card-arrow{color:#fff;background:rgba(255,255,255,.2);border:1px solid rgba(255,255,255,.3)}
.ai-card:hover{transform:translateY(-8px) scale(1.02);box-shadow:0 20px 40px rgba(102,126,234,.3)}

/* 快捷功能 */
.quick-actions-section{margin-bottom:60px}
.quick-actions{display:flex;justify-content:center;gap:20px;flex-wrap:wrap;margin-top:30px}
.quick-action-btn{display:flex;flex-direction:column;align-items:center;gap:12px;padding:24px 20px;background:#fff;border-radius:16px;text-decoration:none;color:inherit;box-shadow:0 4px 16px rgba(0,0,0,.05);transition:all .3s ease;border:1px solid #e8f6ef;min-width:120px}
.quick-action-btn:hover{transform:translateY(-4px);box-shadow:0 8px 32px rgba(0,0,0,.1);border-color:#667eea}
.action-icon{font-size:32px}
.action-text{font-size:14px;font-weight:600;color:#2c3e50}

/* 响应式优化 */
@media (max-width:768px){
.quick-generate-section,.testimonials-section{padding:40px 20px;margin-left:-16px;margin-right:-16px}
.form-row{flex-direction:column;align-items:center}
.simple-steps{flex-direction:column;gap:24px}
.quick-actions{flex-direction:column;align-items:center}
}
@media (max-width:480px){
.quick-generate-section,.testimonials-section{padding:24px 16px}
.testimonials-grid{grid-template-columns:1fr}
.quick-action-btn{width:100%;max-width:200px}
}

/* 暗色主题适配 */
.theme-dark .quick-generate-section{background:linear-gradient(135deg,rgba(20,27,41,.95),rgba(15,20,30,.95))}
.theme-dark .quick-form{background:rgba(25,33,48,.9);border:1px solid rgba(255,255,255,.2)}
.theme-dark .quick-select{background:rgba(25,33,48,.9);color:#ffffff;border:1px solid rgba(255,255,255,.2)}
.theme-dark .preview-card{background:rgba(25,33,48,.9);border:1px solid rgba(255,255,255,.2)}
.theme-dark .preview-card h3{color:#ffffff}
.theme-dark .preview-card p{color:#e2e8f0}
.theme-dark .testimonials-section{background:linear-gradient(135deg,rgba(20,27,41,.95),rgba(15,20,30,.95))}
.theme-dark .testimonial-card{background:rgba(25,33,48,.9);border:1px solid rgba(255,255,255,.2)}
.theme-dark .testimonial-content p{color:#ffffff}
.theme-dark .quick-action-btn{background:rgba(25,33,48,.9);border:1px solid rgba(255,255,255,.2)}
.theme-dark .action-text{color:#ffffff}
