/* =========================================================================
   STYLE.CSS - SaaS Demand Engine Core Theme
   ========================================================================= */

/* --- Custom Variables & Theme Core --- */
:root {
  /* Color Palette */
  --theme-bg-solid: #031475;
  /* Solid theme background for header & hero */
  --theme-bg-hero-accent: #000c4f;
  /* Darker solid shade for header sticky and secondary areas */
  --primary: #0526ca;
  /* Classic SaaS Demand Engine blue */
  --primary-hover: #031ba0;
  --accent: #00ff9d;
  /* High-impact energetic green/blue for CTAs and highlights */
  --accent-gold: #ffd200;
  /* Warm contrast accent for sub-labels and tags */
  --text-dark: #0f172a;
  /* Near black for readability on white */
  --text-muted: #475569;
  /* Slate gray for body paragraphs */
  --text-light: #f8fafc;
  /* Off-white for dark background contrast */
  --bg-light: #f8fafc;
  /* Clean light gray background */
  --bg-white: #ffffff;
  --border-light: #e2e8f0;
  /* Subtle divider borders */
  --border-focus: #3b82f6;

  /* Typography */
  --font-headings: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Outfit', system-ui, -apple-system, sans-serif;

  /* Shadows & Radius */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
  --shadow-premium: 0 20px 40px -15px rgba(5, 38, 202, 0.15);
  --shadow-highlight: 0 20px 30px -10px rgba(5, 38, 202, 0.25);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Grid & Dimensions */
  --container-width: 1200px;
  --header-height: 80px;
}

/* --- Base Resets & Global Styles --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-dark);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--primary-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Utility Components --- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-top: 10px;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
}

.sub-label {
  display: inline-block;
  font-family: var(--font-headings);
  font-size: 0.875rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--primary);
  background-color: rgba(5, 38, 202, 0.06);
  padding: 6px 16px;
  border-radius: var(--radius-full);
}

.contextual-link {
  font-weight: 600;
  border-bottom: 2px solid rgba(5, 38, 202, 0.2);
}

.contextual-link:hover {
  border-bottom-color: var(--primary);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.937rem;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

.btn-large {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--bg-white);
}

.btn-primary:hover {
  background-color: var(--accent);
  color: var(--theme-bg-hero-accent);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(0, 255, 157, 0.4);
}

.btn-white {
  background-color: var(--bg-white);
  color: var(--primary);
}

.btn-white:hover {
  background-color: transparent;
  border-color: var(--bg-white);
  color: var(--bg-white);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(255, 255, 255, 0.25);
}

.btn-outline-white {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--text-light);
}

.btn-outline-white:hover {
  background-color: var(--bg-white);
  border-color: var(--bg-white);
  color: var(--theme-bg-hero-accent);
  transform: translateY(-2px);
}

.btn-outline-primary {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline-primary:hover {
  background-color: var(--primary);
  color: var(--bg-white);
  transform: translateY(-2px);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--theme-bg-hero-accent);
  font-weight: 700;
}

.btn-accent:hover {
  background-color: #00e086;
  color: var(--theme-bg-hero-accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(0, 255, 157, 0.4);
}

.arrow {
  margin-left: 8px;
  transition: transform 0.2s ease;
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* =========================================================================
   SITE HEADER & NAVIGATION
   ========================================================================= */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

/* Sticky Class triggered by JS */
.site-header.sticky {
  position: fixed;
  background-color: var(--theme-bg-hero-accent);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
  height: 70px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}

.header-container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo Design */
.logo {
  display: flex;
  align-items: center;
  font-family: var(--font-headings);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-light);
  letter-spacing: -0.03em;
}

.logo:hover {
  color: var(--text-light);
}

.logo-badge {
  background-color: var(--bg-white);
  color: var(--primary);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  margin-right: 4px;
  font-weight: 800;
}

.logo-text {
  font-weight: 700;
}

/* Nav Menu */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-headings);
  font-weight: 500;
  font-size: 0.937rem;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav-link:hover {
  color: var(--text-light);
  border-bottom-color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Mobile Toggle Hamburger */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-light);
  position: relative;
  transition: background-color 0.2s ease;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: var(--text-light);
  left: 0;
  transition: transform 0.2s ease;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  top: 8px;
}

/* =========================================================================
   HERO SECTION (Theme Solid Background)
   ========================================================================= */
.hero-section {
  background-color: var(--theme-bg-solid);
  background-image:
    radial-gradient(circle at 80% 20%, rgba(5, 38, 202, 0.4) 0%, transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(0, 255, 157, 0.1) 0%, transparent 40%);
  color: var(--text-light);
  padding: calc(var(--header-height) + 80px) 0 80px 0;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 18px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-gold);
  margin-bottom: 30px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(0, 255, 157, 0.7);
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(0, 255, 157, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(0, 255, 157, 0);
  }

  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(0, 255, 157, 0);
  }
}

.hero-title {
  color: var(--text-light);
  font-weight: 800;
  font-size: 4.5rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 15px;
}

.hero-title .highlight {
  color: var(--accent);
  background: linear-gradient(120deg, var(--accent) 0%, #00e5ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 3.5rem;
}

.hero-subtitle {
  font-size: 1.35rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
}

.hero-description {
  font-size: 1.125rem;
  max-width: 750px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-description strong {
  color: var(--text-light);
  border-bottom: 1px dashed var(--accent);
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

/* Trust Badges in Hero */
.hero-features {
  display: flex;
  gap: 24px;
  margin-bottom: 60px;
}

.feature-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
}

.icon-inline {
  width: 18px;
  height: 18px;
  fill: var(--accent);
}

/* =========================================================================
   CORE METHODOLOGY SECTION
   ========================================================================= */
.methodology-section {
  background: linear-gradient(160deg, var(--bg-light) 0%, #f0f4ff 100%);
}

.methodology-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.methodology-card {
  background: var(--bg-white);
  border-radius: 16px;
  padding: 36px 32px;
  border: 1px solid rgba(var(--primary-rgb, 59, 94, 207), 0.1);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.methodology-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.methodology-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.methodology-card:hover::before {
  opacity: 1;
}

.methodology-card--accent {
  background: var(--primary);
  border-color: transparent;
  color: #fff;
}

.methodology-card--accent::before {
  background: var(--accent);
  opacity: 1;
}

.methodology-card--accent h3,
.methodology-card--accent h3 .phase-label,
.methodology-card--accent p,
.methodology-card--accent .methodology-hook,
.methodology-card--accent .methodology-card p:last-child {
  color: #fff !important;
}

.methodology-card--accent .methodology-phase-tag {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.methodology-card--accent .methodology-icon {
  color: var(--accent);
}

.methodology-phase-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  background: rgba(var(--primary-rgb, 59, 94, 207), 0.08);
  border: 1px solid rgba(var(--primary-rgb, 59, 94, 207), 0.2);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.methodology-icon {
  color: var(--primary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
}

.methodology-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.3;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.phase-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--primary);
  font-style: italic;
  opacity: 0.85;
}

.methodology-card--accent .phase-label {
  color: var(--accent);
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  display: block;
}

.form-group:has(.pill-group)>label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 600;
}

.pill-group {
  display: flex;
  flex-wrap: nowrap;
}

.pill-button {
  font-size: 0.8rem;
  padding: 4px 10px;
}

.methodology-hook {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
  font-style: italic;
  opacity: 0.8;
  line-height: 1.5;
}

.methodology-card p:last-child {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 0;
}

/* =========================================================================
   THE PROBLEMS SECTION
   ========================================================================= */
.problems-section {
  background-color: var(--bg-light);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.problem-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 40px 30px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
}

.problem-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-premium);
  border-color: rgba(5, 38, 202, 0.15);
}

.problem-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: rgba(5, 38, 202, 0.05);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.problem-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.problem-card p {
  color: var(--text-muted);
  font-size: 0.937rem;
}

/* Highlighted Card styling (Card 2) */
.problem-card.highlighted {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-highlight);
}

