/* Shared styles for SEO authority pages — matches main site visual language */
:root {
  --hs-bg: #0a0f1a;
  --hs-bg-light: #111827;
  --hs-bg-card: #1e293b;
  --hs-blue: #3b82f6;
  --hs-purple: #8b5cf6;
  --hs-green: #22c55e;
  --hs-cyan: #06b6d4;
  --hs-text: #f1f5f9;
  --hs-text-muted: #94a3b8;
  --hs-border: rgba(255,255,255,0.06);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--hs-bg);
  color: var(--hs-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--hs-blue); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--hs-cyan); }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  background: rgba(10,15,26,0.85);
  border-bottom: 1px solid var(--hs-border);
}
.site-header .inner {
  width: 100%; margin: 0; padding: 0.25rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between;
}
.site-header .logo {
  display: flex; align-items: center; gap: 0.4rem; text-decoration: none;
}
.site-header .logo img { height: 46px; width: 46px; object-fit: contain; position: relative; top: 2px; }
.site-header .logo span {
  font-size: 1.25rem; font-weight: 700;
  background: linear-gradient(135deg, #22c55e, #3b82f6);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  letter-spacing: 0.15em; text-transform: uppercase;
}
.site-header nav { display: flex; gap: 1.5rem; align-items: center; }
.site-header nav a { color: var(--hs-text-muted); font-size: 0.875rem; font-weight: 500; }
.site-header nav a:hover { color: var(--hs-text); }
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 1.25rem; background: var(--hs-blue);
  color: white !important; border-radius: 8px; font-weight: 600; font-size: 0.875rem;
  transition: background 0.2s;
}
.btn-primary:hover { background: #2563eb; }

/* Page Hero */
.page-hero {
  padding: 10rem 2rem 4rem; text-align: center;
  background: linear-gradient(180deg, rgba(59,130,246,0.06) 0%, transparent 60%);
}
.page-hero .badge {
  display: inline-block; padding: 0.35rem 1rem; border-radius: 999px;
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}
.badge-blue { background: rgba(59,130,246,0.15); color: var(--hs-blue); }
.badge-purple { background: rgba(139,92,246,0.15); color: var(--hs-purple); }
.badge-green { background: rgba(34,197,94,0.15); color: var(--hs-green); }
.badge-cyan { background: rgba(6,182,212,0.15); color: var(--hs-cyan); }
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; line-height: 1.15;
  max-width: 800px; margin: 0 auto 1.5rem;
}
.page-hero .subtitle {
  font-size: 1.125rem; color: var(--hs-text-muted); max-width: 640px;
  margin: 0 auto; line-height: 1.7;
}
.gradient-text {
  background: linear-gradient(135deg, var(--hs-blue), var(--hs-purple));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* Content Container */
.container { max-width: 820px; margin: 0 auto; padding: 0 2rem; }
.container-wide { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }

/* Content Sections */
.content-section { padding: 3rem 0; }
.content-section h2 {
  font-size: 1.75rem; font-weight: 700; margin-bottom: 1rem; line-height: 1.25;
}
.content-section h3 {
  font-size: 1.25rem; font-weight: 600; margin: 2rem 0 0.75rem; line-height: 1.3;
}
.content-section p {
  color: var(--hs-text-muted); margin-bottom: 1.25rem; font-size: 1.0625rem;
}
.content-section ul, .content-section ol {
  color: var(--hs-text-muted); margin: 0 0 1.25rem 1.5rem; font-size: 1.0625rem;
}
.content-section li { margin-bottom: 0.5rem; }

/* Cards Grid */
.cards-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem; margin: 2rem 0;
}
.card {
  background: var(--hs-bg-card); border: 1px solid var(--hs-border);
  border-radius: 12px; padding: 1.75rem; transition: border-color 0.2s;
}
.card:hover { border-color: rgba(59,130,246,0.3); }
.card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.75rem; color: var(--hs-text); }
.card p { font-size: 0.9375rem; color: var(--hs-text-muted); line-height: 1.6; margin: 0; }

/* CTA Band */
.cta-band {
  padding: 4rem 2rem; text-align: center;
  background: linear-gradient(135deg, rgba(59,130,246,0.08), rgba(139,92,246,0.08));
  border-top: 1px solid var(--hs-border); border-bottom: 1px solid var(--hs-border);
  margin: 3rem 0;
}
.cta-band h2 { font-size: 1.75rem; font-weight: 700; margin-bottom: 0.75rem; }
.cta-band p { color: var(--hs-text-muted); margin-bottom: 1.5rem; font-size: 1.0625rem; }

/* Internal Links Section */
.related-pages {
  padding: 3rem 0 4rem; border-top: 1px solid var(--hs-border);
}
.related-pages h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; }
.related-links {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem;
}
.related-link {
  display: block; padding: 1.25rem; background: var(--hs-bg-light);
  border: 1px solid var(--hs-border); border-radius: 10px; transition: border-color 0.2s;
}
.related-link:hover { border-color: var(--hs-blue); }
.related-link strong { display: block; color: var(--hs-text); font-size: 0.9375rem; margin-bottom: 0.25rem; }
.related-link span { font-size: 0.8125rem; color: var(--hs-text-muted); }

/* Footer */
.site-footer {
  padding: 3rem 2rem; border-top: 1px solid var(--hs-border);
  text-align: center; color: var(--hs-text-muted); font-size: 0.8125rem;
}
.site-footer a { color: var(--hs-text-muted); }
.site-footer a:hover { color: var(--hs-text); }
.footer-links { display: flex; gap: 1.5rem; justify-content: center; margin-bottom: 1rem; flex-wrap: wrap; }

/* Breadcrumb */
.breadcrumb {
  padding: 5.5rem 2rem 0; font-size: 0.8125rem; color: var(--hs-text-muted);
  max-width: 820px; margin: 0 auto;
}
.breadcrumb a { color: var(--hs-text-muted); }
.breadcrumb a:hover { color: var(--hs-blue); }
.breadcrumb span { margin: 0 0.5rem; opacity: 0.5; }

/* Responsive */
@media (max-width: 768px) {
  .page-hero { padding: 8rem 1.5rem 3rem; }
  .page-hero h1 { font-size: 2rem; }
  .container, .container-wide { padding: 0 1.5rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .site-header nav { display: none; }
  .related-links { grid-template-columns: 1fr; }
}
