/* ================================================================
   HFT PRIME MARKETING — v3.2 FINAL
   Senior-level discipline: locked type scale, zero blue excess,
   true independent cards, clear section contrast layering.
   ================================================================ */

/* ----------------------------------------------------------------
   DESIGN TOKENS
   ---------------------------------------------------------------- */
:root {

  /* ACCENT — used in 4 places only:
     1. CTA button   2. Headline highlight word
     3. Hover states 4. Section label pills            */
  --blue: #3B82F6;
  --blue-dark: #2563EB;
  --blue-dim: rgba(59, 130, 246, 0.10);
  --blue-line: rgba(59, 130, 246, 0.20);
  --blue-shadow: rgba(59, 130, 246, 0.25);

  /* SECTION BACKGROUNDS — alternating for depth */
  --bg-1: #0B0F19;
  /* Hero, Results, Testimonials  */
  --bg-2: #0E1424;
  /* Services, Why Us, CTA        */
  --bg-card: #121B2E;
  /* card surface                 */
  --bg-card-hi: #16213A;
  /* card on hover                */

  /* BORDERS */
  --border: rgba(255, 255, 255, 0.07);
  --border-hi: rgba(255, 255, 255, 0.13);

  /* TEXT — 3-level system, no exceptions */
  --t1: #F1F5F9;
  /* headings, key numbers        */
  --t2: #94A3B8;
  /* body paragraphs              */
  --t3: #5A6A80;
  /* labels, captions, meta       */

  /* TYPOGRAPHY */
  --f-head: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --f-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* LOCKED TYPE SCALE */
  --fs-h1: 3.5rem;
  /* 56px  Hero headline          */
  --fs-h2: 2.25rem;
  /* 36px  Section headings       */
  --fs-h3: 1.25rem;
  /* 20px  Card headings          */
  --fs-body: 1rem;
  /* 16px  Body text              */
  --fs-small: 0.875rem;
  /* 14px  Secondary text         */
  --fs-xs: 0.75rem;
  /* 12px  Labels, captions       */
  --fs-xxs: 0.6875rem;
  /* 11px  Badges, overlines      */

  /* 8PX SPACING GRID */
  --sp-1: 0.25rem;
  /*  4px */
  --sp-2: 0.5rem;
  /*  8px */
  --sp-3: 0.75rem;
  /* 12px */
  --sp-4: 1rem;
  /* 16px */
  --sp-5: 1.25rem;
  /* 20px */
  --sp-6: 1.5rem;
  /* 24px */
  --sp-8: 2rem;
  /* 32px */
  --sp-10: 2.5rem;
  /* 40px */
  --sp-12: 3rem;
  /* 48px */
  --sp-16: 4rem;
  /* 64px */
  --sp-20: 5rem;
  /* 80px */
  --sp-24: 6rem;
  /* 96px */

  /* RADII */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-pill: 9999px;

  /* SHADOWS — depth without glow */
  --sh-card: 0 1px 2px rgba(0, 0, 0, 0.5),
    0 4px 12px rgba(0, 0, 0, 0.30);
  --sh-hover: 0 2px 6px rgba(0, 0, 0, 0.6),
    0 12px 32px rgba(0, 0, 0, 0.40);
  --sh-cta: 0 4px 20px rgba(59, 130, 246, 0.28);

  /* TRANSITIONS */
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.30, 1);
  --t-fast: 140ms;
  --t-base: 240ms;
  --t-slow: 380ms;
}

/* ----------------------------------------------------------------
   LIGHT THEME OVERRIDES
   ---------------------------------------------------------------- */
[data-theme="light"] {
  --bg-1: #F8FAFC;
  --bg-2: #EFF4FB;
  --bg-card: #FFFFFF;
  --bg-card-hi: #F1F5FC;
  --border: rgba(0, 0, 0, 0.08);
  --border-hi: rgba(0, 0, 0, 0.14);
  --t1: #0F172A;
  --t2: #475569;
  --t3: #94A3B8;
  --sh-card: 0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 14px rgba(0, 0, 0, 0.06);
  --sh-hover: 0 2px 8px rgba(0, 0, 0, 0.10), 0 12px 32px rgba(0, 0, 0, 0.10);
}

[data-theme="light"] .header {
  background: rgba(248, 250, 252, 0.82);
}

[data-theme="light"] .header.scrolled {
  background: rgba(248, 250, 252, 0.98);
  border-bottom-color: rgba(0, 0, 0, 0.09);
}

[data-theme="light"] .scroll-progress {
  background: linear-gradient(90deg, var(--blue), var(--blue-dark));
}

[data-theme="light"] .hero-grid {
  background-image: linear-gradient(rgba(59, 130, 246, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.07) 1px, transparent 1px);
}

[data-theme="light"] .hero-orb-1 {
  background: radial-gradient(circle, rgba(59, 130, 246, 0.18) 0%, transparent 70%);
}

[data-theme="light"] .hero-orb-2 {
  background: radial-gradient(circle, rgba(99, 102, 241, 0.14) 0%, transparent 70%);
}

[data-theme="light"] .hero-orb-3 {
  background: radial-gradient(circle, rgba(168, 85, 247, 0.10) 0%, transparent 70%);
}

[data-theme="light"] .hero {
  background: var(--bg-1);
}

[data-theme="light"] .hero-noise {
  opacity: 0.015;
}

[data-theme="light"] .hcard {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .hcard-value,
[data-theme="light"] .hcard-status-line2,
[data-theme="light"] .hcard-score-num,
[data-theme="light"] .hcard-score-title {
  color: #0F172A;
}

[data-theme="light"] .hcard-label,
[data-theme="light"] .hcard-score-label {
  color: rgba(15, 23, 42, 0.5);
}

[data-theme="light"] .section-bg-accent {
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(59, 130, 246, 0.06), transparent);
}

[data-theme="light"] .services-section,
[data-theme="light"] .why-section,
[data-theme="light"] .cta-section {
  background: var(--bg-2);
}

[data-theme="light"] .service-card {
  background: var(--bg-card);
}

[data-theme="light"] .cta-orb-1 {
  background: radial-gradient(circle, rgba(59, 130, 246, 0.18) 0%, transparent 70%);
}

[data-theme="light"] .cta-orb-2 {
  background: radial-gradient(circle, rgba(168, 85, 247, 0.10) 0%, transparent 70%);
}

[data-theme="light"] .cta-grid {
  background-image: linear-gradient(rgba(59, 130, 246, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.05) 1px, transparent 1px);
}

