/* ==================== 全局重置与变量 ==================== */
:root {
  --primary: #3b82f6;
  --primary-dark: #2563eb;
  --primary-light: #60a5fa;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --critical: #dc2626;
  --info: #6366f1;

  --bg-primary: #0a0e1a;
  --bg-secondary: #111827;
  --bg-card: #1a2234;
  --bg-card-hover: #222d42;
  --bg-input: #0f1623;

  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --border-color: #2a3548;
  --border-light: #1e293b;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -4px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.15);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary);
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  font-family: inherit;
  background: none;
  color: inherit;
}

input {
  font-family: inherit;
  outline: none;
  border: none;
}

/* ==================== 顶部导航 ==================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

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

.logo-icon {
  font-size: 24px;
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-light), var(--success));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-sub {
  font-size: 12px;
  color: var(--text-muted);
  padding: 2px 8px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.nav {
  display: flex;
  gap: 8px;
}

.nav-link {
  padding: 8px 16px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

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

/* ==================== Hero区域 ==================== */
.hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 0;
}

.bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.3;
}

.glow-1 {
  width: 500px;
  height: 500px;
  background: var(--primary);
  top: -200px;
  right: -100px;
}

.glow-2 {
  width: 400px;
  height: 400px;
  background: var(--success);
  bottom: -150px;
  left: -100px;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--success) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 17px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  line-height: 1.8;
}

/* 检测表单 */
.scan-form {
  display: flex;
  gap: 12px;
  max-width: 680px;
  margin: 0 auto 20px;
  background: var(--bg-card);
  padding: 8px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  transition: var(--transition);
}

.scan-form:focus-within {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg), 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.input-group {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
}

.input-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.target-input {
  flex: 1;
  background: transparent;
  color: var(--text-primary);
  font-size: 15px;
  padding: 14px 0;
  min-width: 0;
}

.target-input::placeholder {
  color: var(--text-muted);
}

.scan-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition);
  white-space: nowrap;
}

.scan-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

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

.scan-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-icon {
  font-size: 16px;
}

.error-tip {
  color: var(--danger);
  font-size: 14px;
  margin-bottom: 16px;
  padding: 10px 16px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius-md);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.quick-examples {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.quick-label {
  font-size: 13px;
  color: var(--text-muted);
}

.quick-tag {
  padding: 4px 12px;
  font-size: 13px;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  transition: var(--transition);
}

.quick-tag:hover {
  color: var(--primary-light);
  border-color: var(--primary);
  background: rgba(59, 130, 246, 0.1);
}

/* ==================== 检测进度 ==================== */
.scan-progress {
  padding: 40px 0;
}

.progress-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

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

.progress-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
}

.target-name {
  color: var(--primary-light);
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.progress-percent {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-light);
}

.progress-bar {
  height: 8px;
  background: var(--bg-input);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--success));
  border-radius: 4px;
  transition: width 0.5s ease;
  width: 0%;
}

.progress-step {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.progress-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}

.progress-step-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--bg-input);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-muted);
  border: 1px solid transparent;
  transition: var(--transition);
}

.progress-step-item.active {
  color: var(--primary-light);
  border-color: var(--primary);
  background: rgba(59, 130, 246, 0.1);
}

.progress-step-item.done {
  color: var(--success);
}

.step-status {
  font-size: 14px;
}

/* ==================== 检测结果 ==================== */
.scan-result {
  padding: 40px 0 60px;
}

.result-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.result-title {
  font-size: 28px;
  font-weight: 700;
}

.result-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: var(--text-secondary);
}

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

.btn-secondary {
  padding: 8px 20px;
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary-light);
}

