/* =====================================================
   MASTER.CSS — RankBoost Agency (Redesign 2026)
   Light theme · Poppins · #5B47E0 primary / #C8FF00 accent
   ===================================================== */

/* ===== CSS VARIABLES ===== */
:root {
  --primary:       #5B47E0;
  --primary-dark:  #4535C8;
  --primary-light: #EEF0FF;
  --primary-glow:  rgba(91,71,224,0.18);
  --accent:        #C8FF00;
  --accent-hover:  #b8ef00;
  --ink:           #0A0A0F;
  --ink-muted:     #525260;
  --ink-faint:     rgba(10,10,15,0.45);
  --surface:       #ffffff;
  --surface-2:     #F7F7FB;
  --surface-3:     #EEEEF6;
  --line:          rgba(10,10,15,0.08);
  --line-strong:   rgba(10,10,15,0.14);

  --fs-eyebrow: 11.5px;
  --fs-h1:  clamp(38px, 4.8vw, 64px);
  --fs-h2:  clamp(28px, 3.2vw, 46px);
  --fs-h3:  clamp(18px, 1.8vw, 23px);
  --fs-body-lg: 17px;
  --fs-body:    15.5px;
  --fs-sm:      13.5px;

  /* ── Spacing Scale ── */
  --space-xs:   8px;
  --space-sm:  16px;
  --space-md:  24px;
  --space-lg:  32px;
  --space-xl:  48px;
  --space-2xl: 64px;
  --space-3xl: 80px;
  --space-4xl: 96px;

  /* ── Section Padding ── */
  --section-py-sm:   72px;   /* Small sections, tight areas */
  --section-py:     112px;   /* Standard sections */
  --section-py-lg:  152px;   /* Hero, final CTA, large feature */

  /* ── Component Spacing ── */
  --card-pad-sm:  20px 22px;
  --card-pad:     28px 30px;
  --card-pad-lg:  36px 38px;
  --grid-gap-sm:  16px;
  --grid-gap:     24px;
  --grid-gap-lg:  32px;
  --heading-gap:  56px;       /* section heading → content gap */

  --r-sm:  8px;
  --r-md:  12px;
  --r-lg:  20px;
  --r-xl:  28px;
  --r-2xl: 40px;

  --shadow-sm:        0 2px 12px rgba(0,0,0,0.06);
  --shadow-md:        0 8px 36px rgba(0,0,0,0.09);
  --shadow-lg:        0 24px 72px rgba(0,0,0,0.12);
  --shadow-primary:   0 12px 40px rgba(91,71,224,0.22);
  --shadow-primary-lg:0 20px 60px rgba(91,71,224,0.28);

  --ease:     cubic-bezier(0.22,1,0.36,1);
  --ease-out: cubic-bezier(0.16,1,0.3,1);

  --transition-base: 200ms var(--ease);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--surface);
  color: var(--ink);
  font-family: "Poppins", ui-sans-serif, system-ui, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; height: auto; max-width: 100%; }
ul, ol { list-style: none; padding: 0; margin: 0; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-weight: 800;
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: -0.02em;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 9999;
  padding: 8px 16px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  border-radius: var(--r-sm);
  transition: top 160ms;
}
.skip-link:focus { top: 16px; }