[data-theme="light"] .footer {
  background: #0B0F19;
  /* Force dark-theme text inside the always-dark footer */
  --t1: #F1F5F9;
  --t2: #94A3B8;
  --t3: #64748B;
  --border: rgba(255, 255, 255, 0.06);
  --border-hi: rgba(255, 255, 255, 0.12);
  --bg-card: rgba(255, 255, 255, 0.03);
}

[data-theme="light"] .footer-logo span {
  color: #F1F5F9;
}

[data-theme="light"] .footer-tagline {
  color: #64748B;
}

[data-theme="light"] .footer-link-col h5,
[data-theme="light"] .footer-newsletter-col h5 {
  color: #F1F5F9;
}

[data-theme="light"] .footer-link-col a,
[data-theme="light"] .footer-contact-item,
[data-theme="light"] .footer-contact-item a {
  color: #64748B;
}

[data-theme="light"] .footer-link-col a:hover,
[data-theme="light"] .footer-contact-item a:hover,
[data-theme="light"] .footer-legal a:hover {
  color: #F1F5F9;
}

[data-theme="light"] .footer-newsletter-col p {
  color: #64748B;
}

[data-theme="light"] .footer-bottom-inner p,
[data-theme="light"] .footer-legal a {
  color: #64748B;
}

[data-theme="light"] .social-icon {
  color: #64748B;
  border-color: rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

[data-theme="light"] .social-icon:hover {
  color: #F1F5F9;
  border-color: rgba(59, 130, 246, 0.4);
  background: rgba(59, 130, 246, 0.08);
}

[data-theme="light"] .newsletter-input-wrap input {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  color: #F1F5F9;
}

[data-theme="light"] .newsletter-input-wrap input::placeholder {
  color: #64748B;
}

[data-theme="light"] .footer-top {
  border-top-color: rgba(255, 255, 255, 0.08);
}

[data-theme="light"] .footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .mobile-nav {
  background: rgba(248, 250, 252, 0.98);
  border-top-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .mobile-nav-link:hover {
  background: rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .service-icon-wrap {
  background: rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .service-card:hover .service-icon-wrap {
  background: rgba(0, 0, 0, 0.07);
}

[data-theme="light"] .service-number {
  color: rgba(0, 0, 0, 0.07);
}

[data-theme="light"] .btn-ghost:hover {
  background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .testi-quote {
  color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .pillar {
  border-color: var(--border);
}

[data-theme="light"] .pillar-icon {
  background: rgba(0, 0, 0, 0.04);
  border-color: var(--border);
}

[data-theme="light"] .case-author {
  border-top-color: var(--border);
}

[data-theme="light"] .why-feature-tags {
  border-top-color: var(--border);
}

[data-theme="light"] .testi-author {
  border-top-color: var(--border);
}

[data-theme="light"] .testi-result-badge {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.2);
}

[data-theme="light"] .cta-badge {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.2);
}



/* ----------------------------------------------------------------
   THEME TOGGLE BUTTON
   ---------------------------------------------------------------- */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-hi);
  background: rgba(255, 255, 255, 0.05);
  color: var(--t2);
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease);
  margin-right: var(--sp-3);
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.10);
  color: var(--t1);
  border-color: var(--border-hi);
  transform: scale(1.07);
}

[data-theme="light"] .theme-toggle {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.12);
  color: var(--t2);
}

[data-theme="light"] .theme-toggle:hover {
  background: rgba(0, 0, 0, 0.08);
  color: var(--t1);
}

/* Moon icon: visible in dark mode; Sun icon: visible in light mode */
.theme-icon {
  display: none;
}

.theme-icon-moon {
  display: block;
}

[data-theme="light"] .theme-icon-moon {
  display: none;
}

[data-theme="light"] .theme-icon-sun {
  display: block;
}


*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--t1);
  background: var(--bg-1);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--f-head);
  line-height: 1.12;
  color: var(--t1);
  letter-spacing: -0.025em;
}

p {
  color: var(--t2);
  line-height: 1.7;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--t-fast) var(--ease);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* ----------------------------------------------------------------
   LAYOUT
   ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--sp-8);
}

.section {
  padding: var(--sp-24) 0;
}

/* ----------------------------------------------------------------
   SCROLL PROGRESS
   ---------------------------------------------------------------- */
.scroll-progress {
  position: fixed;
  top: 69px;
  /* Below header */
  left: 0;
  width: 0;
  height: 3px;
  /* Increased from 2px to 4px */
  background: linear-gradient(90deg, var(--blue), var(--blue-dark));
  z-index: 9998;
  /* Below header */
  transition: width 60ms linear;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4);
  /* Added glow effect */
}

/* ----------------------------------------------------------------
   GLOBAL TYPE HELPERS
   ---------------------------------------------------------------- */

/* Gradient text — ONLY on hero highlight word + section title accents.
   Nowhere else. Not on icons, not on numbers, not on labels.          */
.gradient-text {
  background: linear-gradient(135deg, #93C5FD 0%, var(--blue) 55%, var(--blue-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section overline label */
.section-label {
  display: inline-block;
  font-family: var(--f-body);
  font-size: var(--fs-xxs);
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--blue);
  padding: 0.3rem 0.875rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--blue-line);
  background: var(--blue-dim);
  margin-bottom: var(--sp-4);
}

/* Locked section heading — 36px */
.section-title {
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-4);
}

.section-sub {
  font-size: var(--fs-small);
  color: var(--t2);
  line-height: 1.75;
  max-width: 520px;
}

.section-header {
  text-align: center;
  margin-bottom: var(--sp-16);
}

.section-header .section-sub {
  margin: 0 auto;
}

/* ----------------------------------------------------------------
   BUTTONS
   ---------------------------------------------------------------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.8125rem 1.75rem;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
  font-family: var(--f-body);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: var(--r-pill);
  border: none;
  cursor: pointer;
  transition: transform var(--t-base) var(--ease-out),
    box-shadow var(--t-base) var(--ease-out);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-cta);
  color: #fff;
}

/* Pulse — hero CTA + final CTA only */
.btn-pulse {
  animation: cta-pulse 4s ease-in-out infinite;
}

@keyframes cta-pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.28);
  }

  55% {
    box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
  }
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.8125rem 1.625rem;
  background: transparent;
  color: var(--t2);
  font-family: var(--f-body);
  font-size: var(--fs-small);
  font-weight: 500;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all var(--t-base) var(--ease-out);
}

.btn-ghost:hover {
  color: var(--t1);
  border-color: var(--border-hi);
  background: var(--border);
}

.btn-xl {
  padding: 0.9375rem 2.125rem;
  font-size: var(--fs-body);
}

