/* Sonora Manager — SEO marketing pages */
:root {
  --bg: #070b14;
  --bg-elevated: #0b1220;
  --bg-card: #0c1322;
  --border: rgba(255, 255, 255, 0.1);
  --text: #f0f4f8;
  --muted: #94a3b8;
  --accent: #22d3ee;
  --accent-2: #10b981;
  --gradient: linear-gradient(135deg, #22d3ee 0%, #3b82f6 100%);
  --radius: 14px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.seo-page {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.seo-page::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(34, 211, 238, 0.12), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(59, 130, 246, 0.08), transparent);
  pointer-events: none;
  z-index: 0;
}
main { position: relative; z-index: 1; }
.container { width: min(1120px, 92vw); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* Header */
.seo-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7, 11, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.seo-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: 1rem;
}
.seo-logo img { display: block; height: 44px; width: auto; }
.seo-nav { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.seo-nav a:not(.seo-btn) {
  color: var(--muted); text-decoration: none; font-size: 0.9rem; font-weight: 500;
  transition: color 0.2s;
}
.seo-nav a:not(.seo-btn):hover { color: var(--accent); }
.seo-nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.seo-nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--text);
  transition: transform 0.2s, opacity 0.2s;
}

.seo-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.55rem 1.1rem; border-radius: 10px; font-weight: 600;
  font-size: 0.875rem; text-decoration: none; border: 1px solid transparent;
  cursor: pointer; transition: transform 0.15s, opacity 0.15s, background 0.2s;
}
.seo-btn--primary {
  background: var(--gradient); color: #041018;
  box-shadow: 0 8px 32px rgba(34, 211, 238, 0.25);
}
.seo-btn--primary:hover { opacity: 0.92; transform: translateY(-1px); }
.seo-btn--ghost {
  border-color: var(--border); color: var(--text); background: rgba(255,255,255,0.03);
}
.seo-btn--ghost:hover { background: rgba(255,255,255,0.08); }
.seo-btn--lg { padding: 0.85rem 1.5rem; font-size: 1rem; }

/* Hero */
.seo-hero { padding: 3rem 0 4rem; text-align: center; }
.seo-eyebrow {
  display: inline-block; font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent);
  margin-bottom: 1rem;
}
.seo-hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700;
  line-height: 1.15; margin: 0 0 1rem;
  background: linear-gradient(180deg, #fff 0%, #94a3b8 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.seo-hero__lead {
  font-size: clamp(1rem, 2.5vw, 1.25rem); color: var(--muted);
  max-width: 42rem; margin: 0 auto 1.75rem;
}
.seo-hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.seo-hero__note { font-size: 0.8rem; color: #64748b; margin-top: 1.25rem; }

/* Sections */
.seo-section-title {
  font-size: clamp(1.5rem, 3vw, 2rem); text-align: center; margin: 0 0 0.5rem;
}
.seo-section-sub { text-align: center; color: var(--muted); margin: 0 0 2.5rem; }

/* Breadcrumbs */
.seo-breadcrumbs { padding: 1rem 0 0; font-size: 0.8rem; }
.seo-breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.35rem; list-style: none; padding: 0; margin: 0; }
.seo-breadcrumbs li:not(:last-child)::after { content: '/'; margin-left: 0.35rem; color: #475569; }
.seo-breadcrumbs a { color: var(--muted); text-decoration: none; }
.seo-breadcrumbs a:hover { color: var(--accent); }
.seo-breadcrumbs [aria-current] { color: var(--text); }

/* Cards & benefits */
.seo-benefits, .seo-gallery, .seo-compare, .seo-testimonials, .seo-faq, .seo-related { padding: 4rem 0; }
.seo-benefits__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem;
}
.seo-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
  transition: border-color 0.25s, transform 0.25s;
}
.seo-card:hover { border-color: rgba(34, 211, 238, 0.35); transform: translateY(-4px); }
.seo-card__icon { font-size: 1.75rem; display: block; margin-bottom: 0.75rem; }
.seo-card h3 { margin: 0 0 0.5rem; font-size: 1.05rem; }
.seo-card p { margin: 0; color: var(--muted); font-size: 0.9rem; }

