:root {
  --bf-blue: #1a4d8c;
  --bf-blue-dark: #143d70;
  --bf-blue-deep: #0e2c50;
  --bf-green: #7cb342;
  --bf-green-dark: #5e8c2a;
  --ink: #0f172a;
  --ink-2: #475569;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --r-md: 12px;
  --r-sm: 6px;
  --header-h: 72px;
  --container: 1200px;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bf-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; color: var(--ink); }

/* Topbar (above header) — near-black strip, clear contrast with the blue header below */
.topbar {
  background: #0a0a0f;
  color: #cbd5e1;
  font-size: 13px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.topbar > .container {
  display: flex !important;
  justify-content: flex-end !important;
  gap: 24px;
  align-items: center;
}
.topbar-item { color: #cbd5e1; text-decoration: none; }
.topbar-item:hover { color: #fff; text-decoration: none; }

/* Header — slightly darker blue than the hero, with a subtle bottom edge for separation */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bf-blue-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.brand { display: flex; align-items: center; }
.brand img { height: 32px; width: auto; }
.brand-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.brand:hover { text-decoration: none; }
nav.primary { display: none; gap: 4px; align-items: center; }
@media (min-width: 880px) { nav.primary { display: flex; } }
nav.primary a { padding: 8px 14px; color: #fff; font-weight: 500; font-size: 15px; }
nav.primary a:hover { color: #fbbf24; text-decoration: none; }

/* Hamburger toggle — visible only on mobile */
.nav-toggle-btn {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px;
  background: transparent; border: 0; cursor: pointer; padding: 10px;
  margin-left: auto;
}
.nav-toggle-btn span {
  display: block; width: 24px; height: 2px; background: #fff;
  border-radius: 1px; transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle-btn.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle-btn.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle-btn.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 880px) { .nav-toggle-btn { display: none; } }

/* Mobile nav drawer (under 880px) */
@media (max-width: 879px) {
  nav.primary.is-open {
    display: flex; flex-direction: column;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bf-blue-dark);
    padding: 8px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    align-items: stretch; gap: 0;
  }
  nav.primary.is-open > a,
  nav.primary.is-open > .nav-item > .nav-toggle {
    padding: 14px 24px; width: 100%; display: block;
  }
  nav.primary.is-open .nav-item.has-dropdown .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; background: rgba(0, 0, 0, 0.18); border-radius: 0;
    padding: 4px 0; min-width: 0;
  }
  nav.primary.is-open .nav-item.has-dropdown .dropdown a {
    padding: 10px 24px 10px 40px; color: rgba(255, 255, 255, 0.88);
    font-size: 14px; border-radius: 0;
  }
  nav.primary.is-open .nav-item.has-dropdown .dropdown a strong { color: #fff; }
  nav.primary.is-open .dropdown-desc { color: rgba(255, 255, 255, 0.6); }
  nav.primary.is-open .nav-item .caret { color: rgba(255, 255, 255, 0.7); }
}

/* Nav dropdown */
.nav-item.has-dropdown { position: relative; }
.nav-item .caret { font-size: 10px; opacity: 0.7; }
.nav-item .dropdown {
  position: absolute;
  top: 100%;
  left: -16px;
  min-width: 280px;
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
  z-index: 100;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-item .dropdown a {
  display: block;
  padding: 12px 16px;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 500;
  font-size: 14px;
}
.nav-item .dropdown a:hover { background: var(--bg-soft); color: var(--bf-blue); }
.nav-item .dropdown a strong { display: block; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.nav-item .dropdown a:hover strong { color: var(--bf-blue); }
.dropdown-desc { display: block; font-size: 12px; color: var(--ink-2); font-weight: 400; }

/* Hero */
.hero {
  background: linear-gradient(180deg, var(--bg-soft), var(--bg));
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--line);
}
.hero h1 { font-size: 56px; font-weight: 800; letter-spacing: -0.03em; margin: 16px 0 24px; }
.hero .eyebrow { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--bf-blue); font-weight: 700; }
.hero .lede { font-size: 19px; color: var(--ink-2); max-width: 680px; margin: 0 0 32px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Home hero (BlueFx blue brand) */
.home-hero {
  background: var(--bf-blue);
  color: #fff;
  padding: 56px 0 64px;
  text-align: center;
}
.hero-eyebrow {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
  color: #fbbf24;
}
.hero-title {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 20px;
  line-height: 1.15;
}
@media (max-width: 640px) { .hero-title { font-size: 32px; } }
.hero-underline { color: #fbbf24; }
.hero-sub {
  font-size: 18px;
  color: #cbd5e1;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.6;
}

/* VSL hero — Video Sales Letter for AI Media Machine */
.vsl-hero {
  background: var(--bf-blue);
  color: #fff;
  padding: 56px 0 80px;
  text-align: center;
}
.hero-pill {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.vsl-hero h1 {
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 20px;
  line-height: 1.1;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 880px) { .vsl-hero h1 { font-size: 44px; } }
@media (max-width: 540px) { .vsl-hero h1 { font-size: 32px; } }
.vsl-hero .hero-sub {
  margin: 0 auto 40px;
  max-width: 720px;
  color: #cbd5e1;
  font-size: 18px;
}
.vsl-frame {
  max-width: 880px;
  margin: 0 auto 32px;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  background: #000;
}
.vsl-frame .video-embed { margin: 0; border-radius: var(--r-md); }
.vsl-cta-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.vsl-trust {
  font-size: 13px;
  color: #94a3b8;
  margin: 0;
  max-width: 640px;
  text-align: center;
}

/* Blue CTA matching ai.bluefx.net */
.btn-cta-blue {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
  font-weight: 700;
  font-size: 17px;
  padding: 16px 36px;
  border-radius: 8px;
}
.btn-cta-blue:hover { background: #1d4ed8; border-color: #1d4ed8; color: #fff; text-decoration: none; }

/* Creative services — Step 1 / Step 2 alternating rows */
.creative-services {
  padding: 80px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}
.creative-services .section-eyebrow { margin-bottom: 8px; }
.creative-services .section-title { margin-bottom: 8px; }
.creative-services .section-sub { margin-bottom: 64px; }

.step-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto 80px;
}
.step-row:last-child { margin-bottom: 0; }
.step-row.reverse { grid-template-columns: 1fr 1.1fr; }
.step-row.reverse .step-media { order: 2; }
.step-row.reverse .step-text { order: 1; }
@media (max-width: 880px) {
  .step-row, .step-row.reverse { grid-template-columns: 1fr; gap: 24px; }
  .step-row.reverse .step-media { order: 1; }
  .step-row.reverse .step-text { order: 2; }
}

.step-media .thumb-link {
  position: relative;
  display: block;
  border-radius: var(--r-md);
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
  transition: transform 0.2s, box-shadow 0.2s;
}
.step-media .thumb-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(0,0,0,0.2);
}
.step-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.step-number {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bf-blue);
  background: rgba(26, 77, 140, 0.08);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.step-text h3 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 16px;
  line-height: 1.2;
}
@media (max-width: 640px) { .step-text h3 { font-size: 24px; } }
.step-pitch {
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.6;
  margin: 0 0 24px;
}
.step-pitch strong { color: var(--ink); }

/* DFY services band — uses real YouTube thumbnails from each sales page */
.dfy-services {
  padding: 80px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}
.dfy-services .section-eyebrow { margin-bottom: 8px; }
.dfy-services .section-title { margin-bottom: 48px; }
.dfy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 800px) { .dfy-grid { grid-template-columns: 1fr; } }
.dfy-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  text-decoration: none;
  color: var(--ink);
  overflow: hidden;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
  display: block;
}
.dfy-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.1);
  border-color: var(--bf-blue);
  text-decoration: none;
}
.dfy-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}
.dfy-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dfy-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 4px;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}
.dfy-card:hover .dfy-play,
.thumb-link:hover .dfy-play {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(220, 38, 38, 0.92);
  border-color: rgba(255, 255, 255, 0.6);
}
.dfy-body { padding: 28px 32px 32px; }
.dfy-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bf-blue);
  font-weight: 700;
  margin-bottom: 12px;
}
.dfy-card h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 16px;
  line-height: 1.3;
}
.dfy-card h3 em {
  font-style: normal;
  color: #dc2626;
}
.dfy-cta {
  font-size: 14px;
  font-weight: 700;
  color: var(--bf-blue);
}
.dfy-card:hover .dfy-cta { text-decoration: underline; }