/* ----------------------------------------------------------------
   HEADER
   ---------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(11, 15, 25, 0.72);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid var(--border);
  transition: background var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease);
}

.header.scrolled {
  background: rgba(11, 15, 25, 0.97);
  border-bottom-color: var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--sp-8);
}

.header-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
}

.logo-mark img {
  height: 60px;
  width: auto;
}

.logo-text {
  font-family: var(--f-head);
  font-size: 1.1925rem;
  font-weight: 700;
  color: var(--t1);
  letter-spacing: -0.03em;
  margin: -9px;
}

.header-nav {
  display: flex;
  align-items: center;
}

.nav-link {
  padding: 0.4375rem 0.875rem;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--t3);
  border-radius: var(--r-sm);
  transition: color var(--t-fast) var(--ease);
  letter-spacing: -0.01em;
}

.nav-link:hover,
.nav-link.active {
  color: var(--t1);
}

.header-actions {
  display: flex;
  align-items: center;
}

.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.5rem 1.125rem;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  font-size: 0.84rem;
  font-weight: 600;
  border-radius: var(--r-pill);
  transition: transform var(--t-base) var(--ease-out),
    box-shadow var(--t-base) var(--ease-out);
  white-space: nowrap;
}

.btn-nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--blue-shadow);
  color: #fff;
}

/* ----------------------------------------------------------------
   SERVICES NAV DROPDOWN
   ---------------------------------------------------------------- */
.nav-dropdown {
  position: relative;
}

.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 12px;
  background: transparent;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.nav-dropdown-trigger svg {
  transition: transform 0.25s var(--ease-out);
  flex-shrink: 0;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 260px;
  background: rgba(14, 20, 36, 0.98);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--border-hi);
  border-radius: var(--r-lg);
  padding: var(--sp-2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 2px 8px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  /* Appear fast, disappear with a 300ms delay so user can move cursor in */
  transition: opacity 0.20s var(--ease-out),
    transform 0.20s var(--ease-out),
    visibility 0s linear 0.3s;
  visibility: hidden;
  z-index: 2000;
}

/* Arrow pointer */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  width: 12px;
  height: 12px;
  background: rgba(14, 20, 36, 0.98);
  border-left: 1px solid var(--border-hi);
  border-top: 1px solid var(--border-hi);
  transform: translateX(-50%) rotate(45deg);
}

/* Show on hover OR when JS adds .open class */
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  pointer-events: all;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  /* Remove the hide delay when showing */
  transition: opacity 0.20s var(--ease-out),
    transform 0.20s var(--ease-out),
    visibility 0s linear 0s;
}

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



.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 0.625rem var(--sp-3);
  border-radius: var(--r-md);
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--t2);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
  white-space: nowrap;
}

.nav-dropdown-item:hover {
  background: var(--border);
  color: var(--t1);
}

.nav-drop-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

[data-theme="light"] .nav-dropdown-menu {
  background: rgba(255, 255, 255, 0.99);
}

[data-theme="light"] .nav-dropdown-menu::before {
  background: rgba(255, 255, 255, 0.99);
}

[data-theme="light"] .nav-dropdown-item:hover {
  background: rgba(0, 0, 0, 0.04);
}

/* Mobile services submenu */
.mobile-nav-services {
  width: 100%;
}

.mobile-services-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--f-body);
  text-align: left;
}

.mobile-services-toggle svg {
  transition: transform 0.22s var(--ease-out);
  flex-shrink: 0;
}

.mobile-services-toggle.open svg {
  transform: rotate(180deg);
}

.mobile-services-submenu {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: var(--sp-1) 0 var(--sp-1) var(--sp-5);
}

.mobile-services-submenu.open {
  display: flex;
}

.mobile-nav-sublink {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 0.6rem var(--sp-4);
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--t3);
  border-radius: var(--r-md);
  transition: all var(--t-fast) var(--ease);
}

.mobile-nav-sublink .nav-drop-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mobile-nav-sublink:hover {
  color: var(--t1);
  background: var(--border);
}



/* Mobile toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-2);
}

.toggle-bar {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--t1);
  border-radius: 2px;
  transition: all var(--t-base) var(--ease-out);
  transform-origin: center;
}

.mobile-toggle.open .toggle-bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.mobile-toggle.open .toggle-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-toggle.open .toggle-bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: var(--sp-1);
  padding: var(--sp-3) var(--sp-6) var(--sp-6);
  border-top: 1px solid var(--border);
  background: var(--bg-1);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav-link {
  padding: 0.625rem var(--sp-4);
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--t2);
  border-radius: var(--r-md);
  transition: all var(--t-fast) var(--ease);
}

.mobile-nav-link:hover {
  color: var(--t1);
  background: var(--border);
}

.mobile-cta {
  margin-top: var(--sp-3);
  justify-content: center;
}

/* ----------------------------------------------------------------
   HERO — Section 1: bg-1
   ---------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 68px;
  background: var(--bg-1);
  overflow: hidden;
}

/* Background — two static orbs, no animation, no excess */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black 0%, black 45%, transparent 88%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
}

.hero-orb-1 {
  width: 460px;
  height: 460px;
  background: rgba(29, 78, 216, 0.10);
  top: -80px;
  right: -40px;
}

.hero-orb-2 {
  width: 300px;
  height: 300px;
  background: rgba(37, 99, 235, 0.06);
  bottom: 60px;
  left: -60px;
}

.hero-orb-3 {
  display: none;
}

.hero>.container {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: var(--sp-20);
  padding-bottom: var(--sp-16);
}

.hero-inner {
  display: grid;
  grid-template-columns: 52% 48%;
  gap: var(--sp-16);
  align-items: center;
}

/* Eyebrow — no blue pill border, just color + dot */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xxs);
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--t3);
  margin-bottom: var(--sp-5);
}

.eyebrow-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
  animation: blink 2.4s ease-in-out infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.2;
  }
}

/* Hero H1 — 56px, tight */
.hero-headline {
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.035em;
  margin-bottom: var(--sp-5);
  color: var(--t1);
}

/* Only the highlight word gets gradient — not the whole headline */
.headline-highlight {
  background: linear-gradient(135deg, #93C5FD 0%, #3B82F6 55%, #2563EB 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subhead {
  font-size: var(--fs-body);
  font-weight: 400;
  color: var(--t2);
  line-height: 1.72;
  max-width: 430px;
  margin-bottom: var(--sp-8);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
  margin-bottom: var(--sp-8);
}

/* Trust pills — plain text, no blue, just checkmarks */
.trust-row {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  flex-wrap: wrap;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--t3);
}

/* Check icon in trust pills uses neutral color, not blue */
.trust-pill svg {
  color: var(--t3);
}

