:root {
  --primary-blue: #51c4ff;
  --dark-gray: #35393b;
  --medium-gray: #6c6f71;
  --light-gray: #f5f5f5;
  --accent-purple: #8c67ff;
  --white: #ffffff;

  --font-primary: 'Arial', 'Helvetica Neue', sans-serif;
  --font-heading: 'Arial Black', sans-serif;

  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;

  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
}

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

body {
  font-family: var(--font-primary);
  color: var(--dark-gray);
  line-height: 1.6;
  background: linear-gradient(to bottom, #0a0e27 0%, #1a1f3a 50%, #0f1729 100%);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

header {
  padding: var(--spacing-md) 0;
}

.header-content {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  background: rgba(255, 255, 255, 0.95);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-lg);
  max-width: 600px;
}

.logo {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.brand-name {
  font-size: clamp(1rem, 3vw, 1.25rem);
  font-weight: 700;
  color: var(--dark-gray);
}

.hero {
  text-align: center;
  padding: var(--spacing-xs) 0;
}

.hero-title {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: var(--spacing-sm);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  color: var(--medium-gray);
  margin-bottom: var(--spacing-xs);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(81, 196, 255, 0.3);
  border-radius: var(--radius-md);
  padding: var(--spacing-xs);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

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

.feature-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.feature-label {
  font-size: clamp(0.875rem, 2vw, 1.125rem);
  font-weight: 700;
  color: var(--primary-blue);
  text-align: center;
}

.stats-section {
  padding: var(--spacing-xs) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-lg);
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}

.stat-value {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  font-weight: 700;
  color: var(--primary-blue);
}

.stat-label {
  font-size: clamp(0.875rem, 2vw, 1rem);
  color: var(--medium-gray);
  font-weight: 600;
}

.search-section {
  max-width: 600px;
  margin: var(--spacing-xs) auto;
  text-align: center;
}

.search-hint {
  font-size: clamp(0.875rem, 2vw, 1rem);
  color: var(--medium-gray);
  margin-bottom: var(--spacing-xs);
}

.search-input-wrapper {
  position: relative;
  display: flex;
  gap: var(--spacing-sm);
  align-items: center;
  margin-bottom: var(--spacing-md);
}

.input-label {
  position: absolute;
  top: -12px;
  left: 16px;
  background: linear-gradient(to bottom, #0a0e27 0%, #1a1f3a 100%);
  color: var(--accent-purple);
  padding: 0 var(--spacing-xs);
  font-size: 0.875rem;
  font-weight: 700;
  z-index: 1;
}

.search-input {
  min-width: 100%;
  height: 56px;
  padding: 0 var(--spacing-md);
  border: 2px solid rgba(81, 196, 255, 0.3);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  color: var(--primary-blue);
  font-size: 1rem;
  font-family: var(--font-primary);
  transition: border-color 0.3s ease;
}

.search-input::placeholder {
  color: var(--medium-gray);
  opacity: 0.6;
}

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

.search-button {
  flex: 1;
  height: 56px;
  padding: 0 var(--spacing-xl);
  background: var(--primary-blue);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-primary);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

.search-button:hover {
  background: #3ba8e0;
  transform: translateY(-2px);
}

.search-button:active {
  transform: translateY(0);
}

.disclaimer {
  background: rgba(81, 196, 255, 0.1);
  border: 2px solid rgba(81, 196, 255, 0.3);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  margin: var(--spacing-xs) 0;
}

.disclaimer-text {
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  color: var(--primary-blue);
  line-height: 1.5;
  font-weight: 600;
}

.trust-badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--spacing-lg);
  margin: var(--spacing-xs) 0;
}

.badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
}

.badge-icon-wrapper {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-sm);
}

.badge-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.badge-label {
  font-size: clamp(0.875rem, 2vw, 1rem);
  color: var(--primary-blue);
  font-weight: 700;
  text-align: center;
}

.divider {
  width: 100%;
  max-width: 800px;
  height: 1px;
  background: rgba(81, 196, 255, 0.3);
  margin: var(--spacing-xl) auto;
}

