/* ==========================================================================
   RankBusiness.online - HubSpot Inspired SaaS Design System
   Clean Light Canvas, Signature HubSpot Coral (#FF5C35), Obsidian Navy (#1E293B),
   Enterprise Typography, High-Converting Hero Mockup, The 4 Core Authority Hubs
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Urbanist:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600;1,700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* Signature HubSpot Coral & Orange Palette */
  --hubspot-coral: #FF5C35;
  --hubspot-coral-hover: #E54722;
  --hubspot-coral-dark: #C93A17;
  --hubspot-coral-light: #FFF2EE;
  --hubspot-coral-border: #FFD8CE;
  --hubspot-coral-shadow: rgba(255, 92, 53, 0.25);

  /* Deep Obsidian Navy & Slate Typography (HubSpot Enterprise Look) */
  --hubspot-navy: #1E293B;
  --hubspot-dark-text: #2D3E50;
  --hubspot-body-text: #475569;
  --hubspot-muted-text: #64748B;
  --hubspot-subtle-text: #94A3B8;

  /* Secondary Hub Accents */
  --hubspot-teal: #007A87;
  --hubspot-teal-hover: #00606B;
  --hubspot-teal-light: #E6F6F8;
  --hubspot-emerald: #00A389;
  --hubspot-emerald-light: #E6FBF7;
  --hubspot-indigo: #4F46E5;
  --hubspot-indigo-light: #EEF2FF;
  --hubspot-amber: #D97706;
  --hubspot-amber-light: #FEF3C7;

  /* Crisp Light Surfaces */
  --bg-white: #FFFFFF;
  --bg-canvas: #F8FAFD;
  --bg-warm: #FFF9F6;
  --bg-surface-alt: #F1F5F9;
  --bg-surface-soft: #F8FAFC;

  /* Clean Borders */
  --border-subtle: #E2E8F0;
  --border-card: #E5E9F2;
  --border-hover: #CBD5E1;

  /* Compatibility Aliases */
  --primary-color: #FF5C35;
  --primary-rgb: 255, 92, 53;
  --secondary-color: #FF5C35;
  --secondary-rgb: 255, 92, 53;
  --tertiary-color: #007A87;
  --tertiary-rgb: 0, 122, 135;
  --dark-bg: #1E293B;
  --dark-surface: #273449;
  --dark-surface-2: #33435C;
  --dark-border: rgba(255, 255, 255, 0.1);
  --dark-border-hover: rgba(255, 92, 53, 0.4);
  --light-bg: #FFFFFF;
  --light-surface: #F8FAFD;
  --light-surface-alt: #F1F5F9;
  --light-border: #E2E8F0;
  --light-border-hover: #CBD5E1;
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --text-subtle: #94A3B8;
  --text-light: #FFFFFF;
  --text-light-muted: #CBD5E1;

  /* Typography Fonts */
  --heading-font: 'Urbanist', system-ui, -apple-system, sans-serif;
  --body-font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --mono-font: 'JetBrains Mono', monospace;

  /* Layout Dimensions */
  --max-w: 1240px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Enterprise Shadows */
  --shadow-subtle: 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-card: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  --shadow-card-hover: 0 16px 36px -4px rgba(15, 23, 42, 0.1);
  --shadow-coral-btn: 0 4px 16px rgba(255, 92, 53, 0.25);
  --shadow-coral-hover: 0 8px 24px rgba(255, 92, 53, 0.35);
  --shadow-blue-glow: 0 4px 16px rgba(0, 122, 135, 0.25);
  --shadow-coral-glow: 0 4px 16px rgba(255, 92, 53, 0.25);
}

/* ==========================================================================
   Base Reset & Core Typography
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--hubspot-body-text);
  background-color: var(--bg-white);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-white);
  color: var(--hubspot-body-text);
  overflow-x: clip;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  color: var(--hubspot-navy);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(38px, 5.5vw, 64px); font-weight: 800; }
h2 { font-size: clamp(28px, 3.8vw, 44px); font-weight: 800; }
h3 { font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; }
h4 { font-size: clamp(17px, 1.8vw, 21px); font-weight: 700; }

p {
  font-size: 16px;
  line-height: 1.68;
  color: var(--hubspot-body-text);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

img, svg {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section,
.section-pad {
  padding-top: 88px;
  padding-bottom: 88px;
  position: relative;
}

.section-alt {
  background-color: var(--bg-canvas);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-warm {
  background-color: var(--bg-warm);
}

.section-dark {
  background-color: var(--hubspot-navy);
  color: #CBD5E1;
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #FFFFFF;
}

.section-dark p {
  color: #94A3B8;
}

/* ==========================================================================
   Top Announcement Bar (HubSpot Signature Notification Banner)
   ========================================================================== */
.top-announcement-bar {
  background-color: var(--hubspot-coral-light);
  border-bottom: 1px solid var(--hubspot-coral-border);
  padding: 10px 20px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--hubspot-dark-text);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 1001;
}

.top-announcement-bar .badge-update {
  background-color: var(--hubspot-coral);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
}

.top-announcement-bar a {
  color: var(--hubspot-coral-dark);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.top-announcement-bar a:hover {
  color: var(--hubspot-coral);
}

/* ==========================================================================
   Site Header & Sticky Navigation (HubSpot Clean White Header)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 78px;
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all 0.25s ease;
}

.site-header.scrolled {
  height: 70px;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-logo-img {
  height: 38px;
  width: auto;
}

.nav-links-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  height: 100%;
}

.nav-link-item {
  font-family: var(--heading-font);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--hubspot-dark-text);
  position: relative;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.nav-link-item:hover {
  color: var(--hubspot-coral);
}

.nav-link-item.active {
  color: var(--hubspot-coral);
  font-weight: 700;
}

.nav-link-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background-color: var(--hubspot-coral);
  border-radius: 2px;
}

.header-action-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 8px;
  color: var(--hubspot-navy);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Buttons & Action Pills (HubSpot Signature Styling)
   ========================================================================== */
.btn-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 8px;
  font-family: var(--heading-font);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  background-color: var(--hubspot-coral);
  color: #FFFFFF !important;
  border: 1.5px solid var(--hubspot-coral);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  box-shadow: var(--shadow-coral-btn);
  position: relative;
}