.trust-divider {
  width: 3px;
  height: 3px;
  background: var(--border);
  border-radius: 50%;
}

/* ================================================================
   HERO VISUAL + FLOATING CARDS
   Reference style: frosted glass cards, bold icon badges,
   independent float animations, clean typography
   ================================================================ */

/* Hero visual — bigger mockup, compact cards sit at edges */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 52px;
  /* just enough room for small cards */
}

.hero-mockup-wrap {
  position: relative;
  display: inline-block;
}

.hero-mockup {
  width: 100%;
  max-width: 700px;
  /* increased from 580px to 650px for better proportion */
  border-radius: var(--r-lg);
  filter: drop-shadow(0 32px 64px rgba(0, 0, 0, 0.82));
  animation: float-laptop 8s ease-in-out infinite;
  display: block;
  position: relative;
  z-index: 1;
}

@keyframes float-laptop {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* ── BASE HCARD ── */
/* Frosted glass, clean white face in dark mode,
   deep shadows for physical depth — like reference  */
.hcard {
  position: absolute;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(18, 26, 48, 0.85);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 6px 9px;
  /* More compact - reduced from 7px 11px */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.10),
    0 2px 6px rgba(0, 0, 0, 0.4),
    0 8px 24px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
  min-width: 0;
  cursor: pointer;
  /* Changed to pointer for toggle interaction */
  transition: all 0.3s ease !important;
  overflow: hidden;
}

/* Cards hug the mockup edges — slightly inset so they read as overlays */
.hcard-1 {
  top: -14px;
  left: -8px;
  animation: hfloat1 8s ease-in-out infinite;
}

.hcard-2 {
  top: 6%;
  right: -8px;
  animation: hfloat2 9.5s ease-in-out infinite;
}

.hcard-3 {
  bottom: -14px;
  right: -8px;
  animation: hfloat3 7s ease-in-out infinite;
}

.hcard-4 {
  bottom: 6%;
  left: -8px;
  animation: hfloat4 10s ease-in-out infinite;
}

@keyframes hfloat1 {

  0%,
  100% {
    transform: translate(0, 0px) rotate(-1.5deg);
  }

  35% {
    transform: translate(2px, -14px) rotate(-0.5deg);
  }

  70% {
    transform: translate(-1px, -7px) rotate(-1deg);
  }
}

@keyframes hfloat2 {

  0%,
  100% {
    transform: translate(0, 0px) rotate(1deg);
  }

  40% {
    transform: translate(-2px, -15px) rotate(0deg);
  }

  75% {
    transform: translate(1px, -6px) rotate(0.5deg);
  }
}

@keyframes hfloat3 {

  0%,
  100% {
    transform: translate(0, 0px) rotate(0.5deg);
  }

  45% {
    transform: translate(2px, -11px) rotate(-0.5deg);
  }
}

@keyframes hfloat4 {

  0%,
  100% {
    transform: translate(0, 0px) rotate(-0.5deg);
  }

  50% {
    transform: translate(-2px, -13px) rotate(0.5deg);
  }
}

.hcard:hover {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 4px 12px rgba(0, 0, 0, 0.5),
    0 14px 32px rgba(0, 0, 0, 0.6);
  animation-play-state: paused;
  transform: scale(1.02);
}

/* Card expanded state */
.hcard.expanded {
  padding: 8px 12px;
  gap: 8px;
}