/* Legacy services band — kept for any other pages still using it */
.services-band {
  background: var(--bf-blue);
  padding: 0 0 72px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 980px) { .services-grid { grid-template-columns: 1fr; } }
.service-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--r-md);
  padding: 32px 28px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.2s, box-shadow 0.2s;
  border-top: 4px solid var(--bf-blue);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.25);
  text-decoration: none;
}
.service-card.service-tool { border-top-color: #6366f1; }
.service-card.service-video { border-top-color: var(--bf-blue); }
.service-card.service-sites { border-top-color: #f97316; }
.service-icon {
  font-size: 36px;
  margin-bottom: 16px;
  line-height: 1;
}
.service-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-2);
  font-weight: 700;
  margin-bottom: 8px;
}
.service-card h2 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 12px;
  line-height: 1.2;
}
.service-card p {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.6;
  margin: 0 0 24px;
  flex-grow: 1;
}
.service-cta {
  font-size: 14px;
  font-weight: 700;
  color: var(--bf-blue);
}
.service-card.service-tool .service-cta { color: #6366f1; }
.service-card.service-sites .service-cta { color: #f97316; }
.service-card:hover .service-cta { text-decoration: underline; }
.hero-figure {
  max-width: 720px;
  margin: 0 auto 32px;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}
.hero-figure img { width: 100%; height: auto; display: block; }
.hero-secondary { margin: 16px 0 0; }
.hero-secondary a { color: #fbbf24; text-decoration: underline; font-weight: 600; }

/* Green CTA — primary action, stands out against blue and white backgrounds */
.btn-cta {
  background: var(--bf-green);
  color: #fff;
  border-color: var(--bf-green);
  font-weight: 700;
  font-size: 17px;
  padding: 16px 36px;
  border-radius: 8px;
  display: inline-block;
  box-shadow: 0 6px 20px rgba(124, 179, 66, 0.35);
  transition: all 0.15s ease;
}
.btn-cta:hover {
  background: var(--bf-green-dark);
  border-color: var(--bf-green-dark);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(124, 179, 66, 0.45);
}

/* Numbered benefits */
.benefits { padding: 56px 0; background: var(--bg-soft); }
.benefits-list {
  max-width: 820px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.7;
  padding-left: 24px;
}
.benefits-list li { margin-bottom: 16px; }
.benefits-list strong { color: var(--ink); }

/* Section title (centered) */
.section-title {
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.section-eyebrow {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
  font-weight: 700;
  color: var(--bf-blue);
  margin: 0 0 12px;
}
.section-sub {
  text-align: center;
  color: var(--ink-2);
  font-size: 16px;
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.testimonial-cta { text-align: center; margin: 24px 0 0; }
.testimonial-cta a { color: #fbbf24; font-weight: 700; }

/* Free templates grid */
.free-templates { padding: 80px 0; background: var(--bg-soft); border-top: 1px solid var(--line); }
.free-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 880px) { .free-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .free-grid { grid-template-columns: repeat(2, 1fr); } }
.free-card {
  position: relative;
  display: block;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  aspect-ratio: 1 / 0.7;
  transition: transform 0.15s, box-shadow 0.15s;
}
.free-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.1); border-color: var(--bf-blue); }
.free-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.free-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: linear-gradient(135deg, transparent 50%, #fbbf24 50%);
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 8px;
  width: 70px;
  height: 70px;
  text-align: right;
  pointer-events: none;
}
.free-badge::after {
  content: "Free File";
  position: absolute;
  top: 14px;
  right: 6px;
  transform: rotate(45deg);
}

/* Trust bar */
.trust-bar { padding: 48px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust-eyebrow { text-align: center; color: var(--ink); font-size: 22px; font-weight: 600; margin: 0 0 32px; }
.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
}
.trust-logos img {
  max-width: 100%;
  height: auto;
  filter: grayscale(100%);
  opacity: 0.85;
}

/* Stats bar */
.stats-bar {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  padding: 56px 0;
}
.stats-bar .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}
@media (max-width: 760px) { .stats-bar .container { grid-template-columns: 1fr; } }
.stat {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 22px;
  color: var(--ink);
}
.stat strong { color: var(--ink); font-weight: 700; }
.stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bf-blue);
  color: #fff;
  font-weight: 700;
  font-size: 20px;
}