.highlight-tag {
  position: absolute;
  top: -12px;
  right: 24px;
  background-color: var(--primary);
  color: var(--bg-white);
  font-family: var(--font-headings);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}

.problem-card.highlighted .problem-icon {
  background-color: var(--primary);
  color: var(--bg-white);
}

/* CTA Card (Card 6) */
.problem-card.cta-card {
  background: linear-gradient(135deg, var(--primary) 0%, #031475 100%);
  border: none;
  color: var(--text-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.problem-card.cta-card h3 {
  color: var(--text-light);
}

.problem-card.cta-card p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
}

.problem-card.cta-card .btn {
  align-self: flex-start;
}

/* =========================================================================
   AGENCY STATS & CORE PILLARS
   ========================================================================= */
.stats-section {
  border-bottom: 1px solid var(--border-light);
}

.stats-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.stats-text-block h2 {
  font-size: 2.25rem;
  margin-top: 12px;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.stats-text-block>p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.pillar-item {
  display: flex;
  gap: 16px;
}

.pillar-bullet {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--primary);
  margin-top: 8px;
}

.pillar-item h4 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.pillar-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Stats right block */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-number-card {
  background-color: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-number-card:hover {
  background-color: var(--bg-white);
  border-color: rgba(5, 38, 202, 0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stat-number {
  font-family: var(--font-headings);
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 12px;
}

.stat-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.4;
}

/* =========================================================================
   SERVICES SECTION
   ========================================================================= */
.services-section {
  background-color: var(--bg-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.service-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-premium);
  border-color: rgba(5, 38, 202, 0.15);
}

.service-meta {
  margin-bottom: 20px;
  display: flex;
}

.service-tag {
  font-family: var(--font-headings);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}

.service-tag.popular {
  background-color: rgba(5, 38, 202, 0.08);
  color: var(--primary);
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: rgba(5, 38, 202, 0.04);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.937rem;
  margin-bottom: 24px;
  flex-grow: 1;
}

.service-link {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  color: var(--primary);
}

.service-link:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

.services-footer {
  text-align: center;
}

/* =========================================================================
   OUTCOMES SECTION
   ========================================================================= */
.outcomes-section {
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.outcome-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 30px;
  transition: all 0.3s ease;
}

.outcome-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.outcome-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(5, 38, 202, 0.05);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.outcome-icon .icon-svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.outcome-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.outcome-card p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* =========================================================================
   EXPLAINER VIDEO SECTION
   ========================================================================= */
.video-section {
  background-color: var(--bg-white);
}

.video-container-inner {
  max-width: 900px;
}

.video-wrapper {
  position: relative;
  background-color: var(--text-dark);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-premium);
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-bottom: 20px;
}

.video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.video-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  transition: transform 0.5s ease;
}

.video-placeholder:hover .video-thumb-img {
  transform: scale(1.03);
}

.video-thumbnail-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(3, 20, 117, 0.8) 0%, rgba(3, 20, 117, 0.2) 60%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.play-button-outer {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.play-button-inner {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--accent);
  color: var(--theme-bg-hero-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
  box-shadow: 0 8px 24px rgba(0, 255, 157, 0.4);
}

.video-placeholder:hover .play-button-outer {
  background-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.08);
}

.video-meta-overlay {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.video-title {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-light);
}

.video-duration {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.8125rem;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  color: var(--text-light);
}

.video-player-container {
  width: 100%;
  height: 100%;
  display: none;
}

.video-player-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.video-caption {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.937rem;
}

/* =========================================================================
   HOW IT WORKS / 90-DAY PROCESS SECTION
   ========================================================================= */
.process-section {
  background: var(--bg-white);
}

.heading-accent {
  color: var(--accent);
  display: block;
}

.heading-underline {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 56px;
  position: relative;
}

.process-step {
  display: grid;
  grid-template-columns: 72px 40px 1fr;
  gap: 0 24px;
  align-items: start;
  position: relative;
}

.process-step-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bg-light);
  border: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.process-step-number span {
  font-family: var(--font-headings);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
}

.process-step-number--accent {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 4px 20px rgba(var(--primary-rgb, 59, 94, 207), 0.35);
}

.process-step-number--accent span {
  color: #fff;
}

.process-step-connector {
  width: 2px;
  background: linear-gradient(to bottom, var(--border-light), transparent);
  align-self: stretch;
  margin: 72px auto 0;
  min-height: 40px;
}

.process-step-card {
  background: var(--bg-light);
  border-radius: 16px;
  padding: 28px 32px 32px;
  margin-bottom: 28px;
  border: 1px solid var(--border-light);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.process-step-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.process-step--last .process-step-card {
  border-color: rgba(var(--primary-rgb, 59, 94, 207), 0.2);
  background: linear-gradient(135deg, var(--bg-light) 0%, #eef1ff 100%);
}

.process-step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.process-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  background: rgba(var(--primary-rgb, 59, 94, 207), 0.08);
  border: 1px solid rgba(var(--primary-rgb, 59, 94, 207), 0.2);
  padding: 4px 12px;
  border-radius: 100px;
}

.process-step-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
}

.process-step-card>p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 16px;
}

.process-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.process-checklist li {
  font-size: 0.875rem;
  color: var(--text-dark);
  font-weight: 500;
  padding-left: 22px;
  position: relative;
}

.process-checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 7l3 3 5-5' stroke='%23020c43' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: cover;
}

.process-cta-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 48px;
  text-align: center;
}

.process-cta-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0;
}

/* =========================================================================
   INTERACTIVE ROI CALCULATOR
   ========================================================================= */

.calculator-section {
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.calculator-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
}

.calculator-info {
  padding: 50px;
  border-right: 1px solid var(--border-light);
}

.calculator-info h2 {
  font-size: 2rem;
  margin-top: 10px;
  margin-bottom: 16px;
}

.calculator-info p {
  color: var(--text-muted);
  margin-bottom: 36px;
}

.calculator-inputs {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-group label {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-dark);
}

.input-group input {
  padding: 14px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s ease;
  outline: none;
}

.input-group input:focus {
  border-color: var(--border-focus);
}

/* Results panel */
.calculator-results {
  background-color: #020c43;
  color: var(--text-light);
  padding: 50px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-content: center;
}

.result-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.result-card.highlight-result {
  background-color: rgba(0, 255, 157, 0.05);
  border-color: rgba(0, 255, 157, 0.2);
}

.result-title {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
}

.result-value {
  font-family: var(--font-headings);
  font-size: 1.75rem;
  font-weight: 700;
}

.text-accent {
  color: var(--accent);
}

.calc-footer {
  grid-column: span 2;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calc-footer p {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
}

/* =========================================================================
   FOUNDER / EEAT TRUST SECTION
   ========================================================================= */
.founder-section {
  background-color: var(--bg-white);
}

.founder-card-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: flex-start;
}

.founder-image-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.founder-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  aspect-ratio: 4 / 5;
  background-color: var(--bg-light);
}

.founder-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.credentials-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background-color: var(--primary);
  color: var(--text-light);
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.8125rem;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(5, 38, 202, 0.3);
}