footer {
  padding: var(--spacing-xs) 0 var(--spacing-xs);
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-md) var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.footer-link {
  font-size: clamp(0.875rem, 2vw, 1rem);
  color: var(--medium-gray);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-text {
  font-size: clamp(0.75rem, 1.8vw, 0.875rem);
  color: var(--medium-gray);
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

.decorative-image {
  max-width: 500px;
  margin: var(--spacing-2xl) auto;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .footer-links {
    flex-direction: row;
    gap: var(--spacing-sm) var(--spacing-md);
  }
}

@media (max-width: 480px) {
  .header-content {
    padding: var(--spacing-xs) var(--spacing-sm);
  }

  .hero {
    padding: var(--spacing-xs) 0;
  }

  .search-input-wrapper {
    flex-direction: column;
    gap: var(--spacing-md);
  }

  .search-button {
    width: 100%;
  }
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 14, 39, 0.95);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.loading-container {
  max-width: 500px;
  width: 90%;
  text-align: center;
}

.loading-title {
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  color: var(--primary-blue);
  margin-bottom: var(--spacing-xl);
  font-weight: 700;
}

.progress-bars {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.progress-bar-wrapper {
  width: 100%;
  height: 8px;
  background: rgba(81, 196, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--primary-blue) 0%, #3ba8e0 50%, var(--primary-blue) 100%);
  background-size: 200% 100%;
  border-radius: 4px;
  transition: width 3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.progress-bar[data-progress="2"] {
  transition-delay: 0.1s;
}

.progress-bar[data-progress="3"] {
  transition-delay: 0.2s;
}

.report-dialog-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 14, 39, 0.9);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease;
  padding: var(--spacing-md);
}

.report-dialog {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.4s ease;
}

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

.dialog-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--dark-gray);
  font-weight: 700;
  padding: var(--spacing-xl) var(--spacing-xl) var(--spacing-md);
  border-bottom: 2px solid var(--light-gray);
  text-align: center;
}

.dialog-content {
  padding: var(--spacing-xl);
}

.completion-message {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  color: var(--medium-gray);
  text-align: center;
  margin-bottom: var(--spacing-xs);
  padding: var(--spacing-md);
  background: var(--light-gray);
  border-radius: var(--radius-md);
  font-weight: 600;
}

.report-examples {
  display: flex
  ;
      flex-wrap: nowrap;
      justify-content: space-between;
      gap: 8px;
      margin-bottom: var(--spacing-xs);
      flex-direction: row;
}

.report-example {
  flex: 1 1 calc(25% - 8px); /* 每个子容器占 25%，减去间距 */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-xs);
  background: var(--light-gray);
  border-radius: var(--radius-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  font-size: 12px; /* 缩小字体大小 */
}

.report-example:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(81, 196, 255, 0.2);
}

.report-title {
  font-size: 10px; /* 缩小标题字体大小 */
  margin-top: 4px;
}

@media (max-width: 768px) {
  .report-example {
    flex: 1 1 calc(50% - 8px); /* 在平板设备上每行显示 2 个 */
  }
}

@media (max-width: 480px) {
  .report-example {
    flex: 1 1 calc(100% - 8px); /* 在手机设备上每行显示 1 个 */
  }
}

.folder-icon {
  width: 24px;
  height: 24px;
  color: var(--primary-blue);
  flex-shrink: 0;
}

.report-title {
  font-size: clamp(0.15rem, 2vw, 0.875rem);
  color: var(--dark-gray);
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
}

.whatsapp-button {
  width: 100%;
  padding: var(--spacing-md) var(--spacing-lg);
  background: #25D366;
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  font-weight: 700;
  font-family: var(--font-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  transition: background 0.3s ease, transform 0.2s ease;
}

.whatsapp-button:hover {
  background: #1ea952;
  transform: translateY(-2px);
}

.whatsapp-button:active {
  transform: translateY(0);
}

.whatsapp-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

@media (max-width: 768px) {
  .report-examples {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .dialog-title {
    font-size: 1.25rem;
    padding: var(--spacing-lg) var(--spacing-md) var(--spacing-sm);
  }

  .dialog-content {
    padding: var(--spacing-md);
  }
}
