/* 新布局样式 - 模仿 PDF Guru */

.nav-dropdown.active .nav-dropdown-menu {
  display: flex;
}

/* Hero区 - 简洁居中 */
.hero-minimal {
  max-width: 900px;
  margin: 80px auto 60px;
  text-align: center;
}

.hero-minimal h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

/* 核心上传区 - 突出显示 */
.upload-zone-hero {
  max-width: 700px;
  margin: 0 auto 40px;
}

.upload-zone-content {
  padding: 60px 40px;
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.upload-zone-content:hover {
  border-color: var(--primary);
  background: rgba(59, 130, 246, 0.02);
}

.upload-zone-content.dragover {
  border-color: var(--primary);
  background: rgba(59, 130, 246, 0.05);
  transform: scale(1.01);
}

.upload-icon-hero {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  color: var(--primary);
}

.upload-icon-hero svg {
  width: 100%;
  height: 100%;
}

.upload-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 8px 0;
}

.upload-mode-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 12px;
  margin: 0 0 14px;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.08);
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 700;
}

.upload-hint {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 24px 0;
}

.upload-btn-hero {
  padding: 12px 32px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.upload-btn-hero:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* 信任指标 - 极致优雅融入式设计 */
.trust-indicators {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 64px;
  max-width: 640px;
  margin: 0 auto 48px;
  padding: 12px 24px;
  background: transparent;
  border: none;
  box-shadow: none;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  position: relative;
}

/* 垂直分隔线 */
.trust-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -32px; /* Centered in the 64px gap */
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 24px;
  background-color: var(--border);
  opacity: 0.6;
}

.trust-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.trust-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
  white-space: nowrap;
}

/* 工具网格 - 简洁卡片 */
.tools-grid-section {
  max-width: 1000px;
  margin: 80px auto;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--text-primary);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.tool-card {
  padding: 32px 24px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.tool-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.tool-card.selected {
  border-color: var(--primary);
  background: rgba(59, 130, 246, 0.06);
  box-shadow: var(--shadow-md);
}

.tool-icon {
  width: 48px;
  height: 48px;
  color: var(--primary);
  flex-shrink: 0;
}

.tool-icon svg {
  width: 100%;
  height: 100%;
}

.tool-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.tool-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

.guide-teaser-section {
  max-width: 1000px;
  margin: 64px auto;
  padding: 28px 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.guide-teaser-section h2 {
  font-size: 24px;
  margin: 0 0 8px;
  color: var(--text-primary);
}

.guide-teaser-section p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .hero-minimal {
    margin: 40px auto 40px;
  }

  .upload-zone-content {
    padding: 40px 24px;
  }

  .trust-indicators {
    flex-direction: column;
    gap: 24px;
    margin: 0 auto 32px;
    padding: 0;
  }

  .trust-item:not(:last-child)::after {
    display: none;
  }

  .tools-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
  }

  .tool-card {
    padding: 24px 16px;
  }

  .tool-icon {
    width: 40px;
    height: 40px;
  }

  .tool-name {
    font-size: 14px;
  }

  .tool-desc {
    font-size: 12px;
  }

  .guide-teaser-section {
    align-items: flex-start;
    flex-direction: column;
    padding: 24px;
  }
}

/* SEO 优化内容区域 */
.seo-content-section {
  background: var(--bg-secondary);
  padding: 80px 0;
  margin-top: 80px;
}

.seo-content-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.seo-title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
  color: var(--text-primary);
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.seo-article {
  background: var(--panel);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.seo-article h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 16px 0;
  line-height: 1.4;
}

.seo-article p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0 0 16px 0;
}

.seo-article p:last-child {
  margin-bottom: 0;
}

.seo-article ul,
.seo-article ol {
  margin: 16px 0;
  padding-left: 24px;
  color: var(--text-secondary);
}

.seo-article li {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 8px;
}

.seo-article strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* 移动端优化 */
@media (max-width: 768px) {
  .seo-content-section {
    padding: 48px 0;
    margin-top: 48px;
  }

  .seo-title {
    font-size: 24px;
    margin-bottom: 32px;
  }

  .seo-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .seo-article {
    padding: 24px;
  }

  .seo-article h3 {
    font-size: 18px;
  }
}
