/* ===========================
   Shared AI Tools Stylesheet
   Used by all AI tool pages
   =========================== */

.tool-page-hero {
  padding: 140px 24px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.tool-page-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}
.tool-page-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 16px;
}
.tool-page-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.tool-main {
  padding: 60px 24px 120px;
  position: relative;
  z-index: 2;
}
.tool-container {
  max-width: 860px;
  margin: 0 auto;
  background: rgba(18,18,18,0.4);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1 / -1; }
.form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.form-input, .form-select, .form-textarea {
  background: rgba(0,0,0,0.25);
  border: 1.5px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
  width: 100%;
}
.form-textarea { min-height: 100px; resize: vertical; }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: #fb923c;
  background: rgba(0,0,0,0.4);
  box-shadow: 0 0 0 4px rgba(251,146,60,0.1);
}
.form-select option { background: #111; }
.generate-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #fb923c, #f97316);
  border: none;
  border-radius: 14px;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}
.generate-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(251,146,60,0.35); }
.generate-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.spinner {
  width: 20px; height: 20px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: none;
}
@keyframes spin { to { transform: rotate(360deg); } }
.result-box {
  margin-top: 32px;
  background: rgba(251,146,60,0.05);
  border: 1px solid rgba(251,146,60,0.2);
  border-radius: 16px;
  padding: 28px;
  display: none;
}
.result-box.visible { display: block; }
.result-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.result-label { font-family: 'Outfit', sans-serif; font-size: 1rem; font-weight: 700; color: #fb923c; }
.copy-btn {
  background: rgba(251,146,60,0.15);
  border: 1px solid rgba(251,146,60,0.3);
  color: #fb923c;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.copy-btn:hover { background: rgba(251,146,60,0.25); }
.result-text { color: var(--text-primary); font-size: 1rem; line-height: 1.8; white-space: pre-wrap; }
.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(251,146,60,0.15);
  color: #fb923c;
  border: 1px solid rgba(251,146,60,0.3);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 16px;
}
@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  .tool-container { padding: 24px; }
}

/* ===========================
   SEO Content Section
   =========================== */
.seo-content-section {
  max-width: 860px;
  margin: 64px auto 0;
  padding: 0 24px;
  color: var(--text-primary);
}
.seo-content-section h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 12px;
}
.seo-content-section h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin: 32px 0 16px;
  color: #fb923c;
}
.seo-content-section p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 20px;
}
.seo-content-section ul, .seo-content-section ol {
  margin-bottom: 24px;
  padding-left: 24px;
}
.seo-content-section li {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 12px;
}
.seo-content-section li strong {
  color: #fff;
}
.faq-item {
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 24px;
}
.faq-item h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}
.faq-item p {
  margin-bottom: 0;
}
