/* 容器样式 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* 头部样式 */
.header {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #6366f1 100%);
  color: #ffffff;
  padding: 24px 0 100px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: background 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

/* 头部背景装饰 */
.header-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.bg-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.9) 0%, rgba(59, 130, 246, 0.85) 50%, rgba(99, 102, 241, 0.8) 100%);
}

.bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  animation: float 8s ease-in-out infinite;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.shape-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.shape-2 {
  width: 300px;
  height: 300px;
  bottom: -50px;
  left: -50px;
  animation-delay: 3s;
}

.shape-3 {
  width: 200px;
  height: 200px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 6s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) rotate(180deg);
  }
}

/* 导航栏样式 */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 80px;
  position: relative;
  z-index: 1;
}

.navbar-brand {
  flex: 1;
}

.brand-link {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  transition: transform 0.3s ease;
}

.brand-link:hover {
  transform: translateY(-2px);
}

.brand-icon {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  padding: 16px;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
}

.brand-icon svg {
  fill: rgba(255, 255, 255, 0.95);
  width: 36px;
  height: 36px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.brand-title {
  font-size: 32px;
  font-weight: bold;
  background: linear-gradient(135deg, #ffffff, #e0e7ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  font-family: 'Fraunces', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif;
}

.brand-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.action-item {
  display: inline-block;
}

/* 按钮样式 */
.btn {
  padding: 12px 24px;
  border-radius: 16px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  font-family: inherit;
}

.btn-icon {
  padding: 12px;
  min-width: auto;
}

.btn-glass {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-glass:hover {
  background-color: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.btn-primary {
  background-color: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.95);
  color: #3b82f6;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
  background-color: #ffffff;
  border-color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(59, 130, 246, 0.5);
}

.btn-gradient {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-color: transparent;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s;
}

.btn-gradient:hover::before {
  left: 100%;
}

.btn-gradient:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(99, 102, 241, 0.6);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 14px;
  border-radius: 12px;
}

/* 语言选择器样式 */
.language-selector {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 12px;
  background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  min-width: 160px;
  display: none;
  backdrop-filter: blur(20px);
  overflow: hidden;
}

.language-option {
  padding: 16px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #1e293b;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

.language-option:last-child {
  border-bottom: none;
}

.language-option:hover {
  background-color: rgba(99, 102, 241, 0.15);
  color: #6366f1;
  transform: translateX(8px);
}

/* 英雄区域样式 */
.hero {
  text-align: center;
  position: relative;
  z-index: 1;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 30px;
  padding: 12px 24px;
  margin-bottom: 32px;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
  }
}

.badge-text {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  animation: dot-pulse 2s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
}

@keyframes dot-pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.8);
  }
}

.hero-title {
  margin: 0 0 24px;
  font-family: 'Fraunces', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif;
}

.hero-brand {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}

.hero-subtitle {
  display: block;
  font-size: 28px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero-logo {
  display: block;
  font-size: 80px;
  font-weight: bold;
  background: linear-gradient(135deg, #ffffff, #e0e7ff, #c7d2fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  animation: glow 3s ease-in-out infinite;
  line-height: 1;
  margin-bottom: 16px;
}

@keyframes glow {
  0%, 100% {
    text-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  }
  50% {
    text-shadow: 0 8px 35px rgba(99, 102, 241, 0.6);
  }
}

.hero-description {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 56px;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500;
}

/* 搜索表单容器 */
.search-form-container {
  background-color: rgba(255, 255, 255, 0.98);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 80px;
  position: relative;
  overflow: hidden;
}

.search-form-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: white;
}

.search-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* 搜索输入组 */
.search-input-group {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .search-input-group {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .search-button {
    width: 100%;
    justify-content: center;
  }
}

/* 搜索框样式 */
.search-box {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

.search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #6366f1;
  z-index: 2;
  font-size: 20px;
  transition: all 0.3s ease;
}

.search-input {
  width: 100%;
  padding: 20px 64px 20px 56px;
  font-size: 16px;
  border: 2px solid rgba(99, 102, 241, 0.2);
  border-radius: 16px;
  background-color: rgba(255, 255, 255, 0.95);
  color: #1e293b;
  font-weight: 500;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  font-family: inherit;
  backdrop-filter: blur(10px);
}

.search-input::placeholder {
  color: rgba(107, 114, 128, 0.7);
  font-weight: 400;
}

.search-input:hover {
  border-color: rgba(99, 102, 241, 0.4);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.15);
  transform: translateY(-1px);
}

.search-input:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
  transform: translateY(-2px);
  background-color: rgba(255, 255, 255, 0.98);
}