/* Hide details by default */
.hcard-details {
  display: none;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.hcard.expanded .hcard-details {
  display: block;
  opacity: 1;
  max-height: 100px;
  margin-left: 4px;
}

/* ── ICON SQUARE — solid gradient, bright, like reference ── */
.hcard-icon {
  width: 22px;
  height: 22px;
  /* Reduced from 26px to 22px */
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hcard-icon svg {
  width: 11px;
  height: 11px;
}

/* Reduced from 12px to 11px */

.hcard-icon-blue {
  background: linear-gradient(145deg, #60A5FA 0%, #2563EB 100%);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.hcard-icon-green {
  background: linear-gradient(145deg, #34D399 0%, #059669 100%);
  box-shadow: 0 4px 16px rgba(5, 150, 105, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.hcard-icon-amber {
  background: linear-gradient(145deg, #FCD34D 0%, #D97706 100%);
  box-shadow: 0 4px 16px rgba(217, 119, 6, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.hcard-icon-purple {
  background: linear-gradient(145deg, #C084FC 0%, #7C3AED 100%);
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* ── CARD TEXT ── */
.hcard-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.hcard-label {
  font-size: 0.5625rem;
  /* reduced from 0.6875rem → 9px */
  font-weight: 600;
  color: rgba(255, 255, 255, 0.48);
  letter-spacing: 0.03em;
  line-height: 1;
}

.hcard-value {
  font-family: var(--f-head);
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
}

/* ── SPARKLINE ── */
.hcard-spark {
  flex-shrink: 0;
  line-height: 0;
}

.hcard-spark svg {
  width: 36px;
  height: 20px;
}

/* ── "Uptime" style two-line status card ── */
.hcard-status {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hcard-status-line1 {
  font-size: 0.5625rem;
  /* 9px */
  font-weight: 700;
  color: #34D399;
  letter-spacing: 0.01em;
}

.hcard-status-line2 {
  font-family: var(--f-head);
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* ── LIVE DOT ── */
.hcard-dot {
  width: 5px;
  height: 5px;
  /* reduced from 7px */
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.hcard-dot-green {
  background: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.22);
  animation: dot-breathe 2.5s ease-in-out infinite;
}

.hcard-dot-blue {
  background: #60A5FA;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.22);
  animation: dot-breathe 3s ease-in-out infinite;
}

@keyframes dot-breathe {

  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.06);
  }
}

/* ── SCORE RING (card 3) ── */
.hcard-score-wrap {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hcard-score-ring {
  position: relative;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.hcard-score-ring svg {
  display: block;
}

.hcard-score-num {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--f-head);
  font-size: 0.5625rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.hcard-score-label {
  font-size: 0.5625rem;
  /* 9px */
  font-weight: 600;
  color: rgba(255, 255, 255, 0.48);
  margin-bottom: 2px;
  line-height: 1;
}

.hcard-score-title {
  font-family: var(--f-head);
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

/* ── STATUS BADGE PILL ── */
.hcard-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  /* tighter */
  border-radius: 100px;
  font-size: 0.5rem;
  /* 8px — very compact */
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  margin-left: auto;
  flex-shrink: 0;
}

.hcard-badge-green {
  color: #34D399;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.hcard-badge-blue {
  color: #93C5FD;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
}


/* Stats bar */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: var(--sp-12);
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.stat-item {
  padding: var(--sp-6) var(--sp-4);
  text-align: center;
  border-right: 1px solid var(--border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-sep {
  display: none;
}

/* Stat numbers — white, not blue */
.stat-num {
  font-family: var(--f-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--t1);
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -0.04em;
}

.stat-lbl {
  font-size: var(--fs-xs);
  color: var(--t3);
  font-weight: 500;
}

/* ----------------------------------------------------------------
   SERVICES — Section 2: bg-2
   TRUE INDEPENDENT CARDS — no outer wrapper, proper elevation
   ---------------------------------------------------------------- */
.services-section {
  background: var(--bg-2);
}

/* The critical fix: no outer box, no dividing lines.
   Each card is its own elevated block with shadow depth.        */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  /* 24px gap — breathing space between cards */
}

/* Each card: independent, elevated, distinct */
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  /* Real shadow — this is what makes them feel like cards */
  box-shadow: var(--sh-card);
  transition: transform var(--t-slow) var(--ease-out),
    box-shadow var(--t-slow) var(--ease-out),
    border-color var(--t-base) var(--ease);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* On hover: lift + deeper shadow — classic premium card behaviour */
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-hover);
  border-color: var(--border-hi);
}

/* Card top accent bar — appears on hover, adds identity */
.service-card::before {
  content: '';
  display: block;
  height: 2px;
  width: 100%;
  background: transparent;
  transition: background var(--t-base) var(--ease);
  flex-shrink: 0;
}

.service-card:hover::before {
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-dark) 100%);
}

/* Card interior — the actual content area */
.service-card-inner {
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  flex: 1;
}

/* Icon: no blue bg, no border, just the icon itself with colour */
.service-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  /* Neutral dark tint — color comes from the icon stroke */
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  transition: background var(--t-base) var(--ease);
}

.service-icon-wrap svg {
  width: 20px;
  height: 20px;
}

/* Icon colour per service — stroke colour only, subtle background */
.service-icon-wrap[data-color="blue"] {
  color: #3B82F6;
}

.service-icon-wrap[data-color="amber"] {
  color: #F59E0B;
}

.service-icon-wrap[data-color="pink"] {
  color: #EC4899;
}

.service-icon-wrap[data-color="green"] {
  color: #10B981;
}

.service-icon-wrap[data-color="purple"] {
  color: #8B5CF6;
}

.service-icon-wrap[data-color="cyan"] {
  color: #06B6D4;
}

.service-card:hover .service-icon-wrap {
  background: rgba(255, 255, 255, 0.07);
}

/* Card number — decorative, very quiet */
.service-number {
  font-family: var(--f-head);
  font-size: var(--fs-xxs);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.08);
  letter-spacing: 0.06em;
  align-self: flex-start;
  margin-bottom: calc(-1 * var(--sp-2));
  margin-top: calc(-1 * var(--sp-2));
}

/* Card heading — 20px locked */
.service-card h3 {
  font-size: var(--fs-h3);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--t1);
}

.service-card-inner>p {
  font-size: var(--fs-small);
  color: var(--t2);
  line-height: 1.65;
  flex: 1;
}

/* Feature bullets */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: var(--sp-2);
  border-top: 1px solid var(--border);
}

.service-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-xs);
  color: var(--t3);
  line-height: 1.4;
}

.service-list li::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Service link — blue ONLY here, on hover, as it's a CTA-type action */
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--t3);
  padding-top: var(--sp-2);
  transition: color var(--t-fast) var(--ease),
    gap var(--t-fast) var(--ease);
}

.service-card:hover .service-link {
  color: var(--blue);
  gap: 9px;
}

/* ----------------------------------------------------------------
   RESULTS / CASE STUDIES — Section 3: bg-1
   ---------------------------------------------------------------- */
.results-section {
  background: var(--bg-1);
}

.case-studies-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--sp-5);
  align-items: start;
}

/* Base card */
.case-card-inner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  height: 100%;
  transition: border-color var(--t-base) var(--ease),
    box-shadow var(--t-base) var(--ease);
}

.case-card:hover .case-card-inner {
  border-color: var(--border-hi);
  box-shadow: var(--sh-card);
}

/* Featured: blue left border — ONE accent touch, nothing else */
.case-card-featured .case-card-inner {
  border-left: 3px solid var(--blue);
  background: var(--bg-card-hi);
}

.case-badge {
  display: inline-block;
  font-size: var(--fs-xxs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--t3);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  padding: 0.2rem 0.625rem;
  border-radius: var(--r-pill);
  align-self: flex-start;
}

/* Featured badge gets blue — one deliberate accent */
.case-card-featured .case-badge {
  color: var(--blue);
  background: var(--blue-dim);
  border-color: var(--blue-line);
}

.case-badge-green {
  color: #10B981;
  background: rgba(16, 185, 129, 0.07);
  border-color: rgba(16, 185, 129, 0.18);
}

.case-badge-purple {
  color: #8B5CF6;
  background: rgba(139, 92, 246, 0.07);
  border-color: rgba(139, 92, 246, 0.18);
}

.case-logo-area {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.case-initials {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #1D4ED8, #2563EB);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-head);
  font-size: var(--fs-xxs);
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.case-brand {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--t1);
  letter-spacing: -0.015em;
}

.case-category {
  font-size: var(--fs-xs);
  color: var(--t3);
}

.case-metrics {
  display: flex;
  gap: var(--sp-4);
}

.case-metric {
  flex: 1;
}

/* Numbers — white on secondary, large and impactful */
.case-metric-val {
  font-family: var(--f-head);
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--t1);
  line-height: 1;
  margin-bottom: 3px;
  letter-spacing: -0.04em;
}

/* Featured card: metric numbers get blue — one deliberate colour use */
.case-card-featured .case-metric-val {
  color: var(--blue);
}

.case-metric-lbl {
  font-size: var(--fs-xxs);
  color: var(--t3);
  line-height: 1.3;
  font-weight: 500;
}

.case-summary {
  font-size: var(--fs-small);
  color: var(--t2);
  line-height: 1.65;
  font-style: italic;
}

.case-author {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.case-avatar {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #1D4ED8, #2563EB);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xxs);
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.case-author strong {
  display: block;
  font-size: var(--fs-xs);
  color: var(--t1);
  font-weight: 600;
}

.case-author span {
  font-size: var(--fs-xs);
  color: var(--t3);
}

.case-timeline {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: var(--fs-xs);
  color: var(--t3);
}

/* ----------------------------------------------------------------
   WHY CHOOSE US — Section 4: bg-2
   ---------------------------------------------------------------- */
.why-section {
  background: var(--bg-2);
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-20);
  align-items: start;
}

.why-text .section-sub {
  max-width: none;
  margin-bottom: var(--sp-10);
}

.why-pillars {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

/* Pillars — very subtle border, no box feel */
.pillar {
  display: flex;
  gap: var(--sp-4);
  padding: var(--sp-5);
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: background var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease);
}

.pillar:hover {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--border);
}