/* Gallery */
.seo-gallery__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem;
}
.seo-shot {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.seo-shot img { width: 100%; height: auto; display: block; vertical-align: middle; }
.seo-video-placeholder {
  margin-top: 2rem; text-align: center; padding: 3rem;
  border-radius: var(--radius); border: 1px dashed var(--border);
  background: rgba(11, 18, 32, 0.6);
}
.seo-video-play {
  width: 72px; height: 72px; border-radius: 50%; border: none;
  background: rgba(255,255,255,0.95); font-size: 1.5rem; cursor: pointer;
  transition: transform 0.2s;
}
.seo-video-play:hover { transform: scale(1.08); }

/* Table */
.seo-table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
.seo-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.seo-table th, .seo-table td { padding: 0.85rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }
.seo-table thead { background: rgba(15, 23, 42, 0.8); }
.seo-table td:not(:first-child) { text-align: center; color: var(--accent-2); }

/* Testimonials */
.seo-testimonials__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.seo-quote {
  margin: 0; padding: 1.5rem; background: var(--bg-card);
  border-radius: var(--radius); border: 1px solid var(--border);
}
.seo-quote p { font-size: 1rem; margin: 0 0 1rem; }
.seo-quote footer { font-size: 0.85rem; color: var(--muted); }

/* FAQ */
.seo-faq__item {
  border: 1px solid var(--border); border-radius: 12px;
  margin-bottom: 0.75rem; background: var(--bg-card); padding: 0 1rem;
}
.seo-faq__item summary {
  cursor: pointer; font-weight: 600; padding: 1rem 0; list-style: none;
}
.seo-faq__item summary::-webkit-details-marker { display: none; }
.seo-faq__item p { margin: 0 0 1rem; color: var(--muted); font-size: 0.9rem; }

/* Related & CTA */
.seo-related__links { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.seo-related__links a {
  padding: 0.5rem 1rem; border-radius: 999px; border: 1px solid var(--border);
  color: var(--text); text-decoration: none; font-size: 0.85rem;
  transition: background 0.2s, border-color 0.2s;
}
.seo-related__links a:hover { border-color: var(--accent); background: rgba(34,211,238,0.08); }
.seo-cta-band {
  text-align: center; padding: 4rem 1.5rem; margin: 2rem 0 4rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(34,211,238,0.08), rgba(7,11,20,0));
  border: 1px solid var(--border);
}
.seo-cta-band h2 { margin: 0 0 0.5rem; }
.seo-cta-band p { color: var(--muted); margin-bottom: 1.5rem; }
.seo-cta-band .seo-btn { margin: 0.35rem; }

/* Footer */
.seo-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem; margin-top: 2rem;
  background: #050810;
}
.seo-footer__grid {
  display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 2rem;
}
.seo-footer h3 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 0 0 1rem; }
.seo-footer ul { list-style: none; padding: 0; margin: 0; }
.seo-footer li { margin-bottom: 0.5rem; }
.seo-footer a { color: #cbd5e1; text-decoration: none; font-size: 0.875rem; }
.seo-footer a:hover { color: var(--accent); }
.seo-footer__tagline { color: var(--muted); font-size: 0.9rem; max-width: 22rem; }
.seo-footer__bottom { padding-top: 2rem; margin-top: 2rem; border-top: 1px solid var(--border); color: #64748b; font-size: 0.8rem; }
.seo-newsletter { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; max-width: 360px; }
.seo-newsletter input {
  flex: 1; min-width: 160px; padding: 0.6rem 0.85rem; border-radius: 10px;
  border: 1px solid var(--border); background: var(--bg); color: var(--text);
}
.seo-newsletter__msg { width: 100%; font-size: 0.8rem; margin: 0.25rem 0 0; }
.seo-newsletter__msg.is-success { color: var(--accent-2); }
.seo-newsletter__msg.is-error { color: #f87171; }

/* Sticky CTA */
.seo-sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  padding: 0.75rem 1rem; background: rgba(7, 11, 20, 0.95);
  border-top: 1px solid var(--border); backdrop-filter: blur(8px);
  transform: translateY(100%); transition: transform 0.3s ease;
}
.seo-sticky-cta.is-visible { transform: translateY(0); }
.seo-sticky-cta p { margin: 0; font-size: 0.9rem; font-weight: 500; }

/* Blog */
.seo-blog-layout { display: grid; grid-template-columns: 220px 1fr; gap: 2.5rem; padding-bottom: 4rem; }
.seo-blog-sidebar { position: sticky; top: calc(var(--header-h) + 1rem); align-self: start; }
.seo-blog-sidebar ul { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.seo-blog-sidebar a { color: var(--muted); text-decoration: none; font-size: 0.875rem; }
.seo-blog-sidebar a:hover { color: var(--accent); }
.seo-blog-card {
  display: grid; grid-template-columns: 280px 1fr; gap: 1.5rem;
  padding: 1.5rem 0; border-bottom: 1px solid var(--border);
}
.seo-blog-card__media { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.seo-blog-card__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/10; }
.seo-blog-meta { font-size: 0.8rem; color: var(--muted); margin: 0 0 0.5rem; }
.seo-blog-card h2 { margin: 0 0 0.5rem; font-size: 1.35rem; }
.seo-blog-card h2 a { color: inherit; text-decoration: none; }
.seo-blog-card h2 a:hover { color: var(--accent); }
.seo-tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0.75rem 0; }
.seo-tag { font-size: 0.75rem; color: var(--accent); background: rgba(34,211,238,0.1); padding: 0.2rem 0.5rem; border-radius: 6px; }
.seo-link-arrow { color: var(--accent); text-decoration: none; font-weight: 600; font-size: 0.9rem; }

/* Article */
.seo-article__header { padding: 2rem 0; max-width: 720px; }
.seo-article__hero { width: 100%; border-radius: var(--radius); margin-top: 1.5rem; border: 1px solid var(--border); }
.seo-article__layout {
  display: grid; grid-template-columns: 200px 1fr; gap: 2.5rem;
  align-items: start; padding-bottom: 3rem;
}
.seo-toc { position: sticky; top: calc(var(--header-h) + 1rem); }
.seo-toc h2 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.seo-toc ol { padding-left: 1.1rem; margin: 0; font-size: 0.85rem; }
.seo-toc a { color: var(--muted); text-decoration: none; }
.seo-toc a:hover, .seo-toc a.is-active { color: var(--accent); }
.seo-content-block { margin-bottom: 2.5rem; }
.seo-content-block h2 { font-size: 1.5rem; margin-top: 0; }
.seo-content-block p, .seo-content-block li { color: #cbd5e1; }
.seo-content-block a { color: var(--accent); }
.seo-content-block code { background: #1e293b; padding: 0.15rem 0.4rem; border-radius: 4px; font-size: 0.85em; }

/* Reveal animations */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .seo-footer__grid { grid-template-columns: 1fr 1fr; }
  .seo-blog-layout, .seo-article__layout { grid-template-columns: 1fr; }
  .seo-blog-sidebar, .seo-toc { position: static; }
  .seo-blog-card { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .seo-nav-toggle { display: flex; }
  .seo-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch;
    background: var(--bg); padding: 1rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%); opacity: 0; pointer-events: none;
    transition: transform 0.25s, opacity 0.25s;
  }
  .seo-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .seo-sticky-cta { flex-direction: column; text-align: center; }
  .seo-footer__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