/* ===== LAYOUT HELPERS ===== */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
@media (min-width: 1024px) {
  .container { padding-left: 36px; padding-right: 36px; }
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

/* Two-column grid helpers */
.two-col {
  display: grid;
  gap: 56px;
  align-items: center;
}
@media (min-width: 1024px) {
  .two-col { grid-template-columns: 1fr 1fr; }
  .two-col--60-40 { grid-template-columns: 1.15fr 0.85fr; }
  .two-col--40-60 { grid-template-columns: 0.85fr 1.15fr; }
  .two-col--sidebar { grid-template-columns: 260px 1fr; align-items: start; }
  .two-col--hero { grid-template-columns: 1fr clamp(380px, 36%, 500px); gap: 72px; }
}

.three-col {
  display: grid;
  gap: 24px;
}
@media (min-width: 768px)  { .three-col { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .three-col { grid-template-columns: repeat(3, 1fr); } }

.four-col {
  display: grid;
  gap: 20px;
}
@media (min-width: 640px)  { .four-col { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .four-col { grid-template-columns: repeat(4, 1fr); } }

/* Section spacing */
/* ── Section size variants ── */
.section-space    { padding-top: var(--section-py);    padding-bottom: var(--section-py); }
.section-space-sm { padding-top: var(--section-py-sm); padding-bottom: var(--section-py-sm); }
.section-space-lg { padding-top: var(--section-py-lg); padding-bottom: var(--section-py-lg); }
.soft-section     { background: var(--surface-2); }
.dark-section     { background: var(--ink); }

/* Alternating light/soft for visual rhythm */
.section-space + .soft-section,
.soft-section + .section-space { position: relative; }

@media (max-width: 1023px) {
  .section-space    { padding-top: 88px;  padding-bottom: 88px; }
  .section-space-sm { padding-top: 56px;  padding-bottom: 56px; }
  .section-space-lg { padding-top: 112px; padding-bottom: 112px; }
}
@media (max-width: 767px) {
  .section-space    { padding-top: 64px;  padding-bottom: 64px; }
  .section-space-sm { padding-top: 44px;  padding-bottom: 44px; }
  .section-space-lg { padding-top: 80px;  padding-bottom: 80px; }
}

/* ===== TYPOGRAPHY ===== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--primary);
  font-size: var(--fs-eyebrow);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px; height: 2px;
  background: var(--primary);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-title {
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.028em;
  color: var(--ink);
}
.section-copy {
  font-size: var(--fs-body-lg);
  color: var(--ink-muted);
  line-height: 1.78;
}
.section-heading {
  max-width: 760px;
  margin: 0 auto var(--heading-gap);
  text-align: center;
}
.section-heading.left { margin: 0; text-align: left; }
.section-heading h2 { font-size: var(--fs-h2); margin-top: var(--space-sm); }
.section-heading p  { font-size: var(--fs-body-lg); color: var(--ink-muted); line-height: 1.78; margin-top: var(--space-md); }

.section-head { max-width: 720px; margin-bottom: var(--heading-gap); text-align: center; margin-left: auto; margin-right: auto; }
.section-head h2 { font-size: var(--fs-h2); margin-top: var(--space-sm); }
.section-head p  { font-size: var(--fs-body-lg); color: var(--ink-muted); line-height: 1.78; margin-top: var(--space-md); }

.section-lede { font-size: var(--fs-body-lg); color: var(--ink-muted); line-height: 1.78; margin-top: var(--space-md); }
.hero-lede    { font-size: var(--fs-body-lg); color: var(--ink-muted); line-height: 1.78; margin-top: var(--space-md); max-width: 600px; }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-faint);
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--ink-faint); transition: color 160ms; }
.breadcrumb a:hover { color: var(--primary); }
.bc-sep { color: rgba(10,10,15,0.2); font-weight: 400; }
.bc-current { color: var(--ink); font-weight: 800; }

/* ===== BUTTONS ===== */
.primary-cta, .secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  min-height: 54px;
  padding: 15px 28px;
  border-radius: var(--r-sm);
  font-size: 14.5px;
  font-weight: 800;
  font-family: "Poppins", sans-serif;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), background 200ms;
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
/* Shine sweep on hover */
.primary-cta::after, .secondary-cta::after {
  content: '';
  position: absolute;
  top: -50%; left: -65%;
  width: 40%; height: 200%;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.18) 50%, transparent 60%);
  transform: skewX(-20deg);
  transition: left 480ms var(--ease);
  pointer-events: none;
}
.primary-cta:hover::after, .secondary-cta:hover::after { left: 125%; }
.primary-cta {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-primary);
}
.primary-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary-lg);
  background: var(--primary-dark);
}
.primary-cta .arrow-icon { color: var(--accent); }
.primary-cta.light {
  background: var(--accent);
  color: #000;
  box-shadow: 0 8px 32px rgba(200,255,0,0.25);
}
.primary-cta.light:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 44px rgba(200,255,0,0.32);
}
.primary-cta.light .arrow-icon { color: #000; }
.secondary-cta {
  background: var(--surface);
  color: var(--ink);
  border: 1.5px solid var(--line-strong);
  box-shadow: var(--shadow-sm);
}
.secondary-cta:hover {
  transform: translateY(-2px);
  border-color: rgba(91,71,224,0.3);
  box-shadow: 0 8px 28px rgba(91,71,224,0.1);
}
.primary-cta:active, .secondary-cta:active { transform: translateY(0); }

.arrow-icon {
  display: inline-flex;
  width: 18px; height: 18px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 180ms var(--ease);
}
.arrow-icon svg { width: 100%; height: 100%; }
.primary-cta:hover .arrow-icon,
.secondary-cta:hover .arrow-icon { transform: translateX(3px); }

.chevron-icon {
  display: inline-flex;
  width: 22px; height: 22px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--surface-3);
  color: var(--primary);
  transition: transform 240ms, background 200ms;
}
details[open] > summary .chevron-icon {
  transform: rotate(180deg);
  background: var(--primary-light);
}
.chevron-icon svg { width: 14px; height: 14px; }

/* CTA group */
.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--grid-gap-sm);
  align-items: center;
  margin-top: var(--space-lg);
}

/* ===== CHECK LIST ===== */
.check-list { display: grid; gap: var(--space-md); margin-top: var(--space-lg); }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--grid-gap-sm);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink-muted);
}
.check-list li span {
  display: inline-flex;
  width: 22px; height: 22px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--accent);
  color: #000;
  font-size: 11px;
  font-weight: 900;
  margin-top: 1px;
}

/* ===== TRUST ITEMS ===== */
.rb-trust-items { display: flex; flex-wrap: wrap; gap: var(--grid-gap-sm); margin-top: var(--space-md); }
.rb-trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-muted);
}
.rb-trust-item::before {
  content: "✓";
  display: inline-flex;
  width: 18px; height: 18px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--accent);
  color: #000;
  font-size: 10px;
  font-weight: 900;
  flex-shrink: 0;
}

/* ===== BADGES ===== */
.rb-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 9px 16px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-muted);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}
.rb-badge__check {
  display: inline-flex;
  width: 18px; height: 18px;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #000;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  flex-shrink: 0;
}
.rb-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: 24px;
}

/* ===== TRUST STRIP ===== */
.rb-trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm) 24px;
  padding: 18px 24px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  margin-top: 40px;
}
.rb-trust-strip-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-muted);
  white-space: nowrap;
}
.rb-trust-strip-item::before {
  content: "✓";
  display: inline-flex;
  width: 20px; height: 20px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--accent);
  color: #000;
  font-size: 11px;
  font-weight: 900;
  flex-shrink: 0;
}

/* ===== MID-PAGE CTA ===== */
.rb-mid-cta {
  background: linear-gradient(135deg, var(--primary-light) 0%, #f0f0fa 60%, #fafafa 100%);
  border: 1px solid rgba(91,71,224,0.18);
  border-radius: var(--r-xl);
  padding: 52px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin: var(--section-py) 0;
  position: relative;
  overflow: hidden;
}
.rb-mid-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 90% 50%, rgba(200,255,0,0.12) 0%, transparent 60%);
  pointer-events: none;
}
.rb-mid-cta-copy { position: relative; z-index: 1; }
.rb-mid-cta-copy h3 {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: var(--space-sm);
}
.rb-mid-cta-copy p {
  font-size: var(--fs-body);
  color: var(--ink-muted);
  max-width: 500px;
  line-height: 1.7;
}
.rb-mid-cta .primary-cta { position: relative; z-index: 1; flex-shrink: 0; }

