/* AI Tools Page - Professional Styles */

/* Page Header */
.page-header {
  padding: 3rem 0 2rem;
  background: linear-gradient(135deg, #4F46E5 0%, #8B5CF6 100%);
  color: #fff;
}
.page-header h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.page-header p { opacity: 0.9; }

/* Section container */
.tools-section, .featured-section, .ai-tools-info, .ai-benefits { padding: 2rem 0; }

/* Grids */
.tools-grid, .featured-grid, .info-grid, .benefits-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

/* Cards */
.tool-card, .info-card, .benefit-item {
  background-color: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  box-shadow: 0 8px 16px rgba(0,0,0,0.06);
  padding: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.tool-card:hover, .info-card:hover { transform: translateY(-3px); box-shadow: 0 12px 20px rgba(0,0,0,0.08); }

.tool-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.tool-category { display: inline-block; padding: 0.25rem 0.6rem; border-radius: 999px; font-size: 0.75rem; font-weight: 600; background: #D1FAE5; color: #065F46; }
.tool-date { font-size: 0.8rem; color: #6B7280; }
.tool-content h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.tool-content p { color: #4B5563; }
.tool-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 0.75rem; }
.tool-meta { font-size: 0.85rem; color: #6B7280; display: flex; gap: 0.75rem; }

/* Buttons */
.btn { display: inline-block; padding: 0.5rem 0.9rem; border-radius: 0.5rem; text-decoration: none; font-weight: 600; }
.btn-primary { background-color: #4F46E5; color: #fff; }
.btn-primary:hover { background-color: #4338CA; }
.btn-download { background-color: #10B981; color: #fff; }
.btn-download:hover { background-color: #059669; }
.btn-use-online { background-color: #2563EB; color: #fff; }
.btn-use-online:hover { background-color: #1D4ED8; }

/* Featured section */
.featured-section .section-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1rem; }
.section-header h2 { font-size: 1.5rem; }
.view-all-link { color: #4F46E5; font-weight: 600; text-decoration: none; }
.view-all-link:hover { text-decoration: underline; }

/* No tools */
.no-tools { text-align: center; background: #fff; border: 1px solid #e5e7eb; border-radius: 0.75rem; padding: 2rem; }
.no-tools-icon { font-size: 2rem; }

/* Info cards */
.info-card h3 { margin-bottom: 0.25rem; }
.info-card p { color: #4B5563; }

/* Benefits */
.benefit-item { display: flex; align-items: flex-start; gap: 0.75rem; }
.benefit-icon { font-size: 1.5rem; }

/* Dark mode overrides for this page */
body.dark-mode .tool-card, body.dark-mode .info-card, body.dark-mode .benefit-item { background-color: var(--dark-card-bg); border-color: var(--dark-border); }
body.dark-mode .tool-content p, body.dark-mode .info-card p, body.dark-mode .tool-date, body.dark-mode .tool-meta { color: var(--dark-text); opacity: 0.85; }
body.dark-mode .page-header { background: var(--dark-header); }

/* Responsive tweaks */
@media (max-width: 640px) {
  .page-header h1 { font-size: 1.6rem; }
}