/* ========== CSS Variables & Reset ========== */
:root {
  --primary: #4f6ef7;
  --primary-dark: #3b5de7;
  --primary-light: #e8ecff;
  --secondary: #6c5ce7;
  --accent: #00cec9;
  --success: #00b894;
  --warning: #fdcb6e;
  --danger: #e17055;
  --info: #74b9ff;

  --text-primary: #2d3436;
  --text-secondary: #636e72;
  --text-muted: #b2bec3;
  --text-white: #ffffff;

  --bg-body: #f5f6fa;
  --bg-white: #ffffff;
  --bg-card: #ffffff;
  --bg-hover: #f8f9ff;
  --bg-dark: #1a1a2e;
  --bg-darker: #16213e;

  --border: #e9ecef;
  --border-light: #f1f3f5;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --sidebar-width: 220px;
  --header-height: 60px;

  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  color: var(--text-primary);
  background: var(--bg-body);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

ul {
  list-style: none;
}

input, select, textarea, button {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
}

.hidden {
  display: none !important;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== Buttons ========== */
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 24px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 110, 247, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 8px 22px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.btn-text {
  background: transparent;
  color: var(--text-secondary);
  border: none;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
  cursor: pointer;
}

.btn-text:hover {
  color: var(--danger);
}

.btn-danger {
  background: var(--danger);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 8px 20px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s;
  cursor: pointer;
}

.btn-danger:hover {
  background: #d63031;
  transform: translateY(-1px);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-md {
  padding: 10px 24px;
  font-size: 0.95rem;
}

.btn-sm {
  padding: 6px 16px;
  font-size: 0.85rem;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--text-secondary);
  transition: all 0.2s;
  font-size: 1.15rem;
  cursor: pointer;
}

.icon-btn:hover {
  background: var(--bg-hover);
  color: var(--primary);
}

/* ========== 导航栏 ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: all 0.3s;
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
}

.brand-icon.small {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
}

.brand-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
}

.brand-badge {
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s;
  border-radius: 1px;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 8px 20px;
  font-size: 0.9rem;
}

/* ========== Hero ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f7ff 0%, #e8ecff 50%, #f0e6ff 100%);
  padding-top: 70px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
}

.shape-1 {
  width: 600px;
  height: 600px;
  background: var(--primary);
  top: -200px;
  right: -150px;
  animation: float 8s ease-in-out infinite;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: var(--secondary);
  bottom: -100px;
  left: -100px;
  animation: float 10s ease-in-out infinite reverse;
}

.shape-3 {
  width: 200px;
  height: 200px;
  background: var(--accent);
  top: 50%;
  left: 50%;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(5deg); }
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(79, 110, 247, 0.1);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(79, 110, 247, 0.2);
}

.hero-content h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 20px;
}

.hero-title-line {
  display: block;
  color: var(--text-primary);
}

.hero-title-highlight {
  display: block;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* Mockup */
.hero-visual {
  position: relative;
}

.hero-mockup {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.mockup-header {
  background: var(--bg-body);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--border-light);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mockup-dots span:nth-child(1) { background: #ff6b6b; }
.mockup-dots span:nth-child(2) { background: #ffd93d; }
.mockup-dots span:nth-child(3) { background: #6bcb77; }

.mockup-title {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.mockup-body {
  display: flex;
  min-height: 280px;
}

.mockup-sidebar {
  width: 48px;
  background: var(--bg-dark);
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.mockup-menu-item {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.9rem;
  transition: all 0.2s;
}

.mockup-menu-item.active {
  background: rgba(79, 110, 247, 0.3);
  color: var(--primary-light);
}

.mockup-content {
  flex: 1;
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.mockup-card {
  border-radius: var(--radius-sm);
  height: 56px;
}

.mc-1 { background: linear-gradient(135deg, rgba(79,110,247,0.15), rgba(79,110,247,0.05)); }
.mc-2 { background: linear-gradient(135deg, rgba(0,206,201,0.15), rgba(0,206,201,0.05)); }
.mc-3 { background: linear-gradient(135deg, rgba(108,92,231,0.15), rgba(108,92,231,0.05)); }
.mc-4 { background: linear-gradient(135deg, rgba(225,112,85,0.15), rgba(225,112,85,0.05)); }

.mockup-table {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mockup-row {
  height: 28px;
  background: var(--bg-body);
  border-radius: 4px;
}

/* Floating cards */
.floating-card {
  position: absolute;
  background: white;
  border-radius: var(--radius-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  font-size: 0.85rem;
  font-weight: 600;
  animation: floatCard 3s ease-in-out infinite;
  z-index: 2;
}

.fc-1 {
  top: 30px;
  right: -20px;
  color: var(--success);
  animation-delay: 0s;
}

.fc-2 {
  bottom: 60px;
  left: -30px;
  color: var(--primary);
  animation-delay: 1s;
}

.fc-3 {
  bottom: -10px;
  right: 30px;
  color: var(--secondary);
  animation-delay: 2s;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ========== Sections ========== */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  padding: 6px 20px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ========== Features ========== */
.features-section {
  background: var(--bg-white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
}

.feature-collect .feature-icon {
  background: linear-gradient(135deg, rgba(79,110,247,0.15), rgba(79,110,247,0.05));
  color: var(--primary);
}

.feature-verify .feature-icon {
  background: linear-gradient(135deg, rgba(0,184,148,0.15), rgba(0,184,148,0.05));
  color: var(--success);
}

.feature-manage .feature-icon {
  background: linear-gradient(135deg, rgba(108,92,231,0.15), rgba(108,92,231,0.05));
  color: var(--secondary);
}

.feature-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.feature-card > p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.feature-list li {
  padding: 6px 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.feature-list li i {
  color: var(--success);
  font-size: 0.85rem;
}

.feature-decoration {
  position: absolute;
  bottom: -20px;
  right: -20px;
  font-size: 8rem;
  opacity: 0.04;
  pointer-events: none;
}

/* ========== Workflow ========== */
.workflow-section {
  background: linear-gradient(135deg, #f5f7ff, #f0e6ff);
}

.workflow-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.workflow-step {
  text-align: center;
  padding: 32px 24px;
  flex: 1;
  max-width: 240px;
}

.step-number {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--primary-light);
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.3;
}

.step-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--primary);
  margin: 0 auto 20px;
  box-shadow: var(--shadow-md);
}

.workflow-step h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.workflow-step p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.workflow-connector {
  display: flex;
  align-items: center;
  padding-top: 100px;
  color: var(--text-muted);
  font-size: 1.4rem;
}

/* ========== Advantages ========== */
.advantages-section {
  background: var(--bg-white);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.advantage-card {
  background: var(--bg-body);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all 0.3s;
}

.advantage-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  background: var(--bg-white);
}

.advantage-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
  margin: 0 auto 20px;
}

.advantage-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.advantage-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ========== FAQ ========== */
.faq-section {
  background: var(--bg-body);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: all 0.3s;
}

.faq-item:hover {
  border-color: var(--primary);
}

.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--text-primary);
}

.faq-question i {
  transition: transform 0.3s;
  color: var(--text-muted);
  font-size: 1.2rem;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 24px 20px;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ========== CTA ========== */
.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 80px 0;
}

.cta-content {
  text-align: center;
  color: white;
}

.cta-content h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-content p {
  opacity: 0.9;
  font-size: 1.1rem;
  margin-bottom: 32px;
}

.cta-content .btn-primary {
  background: white;
  color: var(--primary);
  font-size: 1.1rem;
  padding: 16px 40px;
}

.cta-content .btn-primary:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

/* ========== Footer ========== */
.footer {
  background: var(--bg-dark);
  padding: 40px 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
}

.footer-brand .brand-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-copy {
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
}

/* ========== APP Layout ========== */
.app-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.app-header {
  height: var(--header-height);
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.app-header-left,
.app-header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sidebar-toggle {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  font-size: 1.2rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.sidebar-toggle:hover {
  background: var(--bg-hover);
  color: var(--primary);
}

.app-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.05rem;
}

.header-search {
  display: flex;
  align-items: center;
  background: var(--bg-body);
  border-radius: var(--radius-sm);
  padding: 0 12px;
  width: 260px;
}

.header-search i {
  color: var(--text-muted);
  font-size: 1rem;
}

.header-search input {
  background: transparent;
  padding: 8px 10px;
  width: 100%;
  color: var(--text-primary);
}

.header-search input::placeholder {
  color: var(--text-muted);
}

/* Sidebar */
.app-sidebar {
  position: fixed;
  top: var(--header-height);
  left: 0;
  bottom: 0;
  width: var(--sidebar-width);
  background: var(--bg-white);
  border-right: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 12px;
  z-index: 90;
  transition: transform 0.3s ease;
}

.app-sidebar.collapsed {
  transform: translateX(-100%);
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.sidebar-menu-item:hover {
  background: var(--bg-hover);
  color: var(--primary);
}

.sidebar-menu-item.active {
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
}

.sidebar-menu-item i {
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
}

/* Main */
.app-main {
  margin-left: var(--sidebar-width);
  margin-top: var(--header-height);
  padding: 24px;
  min-height: calc(100vh - var(--header-height));
  transition: margin-left 0.3s ease;
}

.app-sidebar.collapsed ~ .app-main {
  margin-left: 0;
}

/* Views */
.app-view {
  display: none;
}

.app-view.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.view-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.view-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.view-header h2 i {
  color: var(--primary);
}

.view-header-actions {
  display: flex;
  gap: 10px;
}

/* ========== Dashboard ========== */
.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.dash-stat-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}

.dash-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.dash-stat-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.dash-stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
}

.dash-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.dash-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.dash-card-header {
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
}

.dash-card-header h3 {
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dash-card-header h3 i {
  color: var(--primary);
}

.link-text {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
}

.link-text:hover {
  opacity: 0.8;
}

.dash-card-body {
  padding: 20px 24px;
  min-height: 200px;
}

/* Empty state */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
  color: var(--text-muted);
}

.empty-state i {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.4;
}

.empty-state p {
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.empty-state.small {
  padding: 32px 20px;
}

.empty-state.small i {
  font-size: 2rem;
  margin-bottom: 10px;
}

.empty-state.small p {
  font-size: 0.85rem;
}

/* ========== Upload ========== */
.upload-dropzone {
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  background: var(--bg-white);
  transition: all 0.3s;
  cursor: pointer;
}

.upload-dropzone:hover,
.upload-dropzone.drag-over {
  border-color: var(--primary);
  background: var(--primary-light);
}

.dropzone-icon {
  font-size: 3.5rem;
  color: var(--primary);
  margin-bottom: 20px;
  opacity: 0.6;
}

.upload-dropzone h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.upload-dropzone p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.upload-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* Queue */
.upload-queue {
  margin-top: 24px;
}

.queue-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.queue-header h3 {
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.queue-actions {
  display: flex;
  gap: 8px;
}

.queue-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.queue-item {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.queue-item-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.queue-item-info {
  flex: 1;
  min-width: 0;
}

.queue-item-name {
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.queue-item-size {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.queue-item-status {
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 600;
  flex-shrink: 0;
}

.status-waiting {
  background: var(--bg-body);
  color: var(--text-muted);
}

.status-processing {
  background: rgba(79,110,247,0.1);
  color: var(--primary);
}

.status-done {
  background: rgba(0,184,148,0.1);
  color: var(--success);
}

.queue-item-remove {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 4px;
  transition: color 0.2s;
}

.queue-item-remove:hover {
  color: var(--danger);
}

/* ========== Verify ========== */
.verify-form {
  margin-bottom: 24px;
}

.form-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.form-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.form-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group label .required {
  color: var(--danger);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-body);
  color: var(--text-primary);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: white;
}

.form-group textarea {
  resize: vertical;
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

/* Verify results */
.verify-results,
.verify-pending {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  overflow: hidden;
}

.verify-result-item {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.verify-result-item:last-child {
  border-bottom: none;
}

.result-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.result-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.result-icon.success {
  background: rgba(0,184,148,0.1);
  color: var(--success);
}

.result-icon.failed {
  background: rgba(225,112,85,0.1);
  color: var(--danger);
}

.result-text h4 {
  font-size: 0.95rem;
  font-weight: 600;
}

.result-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ========== Manage ========== */
.manage-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  gap: 16px;
  flex-wrap: wrap;
}

.toolbar-left,
.toolbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.filter-group select,
.filter-group input {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  color: var(--text-primary);
  font-size: 0.85rem;
  cursor: pointer;
}

.filter-group select:focus,
.filter-group input:focus {
  border-color: var(--primary);
}

.search-box {
  display: flex;
  align-items: center;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 12px;
}

.search-box i {
  color: var(--text-muted);
}

.search-box input {
  padding: 8px 10px;
  background: transparent;
  width: 240px;
}

/* Table */
.invoice-table-container {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: auto;
}

.invoice-table {
  width: 100%;
  border-collapse: collapse;
}

.invoice-table thead {
  background: var(--bg-body);
}

.invoice-table th {
  padding: 14px 16px;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
}

.invoice-table td {
  padding: 14px 16px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-light);
  white-space: nowrap;
}

.invoice-table tbody tr:hover {
  background: var(--bg-hover);
}

.invoice-table tbody tr:last-child td {
  border-bottom: none;
}

.invoice-table input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: var(--primary);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
}

.status-badge.verified {
  background: rgba(0,184,148,0.1);
  color: var(--success);
}

.status-badge.unverified {
  background: rgba(253,203,110,0.2);
  color: #e17055;
}

.status-badge.failed {
  background: rgba(225,112,85,0.1);
  color: var(--danger);
}

.table-actions {
  display: flex;
  gap: 4px;
}

.table-actions button {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.2s;
}

.table-actions button:hover {
  background: var(--bg-hover);
  color: var(--primary);
}

.table-actions button.delete:hover {
  color: var(--danger);
}

.table-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 16px 0;
}

.page-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-white);
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.page-btn:hover,
.page-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* ========== Stats ========== */
.stats-overview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.stats-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.stats-card h4 {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 10px;
}

.stats-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.chart-container {
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Type distribution bars */
.type-bar-list {
  width: 100%;
}

.type-bar-item {
  margin-bottom: 16px;
}

.type-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.type-bar-label span:first-child {
  font-weight: 600;
  color: var(--text-primary);
}

.type-bar-label span:last-child {
  color: var(--text-muted);
}

.type-bar-track {
  width: 100%;
  height: 8px;
  background: var(--bg-body);
  border-radius: 4px;
  overflow: hidden;
}

.type-bar-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  transition: width 0.8s ease;
}

/* Month chart bars */
.month-chart {
  width: 100%;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 180px;
  padding-top: 20px;
}

.month-bar {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  height: 100%;
  justify-content: flex-end;
}

.month-bar-fill {
  width: 100%;
  max-width: 40px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  transition: height 0.8s ease;
  min-height: 4px;
}

.month-bar-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Top list */
.top-list {
  width: 100%;
}

.top-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}

.top-item:last-child {
  border-bottom: none;
}

.top-rank {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--bg-body);
  color: var(--text-muted);
  flex-shrink: 0;
}

.top-rank.rank-1 { background: #ffeaa7; color: #e17055; }
.top-rank.rank-2 { background: #dfe6e9; color: #636e72; }
.top-rank.rank-3 { background: #fab1a0; color: #e17055; }

.top-info {
  flex: 1;
  min-width: 0;
}

.top-info h5 {
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.top-amount {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.95rem;
  flex-shrink: 0;
}

/* ========== Settings ========== */
.settings-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.settings-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.settings-card h3 {
  padding: 18px 24px;
  font-size: 1rem;
  font-weight: 700;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.settings-card h3 i {
  color: var(--primary);
}

.settings-item {
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
}

.settings-item:last-child {
  border-bottom: none;
}

.settings-item-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.settings-item-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ========== Modal ========== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 560px;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px);
  transition: transform 0.3s;
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal.modal-lg {
  max-width: 700px;
}

.modal-header {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
}

.modal-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-header h3 i {
  color: var(--primary);
}

.modal-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-body);
  border: none;
  font-size: 1.2rem;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.modal-close:hover {
  background: var(--danger);
  color: white;
}

.modal-body {
  padding: 24px;
}

.modal-footer {
  padding: 16px 24px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid var(--border-light);
}

/* Detail modal */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.detail-item {
  padding: 12px 16px;
  background: var(--bg-body);
  border-radius: var(--radius-sm);
}

.detail-item.full-width {
  grid-column: 1 / -1;
}

.detail-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.detail-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* ========== Toast ========== */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  min-width: 280px;
  animation: slideIn 0.3s ease;
  border-left: 4px solid var(--primary);
}

.toast.success { border-left-color: var(--success); }
.toast.error { border-left-color: var(--danger); }
.toast.warning { border-left-color: var(--warning); }

.toast i {
  font-size: 1.2rem;
}

.toast.success i { color: var(--success); }
.toast.error i { color: var(--danger); }
.toast.warning i { color: var(--warning); }

.toast span {
  font-size: 0.9rem;
  font-weight: 500;
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(100%); opacity: 0; }
}

/* ========== Recent invoice list item ========== */
.recent-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}

.recent-item:last-child {
  border-bottom: none;
}

.recent-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.recent-icon.type-0 { background: rgba(79,110,247,0.1); color: var(--primary); }
.recent-icon.type-1 { background: rgba(0,184,148,0.1); color: var(--success); }
.recent-icon.type-2 { background: rgba(108,92,231,0.1); color: var(--secondary); }
.recent-icon.type-3 { background: rgba(225,112,85,0.1); color: var(--danger); }

.recent-info {
  flex: 1;
  min-width: 0;
}

.recent-info h5 {
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.recent-info p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.recent-amount {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-desc {
    margin: 0 auto 36px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    max-width: 500px;
    margin: 0 auto;
  }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .workflow-steps {
    flex-direction: column;
    align-items: center;
  }

  .workflow-connector {
    transform: rotate(90deg);
    padding: 0;
  }

  .dashboard-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-overview {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .section-header h2 {
    font-size: 1.6rem;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .app-sidebar {
    transform: translateX(-100%);
  }

  .app-sidebar.mobile-open {
    transform: translateX(0);
  }

  .app-main {
    margin-left: 0;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .manage-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .toolbar-left,
  .toolbar-right {
    flex-wrap: wrap;
  }

  .search-box input {
    width: 100%;
  }

  .header-search {
    width: 180px;
  }
}

/* ========== Scrollbar ========== */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* ========== Spin animation ========== */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ========== Real verify result ========== */
.rv-result-card {
  text-align: center;
  padding: 32px 24px;
}

.rv-result-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 16px;
}

.rv-result-icon.success {
  background: rgba(0,184,148,0.1);
  color: var(--success);
}

.rv-result-icon.failed {
  background: rgba(225,112,85,0.1);
  color: var(--danger);
}

.rv-result-message {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.rv-result-detail {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.rv-data-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  text-align: left;
  margin-top: 20px;
}

.rv-data-item {
  padding: 10px 14px;
  background: var(--bg-body);
  border-radius: var(--radius-sm);
}

.rv-data-item .label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.rv-data-item .value {
  font-size: 0.9rem;
  font-weight: 600;
}

.rv-screenshot {
  margin-top: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.rv-screenshot img {
  width: 100%;
  display: block;
}

/* ========== 查验结果 ========== */
.report-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.report-stat {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  text-align: center;
  border: 1px solid var(--border);
  transition: transform 0.2s;
}

.report-stat:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.report-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
}

.report-stat.pass .report-stat-number { color: var(--success); }
.report-stat.fail .report-stat-number { color: var(--danger); }
.report-stat.rate .report-stat-number { color: var(--primary); }

.report-stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.verify-source-tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 600;
}

.verify-source-tag.real {
  background: rgba(79, 110, 247, 0.1);
  color: var(--primary);
}

.verify-source-tag.sim {
  background: rgba(108, 117, 125, 0.1);
  color: #6C757D;
}

.screenshot-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  cursor: pointer;
  color: var(--primary);
  font-size: 0.9rem;
  transition: all 0.2s;
}

.screenshot-btn:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.number-cell {
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .report-summary {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========== 批量查验进度 ========== */
.batch-progress-bar {
  background: linear-gradient(135deg, rgba(79,110,247,0.05), rgba(108,92,231,0.05));
  border: 1px solid rgba(79,110,247,0.2);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 16px;
}

.batch-progress-text {
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.batch-progress-text strong {
  color: var(--primary);
  font-size: 1.2rem;
}

.batch-progress-track {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 8px;
}

.batch-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), #6C5CE7);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.batch-progress-inv {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-family: 'Consolas', monospace;
}

.batch-result-list {
  max-height: 300px;
  overflow-y: auto;
}

.batch-result-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 4px;
}

.batch-result-row.pass { background: rgba(0,184,148,0.06); }
.batch-result-row.fail { background: rgba(225,112,85,0.06); }

.batch-result-idx {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-body);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.batch-result-num {
  flex: 1;
  font-family: 'Consolas', monospace;
  font-size: 0.85rem;
}

/* ========== Selection ========== */
::selection {
  background: rgba(79, 110, 247, 0.2);
  color: var(--text-primary);
}