@media (max-width: 767px) {
  .rb-mid-cta { padding: 36px 24px; flex-direction: column; align-items: flex-start; }
}

/* ===== STICKY FLOATING CTA ===== */
.rb-sticky-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 14px;
  font-weight: 800;
  font-family: "Poppins", sans-serif;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
  transform: translateY(100px);
  opacity: 0;
  transition: transform 320ms var(--ease), opacity 320ms var(--ease);
  pointer-events: none;
  text-decoration: none;
  white-space: nowrap;
}
.rb-sticky-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.rb-sticky-cta .sticky-cta-dot {
  width: 8px; height: 8px;
  border-radius: 999px;
  background: var(--accent);
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.7; }
}
.rb-sticky-cta .sticky-cta-icon {
  display: inline-flex;
  width: 28px; height: 28px;
  align-items: center; justify-content: center;
  background: var(--accent);
  color: #000;
  border-radius: var(--r-sm);
  font-size: 13px;
  flex-shrink: 0;
  transition: transform 200ms;
}
.rb-sticky-cta:hover .sticky-cta-icon { transform: translateX(3px); }

@media (max-width: 575px) {
  .rb-sticky-cta { bottom: 16px; right: 16px; padding: 14px 18px; font-size: 13px; }
}

/* ===== SITE HEADER ===== */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(255,255,255,0.90);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 220ms, background 220ms;
}
.site-header.is-scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 1px 0 var(--line), 0 8px 40px rgba(0,0,0,0.07);
}

/* Brand */
.brand-mark { display: inline-flex; align-items: center; }
.brand-mark img { width: 148px; height: auto; }

/* Desktop nav */
.desktop-menu {
  display: none;
  align-items: center;
  gap: 4px;
}
.desktop-menu a {
  padding: 7px 13px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-muted);
  transition: color 160ms, background 160ms;
  white-space: nowrap;
}
.desktop-menu a:hover { color: var(--ink); background: var(--surface-2); }
.desktop-menu a.nav-active { color: var(--primary); background: var(--primary-light); }

/* Split CTA */
.split-cta {
  display: none;
  align-items: center;
  overflow: hidden;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: #fff;
  font-size: 13.5px;
  font-weight: 800;
  font-family: "Poppins", sans-serif;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
  transition: box-shadow 180ms, transform 180ms;
  white-space: nowrap;
}
.split-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 32px rgba(0,0,0,0.22); }
.split-cta span { display: inline-flex; align-items: center; padding: 12px 18px; line-height: 1; }
.split-cta .split-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #000;
  padding: 12px 13px;
  flex-shrink: 0;
  transition: background 180ms;
}
.split-cta:hover .split-cta-icon { background: var(--accent-hover); }
.split-cta .split-cta-icon svg { width: 17px; height: 17px; }

/* Hamburger */
.nav-toggle {
  display: inline-flex;
  width: 40px; height: 40px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-xs);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--surface);
  cursor: pointer;
  position: relative;
  z-index: 300;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 180ms;
}
.nav-toggle:hover { border-color: rgba(91,71,224,0.3); }
.nav-toggle span {
  display: block;
  width: 17px; height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 220ms var(--ease);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

/* Mobile nav overlay */
.nav-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  overflow-y: auto;
  background: rgba(255,255,255,0.99);
  backdrop-filter: blur(24px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 240ms, transform 240ms, visibility 0s linear 240ms;
}
.nav-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 240ms, transform 240ms, visibility 0s;
}
.nav-panel {
  display: grid;
  gap: 24px;
  padding: 0 24px 48px;
  max-width: 540px;
  margin: 0 auto;
}
.nav-header {
  position: sticky; top: 0; z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 14px;
  background: rgba(255,255,255,0.99);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--space-xs);
}
.nav-header-logo img { width: 128px; height: auto; }
.nav-close {
  display: inline-flex;
  width: 38px; height: 38px;
  align-items: center; justify-content: center;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 160ms, background 160ms;
}
.nav-close:hover { border-color: rgba(91,71,224,0.3); background: var(--surface-2); }
.nav-group { display: grid; gap: 0; }
.nav-group p {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: 10.5px; font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.nav-group a {
  display: flex;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 14.5px; font-weight: 700;
  transition: color 160ms, padding-left 160ms;
}
.nav-group a:last-child { border-bottom: none; }
.nav-group a:hover { color: var(--primary); padding-left: 5px; }
.nav-group-cta {
  margin-top: var(--space-xs);
}
.nav-group-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--r-sm);
  font-weight: 800;
  font-size: 14.5px;
  border-bottom: none !important;
  transition: background 160ms !important;
}
.nav-group-cta a:hover { background: var(--primary-dark); padding-left: 14px !important; color: #fff; }

@media (min-width: 1024px) {
  .desktop-menu { display: flex; }
  .nav-toggle  { display: none; }
  .nav-menu    { display: none !important; }
  .split-cta   { display: inline-flex; }
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.65);
}
.footer-grid {
  display: grid;
  gap: 36px;
  padding: 80px 0 60px;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.6fr repeat(4, 1fr); gap: 48px; } }