/* Certifications grid */
.certifications-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cert-badge {
  font-family: var(--font-headings);
  font-size: 0.8125rem;
  font-weight: 600;
  background-color: var(--bg-light);
  border: 1px solid var(--border-light);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}

.founder-details-col h2 {
  font-size: 2.25rem;
  margin-top: 10px;
  margin-bottom: 4px;
}

.founder-name {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.founder-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.founder-bio {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 30px;
  font-style: italic;
}

.founder-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 40px;
}

.founder-highlights li {
  display: flex;
  gap: 12px;
}

.highlight-bullet {
  color: var(--primary);
  font-size: 1.25rem;
  line-height: 1;
}

.founder-highlights li p {
  font-size: 0.937rem;
  color: var(--text-muted);
}

.founder-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
}

.flex-link {
  display: inline-flex;
  align-items: center;
}

/* As Seen In Mentions */
.as-seen-in {
  border-top: 1px solid var(--border-light);
  padding-top: 30px;
}

.as-seen-in p {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.media-logos {
  display: flex;
  align-items: center;
  gap: 40px;
}

.media-logo {
  height: 20px;
  color: #94a3b8;
}

/* =========================================================================
   BLOG / RECENT INSIGHTS
   ========================================================================= */
.blog-section {
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-light);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 50px;
}

.blog-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(5, 38, 202, 0.15);
}

.blog-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.blog-category {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.blog-title-link {
  color: var(--text-dark);
}

.blog-title-link:hover {
  color: var(--primary);
}

.blog-card p {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 24px;
  flex-grow: 1;
}

.blog-readmore {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--primary);
}

.blog-footer {
  text-align: center;
}

/* =========================================================================
   FAQ SECTION (AEO Accordion)
   ========================================================================= */
.faq-section {
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-light);
}

.faq-accordion-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-accordion-item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-accordion-item:hover {
  border-color: rgba(5, 38, 202, 0.2);
}

.faq-accordion-header {
  width: 100%;
  background: none;
  border: none;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-dark);
  transition: color 0.2s ease;
}

.faq-accordion-header:hover {
  color: var(--primary);
}

.faq-icon-span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}

.faq-accordion-header:hover .faq-icon-span {
  background-color: rgba(5, 38, 202, 0.08);
}

.faq-icon-span::before,
.faq-icon-span::after {
  content: '';
  position: absolute;
  background-color: var(--text-dark);
  transition: transform 0.3s ease;
}

/* Plus to Minus icon */
.faq-icon-span::before {
  width: 10px;
  height: 2px;
}

.faq-icon-span::after {
  width: 2px;
  height: 10px;
}

.faq-accordion-header[aria-expanded="true"] .faq-icon-span::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-accordion-header[aria-expanded="true"] .faq-icon-span::before {
  transform: rotate(180deg);
}

.faq-accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  background-color: var(--bg-light);
}

.faq-accordion-body p {
  padding: 0 24px 24px 24px;
  color: var(--text-muted);
  font-size: 0.937rem;
  line-height: 1.6;
}

/* Open State */
.faq-accordion-item.open .faq-accordion-body {
  max-height: 500px;
  transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

.faq-accordion-item.open {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

/* =========================================================================
   AUDIT SIGNUP FORM SECTION
   ========================================================================= */
.audit-section {
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-light);
}

.audit-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.audit-form-text h2 {
  font-size: 2.25rem;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.audit-form-text>p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.audit-bullets {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.audit-bullet-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.bullet-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: rgba(5, 38, 202, 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.8125rem;
  flex-shrink: 0;
}

.audit-bullet-item span {
  font-size: 0.937rem;
  color: var(--text-muted);
}

.audit-form-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-premium);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.875rem;
}

.form-group input,
.form-group select {
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.937rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--border-focus);
}

/* ARR Range Pill Buttons */
.pill-group {
  display: flex;
  flex-wrap: nowrap;
  gap: 7px;
  margin-top: 4px;
}

.pill-btn {
  padding: 6px 12px;
  border-radius: 100px;
  border: 1.5px solid var(--border-light);
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.pill-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(var(--primary-rgb, 59, 94, 207), 0.06);
}

.pill-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 2px 10px rgba(var(--primary-rgb, 59, 94, 207), 0.3);
}

.pill-btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.form-privacy {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 16px;
}

/* Success Message */
.form-success-message {
  text-align: center;
  padding: 20px 0;
}

.success-icon {
  color: var(--accent);
  margin-bottom: 20px;
}

.form-success-message h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.form-success-message p {
  color: var(--text-muted);
  font-size: 0.937rem;
}

/* =========================================================================
   BOTTOM CTA BANNER
   ========================================================================= */
.bottom-cta-banner {
  background-color: var(--theme-bg-solid);
  background-image: radial-gradient(circle at center, rgba(5, 38, 202, 0.4) 0%, transparent 70%);
  color: var(--text-light);
  padding: 80px 0;
  text-align: center;
}

.banner-inner h2 {
  color: var(--text-light);
  font-size: 2.5rem;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.banner-inner p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto 36px auto;
}

.banner-ctas {
  margin-bottom: 20px;
}

.banner-subtext {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}

/* =========================================================================
   FOOTER SECTION
   ========================================================================= */