/* Testimonial band */
.testimonial-band {
  background: #4a4a4a;
  color: #fff;
  padding: 56px 0;
}
.testimonial-band blockquote {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  border: 0;
  padding: 0;
  background: transparent;
  font-style: normal;
}
.testimonial-band blockquote p {
  font-size: 18px;
  line-height: 1.7;
  font-style: italic;
  color: #f1f5f9;
  margin: 0 0 20px;
}
.testimonial-band blockquote cite {
  font-style: normal;
  color: #cbd5e1;
  font-size: 14px;
  display: block;
}
.testimonial-band blockquote cite strong { color: #fff; font-size: 16px; }

/* Recent blog (homepage) */
.recent-blog { padding: 80px 0; background: #fff; border-top: 1px solid var(--line); }

/* Contact page */
.contact-page { background: var(--bg-soft); padding: 48px 0 80px; }
.contact-eyebrow {
  color: #b91c5c;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 16px;
  letter-spacing: 0.02em;
}
.contact-card {
  background: #fff;
  border-radius: var(--r-md);
  padding: 56px 64px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  border: 1px solid var(--line);
}
@media (max-width: 720px) { .contact-card { padding: 32px 24px; } }
.contact-card h1 {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 12px;
}
.contact-intro {
  text-align: center;
  color: var(--ink-2);
  margin: 0 0 40px;
  font-size: 15px;
}

/* Team grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
  margin: 0 auto 48px;
  max-width: 800px;
}
@media (max-width: 720px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .team-grid { grid-template-columns: 1fr; } }
.team-member { text-align: center; }
.team-member img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
  display: block;
  border: 3px solid #f1f5f9;
}
.team-name {
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
}
.team-role {
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 2px;
}

/* Contact info row */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--ink);
}
.contact-info p { margin: 0 0 8px; color: var(--ink); font-size: 15px; }
.contact-info a { color: var(--bf-blue); }
.contact-hours { color: var(--ink-2) !important; margin-top: 12px !important; }