.btn-main:hover {
  background-color: var(--hubspot-coral-hover);
  border-color: var(--hubspot-coral-hover);
  color: #FFFFFF !important;
  transform: translateY(-1.5px);
  box-shadow: var(--shadow-coral-hover);
}

.btn-coral {
  background-color: var(--hubspot-coral);
  border-color: var(--hubspot-coral);
  color: #FFFFFF !important;
  box-shadow: var(--shadow-coral-btn);
}

.btn-coral:hover {
  background-color: var(--hubspot-coral-hover);
  border-color: var(--hubspot-coral-hover);
  box-shadow: var(--shadow-coral-hover);
}

.btn-main.btn-line {
  background-color: #FFFFFF;
  border: 1.5px solid var(--border-subtle);
  color: var(--hubspot-dark-text) !important;
  box-shadow: var(--shadow-subtle);
}

.btn-main.btn-line:hover {
  background-color: var(--bg-canvas);
  border-color: var(--border-hover);
  color: var(--hubspot-navy) !important;
  transform: translateY(-1.5px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.btn-line-dark {
  background-color: #FFFFFF;
  border: 1.5px solid var(--border-subtle);
  color: var(--hubspot-navy) !important;
  box-shadow: none;
}

.btn-line-dark:hover {
  background-color: var(--hubspot-navy);
  border-color: var(--hubspot-navy);
  color: #FFFFFF !important;
}

.btn-teal {
  background-color: var(--hubspot-teal);
  border-color: var(--hubspot-teal);
  color: #FFFFFF !important;
}

.btn-teal:hover {
  background-color: var(--hubspot-teal-hover);
  border-color: var(--hubspot-teal-hover);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 14px;
  border-radius: 6px;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 16.5px;
  border-radius: 8px;
}

.btn-pill {
  border-radius: 9999px;
}

.subtitle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--heading-font);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--hubspot-coral);
  margin-bottom: 16px;
  padding: 6px 14px;
  background-color: var(--hubspot-coral-light);
  border: 1px solid var(--hubspot-coral-border);
  border-radius: 9999px;
}

.subtitle::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--hubspot-coral);
}

.subtitle-blue, .subtitle-teal {
  color: var(--hubspot-teal);
  background-color: var(--hubspot-teal-light);
  border-color: rgba(0, 122, 135, 0.2);
}
.subtitle-blue::before, .subtitle-teal::before {
  background-color: var(--hubspot-teal);
}

.subtitle-coral {
  color: var(--hubspot-coral);
  background-color: var(--hubspot-coral-light);
  border-color: var(--hubspot-coral-border);
}

/* ==========================================================================
   Hero Stage (HubSpot Clean Light Hero with Interactive App Mockup)
   ========================================================================== */