.search-input:focus + .search-icon {
  color: #6366f1;
  transform: translateY(-50%) scale(1.1);
}

.search-clear {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: #6366f1;
  cursor: pointer;
  display: none;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.search-clear:hover {
  color: #4f46e5;
  background-color: rgba(99, 102, 241, 0.1);
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.search-clear.visible {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* 搜索按钮样式 */
.search-button {
  padding: 0 40px;
  height: 68px;
  font-size: 16px;
  font-weight: 600;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border: none;
  border-radius: 16px;
  color: white;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
  position: relative;
  overflow: hidden;
  font-family: inherit;
}

.search-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.search-button:hover::before {
  left: 100%;
}

.search-button:hover {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(99, 102, 241, 0.6);
}

.search-button:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.4);
}

.search-button:hover #search-icon {
  animation: pulse 1.5s ease-in-out infinite;
}

.button-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.search-button:hover .button-glow {
  opacity: 1;
  animation: glowPulse 2s ease-in-out infinite;
}

/* 动画效果 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-50%) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
}

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

@keyframes glowPulse {
  0%, 100% {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

/* 响应式设计 */
@media (max-width: 768px) {
  .search-input {
    padding: 18px 56px 18px 52px;
    font-size: 15px;
    border-radius: 14px;
  }
  
  .search-icon {
    left: 18px;
    font-size: 18px;
  }
  
  .search-button {
    height: 60px;
    padding: 0 32px;
    font-size: 15px;
    border-radius: 14px;
  }
}

@media (max-width: 480px) {
  .search-input {
    padding: 16px 52px 16px 48px;
    font-size: 14px;
    border-radius: 12px;
  }
  
  .search-icon {
    left: 16px;
    font-size: 16px;
  }
  
  .search-button {
    height: 56px;
    padding: 0 28px;
    font-size: 14px;
    border-radius: 12px;
  }
}

/* 复选框样式 */
.checkboxes {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  padding: 0 8px;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 12px;
  transition: all 0.3s ease;
  min-width: 120px;
}

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

.checkbox-trigger {
  display: none;
}

.checkbox-label {
  color: #475569;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  padding-left: 32px;
  transition: color 0.3s ease;
  margin: 0;
  display: flex;
  align-items: center;
  height: 28px;
}

.checkbox:hover .checkbox-label {
  color: #3b82f6;
}

.checkbox-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: 2px solid #cbd5e1;
  border-radius: 4px;
  background-color: #ffffff;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.checkbox:hover .checkbox-label::before {
  border-color: #93c5fd;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

.checkbox-trigger:checked + .checkbox-label::before {
  border-color: #3b82f6;
  background-color: #3b82f6;
  box-shadow: 0 2px 12px rgba(59, 130, 246, 0.3);
  animation: checkboxPulse 0.3s ease;
}

.checkbox-trigger:checked + .checkbox-label::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 6px;
  height: 12px;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  animation: checkboxCheck 0.3s ease;
}

.checkbox-icon-wrapper {
  display: none;
}



@keyframes checkboxPulse {
  0% {
    transform: translateY(-50%) scale(1);
  }
  50% {
    transform: translateY(-50%) scale(1.1);
  }
  100% {
    transform: translateY(-50%) scale(1);
  }
}

/* 批量查询容器 */
.batch-input-container {
  margin-top: 12px;
  display: none;
  padding: 32px;
  background-color: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.batch-input-title {
  font-size: 18px;
  font-weight: 700;
  color: #374151;
  margin: 0 0 20px;
}

.batch-input {
  width: 100%;
  padding: 20px 24px;
  resize: vertical;
  border: 3px solid rgba(226, 232, 240, 0.9);
  border-radius: 12px;
  background-color: #ffffff;
  color: #1e293b;
  font-family: inherit;
  font-size: 16px;
  transition: all 0.3s ease;
  outline: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.batch-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.15);
  transform: translateY(-2px);
}

.batch-input-note {
  font-size: 14px;
  color: #94a3b8;
  margin-top: 16px;
  margin-bottom: 0;
  font-weight: 500;
}