.contact-cta {
  display: block;
  background: linear-gradient(135deg, #1e1e1e 0%, #2d2d2d 100%);
  border-radius: var(--r-md);
  padding: 28px 32px;
  text-align: center;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.contact-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
  text-decoration: none;
}
.contact-cta-eyebrow {
  color: #94a3b8;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.contact-cta-title {
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 14px;
}
.contact-cta-button {
  display: inline-block;
  background: var(--bf-blue);
  color: #fff;
  padding: 10px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
}

/* Testimonials page */
.testimonials-hero {
  text-align: center;
  padding: 56px 0 24px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.testimonials-hero h1 {
  font-size: 32px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.testimonials-hero p { color: var(--ink-2); margin: 0; font-size: 16px; }

.testimonials-list { padding: 56px 0 80px; }
.testimonials-list .container { max-width: 1100px; }
.t-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}
.t-card:last-child { border-bottom: 0; }
@media (max-width: 880px) {
  .t-card { grid-template-columns: 1fr; gap: 24px; }
}
.t-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.t-media .video-embed { width: 100%; }
.t-quote-mark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 220px;
  line-height: 0.7;
  color: #cbd5e1;
  font-weight: 700;
  user-select: none;
}
.t-body { padding: 0 8px; }
.t-mark {
  display: inline-block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 64px;
  line-height: 0.5;
  color: #cbd5e1;
  margin: 0 0 8px;
  vertical-align: top;
}
.t-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: 4px 0 12px;
  line-height: 1.4;
}
.t-body p {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.7;
}
.t-attribution {
  margin-top: 18px;
  font-size: 16px;
}
.t-attribution strong {
  font-weight: 700;
  color: var(--ink);
  font-size: 18px;
  display: block;
}
.t-company {
  display: block;
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 2px;
}

/* Buttons */
.btn { display: inline-block; padding: 14px 28px; border-radius: var(--r-sm); font-weight: 600; font-size: 16px; border: 2px solid transparent; transition: all 0.15s ease; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--bf-blue); color: #fff; border-color: var(--bf-blue); }
.btn-primary:hover { background: var(--bf-blue-dark); border-color: var(--bf-blue-dark); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); }

/* Utility classes — used throughout templates */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 32px; }
.mt-8 { margin-top: 48px; }

/* Page hero */
.page-hero { padding: 56px 0 32px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: 44px; font-weight: 800; margin: 0 0 12px; }
.page-hero p { color: var(--ink-2); margin: 0; }

/* Card grid */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: all 0.15s ease; }
.card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,0.08); border-color: var(--bf-blue); }
.card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card-body { padding: 20px; }
.card-body .eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--bf-blue); font-weight: 700; margin-bottom: 8px; }
.card-body h3 { font-size: 18px; font-weight: 700; line-height: 1.35; margin: 0 0 8px; }
.card-body h3 a { color: var(--ink); }
.card-body h3 a:hover { color: var(--bf-blue); text-decoration: none; }
.card-body .meta { font-size: 13px; color: var(--ink-2); }
.card-body .cats { font-size: 12px; color: var(--bf-blue); margin-top: 6px; }

/* Recent sections */
.recent { padding: 64px 0; }
.recent.alt { background: var(--bg-soft); }
.recent h2 { font-size: 32px; font-weight: 800; margin: 0 0 32px; }

/* Blog list section */
.blog-list-section { padding: 48px 0 64px; }

/* Pagination */
.pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  max-width: 720px;
  margin: 56px auto 24px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.page-arrow {
  font-weight: 600;
  font-size: 15px;
  color: var(--bf-blue);
  text-decoration: none;
}
.page-arrow:hover { text-decoration: underline; }
.page-arrow.disabled {
  color: #cbd5e1;
  cursor: not-allowed;
  pointer-events: none;
}
.page-info {
  font-size: 14px;
  color: var(--ink-2);
}
.pagination-nums {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
  margin: 0 auto 32px;
  max-width: 720px;
}
.page-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.1s;
}
.page-num:hover {
  background: var(--bg-soft);
  border-color: var(--bf-blue);
  color: var(--bf-blue);
  text-decoration: none;
}
.page-num.current {
  background: var(--bf-blue);
  color: #fff;
  border-color: var(--bf-blue);
  cursor: default;
}