.site-footer {
  background-color: #0b0f19;
  color: #94a3b8;
  padding: 80px 0 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-col h4 {
  color: var(--text-light);
  font-size: 0.937rem;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul a {
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-col ul a:hover {
  color: var(--text-light);
  padding-left: 4px;
}

/* Brand column */
.footer-brand-desc {
  font-size: 0.875rem;
  margin-top: 20px;
  margin-bottom: 24px;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.social-link:hover {
  background-color: var(--primary);
  color: var(--text-light);
}

/* Contact / Address column */
.footer-address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
}

.footer-address p {
  color: #94a3b8;
  margin: 0;
  line-height: 1.5;
}

.footer-address p a {
  color: #94a3b8;
}

.footer-address p a:hover {
  color: var(--text-light);
}

/* Growth Ecosystems / Location Panel */
.locations-panel {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 48px 0;
  background-color: rgba(0, 0, 0, 0.2);
}

.ecosystems-header {
  margin-bottom: 32px;
}

.locations-panel h5 {
  color: var(--text-light);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 6px;
}

.ecosystems-subtitle {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.loc-item h6 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.loc-item p {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #64748b;
  margin: 0;
}

/* Footer Bottom */
.footer-bottom {
  padding: 30px 0 90px;
  border-top: 1px solid rgba(255, 255, 255, 0.02);
  font-size: 0.8125rem;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom-links {
  list-style: none;
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: #64748b;
}

.footer-bottom-links a:hover {
  color: var(--text-light);
}

/* =========================================================================
   FLOATING CONVERSION BAR (Pill Style)
   ========================================================================= */
.floating-cta-bar {
  position: fixed;
  bottom: -120px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  transition: bottom 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.floating-cta-bar.show {
  bottom: 24px;
  pointer-events: auto;
}

.floating-cta-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #0d1a6b;
  border-radius: 100px;
  padding: 10px 10px 10px 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.06);
  white-space: nowrap;
}

.floating-chat-icon {
  color: rgba(255, 255, 255, 0.55);
  flex-shrink: 0;
}

.floating-cta-text {
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-headings);
  font-weight: 500;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.floating-cta-btn {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: #0d1a6b;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 9px 20px;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.floating-cta-btn:hover {
  background: var(--accent);
  color: #020c43;
  transform: scale(1.03);
}



/* =========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================= */

@media (max-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .outcomes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .methodology-grid {
    grid-template-columns: 1fr;
  }

  .process-step {
    grid-template-columns: 52px 1fr;
    gap: 0 16px;
  }

  .process-step-connector {
    display: none;
  }

  .process-step-card {
    padding: 20px;
  }

  .founder-card-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .audit-box {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-col.brand-col {
    grid-column: span 3;
  }

  .footer-col.contact-col {
    grid-column: span 3;
  }

  .locations-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .back-to-blog-link-wrapper {
    display: none !important;
  }

  .single-post-sidebar {
    padding-top: 0 !important;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .section {
    padding: 60px 0;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.15rem;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .hero-features {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .logo-grid {
    gap: 30px 40px;
  }

  /* Mobile Navigation Hamburger Menu */
  .mobile-nav-toggle {
    display: block;
    z-index: 1001;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--theme-bg-hero-accent);
    padding: 100px 40px;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
    transition: right 0.3s ease;
    z-index: 1000;
  }

  .main-nav.open {
    right: 0;
  }

  .nav-menu {
    flex-direction: column;
    gap: 24px;
  }

  .nav-link {
    font-size: 1.1rem;
  }

  .header-actions {
    display: none;
    /* Hide in header, place inside mobile nav if needed */
  }

  /* Hamburger state change */
  .mobile-nav-toggle[aria-expanded="true"] .hamburger {
    background-color: transparent;
  }

  .mobile-nav-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg) translate(5px, 6px);
  }

  .mobile-nav-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg) translate(5px, -6px);
  }

  /* Layout modifications */
  .cards-grid,
  .services-grid,
  .outcomes-grid,
  .stats-grid,
  .locations-grid {
    grid-template-columns: 1fr;
  }

  .calculator-box {
    grid-template-columns: 1fr;
  }

  .calculator-info {
    padding: 30px;
    border-right: none;
    border-bottom: 1px solid var(--border-light);
  }

  .calculator-results {
    padding: 30px;
    grid-template-columns: 1fr;
  }

  .calc-footer {
    grid-column: 1;
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .audit-form-card {
    padding: 24px;
  }

  .founder-actions {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
  }

  .media-logos {
    flex-wrap: wrap;
    gap: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-col.brand-col,
  .footer-col.contact-col {
    grid-column: 1;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .floating-cta-pill {
    gap: 10px;
    padding: 8px 8px 8px 16px;
  }

  .floating-cta-text {
    font-size: 0.8125rem;
  }

  .floating-cta-btn {
    padding: 8px 14px;
    font-size: 0.8125rem;
  }
}

/* =========================================================================
   About Page Layout Styles
   ========================================================================= */

/* Hero Section */
.about-hero-section {
  padding: 120px 0 60px 0;
  text-align: center;
  background-color: var(--bg-white);
}

.about-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.about-hero-content h1.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  font-family: var(--font-headings);
  line-height: 1.15;
  color: var(--text-dark);
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.about-hero-content h1.hero-title .highlight {
  color: var(--primary);
}

.about-hero-content .about-intro-text {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto;
}

.about-hero-ctas {
  margin-top: 32px;
}

/* Sub-labels and headers */
.sub-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  display: inline-block;
  margin-bottom: 12px;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px auto;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  font-family: var(--font-headings);
  color: var(--text-dark);
  margin-top: 8px;
  line-height: 1.2;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 16px;
}

/* Comparison Section */
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.comparison-card {
  border-radius: 16px;
  padding: 40px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-light, #e2e8f0);
}

.advisor-card {
  background: #ffffff;
}

.advisor-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md, 0 10px 15px -3px rgba(0, 0, 0, 0.1));
}

.operator-card {
  background: #000bb0;
  color: #ffffff;
  border-color: #000bb0;
  box-shadow: 0 20px 45px rgba(0, 11, 176, 0.15);
}

.operator-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 50px rgba(0, 11, 176, 0.25);
}

.comparison-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  font-family: var(--font-headings);
}

.advisor-card h3 {
  color: #dc2626;
}

.operator-card h3 {
  color: #ffffff;
}

.comparison-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.comparison-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.95rem;
  line-height: 1.5;
}

.advisor-card .comparison-list li {
  color: var(--text-muted);
}

.operator-card .comparison-list li {
  color: rgba(255, 255, 255, 0.9);
}

.bullet-x {
  color: #dc2626;
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1;
}

.bullet-check {
  color: #00ff9d;
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1;
}

/* Expertise Section */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.expertise-card {
  background: #ffffff;
  border: 1px solid var(--border-light, #e2e8f0);
  border-radius: 16px;
  padding: 32px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.expertise-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md, 0 10px 15px -3px rgba(0, 0, 0, 0.1));
}

.expertise-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: rgba(5, 38, 202, 0.06);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.expertise-icon svg {
  width: 24px;
  height: 24px;
}

.expertise-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-dark);
  font-family: var(--font-headings);
}

.expertise-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.expertise-list li {
  font-size: 0.95rem;
  color: var(--text-muted);
  display: flex;
  gap: 8px;
  line-height: 1.5;
}

.expertise-list li::before {
  content: "•";
  color: var(--primary);
  font-weight: bold;
}

/* =========================================================================
   SERVICES PAGE CUSTOM STYLES
   ========================================================================= */
.services-hero-section {
  padding: 80px 0 40px 0;
  text-align: left;
}

.services-hero-content {
  max-width: 800px;
}

.services-hero-content .sub-label {
  margin-bottom: 16px;
}

.services-hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.services-hero-content h1 .highlight {
  color: var(--primary);
}