/* 历史记录容器 */
.history-container {
  margin-top: 12px;
}

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

.history-title {
  font-size: 18px;
  font-weight: 700;
  color: #374151;
  margin: 0;
}

#history-toggle {
  padding: 10px 20px;
  font-size: 14px;
  background-color: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 12px;
  color: #475569;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#history-toggle:hover {
  background-color: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
  color: #3b82f6;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.2);
}

.history-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 24px;
  background-color: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 16px;
  max-height: 180px;
  overflow-y: auto;
  display: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.history-list.visible {
  display: flex;
}

.history-list button {
  padding: 10px 20px;
  font-size: 15px;
  background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 20px;
  color: #475569;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  font-family: inherit;
}

.history-list button:hover {
  background-color: #3b82f6;
  border-color: #3b82f6;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

/* 英雄特性卡片 */
.hero-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 80px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 24px;
  padding: 40px 32px;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #3b82f6, #6366f1, #8b5cf6);
}

.feature-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
  background: rgba(255, 255, 255, 0.3);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.feature-card:hover .feature-icon {
  transform: scale(1.15);
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.feature-icon svg {
  fill: rgba(255, 255, 255, 0.95);
  width: 40px;
  height: 40px;
}

.feature-title {
  font-size: 20px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  margin: 0 0 16px;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-title {
  transform: translateY(-2px);
}

.feature-description {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin: 0;
  font-weight: 500;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-description {
  transform: translateY(-2px);
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .hero-logo {
    font-size: 64px;
  }
  
  .hero-description {
    font-size: 18px;
  }
  
  .search-form-container {
    padding: 32px;
  }
  
  .search-input {
    padding: 20px 60px 20px 56px;
    font-size: 16px;
  }
  
  .search-button {
    height: 68px;
    padding: 0 40px;
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 20px 0 80px;
    min-height: auto;
  }
  
  .container {
    padding: 0 20px;
  }
  
  .navbar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 60px;
  }
  
  .navbar-actions {
    width: auto;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 12px;
  }
  
  .action-item {
    flex: none;
    min-width: auto;
  }
  
  .btn {
    width: auto;
    justify-content: center;
    padding: 8px 16px;
    font-size: 14px;
  }
  
  .brand-title {
    font-size: 28px;
  }
  
  .hero-subtitle {
    font-size: 24px;
  }
  
  .hero-logo {
    font-size: 48px;
  }
  
  .hero-description {
    font-size: 16px;
    margin-bottom: 40px;
  }
  
  .search-form-container {
    padding: 24px;
  }
  
  .search-input {
    padding: 16px 50px 16px 48px;
    font-size: 14px;
  }
  
  .search-button {
    height: 56px;
    padding: 0 32px;
    font-size: 14px;
  }
  
  .checkboxes {
    gap: 24px;
  }
  
  .checkbox-label {
    font-size: 14px;
  }
  
  .history-list {
    max-height: 140px;
  }
  
  .hero-features {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 60px;
  }
  
  .feature-card {
    padding: 32px 24px;
  }
  
  .feature-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
  }
  
  .feature-icon svg {
    width: 32px;
    height: 32px;
  }
  
  .feature-title {
    font-size: 18px;
  }
  
  .feature-description {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .navbar-actions {
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }
  
  .action-item {
    width: auto;
  }
  
  .btn {
    padding: 6px 12px;
    font-size: 12px;
  }
  
  .hero-subtitle {
    font-size: 20px;
  }
  
  .hero-logo {
    font-size: 40px;
  }
  
  .search-form-container {
    padding: 20px;
  }
  
  .search-input {
    padding: 14px 44px 14px 40px;
    font-size: 13px;
  }
  
  .search-button {
    height: 50px;
    padding: 0 24px;
    font-size: 13px;
  }
  
  .checkboxes {
    flex-direction: column;
    gap: 16px;
  }
  
  .checkbox {
    width: 100%;
  }
  
  .history-list {
    max-height: 120px;
  }
  
  .feature-card {
    padding: 24px 20px;
  }
}

/* 确保body背景色与整体设计一致，避免底部白色空间 */
body {
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #6366f1 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}



/* 回到顶部按钮 */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #3b82f6;
  color: white;
  border: none;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.6);
}

/* 滚动条样式 */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(248, 250, 252, 0.8);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: rgba(107, 114, 128, 0.5);
  border-radius: 4px;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(107, 114, 128, 0.8);
}