.hero-stage {
  background: radial-gradient(ellipse at 50% 0%, #FFF5EF 0%, #FFFFFF 68%);
  padding-top: 64px;
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero-glow-1, .hero-glow-2, .hero-grid-overlay {
  display: none; /* Removed heavy dark glow orbs */
}

.hero-content-wrap {
  position: relative;
  z-index: 10;
  max-width: 980px;
  margin: 0 auto;
}

.hero-giant-title {
  font-family: var(--heading-font);
  font-size: clamp(38px, 5.4vw, 68px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--hubspot-navy);
  margin-top: 8px;
  margin-bottom: 22px;
}

.hero-giant-title span.text-highlight {
  color: var(--hubspot-coral);
  position: relative;
  display: inline-block;
}

.hero-giant-title span.text-highlight::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 8px;
  background-color: rgba(255, 92, 53, 0.15);
  border-radius: 4px;
  z-index: -1;
}

.hero-lead-text {
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.65;
  color: var(--hubspot-body-text);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 32px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.hero-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 14px;
  font-weight: 600;
  color: var(--hubspot-dark-text);
  margin-bottom: 50px;
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-trust-item svg {
  color: var(--hubspot-emerald);
}

.brand-badges-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.brand-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.brand-badge-pill:hover {
  transform: translateY(-2px);
  border-color: var(--hubspot-coral);
}

/* ==========================================================================
   Hero SaaS Browser Mockup (HubSpot High-Trust Product Showcase)
   ========================================================================== */
.hero-mockup-wrap {
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
}

.hero-browser-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  box-shadow: 0 24px 64px -12px rgba(15, 23, 42, 0.12), 0 4px 16px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  text-align: left;
}

.browser-header-bar {
  background: #F8FAFC;
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.browser-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.browser-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot-red { background-color: #FF5F56; }
.dot-yellow { background-color: #FFBD2E; }
.dot-green { background-color: #27C93F; }

.browser-url-pill {
  flex: 1;
  max-width: 440px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 5px 12px;
  font-family: var(--mono-font);
  font-size: 12px;
  color: var(--hubspot-muted-text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.browser-url-pill svg {
  color: var(--hubspot-emerald);
  flex-shrink: 0;
}

/* Inside the Mockup App Interface */
.mockup-app-body {
  padding: 24px;
  background: #FFFFFF;
}

.mockup-app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.mockup-tabs {
  display: flex;
  gap: 8px;
  list-style: none;
}

.mockup-tab {
  font-family: var(--heading-font);
  font-size: 13.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  color: var(--hubspot-body-text);
}

.mockup-tab.active {
  background-color: var(--hubspot-coral-light);
  color: var(--hubspot-coral-dark);
}

.mockup-kpi-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 9999px;
  background: var(--hubspot-emerald-light);
  color: var(--hubspot-emerald);
}

.mockup-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.mockup-search-box {
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 13px;
  color: var(--hubspot-dark-text);
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  max-width: 320px;
}

.mockup-filter-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.mockup-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  background: #F1F5F9;
  color: var(--hubspot-dark-text);
}

.mockup-tag.active {
  background: var(--hubspot-navy);
  color: #FFFFFF;
}

/* Mockup Table */
.mockup-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.mockup-table th {
  text-align: left;
  padding: 10px 14px;
  background: #F8FAFC;
  font-weight: 700;
  color: var(--hubspot-muted-text);
  border-bottom: 1px solid var(--border-subtle);
}

.mockup-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--hubspot-navy);
  vertical-align: middle;
}

.badge-dr {
  background: #EEF2FF;
  color: #4F46E5;
  font-weight: 800;
  font-size: 11.5px;
  padding: 3px 8px;
  border-radius: 4px;
}

.badge-200-ok {
  background: var(--hubspot-emerald-light);
  color: var(--hubspot-emerald);
  font-weight: 700;
  font-size: 11.5px;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.badge-dofollow {
  background: var(--hubspot-teal-light);
  color: var(--hubspot-teal);
  font-weight: 700;
  font-size: 11.5px;
  padding: 3px 8px;
  border-radius: 4px;
}

.btn-table-action {
  background: var(--hubspot-coral-light);
  color: var(--hubspot-coral-dark);
  font-weight: 700;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Floating Micro Cards on Mockup */
.mockup-floating-kpi {
  position: absolute;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 12px 18px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 20;
}

.mockup-floating-kpi.kpi-left {
  bottom: -20px;
  left: -20px;
}

.mockup-floating-kpi.kpi-right {
  top: 40px;
  right: -24px;
}

/* ==========================================================================
   Hero Instant Audit Scanner Bar & Drawer
   ========================================================================== */
.hero-audit-box {
  background: #FFFFFF;
  border: 1.5px solid var(--border-subtle);
  border-radius: 14px;
  padding: 8px 10px 8px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 680px;
  margin: 36px auto 0 auto;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
  transition: all 0.25s ease;
}

.hero-audit-box:focus-within {
  border-color: var(--hubspot-coral);
  box-shadow: 0 10px 30px rgba(255, 92, 53, 0.15);
}

.audit-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.audit-input-wrap svg {
  color: var(--hubspot-coral);
  flex-shrink: 0;
}

.audit-input-field {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--body-font);
  font-size: 15px;
  color: var(--hubspot-navy);
}

.audit-input-field::placeholder {
  color: var(--hubspot-muted-text);
}

.hero-audit-drawer {
  display: none;
  max-width: 680px;
  margin: 16px auto 0 auto;
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  text-align: left;
  animation: slideDown 0.3s ease;
}

.hero-audit-drawer.active {
  display: block;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.audit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.audit-metric-card {
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 14px;
}

.audit-metric-label {
  font-size: 12.5px;
  color: var(--hubspot-muted-text);
  margin-bottom: 4px;
}

.audit-metric-value {
  font-family: var(--heading-font);
  font-size: 22px;
  font-weight: 800;
  color: var(--hubspot-navy);
}

/* ==========================================================================
   Social Proof & Client Trust Bar (HubSpot Clean Monochrome)
   ========================================================================== */
.trust-bar-section {
  padding: 44px 0;
  background-color: #FFFFFF;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  text-align: center;
}

.trust-bar-title {
  font-family: var(--heading-font);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--hubspot-muted-text);
  margin-bottom: 24px;
}

.trust-logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 44px;
  opacity: 0.85;
}

.trust-logo-item {
  font-family: var(--heading-font);
  font-size: 17px;
  font-weight: 800;
  color: #64748B;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -0.01em;
  transition: all 0.2s ease;
}

.trust-logo-item:hover {
  color: var(--hubspot-navy);
  transform: translateY(-2px);
}

.trust-logo-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F1F5F9;
  color: #475569;
}

/* ==========================================================================
   The 4 Core Authority Hubs (HubSpot Product Pillars)
   ========================================================================== */
.hubs-section {
  padding-top: 88px;
  padding-bottom: 88px;
  background-color: var(--bg-canvas);
}

.section-header-center {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px auto;
}

.section-header-center h2 {
  margin-top: 10px;
  margin-bottom: 14px;
}

.hubs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.hub-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 38px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-card);
  position: relative;
}

.hub-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-hover);
}

.hub-card-icon,
.hub-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px auto;
  flex-shrink: 0;
  transition: all 0.25s ease;
  background-color: var(--hubspot-coral-light);
  color: var(--hubspot-coral);
}

.hub-card-icon svg,
.hub-icon-box svg {
  width: 28px;
  height: 28px;
  stroke-width: 2.2;
}

/* Color variations for cards in 3-card grids */
.hub-card:nth-child(1) .hub-card-icon,
.hub-card:nth-child(1) .hub-icon-box {
  background-color: var(--hubspot-coral-light);
  color: var(--hubspot-coral);
}
.hub-card:nth-child(1):hover .hub-card-icon,
.hub-card:nth-child(1):hover .hub-icon-box {
  background-color: var(--hubspot-coral);
  color: #FFFFFF;
  transform: scale(1.08);
}

.hub-card:nth-child(2) .hub-card-icon,
.hub-card:nth-child(2) .hub-icon-box {
  background-color: var(--hubspot-teal-light);
  color: var(--hubspot-teal);
}
.hub-card:nth-child(2):hover .hub-card-icon,
.hub-card:nth-child(2):hover .hub-icon-box {
  background-color: var(--hubspot-teal);
  color: #FFFFFF;
  transform: scale(1.08);
}

.hub-card:nth-child(3) .hub-card-icon,
.hub-card:nth-child(3) .hub-icon-box {
  background-color: var(--hubspot-indigo-light);
  color: var(--hubspot-indigo);
}
.hub-card:nth-child(3):hover .hub-card-icon,
.hub-card:nth-child(3):hover .hub-icon-box {
  background-color: var(--hubspot-indigo);
  color: #FFFFFF;
  transform: scale(1.08);
}

.hub-card-title,
.hub-card h3 {
  font-family: var(--heading-font);
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--hubspot-navy);
  text-align: center;
  line-height: 1.35;
}

.hub-card-desc,
.hub-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--hubspot-body-text);
  margin-bottom: 22px;
  text-align: center;
  flex-grow: 1;
}

