/* ── Home Hero ───────────────────────────────── */
.pdf-hero {
  text-align: center;
  padding: 56px 24px 40px;
  max-width: 640px;
  margin: 0 auto;
}

.pdf-hero h1 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.15;
  color: var(--color-text-heading);
  margin-bottom: 12px;
}

.pdf-hero h1 span {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pdf-hero p {
  font-size: 17px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ── Tool Grid Section ──────────────────────── */
.tools-home {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px 64px;
}

.tool-category {
  margin-bottom: 40px;
}

.tool-category-label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  padding-left: 4px;
}

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

/* ── Tool Card ──────────────────────────────── */
.tool-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.tool-card:hover {
  border-color: #93c5fd;
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.08);
  transform: translateY(-1px);
}

.tool-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tool-card-icon svg {
  width: 22px;
  height: 22px;
}

.tool-card-info { flex: 1; min-width: 0; }

.tool-card-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-heading);
  margin-bottom: 2px;
}

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

/* ── Editor Banner ────────────────────────── */
.editor-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: linear-gradient(135deg, #eef3ff 0%, #e8f0fe 100%);
  border: 1px solid #c5d5f7;
  border-radius: var(--radius-lg);
  margin-bottom: 36px;
  text-decoration: none;
  color: inherit;
  transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}
.editor-banner:hover {
  border-color: #4285f4;
  box-shadow: 0 4px 20px rgba(66, 133, 244, 0.15);
  transform: translateY(-1px);
}
.editor-banner-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #4285f4;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.editor-banner-text {
  flex: 1;
}
.editor-banner-text strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 2px;
}
.editor-banner-text span {
  font-size: 13px;
  color: #555;
  line-height: 1.4;
}
.editor-banner-arrow {
  color: #4285f4;
  flex-shrink: 0;
}