/* Post / Tutorial article */
.post { padding: 32px 0 64px; }
.post .container { max-width: 760px; }
.post .eyebrow { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--bf-blue); font-weight: 700; margin-bottom: 8px; }
.post-header h1 { font-size: 40px; font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; margin: 8px 0 16px; }
.post-meta { font-size: 14px; color: var(--ink-2); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.post-hero { margin: 32px 0; border-radius: var(--r-md); overflow: hidden; }
.post-hero img { width: 100%; height: auto; display: block; }

/* Hero video embed for posts that have a youtubeId */
.post-video { margin: 32px 0 24px; }
.post-video .video-embed { margin: 0; border-radius: var(--r-md); }

/* Resources / links box below the hero video */
.video-links {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px 32px;
  margin: 24px 0 40px;
}
.video-links-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bf-blue);
  margin-bottom: 16px;
}
.video-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}
.video-link {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 20px;
  text-decoration: none;
  color: var(--ink);
  transition: all 0.15s;
}
.video-link:hover {
  border-color: var(--bf-blue);
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
  text-decoration: none;
  transform: translateY(-1px);
}
.video-link.is-primary {
  background: linear-gradient(135deg, var(--bf-blue) 0%, var(--bf-blue-dark) 100%);
  border-color: var(--bf-blue);
  color: #fff;
}
.video-link.is-primary .video-link-label { color: #fbbf24; }
.video-link.is-primary .video-link-note { color: #cbd5e1; }
.video-link.is-primary:hover { box-shadow: 0 10px 24px rgba(26, 77, 140, 0.3); }
.video-link-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bf-blue);
  margin-bottom: 4px;
}
.video-link-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
}
.video-link-note {
  font-size: 13px;
  color: var(--ink-2);
  margin-top: 4px;
  line-height: 1.4;
}
.breadcrumbs { font-size: 13px; color: var(--ink-2); margin-bottom: 8px; }
.breadcrumbs a { color: var(--ink-2); }
.breadcrumbs span { margin: 0 6px; color: #94a3b8; }

/* Prose (article body) */
.prose { font-size: 17px; line-height: 1.7; color: var(--ink); }
.prose h2 { font-size: 28px; font-weight: 700; margin: 40px 0 16px; }
.prose h3 { font-size: 22px; font-weight: 700; margin: 32px 0 12px; }
.prose h4 { font-size: 18px; font-weight: 700; margin: 24px 0 8px; }
.prose p { margin: 16px 0; }
.prose img { margin: 24px 0; border-radius: var(--r-sm); max-width: 100%; height: auto; }
.prose a { color: var(--bf-blue); text-decoration: underline; }
.prose ul, .prose ol { margin: 16px 0; padding-left: 24px; }
.prose li { margin: 6px 0; }
.prose blockquote { border-left: 4px solid var(--bf-blue); padding: 4px 16px; margin: 24px 0; color: var(--ink-2); font-style: italic; background: var(--bg-soft); }
.prose pre, .prose code { font-family: "SF Mono", Menlo, Monaco, monospace; font-size: 14px; background: var(--bg-soft); border-radius: var(--r-sm); }
.prose code { padding: 2px 6px; }
.prose pre { padding: 16px; overflow: auto; }
.prose pre code { background: transparent; padding: 0; }
.prose iframe { max-width: 100%; border-radius: var(--r-md); }

/* WP page (Phase C migrated content) */
.wp-page { padding: 32px 0 64px; }
.wp-page .page-title {
  font-size: 40px; font-weight: 800; line-height: 1.15;
  letter-spacing: -0.02em; margin: 0 0 24px;
}
.wp-content { max-width: 1000px; }
.wp-content img { max-width: 100%; height: auto; border-radius: var(--r-sm); }
.wp-content section { margin: 24px 0; }
.wp-content .elementor-section-stretched { width: auto !important; }

/* Product page */
.product { padding: 32px 0 24px; }
.product .breadcrumbs { margin-bottom: 24px; }
.product-detail {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-areas: "media info" "description info";
  gap: 40px 40px;
  align-items: start;
  margin-bottom: 0;
}
.product-media { grid-area: media; }
.product-info { grid-area: info; }
.product-description { grid-area: description; }
@media (max-width: 880px) {
  .product-detail {
    grid-template-columns: 1fr;
    grid-template-areas: "media" "info" "description";
  }
}
.product-media .video-embed { margin-bottom: 16px; }
.product-hero { width: 100%; height: auto; border-radius: var(--r-md); border: 1px solid var(--line); }
.product-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 8px;
  margin-top: 12px;
}
.product-gallery a { display: block; aspect-ratio: 1/1; overflow: hidden; border-radius: var(--r-sm); border: 1px solid var(--line); }
.product-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.2s; }
.product-gallery a:hover img { transform: scale(1.05); }

.product-info {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  background: var(--bg-soft);
  border-radius: var(--r-md);
  padding: 28px;
  border: 1px solid var(--line);
}
@media (max-width: 879px) {
  .product-info { position: static; top: auto; }
}
.product-info .eyebrow {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--bf-blue); font-weight: 700; margin-bottom: 8px;
}
.product-info h1 { font-size: 28px; font-weight: 800; line-height: 1.2; margin: 0 0 20px; letter-spacing: -0.01em; }