.footer-brand-col p {
  max-width: 320px;
  margin-top: var(--space-md);
  line-height: 1.8;
  font-size: var(--fs-sm);
}
.footer-brand {
  display: inline-flex;
  width: fit-content;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.08);
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: background 180ms;
}
.footer-brand:hover { background: rgba(255,255,255,0.14); }
.footer-brand img { width: 136px; filter: brightness(0) invert(1); }
.footer-email-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: var(--space-md);
  padding: 9px 16px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
  font-size: 13px; font-weight: 700;
  transition: background 180ms;
}
.footer-email-link:hover { background: rgba(255,255,255,0.14); }
.footer-col p, .footer-col h3 {
  margin-bottom: 20px;
  color: #fff;
  font-size: 11.5px; font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.footer-col h2 {
  margin-bottom: 20px;
  color: #fff;
  font-size: 11.5px; font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.footer-col a {
  display: block;
  margin-bottom: var(--space-sm);
  font-size: var(--fs-sm); font-weight: 600;
  transition: color 160ms, padding-left 160ms;
  color: rgba(255,255,255,0.65);
}
.footer-col a:hover { color: var(--accent); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: var(--card-pad) 0;
  font-size: 12.5px;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ===== SCROLL REVEAL ===== */
.reveal-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.68s var(--ease), transform 0.68s var(--ease);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.95) translateY(20px);
  transition: opacity 0.78s var(--ease), transform 0.78s var(--ease);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity 0.68s var(--ease), transform 0.68s var(--ease);
}
.reveal-right {
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 0.68s var(--ease), transform 0.68s var(--ease);
}
.reveal-fade {
  opacity: 0;
  transition: opacity 0.7s var(--ease);
}
.reveal-up.in-view,
.reveal-scale.in-view,
.reveal-left.in-view,
.reveal-right.in-view,
.reveal-fade.in-view {
  opacity: 1;
  transform: none;
}

/* Stagger utilities */
.stagger-1 { transition-delay: 80ms !important; }
.stagger-2 { transition-delay: 160ms !important; }
.stagger-3 { transition-delay: 240ms !important; }
.stagger-4 { transition-delay: 320ms !important; }
.stagger-5 { transition-delay: 400ms !important; }

/* Pricing card stagger */
.pricing-card-anim {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.pricing-card-anim.in-view { opacity: 1; transform: none; }

/* ===== TESTIMONIAL CARDS ===== */
.testimonial-card {
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  padding: 32px;
  display: grid;
  gap: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms;
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(91,71,224,0.18);
}
.testimonial-stars { display: flex; gap: 3px; color: #F59E0B; font-size: 15px; }
.testimonial-card blockquote, .testimonial-card p {
  color: rgba(10,10,15,0.72);
  font-size: 15.5px; line-height: 1.75;
  font-style: italic; quotes: "\201C""\201D";
}
.testimonial-card blockquote::before { content: open-quote; }
.testimonial-card blockquote::after  { content: close-quote; }
.testimonial-author { display: flex; align-items: center; gap: var(--grid-gap-sm); }
.headshot {
  width: 44px; height: 44px;
  border-radius: 999px;
  flex-shrink: 0;
  object-fit: cover;
}
.testimonial-card strong { display: block; font-size: 14px; font-weight: 800; color: var(--ink); }
.testimonial-card span  { display: block; font-size: 12.5px; color: var(--ink-faint); font-weight: 700; }

/* ===== PRICING ===== */
.pricing-grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 1024px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }

.pricing-card {
  border: 1.5px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease);
}
.pricing-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--surface-3);
  transition: background 200ms;
}
.pricing-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.pricing-card:hover::before { background: var(--primary); }
.pricing-card.featured {
  border-color: rgba(91,71,224,0.3);
  background: linear-gradient(180deg, #f0eeff 0%, var(--surface) 60%);
  box-shadow: 0 24px 64px rgba(91,71,224,0.16);
}
.pricing-card.featured::before { background: var(--primary); }
.pricing-badge {
  position: absolute; top: 18px; right: 18px;
  background: var(--primary); color: #fff;
  font-size: 11px; font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 5px 11px; border-radius: 100px;
}
.pricing-tier {
  font-size: 11px; font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--primary); margin-bottom: var(--space-xs);
}
.pricing-card h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.pricing-price {
  display: block;
  margin-top: var(--space-md);
  font-size: 52px; font-weight: 900;
  color: var(--ink); line-height: 1;
  letter-spacing: -0.04em;
}
.pricing-price span { font-size: 16px; font-weight: 700; color: var(--ink-faint); letter-spacing: 0; }
.pricing-divider { width: 100%; height: 1px; background: var(--line); margin: 26px 0; }
.pricing-features { display: grid; gap: var(--grid-gap-sm); flex: 1; }
.pricing-features li {
  display: flex; align-items: flex-start; gap: var(--space-sm);
  font-size: 14px; color: var(--ink-muted); line-height: 1.55;
}
.pricing-features li::before {
  content: '✓';
  display: inline-flex; width: 18px; height: 18px;
  align-items: center; justify-content: center;
  border-radius: 999px; background: rgba(91,71,224,0.1);
  color: var(--primary); font-size: 10px; font-weight: 900;
  flex-shrink: 0; margin-top: 1px;
}
.pricing-cta {
  display: flex; min-height: 50px;
  align-items: center; justify-content: center;
  margin-top: var(--space-lg);
  border-radius: var(--r-sm);
  background: var(--ink); color: #fff;
  font-size: 14px; font-weight: 800;
  font-family: "Poppins", sans-serif;
  transition: background 180ms, transform 180ms;
  text-decoration: none;
}
.pricing-cta:hover { background: #1a1a2e; transform: translateY(-1px); }
.pricing-card.featured .pricing-cta {
  background: var(--primary);
  box-shadow: var(--shadow-primary);
}
.pricing-card.featured .pricing-cta:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-primary-lg);
}

