/* Self SEO Landing Pages — Shared Styles */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0A0A0A;
  --surface: #1A1A1A;
  --surface-hover: #222222;
  --primary: #FF3366;
  --secondary: #00E5CC;
  --tertiary: #FFD700;
  --text: #FFFFFF;
  --text-muted: #999999;
  --text-dim: #666666;
  --border: #2A2A2A;
  --radius: 12px;
  --max-w: 800px;
  --max-w-wide: 1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

a { color: var(--primary); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.85; }

img { max-width: 100%; height: auto; }

/* Navigation */
.seo-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
}

.seo-nav-inner {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.seo-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.1em;
}

.seo-logo span { color: var(--primary); }

.seo-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.seo-nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255, 51, 102, 0.3);
  opacity: 1;
}

/* Hero */
.seo-hero {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  padding: 80px 24px 60px;
  text-align: center;
}

.seo-hero .badge {
  display: inline-block;
  background: rgba(255, 51, 102, 0.12);
  color: var(--primary);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.seo-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  max-width: 720px;
  margin: 0 auto 20px;
}

.seo-hero h1 em {
  font-style: normal;
  color: var(--primary);
}

.seo-hero .subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

/* CTA Button */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 18px;
  padding: 16px 36px;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(255, 51, 102, 0.35);
  opacity: 1;
}

.cta-btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.2s;
}

.cta-btn:hover svg { transform: translateX(3px); }

/* Content Sections */
.seo-content {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px 80px;
}

.seo-content h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  margin: 60px 0 16px;
  color: var(--text);
}

.seo-content h2:first-child { margin-top: 0; }

.seo-content h3 {
  font-size: 1.25rem;
  margin: 40px 0 12px;
  color: var(--text);
}

.seo-content p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.seo-content p strong { color: var(--text); font-weight: 600; }

.seo-content ul, .seo-content ol {
  color: var(--text-muted);
  margin: 0 0 20px 20px;
  font-size: 1.05rem;
}

.seo-content li { margin-bottom: 8px; }
.seo-content li strong { color: var(--text); }

/* Highlight box */
.highlight-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin: 32px 0;
}

.highlight-box h3 {
  margin: 0 0 12px;
  font-size: 1.15rem;
  color: var(--primary);
}

.highlight-box p { margin-bottom: 8px; }
.highlight-box p:last-child { margin-bottom: 0; }

/* Comparison table */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0 32px;
  font-size: 0.95rem;
}

.comparison-table th {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  text-align: left;
  padding: 12px 16px;
  background: var(--surface);
  color: var(--text);
  border-bottom: 2px solid var(--border);
}

.comparison-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}

.comparison-table tr:hover td { background: rgba(255, 255, 255, 0.02); }

.comparison-table .self-row td { color: var(--primary); font-weight: 500; }

/* Card grid (for hub pages) */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 32px 0;
}

.card-link {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-decoration: none;
  transition: border-color 0.25s, transform 0.2s;
}

.card-link:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  opacity: 1;
}

.card-link .card-emoji {
  font-size: 2rem;
  margin-bottom: 12px;
  display: block;
}

.card-link h3 {
  font-size: 1.1rem;
  color: var(--text);
  margin: 0 0 8px;
}

.card-link p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.card-link .arrow {
  display: inline-block;
  color: var(--primary);
  font-size: 0.9rem;
  margin-top: 12px;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
}

/* Archetype pills */
.archetype-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 32px;
}

.archetype-pill {
  display: inline-block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 18px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* Mid-page CTA */
.mid-cta {
  text-align: center;
  padding: 60px 24px;
  margin: 40px 0;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.mid-cta h2 {
  margin: 0 0 12px;
  font-size: 1.6rem;
}

.mid-cta p {
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: 1.05rem;
}

/* Related pages */
.related-pages {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.related-pages h3 {
  font-size: 1rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.related-links a {
  display: inline-block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: border-color 0.2s, color 0.2s;
}

.related-links a:hover {
  border-color: var(--primary);
  color: var(--text);
  opacity: 1;
}

/* Footer */
.seo-footer {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  padding: 60px 24px 40px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 4px 0;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--text); opacity: 1; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  gap: 12px;
}

.footer-bottom p {
  color: var(--text-dim);
  font-size: 0.85rem;
}

.footer-bottom a {
  color: var(--text-dim);
  font-size: 0.85rem;
}

.footer-bottom a:hover { color: var(--text-muted); }

/* FAQ Schema */
.faq-section { margin: 40px 0; }

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-item h3 {
  font-size: 1.05rem;
  color: var(--text);
  margin: 0 0 8px;
  cursor: default;
}

.faq-item p {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
  .seo-hero { padding: 60px 20px 40px; }
  .seo-content { padding: 0 20px 60px; }
  .seo-nav { padding: 12px 16px; }
  .seo-nav-cta { font-size: 13px; padding: 8px 16px; }
  .highlight-box { padding: 20px 24px; }
  .mid-cta { padding: 40px 20px; }
  .card-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .comparison-table { font-size: 0.85rem; }
  .comparison-table th, .comparison-table td { padding: 10px 12px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .cta-btn { font-size: 16px; padding: 14px 28px; }
}