.hub-card-action,
.hub-action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: var(--heading-font);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--hubspot-coral);
  margin-top: auto;
  transition: all 0.2s ease;
  text-align: center;
}

.hub-card-action:hover,
.hub-action-link:hover {
  color: var(--hubspot-coral-dark);
  gap: 10px;
}

/* ==========================================================================
   Problem vs Solution Matrix (The Broken Way vs The RankBusiness Way)
   ========================================================================== */
.comparison-section {
  padding-top: 88px;
  padding-bottom: 88px;
  background-color: #FFFFFF;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1080px;
  margin: 0 auto;
}

.comparison-card {
  border-radius: 16px;
  padding: 36px 32px;
}

.comparison-bad {
  background-color: #FFF5F5;
  border: 1.5px solid #FEE2E2;
}

.comparison-good {
  background-color: #F0FDF9;
  border: 1.5px solid #A7F3D0;
}

.comparison-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.comparison-header-bad h3 {
  color: #991B1B;
  font-size: 22px;
}

.comparison-header-good h3 {
  color: #065F46;
  font-size: 22px;
}

.comparison-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.comparison-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  line-height: 1.55;
}

.comparison-item.bad {
  color: #7F1D1D;
}

.comparison-item.good {
  color: #064E3B;
}

.comparison-icon-bad {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #FEE2E2;
  color: #DC2626;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.comparison-icon-good {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #D1FAE5;
  color: #059669;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   Alternating Feature Deep-Dives (HubSpot Enterprise Presentation)
   ========================================================================== */
.spotlight-section {
  padding-top: 88px;
  padding-bottom: 88px;
}

.spotlight-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 88px;
}

.spotlight-row:last-child {
  margin-bottom: 0;
}

.spotlight-row.reverse {
  direction: rtl;
}

.spotlight-row.reverse > * {
  direction: ltr;
}

.spotlight-text-col h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  margin-bottom: 16px;
}

.spotlight-text-col p {
  font-size: 16px;
  line-height: 1.68;
  margin-bottom: 24px;
}

.spotlight-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.spotlight-check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--hubspot-navy);
  font-weight: 500;
}

.spotlight-check-item svg {
  color: var(--hubspot-emerald);
  flex-shrink: 0;
  margin-top: 3px;
}

.spotlight-visual-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

/* ==========================================================================
   Interactive ROI Calculator
   ========================================================================== */
.roi-calculator-box {
  background: #FFFFFF;
  border: 1.5px solid var(--border-card);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-card-hover);
  max-width: 860px;
  margin: 0 auto;
}

.roi-slider-group {
  margin-bottom: 36px;
}

.roi-slider-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.roi-slider-title {
  font-family: var(--heading-font);
  font-size: 17px;
  font-weight: 700;
  color: var(--hubspot-navy);
}

.roi-slider-val {
  font-family: var(--heading-font);
  font-size: 20px;
  font-weight: 800;
  color: var(--hubspot-coral);
}

.roi-range-input {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #E2E8F0;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.roi-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--hubspot-coral);
  box-shadow: 0 2px 8px rgba(255, 92, 53, 0.4);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.roi-range-input::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.roi-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 28px;
}

.roi-result-card {
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

.roi-result-label {
  font-size: 13px;
  color: var(--hubspot-muted-text);
  margin-bottom: 6px;
}

.roi-result-num {
  font-family: var(--heading-font);
  font-size: 28px;
  font-weight: 800;
  color: var(--hubspot-navy);
}

/* ==========================================================================
   Pricing Section (HubSpot Style with Currency Switcher & Billing Toggle)
   ========================================================================== */
.pricing-section {
  padding-top: 88px;
  padding-bottom: 88px;
  background-color: var(--bg-canvas);
}

.pricing-controls-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 48px;
}

.currency-toggle-wrap {
  display: inline-flex;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  padding: 4px;
  border-radius: 8px;
  box-shadow: var(--shadow-subtle);
}

.currency-btn {
  padding: 6px 14px;
  font-family: var(--heading-font);
  font-size: 13.5px;
  font-weight: 700;
  border: none;
  background: transparent;
  color: var(--hubspot-body-text);
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.currency-btn.active {
  background-color: var(--hubspot-navy);
  color: #FFFFFF;
}

.billing-toggle-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: 9999px;
  box-shadow: var(--shadow-subtle);
}

.billing-lbl {
  font-family: var(--heading-font);
  font-size: 14px;
  font-weight: 700;
  color: var(--hubspot-muted-text);
  cursor: pointer;
}

.billing-lbl.active {
  color: var(--hubspot-navy);
}

.toggle-switch-btn {
  width: 44px;
  height: 24px;
  background-color: var(--hubspot-coral);
  border-radius: 9999px;
  position: relative;
  cursor: pointer;
  border: none;
  outline: none;
}

.toggle-switch-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: #FFFFFF;
  border-radius: 50%;
  transition: transform 0.25s ease;
}

.toggle-switch-btn.annual .toggle-switch-knob {
  transform: translateX(20px);
}

.discount-badge {
  background-color: var(--hubspot-amber-light);
  color: var(--hubspot-amber);
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 9999px;
  text-transform: uppercase;
}

/* Pricing Cards Grid - Adaptive & Centered */
.pricing-cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 350px));
  gap: 28px;
  max-width: 1140px;
  margin: 0 auto;
  justify-content: center;
}

.pricing-cards-grid-4[data-plan-count="3"] {
  grid-template-columns: repeat(3, minmax(280px, 350px));
  max-width: 1140px;
  margin: 0 auto;
  justify-content: center;
}

.pricing-cards-grid-4[data-plan-count="2"] {
  grid-template-columns: repeat(2, minmax(280px, 380px));
  max-width: 780px;
  margin: 0 auto;
  justify-content: center;
}

.pricing-cards-grid-4[data-plan-count="4"] {
  grid-template-columns: repeat(4, 1fr);
  max-width: 1240px;
  margin: 0 auto;
}

.pricing-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-card);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.pricing-card.featured {
  border: 2px solid var(--hubspot-coral);
  box-shadow: 0 16px 40px rgba(255, 92, 53, 0.12);
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF9F6 100%);
}