/* 动画效果增强 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content {
  animation: fadeInUp 0.8s ease-out;
}

.search-form-container {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-features {
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
  .search-form-container {
    background-color: rgba(30, 41, 59, 0.98);
    border-color: rgba(71, 85, 105, 0.5);
  }
  
  .search-input {
    background-color: rgba(45, 55, 72, 0.9);
    color: #e2e8f0;
    border-color: rgba(71, 85, 105, 0.5);
  }
  
  .search-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.2);
  }
  
  .checkbox-label {
    color: #cbd5e1;
  }
  
  .checkbox:hover .checkbox-label {
    color: #3b82f6;
  }
  
  .checkbox-label::before {
    background-color: rgba(45, 55, 72, 0.9);
    border-color: rgba(71, 85, 105, 0.5);
  }
  
  .batch-input-container {
    background-color: rgba(45, 55, 72, 0.9);
    border-color: rgba(71, 85, 105, 0.5);
  }
  
  .batch-input {
    background-color: rgba(30, 41, 59, 0.9);
    color: #e2e8f0;
    border-color: rgba(71, 85, 105, 0.5);
  }
  
  .batch-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.2);
  }
  
  .batch-input-note {
    color: #94a3b8;
  }
  
  .history-list {
    background-color: rgba(45, 55, 72, 0.9);
    border-color: rgba(71, 85, 105, 0.5);
  }
  
  .history-list button {
    background-color: rgba(30, 41, 59, 0.9);
    color: #e2e8f0;
    border-color: rgba(71, 85, 105, 0.5);
  }
  
  .history-list button:hover {
    background-color: #3b82f6;
    color: white;
  }
}

/* 加载动画 */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.loading {
  animation: pulse 1.5s ease-in-out infinite;
}

/* 按钮点击效果 */
.btn:active {
  transform: translateY(0) scale(0.98);
  transition: transform 0.1s ease;
}

.search-button:active {
  transform: translateY(0) scale(0.98);
  transition: transform 0.1s ease;
}

/* 输入框占位符样式 */
.search-input::placeholder {
  color: rgba(107, 114, 128, 0.6);
  font-weight: 500;
}

.batch-input::placeholder {
  color: rgba(107, 114, 128, 0.6);
  font-weight: 500;
}

/* 无障碍支持 */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* 高对比度模式支持 */
@media (prefers-contrast: high) {
  .search-input {
    border-width: 2px;
  }
  
  .checkbox-label::before {
    border-width: 2px;
  }
  
  .feature-card {
    border-width: 2px;
  }
}

/* 打印样式 */
@media print {
  .header {
    background: white;
    color: black;
  }
  
  .search-form-container {
    box-shadow: none;
    border: 1px solid #ccc;
  }
  
  .feature-card {
    box-shadow: none;
    border: 1px solid #ccc;
    background: white;
    color: black;
  }
  
  .btn {
    display: none;
  }
}

/* 焦点样式增强 */
*:focus-visible {
  outline: 3px solid #3b82f6;
  outline-offset: 2px;
}

.search-input:focus-visible {
  outline: 3px solid #3b82f6;
  outline-offset: 2px;
}

.checkbox-trigger:focus-visible + .checkbox-label::before {
  outline: 3px solid #3b82f6;
  outline-offset: 2px;
}

/* 文本选择样式 */
::selection {
  background-color: rgba(59, 130, 246, 0.3);
  color: #ffffff;
}

::-moz-selection {
  background-color: rgba(59, 130, 246, 0.3);
  color: #ffffff;
}

/* 输入框自动填充样式 */
.search-input:-webkit-autofill,
.search-input:-webkit-autofill:hover,
.search-input:-webkit-autofill:focus {
  background-color: #ffffff !important;
  color: #1e293b !important;
  transition: background-color 5000s ease-in-out 0s;
}

@media (prefers-color-scheme: dark) {
  .search-input:-webkit-autofill,
  .search-input:-webkit-autofill:hover,
  .search-input:-webkit-autofill:focus {
    background-color: rgba(45, 55, 72, 0.9) !important;
    color: #e2e8f0 !important;
  }
}