.price-block { margin-bottom: 20px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price-current { font-size: 36px; font-weight: 800; color: var(--ink); }
.price-current.sale { color: #dc2626; }
.price-strike { font-size: 20px; color: var(--ink-2); text-decoration: line-through; }
.sale-badge {
  background: #dc2626; color: #fff; font-size: 11px; font-weight: 700;
  padding: 4px 8px; border-radius: 4px; letter-spacing: 0.04em;
}
.btn-buy { width: 100%; text-align: center; margin-bottom: 20px; font-size: 19px; padding: 16px 28px; }
.btn-buy .btn-icon { width: 22px; height: 22px; }
.btn-free { background: #16a34a; color: #fff; border-color: #16a34a; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; }
.btn-free:hover { background: #15803d; border-color: #15803d; color: #fff; }
.btn-free .btn-icon { flex-shrink: 0; }
.card-price .price-current { font-size: 18px; font-weight: 700; }
.card-price .price-strike { font-size: 14px; }

.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th, .spec-table td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { font-weight: 600; color: var(--ink-2); width: 40%; padding-right: 12px; }
.spec-table td { color: var(--ink); }
.spec-note { display: block; font-size: 12px; color: var(--ink-2); margin-top: 4px; line-height: 1.4; }

.product-description { max-width: none; margin: 24px 0 0; }

/* Store index */
.store-section { padding: 48px 0 64px; }
.cat-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.cat-pills a {
  padding: 8px 14px; border-radius: 999px; font-size: 14px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
}
.cat-pills a:hover, .cat-pills a.active {
  background: var(--bf-blue); color: #fff; border-color: var(--bf-blue); text-decoration: none;
}
.cat-heading {
  font-size: 28px; font-weight: 800; margin: 48px 0 20px;
  padding-top: 16px; scroll-margin-top: calc(var(--header-h) + 16px);
  border-top: 1px solid var(--line);
}
.cat-heading:first-of-type { border-top: 0; padding-top: 0; margin-top: 16px; }

/* AI Media Machine flagship feature on the products page — top of /store/.
   Mirrors the actual AI MM landing page brand (ai.bluefx.net): dark bg, blue accent, video thumbnail. */
.amm-feature {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
  background: #0a0a0f;
  background-image: radial-gradient(ellipse at top right, rgba(37, 99, 235, 0.18), transparent 60%);
  border-radius: var(--r-md);
  padding: 56px 56px;
  margin: 16px 0 56px;
  color: #fff;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
@media (max-width: 880px) {
  .amm-feature { grid-template-columns: 1fr; gap: 32px; padding: 40px 28px; }
}
.amm-feature-text { min-width: 0; }
.amm-feature-pill {
  display: inline-block;
  background: rgba(99, 138, 255, 0.15);
  border: 1px solid rgba(99, 138, 255, 0.3);
  color: #93c5fd;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.amm-feature h2 {
  color: #fff;
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 16px;
}
@media (max-width: 880px) { .amm-feature h2 { font-size: 32px; } }
.amm-accent { color: #93c5fd; }
.amm-feature-text p {
  color: #cbd5e1;
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 24px;
}
.amm-feature-cta {
  display: inline-block;
  background: #2563eb;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.15s;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}
.amm-feature-cta:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.5);
  color: #fff;
  text-decoration: none;
}
.amm-feature-fine {
  margin-top: 16px !important;
  margin-bottom: 0 !important;
  font-size: 13px !important;
  color: #94a3b8 !important;
}

.amm-feature-media {
  position: relative;
  display: block;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s;
}
.amm-feature-media:hover { transform: translateY(-3px); }
.amm-feature-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.amm-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.95);
  color: #fff;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s;
}
.amm-feature-media:hover .amm-play { transform: translate(-50%, -50%) scale(1.08); }

/* Featured strip on the store page */
.featured-strip {
  margin: 64px 0 16px;
  padding: 40px;
  background: linear-gradient(135deg, var(--bf-blue) 0%, var(--bf-blue-dark) 100%);
  border-radius: var(--r-md);
  color: #fff;
}
.featured-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fbbf24;
  margin-bottom: 8px;
}
.featured-strip h2 {
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 28px;
  letter-spacing: -0.01em;
}
.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 720px) { .featured-grid { grid-template-columns: 1fr; } }
.featured-card {
  background: #fff;
  border-radius: var(--r-md);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.15s, box-shadow 0.15s;
  display: block;
}
.featured-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.25);
  text-decoration: none;
}
.featured-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.featured-body { padding: 20px 24px 24px; }
.featured-body h3 {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--ink);
}
.featured-price {
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.featured-current {
  font-size: 26px;
  font-weight: 800;
  color: var(--bf-blue);
}
.featured-current.sale { color: #dc2626; }
.featured-strike {
  font-size: 18px;
  color: var(--ink-2);
  text-decoration: line-through;
}
.featured-card { position: relative; }
.featured-sale-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #dc2626;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(220,38,38,0.4);
}
.featured-cta {
  font-size: 13px;
  color: var(--bf-green-dark);
  font-weight: 700;
}

/* Responsive video embed (16:9) */
.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--r-md);
  margin: 28px 0;
  background: #000;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: var(--r-md);
}

/* Footer */
.site-footer { background: #2d2d2d; color: #cbd5e1; padding: 56px 0 24px; margin-top: 64px; }
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr 1.2fr 1.4fr;
  gap: 32px;
}
@media (max-width: 1100px) { .site-footer .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 720px) { .site-footer .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .site-footer .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  margin: 0 0 16px;
}
.site-footer h4.mt-4 { margin-top: 24px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #cbd5e1; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.footer-secure, .payment-icons { font-size: 13px; color: #94a3b8; margin: 0 0 8px; line-height: 1.5; }
.payment-icons { font-weight: 600; letter-spacing: 0.04em; }
.site-footer .copyright {
  border-top: 1px solid #1e1e1e;
  padding-top: 16px;
  margin-top: 32px;
  font-size: 13px;
  color: #64748b;
  display: block;
  text-align: center;
}

/* Gallery thumbnails — click cue */
.product-gallery a { display: block; position: relative; cursor: zoom-in; border-radius: var(--r-sm); overflow: hidden; }
.product-gallery a img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s ease; }
.product-gallery a:hover img { transform: scale(1.04); }

/* Lightbox overlay */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(8, 14, 28, 0.94);
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox-stage {
  margin: 0; max-width: 100%; max-height: 100%;
  display: flex; flex-direction: column; align-items: center;
}
.lightbox-img {
  max-width: 90vw; max-height: 82vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}