/* Icon — neutral, not blue */
.pillar-icon {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--t3);
  flex-shrink: 0;
}

.pillar-icon svg {
  width: 18px;
  height: 18px;
}

.pillar h4 {
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  color: var(--t1);
}

.pillar p {
  font-size: var(--fs-small);
  color: var(--t2);
  line-height: 1.65;
}

/* Metric column — borderless rows */
.why-visual {
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 96px;
}

.why-card-stack {
  display: flex;
  flex-direction: column;
}

.why-metric-card {
  padding: var(--sp-6) 0;
  border-bottom: 1px solid var(--border);
}

.why-metric-card:last-of-type {
  border-bottom: none;
}

.wmc-label {
  font-size: var(--fs-xxs);
  color: var(--t3);
  font-weight: 600;
  margin-bottom: var(--sp-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Large metric value — white, impactful, not blue */
.wmc-value {
  font-family: var(--f-head);
  font-size: 3rem;
  font-weight: 800;
  color: var(--t1);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: var(--sp-3);
}

.wmc-bar {
  height: 2px;
  background: var(--border);
  border-radius: var(--r-pill);
  overflow: hidden;
  margin-bottom: var(--sp-2);
}

.wmc-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--blue-dark));
  border-radius: var(--r-pill);
  transition: width 1.4s var(--ease-out);
}

.wmc-note {
  font-size: var(--fs-xs);
  color: var(--t3);
}

.why-feature-tags {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2);
  padding-top: var(--sp-6);
  margin-top: var(--sp-3);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.feature-tag {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: var(--fs-xs);
  color: var(--t3);
  font-weight: 500;
}

/* ----------------------------------------------------------------
   TESTIMONIALS — Section 5: bg-1
   ---------------------------------------------------------------- */
.testimonials-section {
  background: var(--bg-1);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}

/* Testi cards: elevated, shadow-based depth */
.testi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  box-shadow: var(--sh-card);
  transition: transform var(--t-slow) var(--ease-out),
    box-shadow var(--t-slow) var(--ease-out),
    border-color var(--t-base) var(--ease);
}

.testi-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-hover);
  border-color: var(--border-hi);
}

.testi-stars {
  display: flex;
  gap: 2px;
}

/* Quote mark — very dim, just structural */
.testi-quote {
  font-family: var(--f-head);
  font-size: 4rem;
  line-height: 0.55;
  color: rgba(255, 255, 255, 0.07);
  font-weight: 800;
  user-select: none;
}

.testi-text {
  font-size: var(--fs-small);
  color: var(--t2);
  line-height: 1.72;
  flex: 1;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  flex-wrap: wrap;
}

.testi-avatar {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #1D4ED8, #2563EB);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-xxs);
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.testi-author strong {
  display: block;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--t1);
}

.testi-author span {
  font-size: var(--fs-xs);
  color: var(--t3);
}

/* Result badge — neutral, not blue */
.testi-result-badge {
  margin-left: auto;
  font-size: var(--fs-xxs);
  font-weight: 700;
  color: var(--t3);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 0.2rem 0.625rem;
  white-space: nowrap;
}

/* ----------------------------------------------------------------
   CTA SECTION — Section 6: bg-2
   ---------------------------------------------------------------- */
.cta-section {
  position: relative;
  padding: var(--sp-24) 0;
  background: var(--bg-2);
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* Single centered orb — restrained */
.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  pointer-events: none;
}

.cta-orb-1 {
  width: 560px;
  height: 560px;
  background: rgba(29, 78, 216, 0.09);
  top: -180px;
  left: 50%;
  transform: translateX(-50%);
}

.cta-orb-2 {
  display: none;
}

.cta-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

/* Urgency label */
.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xxs);
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--t3);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 0.3rem 0.875rem;
  border-radius: var(--r-pill);
  margin-bottom: var(--sp-6);
}

.cta-headline {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: var(--sp-5);
}

.cta-sub {
  font-size: var(--fs-body);
  color: var(--t2);
  line-height: 1.75;
  margin-bottom: var(--sp-10);
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
  margin-bottom: var(--sp-6);
}

.cta-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-6);
  flex-wrap: wrap;
  font-size: var(--fs-xs);
  color: var(--t3);
  font-weight: 500;
}

/* ----------------------------------------------------------------
   FOOTER
   ---------------------------------------------------------------- */
.footer {
  background: var(--bg-1);
}

.footer-top {
  padding: var(--sp-20) 0 var(--sp-16);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: var(--sp-12);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
}

.footer-logo img {
  height: 30px;
  width: auto;
}

.footer-logo span {
  font-family: var(--f-head);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--t1);
  letter-spacing: -0.03em;
}

.footer-tagline {
  font-size: var(--fs-small);
  color: var(--t3);
  line-height: 1.7;
  margin-bottom: var(--sp-5);
}

.footer-socials {
  display: flex;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}

.social-icon {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--t3);
  transition: all var(--t-fast) var(--ease);
}

.social-icon svg {
  width: 15px;
  height: 15px;
}

.social-icon:hover {
  color: var(--t1);
  border-color: var(--blue-line);
  background: rgba(59, 130, 246, 0.08);
  transform: translateY(-2px);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-xs);
  color: var(--t3);
}

.footer-contact-item a {
  color: var(--t3);
}

.footer-contact-item a:hover {
  color: var(--t2);
}

.footer-contact-item svg {
  flex-shrink: 0;
}

.footer-link-col h5 {
  font-size: var(--fs-xxs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--t1);
  margin-bottom: var(--sp-5);
}

.footer-link-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer-link-col a {
  font-size: var(--fs-small);
  color: var(--t3);
  transition: color var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease);
  display: inline-block;
}

.footer-link-col a:hover {
  color: var(--t1);
  transform: translateX(4px);
}

.footer-newsletter-col h5 {
  font-size: var(--fs-xxs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--t1);
  margin-bottom: var(--sp-4);
}

.footer-newsletter-col p {
  font-size: var(--fs-small);
  color: var(--t3);
  line-height: 1.65;
  margin-bottom: var(--sp-4);
}

.newsletter-input-wrap {
  display: flex;
  gap: var(--sp-2);
}

.newsletter-input-wrap input {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-md);
  padding: 0.75rem var(--sp-4);
  font-size: var(--fs-small);
  color: var(--t1);
  font-family: var(--f-body);
  outline: none;
  transition: border-color var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease);
}