.featured-ribbon {
  position: absolute;
  top: -13px;
  right: 24px;
  background-color: var(--hubspot-coral);
  color: #FFFFFF;
  font-family: var(--heading-font);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(255, 92, 53, 0.3);
}

.plan-tier-badge {
  font-family: var(--heading-font);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 9999px;
  align-self: flex-start;
  margin-bottom: 14px;
}

.plan-name {
  font-family: var(--heading-font);
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--hubspot-navy);
}

.plan-desc {
  font-size: 13.5px;
  color: var(--hubspot-muted-text);
  min-height: 40px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.price-currency {
  font-size: 22px;
  font-weight: 800;
  color: var(--hubspot-navy);
}

.price-amount {
  font-family: var(--heading-font);
  font-size: 44px;
  font-weight: 900;
  color: var(--hubspot-navy);
  line-height: 1;
}

.price-period {
  font-size: 14px;
  color: var(--hubspot-muted-text);
}

.plan-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
  flex-grow: 1;
}

.plan-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--hubspot-dark-text);
  line-height: 1.5;
}

.plan-features-list li svg {
  color: var(--hubspot-emerald);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   Customer Stories & High-Trust Testimonials
   ========================================================================== */
.testimonials-section {
  padding-top: 88px;
  padding-bottom: 88px;
  background-color: #FFFFFF;
}

.testimonials-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--bg-canvas);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  color: #FBBC05;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 15px;
  line-height: 1.65;
  color: var(--hubspot-navy);
  font-weight: 500;
  margin-bottom: 24px;
  flex-grow: 1;
}

.testimonial-author-row {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 18px;
}

.author-avatar-chip {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--hubspot-coral-light);
  color: var(--hubspot-coral-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
}

.author-name {
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 800;
  color: var(--hubspot-navy);
}

.author-title {
  font-size: 13px;
  color: var(--hubspot-muted-text);
}

.verified-metric-chip {
  margin-left: auto;
  font-family: var(--heading-font);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--hubspot-emerald-light);
  color: var(--hubspot-emerald);
}

/* ==========================================================================
   FAQ Accordions (HubSpot Style Clean Expandable Questions)
   ========================================================================== */
.faq-section {
  padding-top: 88px;
  padding-bottom: 88px;
  background-color: var(--bg-canvas);
}

.faq-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 1080px;
  margin: 0 auto;
}

.faq-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 28px 30px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.faq-card:hover {
  border-color: rgba(255, 92, 53, 0.35);
  box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.faq-card-question {
  font-family: var(--heading-font);
  font-size: 18px;
  font-weight: 800;
  color: var(--hubspot-navy);
  margin-top: 0;
  margin-bottom: 12px;
  line-height: 1.35;
}

.faq-card-answer {
  font-size: 15px;
  line-height: 1.68;
  color: var(--hubspot-body-text);
  margin: 0;
}

.faq-card-seoly {
  background-color: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-subtle);
}

.faq-card-seoly.active {
  border-color: var(--hubspot-coral-border);
  box-shadow: 0 8px 24px rgba(255, 92, 53, 0.08);
}

.faq-trigger-btn {
  width: 100%;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
}

.faq-trigger-title {
  font-family: var(--heading-font);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--hubspot-navy);
}

.faq-toggle-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-canvas);
  color: var(--hubspot-muted-text);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 16px;
  transition: transform 0.2s ease;
}

.faq-card-seoly.active .faq-toggle-icon {
  transform: rotate(45deg);
  background: var(--hubspot-coral);
  color: #FFFFFF;
}

.faq-body-content {
  display: none;
  padding: 0 22px 20px 22px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--hubspot-body-text);
}

.faq-card-seoly.active .faq-body-content {
  display: block;
}

/* ==========================================================================
   Contact / Lead Generation Section
   ========================================================================== */
.contact-section {
  padding-top: 88px;
  padding-bottom: 88px;
  background-color: #FFFFFF;
}

.contact-split-row {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: stretch;
}