/* ===== SHARED FAQ ===== */
.rb-faq-list { display: grid; }
.rb-faq-list details {
  border-bottom: 1px solid var(--line);
  transition: background 180ms;
}
.rb-faq-list details:first-child { border-top: 1px solid var(--line); }
.rb-faq-list details:hover { background: rgba(91,71,224,0.02); }
.rb-faq-list summary {
  display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
  padding: 22px 0; cursor: pointer;
  font-size: 15.5px; font-weight: 700; color: var(--ink);
  list-style: none; user-select: none;
  transition: color 180ms;
}
.rb-faq-list summary::-webkit-details-marker { display: none; }
.rb-faq-list details[open] > summary { color: var(--primary); }
.rb-faq-list details p {
  margin: 0 0 22px;
  font-size: 14.5px; line-height: 1.80;
  color: var(--ink-muted); padding-right: 44px;
}

/* ===== PROCESS CARDS ===== */
.process-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px; align-items: start;
  padding: 22px 20px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  transition: background 200ms, border-color 200ms, box-shadow 200ms, transform 200ms var(--ease);
}
.process-step:hover {
  background: var(--surface);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
  transform: translateX(6px);
}
.process-step > p {
  display: flex;
  width: 48px; height: 48px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--primary-light); color: var(--primary);
  font-size: 13px; font-weight: 900;
  flex-shrink: 0; margin: 0;
  border: 2px solid rgba(91,71,224,0.2);
  transition: background 200ms, color 200ms;
}
.process-step:hover > p {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.process-step h3 { font-size: 16px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 7px; }
.process-step span { font-size: 14px; color: var(--ink-muted); line-height: 1.65; }

/* ===== SERVICE ROW ===== */
.service-showcase {
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.service-list { display: grid; }
.service-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 22px; align-items: start;
  padding: 32px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  transition: background 200ms;
  position: relative;
}
.service-row::after {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--primary);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 300ms var(--ease);
}
.service-row:hover::after { transform: scaleY(1); }
.service-row:last-child { border-bottom: none; }
.service-row:hover { background: var(--surface-2); }
.service-row > span {
  display: inline-flex;
  width: 48px; height: 48px;
  align-items: center; justify-content: center;
  border-radius: var(--r-sm);
  background: var(--primary-light); color: var(--primary);
  font-size: 13px; font-weight: 900; flex-shrink: 0;
  transition: background 200ms, color 200ms;
}
.service-row:hover > span {
  background: var(--primary);
  color: #fff;
}
.service-row h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.service-row p { margin-top: 9px; color: var(--ink-muted); line-height: 1.72; font-size: 14.5px; }
.service-row a {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: var(--space-sm); color: var(--primary);
  font-size: 13.5px; font-weight: 800;
  transition: gap 180ms;
}
.service-row a:hover { gap: 11px; }
.service-row img {
  display: none;
  width: 210px; height: 136px;
  object-fit: cover;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  flex-shrink: 0;
}
@media (min-width: 1024px) {
  .service-row {
    grid-template-columns: 56px 1fr 220px;
    align-items: center; min-height: 152px;
  }
  .service-row img { display: block; }
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  .reveal-up, .reveal-scale, .reveal-left, .reveal-right, .reveal-fade,
  .pricing-card-anim {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ===== NAV DROPDOWN ===== */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 13px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 160ms, background 160ms;
  font-family: "Poppins", sans-serif;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.nav-dropdown-trigger:hover,
.nav-dropdown-trigger[aria-expanded="true"] {
  color: var(--ink);
  background: var(--surface-2);
}
.nav-dropdown-trigger.nav-active {
  color: var(--primary);
  background: var(--primary-light);
}
.nav-dropdown-chevron {
  width: 14px; height: 14px;
  flex-shrink: 0;
  transition: transform 220ms var(--ease);
}
.nav-dropdown-trigger[aria-expanded="true"] .nav-dropdown-chevron { transform: rotate(180deg); }
.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  width: 320px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 200ms var(--ease), transform 200ms var(--ease), visibility 0s linear 200ms;
  z-index: 200;
}
.nav-dropdown-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity 200ms var(--ease), transform 200ms var(--ease), visibility 0s;
}
.nav-dropdown-panel::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px; height: 12px;
  background: var(--surface);
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  rotate: 45deg;
  border-radius: 2px 0 0 0;
}
.nav-dropdown-inner { padding: 8px; }
.nav-dropdown-divider { height: 1px; background: var(--line); margin: 6px 8px; }
.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--grid-gap-sm);
  padding: 10px 12px;
  border-radius: var(--r-md);
  text-decoration: none;
  color: var(--ink);
  transition: background 150ms, color 150ms;
  position: relative;
}
.nav-dropdown-item:hover { background: var(--surface-2); color: var(--primary); }
.nav-dropdown-icon {
  display: inline-flex;
  width: 36px; height: 36px;
  flex-shrink: 0;
  align-items: center; justify-content: center;
  border-radius: var(--r-sm);
  background: var(--primary-light);
  font-size: 18px;
  transition: background 150ms;
}
.nav-dropdown-item:hover .nav-dropdown-icon { background: rgba(91,71,224,0.15); }
.nav-dropdown-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.nav-dropdown-text strong {
  display: block;
  font-size: 13.5px; font-weight: 800;
  color: var(--ink); letter-spacing: -0.01em;
  line-height: 1.2;
  transition: color 150ms;
}
.nav-dropdown-item:hover .nav-dropdown-text strong { color: var(--primary); }
.nav-dropdown-text span {
  display: block;
  font-size: 10px; font-weight: 600;
  color: var(--ink-faint); line-height: 1.3;
}
.nav-dropdown-new {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 100px;
  background: var(--primary); color: #fff;
  font-size: 10px; font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.07em;
  flex-shrink: 0;
}
.nav-dropdown-item--accent {
  background: linear-gradient(135deg, rgba(91,71,224,0.04) 0%, transparent 100%);
  border: 1px solid rgba(91,71,224,0.08);
}
.nav-dropdown-item--accent:hover { background: var(--primary-light); border-color: rgba(91,71,224,0.18); }