.services-intro-text {
  font-size: 1.25rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.services-proof-bar {
  margin-top: 24px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
  font-family: var(--font-headings);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
  background: rgba(5, 38, 202, 0.05);
  padding: 10px 20px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(5, 38, 202, 0.1);
}

.services-proof-bar .star-icon {
  color: var(--accent-gold, #ffd200);
  font-size: 1.25rem;
}

/* Split Layout Container */
.services-layout-container {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  margin-bottom: 80px;
}

/* Sticky Sidebar */
.services-sidebar {
  width: 250px !important;
  position: sticky;
  top: 100px;
  flex-shrink: 0;
  background: var(--bg-white);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.services-sidebar h3 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-weight: 900;
}

.services-sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.services-sidebar-menu a {
  display: block;
  font-family: var(--font-headings);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  border-left: 2px solid transparent;
}

.services-sidebar-menu a:hover,
.services-sidebar-menu a.active {
  color: var(--primary);
  background: rgba(5, 38, 202, 0.04);
  border-left-color: var(--primary);
  padding-left: 16px;
}

/* Service Detail Column */
.services-content-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Service Cards */
.service-detail-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-detail-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.service-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.service-card-header h2 {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

/* Sub-grid sections */
.service-info-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.service-info-block {
  padding: 24px;
  border-radius: var(--radius-md);
  height: 100%;
}

.service-info-block h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  font-weight: 700;
}

.service-info-block p {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Specific colors to match the premium mockup */
.block-who {
  background: #fff8f7;
  border: 1px solid #ffe3df;
}

.block-who h4 {
  color: #ff5733;
}

.block-who p {
  color: #5c4b47;
}

.block-solve {
  background: #f4f8ff;
  border: 1px solid #e1ecff;
}

.block-solve h4 {
  color: var(--primary);
}

.block-solve p {
  color: #3b4e6d;
}

.block-deliverables {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
}

.block-deliverables h4 {
  color: var(--text-dark);
}

.block-timeline {
  background: #f8fafc;
  border: 1px solid var(--border-light);
}

.block-timeline h4 {
  color: var(--text-muted);
}

.block-timeline p {
  color: var(--text-muted);
}

/* Deliverables list styling */
.service-deliverables-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-deliverables-list li {
  display: flex;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.4;
  font-weight: 500;
}

.service-deliverables-list li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: rgba(5, 38, 202, 0.1);
  color: var(--primary);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: bold;
  margin-right: 12px;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Card bottom area */
.service-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.service-anchor-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.service-anchor-link:hover {
  color: var(--primary);
}

/* Responsive styles */
@media (max-width: 991px) {
  .services-layout-container {
    flex-direction: column;
    gap: 32px;
  }

  .services-sidebar {
    width: 100%;
    position: static;
  }

  .services-sidebar-menu {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .services-sidebar-menu li {
    flex: 1 1 calc(50% - 12px);
  }
}

@media (max-width: 767px) {
  .services-hero-content h1 {
    font-size: 2.25rem;
  }

  .service-info-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-card-header .btn {
    width: 100%;
  }

  .services-sidebar-menu {
    flex-direction: column;
  }

  .services-sidebar-menu li {
    flex: 1 1 100%;
  }
}

/* =========================================================================
   FRACTIONAL CMO PAGE CUSTOM STYLES
   ========================================================================= */
.cmo-hero-section {
  background-color: #031475;
  background-image: linear-gradient(135deg, #031475 0%, #000c4f 100%);
  color: var(--text-light);
  padding: 100px 0;
  text-align: left;
}

.cmo-hero-content {
  max-width: 800px;
}

.cmo-hero-content .sub-label-light {
  display: inline-block;
  font-family: var(--font-headings);
  font-size: 0.875rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 20px;
}

.cmo-hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.cmo-hero-content p {
  font-size: 1.25rem;
  color: #dbe8ff;
  line-height: 1.6;
  margin-bottom: 32px;
}

/* Why Most SaaS Marketing Stalls */
.stalls-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.stall-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stall-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stall-card .warning-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #fff5f5;
  color: #ff5733;
  border-radius: 50%;
  margin-bottom: 24px;
  font-weight: 700;
  font-size: 1.1rem;
  border: 1px solid #ffdcd6;
}

.stall-card p {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 500;
  line-height: 1.5;
}

/* Stall Card Featured Callout */
.stall-card.featured-blue-card {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stall-card.featured-blue-card h3 {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 12px;
  font-family: var(--font-headings);
}

.stall-card.featured-blue-card p {
  color: #e1ecff;
  font-size: 0.95rem;
  margin-bottom: 24px;
  line-height: 1.5;
}

.stall-card.featured-blue-card .btn-white-sm {
  align-self: flex-start;
  background: #ffffff;
  color: var(--primary);
  padding: 8px 16px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.stall-card.featured-blue-card .btn-white-sm:hover {
  background: var(--accent);
  color: var(--theme-bg-hero-accent);
}

/* Full-Stack Marketing Leadership Split Section */
.leadership-split {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: center;
}

.advantage-card {
  background: var(--primary);
  border-radius: var(--radius-lg);
  padding: 48px;
  color: #ffffff;
  box-shadow: var(--shadow-premium);
}

.advantage-card h3 {
  color: #ffffff;
  font-size: 1.75rem;
  margin-bottom: 16px;
  font-family: var(--font-headings);
}

.advantage-card p {
  color: #dbe8ff;
  font-size: 1rem;
  margin-bottom: 32px;
  line-height: 1.6;
}

.advantage-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.advantage-list li {
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 1rem;
  color: #ffffff;
}

.advantage-list li::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
  color: var(--accent);
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: bold;
  margin-right: 16px;
  flex-shrink: 0;
}

.leadership-content h2 {
  font-size: 2.25rem;
  margin-bottom: 32px;
}

.leadership-topic {
  margin-bottom: 24px;
}

.leadership-topic h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.leadership-topic p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* From Audit to Pipeline (Steps) */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.step-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: center;
  position: relative;
}

.step-number {
  width: 48px;
  height: 48px;
  background: rgba(5, 38, 202, 0.06);
  color: var(--primary);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.step-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.step-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Outcomes Stats Section */
.outcomes-section {
  padding: 80px 0;
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.outcome-stat-card .stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.outcome-stat-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.outcome-stat-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* FAQ Accordion Styles */
.faq-accordion-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
}

.faq-item h3 {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 12px;
  font-weight: 700;
}

.faq-item p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Responsive updates for Fractional CMO */
@media (max-width: 991px) {
  .stalls-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .leadership-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .outcomes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}

@media (max-width: 767px) {
  .cmo-hero-content h1 {
    font-size: 2.5rem;
  }

  .stalls-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .outcomes-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* =========================================================================
   DEMAND GENERATION PAGE CUSTOM STYLES
   ========================================================================= */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.pillar-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.pillar-card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
  font-family: var(--font-headings);
  font-weight: 700;
  color: var(--text-dark);
}

.pillar-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Deliverables Pill Grid */
.deliverables-pill-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.deliverable-pill {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 14px 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
}

.deliverable-pill::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: rgba(5, 38, 202, 0.1);
  color: var(--primary);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: bold;
  flex-shrink: 0;
}

/* Responsive updates for Demand Gen */
@media (max-width: 767px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .deliverables-pill-grid {
    grid-template-columns: 1fr;
  }

  .deliverable-pill {
    padding: 12px 20px;
    border-radius: var(--radius-md);
  }
}

/* =========================================================================
   CONTACT PAGE CUSTOM STYLES
   ========================================================================= */
.contact-hero-section {
  padding: 80px 0 100px 0;
  background-color: var(--bg-light);
}

.contact-layout-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info-col {
  padding-top: 20px;
}

.contact-info-col h1 {
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.1;
  margin-top: 16px;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.contact-info-col h1 span {
  color: var(--primary);
  display: block;
}

.contact-info-col p.intro-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 40px;
}

.contact-bullets-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-bullet-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-bullet-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(5, 38, 202, 0.08);
  color: var(--primary);
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: bold;
  margin-top: 4px;
  flex-shrink: 0;
}

.contact-bullet-text h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
  font-weight: 700;
}

.contact-bullet-text p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Contact Form Container styling */
.contact-form-container {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: 0 20px 40px -15px rgba(0, 12, 79, 0.08);
}

.contact-form-container h2 {
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.contact-form-container p.form-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.form-row-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.form-group-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group-field label {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-dark);
}

.form-group-field input[type="text"],
.form-group-field input[type="email"] {
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: border-color 0.2s ease;
  width: 100%;
}

.form-group-field input:focus {
  border-color: var(--primary);
  outline: none;
}

/* Radio buttons list */
.challenge-options-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.challenge-option-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  background: var(--bg-white);
  transition: all 0.2s ease;
}

.challenge-option-pill:hover {
  border-color: var(--primary);
  background: rgba(5, 38, 202, 0.02);
}

.challenge-option-pill input[type="radio"] {
  margin: 0;
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
}

.checkbox-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 28px 0;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.checkbox-consent input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  flex-shrink: 0;
}

.form-button-submit {
  width: 100%;
  background: var(--primary);
  color: #ffffff;
  padding: 16px;
  border: none;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s ease;
}

.form-button-submit:hover {
  background: var(--primary-hover);
}

.form-footer-notice {
  text-align: center;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-top: 16px;
}

/* Responsive contact layout */
@media (max-width: 991px) {
  .contact-layout-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 767px) {
  .contact-info-col h1 {
    font-size: 2.5rem;
  }

  .form-row-split {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form-container {
    padding: 32px 24px;
  }
}

/* =========================================================================
   BLOG ARCHIVE / CATEGORY PAGE CUSTOM STYLES
   ========================================================================= */
.blog-hero-section {
  padding: 80px 0 0px 0;
  background: var(--bg-white);
}

.blog-hero-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
}