.contact-info-card {
  background: linear-gradient(145deg, #1E293B 0%, #2D3E50 100%);
  border-radius: 18px;
  padding: 44px 36px;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-meta-group {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.contact-meta-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-meta-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: var(--hubspot-coral);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-meta-label {
  font-size: 12.5px;
  color: #94A3B8;
  margin-bottom: 2px;
}

.contact-meta-val {
  font-family: var(--heading-font);
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
}

.contact-form-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: 18px;
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.form-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.form-label {
  font-family: var(--heading-font);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--hubspot-navy);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1.5px solid var(--border-subtle);
  font-family: var(--body-font);
  font-size: 14.5px;
  color: var(--hubspot-navy);
  outline: none;
  background-color: #FAFAFA;
  transition: all 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--hubspot-coral);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(255, 92, 53, 0.12);
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

/* ==========================================================================
   Pre-Footer High-Converting Banner (HubSpot Style)
   ========================================================================== */
.pre-footer-banner {
  background: linear-gradient(135deg, #1E293B 0%, #2D3E50 100%);
  border-radius: 20px;
  padding: 60px 48px;
  color: #FFFFFF;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 60px;
}

.pre-footer-banner h2 {
  color: #FFFFFF;
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 16px;
}

.pre-footer-banner p {
  color: #CBD5E1;
  font-size: 17px;
  max-width: 640px;
  margin: 0 auto 32px auto;
}

.pre-footer-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

/* ==========================================================================
   Full-Width High-Conversion CTA Banner
   ========================================================================== */
.cta-banner-section {
  background-color: var(--hubspot-navy);
  color: #FFFFFF;
  padding-top: 96px;
  padding-bottom: 96px;
  text-align: center;
  position: relative;
}

.cta-banner-section h2 {
  color: #FFFFFF !important;
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 18px;
  line-height: 1.25;
}

.cta-banner-section p {
  color: #94A3B8 !important;
  font-size: 17px;
  margin-bottom: 36px;
  line-height: 1.65;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   Corporate Footer (Enterprise Clean Footer with Mobile Accordions)
   ========================================================================== */
.site-footer {
  background-color: #0F172A;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 64px;
  padding-bottom: 36px;
  color: #94A3B8;
  margin-top: auto;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand-logo {
  display: inline-block;
  height: 36px;
  width: auto;
}

.footer-brand-mission {
  font-size: 14px;
  line-height: 1.65;
  color: #94A3B8;
  margin: 0;
  max-width: 360px;
}

.footer-support-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: #94A3B8;
}

.footer-support-row a {
  color: #FFFFFF;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.footer-support-row a:hover {
  color: var(--hubspot-coral);
}

/* Social Media Row */
.footer-social-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.footer-social-link {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #CBD5E1;
  transition: all 0.2s ease;
  text-decoration: none;
}

.footer-social-link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.footer-social-link:hover {
  background: var(--hubspot-coral);
  border-color: var(--hubspot-coral);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.footer-social-link:hover svg {
  transform: scale(1.1);
}

/* Bulletproof Reset for footer accordion buttons across all browsers */
button.footer-accordion-btn,
button.footer-legal-toggle {
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
}

/* Accordion Columns - Desktop view */
.footer-accordion-btn {
  background: transparent;
  border: none;
  outline: none;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  padding: 0;
  margin: 0 0 18px 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--heading-font);
  font-size: 15px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: -0.01em;
  text-align: left;
  cursor: default;
  pointer-events: none;
}

.footer-accordion-btn .footer-chevron {
  display: none;
}

.footer-accordion-panel {
  display: block;
}

.footer-link-list,
.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-link-list a,
.footer-links-list a {
  color: #94A3B8;
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
}

.footer-link-list a:hover,
.footer-links-list a:hover {
  color: var(--hubspot-coral);
  transform: translateX(3px);
}

/* Legal Card Desktop */
.footer-legal-card {
  margin-top: 32px;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  font-size: 12px;
  color: #94A3B8;
  line-height: 1.65;
}

.footer-legal-toggle {
  background: none;
  border: none;
  padding: 0;
  margin: 0 0 6px 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--heading-font);
  font-size: 12.5px;
  font-weight: 700;
  color: #CBD5E1;
  text-align: left;
  cursor: default;
  pointer-events: none;
}

.footer-legal-toggle .footer-chevron {
  display: none;
}

.footer-legal-panel {
  display: block;
}

.footer-legal-panel p {
  margin: 0;
}

.footer-sub-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 28px;
  padding-top: 24px;
  font-size: 13px;
  color: #94A3B8;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-copyright {
  color: #94A3B8;
  margin: 0;
}

.footer-sub-links {
  display: flex;
  gap: 20px;
}

.footer-sub-links a {
  color: #94A3B8;
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-sub-links a:hover {
  color: var(--hubspot-coral);
}

/* ==========================================================================
   Mobile Sliding Navigation Drawer
   ========================================================================== */
.mobile-drawer-scrim {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-drawer-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 330px;
  max-width: 88vw;
  height: 100vh;
  height: 100dvh;
  background-color: #FFFFFF;
  border-left: 1px solid var(--border-subtle);
  z-index: 1999;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 20px 20px 32px 20px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer-scrim.open { opacity: 1; pointer-events: auto; }
.mobile-drawer-panel.open { transform: translateX(0); }

.mobile-drawer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 16px;
  flex-shrink: 0;
}

.drawer-close-btn {
  background: #F1F5F9;
  border: none;
  color: var(--hubspot-navy);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-group-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--hubspot-coral);
  margin-top: 14px;
  margin-bottom: 6px;
  display: block;
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0;
  margin: 0;
}

.mobile-nav-link {
  font-family: var(--heading-font);
  font-size: 15px;
  font-weight: 600;
  color: var(--hubspot-navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 8px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  background-color: var(--bg-warm);
  color: var(--hubspot-coral);
  font-weight: 700;
}

.mobile-drawer-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

/* ==========================================================================
   Subpage Compatibility Aliases
   ========================================================================== */
.btn-brand {
  background-color: var(--hubspot-coral);
  color: #FFFFFF !important;
  border-radius: 8px;
  font-family: var(--heading-font);
  font-weight: 700;
  padding: 10px 22px;
  border: 1.5px solid var(--hubspot-coral);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-brand:hover {
  background-color: var(--hubspot-coral-hover);
  border-color: var(--hubspot-coral-hover);
}

.btn-ghost {
  background: #FFFFFF;
  color: var(--hubspot-navy) !important;
  border: 1.5px solid var(--border-subtle);
  border-radius: 8px;
  font-family: var(--heading-font);
  font-weight: 700;
  padding: 10px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-ghost:hover {
  background-color: var(--bg-canvas);
  border-color: var(--border-hover);
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 9999px;
  font-family: var(--heading-font);
  font-size: 12.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background-color: var(--hubspot-coral-light);
  color: var(--hubspot-coral-dark);
  border: 1px solid var(--hubspot-coral-border);
  margin-bottom: 16px;
}

.eyebrow-pill-emerald {
  background-color: var(--hubspot-emerald-light);
  color: var(--hubspot-emerald);
  border-color: rgba(0, 163, 137, 0.2);
}

.services-grid-3x2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-card);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}

.service-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.service-card.card-blue .service-icon-box {
  background-color: var(--hubspot-teal-light);
  color: var(--hubspot-teal);
}

.service-card.card-coral .service-icon-box {
  background-color: var(--hubspot-coral-light);
  color: var(--hubspot-coral);
}

.service-card.card-purple .service-icon-box {
  background-color: var(--hubspot-indigo-light);
  color: var(--hubspot-indigo);
}

.service-card h3 {
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--hubspot-navy);
}

.service-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--hubspot-body-text);
  margin-bottom: 18px;
  flex-grow: 1;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--heading-font);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--hubspot-coral-dark);
  margin-top: auto;
}

.service-card-link:hover {
  color: var(--hubspot-coral);
  gap: 10px;
}

.seoly-panel {
  border-radius: 20px;
  padding: 48px 40px;
  background-color: var(--bg-canvas);
  border: 1px solid var(--border-card);
}