/* ═══════════════ MOBILE ACCORDION NAV ═══════════════ */
.nav-accordion {
  border-bottom: 1px solid var(--line);
}
.nav-accordion:last-of-type { border-bottom: none; }

.nav-accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 0;
  background: none;
  border: none;
  font-size: 15px;
  font-weight: 800;
  font-family: "Poppins", sans-serif;
  color: var(--ink);
  cursor: pointer;
  gap: var(--grid-gap-sm);
  -webkit-tap-highlight-color: transparent;
  text-align: left;
  letter-spacing: -0.01em;
}
.nav-accordion-trigger:hover { color: var(--primary); }

.nav-accordion-chevron {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--ink-faint);
  transition: transform 280ms var(--ease), color 200ms;
}
.nav-accordion-trigger[aria-expanded="true"] .nav-accordion-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}
.nav-accordion-trigger[aria-expanded="true"] { color: var(--primary); }

.nav-accordion-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 300ms var(--ease);
  overflow: hidden;
}
.nav-accordion-panel.is-open {
  grid-template-rows: 1fr;
}
.nav-accordion-panel > * {
  /* needed for grid animation trick */
  min-height: 0;
  overflow: hidden;
}
.nav-accordion-panel a {
  display: block;
  padding: 10px 0 10px 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-muted);
  border-left: 2px solid var(--line);
  transition: color 160ms, border-color 160ms, padding-left 160ms;
}
.nav-accordion-panel a:first-child { padding-top: 4px; }
.nav-accordion-panel a:last-child  { padding-bottom: 16px; }
.nav-accordion-panel a:hover {
  color: var(--primary);
  border-left-color: var(--primary);
  padding-left: 20px;
}

/* Nav accordion wrapper needs overflow: hidden for animation */
/* Since grid-template-rows trick needs a direct child with min-height:0 */
/* we wrap each panel's links in a div in JS */

.nav-group-flat {
  display: grid;
  gap: 0;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.nav-group-flat a {
  display: block;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: color 160ms, padding-left 160ms;
}
.nav-group-flat a:last-child { border-bottom: none; }
.nav-group-flat a:hover { color: var(--primary); padding-left: 4px; }

.nav-group-cta {
  padding-top: 16px;
}

/* ═══════════════ DESKTOP DROPDOWN IMPROVEMENTS ═══════════════ */
.nav-dropdown-panel--wide {
  width: 360px;
}

/* Better hover state on nav links */
.desktop-menu > a {
  padding: 7px 13px;
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-muted);
  transition: color 160ms, background 160ms;
  text-decoration: none;
  white-space: nowrap;
}
.desktop-menu > a:hover { color: var(--ink); background: var(--surface-2); }
.desktop-menu > a.nav-active { color: var(--primary); background: var(--primary-light); }

/* Stagger dropdown items */
.nav-dropdown-panel.is-open .nav-dropdown-item:nth-child(1) { transition-delay: 20ms; }
.nav-dropdown-panel.is-open .nav-dropdown-item:nth-child(2) { transition-delay: 40ms; }
.nav-dropdown-panel.is-open .nav-dropdown-item:nth-child(3) { transition-delay: 60ms; }
.nav-dropdown-panel.is-open .nav-dropdown-item:nth-child(4) { transition-delay: 80ms; }
.nav-dropdown-panel.is-open .nav-dropdown-item:nth-child(5) { transition-delay: 100ms; }
.nav-dropdown-panel.is-open .nav-dropdown-item:nth-child(6) { transition-delay: 120ms; }
.nav-dropdown-panel.is-open .nav-dropdown-item:nth-child(7) { transition-delay: 140ms; }
.nav-dropdown-panel.is-open .nav-dropdown-item:nth-child(8) { transition-delay: 160ms; }

/* ═══════════════ SCROLL PROGRESS BAR ═══════════════ */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  z-index: 999;
  transition: width 80ms linear;
  pointer-events: none;
}

/* ═══════════════ STICKY SCROLL SECTION ═══════════════ */
.sticky-scroll-section {
  display: grid;
  gap: 0;
}
@media (min-width: 1024px) {
  .sticky-scroll-section {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .sticky-scroll-col {
    position: sticky;
    top: 100px;
  }
  .sticky-scroll-cards {
    padding-top: 40px;
    padding-bottom: 80px;
  }
}
.sticky-scroll-card {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  margin-bottom: 20px;
  transition: border-color 240ms, box-shadow 240ms, transform 240ms var(--ease);
  box-shadow: var(--shadow-sm);
}
.sticky-scroll-card:hover {
  border-color: rgba(91,71,224,0.2);
  box-shadow: var(--shadow-md);
  transform: translateX(6px);
}
.sticky-scroll-card.is-active {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), var(--shadow-md);
}
.sticky-scroll-card-num {
  display: inline-flex;
  width: 36px; height: 36px;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 13px; font-weight: 900;
  margin-bottom: var(--space-sm);
  transition: background 200ms, color 200ms;
}
.sticky-scroll-card.is-active .sticky-scroll-card-num,
.sticky-scroll-card:hover .sticky-scroll-card-num {
  background: var(--primary);
  color: #fff;
}
.sticky-scroll-card h3 {
  font-size: 18px; font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: var(--space-sm);
}
.sticky-scroll-card p {
  font-size: 14px; color: var(--ink-muted); line-height: 1.75;
}

