/* BountyLabs — Shared SEO page styles */
:root {
  color-scheme: dark;
  --bg: #000000;
  --bg-soft: #050505;
  --surface: #0A0A0A;
  --card: #111111;
  --card-2: #171717;
  --border: #262626;
  --text: #FAFAFA;
  --secondary: #A1A1AA;
  --muted: #71717A;
  --success: #22C55E;
  --warning: #F59E0B;
  --critical: #EF4444;
  --focus: #60A5FA;
  --xp: #8B5CF6;
  --neon-cyan: #22D3EE;
  --neon-green: #4ADE80;
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a { color: var(--focus); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
code { font-family: var(--font-mono); font-size: 0.9em; background: var(--surface); padding: 2px 6px; border-radius: 4px; }

/* Container */
.container { width: min(1100px, calc(100% - 40px)); margin: 0 auto; }
.container-narrow { width: min(780px, calc(100% - 40px)); margin: 0 auto; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(0,0,0,.85); backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav {
  height: 64px; display: flex; align-items: center;
  justify-content: space-between; gap: 20px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; color: var(--text); text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-logo {
  width: 34px; height: 34px; border-radius: 9px;
  object-fit: cover; flex: 0 0 auto;
  box-shadow: 0 0 0 1px rgba(250,250,250,.10);
}
.brand small {
  display: block; color: var(--muted); font-weight: 500; font-size: 12px; margin-top: 1px;
}
.nav-links {
  display: flex; align-items: center; gap: 22px;
  color: var(--secondary); font-size: 14px;
}
.nav-links a { color: var(--secondary); }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--text); font-weight: 600; }
.actions { display: flex; align-items: center; gap: 10px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 0 18px; border-radius: 10px;
  border: 1px solid var(--border); background: transparent;
  color: var(--text); font-weight: 600; font-size: 14px;
  cursor: pointer; font-family: inherit; text-decoration: none;
  transition: border-color .15s, background .15s;
}
.btn:hover { border-color: #3f3f46; text-decoration: none; }
.btn-primary { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn-primary:hover { background: #E5E7EB; }
.btn-sm { min-height: 34px; padding: 0 14px; font-size: 13px; }
.hide-mobile { display: inline-flex; }

/* Hero (page-level) */
.page-hero {
  padding: 72px 0 48px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(96,165,250,.04) 0%, transparent 100%);
}
.page-hero h1 {
  margin: 0; font-size: clamp(32px, 5vw, 52px);
  line-height: 1.08; letter-spacing: 0;
}
.page-hero .subtitle {
  color: var(--secondary); font-size: 18px;
  margin: 14px 0 0; max-width: 640px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 10px; border: 1px solid var(--border);
  border-radius: 999px; color: var(--secondary);
  background: var(--surface); font-size: 13px; margin-bottom: 16px;
}
.dot { width: 7px; height: 7px; border-radius: 999px; }
.dot-green { background: var(--success); }
.dot-blue { background: var(--focus); }
.dot-yellow { background: var(--warning); }
.dot-purple { background: var(--xp); }

/* Content sections */
.content { flex: 1; padding: 56px 0; }
section { padding: 56px 0; }
section + section { border-top: 1px solid var(--border); }

.section-heading { max-width: 700px; margin-bottom: 32px; }
.section-heading h2 {
  margin: 0; font-size: clamp(26px, 4vw, 40px);
  line-height: 1.12; letter-spacing: 0;
}
.section-heading p {
  color: var(--secondary); font-size: 16px; margin: 12px 0 0;
}

/* Cards */
.card {
  border: 1px solid var(--border); background: var(--card);
  border-radius: 16px; padding: 24px;
}
.card h3 { margin: 0 0 10px; font-size: 18px; letter-spacing: 0; }
.card p { color: var(--secondary); margin: 0; font-size: 15px; }
.card ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; }
.card li { color: var(--secondary); font-size: 15px; }
.card-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 14px;
  border: 1px solid var(--border);
}

/* Grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

/* Accent borders */
.accent-blue { border-color: rgba(96,165,250,.30); }
.accent-green { border-color: rgba(34,197,94,.30); }
.accent-yellow { border-color: rgba(245,158,11,.30); }
.accent-red { border-color: rgba(239,68,68,.30); }
.accent-purple { border-color: rgba(139,92,246,.30); }
.accent-cyan { border-color: rgba(34,211,238,.30); }

/* Tags */
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag {
  border: 1px solid var(--border); border-radius: 999px;
  padding: 4px 10px; color: var(--secondary); font-size: 12px;
}

/* CTA block */
.cta-block {
  text-align: center; padding: 72px 0;
  border-top: 1px solid var(--border);
}
.cta-block h2 {
  font-size: clamp(28px, 4vw, 46px); margin: 0 0 14px; letter-spacing: 0;
}
.cta-block p {
  margin: 0 auto 24px; max-width: 560px;
  color: var(--secondary); font-size: 17px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 0; color: var(--muted); font-size: 14px;
  margin-top: auto;
}
.footer-row {
  display: flex; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
}
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); font-size: 13px; }
.footer-links a:hover { color: var(--secondary); }

/* Breadcrumb */
.breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--muted); margin-bottom: 24px;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--secondary); }
.breadcrumb svg { width: 14px; height: 14px; opacity: .5; }

/* Table (for pricing/comparison) */
.seo-table {
  width: 100%; border-collapse: collapse; font-size: 15px;
}
.seo-table th, .seo-table td {
  padding: 12px 16px; text-align: left;
  border-bottom: 1px solid var(--border);
}
.seo-table th {
  color: var(--muted); font-weight: 600; font-size: 12px;
  text-transform: uppercase; letter-spacing: .06em;
}
.seo-table td { color: var(--secondary); }

/* FAQ */
.faq { display: grid; gap: 12px; }
details {
  border: 1px solid var(--border); background: var(--card);
  border-radius: 14px; padding: 18px;
}
summary { cursor: pointer; font-weight: 600; font-size: 15px; }
details p { color: var(--secondary); margin: 12px 0 0; font-size: 15px; }

/* Code block */
.code-block {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px; overflow-x: auto;
  font-family: var(--font-mono); font-size: 13px;
  color: var(--secondary); line-height: 1.6;
}

/* Badge */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--border); color: var(--secondary);
  font-size: 12px; font-weight: 500;
}

/* Responsive */
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 640px) {
  .container, .container-narrow { width: min(100% - 28px, 1100px); }
  .actions .hide-mobile { display: none; }
  .page-hero { padding: 48px 0 32px; }
  section { padding: 40px 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important; transition: none !important;
  }
}