/* 总分概览 */
.score-overview {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.score-circle-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.score-circle {
  position: relative;
  width: 200px;
  height: 200px;
  margin-bottom: 16px;
}

.score-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.score-bg {
  fill: none;
  stroke: var(--bg-input);
  stroke-width: 12;
}

.score-fill {
  fill: none;
  stroke: var(--primary);
  stroke-width: 12;
  stroke-linecap: round;
  stroke-dasharray: 534;
  stroke-dashoffset: 534;
  transition: stroke-dashoffset 1.5s ease, stroke 0.5s ease;
}

.score-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.score-number {
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
  color: var(--text-primary);
}

.score-label {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

.risk-level {
  text-align: center;
}

.risk-badge {
  display: inline-block;
  padding: 6px 20px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 20px;
  background: var(--bg-input);
  color: var(--text-secondary);
}

.risk-badge.excellent { background: rgba(16, 185, 129, 0.15); color: var(--success); }
.risk-badge.good { background: rgba(59, 130, 246, 0.15); color: var(--primary-light); }
.risk-badge.fair { background: rgba(245, 158, 11, 0.15); color: var(--warning); }
.risk-badge.poor { background: rgba(249, 115, 22, 0.15); color: #f97316; }
.risk-badge.critical { background: rgba(239, 68, 68, 0.15); color: var(--danger); }

/* 统计卡片 */
.stats-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-light);
}

.stat-card.critical { border-left: 3px solid var(--critical); }
.stat-card.high { border-left: 3px solid #f97316; }
.stat-card.medium { border-left: 3px solid var(--warning); }
.stat-card.low { border-left: 3px solid var(--info); }

.stat-icon {
  font-size: 32px;
}

.stat-number {
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* 通用卡片 */
.section-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
}

.section-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}

/* 分类得分 */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.category-item {
  background: var(--bg-input);
  border-radius: var(--radius-md);
  padding: 18px;
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.category-item:hover {
  border-color: var(--border-color);
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.category-name {
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.category-score {
  font-size: 18px;
  font-weight: 700;
}

.category-bar {
  height: 6px;
  background: var(--bg-primary);
  border-radius: 3px;
  overflow: hidden;
}

.category-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 1s ease;
}

.category-findings {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* 筛选标签 */
.filter-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 6px 16px;
  font-size: 13px;
  color: var(--text-secondary);
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  transition: var(--transition);
}

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

.filter-tab.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* 问题列表 */
.findings-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.finding-item {
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px;
  cursor: pointer;
  transition: var(--transition);
  border-left: 3px solid var(--text-muted);
}

.finding-item:hover {
  border-color: var(--border-color);
  background: var(--bg-card-hover);
}

.finding-item.critical { border-left-color: var(--critical); }
.finding-item.high { border-left-color: #f97316; }
.finding-item.medium { border-left-color: var(--warning); }
.finding-item.low { border-left-color: var(--info); }
.finding-item.info { border-left-color: var(--text-muted); }

.finding-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

.finding-title {
  font-size: 15px;
  font-weight: 600;
  flex: 1;
}

.severity-badge {
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.severity-badge.critical { background: rgba(220, 38, 38, 0.2); color: #f87171; }
.severity-badge.high { background: rgba(249, 115, 22, 0.2); color: #fb923c; }
.severity-badge.medium { background: rgba(245, 158, 11, 0.2); color: #fbbf24; }
.severity-badge.low { background: rgba(99, 102, 241, 0.2); color: #818cf8; }
.severity-badge.info { background: rgba(100, 116, 139, 0.2); color: var(--text-secondary); }

.finding-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.finding-category {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* 空状态 */
.empty-state {
  text-align: center;
  padding: 48px 20px;
}

.empty-icon {
  font-size: 56px;
  margin-bottom: 16px;
}

.empty-text {
  font-size: 16px;
  color: var(--text-secondary);
}

/* 修复方案 */
.recommendations-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.recommendation-item {
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  gap: 14px;
}

.rec-priority {
  flex-shrink: 0;
  width: 4px;
  border-radius: 2px;
  background: var(--text-muted);
}

.rec-priority.critical { background: var(--critical); }
.rec-priority.high { background: #f97316; }
.rec-priority.medium { background: var(--warning); }
.rec-priority.low { background: var(--info); }

.rec-content {
  flex: 1;
}

.rec-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.rec-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.rec-category {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ==================== 功能介绍 ==================== */
.features {
  padding: 80px 0;
  background: var(--bg-secondary);
}

.section-heading {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
}

.section-subheading {
  text-align: center;
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 48px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}

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

.feature-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.feature-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==================== 关于 ==================== */
.about {
  padding: 80px 0;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-text {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.highlight-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.highlight-num {
  font-size: 36px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-light), var(--success));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.highlight-label {
  font-size: 13px;
  color: var(--text-muted);
}

/* ==================== 页脚 ==================== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-logo {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-desc {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-right {
  max-width: 500px;
}

.footer-note {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.footer-copyright {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-contact {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 12px;
  line-height: 1.6;
}

.footer-contact strong {
  color: var(--success);
}

.footer-domain {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
  opacity: 0.7;
}

/* ==================== 弹窗 ==================== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

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

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  background: var(--bg-card);
  z-index: 1;
}

.modal-title {
  font-size: 18px;
  font-weight: 600;
}

.modal-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 16px;
  transition: var(--transition);
}

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

.modal-body {
  padding: 24px;
}

.modal-section {
  margin-bottom: 20px;
}

.modal-section:last-child {
  margin-bottom: 0;
}

.modal-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.modal-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.modal-evidence {
  background: var(--bg-input);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 13px;
  color: var(--text-secondary);
  font-family: 'Consolas', 'Monaco', monospace;
  word-break: break-all;
}

.modal-fix {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 13px;
  color: #6ee7b7;
  line-height: 1.7;
}

/* ==================== 响应式适配 ==================== */
@media (max-width: 1024px) {
  .score-overview {
    grid-template-columns: 1fr;
  }

  .stats-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-highlights {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 120px 0 60px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-desc {
    font-size: 15px;
  }

  .scan-form {
    flex-direction: column;
    padding: 12px;
  }

  .input-group {
    padding: 8px 12px;
  }

  .target-input {
    padding: 10px 0;
  }

  .scan-btn {
    width: 100%;
    justify-content: center;
    padding: 12px;
  }

  .nav {
    display: none;
  }

  .progress-card {
    padding: 20px;
  }

  .progress-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .result-header {
    flex-direction: column;
  }

  .result-title {
    font-size: 22px;
  }

  .result-meta {
    gap: 10px;
  }

  .score-circle-card {
    padding: 24px;
  }

  .score-circle {
    width: 160px;
    height: 160px;
  }

  .score-number {
    font-size: 42px;
  }

  .stats-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .stat-card {
    padding: 16px;
  }

  .stat-icon {
    font-size: 24px;
  }

  .stat-number {
    font-size: 24px;
  }

  .section-card {
    padding: 20px;
  }

  .section-title {
    font-size: 17px;
  }

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

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

  .section-heading {
    font-size: 24px;
  }

  .features,
  .about {
    padding: 60px 0;
  }

  .about-highlights {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .highlight-num {
    font-size: 28px;
  }

  .footer-inner {
    flex-direction: column;
  }

  .modal-content {
    width: 95%;
    max-height: 85vh;
  }

  .modal-header,
  .modal-body {
    padding: 16px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 26px;
  }

  .stats-cards {
    grid-template-columns: 1fr 1fr;
  }

  .progress-steps-grid {
    grid-template-columns: 1fr;
  }

  .quick-examples {
    flex-direction: column;
    align-items: stretch;
  }

  .quick-tag {
    text-align: center;
  }
}

/* ==================== 新增样式：LOGO图片 ==================== */
.logo-img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: contain;
  margin-right: 10px;
  vertical-align: middle;
}

.footer-logo-img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: contain;
  margin-right: 8px;
  vertical-align: middle;
}

.footer-logo {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

/* ==================== 新增样式：Hero Slogan ==================== */
.hero-slogan {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 16px;
  letter-spacing: 4px;
  text-align: center;
}

/* ==================== 新增样式：关于页面 ==================== */
.about-intro {
  margin-bottom: 32px;
}

.about-section {
  margin-bottom: 36px;
  padding: 24px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
}

.about-subtitle {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.about-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 8px;
}

.about-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.about-feature-item:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.about-feature-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.about-feature-text {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}

.about-steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
}

.about-steps li {
  counter-increment: step;
  padding: 12px 0 12px 48px;
  position: relative;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
  border-bottom: 1px solid var(--border-light);
}

.about-steps li:last-child {
  border-bottom: none;
}

.about-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 12px;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.about-steps li strong {
  color: var(--text-primary);
  font-weight: 600;
}

.about-feature-list {
  list-style: none;
  padding: 0;
  margin-top: 16px;
}

.about-feature-list li {
  padding: 10px 0 10px 28px;
  position: relative;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
}

.about-feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 10px;
  width: 20px;
  height: 20px;
  background: var(--success);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}

.about-feature-list li strong {
  color: var(--text-primary);
  font-weight: 600;
}

.about-contact {
  text-align: center;
  padding: 32px 24px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(99, 102, 241, 0.1));
  border-radius: var(--radius-lg);
  border: 1px solid var(--primary);
}

.about-contact .about-subtitle {
  justify-content: center;
}

.wechat-box {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 2px solid var(--success);
  margin-top: 16px;
}

.wechat-icon {
  font-size: 28px;
}

.wechat-label {
  font-size: 16px;
  color: var(--text-secondary);
}

.wechat-id {
  font-size: 22px;
  font-weight: 700;
  color: var(--success);
  letter-spacing: 1px;
  font-family: 'Courier New', monospace;
}

/* ==================== 响应式：关于页面 ==================== */
@media (max-width: 768px) {
  .about-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-section {
    padding: 20px 16px;
  }

  .hero-slogan {
    font-size: 16px;
    letter-spacing: 2px;
  }

  .wechat-box {
    flex-direction: column;
    padding: 20px;
    gap: 8px;
  }

  .wechat-id {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .about-features-grid {
    grid-template-columns: 1fr;
  }

  .logo-img {
    width: 30px;
    height: 30px;
  }
}

/* ==================== V2.0 新增样式 ==================== */

/* Hero区域联系信息 */
.hero-contact {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
  text-align: center;
}
.hero-contact strong {
  color: var(--success);
  font-weight: 600;
}

/* 文字左对齐 */
.about-text-left {
  text-align: left !important;
}

/* 关于页面联系信息内联 */
.about-contact-inline {
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(16, 185, 129, 0.08);
  border-left: 3px solid var(--success);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}
.about-contact-inline strong {
  color: var(--success);
}

/* 使用方法步骤 - 左对齐（绝对定位方式，最可靠） */
.about-steps {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  counter-reset: step !important;
}
.about-steps li {
  display: block !important;
  padding: 12px 0 12px 44px !important;
  text-align: left !important;
  border-bottom: 1px solid var(--border-light);
  position: relative !important;
  counter-increment: step !important;
  line-height: 1.7;
}
.about-steps li:last-child {
  border-bottom: none;
}
.about-steps li::before {
  content: counter(step) !important;
  position: absolute !important;
  left: 0 !important;
  top: 12px !important;
  width: 28px !important;
  height: 28px !important;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-radius: 50%;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.85rem;
  font-weight: 600;
  box-sizing: border-box !important;
  line-height: 1;
}
.about-steps li strong {
  color: var(--text-primary);
  margin-right: 6px;
}

/* 产品特色列表 - 左对齐（绝对定位方式，最可靠） */
.about-feature-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 16px 0 0 0 !important;
}
.about-feature-list li {
  display: block !important;
  padding: 8px 0 8px 36px !important;
  text-align: left !important;
  position: relative !important;
  line-height: 1.7;
  color: var(--text-secondary);
  font-size: 15px;
}
.about-feature-list li::before {
  content: '✓' !important;
  position: absolute !important;
  left: 0 !important;
  top: 10px !important;
  width: 22px !important;
  height: 22px !important;
  background: rgba(16, 185, 129, 0.15);
  color: var(--success);
  border-radius: 50%;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.75rem;
  font-weight: 700;
  box-sizing: border-box !important;
  line-height: 1;
}
.about-feature-list li strong {
  color: var(--text-primary);
  margin-right: 4px;
}

/* 最近检测 */
.recent-scans {
  margin-top: 20px;
  padding: 16px 20px;
  background: rgba(26, 34, 52, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
}
.recent-scans-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.recent-scans-icon {
  font-size: 1rem;
}
.recent-scans-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}
.recent-scans-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: auto;
}
.recent-scans-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.recent-scan-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.8rem;
}
.recent-scan-item:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary);
  transform: translateY(-1px);
}
.recent-scan-target {
  color: var(--text-primary);
  font-weight: 500;
}
.recent-scan-score {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 10px;
}
.recent-scan-score.excellent { background: rgba(16, 185, 129, 0.2); color: #10b981; }
.recent-scan-score.good { background: rgba(59, 130, 246, 0.2); color: #3b82f6; }
.recent-scan-score.fair { background: rgba(245, 158, 11, 0.2); color: #f59e0b; }
.recent-scan-score.poor { background: rgba(249, 115, 22, 0.2); color: #f97316; }
.recent-scan-score.critical { background: rgba(239, 68, 68, 0.2); color: #ef4444; }
.recent-scan-time {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* 功能卡片网格 - 15个维度适配 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

/* 响应式 */
@media (max-width: 768px) {
  .recent-scans-hint {
    display: none;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .about-steps li {
    font-size: 0.85rem;
  }
}

/* ==================== V3.0 首页改版样式 ==================== */

/* Hero区新样式 */
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-cta-secondary {
  margin-top: 16px;
  text-align: center;
}

.btn-link {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 0.95rem;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

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

.btn-link .arrow {
  transition: transform 0.2s;
}

.btn-link:hover .arrow {
  transform: translateX(4px);
}

/* 信任带 */
.trust-band {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.trust-number {
  font-size: 1.4rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.trust-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.15);
}

/* 样例报告区域 */
.samples-section {
  padding: 80px 0;
  background: var(--bg-secondary);
}

.samples-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.sample-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s;
  cursor: pointer;
}

.sample-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.15);
}

.sample-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.sample-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.sample-score {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border-radius: 10px;
  margin-bottom: 16px;
}

.sample-score .score-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.sample-score .score-value {
  font-size: 1.5rem;
  font-weight: 700;
}

.score-value.score-warning { color: #f59e0b; }
.score-value.score-medium { color: #3b82f6; }
.score-value.score-good { color: #10b981; }

.sample-findings {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.sample-findings li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding: 6px 0;
  border-bottom: 1px solid var(--border-color);
}

.sample-findings li:last-child {
  border-bottom: none;
}

.sample-btn {
  width: 100%;
  padding: 10px;
  background: none;
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: 8px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
}

.sample-btn:hover {
  background: var(--primary);
  color: white;
}

/* 20大维度分组样式 */
.feature-groups {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 40px;
}

.feature-group {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 28px;
}

.group-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.group-icon {
  font-size: 1.8rem;
}

.group-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.group-tag {
  font-size: 0.75rem;
  padding: 4px 10px;
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary);
  border-radius: 12px;
}

.group-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.group-item {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: var(--bg-secondary);
  border-radius: 10px;
  transition: all 0.2s;
}

.group-item:hover {
  background: rgba(59, 130, 246, 0.05);
}

.group-item .item-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.group-item .item-content h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 4px 0;
}

.group-item .item-content p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.hidden-item {
  display: none;
}

.expand-all-wrapper {
  text-align: center;
  margin-top: 32px;
}

.expand-all-btn {
  padding: 12px 32px;
  background: none;
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: 10px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.expand-all-btn:hover {
  background: var(--primary);
  color: white;
}

.expand-all-btn .expand-arrow {
  transition: transform 0.3s;
}

.expand-all-btn.expanded .expand-arrow {
  transform: rotate(180deg);
}

/* 修复建议模块 */
.fix-section {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.fix-header {
  text-align: center;
  margin-bottom: 48px;
}

.fix-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.fix-feature-card {
  text-align: center;
  padding: 28px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  transition: all 0.3s;
}

.fix-feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

.fix-feature-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.fix-feature-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.fix-feature-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* 修复示例 */
.fix-example {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.example-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  flex-wrap: wrap;
}

.example-tag {
  font-size: 0.75rem;
  padding: 4px 10px;
  background: var(--primary);
  color: white;
  border-radius: 6px;
  font-weight: 600;
}

.example-header h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  flex: 1;
}

.example-risk {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 600;
}

.risk-high {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.example-body {
  padding: 24px;
}

.example-section {
  margin-bottom: 20px;
}

.example-section:last-child {
  margin-bottom: 0;
}

.example-section h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 8px 0;
}

.example-section p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

.example-section pre {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 12px 16px;
  margin: 8px 0 0 0;
  overflow-x: auto;
}

.example-section code {
  font-size: 0.8rem;
  color: var(--success);
  font-family: 'Consolas', 'Monaco', monospace;
}

.example-section p code {
  background: var(--bg-secondary);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.8rem;
}

.fix-cta {
  text-align: center;
}

.btn-primary {
  padding: 12px 32px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
  padding: 12px 24px;
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  border-radius: 10px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* 客户案例模块 */
.cases-section {
  padding: 80px 0;
  background: var(--bg-primary);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 28px;
  position: relative;
  transition: all 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

.testimonial-quote {
  font-size: 3rem;
  color: var(--primary);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: -10px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0 0 20px 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
}

.author-avatar {
  font-size: 2rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  border-radius: 50%;
}

.author-info .author-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.author-info .author-title {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.cases-stats {
  display: flex;
  justify-content: center;
  gap: 64px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
  flex-wrap: wrap;
}

.case-stat {
  text-align: center;
}

.case-stat .stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

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

/* 关于模块新样式 */
.about-credentials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 32px 0;
}

.credential-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
}

.credential-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.credential-info h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 4px 0;
}

.credential-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.about-actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* 页脚新样式 */
.footer-links {
  margin: 12px 0;
  font-size: 0.8rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary);
}

.link-divider {
  color: var(--border-color);
  margin: 0 8px;
}

/* 弹窗新样式 */
.modal-wide {
  max-width: 900px !important;
}

/* 响应式适配 */
@media (max-width: 768px) {
  .hero-subtitle {
    font-size: 1rem;
  }

  .trust-band {
    flex-direction: column;
    gap: 16px;
  }

  .trust-divider {
    width: 60px;
    height: 1px;
  }

  .group-items {
    grid-template-columns: 1fr;
  }

  .fix-features-grid {
    grid-template-columns: 1fr;
  }

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

  .cases-stats {
    gap: 32px;
  }

  .about-credentials {
    grid-template-columns: 1fr;
  }

  .about-actions {
    flex-direction: column;
  }

  .about-actions .btn-primary,
  .about-actions .btn-secondary {
    width: 100%;
  }

  .example-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.6rem !important;
  }

  .sample-card,
  .testimonial-card,
  .feature-group {
    padding: 20px;
  }
}

/* 样例报告弹窗样式 */
.sample-report {
  color: var(--text-primary);
}

.sample-report-header {
  display: flex;
  gap: 32px;
  align-items: center;
  padding: 24px;
  background: var(--bg-secondary);
  border-radius: 12px;
  margin-bottom: 24px;
}

.sample-report-score {
  width: 120px;
  height: 120px;
  border: 4px solid;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sample-report-score .score-num {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}

.sample-report-score .score-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.sample-report-meta {
  flex: 1;
}

.sample-report-meta p {
  margin: 8px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.sample-report-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.sample-report-stats .stat-item {
  text-align: center;
  padding: 16px 8px;
  border-radius: 10px;
}

.sample-report-stats .stat-item.critical { background: rgba(239, 68, 68, 0.1); }
.sample-report-stats .stat-item.high { background: rgba(249, 115, 22, 0.1); }
.sample-report-stats .stat-item.medium { background: rgba(245, 158, 11, 0.1); }
.sample-report-stats .stat-item.low { background: rgba(59, 130, 246, 0.1); }

.sample-report-stats .stat-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.sample-report-stats .stat-item.critical .stat-num { color: #ef4444; }
.sample-report-stats .stat-item.high .stat-num { color: #f97316; }
.sample-report-stats .stat-item.medium .stat-num { color: #f59e0b; }
.sample-report-stats .stat-item.low .stat-num { color: #3b82f6; }

.sample-report-stats .stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.sample-findings {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sample-finding-item {
  padding: 16px;
  background: var(--bg-secondary);
  border-radius: 10px;
  border-left: 4px solid;
}

.sample-finding-item:has(.level-critical) { border-left-color: #ef4444; }
.sample-finding-item:has(.level-high) { border-left-color: #f97316; }
.sample-finding-item:has(.level-medium) { border-left-color: #f59e0b; }
.sample-finding-item:has(.level-low) { border-left-color: #3b82f6; }

.finding-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.finding-level {
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 600;
  flex-shrink: 0;
}

.finding-level.level-critical { background: rgba(239, 68, 68, 0.15); color: #ef4444; }
.finding-level.level-high { background: rgba(249, 115, 22, 0.15); color: #f97316; }
.finding-level.level-medium { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.finding-level.level-low { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }

.finding-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.finding-location {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 4px 0;
}

.finding-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 8px 0;
}

.finding-fix {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--border-color);
}

.finding-fix code {
  display: block;
  margin-top: 6px;
  padding: 8px 12px;
  background: var(--bg-card);
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--success);
  font-family: 'Consolas', 'Monaco', monospace;
  overflow-x: auto;
}

/* 弹窗响应式 */
@media (max-width: 768px) {
  .sample-report-header {
    flex-direction: column;
    text-align: center;
  }

  .sample-report-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