/* ═══════════════ NUMBER TICKER (large animated stat) ═══════════════ */
.stat-ticker-row {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
}
@media (min-width: 640px)  { .stat-ticker-row { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .stat-ticker-row { grid-template-columns: repeat(4, 1fr); } }

.stat-ticker-item {
  background: var(--surface);
  padding: 36px 28px;
  text-align: center;
  transition: background 200ms;
}
.stat-ticker-item:hover { background: var(--surface-2); }
.stat-ticker-item strong {
  display: block;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-sm);
}
.stat-ticker-item span {
  display: block;
  font-size: 13px; font-weight: 700;
  color: var(--ink-faint);
  line-height: 1.5;
}

/* ═══════════════ HOVER GLOW CARD ═══════════════ */
.hover-glow {
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease), border-color 240ms;
}
.hover-glow:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(91,71,224,0.14);
  border-color: rgba(91,71,224,0.2);
}

/* ═══════════════ SECTION DIVIDER ═══════════════ */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  margin: 0;
}

/* ═══════════════ INLINE TESTIMONIAL QUOTE ═══════════════ */
.inline-quote {
  padding: 28px 32px;
  border-left: 3px solid var(--primary);
  background: var(--primary-light);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  font-size: 16px;
  font-style: italic;
  color: var(--ink);
  line-height: 1.75;
  position: relative;
}
.inline-quote::before {
  content: '\201C';
  font-size: 56px;
  line-height: 0;
  position: absolute;
  top: 28px; left: 22px;
  color: var(--primary);
  opacity: 0.2;
  font-style: normal;
  font-weight: 900;
}

/* ═══════════════ CTA BLOCK HOVER ═══════════════ */
.rb-mid-cta {
  transition: box-shadow 280ms var(--ease), transform 280ms var(--ease);
}
.rb-mid-cta:hover {
  box-shadow: 0 20px 60px rgba(91,71,224,0.12);
  transform: translateY(-3px);
}

/* ═══════════════ ICON BOX ═══════════════ */
.icon-box {
  display: inline-flex;
  width: 52px; height: 52px;
  align-items: center; justify-content: center;
  border-radius: var(--r-md);
  background: var(--primary-light);
  color: var(--primary);
  font-size: 22px;
  flex-shrink: 0;
  transition: background 200ms, color 200ms, transform 200ms var(--ease);
}
.icon-box:hover, .hover-glow:hover .icon-box,
article:hover .icon-box, .sticky-scroll-card:hover .icon-box {
  background: var(--primary);
  color: #fff;
  transform: scale(1.08);
}

/* ═══════════════ PAGE TRANSITION FADE ═══════════════ */
.page-transition {
  animation: pageFadeIn 400ms var(--ease) both;
}
@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════════
   PREMIUM VISUAL POLISH — Section Rhythm & Transitions
   ═══════════════════════════════════════════════ */

/* ── Section divider line ── */
.section-divider-line {
  width: 100%; height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--line) 20%, var(--line) 80%, transparent 100%);
}

/* ── Subtle dot-grid background texture ── */
.section-dotgrid {
  background-image: radial-gradient(circle, rgba(91,71,224,0.1) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: center center;
}

/* ── Number badge — large decorative numbers ── */
.deco-num {
  font-size: clamp(80px, 10vw, 140px);
  font-weight: 900;
  color: var(--primary);
  opacity: 0.05;
  line-height: 1;
  position: absolute;
  top: -20px; left: -16px;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.05em;
}

/* ── Gradient text ── */
.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, #8B6BF5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-accent { color: var(--accent); }

/* ── Feature tag pill ── */
.feature-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.feature-tag--green { background: rgba(22,163,74,0.1); color: #16a34a; }
.feature-tag--amber { background: rgba(245,158,11,0.1); color: #d97706; }

/* ── Premium image wrapper with hover parallax ── */
.img-hover-wrap {
  overflow: hidden;
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.img-hover-wrap img {
  transition: transform 600ms var(--ease);
  width: 100%;
}
.img-hover-wrap:hover img { transform: scale(1.04); }

/* ── Card grid — standardised responsive patterns ── */
.card-grid-2 { display: grid; gap: var(--grid-gap); }
.card-grid-3 { display: grid; gap: var(--grid-gap); }
.card-grid-4 { display: grid; gap: var(--grid-gap-sm); }
@media (min-width: 640px)  { .card-grid-2 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 768px)  { .card-grid-3 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 640px)  { .card-grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .card-grid-3 { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 1200px) { .card-grid-4 { grid-template-columns: repeat(4,1fr); } }

/* ── Premium card base ── */
.card-base {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: var(--card-pad-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease), border-color 240ms;
}
.card-base:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(91,71,224,0.2);
}

/* ── Progress dots (ranking impact indicator) ── */
.impact-dots { display: flex; gap: 5px; align-items: center; }
.impact-dot  {
  width: 10px; height: 10px; border-radius: 999px;
  background: var(--primary); opacity: 0.2;
  transition: opacity 200ms;
}
.impact-dot.filled { opacity: 1; }
.impact-dots-label {
  font-size: 11px; font-weight: 700;
  color: var(--ink-faint); margin-right: 8px;
}

/* ── Timeline vertical line ── */
.timeline-track {
  position: relative;
}
.timeline-track::before {
  content: '';
  position: absolute;
  top: 8px; bottom: 0; left: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary) 0%, rgba(91,71,224,0.1) 100%);
  border-radius: 2px;
}
.timeline-item {
  position: relative;
  padding: 0 0 var(--space-xl) 36px;
}
.timeline-dot {
  position: absolute;
  left: -5px; top: 4px;
  width: 12px; height: 12px;
  border-radius: 999px;
  background: var(--primary);
  border: 3px solid var(--surface);
  box-shadow: 0 0 0 2px var(--primary);
  transition: transform 200ms, box-shadow 200ms;
}
.timeline-item:hover .timeline-dot {
  transform: scale(1.3);
  box-shadow: 0 0 0 3px rgba(91,71,224,0.25);
}
.timeline-year {
  font-size: 11.5px; font-weight: 900;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--primary); margin-bottom: var(--space-xs);
}
.timeline-item h3 { font-size: 18px; font-weight: 800; letter-spacing: -0.015em; margin-bottom: var(--space-sm); }
.timeline-item p  { font-size: 14.5px; color: var(--ink-muted); line-height: 1.78; }

/* ── Interactive FAQ card style ── */
.faq-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 200ms, box-shadow 200ms;
}
.faq-card:hover { border-color: rgba(91,71,224,0.2); box-shadow: var(--shadow-sm); }
.faq-card summary {
  padding: var(--card-pad);
  cursor: pointer; list-style: none;
  display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
  font-size: 15px; font-weight: 700; color: var(--ink);
  transition: background 160ms;
}
.faq-card summary::-webkit-details-marker { display: none; }
.faq-card details[open] summary { background: var(--primary-light); color: var(--primary); }
.faq-card details p {
  padding: 0 24px 22px;
  font-size: 14px; color: var(--ink-muted); line-height: 1.8;
}