.seoly-panel-coral {
  background: var(--bg-warm);
  border: 1px solid var(--hubspot-coral-border);
}

.pricing-header-center {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 44px auto;
}

/* ==========================================================================
   Multi-Page SaaS Navigation: Dropdowns & Badges (HubSpot Style)
   ========================================================================== */
.nav-item-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--heading-font);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--hubspot-dark-text);
  padding: 0 4px;
  height: 100%;
  transition: color 0.2s ease;
}

.nav-dropdown-trigger:hover,
.nav-item-dropdown:hover .nav-dropdown-trigger,
.nav-item-dropdown.active-dropdown .nav-dropdown-trigger {
  color: var(--hubspot-coral);
}

.nav-dropdown-trigger svg {
  transition: transform 0.2s ease;
}

.nav-item-dropdown:hover .nav-dropdown-trigger svg,
.nav-item-dropdown.active-dropdown .nav-dropdown-trigger svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  min-width: 320px;
  background-color: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(15, 23, 42, 0.04);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 1050;
  pointer-events: none;
}

/* Invisible bridge: guarantees mouse cursor moving from trigger to menu never loses hover */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  width: 100%;
  height: 20px;
  background: transparent;
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown.active-dropdown .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-dropdown-link {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  transition: background-color 0.18s ease;
}

.nav-dropdown-link:hover {
  background-color: var(--bg-warm);
}

.nav-dropdown-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background-color: var(--hubspot-coral-light);
  color: var(--hubspot-coral);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-dropdown-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-dropdown-title {
  font-family: var(--heading-font);
  font-size: 14.5px;
  font-weight: 700;
  color: var(--hubspot-navy);
}

.nav-dropdown-desc {
  font-size: 12.5px;
  color: var(--hubspot-muted);
  line-height: 1.4;
}

/* ==========================================================================
   Directory Vault Explorer & Filter Bar
   ========================================================================== */
.vault-search-box {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-card);
  margin-bottom: 32px;
}

.vault-filter-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.vault-input-group {
  flex: 1;
  min-width: 260px;
  position: relative;
}

.vault-input-group svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--hubspot-muted);
}

.vault-search-input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  background: var(--bg-white);
  color: var(--hubspot-navy);
}

.vault-search-input:focus {
  outline: none;
  border-color: var(--hubspot-coral);
  box-shadow: 0 0 0 3px var(--hubspot-coral-light);
}

.vault-filter-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-chip {
  padding: 7px 14px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border-subtle);
  background: #FFFFFF;
  color: var(--hubspot-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-chip:hover, .filter-chip.active {
  background-color: var(--hubspot-navy);
  color: #FFFFFF;
  border-color: var(--hubspot-navy);
}

.directory-vault-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 20px;
}

.directory-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: all 0.22s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.directory-card:hover {
  transform: translateY(-3px);
  border-color: var(--hubspot-coral);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.directory-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.directory-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.directory-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background-color: var(--bg-warm);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  color: var(--hubspot-navy);
}

.directory-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--hubspot-navy);
  margin-bottom: 2px;
}

.directory-category {
  font-size: 12.5px;
  color: var(--hubspot-muted);
}

.da-badge {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  background-color: #E6FBF5;
  color: #0E7C5D;
}

.directory-desc {
  font-size: 13.5px;
  color: var(--hubspot-body-text);
  line-height: 1.5;
  margin-bottom: 16px;
}

.directory-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
  font-size: 12.5px;
  color: var(--hubspot-muted);
}

.badge-status-working {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #0E7C5D;
  font-weight: 600;
}

.badge-status-working::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #10B981;
}

/* ==========================================================================
   Comparison Table (RankBusiness vs Yext / BrightLocal / Manual)
   ========================================================================== */