.lightbox-counter {
  color: #cbd5e1; font-size: 13px; letter-spacing: 0.04em;
  margin-top: 14px;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 30px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s, border-color 0.15s;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.35);
}
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover { transform: translateY(-50%) scale(1.08); }
.lightbox-next:hover { transform: translateY(-50%) scale(1.08); }
@media (max-width: 640px) {
  .lightbox-close { top: 12px; right: 12px; width: 40px; height: 40px; font-size: 24px; }
  .lightbox-prev, .lightbox-next { width: 40px; height: 40px; font-size: 24px; }
  .lightbox-prev { left: 8px; } .lightbox-next { right: 8px; }
}

/* Services CTA — shown on product pages (bottom) */
.services-cta {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: 36px 0 56px;
  margin-top: 0;
}
.services-cta .section-eyebrow { margin-bottom: 6px; }
.services-cta .section-title { margin-bottom: 8px; }
.services-cta .section-sub { margin-bottom: 40px; }
.services-cta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 880px) {
  .services-cta-grid { grid-template-columns: 1fr; }
}
.service-cta-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-cta-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -12px rgba(15, 23, 42, 0.18);
}
.service-cta-card .service-cta-media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}
.service-cta-card .service-cta-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.service-cta-card .service-cta-media:hover img { transform: scale(1.04); }
.service-cta-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}
.service-cta-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--bf-blue);
  font-weight: 700;
}
.service-cta-card h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
}
.service-cta-card p {
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
  flex: 1;
}
.service-cta-card .btn {
  align-self: flex-start;
  margin-top: 4px;
}

/* === bluefx-video-service page === */
.vs-section { padding: 56px 0; }
.vs-section-alt { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.vs-h2 { font-size: 36px; font-weight: 800; text-align: center; margin: 0 0 24px; letter-spacing: -0.01em; line-height: 1.15; color: var(--ink); }
@media (max-width: 640px) { .vs-h2 { font-size: 26px; } }
.vs-lead { text-align: center; font-size: 18px; color: var(--ink-2); margin: 0 auto 32px; max-width: 720px; line-height: 1.55; }
.vs-cta-row { text-align: center; margin: 40px 0 0; }
.vs-cta-row .btn { padding: 16px 32px; font-size: 17px; }

.vs-hero { padding-top: 64px; }
.vs-hero h1 { font-size: 44px; font-weight: 800; text-align: center; line-height: 1.15; letter-spacing: -0.02em; max-width: 920px; margin: 0 auto 32px; }
@media (max-width: 640px) { .vs-hero h1 { font-size: 30px; } }
.vs-frame { max-width: 900px; margin: 0 auto; border-radius: var(--r-md); overflow: hidden; box-shadow: 0 20px 60px -20px rgba(15,23,42,0.3); }
.vs-frame .video-embed { border-radius: var(--r-md); }

.vs-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-bottom: 40px; }
.vs-two-col img { width: 100%; border-radius: var(--r-md); }
.vs-two-col p { font-size: 17px; line-height: 1.6; margin: 0 0 14px; color: var(--ink); }
@media (max-width: 880px) { .vs-two-col { grid-template-columns: 1fr; } }

.vs-leadpages { max-width: 900px; margin: 32px auto 0; text-align: center; }
.vs-leadpages img { width: 100%; max-width: 100%; border-radius: var(--r-md); border: 1px solid var(--line); }
.vs-caption { text-align: center; font-size: 16px; color: var(--ink-2); margin: 16px 0 0; }

.vs-prose { max-width: 720px; margin: 0 auto; font-size: 17px; line-height: 1.65; color: var(--ink); }
.vs-prose p { margin: 14px 0; }
.vs-list { padding-left: 24px; margin: 16px 0; }
.vs-list li { margin: 8px 0; font-size: 17px; line-height: 1.5; color: var(--ink); }

