/* FluxBench Tool Pages — Shared Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

body {
  background: #0f172a;
  color: #e2e8f0;
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  line-height: 1.7;
  overflow-y: auto !important;
  overflow-x: hidden;
}

.glass {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.1);
  backdrop-filter: blur(12px);
}

.gradient-text {
  background: linear-gradient(135deg, #007acc, #1a8cd8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── SEO Content Sections ── */
.content-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.content-section p,
.content-section li {
  color: #94a3b8;
  margin-bottom: 0.75rem;
}

.content-section ul {
  list-style: disc;
  padding-left: 1.5rem;
}

.content-section ul li::marker {
  color: #007acc;
}

/* ── How-To Steps ── */
.howto-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background: rgba(30, 41, 59, 0.5);
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.08);
}

.howto-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #007acc;
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 14px;
}

/* ── FAQ ── */
.faq-item {
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  padding: 0.75rem 0;
}

.faq-question {
  cursor: pointer;
  font-weight: 600;
  color: #e2e8f0;
  padding: 0.5rem 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 1.2rem;
  color: #007acc;
  transition: transform 0.2s;
}

details[open] .faq-question::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-answer {
  color: #94a3b8;
  padding: 0.5rem 0 0.75rem;
  line-height: 1.7;
}

/* ── Related Tools ── */
.related-link {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(0, 122, 204, 0.1);
  border: 1px solid rgba(0, 122, 204, 0.2);
  border-radius: 20px;
  color: #007acc;
  text-decoration: none;
  font-size: 14px;
  margin: 0 6px 8px 0;
  transition: all 0.2s;
}

.related-link:hover {
  background: rgba(0, 122, 204, 0.2);
  border-color: rgba(0, 122, 204, 0.4);
}

/* ── SPA Embed ── */
#root {
  min-height: 420px;
  background: #0f172a;
  border-radius: 16px;
  overflow: hidden;
}

#root .flux-tool-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  color: #64748b;
  font-size: 15px;
}

/* ── Tool Hero Bar ── */
.tool-hero-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.tool-hero-bar .app-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  padding: 6px 14px;
  background: rgba(0, 122, 204, 0.15);
  border: 1px solid rgba(0, 122, 204, 0.3);
  border-radius: 8px;
  color: #007acc;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.tool-hero-bar .app-btn:hover {
  background: rgba(0, 122, 204, 0.25);
  border-color: rgba(0, 122, 204, 0.5);
}

.tool-hero-bar .app-btn svg {
  width: 14px;
  height: 14px;
}

/* ── Tool SEO Divider ── */
.tool-seo-divider {
  height: 1px;
  background: rgba(148, 163, 184, 0.1);
  margin: 0 0 24px;
}

/* ── Responsive ── */
.hero-subtitle {
  display: none;
}

@media (min-width: 600px) {
  .hero-subtitle {
    display: inline !important;
  }
}

@media (min-width: 768px) {
  .nav-links {
    display: flex !important;
  }
}