/* ── Accent underline heading ── */
.heading-underline {
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}
.heading-underline::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 56px; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
}

/* ── Image float card overlay ── */
.img-float-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: var(--grid-gap-sm);
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
  white-space: nowrap;
  z-index: 2;
}
.img-float-card-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--accent);
  color: #000;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 900; flex-shrink: 0;
}

/* ── Spacing utility classes ── */
.mt-xs  { margin-top: var(--space-xs); }
.mt-sm  { margin-top: var(--space-sm); }
.mt-md  { margin-top: var(--space-md); }
.mt-lg  { margin-top: var(--space-lg); }
.mt-xl  { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mt-3xl { margin-top: var(--space-3xl); }
.mb-xl  { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.gap-sm { gap: var(--grid-gap-sm); }
.gap-md { gap: var(--grid-gap); }
.gap-lg { gap: var(--grid-gap-lg); }

/* ═══════════════════════════════════════════════
   VISUAL FLOW — Premium Section Transitions
   ═══════════════════════════════════════════════ */

/* Soft fade into next section (use on sections before dark sections) */
.section-fade-down {
  position: relative;
}
.section-fade-down::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(180deg, transparent, var(--surface-2));
  pointer-events: none;
}

/* Alternating section rhythm helper */
.section-space:nth-child(even),
.section-space + .section-space { background: var(--surface); }

/* ── Elevated card style ── */
.card-elevated {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: var(--card-pad-lg);
  box-shadow: var(--shadow-md);
  transition: transform 260ms var(--ease), box-shadow 260ms var(--ease);
}
.card-elevated:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* ── Step connector lines ── */
.steps-connected { position: relative; }
.steps-connected::before {
  content: '';
  position: absolute;
  top: 28px; left: 24px;
  width: 2px;
  height: calc(100% - 56px);
  background: linear-gradient(180deg, var(--primary) 0%, rgba(91,71,224,0.08) 100%);
  border-radius: 2px;
}

/* ── Numbered step with connector ── */
.step-item {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--space-md);
  padding-bottom: var(--space-xl);
}
.step-item:last-child { padding-bottom: 0; }
.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 900;
  color: var(--primary);
  flex-shrink: 0;
  position: relative; z-index: 1;
  transition: background 220ms, border-color 220ms, color 220ms, box-shadow 220ms;
}
.step-item:hover .step-num {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-primary);
}
.step-body h3 {
  font-size: 18px; font-weight: 800;
  letter-spacing: -0.015em;
  padding-top: var(--space-sm);
  margin-bottom: var(--space-xs);
}
.step-body p {
  font-size: 14.5px; color: var(--ink-muted); line-height: 1.75;
}

/* ── Responsive image aspect ratio helpers ── */
.aspect-4-3  { aspect-ratio: 4/3; }
.aspect-16-9 { aspect-ratio: 16/9; }
.aspect-1-1  { aspect-ratio: 1/1; }
.img-cover   { width: 100%; height: 100%; object-fit: cover; }

/* ── Section top accent bar ── */
.section-accent-top {
  border-top: 3px solid var(--primary);
}

/* ── Gradient border card ── */
.card-gradient-border {
  position: relative;
  background: var(--surface);
  border-radius: var(--r-xl);
  padding: var(--card-pad-lg);
}
.card-gradient-border::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ── Large stat display ── */
.stat-display {
  text-align: center;
  padding: var(--card-pad-lg);
}
.stat-display strong {
  display: block;
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 900;
  color: var(--primary);
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: var(--space-sm);
}
.stat-display span {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-faint);
  line-height: 1.5;
}

/* ── CTA group spacing fix ── */
.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
}
.cta-group.mt-lg { margin-top: var(--space-lg); }
.cta-group.mt-xl { margin-top: var(--space-xl); }

/* ── Mobile improvements ── */
@media (max-width: 767px) {
  .card-pad-lg { padding: var(--card-pad) !important; }
  .step-item { grid-template-columns: 44px 1fr; }
  .step-num  { width: 44px; height: 44px; font-size: 13px; }
  .steps-connected::before { left: 21px; }
  .stat-display strong { font-size: clamp(36px, 10vw, 56px); }
}