.newsletter-input-wrap input::placeholder {
  color: var(--t3);
}

.newsletter-input-wrap input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.newsletter-input-wrap button {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  border: none;
  border-radius: var(--r-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  transition: opacity var(--t-fast) var(--ease);
}

.newsletter-input-wrap button:hover {
  opacity: 0.82;
}

.newsletter-success {
  display: none;
  font-size: var(--fs-xs);
  color: #10B981;
  margin-top: 8px;
  font-weight: 500;
}

.newsletter-success.show {
  display: block;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: var(--sp-5) 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.footer-bottom-inner p {
  font-size: var(--fs-xs);
  color: var(--t3);
}

.footer-legal {
  display: flex;
  gap: var(--sp-6);
}

.footer-legal a {
  font-size: var(--fs-xs);
  color: var(--t3);
  transition: color var(--t-fast) var(--ease);
}

.footer-legal a:hover {
  color: var(--t1);
}

/* ----------------------------------------------------------------
   WHATSAPP FLOAT
   ---------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 50px;
  height: 50px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  z-index: 999;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.28);
  transition: transform var(--t-base) var(--ease-out);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  color: #fff;
}

/* ----------------------------------------------------------------
   CUSTOM CURSOR
   ---------------------------------------------------------------- */
.custom-cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transition: transform 0.15s ease, opacity 0.15s ease;
  opacity: 0;
  transform: translate(-50%, -50%) scale(1);
}

.custom-cursor.active {
  opacity: 1;
}

.custom-cursor.hover {
  transform: translate(-50%, -50%) scale(1.5);
  background: rgba(59, 130, 246, 0.2);
  border-width: 3px;
}

.custom-cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10001;
  transition: transform 0.1s ease, opacity 0.1s ease;
  opacity: 0;
  transform: translate(-50%, -50%);
}

.custom-cursor-dot.active {
  opacity: 1;
}

/* Hide custom cursor on touch devices */
@media (hover: none) {

  .custom-cursor,
  .custom-cursor-dot {
    display: none;
  }
}

/* ----------------------------------------------------------------
   BACK TO TOP BUTTON
   ---------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  transition: all 0.3s var(--ease);
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3),
    0 2px 8px rgba(0, 0, 0, 0.4);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 6px 24px rgba(59, 130, 246, 0.4),
    0 4px 12px rgba(0, 0, 0, 0.5);
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
}

.back-to-top:active {
  transform: translateY(-2px) scale(1);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
  color: white;
  transition: transform 0.3s ease;
}

.back-to-top:hover svg {
  transform: translateY(-2px);
}

/* ----------------------------------------------------------------
   SCROLL ANIMATIONS
   ---------------------------------------------------------------- */
[data-animate] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

[data-animate="fade-left"] {
  transform: translateX(22px);
}

[data-animate="fade-right"] {
  transform: translateX(-22px);
}

[data-animate].visible {
  opacity: 1;
  transform: none;
}

/* ----------------------------------------------------------------
   RESPONSIVE — TABLET ≤1024px
   ---------------------------------------------------------------- */
@media (max-width: 1024px) {
  .container {
    padding: 0 var(--sp-6);
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--sp-12);
    padding: var(--sp-12) 0;
  }

  .hero-text {
    max-width: 600px;
    margin: 0 auto;
  }

  .hero-subhead {
    margin: 0 auto var(--sp-8);
  }

  .hero-cta-group,
  .trust-row {
    justify-content: center;
  }

  /* Hero visual: show with scaled-down mockup + cards intact */
  .hero-visual {
    display: flex;
    justify-content: center;
    padding: var(--sp-8) var(--sp-4) var(--sp-4);
    order: 2;
  }

  /* Scale the entire wrap (laptop + all 4 floating cards) uniformly.
     Cards keep their positions, animations and glass effects — just smaller. */
  .hero-mockup-wrap {
    transform: scale(0.72);
    transform-origin: center top;
    /* shrink the layout footprint so it doesn't add excess height */
    margin-bottom: -14%;
  }

  .hero-mockup {
    max-width: 560px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .stat-item:nth-child(3) {
    border-top: 1px solid var(--border);
  }

  .stat-item:nth-child(4) {
    border-top: 1px solid var(--border);
    border-right: none;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-5);
  }

  .case-studies-grid {
    grid-template-columns: 1fr 1fr;
  }

  .case-card-featured {
    grid-column: span 2;
  }

  .why-inner {
    grid-template-columns: 1fr;
    gap: var(--sp-12);
  }

  .why-visual {
    position: static;
  }

  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }

  .testi-card:last-child {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-10);
  }

  .footer-brand-col {
    grid-column: span 2;
  }

  .footer-newsletter-col {
    grid-column: span 2;
  }
}

/* ----------------------------------------------------------------
   RESPONSIVE — MOBILE ≤768px
   ---------------------------------------------------------------- */