.blog-hero-text {
  max-width: 700px;
}

.blog-hero-text .sub-label {
  margin-bottom: 16px;
}

.blog-hero-text h1 {
  font-size: 3.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.blog-hero-text p {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.blog-filter-btn {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 10px 20px;
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--text-dark);
  transition: all 0.2s ease;
}

.blog-filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Grid & Cards */
.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
  margin-bottom: 80px;
}

.blog-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.blog-card-img-wrap {
  width: 100%;
  height: 180px;
  overflow: hidden;
  position: relative;
  background: #eaecee;
}

.blog-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-card-img-wrap img {
  transform: scale(1.05);
}

.blog-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  gap: 10px;
}

.blog-card-category {
  color: var(--primary);
}

.blog-card-readtime {
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.blog-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.blog-card-title a {
  color: var(--text-dark);
}

.blog-card-title a:hover {
  color: var(--primary);
}

.blog-card-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.blog-card-more-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-card-more-link:hover {
  color: var(--primary-hover);
}

/* Responsive updates for Blog */
@media (max-width: 1200px) {
  .blog-posts-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991px) {
  .blog-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-hero-section {
    padding: 60px 0 40px 0;
  }

  .blog-hero-text h1 {
    font-size: 2.75rem;
  }
}

@media (max-width: 767px) {
  .blog-posts-grid {
    grid-template-columns: 1fr;
  }

  .blog-hero-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* =========================================================================
   SINGLE BLOG POST CUSTOM STYLES
   ========================================================================= */
.single-post-hero {
  padding: 60px 0 40px 0;
  background: var(--bg-white);
}

.single-post-layout-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  margin-bottom: 80px;
  align-items: start;
}

/* Left TOC Column - Fixed outside the content container area on desktop */
@media (min-width: 1350px) {
  .single-post-left-toc-col {
    position: fixed;
    left: calc((100vw - 1200px) / 2 - 270px);
    top: 220px;
    width: 240px;
    z-index: 100;
    transition: opacity 0.3s ease;
  }

  .sticky-toc-wrapper {
    position: static;
  }

  .sticky-toc-wrapper .desktop-toc-title {
    display: block;
  }
}

.mobile-toc-toggle-btn {
  display: none;
}

.mobile-toc-overlay {
  display: none;
}

/* Main Content Area */
.single-post-main-content {
  min-width: 0;
  /* Prevents overflow in flex/grid */
}

.single-post-featured-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: var(--shadow-md);
}

.single-post-featured-image img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
}

.single-post-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.single-post-meta .cat-badge {
  background: rgba(5, 38, 202, 0.08);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
}

.single-post-meta .read-time,
.single-post-meta .post-date {
  color: var(--text-muted);
}

.single-post-main-content h1.post-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 2.5rem;
  color: var(--text-dark);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.post-excerpt-intro {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
  font-weight: 500;
}

/* Dynamic post body styling */
.post-entry-body-content {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-dark);
}

.post-entry-body-content p {
  margin-bottom: 24px;
}

.post-entry-body-content h2 {
  font-size: 1.85rem;
  font-weight: 800;
  margin-top: 48px;
  margin-bottom: 20px;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}

.post-entry-body-content h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.post-entry-body-content ul,
.post-entry-body-content ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.post-entry-body-content li {
  margin-bottom: 8px;
}

/* Sidebar Elements */
.single-post-sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 78px;
}

/* Author Bio Card */
.author-bio-card {
  background: #031475;
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 32px;
  text-align: left;
}

.author-bio-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.author-bio-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
}

.author-bio-meta h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  color: #ffffff;
}

.author-bio-meta span {
  font-size: 0.8rem;
  color: var(--accent);
}

.author-bio-card p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #dbe8ff;
  margin-bottom: 20px;
}

.author-bio-social-wrap {
  margin-top: 16px;
}

.author-bio-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #ffffff;
  color: #031475;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.author-bio-social-icon:hover {
  background: var(--accent);
  color: var(--theme-bg-hero-accent);
}

/* TOC Card */
.toc-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
}

.toc-card h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-weight: 700;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toc-list a {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.4;
  transition: all 0.2s ease;
  display: block;
  border-left: 2px solid transparent;
  padding-left: 0;
}

.toc-list a:hover,
.toc-list a.active {
  color: var(--primary);
  font-weight: 700;
  border-left: 2px solid var(--primary);
  padding-left: 8px;
}

/* Sidebar Callout Card */
.sidebar-callout-card {
  background: var(--primary);
  border-radius: var(--radius-md);
  padding: 32px;
  color: #ffffff;
}

.sidebar-callout-card.dark-theme {
  background: var(--text-dark);
}

.sidebar-callout-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  font-family: var(--font-headings);
}

.sidebar-callout-card p {
  font-size: 0.9rem;
  color: #e1ecff;
  line-height: 1.5;
  margin-bottom: 24px;
}

.sidebar-callout-card.dark-theme p {
  color: var(--text-light);
}

.sidebar-callout-card .btn-white {
  width: 100%;
  background: #ffffff;
  color: var(--primary);
  border: 2px solid #ffffff;
}

.sidebar-callout-card .btn-white:hover {
  background: var(--accent);
  color: var(--theme-bg-hero-accent);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(0, 255, 157, 0.4);
}

.sidebar-callout-card.dark-theme .btn-white-dark {
  width: 100%;
  background: #ffffff;
  color: var(--text-dark);
  border: 2px solid #ffffff;
}

.sidebar-callout-card.dark-theme .btn-white-dark:hover {
  background: var(--accent);
  color: var(--theme-bg-hero-accent);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(0, 255, 157, 0.4);
}

/* Share icons section */
.post-share-section {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.post-share-section span {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.share-icons {
  display: flex;
  gap: 12px;
}

.share-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-light);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.share-icon-btn:hover {
  background: var(--primary);
  color: #ffffff;
}

/* Responsive updates for Single Post */
@media (max-width: 1349px) {
  .single-post-layout-grid {
    grid-template-columns: 1fr 320px;
    gap: 40px;
  }

  .single-post-left-toc-col {
    position: fixed;
    top: 30%;
    transform: translateY(-50%);
    left: -320px;
    width: 290px;
    height: auto;
    max-height: 85vh;
    background: transparent;
    z-index: 10000;
    box-shadow: none;
    padding: 0;
    transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: visible;
  }

  .single-post-left-toc-col.mobile-active {
    left: -10px;
  }

  .single-post-left-toc-col.mobile-active .toc-card {
    padding: 28px 28px 28px 40px;
  }

  .single-post-left-toc-col.mobile-active .mobile-toc-header {
    display: flex !important;
  }

  .sticky-toc-wrapper {
    position: static;
  }

  .sticky-toc-wrapper .desktop-toc-title {
    display: none;
  }

  .mobile-toc-toggle-btn {
    display: inline-flex;
    position: fixed;
    top: 30%;
    left: 0;
    transform: translateY(-50%);
    background: var(--primary);
    color: #ffffff;
    padding: 12px;
    border: none;
    border-radius: 0 8px 8px 0;
    box-shadow: 4px 0 20px rgba(5, 38, 202, 0.25);
    z-index: 9999;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, padding 0.2s ease;
  }

  .mobile-toc-toggle-btn:hover {
    background: var(--primary-hover);
    padding-left: 16px;
  }

  .mobile-toc-toggle-btn.drawer-open {
    left: -60px;
  }

  .mobile-toc-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 12, 79, 0.4);
    backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .mobile-toc-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 991px) {
  .single-post-layout-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .single-post-main-content h1.post-title {
    font-size: 2.25rem;
  }
}