.vs-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 24px 0 0; }
.vs-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin: 24px 0 0; }
@media (max-width: 880px) { .vs-grid-3 { grid-template-columns: 1fr; } .vs-grid-2 { grid-template-columns: 1fr; } }
.vs-feature { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.vs-feature img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; background: #000; }
.vs-feature h3 { font-size: 19px; font-weight: 700; margin: 18px 22px 6px; }
.vs-feature p { font-size: 15px; line-height: 1.55; color: var(--ink-2); margin: 0 22px 20px; }

.vs-who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 720px) { .vs-who-grid { grid-template-columns: 1fr; } }
.vs-who { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md); padding: 32px; }
.vs-who-yes { border-top: 4px solid #16a34a; }
.vs-who-no  { border-top: 4px solid #dc2626; }
.vs-who .vs-h2 { font-size: 26px; margin-bottom: 16px; }
.vs-who ul { padding: 0; margin: 0; list-style: none; }
.vs-who li { padding: 10px 0 10px 30px; position: relative; font-size: 16px; line-height: 1.5; border-bottom: 1px solid var(--line); }
.vs-who li:last-child { border-bottom: 0; }
.vs-who-yes li::before { content: "✓"; position: absolute; left: 0; top: 10px; color: #16a34a; font-weight: 800; }
.vs-who-no li::before  { content: "✗"; position: absolute; left: 0; top: 10px; color: #dc2626; font-weight: 800; }

.vs-steps .vs-step { text-align: center; padding: 24px; }
.vs-step-icon { font-size: 48px; margin-bottom: 12px; }
.vs-step h3 { font-size: 22px; font-weight: 800; color: var(--bf-blue); margin: 0 0 8px; }
.vs-step p { font-size: 16px; color: var(--ink); margin: 0; line-height: 1.5; }

.vs-video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0 0; }
@media (max-width: 880px) { .vs-video-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .vs-video-grid { grid-template-columns: 1fr; } }
.vs-video-grid .video-embed { border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--line); }

.vs-testimonials { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 24px 0 0; }
@media (max-width: 720px) { .vs-testimonials { grid-template-columns: 1fr; } }
.vs-testimonial { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.vs-testimonial img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.vs-testimonial blockquote { margin: 0; padding: 0; font-size: 15px; line-height: 1.6; color: var(--ink); }
.vs-testimonial blockquote p { margin: 0 0 10px; }
.vs-testimonial cite { font-style: normal; font-size: 14px; color: var(--ink-2); margin-top: auto; }

.vs-compare { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; margin: 24px 0 0; }
@media (max-width: 720px) { .vs-compare { grid-template-columns: 1fr; } }
.vs-compare-col { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md); padding: 28px; }
.vs-compare-col h3 { font-size: 22px; font-weight: 800; margin: 0 0 20px; text-align: center; }
.vs-compare-col ul { list-style: none; padding: 0; margin: 0; }
.vs-compare-col li { padding: 10px 0 10px 32px; position: relative; font-size: 16px; border-bottom: 1px solid var(--line); }
.vs-compare-col li:last-child { border-bottom: 0; }
.vs-compare-do { border-top: 4px solid #16a34a; }
.vs-compare-do li::before { content: "✓"; position: absolute; left: 4px; top: 10px; color: #16a34a; font-weight: 800; font-size: 18px; }
.vs-compare-dont { border-top: 4px solid #dc2626; }
.vs-compare-dont li::before { content: "✗"; position: absolute; left: 4px; top: 10px; color: #dc2626; font-weight: 800; font-size: 18px; }

.vs-bonus { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; padding-bottom: 24px; text-align: center; }
.vs-bonus img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; background: #f1f5f9; }
.vs-bonus h3 { font-size: 22px; font-weight: 800; margin: 22px 24px 8px; }
.vs-bonus p { font-size: 16px; color: var(--ink); margin: 6px 24px; line-height: 1.5; }
.vs-bonus p strong { color: var(--bf-blue); font-size: 18px; }

.vs-welcome-banner { background: var(--bf-blue); color: #fff; text-align: center; padding: 32px 24px; border-radius: var(--r-md); margin: 32px auto 0; max-width: 760px; }
.vs-welcome-eyebrow { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; margin: 0 0 8px; color: #fbbf24; }
.vs-welcome-text { font-size: 18px; font-weight: 700; margin: 0; line-height: 1.4; }

.vs-trust-section { padding: 40px 0; }

.vs-disclaimer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 40px 0 56px; font-size: 13px; color: var(--ink-2); line-height: 1.65; }
.vs-disclaimer .container { max-width: 920px; }
.vs-disclaimer p { margin: 0 0 14px; }
.vs-disclaimer strong { color: var(--ink); }

/* Video service — hero H1 (red accent + caps to match the original) */
.vs-hero h1 {
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-weight: 900;
  color: var(--ink);
}
.vs-red { color: #dc2626; }

/* Video testimonials row (vimeo) */
.vs-video-testimonial-heading { margin: 48px 0 16px; text-align: center; font-size: 22px; font-weight: 800; color: var(--ink); text-transform: uppercase; letter-spacing: 0.02em; }
.vs-video-testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; }
@media (max-width: 880px) { .vs-video-testimonials { grid-template-columns: 1fr; } }
.vs-video-testimonials .video-embed { border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--line); }

.vs-video-testimonials figure.vs-video-testimonial { margin: 0; display: flex; flex-direction: column; }
.vs-video-testimonials figure.vs-video-testimonial figcaption { text-align: center; padding: 14px 12px 4px; font-size: 14px; line-height: 1.45; color: var(--ink); }
.vs-video-testimonials figure.vs-video-testimonial figcaption strong { font-size: 15px; }
.vs-video-testimonials figure.vs-video-testimonial figcaption span { color: var(--ink-2); font-size: 13px; }

/* Amazon-style yellow Add to Cart button */
.btn-cart {
  background: #FFD814;
  color: #0F1111;
  border: 1px solid #FCD200;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  box-shadow: 0 2px 5px rgba(213, 217, 217, 0.5);
}
.btn-cart:hover {
  background: #F7CA00;
  border-color: #F2C200;
  color: #0F1111;
  text-decoration: none;
}
.btn-cart:active {
  background: #F0B800;
  border-color: #E8AE00;
}
.btn-cart .btn-icon { flex-shrink: 0; }
