/* Off-Page SEO Campaign — aligned to Acquiry.com container grid */

body.seo-brief {
  background: #F0F4F8;
}

.seo-conf-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  background: #08111c;
  color: rgba(255,255,255,0.82);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  padding: 8px 16px;
  border-bottom: 1px solid rgba(8,106,216,0.35);
}

/* Push fixed header below confidential bar */
body.seo-brief .site-header {
  top: 32px;
}

/* Center nav links between logo and CTA (homepage has denser nav) */
body.seo-brief .primary-nav > ul {
  justify-content: center;
  width: 100%;
  gap: 4px;
}

body.seo-brief .nav-cta {
  display: flex !important;
  align-items: center;
  margin-left: auto;
}

/* ---- Hero ---- */
.seo-hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  background: #0d1b2e;
  overflow: hidden;
  padding: 148px 0 72px;
}

.seo-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url(/assets/hero-generated.jpg);
  background-size: cover;
  background-position: center;
  opacity: 0.45;
  z-index: 0;
}

.seo-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(115deg, rgba(13,27,46,0.94) 0%, rgba(13,27,46,0.82) 52%, rgba(8,106,216,0.28) 100%),
    radial-gradient(ellipse 55% 70% at 88% 30%, rgba(8,106,216,0.35), transparent 60%);
}

.seo-hud-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 80% at 78% 48%, #000 15%, transparent 72%);
}

/* Same .container width/padding as rest of site — 2-col aligned grid */
.seo-hero-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 48px;
  align-items: center;
  width: 100%;
}

.seo-hero-copy {
  max-width: 560px;
}

.seo-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #086AD8;
  margin-bottom: 18px;
}
.seo-hero-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: #086AD8;
}

.seo-hero h1 {
  font-family: Poppins, sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 18px;
}
.seo-hero h1 .accent { color: #086AD8; }

.seo-hero-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
  margin: 0 0 24px;
  max-width: 520px;
}

.seo-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(245,158,11,0.12);
  border: 1px solid rgba(245,158,11,0.4);
  color: #F6C76A;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.seo-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #F59E0B;
  box-shadow: 0 0 0 3px rgba(245,158,11,0.25);
}

.seo-stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
  max-width: 480px;
}
.seo-stat {
  background: rgba(8, 18, 34, 0.55);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 14px 12px;
  text-align: center;
  backdrop-filter: blur(8px);
}
.seo-stat strong {
  display: block;
  font-family: Poppins, sans-serif;
  font-size: 1.25rem;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 4px;
}
.seo-stat span {
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.62);
}

.seo-hud-panel {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin-left: auto;
  background: rgba(8, 18, 34, 0.62);
  border: 1px solid rgba(126, 182, 255, 0.28);
  border-radius: 16px;
  padding: 22px 22px 20px;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.06);
}
.seo-hud-panel::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -48px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 1px solid rgba(126,182,255,0.18);
  box-shadow: 0 0 40px rgba(8,106,216,0.18);
  pointer-events: none;
}
.seo-hud-panel h4 {
  margin: 0 0 16px;
  font-family: Rubik, sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7EB6FF;
}
.seo-bars { display: grid; gap: 14px; }
.seo-bar-row {
  display: grid;
  grid-template-columns: 88px 1fr 40px;
  gap: 12px;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.72);
}
.seo-bar-track {
  height: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 999px;
  overflow: hidden;
}
.seo-bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #086AD8, #4DA3FF);
  box-shadow: 0 0 12px rgba(8,106,216,0.55);
}

/* ---- Main content: uses site .container so edges match header/hero ---- */
.seo-main {
  padding: 64px 0 100px;
}
.seo-main-inner {
  /* .container already sets max-width + horizontal padding */
}

.seo-callout,
.seo-disclaimer {
  border-radius: 14px;
  padding: 22px 26px;
  margin-bottom: 24px;
  font-size: 0.98rem;
  line-height: 1.7;
}
.seo-callout {
  background: #FFF8EB;
  border: 1px solid #F5D799;
  border-left: 4px solid #F59E0B;
  color: #6B4E16;
}
.seo-callout strong { color: #0D1B2E; }
.seo-disclaimer {
  background: #fff;
  border: 1px solid #E5EAF0;
  color: #6B7A8D;
}
.seo-disclaimer strong { color: #0D1B2E; }

.seo-overview {
  background: #fff;
  border: 1px solid #E5EAF0;
  border-radius: 16px;
  padding: 36px 40px;
  margin: 36px 0 48px;
  box-shadow: 0 10px 40px rgba(13,27,46,0.04);
}
.seo-overview h2 {
  font-family: Poppins, sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: #0D1B2E;
  margin: 0 0 16px;
}
.seo-overview p {
  margin: 0;
  font-size: 1.05rem;
  color: #444;
  line-height: 1.8;
  max-width: 900px;
}

.seo-section {
  background: #fff;
  border: 1px solid #E5EAF0;
  border-radius: 18px;
  padding: 40px 44px 44px;
  margin-bottom: 40px;
  box-shadow: 0 12px 40px rgba(13,27,46,0.045);
  scroll-margin-top: 120px;
  position: relative;
  overflow: hidden;
}
.seo-section::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #086AD8, #4DA3FF);
}
.seo-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px 28px;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid #E5EAF0;
}
.seo-section-meta {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #086AD8;
  margin-bottom: 10px;
}
.seo-section h2 {
  font-family: Poppins, sans-serif;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 700;
  color: #0D1B2E;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.seo-section-url {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #086AD8;
  font-weight: 500;
  font-size: 0.95rem;
  word-break: break-all;
  text-decoration: none;
}
.seo-section-url:hover { text-decoration: underline; }
.seo-focus {
  flex-shrink: 0;
  min-width: 110px;
  text-align: center;
  background: #F0F6FF;
  border: 1px solid #C7DEFF;
  border-radius: 14px;
  padding: 14px 18px;
}
.seo-focus strong {
  display: block;
  font-family: Poppins, sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #0D1B2E;
  line-height: 1;
  margin-bottom: 6px;
}
.seo-focus span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6B7A8D;
}

.seo-note {
  margin: 22px 0 0;
  font-size: 0.95rem;
  color: #6B7A8D;
  font-style: italic;
  line-height: 1.65;
}

.seo-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 8px;
}
.seo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 520px;
}
.seo-table th {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 2px solid #E5EAF0;
  color: #6B7A8D;
  font-weight: 600;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.seo-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #EEF2F7;
  color: #0D1B2E;
  vertical-align: top;
}
.seo-table tr:last-child td { border-bottom: none; }
.seo-table tr:hover td { background: #F8FBFF; }

.seo-cat {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: #EAF2FF;
  color: #086AD8;
  white-space: nowrap;
}

@media (max-width: 960px) {
  .seo-hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .seo-hud-panel {
    max-width: none;
    margin-left: 0;
  }
  .seo-hud-panel::after { display: none; }
  .seo-hero { min-height: auto; padding: 140px 0 56px; }
  .seo-hero-copy { max-width: none; }
  .seo-section { padding: 28px 24px 32px; margin-bottom: 32px; }
  .seo-overview { padding: 28px 24px; }
}

@media (max-width: 640px) {
  body.seo-brief .site-header { top: 48px; }
  .seo-conf-bar {
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    line-height: 1.4;
    padding: 10px 12px;
  }
  .seo-stat-row { grid-template-columns: 1fr; max-width: none; }
  .seo-main { padding: 40px 0 72px; }
  body.seo-brief .primary-nav > ul { justify-content: flex-start; }
}