@media (max-width: 767px) {
  .related-posts-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Hide TOC items when scroll intersects the footer to prevent overlapping */
.single-post-left-toc-col.footer-visible,
.mobile-toc-toggle-btn.footer-visible {
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Post Scroll Progress Bar */
.post-scroll-progress-container {
  position: fixed;
  top: 68px;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  z-index: 998;
}

.post-scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--accent, #00ff9d);
  transition: width 0.1s ease;
}

@media (max-width: 991px) {
  .post-scroll-progress-container {
    top: 70px;
    /* Adjust if mobile header height shrinks */
  }
}

/* Category Filter Dropdown Styles */
.blog-filter-dropdown-wrap {
  position: relative;
}

.blog-filter-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 8px 0;
  width: 220px;
  box-shadow: 0 10px 25px -5px rgba(0, 12, 79, 0.12);
  z-index: 1000;
  margin-top: 8px;
}

.blog-filter-dropdown.active {
  display: block;
}

.filter-dropdown-item {
  display: block;
  padding: 10px 20px;
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 600;
  transition: all 0.2s ease;
  text-align: left;
}

.filter-dropdown-item:hover {
  background: var(--bg-light);
  color: var(--primary);
}

/* Pagination Styling */
.blog-pagination {
  margin: 60px 0 80px 0;
  display: flex;
  justify-content: center;
}

.blog-pagination .nav-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-light);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
}

.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-dark);
  transition: all 0.2s ease;
}

.blog-pagination .page-numbers.current {
  background: var(--primary);
  color: #ffffff;
}

.blog-pagination .page-numbers:not(.current):hover {
  background: var(--border-light);
  color: var(--primary);
}

.blog-pagination .page-numbers.prev,
.blog-pagination .page-numbers.next {
  font-size: 1.1rem;
}

/* View Toggle Controls */
.view-toggle-wrap {
  display: inline-flex;
  gap: 4px;
  border: 1px solid var(--border-light);
  padding: 4px;
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  align-items: center;
  margin-left: 12px;
  vertical-align: middle;
}

.view-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
}

.view-toggle-btn:hover {
  color: var(--primary);
}

.view-toggle-btn.active {
  background: var(--bg-white);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

/* Grid Layout Views */
.blog-posts-grid {
  display: grid;
  transition: all 0.3s ease;
}

.blog-posts-grid.grid-view-3 {
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.blog-posts-grid.grid-view-3 .blog-card-img-wrap {
  height: 240px;
}

.blog-posts-grid.grid-view-2 {
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.blog-posts-grid.grid-view-2 .blog-card-img-wrap {
  height: 320px;
}

.blog-posts-grid.single-list-view {
  grid-template-columns: 1fr;
  max-width: 100%;
  margin: 0 auto;
  gap: 40px;
}

.blog-posts-grid.single-list-view .blog-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  align-items: center;
  box-shadow: none;
  border: none;
  border-bottom: 1px solid var(--border-light);
  border-radius: 0;
  padding-bottom: 40px;
}

.blog-posts-grid.single-list-view .blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.blog-posts-grid.single-list-view .blog-card-img-wrap {
  height: 200px;
  border-radius: var(--radius-md);
}

.blog-posts-grid.single-list-view .blog-card-content {
  padding: 0;
}

.blog-posts-grid.single-list-view .blog-card-excerpt {
  display: block !important;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.blog-posts-grid.single-list-view .blog-card.scroll-hidden {
  display: none !important;
}

@media (max-width: 991px) {
  .blog-posts-grid.grid-view-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {

  .blog-posts-grid.grid-view-3,
  .blog-posts-grid.grid-view-2 {
    grid-template-columns: 1fr;
  }

  .blog-posts-grid.single-list-view .blog-card {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Category Filter Pills Section */
.blog-categories-pills-section {
  padding: 24px 0;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-white);
  margin-bottom: 24px;
}

.blog-categories-pills-list {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}

.blog-categories-pills-list::-webkit-scrollbar {
  display: none;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.category-pill:hover {
  background: var(--border-light);
  color: var(--primary);
  border-color: var(--primary);
}

.category-pill.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(5, 38, 202, 0.15);
}

/* Floating Left Categories Column (TOC Style) */
@media (min-width: 1350px) {
  .blog-left-categories-col {
    position: fixed;
    left: calc((100vw - 1200px) / 2 - 270px);
    top: 220px;
    width: 240px;
    z-index: 100;
    transition: opacity 0.3s ease;
  }
}

@media (max-width: 1349px) {
  .blog-left-categories-col {
    display: block !important;
    width: 100% !important;
    margin-bottom: 24px !important;
  }

  .blog-left-categories-col .desktop-toc-title {
    display: none !important;
  }

  .blog-left-categories-col .toc-card {
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
  }

  .blog-left-categories-col ul.toc-list {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 8px !important;
    padding: 4px 0 !important;
    margin: 0 !important;
    list-style: none !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .blog-left-categories-col ul.toc-list::-webkit-scrollbar {
    display: none;
  }

  .blog-left-categories-col ul.toc-list li {
    flex: 0 0 auto !important;
    margin: 0 !important;
  }

  .blog-left-categories-col ul.toc-list li a {
    display: inline-block !important;
    padding: 8px 16px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #000 !important;
    border-radius: 100px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
  }

  .blog-left-categories-col ul.toc-list li a:hover,
  .blog-left-categories-col ul.toc-list li a.active {
    background: #0022ff !important;
    border-color: #0022ff !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 34, 255, 0.25) !important;
  }
}

.blog-left-categories-col.footer-visible {
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Services Left Sidebar Styling (TOC Style) */
@media (min-width: 1350px) {
  .services-left-sidebar-col {
    position: fixed;
    left: calc((100vw - 1200px) / 2 - 270px);
    top: 220px;
    width: 240px;
    z-index: 100;
    transition: opacity 0.3s ease;
  }
}

@media (max-width: 1349px) {
  .services-left-sidebar-col {
    position: fixed;
    top: 30%;
    transform: translateY(-50%);
    left: -320px;
    width: 290px;
    height: auto;
    max-height: 85vh;
    background: transparent;
    z-index: 10000;
    box-shadow: none;
    padding: 0;
    transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: visible;
  }

  .services-left-sidebar-col.mobile-active {
    left: -10px;
  }

  .services-left-sidebar-col.mobile-active .services-sidebar {
    padding: 28px 28px 28px 40px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: 10px 10px 40px rgba(0, 12, 79, 0.15);
  }

  .services-left-sidebar-col.mobile-active .mobile-toc-header {
    display: flex !important;
  }

  .services-left-sidebar-col .desktop-toc-title {
    display: none;
  }

  .mobile-services-toggle-btn {
    display: inline-flex !important;
    position: fixed;
    top: 30%;
    left: 0;
    transform: translateY(-50%);
    background: var(--primary);
    color: #ffffff;
    padding: 12px;
    border: none;
    border-radius: 0 8px 8px 0;
    box-shadow: 4px 0 20px rgba(5, 38, 202, 0.25);
    z-index: 9999;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, padding 0.2s ease;
  }

  .mobile-services-toggle-btn:hover {
    background: var(--primary-hover);
    padding-left: 16px;
  }

  .mobile-services-toggle-btn.drawer-open {
    left: -60px;
  }

  .mobile-services-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 12, 79, 0.4);
    backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .mobile-services-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }
}

.services-left-sidebar-col.footer-visible,
.mobile-services-toggle-btn.footer-visible {
  opacity: 0 !important;
  pointer-events: none !important;
}

/* =========================================================================
   FUNNEL LEAK CALCULATOR STYLES
   ========================================================================= */
.calc-main-section {
  background-color: #fafbfc !important;
  color: var(--text-dark) !important;
}

.calc-main-section h1 span {
  color: #0022ff !important;
  font-weight: 800;
}

/* Custom styles for range inputs (sliders) */
.calc-input-group input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 5px;
  background: #eaeaea;
  outline: none;
  margin: 12px 0;
  transition: background 0.15s ease-in-out;
}

.calc-input-group input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #0022ff;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 34, 255, 0.3);
  transition: transform 0.1s ease, background 0.1s ease;
}

.calc-input-group input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  background: #001ecb;
}

.calc-input-group input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #0022ff;
  cursor: pointer;
  border: none;
  box-shadow: 0 0 10px rgba(0, 34, 255, 0.3);
  transition: transform 0.1s ease, background 0.1s ease;
}

.calc-input-group input[type="range"]::-moz-range-thumb:hover {
  transform: scale(1.2);
  background: #001ecb;
}

/* Custom form inputs inside calculator */
#calc-leads-form input[type="text"],
#calc-leads-form input[type="email"] {
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#calc-leads-form input[type="text"]:focus,
#calc-leads-form input[type="email"]:focus {
  border-color: #0022ff;
  box-shadow: 0 0 0 3px rgba(0, 34, 255, 0.15);
  outline: none;
}