.compare-table-wrapper {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin: 40px 0;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.compare-table th, .compare-table td {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 14.5px;
}

.compare-table th {
  background: var(--bg-canvas);
  font-family: var(--heading-font);
  font-weight: 700;
  color: var(--hubspot-navy);
}

.compare-table th.col-highlight,
.compare-table td.col-highlight {
  background: #FFF9F7;
  border-left: 2px solid var(--hubspot-coral);
  border-right: 2px solid var(--hubspot-coral);
}

.compare-table th.col-highlight {
  background: var(--hubspot-navy);
  color: #FFFFFF;
  border-top: 4px solid var(--hubspot-coral);
  border-left: none;
  border-right: none;
}

.check-yes {
  color: #10B981;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.check-no {
  color: #EF4444;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   Citation Audit Tool Widget (audit.html)
   ========================================================================== */
.audit-tool-box {
  max-width: 800px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-hover);
}

.audit-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.audit-scan-status {
  display: none;
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 24px;
}

.audit-scan-status.active {
  display: block;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hubs-grid { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; gap: 24px; }
  .pricing-cards-grid-4,
  .pricing-cards-grid-4[data-plan-count="3"],
  .pricing-cards-grid-4[data-plan-count="4"] { 
    grid-template-columns: repeat(2, minmax(260px, 360px)); 
    max-width: 760px;
    margin: 0 auto;
    justify-content: center;
  }
  .mockup-floating-kpi { display: none; }
}

@media (max-width: 900px) {
  .spotlight-row { grid-template-columns: 1fr; gap: 36px; }
  .spotlight-row.reverse { direction: ltr; }
  .comparison-grid { grid-template-columns: 1fr; }
  .testimonials-grid-3 { grid-template-columns: 1fr; }
  .contact-split-row { grid-template-columns: 1fr; }
  .footer-top-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .compare-table { display: block; overflow-x: auto; }
}

@media (max-width: 768px) {
  /* Announcement bar */
  .top-announcement-bar {
    font-size: 12px;
    padding: 7px 14px;
    gap: 6px;
    line-height: 1.4;
    text-align: center;
    justify-content: center;
  }
  .top-announcement-bar .badge-update {
    font-size: 10px;
    padding: 2px 6px;
  }
  
  /* Header */
  .site-header { 
    height: 64px; 
  }
  .site-header.scrolled {
    height: 58px;
  }
  .nav-links-menu, .header-action-group .btn-sm { 
    display: none; 
  }
  .mobile-menu-btn { 
    display: flex; 
  }
  
  /* Hero Stage */
  .hero-stage { 
    padding-top: 36px; 
    padding-bottom: 50px; 
  }
  .hero-giant-title { 
    font-size: 28px !important; 
    line-height: 1.22;
    margin-bottom: 16px;
  }
  .hero-lead-text { 
    font-size: 15px; 
    line-height: 1.55;
    margin-bottom: 24px;
    padding: 0 4px;
  }
  
  /* CTA Row & Trust Row */
  .hero-cta-row {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-bottom: 22px;
  }
  .hero-cta-row .btn-main {
    width: 100%;
    padding: 13px 20px;
    font-size: 15px;
    justify-content: center;
  }
  
  .hero-trust-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 14px;
    font-size: 12.5px;
    margin-bottom: 32px;
    text-align: left;
  }
  
  /* Mockups & Grids */
  .mockup-app-body { padding: 12px; overflow-x: auto; }
  .mockup-table { min-width: 540px; }
  
  .hubs-grid { grid-template-columns: 1fr; gap: 16px; }
  .pricing-cards-grid-4,
  .pricing-cards-grid-4[data-plan-count="3"],
  .pricing-cards-grid-4[data-plan-count="4"],
  .pricing-cards-grid-4[data-plan-count="2"] { 
    grid-template-columns: 1fr; 
    max-width: 400px; 
    margin: 0 auto; 
    gap: 20px; 
  }
  
  /* Directory Vault Grid & Filters */
  .directory-vault-grid { grid-template-columns: 1fr; gap: 14px; }
  .vault-search-box { padding: 16px; }
  .vault-filter-row { flex-direction: column; align-items: stretch; gap: 12px; }
  .vault-filter-chips { 
    overflow-x: auto; 
    padding-bottom: 4px; 
    flex-wrap: nowrap; 
    -webkit-overflow-scrolling: touch; 
  }
  .filter-chip { white-space: nowrap; flex-shrink: 0; }
  
  /* Content Sections */
  .spotlight-row { grid-template-columns: 1fr; gap: 28px; }
  .spotlight-row.reverse { direction: ltr; }
  .faq-grid-2col { grid-template-columns: 1fr; gap: 14px; }
  .form-grid-2col { grid-template-columns: 1fr; gap: 14px; }
  .roi-results-grid { grid-template-columns: 1fr; }
  .contact-split-row { grid-template-columns: 1fr; gap: 32px; }
  .audit-form-grid { grid-template-columns: 1fr; gap: 12px; }
  .audit-tool-box { padding: 20px; }
  
  /* Compare Table */
  .compare-table-wrapper { 
    overflow-x: auto; 
    -webkit-overflow-scrolling: touch; 
    margin: 24px 0;
  }
  .compare-table { min-width: 580px; }
  .compare-table th, .compare-table td { padding: 12px 14px; font-size: 13.5px; }
  
  /* Footer Mobile Accordions & Optimization */
  .site-footer { padding-top: 40px; padding-bottom: 28px; }
  .footer-top-grid { grid-template-columns: 1fr; gap: 0; margin-bottom: 20px; }
  .footer-brand-col { gap: 14px; padding-bottom: 24px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); margin-bottom: 8px; }
  .footer-brand-mission { max-width: 100%; font-size: 13.5px; line-height: 1.6; }
  .footer-social-row { margin-top: 6px; gap: 10px; }
  .footer-social-link { width: 40px; height: 40px; }

  /* Accordion Column on Mobile */
  .footer-accordion-col {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0;
    margin: 0;
  }
  .footer-accordion-btn {
    pointer-events: auto;
    cursor: pointer;
    padding: 16px 0;
    margin: 0;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #F1F5F9;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }
  .footer-accordion-btn .footer-chevron {
    display: inline-flex;
    color: #94A3B8;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
    flex-shrink: 0;
  }
  .footer-accordion-col.open .footer-accordion-btn .footer-chevron {
    transform: rotate(180deg);
    color: var(--hubspot-coral);
  }
  .footer-accordion-col.open .footer-accordion-btn {
    color: #FFFFFF;
  }
  .footer-accordion-panel {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, padding-bottom 0.25s ease;
    padding-bottom: 0;
  }
  .footer-accordion-col.open .footer-accordion-panel {
    max-height: 260px;
    opacity: 1;
    visibility: visible;
    padding-bottom: 16px;
  }
  .footer-link-list {
    gap: 12px;
  }
  .footer-link-list a {
    font-size: 14.5px;
    padding: 3px 0;
  }

  /* Mobile Legal Accordion */
  .footer-legal-card {
    padding: 14px 16px;
    font-size: 11.5px;
    margin-top: 20px;
    border-radius: 10px;
  }
  .footer-legal-toggle {
    pointer-events: auto;
    cursor: pointer;
    font-size: 12px;
    margin: 0;
    padding: 2px 0;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }
  .footer-legal-toggle .footer-chevron {
    display: inline-flex;
    color: #94A3B8;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
  }
  .footer-legal-card.open .footer-legal-toggle .footer-chevron {
    transform: rotate(180deg);
    color: var(--hubspot-coral);
  }
  .footer-legal-panel {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, margin-top 0.25s ease;
    margin-top: 0;
    line-height: 1.6;
  }
  .footer-legal-card.open .footer-legal-panel {
    max-height: 280px;
    opacity: 1;
    visibility: visible;
    margin-top: 10px;
  }

  .footer-sub-row { flex-direction: column; text-align: center; gap: 14px; margin-top: 20px; padding-top: 20px; }
  .footer-copyright { font-size: 12px; line-height: 1.5; }
  .footer-sub-links { justify-content: center; flex-wrap: wrap; gap: 16px; }
}

@media (max-width: 480px) {
  .hero-giant-title { font-size: 25px !important; }
  .hero-trust-row { grid-template-columns: 1fr; }
  .container { padding-left: 16px; padding-right: 16px; }
  .pricing-cards-grid-4 { max-width: 100%; }
}