@media (max-width: 768px) {
  :root {
    --fs-h1: 2rem;
    --fs-h2: 1.75rem;
  }

  /* Prevent typewriter headline from clipping */
  .hero-headline {
    overflow: visible;
    word-break: break-word;
    hyphens: none;
    font-size: clamp(1.75rem, 7vw, 2.25rem);
  }

  .hero-typed-wrap {
    display: inline;
    white-space: normal;
  }

  .headline-highlight {
    white-space: normal;
    display: inline;
  }

  .section {
    padding: var(--sp-16) 0;
  }

  .container {
    padding: 0 var(--sp-4);
  }

  .header-nav,
  .header-actions .btn-nav-cta {
    display: none;
  }

  .header-actions {
    gap: 0;
  }

  /* Theme toggle hidden from header bar on mobile — lives inside the menu */
  .theme-toggle {
    display: none !important;
  }


  .mobile-toggle {
    display: flex;
  }

  /* ── FULL-SCREEN MOBILE NAV OVERLAY ── */
  .mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100svh;
    z-index: 1200;
    /* above the fixed header */
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0;
    border-top: none;
    background: var(--bg-1);
    gap: 0;
  }

  /* Top bar inside the full-screen nav */
  .mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--sp-5);
    height: 68px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
  }

  .mobile-nav-header .logo-mark img {
    height: 42px;
  }

  .mobile-nav-header .logo-text {
    font-size: 1.05rem;
  }

  /* Right-side actions inside mobile nav header */
  .mobile-nav-header-actions {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
  }

  /* Theme toggle button inside mobile menu */
  .mobile-nav-theme-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--r-pill);
    border: 1px solid var(--border-hi);
    background: rgba(255, 255, 255, 0.05);
    color: var(--t2);
    cursor: pointer;
    transition: all var(--t-fast) var(--ease);
  }

  .mobile-nav-theme-btn:hover {
    background: var(--border);
    color: var(--t1);
  }

  .mobile-nav-theme-btn .theme-icon {
    display: none;
  }

  .mobile-nav-theme-btn .theme-icon-moon {
    display: block;
  }

  [data-theme="light"] .mobile-nav-theme-btn .theme-icon-moon {
    display: none;
  }

  [data-theme="light"] .mobile-nav-theme-btn .theme-icon-sun {
    display: block;
  }

  /* Close (X) button inside mobile nav header */
  .mobile-nav-close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--r-pill);
    border: 1px solid var(--border-hi);
    background: rgba(255, 255, 255, 0.05);
    color: var(--t2);
    cursor: pointer;
    transition: all var(--t-fast) var(--ease);
  }

  .mobile-nav-close-btn:hover {
    background: var(--border);
    color: var(--t1);
  }

  /* Nav items body area */
  .mobile-nav-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: var(--sp-4) var(--sp-4) var(--sp-8);
    flex: 1;
  }

  /* Larger nav links inside full-screen menu */
  .mobile-nav-body .mobile-nav-link {
    font-size: 1.2rem;
    font-weight: 600;
    padding: 0.9rem var(--sp-4);
    border-radius: var(--r-md);
    color: var(--t1);
  }

  .mobile-nav-body .mobile-cta {
    margin-top: var(--sp-4);
    justify-content: center;
    font-size: var(--fs-body);
  }

  /* Scale hero visual further down for mobile screens to fix overflow */
  .hero-mockup-wrap {
    transform: scale(0.55);
    margin-bottom: -28%;
  }

  .hero-inner {
    padding: var(--sp-6) 0;
  }

  .trust-row {
    gap: var(--sp-3);
  }

  .trust-divider {
    display: none;
  }

  /* Service cards: single column, maintain true card feel */
  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
  }

  .case-studies-grid {
    grid-template-columns: 1fr;
  }

  .case-card-featured {
    grid-column: 1;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testi-card:last-child {
    display: flex;
  }

  .testi-card:nth-child(2) {
    display: none;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-actions a {
    justify-content: center;
  }

  .cta-trust {
    flex-direction: column;
    gap: var(--sp-2);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-10);
  }

  .footer-brand-col {
    padding-bottom: var(--sp-6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .footer-brand-col,
  .footer-newsletter-col {
    grid-column: 1;
  }

  .footer-newsletter-col {
    padding-top: var(--sp-2);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .newsletter-input-wrap button {
    width: 48px;
    height: 48px;
  }

  .newsletter-input-wrap input {
    padding: 0.85rem var(--sp-4);
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .metric-card {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta-group a {
    justify-content: center;
  }

  .stat-num {
    font-size: 1.625rem;
  }

  /* Tighter scale for small phones — all 4 cards still visible */
  .hero-mockup-wrap {
    transform: scale(0.58);
    margin-bottom: -24%;
  }
}



.mobile-theme-label {
  font-size: var(--fs-small);
  color: var(--t3);
  font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════
   BRANDS / PARTNERS MARQUEE SECTION
   ═══════════════════════════════════════════════════════════ */

.brands-section {
  padding: var(--sp-14) 0 var(--sp-12);
  overflow: hidden;
  position: relative;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Subtle radial glow behind the section */
.brands-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, 100%);
  height: 100%;
  background: radial-gradient(ellipse 60% 80% at 50% 50%,
      rgba(198, 161, 74, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Header ── */
.brands-header {
  text-align: center;
  margin-bottom: var(--sp-10);
  padding: 0 var(--sp-6);
}

.brands-title {
  font-size: clamp(1.7rem, 3.5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--t1);
  margin: var(--sp-2) 0 var(--sp-3);
  letter-spacing: -0.03em;
}

.brands-sub {
  font-size: var(--fs-body);
  color: var(--t3);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── Outer wrapper — contains track + gradient fades ── */
.brands-track-wrap {
  position: relative;
  overflow: hidden;
  margin-bottom: var(--sp-4);
  /* Pause all child animations on hover */
  --marquee-play: running;
}

.brands-track-wrap:hover {
  --marquee-play: paused;
}

/* Edge gradient fades */
.brands-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 160px;
  z-index: 2;
  pointer-events: none;
}

.brands-fade-left {
  left: 0;
  background: linear-gradient(to right, var(--bg) 0%, transparent 100%);
}

.brands-fade-right {
  right: 0;
  background: linear-gradient(to left, var(--bg) 0%, transparent 100%);
}

/* ── Scrolling track ── */
.brands-track {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  width: max-content;
  animation: brands-scroll-left 38s linear infinite;
  animation-play-state: var(--marquee-play);
  padding: var(--sp-3) 0;
}

.brands-track-reverse {
  animation-name: brands-scroll-right;
  animation-duration: 42s;
}

@keyframes brands-scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes brands-scroll-right {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

/* ── Brand pill ── */
.brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  white-space: nowrap;
  cursor: default;
  transition: background 0.25s, border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.brand-pill:hover {
  background: var(--surface-raised);
  border-color: var(--accent);
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 24px rgba(198, 161, 74, 0.18);
}


/* Brand icon badge — small coloured rounded square with initials */
.bico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: #888;
  /* overridden by inline style */
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  flex-shrink: 0;
  letter-spacing: 0;
  line-height: 1;
}

/* Brand name text */
.bname {
  font-size: 13px;
  font-weight: 600;
  color: var(--t1);
  white-space: nowrap;
  letter-spacing: -0.01em;
}



/* ── Light-mode adjustments ── */
[data-theme="light"] .brands-section::before {
  background: radial-gradient(ellipse 60% 80% at 50% 50%,
      rgba(198, 161, 74, 0.06) 0%, transparent 70%);
}

[data-theme="light"] .brand-pill {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .brand-pill:hover {
  box-shadow: 0 8px 28px rgba(198, 161, 74, 0.22);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .brands-fade {
    width: 100px;
  }
}

@media (max-width: 768px) {
  .brands-section {
    padding: var(--sp-10) 0;
  }

  .brands-title {
    font-size: 1.5rem;
  }

  .brands-fade {
    width: 60px;
  }

  .brand-pill {
    padding: 8px 14px;
    gap: 8px;
  }

  .brands-track {
    gap: var(--sp-3);
  }
}

/* Respect reduced-motion */
@media (prefers-reduced-motion: reduce) {

  .brands-track,
  .brands-track-reverse {
    animation: none;
  }

  .brands-track-wrap {
    overflow-x: auto;
  }
}