/* Diagnostic Badge */
.calc-header-intro .sub-label {
  background: rgba(0, 34, 255, 0.08) !important;
  color: #0022ff !important;
  font-family: var(--font-family-title);
  font-weight: 700;
}

/* Funnel Breakdown table styling */
.breakdown-row span {
  font-weight: 600;
  color: var(--text-muted);
}

.breakdown-row strong {
  color: #0022ff;
  font-weight: 700;
}

/* Mobile media query for Split layout */
@media (max-width: 991px) {
  .calc-grid-layout {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  .calc-card-left {
    position: static !important;
  }
}

@media (min-width: 992px) {
  .calc-grid-layout {
    grid-template-columns: 380px 1fr !important;
  }

  .calc-card-left {
    position: sticky !important;
    top: 120px !important;
    z-index: 10;
  }
}

@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }
}

/* Card Header bold font */
.calc-card-left h2,
.calc-card h2,
#lock_report_card h2 {
  font-weight: 800 !important;
  letter-spacing: -0.01em;
}

/* =========================================================================
   Mobile Navigation & Double Fixed CTAs Style Extensions
   ========================================================================= */

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 16, 64, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Default Mobile Actions and Header should be hidden on desktop */
.mobile-nav-header,
.mobile-nav-actions,
.mobile-fixed-ctas {
  display: none !important;
}

@media (max-width: 1024px) {

  /* Override main nav layout */
  .main-nav {
    position: fixed !important;
    top: 0 !important;
    right: -320px !important;
    width: 320px !important;
    height: 100vh !important;
    background: #000766 !important;
    padding: 30px 24px !important;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.4) !important;
    z-index: 999999 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    box-sizing: border-box !important;
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  .main-nav.open {
    right: 0 !important;
  }

  .mobile-nav-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    margin-bottom: 30px !important;
    box-sizing: border-box !important;
  }

  .mobile-nav-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    margin-top: auto !important;
    /* Push actions to the bottom of the slide-in menu */
    box-sizing: border-box !important;
  }

  /* Make sure header button isn't hidden when menu is active */
  .mobile-nav-toggle {
    z-index: 1000000 !important;
  }

  /* Floating CTA Bar and Fixed Bottom Buttons */
  .floating-cta-bar {
    left: 0 !important;
    transform: none !important;
    width: 100% !important;
    bottom: -150px !important;
    pointer-events: none;
    transition: bottom 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  .floating-cta-bar.show {
    bottom: -150px !important;
    display: none !important;
    pointer-events: none !important;
  }

  .desktop-only-pill {
    display: none !important;
  }

  .mobile-fixed-ctas {
    display: flex !important;
    width: 100% !important;
    gap: 10px !important;
    padding: 12px 16px !important;
    background: rgba(10, 16, 64, 0.85) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-sizing: border-box !important;
  }

  .mobile-cta-btn {
    flex: 1 !important;
    text-align: center !important;
    padding: 12px 8px !important;
    border-radius: 8px !important;
    font-weight: 800 !important;
    font-size: 0.82rem !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    font-family: var(--font-headings) !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
  }

  .mobile-cta-btn.btn-playbook {
    background: transparent !important;
    border: 2px solid #ffffff !important;
    color: #ffffff !important;
  }

  .mobile-cta-btn.btn-audit {
    background: #0022ff !important;
    border: 2px solid #0022ff !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 34, 255, 0.25) !important;
  }
}

/* Align mobile services close button to top-right absolute */
@media (max-width: 1349px) {
  .services-left-sidebar-col.mobile-active .services-sidebar {
    position: relative !important;
  }

  #mobile-services-close {
    position: absolute !important;
    top: 16px !important;
    right: 20px !important;
    left: auto !important;
    font-size: 2.2rem !important;
    line-height: 1 !important;
    margin: 0 !important;
    color: var(--text-dark) !important;
    background: none !important;
    border: none !important;
    cursor: pointer !important;
  }
}

/* Mobile responsive blog archive layout overrides */
@media (max-width: 767px) {
  .blog-hero-actions {
    display: none !important;
  }

  .blog-posts-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    margin-top: 0 !important;
  }

  .blog-posts-grid .blog-card {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    gap: 0 !important;
  }

  .blog-posts-grid .blog-card-img-wrap {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
  }

  .blog-posts-grid .blog-card-content {
    padding: 24px !important;
  }

  .hero-section {
    padding-bottom: 0 !important;
  }

  .outcome-icon {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .process-step {
    grid-template-columns: 1fr !important;
    display: block !important;
  }

  .process-step-number,
  .process-step-connector {
    display: none !important;
  }

  .process-step-card {
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .blog-grid {
    grid-template-columns: 1fr !important;
  }

  .audit-form-text,
  .audit-form-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .audit-box {
    display: flex !important;
    flex-direction: column !important;
    gap: 40px !important;
  }

  .pill-group {
    flex-wrap: wrap !important;
  }

  #dynamic-pdf-download-bar {
    bottom: 15px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 32px) !important;
    max-width: 480px !important;
    padding: 12px 20px !important;
    gap: 12px !important;
    font-size: 0.85rem !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    text-align: left !important;
    border-radius: 12px !important;
  }

  #dynamic-pdf-download-bar div {
    justify-content: flex-start !important;
  }

  #dynamic-pdf-download-bar div span,
  #dynamic-pdf-download-bar span {
    font-size: 0.7rem !important;
  }

  #dynamic-pdf-download-bar button,
  #dynamic-pdf-download-bar a {
    width: auto !important;
    justify-content: center !important;
    padding: 8px 16px !important;
    font-size: 0.7rem !important;
    box-sizing: border-box !important;
  }

  .single-post-main-content {
    padding-top: 60px !important;
  }
}

/* Dynamic PDF Download Bar base styles override */
#dynamic-pdf-download-bar {
  box-sizing: border-box !important;
}

.back-to-blog-link-wrapper {
  margin-top: 30px !important;
}