
/* New Landing Page Styles - Navigation Only */

/* Base Styles */
html {
    overflow-y: scroll !important;
    overflow-x: hidden !important;
    height: 100% !important;
}

body {
    font-family: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-y: visible !important;
    overflow-x: hidden !important;
    min-height: 100% !important;
    position: relative !important;
    transform: none !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Landing atmosphere: 52×52 green grid — soft top glow, visible through white sections */
body.landing-frosted-hero {
    background-color: #ffffff;
    background-image: none;
}

body.landing-frosted-hero::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-color: transparent;
    background-image:
        radial-gradient(ellipse 85% 45% at 50% 0%, rgba(41, 92, 81, 0.05), transparent 70%),
        linear-gradient(to right, rgba(45, 140, 115, 0.07) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(45, 140, 115, 0.07) 1px, transparent 1px);
    background-size: auto, 52px 52px, 52px 52px;
    background-position: 0 0, 0 0, 0 0;
    /* Fade only in the lower viewport — grid stays fixed while page scrolls */
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 55%, rgba(0, 0, 0, 0.45) 75%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 55%, rgba(0, 0, 0, 0.45) 75%, transparent 100%);
}

body.landing-frosted-hero > *:not(.demo-modal-overlay):not(.demo-success-overlay):not(#demoRequestModal):not(#demoSuccessPopup):not(#dashboardModal):not(#safari-chrome-tint) {
    position: relative;
    z-index: 1;
}

/* Keep overlay modals viewport-fixed (must win over the rule above) */
body.landing-frosted-hero > .demo-modal-overlay,
body.landing-frosted-hero > .demo-success-overlay,
body.landing-frosted-hero > #demoRequestModal,
body.landing-frosted-hero > #demoSuccessPopup,
body.landing-frosted-hero > #dashboardModal {
    position: fixed !important;
    inset: 0 !important;
    z-index: 99999 !important;
}

body.landing-frosted-hero .hero-section,
body.landing-frosted-hero .trusted-by-section,
body.landing-frosted-hero .journey-section,
body.landing-frosted-hero .testimonials-section,
body.landing-frosted-hero #resultsSection,
body.landing-frosted-hero .faq-section,
body.landing-frosted-hero #faqSection,
body.landing-frosted-hero #pricingSection,
body.landing-frosted-hero .solutions-hero-single,
body.landing-frosted-hero .careers-white-section,
body.landing-frosted-hero .how-we-help-section,
body.landing-frosted-hero [class*="-how-we-help-section"],
body.landing-frosted-hero [class*="-cta-section"],
body.landing-frosted-hero > main,
body.landing-frosted-hero section.bg-white {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}

/* Keep intentional brand/color bands opaque on frosted pages */
body.landing-frosted-hero .careers-green-section,
body.landing-frosted-hero .revenue-drivers-section,
body.landing-frosted-hero [class*="-results-section"],
body.landing-frosted-hero section.bg-\[\#295c51\],
body.landing-frosted-hero section[style*="background-color: #295c51"],
body.landing-frosted-hero section[style*="background:#295c51"] {
    background-color: #295c51 !important;
    background-image: none !important;
}

body.landing-frosted-hero #landing-sticky-header,
body.landing-frosted-hero #main-navigation.landing-nav-frosted {
    background: transparent !important;
    background-color: transparent !important;
}

/* Scrolled sticky: chrome lives on the header pill — nav stays clear inside it */
body.landing-frosted-hero.landing-nav-scrolled #landing-sticky-header {
    background: #ffffff !important;
    background-color: #ffffff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.landing-frosted-hero.landing-nav-scrolled #main-navigation.landing-nav-frosted {
    background: transparent !important;
    background-color: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

/* All Titles - Plus Jakarta Sans */
h1, h2, h3, h4, h5, h6,
.hero-headline,
.problems-section h2,
.problems-section h3 {
    font-family: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Landing news alert pill sits above sticky nav and scrolls away */
#landing-sticky-header {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

/* Navigation Fixes */
nav {
    position: relative;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95);
}

/* Combined sticky header wrapper */
#sticky-header-wrapper {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Ensure no parent containers break sticky */
html {
    overflow-x: hidden !important;
    overflow-y: visible !important;
    height: 100% !important;
}

body {
    overflow-x: hidden !important;
    overflow-y: visible !important;
    position: relative !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Ensure sections don't break sticky positioning */
section {
    position: relative;
    overflow: visible !important;
}

/* Trusted by section should not break sticky */
.trusted-by-section {
    position: relative !important;
    overflow: visible !important;
    z-index: auto !important;
}


/* Navigation is sticky - only header sticks, alert bar scrolls away */
#main-navigation {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    width: 100% !important;
    margin: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-top: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
}

/*
 * Outer shell pad. CTA is shorter than the logo, so visual top/bottom air
 * around Dashboard is ~0.875rem — end-rail padding makes the side gap match
 * without stretching the button.
 */
#main-navigation > div {
    padding: 0.5rem !important;
}

#main-navigation .get-started-nav-btn {
    /* Intrinsic size only — do not stretch to fill the bar */
    align-self: center;
    height: auto;
    flex: 0 0 auto;
}

/* Navigation centering fix */
nav > div {
    position: relative;
}

/* Center navigation items - absolute positioning at true center of container */
.nav-center-menu {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
    pointer-events: auto;
    z-index: 20;
    display: none; /* Hidden by default on mobile */
    align-items: center;
    gap: 0;
}

/* Show navigation menu on medium screens and up */
@media (min-width: 768px) {
    .nav-center-menu {
        display: flex;
    }
}

/*
 * Equal nav spacing: no per-item margin.
 * Horizontal rhythm lives only on .landing-nav-item padding so
 * Product ↔ Solutions (and every other pair) share the same gap,
 * and mega wrappers stay hoverable edge-to-edge (no flash).
 */
.nav-center-menu > a,
.nav-center-menu > div {
    margin: 0;
    padding: 0.5rem 0;
    display: inline-flex;
    align-items: center;
    flex-direction: row;
}

.nav-center-menu > .product-menu-wrapper,
.nav-center-menu > .solutions-menu-wrapper,
.nav-center-menu > .hiring-menu-wrapper {
    margin: 0;
    padding: 0.5rem 0;
    box-sizing: border-box;
}

/* Ensure parent container allows proper centering */
nav > div > div.flex {
    position: relative;
    width: 100%;
}

/* Smooth transitions for navigation items */
nav a {
    transition: color 0.2s ease-in-out;
}

/* Logo above mega menus when open; don't let the left rail block center nav */
.nav-logo-wrapper {
    position: relative;
    z-index: 21;
}

body.product-mega-open .nav-logo-wrapper,
body.solutions-mega-open .nav-logo-wrapper,
body.hiring-mega-open .nav-logo-wrapper {
    z-index: 1001;
}

/*
 * Balance left (logo) ↔ right (CTAs): equal flex rails so the absolute
 * center nav sits true-center. Keep CTAs full size; strengthen the logo.
 *
 * Rails must not steal hover from the center mega triggers — they span
 * half the bar each. Pass clicks through; re-enable on real controls.
 */
#main-navigation .landing-nav-bar {
    width: 100%;
    min-height: 3.5rem;
}

#main-navigation .nav-side {
    display: flex;
    align-items: center;
    flex: 1 1 0;
    min-width: 0;
    z-index: 20;
    pointer-events: none;
}

#main-navigation .nav-side--left {
    justify-content: flex-start;
    /* +0.375rem → total left inset ≈ visual T/B around CTA */
    padding-left: 0.375rem;
}

#main-navigation .nav-side--right {
    justify-content: flex-end;
    gap: 0.5rem;
    /* +0.375rem → total right inset ≈ visual T/B around CTA */
    padding-right: 0.375rem;
}

#main-navigation .nav-side > *,
#main-navigation .nav-side a,
#main-navigation .nav-side button {
    pointer-events: auto;
}

#main-navigation .nav-center-menu {
    z-index: 30;
}

#main-navigation .nav-logo-img {
    display: block;
    height: 3.25rem;
    width: auto;
}

@media (max-width: 767px) {
    #main-navigation .nav-side--left,
    #main-navigation .nav-side--right {
        flex: 0 0 auto;
        pointer-events: auto;
    }

    #main-navigation .nav-logo-img {
        height: 2.75rem;
    }
}

/* Mega wrappers */
.product-menu-wrapper,
.solutions-menu-wrapper,
.hiring-menu-wrapper {
    position: static;
    display: inline-block;
}

/*
 * Active / open nav highlight — keep original type size/weight look.
 * Soft mint wash only; no smaller fonts or tight pill padding.
 */
#main-navigation .landing-nav-item {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.85rem;
    margin: 0;
    border-radius: 999px;
    color: #000000 !important;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    text-decoration: none !important;
    background-color: transparent;
    border: 0;
    box-shadow: none;
    white-space: nowrap;
    transition: background-color 0.15s ease, color 0.15s ease;
}

#main-navigation .landing-nav-item svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    opacity: 1;
    transition: transform 0.15s ease, color 0.15s ease;
}

#main-navigation .landing-nav-item:hover {
    color: #111827 !important; /* gray-900, same as original hover */
    background-color: transparent;
}

/* Non-mega links (Pricing / Partners / Contact): match mega hover (mint + semibold) */
#main-navigation .nav-center-menu > a.landing-nav-item:hover {
    color: #295c51 !important;
    background-color: rgba(41, 92, 81, 0.08);
    transform: translateY(-1px);
    font-weight: 600;
}

#main-navigation .nav-center-menu > a.landing-nav-item {
    transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

#main-navigation .nav-center-menu > a.landing-nav-item.is-active:hover {
    background-color: rgba(41, 92, 81, 0.12);
    transform: none;
}

#main-navigation .landing-nav-item.is-active,
#main-navigation .landing-nav-item.is-mega-open,
body.product-mega-open:not(.mega-shell-closing) #main-navigation .product-menu-wrapper > .landing-nav-item,
body.solutions-mega-open:not(.mega-shell-closing) #main-navigation .solutions-menu-wrapper > .landing-nav-item,
body.hiring-mega-open:not(.mega-shell-closing) #main-navigation .hiring-menu-wrapper > .landing-nav-item,
body:not(.js-mega-menu-control) #main-navigation .product-menu-wrapper:hover > .landing-nav-item,
body:not(.js-mega-menu-control) #main-navigation .solutions-menu-wrapper:hover > .landing-nav-item,
body:not(.js-mega-menu-control) #main-navigation .hiring-menu-wrapper:hover > .landing-nav-item {
    color: #295c51 !important;
    background-color: rgba(41, 92, 81, 0.1);
    font-weight: 600;
}

#main-navigation .landing-nav-item.is-mega-open svg,
body.product-mega-open:not(.mega-shell-closing) #main-navigation .product-menu-wrapper > .landing-nav-item svg,
body.solutions-mega-open:not(.mega-shell-closing) #main-navigation .solutions-menu-wrapper > .landing-nav-item svg,
body.hiring-mega-open:not(.mega-shell-closing) #main-navigation .hiring-menu-wrapper > .landing-nav-item svg,
body:not(.js-mega-menu-control) #main-navigation .product-menu-wrapper:hover > .landing-nav-item svg,
body:not(.js-mega-menu-control) #main-navigation .solutions-menu-wrapper:hover > .landing-nav-item svg,
body:not(.js-mega-menu-control) #main-navigation .hiring-menu-wrapper:hover > .landing-nav-item svg {
    transform: rotate(180deg);
    color: #295c51;
}

/*
 * Shared landing content column — matches Tailwind max-w-7xl used by
 * hero/sections/footer so the nav shell + mega menus line up with body.
 * Shell radius matches the scrolled sticky pill curve (9999px on ~4.25rem bar).
 */
:root {
    --landing-content-max: 80rem;
    --landing-shell-radius: 2.125rem;
}

/* Product Mega Menu — floating card; hidden until open/hover */
.product-mega-menu {
    --product-mega-gap: 40px; /* vertical clearance only (not horizontal gutters) */
    --product-mega-top-offset: 4.75rem;
    position: absolute;
    left: 0;
    right: auto;
    top: 100%;
    /* Break out of centered nav triggers to the same column as page content */
    width: min(var(--landing-content-max), 100vw);
    max-width: var(--landing-content-max);
    height: calc((100dvh - var(--product-mega-top-offset) - var(--product-mega-gap)) * 0.919);
    max-height: calc((100dvh - var(--product-mega-top-offset) - var(--product-mega-gap)) * 0.919);
    margin-left: calc(-50vw + 50% + max(0px, (100vw - min(var(--landing-content-max), 100vw)) / 2));
    margin-right: 0;
    background: #ffffff;
    border: 1px solid rgba(41, 92, 81, 0.1);
    border-radius: var(--landing-shell-radius);
    box-shadow:
        0 24px 48px -20px rgba(12, 10, 9, 0.22),
        0 8px 20px -8px rgba(41, 92, 81, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
    z-index: 999;
    pointer-events: none;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    box-sizing: border-box;
}

/*
 * Mega open: block overscroll only — do NOT toggle overflow/padding.
 * Hiding the scrollbar (or adding padding-right) shifts the sticky nav.
 * Wheel/touch handlers already prevent page scroll while open.
 */
html.product-mega-scroll-lock {
    overscroll-behavior: none !important;
}

body.product-mega-open,
body.solutions-mega-open,
body.hiring-mega-open {
    overscroll-behavior: none !important;
}

/* Instant content swap when hopping Product ↔ Solutions (shell stays up) */
body.mega-menu-swapping .product-mega-menu,
body.mega-menu-swapping .solutions-mega-menu,
body.mega-menu-swapping .hiring-mega-menu {
    transition: none !important;
}

/* Invisible bridge so cursor can move into the card */
.product-mega-menu::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    height: 12px;
    background: transparent;
    pointer-events: auto;
}

/*
 * Page dim behind Product mega.
 * Bottom dark → top fades to white (clear gutters near the nav).
 */
.product-mega-scrim {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    top: var(--product-mega-scrim-top, 0px) !important;
    z-index: 1040 !important;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    background-color: transparent !important;
    background-image: linear-gradient(
        to top,
        rgba(12, 10, 9, 0.72) 0%,
        rgba(12, 10, 9, 0.48) 28%,
        rgba(12, 10, 9, 0.22) 55%,
        rgba(12, 10, 9, 0.08) 78%,
        rgba(255, 255, 255, 0) 100%
    ) !important;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.product-mega-scrim.is-visible {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    cursor: default;
}

body.product-mega-open .product-mega-scrim {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

/* Keep news/alerts bar above the scrim */
body.product-mega-open #news-alert-bar {
    position: relative;
    z-index: 1060 !important;
}

/*
 * Desktop shell matches landing body column (max-w-7xl / 80rem), centered.
 * Width/margin stay stable so open/close only toggles chrome (no navbar shift).
 * Transparent 1px border + top radius reserved always so open doesn't add layout.
 */
@media (min-width: 768px) {
    #landing-sticky-header {
        --product-mega-gap: 40px;
        width: 100% !important;
        max-width: var(--landing-content-max, 80rem) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        left: auto !important;
        right: auto !important;
        box-sizing: border-box !important;
        border: 1px solid transparent !important;
        border-bottom: 0 !important;
        border-radius: var(--landing-shell-radius) var(--landing-shell-radius) 0 0 !important;
    }
}

/*
 * Scrolled sticky: big white pill (floating). Mega-open overrides this to the
 * shared shell (top radius only) so the panel can attach flush underneath.
 */
body.landing-nav-scrolled:not(.product-mega-open):not(.solutions-mega-open):not(.hiring-mega-open) #landing-sticky-header,
body.landing-frosted-hero.landing-nav-scrolled:not(.product-mega-open):not(.solutions-mega-open):not(.hiring-mega-open) #landing-sticky-header {
    top: 0.75rem !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    border-radius: 9999px !important;
    box-shadow:
        0 10px 28px -14px rgba(12, 10, 9, 0.22),
        0 2px 8px rgba(12, 10, 9, 0.04) !important;
    z-index: 1000 !important;
    overflow: hidden !important;
}

body.landing-nav-scrolled:not(.product-mega-open):not(.solutions-mega-open):not(.hiring-mega-open) #landing-sticky-header #main-navigation,
body.landing-nav-scrolled:not(.product-mega-open):not(.solutions-mega-open):not(.hiring-mega-open) #landing-sticky-header #main-navigation.landing-nav-frosted,
body.landing-frosted-hero.landing-nav-scrolled:not(.product-mega-open):not(.solutions-mega-open):not(.hiring-mega-open) #landing-sticky-header #main-navigation,
body.landing-frosted-hero.landing-nav-scrolled:not(.product-mega-open):not(.solutions-mega-open):not(.hiring-mega-open) #landing-sticky-header #main-navigation.landing-nav-frosted {
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    border-bottom: none !important;
    box-shadow: none !important;
    border-radius: 9999px !important;
}

@media (max-width: 767px) {
    /* Keep non-sticky + sticky shell width identical so logo/hamburger don't shift */
    #landing-sticky-header {
        width: calc(100% - 1rem) !important;
        max-width: calc(100% - 1rem) !important;
        margin-left: 0.5rem !important;
        margin-right: 0.5rem !important;
        box-sizing: border-box !important;
    }

    body.landing-nav-scrolled:not(.product-mega-open):not(.solutions-mega-open):not(.hiring-mega-open) #landing-sticky-header,
    body.landing-frosted-hero.landing-nav-scrolled:not(.product-mega-open):not(.solutions-mega-open):not(.hiring-mega-open) #landing-sticky-header {
        top: 0.5rem !important;
        width: calc(100% - 1rem) !important;
        max-width: calc(100% - 1rem) !important;
        margin-left: 0.5rem !important;
        margin-right: 0.5rem !important;
        border-radius: 9999px !important;
    }
}

/*
 * Unified shell chrome (open only): white fill + visible border color.
 * Do NOT reset top to 0 — keep scrolled pill offset so mega opens in place.
 */
body.product-mega-open:not(.mega-shell-closing) #landing-sticky-header,
body.solutions-mega-open:not(.mega-shell-closing) #landing-sticky-header,
body.hiring-mega-open:not(.mega-shell-closing) #landing-sticky-header,
body:not(.js-mega-menu-control):has(.product-menu-wrapper:hover) #landing-sticky-header,
body:not(.js-mega-menu-control):has(.solutions-menu-wrapper:hover) #landing-sticky-header,
body:not(.js-mega-menu-control):has(.hiring-menu-wrapper:hover) #landing-sticky-header {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border-color: rgba(15, 23, 42, 0.08) !important;
    border-bottom-color: transparent !important;
    border-bottom-width: 0 !important;
    border-radius: var(--landing-shell-radius) var(--landing-shell-radius) 0 0 !important;
    box-shadow: none !important;
    z-index: 1050 !important;
    overflow: visible !important;
    transition: none !important;
}

/* Scrolled + mega: stay at the same floating offset as the sticky pill */
body.landing-nav-scrolled.product-mega-open:not(.mega-shell-closing) #landing-sticky-header,
body.landing-nav-scrolled.solutions-mega-open:not(.mega-shell-closing) #landing-sticky-header,
body.landing-nav-scrolled.hiring-mega-open:not(.mega-shell-closing) #landing-sticky-header,
body.landing-frosted-hero.landing-nav-scrolled.product-mega-open:not(.mega-shell-closing) #landing-sticky-header,
body.landing-frosted-hero.landing-nav-scrolled.solutions-mega-open:not(.mega-shell-closing) #landing-sticky-header,
body.landing-frosted-hero.landing-nav-scrolled.hiring-mega-open:not(.mega-shell-closing) #landing-sticky-header {
    top: 0.75rem !important;
}
@media (max-width: 767px) {
    body.landing-nav-scrolled.product-mega-open:not(.mega-shell-closing) #landing-sticky-header,
    body.landing-nav-scrolled.solutions-mega-open:not(.mega-shell-closing) #landing-sticky-header,
    body.landing-nav-scrolled.hiring-mega-open:not(.mega-shell-closing) #landing-sticky-header,
    body.landing-frosted-hero.landing-nav-scrolled.product-mega-open:not(.mega-shell-closing) #landing-sticky-header,
    body.landing-frosted-hero.landing-nav-scrolled.solutions-mega-open:not(.mega-shell-closing) #landing-sticky-header,
    body.landing-frosted-hero.landing-nav-scrolled.hiring-mega-open:not(.mega-shell-closing) #landing-sticky-header {
        top: 0.5rem !important;
    }
}

/* Close at page top: snap white chrome off. When scrolled, keep the sticky pill (see below). */
body.mega-shell-closing:not(.landing-nav-scrolled) #landing-sticky-header,
body.mega-shell-closing.landing-frosted-hero:not(.landing-nav-scrolled) #landing-sticky-header,
body.mega-shell-closing:not(.landing-nav-scrolled) #landing-sticky-header #main-navigation,
body.mega-shell-closing:not(.landing-nav-scrolled) #landing-sticky-header #main-navigation.landing-nav-frosted,
body.mega-shell-closing.landing-frosted-hero:not(.landing-nav-scrolled) #landing-sticky-header #main-navigation.landing-nav-frosted {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border-color: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
    z-index: 1000 !important;
    transition: none !important;
}

/* Close while scrolled: restore sticky white pill immediately (no blank flash) */
body.mega-shell-closing.landing-nav-scrolled #landing-sticky-header,
body.mega-shell-closing.landing-frosted-hero.landing-nav-scrolled #landing-sticky-header {
    top: 0.75rem !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    border-radius: 9999px !important;
    box-shadow:
        0 10px 28px -14px rgba(12, 10, 9, 0.22),
        0 2px 8px rgba(12, 10, 9, 0.04) !important;
    z-index: 1000 !important;
    overflow: hidden !important;
    transition: none !important;
}
body.mega-shell-closing.landing-nav-scrolled #landing-sticky-header #main-navigation,
body.mega-shell-closing.landing-nav-scrolled #landing-sticky-header #main-navigation.landing-nav-frosted,
body.mega-shell-closing.landing-frosted-hero.landing-nav-scrolled #landing-sticky-header #main-navigation.landing-nav-frosted {
    background: transparent !important;
    background-color: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
    transition: none !important;
}
@media (max-width: 767px) {
    body.mega-shell-closing.landing-nav-scrolled #landing-sticky-header,
    body.mega-shell-closing.landing-frosted-hero.landing-nav-scrolled #landing-sticky-header {
        top: 0.5rem !important;
    }
}

body.product-mega-open:not(.mega-shell-closing) #landing-sticky-header #main-navigation,
body.product-mega-open:not(.mega-shell-closing) #landing-sticky-header #main-navigation.landing-nav-frosted,
body.solutions-mega-open:not(.mega-shell-closing) #landing-sticky-header #main-navigation,
body.solutions-mega-open:not(.mega-shell-closing) #landing-sticky-header #main-navigation.landing-nav-frosted,
body.hiring-mega-open:not(.mega-shell-closing) #landing-sticky-header #main-navigation,
body.hiring-mega-open:not(.mega-shell-closing) #landing-sticky-header #main-navigation.landing-nav-frosted,
body:not(.js-mega-menu-control):has(.product-menu-wrapper:hover) #landing-sticky-header #main-navigation,
body:not(.js-mega-menu-control):has(.product-menu-wrapper:hover) #landing-sticky-header #main-navigation.landing-nav-frosted,
body:not(.js-mega-menu-control):has(.solutions-menu-wrapper:hover) #landing-sticky-header #main-navigation,
body:not(.js-mega-menu-control):has(.solutions-menu-wrapper:hover) #landing-sticky-header #main-navigation.landing-nav-frosted,
body:not(.js-mega-menu-control):has(.hiring-menu-wrapper:hover) #landing-sticky-header #main-navigation,
body:not(.js-mega-menu-control):has(.hiring-menu-wrapper:hover) #landing-sticky-header #main-navigation.landing-nav-frosted {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    border: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    border-radius: var(--landing-shell-radius) var(--landing-shell-radius) 0 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transition: none !important;
}

body.product-mega-open .product-mega-menu,
body.solutions-mega-open .solutions-mega-menu,
body.hiring-mega-open .hiring-mega-menu,
body:not(.js-mega-menu-control):has(.product-menu-wrapper:hover) .product-mega-menu,
body:not(.js-mega-menu-control):has(.solutions-menu-wrapper:hover) .solutions-mega-menu,
body:not(.js-mega-menu-control):has(.hiring-menu-wrapper:hover) .hiring-mega-menu {
    top: 100% !important;
    margin-top: -1px !important;
    border-radius: 0 0 var(--landing-shell-radius) var(--landing-shell-radius) !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    border-top: 0 !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    margin-left: 0 !important;
    box-shadow: 0 24px 48px -20px rgba(12, 10, 9, 0.18) !important;
    z-index: 1049 !important;
    transition: opacity 0.22s ease, transform 0.22s ease !important;
}

body.product-mega-open .product-mega-menu::before,
body:not(.js-mega-menu-control):has(.product-menu-wrapper:hover) .product-mega-menu::before,
body.solutions-mega-open .solutions-mega-menu::before,
body:not(.js-mega-menu-control):has(.solutions-menu-wrapper:hover) .solutions-mega-menu::before,
body.hiring-mega-open .hiring-mega-menu::before,
body:not(.js-mega-menu-control):has(.hiring-menu-wrapper:hover) .hiring-mega-menu::before {
    height: 0 !important;
}

body.product-mega-open #landing-sticky-header::after,
body.solutions-mega-open #landing-sticky-header::after,
body.hiring-mega-open #landing-sticky-header::after {
    display: none !important;
    content: none !important;
}

body.solutions-mega-open .product-mega-scrim,
body.product-mega-open .product-mega-scrim,
body.hiring-mega-open .product-mega-scrim {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

body.solutions-mega-open #news-alert-bar,
body.hiring-mega-open #news-alert-bar {
    position: relative;
    z-index: 1060 !important;
}

/* Mega menu content - centered with max width */
.mega-menu-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2.5rem 0;
    width: 100%;
    box-sizing: border-box;
}

/* Product mega panel — fill available menu height; side pad matches nav shell */
.product-mega-menu .product-mega-panel {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
    padding: 1rem 1rem 1rem;
    max-width: none;
    box-sizing: border-box;
    background: #ffffff;
}
@media (min-width: 768px) {
    .product-mega-menu .product-mega-panel {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}
@media (min-width: 1024px) {
    .product-mega-menu .product-mega-panel {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

/* ——— Product mega bento ——— */
.product-mega-bento {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    /* Top row keeps prior share; 2nd row ~15% shorter → overall mega is shorter */
    grid-template-rows: minmax(248px, 0.88fr) minmax(0, 0.958fr);
    gap: 0.6rem;
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    align-items: stretch;
}

.product-mega-tile--messaging {
    grid-column: 5 / 9;
    grid-row: 1;
}

.product-mega-mid {
    grid-column: 9 / 13;
    grid-row: 1;
    min-width: 0;
    min-height: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    gap: 0.5rem;
}

.product-mega-mid .product-mega-tile {
    flex: 1 1 0;
    min-height: 0;
}

.product-mega-lottie {
    grid-column: 1 / 5;
    grid-row: 1;
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    background:
        radial-gradient(ellipse 85% 70% at 18% 12%, rgba(167, 243, 208, 0.22), transparent 55%),
        radial-gradient(ellipse 70% 60% at 92% 88%, rgba(15, 35, 28, 0.55), transparent 50%),
        linear-gradient(155deg, #3a7a6b 0%, #295c51 42%, #1a3f36 78%, #122820 100%);
    min-height: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.product-mega-lottie dotlottie-player,
.product-mega-lottie #product-mega-lottie {
    width: 70%;
    height: 70%;
    max-width: none;
    max-height: none;
    min-height: 0;
    display: block;
    flex-shrink: 0;
}

.product-mega-lottie-caption {
    position: absolute;
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.85rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.65rem 0.75rem;
    border-radius: 0.75rem;
    background: rgba(15, 35, 28, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    pointer-events: none;
}

.product-mega-lottie-eyebrow {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #a7f3d0;
}

.product-mega-lottie-line {
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #ffffff;
    line-height: 1.2;
}

.product-mega-tools {
    grid-column: 1 / 9;
    grid-row: 2;
    min-width: 0;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
    gap: 0.5rem;
    padding: 0.75rem 0.8rem;
    border-radius: 1rem;
    background: linear-gradient(165deg, #f4faf7 0%, #eef6f2 100%);
    border: 1px solid rgba(41, 92, 81, 0.1);
}

.product-mega-tools-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    flex-shrink: 0;
}

.product-mega-tools-tagline {
    margin: 0;
    font-size: 0.7rem;
    color: #64748b;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-mega-integ {
    grid-column: 9 / 13;
    grid-row: 2;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    height: 100%;
    min-height: 0;
    gap: 0.4rem;
    padding: 0.7rem 0.75rem;
    border-radius: 1rem;
    background:
        radial-gradient(ellipse 80% 55% at 90% 0%, rgba(167, 243, 208, 0.18), transparent 55%),
        linear-gradient(160deg, #122821 0%, #1f3f34 50%, #295c51 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    overflow: hidden;
    position: relative;
}

.product-mega-integ-head {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    flex-shrink: 0;
}

.product-mega-integ-head-copy {
    display: flex;
    flex-direction: column;
    gap: 0.08rem;
    min-width: 0;
}

.product-mega-section-label--on-dark {
    color: rgba(167, 243, 208, 0.9);
}

.product-mega-integ-tagline {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #ffffff;
    line-height: 1.2;
}

.product-mega-integ-live {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    flex-shrink: 0;
    padding: 0.2rem 0.45rem;
    border-radius: 999px;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #a7f3d0;
    background: rgba(167, 243, 208, 0.12);
    border: 1px solid rgba(167, 243, 208, 0.25);
}

.product-mega-integ-live-dot {
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 999px;
    background: #34d399;
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55);
    animation: product-mega-live-ping 1.8s ease-out infinite;
}

.product-mega-integ-stage {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.product-mega-integ-orbit {
    position: absolute;
    right: -0.5rem;
    top: 40%;
    transform: translateY(-50%);
    width: 4.75rem;
    height: 4.75rem;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.28;
    z-index: 0;
}

.product-mega-integ-ring {
    position: absolute;
    border-radius: 999px;
    border: 1px dashed rgba(167, 243, 208, 0.4);
}

.product-mega-integ-ring--a {
    width: 100%;
    aspect-ratio: 1;
    animation: product-mega-orbit-spin 22s linear infinite;
}

.product-mega-integ-ring--b {
    width: 68%;
    aspect-ratio: 1;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.14);
    animation: product-mega-orbit-spin 14s linear infinite reverse;
}

.product-mega-integ-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 0.4rem;
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
}

.product-mega-integ-tile {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
    min-height: 0;
    padding: 0.5rem 0.55rem;
    border-radius: 0.7rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none !important;
    color: #ffffff;
    transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
    box-sizing: border-box;
}

.product-mega-integ-tile:nth-child(5) {
    grid-column: 1 / -1;
}

.product-mega-integ-tile:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(167, 243, 208, 0.45);
    transform: translateY(-1px);
}

.product-mega-integ-mark {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 0.55rem;
    background: rgba(0, 0, 0, 0.28);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-mega-integ-mark svg {
    width: 1.15rem;
    height: 1.15rem;
}

.product-mega-integ-tile-copy {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.product-mega-integ-name {
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #ffffff;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-mega-integ-meta {
    font-size: 0.7rem;
    color: rgba(226, 232, 240, 0.78);
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.product-mega-integ-soon {
    display: inline-flex;
    align-items: center;
    padding: 0.08rem 0.35rem;
    border-radius: 999px;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #163229;
    background: #a7f3d0;
}

/* Feature tiles */
.product-mega-tile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    padding: 0.7rem 0.8rem;
    border-radius: 1rem;
    border: 1px solid rgba(41, 92, 81, 0.1);
    background: #ffffff;
    text-decoration: none !important;
    color: #0f172a;
    transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
    box-sizing: border-box;
    min-width: 0;
    overflow: hidden;
}

.product-mega-tile--messaging {
    background: linear-gradient(165deg, #e8f5ef 0%, #ffffff 48%, #f7fbf9 100%);
    border-color: rgba(41, 92, 81, 0.16);
    justify-content: space-between;
    padding: 0.65rem;
    gap: 0.5rem;
}

.product-mega-tile-foot {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    width: 100%;
    flex-shrink: 0;
}

.product-mega-tile--messaging .product-mega-title {
    font-size: 0.95rem;
    font-weight: 750;
    letter-spacing: -0.03em;
}

.product-mega-tile--messaging .product-mega-desc {
    font-size: 0.7rem;
    max-width: 100%;
    color: #475569;
}

/* Mini WhatsApp conversation — fills the old empty space with product energy */
.product-mega-chat {
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 0.75rem;
    background: linear-gradient(180deg, #dcf8c6 0%, #ece5dd 38%, #e5ddd5 100%);
    border: 1px solid rgba(41, 92, 81, 0.12);
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.product-mega-chat-bar {
    display: flex;
    align-items: center;
    gap: 0.28rem;
    padding: 0.35rem 0.55rem;
    background: #075e54;
    color: #ffffff;
}

.product-mega-chat-dot {
    width: 0.35rem;
    height: 0.35rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
}

.product-mega-chat-label {
    margin-left: auto;
    font-size: 0.55rem;
    font-weight: 650;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.9;
}

.product-mega-chat-thread {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.35rem;
    padding: 0.55rem 0.55rem 0.6rem;
}

.product-mega-bubble {
    max-width: 88%;
    padding: 0.35rem 0.55rem;
    border-radius: 0.65rem;
    font-size: 0.65rem;
    line-height: 1.35;
    letter-spacing: -0.01em;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.product-mega-bubble--in {
    align-self: flex-start;
    background: #ffffff;
    color: #0f172a;
    border-bottom-left-radius: 0.2rem;
    animation: product-mega-bubble-in 0.5s ease both;
}

.product-mega-bubble--out {
    align-self: flex-end;
    background: #dcf8c6;
    color: #0f172a;
    border-bottom-right-radius: 0.2rem;
    animation: product-mega-bubble-in 0.5s ease 0.25s both;
}

.product-mega-bubble--rich {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 0.4rem 0.45rem 0.4rem;
    max-width: 92%;
    min-width: 0;
}

.product-mega-bubble-text {
    padding: 0 0.1rem;
}

.product-mega-bubble-text strong {
    font-weight: 750;
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
}

.product-mega-bubble-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.38rem 0.5rem;
    border-radius: 0.45rem;
    background: #ffffff;
    border: 1px solid rgba(7, 94, 84, 0.16);
    color: #027eb5;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.2;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.product-mega-bubble--typing {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.45rem 0.6rem;
    animation: product-mega-bubble-in 0.5s ease 0.55s both;
}

.product-mega-bubble--typing i {
    width: 0.28rem;
    height: 0.28rem;
    border-radius: 999px;
    background: #94a3b8;
    animation: product-mega-typing 1.1s ease-in-out infinite;
}

.product-mega-bubble--typing i:nth-child(2) { animation-delay: 0.15s; }
.product-mega-bubble--typing i:nth-child(3) { animation-delay: 0.3s; }

.product-mega-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: 0.35rem;
}

.product-mega-pills > span {
    display: inline-flex;
    align-items: center;
    padding: 0.12rem 0.4rem;
    border-radius: 999px;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #295c51;
    background: rgba(41, 92, 81, 0.1);
    border: 1px solid rgba(41, 92, 81, 0.12);
}

/* Mid-column feature tiles — compact, content-sized */
.product-mega-tile--campaigns,
.product-mega-tile--contacts,
.product-mega-tile--automation {
    flex-direction: row;
    align-items: center;
    gap: 0.55rem;
    padding: 0.7rem 0.8rem;
    overflow: hidden;
}

.product-mega-tile-copy {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    min-width: 0;
    flex: 1 1 auto;
}

.product-mega-stat {
    flex-shrink: 0;
    margin-left: auto;
    padding: 0.2rem 0.45rem;
    border-radius: 999px;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #295c51;
    background: #edf6f2;
    border: 1px solid rgba(41, 92, 81, 0.12);
    white-space: nowrap;
}

.product-mega-tile:hover {
    background: #edf6f2;
    border-color: rgba(41, 92, 81, 0.24);
    box-shadow: 0 10px 24px -14px rgba(41, 92, 81, 0.4);
    transform: translateY(-2px);
}

.product-mega-tile--messaging:hover {
    background: linear-gradient(165deg, #daf0e6 0%, #edf6f2 50%, #f4faf7 100%);
}

.product-mega-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 0.65rem;
    background: #e8f2ef;
    color: #295c51;
    flex-shrink: 0;
    margin-bottom: 0;
}

.product-mega-icon svg {
    width: 1.05rem;
    height: 1.05rem;
}

.product-mega-icon--campaigns { background: #dceee8; color: #1f3f34; }
.product-mega-icon--contacts { background: #e0f2fe; color: #0369a1; }
.product-mega-icon--automation { background: #ffedd5; color: #c2410c; }

.product-mega-kicker {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #295c51;
}

.product-mega-title {
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #0f172a;
    line-height: 1.2;
    width: 100%;
}

.product-mega-desc {
    font-size: 0.7rem;
    line-height: 1.35;
    color: #64748b;
    width: 100%;
}

.product-mega-section-label {
    margin: 0;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
    flex-shrink: 0;
}

.product-mega-tools-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.45rem;
    flex: 1 1 auto;
    align-content: stretch;
    min-height: 0;
    height: 100%;
}

.product-mega-tool {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0;
    padding: 1.05rem 0.95rem;
    border-radius: 0.95rem;
    border: 1px solid rgba(41, 92, 81, 0.1);
    background: #ffffff;
    text-decoration: none !important;
    color: #0f172a;
    transition:
        border-color 0.22s ease,
        box-shadow 0.28s ease;
    min-width: 0;
    min-height: 0;
    height: 100%;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.product-mega-tool::after {
    content: '';
    position: absolute;
    inset: auto -20% -40% auto;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(41, 92, 81, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.28s ease;
    pointer-events: none;
    z-index: 0;
}

.product-mega-tool:hover,
.product-mega-tool:focus-visible {
    border-color: rgba(41, 92, 81, 0.24);
    box-shadow: 0 12px 28px -18px rgba(41, 92, 81, 0.38);
}

.product-mega-tool:hover::after,
.product-mega-tool:focus-visible::after {
    opacity: 1;
}

.product-mega-icon--tool {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 0.7rem;
    margin-bottom: 0;
    flex-shrink: 0;
}

.product-mega-icon--tool svg {
    width: 1.15rem;
    height: 1.15rem;
}

.product-mega-tool--ai .product-mega-icon--tool { background: #fef3c7; color: #b45309; }
.product-mega-tool--booking .product-mega-icon--tool { background: #dceee8; color: #1f3f34; }
.product-mega-tool--leads .product-mega-icon--tool { background: #dcfce7; color: #15803d; }
.product-mega-tool--drip .product-mega-icon--tool { background: #e0f2fe; color: #0369a1; }

.product-mega-tool-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
    width: 100%;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.product-mega-tool-copy {
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    min-width: 0;
    width: 100%;
}

.product-mega-tool-title {
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0f172a;
    line-height: 1.25;
}

.product-mega-tool-desc {
    font-size: 0.7rem;
    color: #64748b;
    line-height: 1.4;
}

/* Single animated property: pills row 0fr→1fr. Head rides up via flex-end. */
.product-mega-tool-points {
    display: grid;
    grid-template-rows: 0fr;
    width: 100%;
    flex-shrink: 0;
    opacity: 0;
    position: relative;
    z-index: 1;
    transition:
        grid-template-rows 0.38s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.22s ease;
}

.product-mega-tool:hover .product-mega-tool-points,
.product-mega-tool:focus-visible .product-mega-tool-points {
    grid-template-rows: 1fr;
    opacity: 1;
}

.product-mega-tool-points-inner {
    overflow: hidden;
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
    padding-top: 0.75rem; /* clipped when collapsed — no padding animation */
}

.product-mega-tool-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    padding: 0.28rem 0.4rem;
    border-radius: 999px;
    font-size: 0.62rem;
    font-weight: 650;
    letter-spacing: -0.01em;
    line-height: 1.25;
    color: #1f3f34;
    background: #edf6f2;
    border: 1px solid rgba(41, 92, 81, 0.12);
    white-space: nowrap;
    min-width: 0;
}

.product-mega-tool--ai .product-mega-tool-pill { background: #fffbeb; color: #92400e; border-color: rgba(180, 83, 9, 0.15); }
.product-mega-tool--booking .product-mega-tool-pill { background: #edf6f2; color: #1f3f34; border-color: rgba(41, 92, 81, 0.14); }
.product-mega-tool--leads .product-mega-tool-pill { background: #ecfdf5; color: #166534; border-color: rgba(21, 128, 61, 0.15); }
.product-mega-tool--drip .product-mega-tool-pill { background: #eff6ff; color: #1e40af; border-color: rgba(3, 105, 161, 0.15); }

@media (prefers-reduced-motion: reduce) {
    .product-mega-tool,
    .product-mega-tool-points {
        transition: none !important;
    }
}

.product-mega-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.1rem 0.4rem;
    border-radius: 999px;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    background: #295c51;
    color: #ffffff !important;
    line-height: 1.3;
    vertical-align: middle;
}

.product-mega-badge--soft {
    background: #ffffff;
    color: #295c51 !important;
    border: 1px solid rgba(41, 92, 81, 0.18);
}

.product-mega-proof {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.55rem;
    flex-shrink: 0;
    padding: 0.5rem 0.8rem;
    border-radius: 0.85rem;
    background: linear-gradient(90deg, #edf6f2 0%, #f5f9f7 55%, #ffffff 100%);
    border: 1px solid rgba(41, 92, 81, 0.12);
}

.product-mega-proof-avatar {
    flex-shrink: 0;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 999px;
    background: #295c51;
    color: #ffffff;
    font-size: 0.58rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.02em;
}

.product-mega-proof-body {
    min-width: 0;
    flex: 1 1 auto;
}

.product-mega-proof-quote {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.28;
    color: #1e293b;
    letter-spacing: -0.015em;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-mega-proof-meta {
    margin: 0.15rem 0 0;
    font-size: 0.7rem;
    color: #64748b;
}

.product-mega-proof-meta strong {
    color: #0f172a;
    font-weight: 650;
}

.product-mega-proof-cta {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: none;
    background: #295c51;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.15s ease;
    white-space: nowrap;
}

.product-mega-proof-cta:hover {
    background: #1f3f34;
    transform: translateY(-1px);
}

/* Staggered entrance when Product opens */
body.product-mega-open .product-mega-bento > [style*="--reveal"],
body.product-mega-open .product-mega-bento > .product-mega-tile,
body.product-mega-open .product-mega-bento > .product-mega-mid,
body.product-mega-open .product-mega-bento > .product-mega-lottie,
body.product-mega-open .product-mega-bento > .product-mega-tools,
body.product-mega-open .product-mega-bento > .product-mega-integ {
    animation: product-mega-reveal 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--reveal, 0) * 0.045s);
}

@keyframes product-mega-reveal {
    from { opacity: 0; transform: translateY(10px) scale(0.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes product-mega-bubble-in {
    from { opacity: 0; transform: translateY(6px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes product-mega-typing {
    0%, 80%, 100% { transform: translateY(0); opacity: 0.45; }
    40% { transform: translateY(-3px); opacity: 1; }
}

@keyframes product-mega-orbit-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes product-mega-live-ping {
    0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); }
    70% { box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); }
    100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .product-mega-integ-ring--a,
    .product-mega-integ-ring--b,
    .product-mega-integ-live-dot,
    .product-mega-bubble,
    .product-mega-bubble--typing i,
    body.product-mega-open .product-mega-bento > * {
        animation: none !important;
    }
}

@media (max-width: 1100px) {
    .product-mega-menu {
        --product-mega-gap: 24px;
    }

    .product-mega-tools-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .product-mega-tools {
        grid-column: 1 / -1;
    }

    .product-mega-integ {
        grid-column: 1 / -1;
    }

    .product-mega-tools-tagline {
        display: none;
    }
}

@media (max-width: 900px) {
    .product-mega-bento {
        grid-template-rows: auto auto;
    }

    .product-mega-tile--messaging,
    .product-mega-mid,
    .product-mega-lottie {
        grid-column: span 6;
        grid-row: auto;
    }

    .product-mega-tools,
    .product-mega-integ {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .product-mega-lottie {
        min-height: 140px;
        max-height: 160px;
    }

    .product-mega-tools-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-mega-tile--messaging {
        min-height: 220px;
    }

    .product-mega-mid {
        gap: 0.45rem;
    }
}

/* Show mega menu on hover - disabled when JS is controlling */
body:not(.js-mega-menu-control) .product-menu-wrapper:hover .product-mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Keep mega menu open when hovering over it - disabled when JS is controlling */
body:not(.js-mega-menu-control) .product-mega-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Hide solutions menu when product menu or mega menu is hovered - disabled when JS is controlling */
body:not(.js-mega-menu-control) .product-menu-wrapper:hover ~ .solutions-menu-wrapper .solutions-mega-menu,
body:not(.js-mega-menu-control) .product-mega-menu:hover ~ .solutions-menu-wrapper .solutions-mega-menu,
body:not(.js-mega-menu-control) .nav-center-menu:has(.product-menu-wrapper:hover) .solutions-mega-menu,
body:not(.js-mega-menu-control) .nav-center-menu:has(.product-mega-menu:hover) .solutions-mega-menu {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-10px) !important;
}

/* When JS is controlling, do not let CSS hover override JS open/close state */
body.js-mega-menu-control .product-menu-wrapper:hover .product-mega-menu,
body.js-mega-menu-control .product-mega-menu:hover,
body.js-mega-menu-control .solutions-menu-wrapper:hover .solutions-mega-menu,
body.js-mega-menu-control .solutions-mega-menu:hover,
body.js-mega-menu-control .product-menu-wrapper:hover ~ .solutions-menu-wrapper .solutions-mega-menu,
body.js-mega-menu-control .product-mega-menu:hover ~ .solutions-menu-wrapper .solutions-mega-menu,
body.js-mega-menu-control .solutions-menu-wrapper:hover ~ .product-menu-wrapper .product-mega-menu,
body.js-mega-menu-control .solutions-mega-menu:hover ~ .product-menu-wrapper .product-mega-menu,
body.js-mega-menu-control .nav-center-menu:has(.product-menu-wrapper:hover) .solutions-mega-menu,
body.js-mega-menu-control .nav-center-menu:has(.product-mega-menu:hover) .solutions-mega-menu,
body.js-mega-menu-control .nav-center-menu:has(.solutions-menu-wrapper:hover) .product-mega-menu,
body.js-mega-menu-control .nav-center-menu:has(.solutions-mega-menu:hover) .product-mega-menu {
    /* Intentionally empty — JS owns visibility via data-menu-state / inline styles */
}

/* Solutions Mega Menu — floating card shell (shared with Product), directory interior */
.solutions-mega-menu {
    --solutions-mega-gap: 40px;
    position: absolute;
    left: 0;
    right: auto;
    top: 100%;
    width: min(var(--landing-content-max), 100vw);
    max-width: var(--landing-content-max);
    max-height: min(78dvh, calc(100dvh - 5.5rem));
    margin-left: calc(-50vw + 50% + max(0px, (100vw - min(var(--landing-content-max), 100vw)) / 2));
    margin-right: 0;
    background: #ffffff;
    border: 1px solid rgba(41, 92, 81, 0.1);
    border-radius: var(--landing-shell-radius);
    box-shadow:
        0 24px 48px -20px rgba(12, 10, 9, 0.22),
        0 8px 20px -8px rgba(41, 92, 81, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
    z-index: 998;
    pointer-events: none;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    box-sizing: border-box;
}

/* Invisible bridge for Solutions menu */
.solutions-mega-menu::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    height: 12px;
    background: transparent;
    pointer-events: auto;
    z-index: 1;
}

.solutions-mega-menu .solutions-mega-panel {
    padding: 1rem 1rem 1rem;
    max-width: none;
    width: 100%;
    margin: 0;
    height: auto;
    box-sizing: border-box;
}
@media (min-width: 768px) {
    .solutions-mega-menu .solutions-mega-panel {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}
@media (min-width: 1024px) {
    .solutions-mega-menu .solutions-mega-panel {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

.solutions-mega {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 0;
    box-sizing: border-box;
    width: 100%;
}

.solutions-mega-head {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0 0.15rem;
}

.solutions-mega-kicker {
    margin: 0;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #295c51;
}

.solutions-mega-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 750;
    letter-spacing: -0.03em;
    color: #0f172a;
    line-height: 1.2;
}

.solutions-mega-sub {
    margin: 0.15rem 0 0;
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.4;
    max-width: 36rem;
}

.solutions-mega-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(11.5rem, 14.5rem);
    gap: 0.85rem;
    align-items: stretch;
    min-height: 0;
}

.solutions-mega-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
    min-width: 0;
}

.solutions-mega-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 0.65rem;
    padding: 0.7rem 0.75rem !important;
    margin: 0 !important;
    border-radius: 0.85rem;
    border: 1px solid rgba(41, 92, 81, 0.08);
    background: #f8fbfa;
    text-decoration: none !important;
    color: #0f172a;
    min-width: 0;
    width: 100% !important;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    transition:
        background-color 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.2s ease,
        transform 0.18s ease;
}

@keyframes solutions-mega-item-in {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body:not(.js-mega-menu-control) .solutions-menu-wrapper:hover .solutions-mega-item,
body:not(.js-mega-menu-control) .solutions-mega-menu:hover .solutions-mega-item,
body.js-mega-menu-control .solutions-mega-menu[data-menu-state="visible"] .solutions-mega-item {
    animation: solutions-mega-item-in 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--i, 0) * 0.028s);
}

.solutions-mega-item:hover,
.solutions-mega-item:focus-visible {
    background: #ffffff;
    border-color: rgba(41, 92, 81, 0.22);
    box-shadow: 0 8px 20px -14px rgba(41, 92, 81, 0.35);
    transform: translateY(-1px);
}

.solutions-mega-item:focus-visible {
    outline: 2px solid rgba(41, 92, 81, 0.35);
    outline-offset: 2px;
}

.solutions-mega-icon {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #dceee8;
    color: #1f3f34;
}

.solutions-mega-icon svg {
    width: 1.05rem;
    height: 1.05rem;
}

.solutions-mega-item:hover .solutions-mega-icon {
    background: #295c51;
    color: #ffffff;
}

.solutions-mega-item-copy {
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
    min-width: 0;
}

.solutions-mega-item-name {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0f172a;
    line-height: 1.25;
}

.solutions-mega-item:hover .solutions-mega-item-name {
    color: #295c51;
}

.solutions-mega-item-line {
    font-size: 0.68rem;
    color: #64748b;
    line-height: 1.35;
}

.solutions-mega-rail {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 1rem 0.95rem;
    border-radius: 1rem;
    background: linear-gradient(165deg, #295c51 0%, #163229 100%);
    color: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    min-height: 100%;
    box-sizing: border-box;
}

.solutions-mega-rail-label {
    margin: 0;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #a7f3d0;
}

.solutions-mega-rail-hint {
    margin: -0.2rem 0 0.15rem;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.3;
}

.solutions-mega-metrics {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    flex: 1 1 auto;
    justify-content: center;
}

.solutions-mega-metric {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.solutions-mega-metric:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.solutions-mega-metric-value {
    font-size: 1.55rem;
    font-weight: 750;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: #ffffff;
}

.solutions-mega-metric-name {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.3;
}

.solutions-mega-cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.55rem 0.75rem;
    border: none;
    border-radius: 999px;
    background: #ffffff;
    color: #163229;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.solutions-mega-cta:hover {
    background: #edf6f2;
    transform: translateY(-1px);
}

.solutions-mega-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding: 0.65rem 0.85rem;
    border-radius: 0.85rem;
    background: linear-gradient(90deg, #edf6f2 0%, #f5f9f7 55%, #ffffff 100%);
    border: 1px solid rgba(41, 92, 81, 0.1);
}

.solutions-mega-foot-copy {
    margin: 0;
    font-size: 0.78rem;
    color: #334155;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.solutions-mega-foot-link {
    flex-shrink: 0;
    font-size: 0.78rem;
    font-weight: 700;
    color: #295c51 !important;
    text-decoration: none !important;
    white-space: nowrap;
}

.solutions-mega-foot-link:hover {
    color: #1f3f34 !important;
}

@media (prefers-reduced-motion: reduce) {
    .solutions-mega-item {
        animation: none !important;
    }
}

@media (max-width: 1100px) {
    .solutions-mega-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .solutions-mega-menu {
        --solutions-mega-gap: 12px;
    }

    .solutions-mega-body {
        grid-template-columns: 1fr;
    }

    .solutions-mega-rail {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.75rem;
    }

    .solutions-mega-metrics {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.75rem 1.25rem;
        width: 100%;
    }

    .solutions-mega-metric {
        border-bottom: none;
        padding-bottom: 0;
        min-width: 5.5rem;
    }

    .solutions-mega-cta {
        width: auto;
        margin-left: auto;
    }
}


/* Show Solutions mega menu on hover - disabled when JS is controlling */
body:not(.js-mega-menu-control) .solutions-menu-wrapper:hover .solutions-mega-menu,
body:not(.js-mega-menu-control) .solutions-mega-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Hide product menu when solutions menu or mega menu is hovered - more aggressive - disabled when JS is controlling */
body:not(.js-mega-menu-control) .solutions-menu-wrapper:hover ~ .product-menu-wrapper .product-mega-menu,
body:not(.js-mega-menu-control) .solutions-mega-menu:hover ~ .product-menu-wrapper .product-mega-menu,
body:not(.js-mega-menu-control) .nav-center-menu:has(.solutions-menu-wrapper:hover) .product-mega-menu,
body:not(.js-mega-menu-control) .nav-center-menu:has(.solutions-mega-menu:hover) .product-mega-menu,
body:not(.js-mega-menu-control) .solutions-menu-wrapper:hover .product-mega-menu,
body:not(.js-mega-menu-control) .solutions-mega-menu:hover .product-mega-menu {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-10px) !important;
}

/* Class-based hiding for more reliable control - overrides all hover states */
.product-mega-menu.menu-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-10px) !important;
}

/* When JS is controlling, data attributes and inline styles override everything */
body.js-mega-menu-control .product-mega-menu[data-menu-state="hidden"],
body.js-mega-menu-control .solutions-mega-menu[data-menu-state="hidden"] {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-10px) !important;
}

body.js-mega-menu-control .product-mega-menu[data-menu-state="visible"],
body.js-mega-menu-control .solutions-mega-menu[data-menu-state="visible"] {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
}

/* Prevent product menu from showing when solutions is active - always enforced */
.solutions-menu-wrapper:hover ~ .product-menu-wrapper .product-mega-menu.menu-hidden,
.solutions-mega-menu:hover ~ .product-menu-wrapper .product-mega-menu.menu-hidden,
.nav-center-menu:has(.solutions-menu-wrapper:hover) .product-mega-menu.menu-hidden,
.nav-center-menu:has(.solutions-mega-menu:hover) .product-mega-menu.menu-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-10px) !important;
}

.solutions-mega-menu.menu-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-10px) !important;
}

/* Prevent solutions menu from showing when product is active - always enforced */
.product-menu-wrapper:hover ~ .solutions-menu-wrapper .solutions-mega-menu.menu-hidden,
.product-mega-menu:hover ~ .solutions-menu-wrapper .solutions-mega-menu.menu-hidden,
.nav-center-menu:has(.product-menu-wrapper:hover) .solutions-mega-menu.menu-hidden,
.nav-center-menu:has(.product-mega-menu:hover) .solutions-mega-menu.menu-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-10px) !important;
}

/* Join Us Mega Menu — floating card shell + careers-first interior */
.hiring-menu-wrapper {
    position: static;
    display: inline-block;
}

.hiring-mega-menu {
    --hiring-mega-gap: 40px;
    position: absolute;
    left: 0;
    right: auto;
    top: 100%;
    width: min(var(--landing-content-max), 100vw);
    max-width: var(--landing-content-max);
    max-height: min(72dvh, calc(100dvh - 5.5rem));
    margin-left: calc(-50vw + 50% + max(0px, (100vw - min(var(--landing-content-max), 100vw)) / 2));
    margin-right: 0;
    background: #ffffff;
    border: 1px solid rgba(41, 92, 81, 0.1);
    border-radius: var(--landing-shell-radius);
    box-shadow:
        0 24px 48px -20px rgba(12, 10, 9, 0.22),
        0 8px 20px -8px rgba(41, 92, 81, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease;
    z-index: 998;
    pointer-events: none;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    box-sizing: border-box;
}

.hiring-mega-menu::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    height: 12px;
    background: transparent;
    pointer-events: auto;
    z-index: 1;
}

.hiring-mega-menu .hiring-mega-panel {
    padding: 1rem 1rem 1.1rem;
    max-width: none;
    width: 100%;
    margin: 0;
    height: auto;
    box-sizing: border-box;
    /* Nav center uses nowrap for labels — reset so mega copy can wrap */
    white-space: normal;
}
@media (min-width: 768px) {
    .hiring-mega-menu .hiring-mega-panel {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}
@media (min-width: 1024px) {
    .hiring-mega-menu .hiring-mega-panel {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

.hiring-mega {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

.hiring-mega-head {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0 0.15rem;
}

.hiring-mega-kicker {
    margin: 0;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #295c51;
}

.hiring-mega-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 750;
    letter-spacing: -0.03em;
    color: #0f172a;
    line-height: 1.2;
}

.hiring-mega-sub {
    margin: 0.15rem 0 0;
    font-size: 0.78rem;
    color: #64748b;
    line-height: 1.4;
    max-width: 34rem;
}

.hiring-mega-body {
    display: grid;
    grid-template-columns: minmax(12rem, 0.95fr) minmax(0, 1.35fr);
    gap: 0.85rem;
    align-items: stretch;
    min-height: 0;
    min-width: 0;
}

.hiring-mega-spotlight {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    padding: 1.05rem 1.1rem;
    border-radius: 1rem;
    background:
        radial-gradient(120% 90% at 0% 0%, rgba(41, 92, 81, 0.14) 0%, rgba(41, 92, 81, 0) 55%),
        linear-gradient(160deg, #f3faf7 0%, #eef6f3 48%, #f8fafc 100%);
    border: 1px solid rgba(41, 92, 81, 0.12);
    box-sizing: border-box;
    min-height: 0;
    min-width: 0;
    overflow: hidden;
}

.hiring-mega-spotlight-eyebrow {
    margin: 0;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #295c51;
}

.hiring-mega-spotlight-copy {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #0f172a;
    line-height: 1.35;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
}

.hiring-mega-perks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.hiring-mega-perks li {
    position: relative;
    padding-left: 1rem;
    font-size: 0.78rem;
    color: #475569;
    line-height: 1.35;
}

.hiring-mega-perks li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #295c51;
}

.hiring-mega-spotlight-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-top: auto;
}

.hiring-mega-spotlight-cta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center;
    gap: 0.35rem;
    width: fit-content;
    padding: 0.55rem 0.85rem !important;
    border-radius: 0.55rem;
    background: #295c51;
    color: #fff !important;
    font-size: 0.78rem;
    font-weight: 650;
    text-decoration: none;
    transition: background 0.18s ease, transform 0.15s ease, color 0.18s ease;
    box-shadow: 0 1px 3px rgba(41, 92, 81, 0.25);
    white-space: nowrap;
}

.hiring-mega-spotlight-cta svg {
    width: 0.85rem;
    height: 0.85rem;
    transition: transform 0.18s ease;
}

.hiring-mega-spotlight-cta:hover {
    background: #1f3f34;
    transform: translateY(-1px);
    box-shadow: none;
}

.hiring-mega-spotlight-cta:hover svg {
    transform: translateX(2px);
}

.hiring-mega-spotlight-cta--soft {
    background: rgba(41, 92, 81, 0.12);
    color: #295c51 !important;
    box-shadow: none;
}

.hiring-mega-spotlight-cta--soft:hover {
    background: rgba(41, 92, 81, 0.2);
    color: #1f3f34 !important;
    transform: translateY(-1px);
}

.hiring-mega-roles {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    min-width: 0;
    min-height: 0;
}

.hiring-mega-roles-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0 0.15rem;
}

.hiring-mega-roles-label {
    margin: 0;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #64748b;
}

.hiring-mega-roles-all {
    font-size: 0.72rem;
    font-weight: 650;
    color: #295c51;
    text-decoration: none;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
}

.hiring-mega-roles-all:hover {
    color: #1f3f34;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
}

.hiring-mega-role-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 0;
}

.hiring-mega-role {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 0.95rem !important;
    border-radius: 0.85rem;
    border: 1px solid rgba(15, 23, 42, 0.06);
    background: #fff;
    text-decoration: none;
    transition: border-color 0.18s ease, background 0.18s ease, transform 0.15s ease;
    animation: hiringMegaRoleIn 0.35s ease both;
    animation-delay: calc(var(--i, 0) * 40ms);
}

@keyframes hiringMegaRoleIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

body:not(.hiring-mega-open):not(:has(.hiring-menu-wrapper:hover)) .hiring-mega-role {
    animation: none;
}

.hiring-mega-role:hover {
    border-color: rgba(41, 92, 81, 0.28);
    background: rgba(41, 92, 81, 0.04);
    transform: translateX(2px);
    box-shadow: none;
}

.hiring-mega-role-copy {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.hiring-mega-role-title {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0f172a;
    line-height: 1.25;
}

.hiring-mega-role-line {
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.35;
}

.hiring-mega-role-arrow {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(41, 92, 81, 0.08);
    color: #295c51;
    transition: background 0.18s ease, transform 0.18s ease;
}

.hiring-mega-role-arrow svg {
    width: 0.85rem;
    height: 0.85rem;
}

.hiring-mega-role:hover .hiring-mega-role-arrow {
    background: rgba(41, 92, 81, 0.16);
    transform: translateX(2px);
}

.hiring-mega-role:hover .hiring-mega-role-title {
    color: #295c51;
}

.hiring-mega-partner {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1rem !important;
    border-radius: 0.9rem;
    border: 1px dashed rgba(41, 92, 81, 0.28);
    background: rgba(41, 92, 81, 0.03);
    text-decoration: none;
    transition: background 0.18s ease, border-color 0.18s ease;
}

.hiring-mega-partner:hover {
    background: rgba(41, 92, 81, 0.07);
    border-color: rgba(41, 92, 81, 0.4);
    transform: none;
    box-shadow: none;
}

.hiring-mega-partner-copy {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    min-width: 0;
}

.hiring-mega-partner-kicker {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #64748b;
}

.hiring-mega-partner-title {
    font-size: 0.84rem;
    font-weight: 650;
    letter-spacing: -0.015em;
    color: #0f172a;
    line-height: 1.3;
}

.hiring-mega-partner-cta {
    flex-shrink: 0;
    font-size: 0.78rem;
    font-weight: 700;
    color: #295c51;
    white-space: nowrap;
}

.hiring-mega-partner:hover .hiring-mega-partner-cta {
    color: #1f3f34;
}

@media (max-width: 900px) {
    .hiring-mega-body {
        grid-template-columns: 1fr;
    }

    .hiring-mega-partner {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
}

/* Show hiring mega menu on hover when JS is not controlling */
body:not(.js-mega-menu-control) .hiring-menu-wrapper:hover .hiring-mega-menu,
body:not(.js-mega-menu-control) .hiring-mega-menu:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Hide product and solutions when hiring is hovered (no JS) */
body:not(.js-mega-menu-control) .nav-center-menu:has(.hiring-menu-wrapper:hover) .product-mega-menu,
body:not(.js-mega-menu-control) .nav-center-menu:has(.hiring-mega-menu:hover) .product-mega-menu,
body:not(.js-mega-menu-control) .nav-center-menu:has(.hiring-menu-wrapper:hover) .solutions-mega-menu,
body:not(.js-mega-menu-control) .nav-center-menu:has(.hiring-mega-menu:hover) .solutions-mega-menu {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-10px) !important;
}

/* Hide hiring when product or solutions is hovered (no JS) */
body:not(.js-mega-menu-control) .nav-center-menu:has(.product-menu-wrapper:hover) .hiring-mega-menu,
body:not(.js-mega-menu-control) .nav-center-menu:has(.product-mega-menu:hover) .hiring-mega-menu,
body:not(.js-mega-menu-control) .nav-center-menu:has(.solutions-menu-wrapper:hover) .hiring-mega-menu,
body:not(.js-mega-menu-control) .nav-center-menu:has(.solutions-mega-menu:hover) .hiring-mega-menu {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-10px) !important;
}

.hiring-mega-menu.menu-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-10px) !important;
}

body.js-mega-menu-control .hiring-mega-menu[data-menu-state="hidden"] {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(-10px) !important;
}

body.js-mega-menu-control .hiring-mega-menu[data-menu-state="visible"] {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
}

/* Final shell seam fix — placed after base mega rules so it always wins */
body.product-mega-open .product-mega-menu,
body.solutions-mega-open .solutions-mega-menu,
body.hiring-mega-open .hiring-mega-menu {
    top: 100% !important;
    margin-top: -1px !important;
    border-radius: 0 0 var(--landing-shell-radius) var(--landing-shell-radius) !important;
    border-color: rgba(15, 23, 42, 0.08) !important;
    border-top-width: 0 !important;
    border-top-style: none !important;
    border-top-color: transparent !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    box-shadow: 0 24px 48px -20px rgba(12, 10, 9, 0.18) !important;
    transition: opacity 0.22s ease, transform 0.22s ease !important;
}

body.product-mega-open:not(.mega-shell-closing) #landing-sticky-header,
body.solutions-mega-open:not(.mega-shell-closing) #landing-sticky-header,
body.hiring-mega-open:not(.mega-shell-closing) #landing-sticky-header,
body.product-mega-open:not(.mega-shell-closing) #main-navigation,
body.solutions-mega-open:not(.mega-shell-closing) #main-navigation,
body.hiring-mega-open:not(.mega-shell-closing) #main-navigation {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    transition: none !important;
}

/* Solutions Mega Menu Grid - 4 columns: 3 for industries, 1 smaller for metrics */
/* Legacy solutions layout hooks (kept inert; new UI uses .solutions-mega-*) */
.solutions-mega-menu-grid,
.solutions-industries-grid,
.solutions-featured-section {
    display: contents;
}


/* Hero Section */
.hero-section {
    position: relative;
}

.hero-content {
    z-index: 1;
    max-width: 100%;
}

/* Mobile: eyebrow → title → desc → CTA → phone → feature pills */
@media (max-width: 1023px) {
    #hero-grid-container {
        display: flex !important;
        flex-direction: column;
        gap: 0 !important;
    }
    #hero-content-left {
        display: contents;
    }
    #hero-content-left .hero-copy {
        order: 1;
    }
    #hero-phone-mockup {
        order: 2;
        margin-top: 0.75rem;
        margin-bottom: 0.25rem;
    }
    #hero-content-left .hero-feature-pills {
        order: 3;
        margin-top: 1.25rem !important;
    }
}

/* Hero Headline - Plus Jakarta Sans */
.hero-headline {
    font-family: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 800;
    line-height: 1.12;
}

@media (min-width: 768px) {
    .hero-headline-lead {
        white-space: nowrap;
    }
}

@media (max-width: 767px) {
    .hero-headline {
        font-size: 50px !important;
        line-height: 1.14 !important;
    }
}

/*
 * Rotating words — wrapper & each word must share the SAME height
 * so the % translate animation clips cleanly (no top leak / bottom crop).
 * Height is generous for Plus Jakarta 800 (glyphs exceed the em box).
 */
.rotating-words-wrapper {
    --rw-h: 1.5em;
    display: inline-block;
    position: relative;
    overflow: hidden;
    height: var(--rw-h);
    min-width: 200px;
    /* Taller clip for glyph overshoot; negative margins keep line gap tight */
    margin: -0.18em 0;
    vertical-align: -0.2em;
    box-sizing: border-box;
}

.rotating-words-inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Slightly longer: 8 words + seamless return via cloned first */
    animation: slideWords 18s ease-in-out infinite;
    will-change: transform;
}

.rotating-word {
    color: #295c51;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 0 0 auto;
    height: var(--rw-h);
    line-height: 1.15;
    white-space: nowrap;
    overflow: visible;
    box-sizing: border-box;
}

@media (max-width: 767px) {
    /* Real iPhones (esp. Pro) are wide enough that "into" + word stay on one line —
       DevTools narrower presets wrap. Force the rotating word onto its own line. */
    .hero-headline .rotating-words-wrapper {
        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
        vertical-align: baseline;
    }

    .rotating-words-inner {
        align-items: center;
        width: 100%;
    }

    .rotating-word {
        justify-content: center;
        text-align: center;
        width: 100%;
    }
}

/* 9 slots = 8 unique words + Sales clone. Step = 100%/9.
   End on the clone, then the loop snaps to the real first (same word → seamless). */
@keyframes slideWords {
    0%, 8% {
        transform: translateY(0);
    }
    11.11%, 19.11% {
        transform: translateY(-11.111%);
    }
    22.22%, 30.22% {
        transform: translateY(-22.222%);
    }
    33.33%, 41.33% {
        transform: translateY(-33.333%);
    }
    44.44%, 52.44% {
        transform: translateY(-44.444%);
    }
    55.55%, 63.55% {
        transform: translateY(-55.555%);
    }
    66.66%, 74.66% {
        transform: translateY(-66.666%);
    }
    77.77%, 85.77% {
        transform: translateY(-77.777%);
    }
    88.88%, 100% {
        transform: translateY(-88.888%);
    }
}

/* Animated Pill with Rotating Border - Train Effect */
@property --angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

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

/* Mobile: Center pill */
@media (max-width: 767px) {
    .hero-pill {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
    }

    /* Landing header: hide Book A Demo pill on mobile */
    .landing-nav-demo-pill {
        display: none !important;
    }
}

/* Desktop: Left align pill */
@media (min-width: 768px) {
    .hero-pill {
        display: inline-block !important;
        width: auto !important;
    }
}

/* —— Hero praise badge (proud social proof) —— */
.hero-praise-card {
    position: relative;
    display: inline-flex;
    align-items: flex-start;
    gap: 0.65rem;
    max-width: 34rem;
    padding: 0.85rem 1.15rem 0.9rem 0.95rem;
    border-radius: 1.1rem;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.96) 0%, rgba(236, 247, 242, 0.92) 55%, rgba(255, 252, 245, 0.95) 100%);
    border: 1px solid rgba(41, 92, 81, 0.18);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 10px 28px -12px rgba(41, 92, 81, 0.28),
        0 2px 8px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    text-align: left;
}

.hero-praise-glow {
    position: absolute;
    inset: -40% -20% auto auto;
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 179, 1, 0.22) 0%, rgba(41, 92, 81, 0.12) 42%, transparent 70%);
    pointer-events: none;
    animation: heroPraiseGlow 4.5s ease-in-out infinite;
}

.hero-praise-mark {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    margin-top: -0.35rem;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 3.1rem;
    line-height: 0.8;
    font-weight: 700;
    color: #295c51;
    opacity: 0.28;
    user-select: none;
}

.hero-praise-body {
    position: relative;
    z-index: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding-top: 0.15rem;
}

.hero-praise-rating {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.hero-praise-stars {
    display: inline-flex;
    align-items: center;
    gap: 0.12rem;
    color: #E8A800;
}

.hero-praise-star {
    display: block;
    filter: drop-shadow(0 0 3px rgba(245, 179, 1, 0.45));
    animation: heroPraiseStarShine 2.8s ease-in-out infinite;
    animation-delay: calc(var(--star-i, 0) * 0.12s);
}

.hero-praise-divider {
    width: 1px;
    height: 0.7rem;
    background: rgba(41, 92, 81, 0.22);
}

.hero-praise-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #295c51;
    opacity: 0.85;
}

.hero-praise-quote {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.01em;
    color: #0f172a;
    font-style: italic;
}

.hero-praise-quote::before,
.hero-praise-quote::after {
    content: none;
}

@keyframes heroPraiseGlow {
    0%, 100% { opacity: 0.7; transform: scale(1) translate(0, 0); }
    50% { opacity: 1; transform: scale(1.08) translate(-4%, 4%); }
}

@keyframes heroPraiseStarShine {
    0%, 100% { opacity: 0.85; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
}

/* —— UAE launch badge (celebratory, not a testimonial or CTA) —— */
.hero-uae-launch-card {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    max-width: 34rem;
    padding: 0.45rem 1.05rem 0.45rem 0.45rem;
    border-radius: 9999px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 252, 245, 0.96) 55%, rgba(236, 247, 242, 0.94) 100%);
    border: 1px solid rgba(41, 92, 81, 0.16);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 10px 28px -12px rgba(41, 92, 81, 0.22),
        0 2px 8px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    text-align: left;
}
.hero-uae-launch-glow {
    position: absolute;
    inset: -50% auto auto -10%;
    width: 7rem;
    height: 7rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 179, 1, 0.28) 0%, rgba(41, 92, 81, 0.1) 45%, transparent 70%);
    pointer-events: none;
    animation: heroUaeGlow 4.5s ease-in-out infinite;
}
.hero-uae-launch-flag {
    position: relative;
    z-index: 1;
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
    pointer-events: none;
}
.hero-uae-launch-title {
    position: relative;
    z-index: 1;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
    color: #0f172a;
    font-style: normal;
}
.hero-uae-launch-emoji {
    display: inline-block;
    margin-left: 0.45em;
}
@keyframes heroUaeGlow {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.12); }
}

@media (max-width: 767px) {
    .hero-uae-launch {
        display: flex !important;
        justify-content: center;
        width: 100% !important;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 0.85rem !important;
        text-align: center !important;
    }
    .hero-uae-launch-card {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .hero-praise {
        display: flex !important;
        justify-content: center;
        width: 100% !important;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 0.85rem !important;
        text-align: center !important;
    }

    .hero-praise-card {
        max-width: 100%;
        width: auto;
        align-items: center;
        justify-content: center;
        gap: 0;
        padding: 0.45rem 0.7rem;
        border-radius: 0.75rem;
        text-align: center;
        box-shadow:
            0 1px 0 rgba(255, 255, 255, 0.85) inset,
            0 4px 14px -8px rgba(41, 92, 81, 0.2);
    }

    .hero-praise-glow {
        width: 5rem;
        height: 5rem;
        opacity: 0.55;
        animation: none;
    }

    .hero-praise-mark {
        display: none;
    }

    .hero-praise-body {
        gap: 0.15rem;
        padding-top: 0;
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .hero-praise-rating {
        gap: 0.28rem;
        justify-content: center;
        width: 100%;
    }

    .hero-praise-stars {
        gap: 0.05rem;
        justify-content: center;
    }

    .hero-praise-star {
        width: 11px;
        height: 11px;
        filter: none;
        animation: none;
    }

    .hero-praise-divider {
        height: 0.55rem;
    }

    .hero-praise-label {
        font-size: 0.55rem;
        letter-spacing: 0.03em;
        text-align: center;
    }

    .hero-praise-quote {
        font-size: 0.72rem;
        line-height: 1.3;
        font-weight: 600;
        text-align: center;
        width: 100%;
    }
}

.hero-pill-wrapper {
    position: relative;
    display: inline-block;
    border: 1px dashed rgba(41, 92, 81, 0.4);
    border-radius: 9999px;
    background: white;
    overflow: visible;
}

.hero-pill-wrapper::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 9999px;
    background: conic-gradient(
        from var(--angle),
        transparent 0deg,
        transparent 220deg,
        rgba(41, 92, 81, 0.5) 225deg,
        rgba(41, 92, 81, 0.8) 230deg,
        #295c51 235deg,
        #295c51 305deg,
        rgba(41, 92, 81, 0.8) 310deg,
        rgba(41, 92, 81, 0.5) 315deg,
        transparent 320deg,
        transparent 360deg
    );
    padding: 1px;
    box-sizing: border-box;
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: rotateBorderTrain 2.5s linear infinite;
    animation-timing-function: linear;
    z-index: 2;
    pointer-events: none;
}

.hero-pill-content {
    position: relative;
    background: white;
    border-radius: 9999px;
    z-index: 1;
}

@keyframes rotateBorderTrain {
    0% {
        --angle: 0deg;
    }
    100% {
        --angle: 360deg;
    }
}

/* Hero Image Styling - contained so image stays on screen (no horizontal overflow) */
.hero-image {
    position: relative;
    padding: 0;
    margin: 0;
    align-self: start;
    min-width: 0;
    max-width: 100%;
}

.hero-image img {
    transition: none;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.08));
}

.hero-image:hover img {
    transform: none;
}

@media (min-width: 1024px) {
    .hero-image {
        padding: 0;
    }
}

@media (min-width: 1280px) {
    .hero-image {
        padding: 0;
    }
}

.hero-content {
    align-self: center;
}

/* CTA Button with Rotating Border on Hover */
.cta-button {
    position: relative;
    border: 1.5px solid transparent;
    overflow: visible;
    width: auto !important;
    max-width: fit-content;
    display: inline-flex;
}

.cta-button-border {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 9999px;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 0;
}

.cta-button:hover .cta-button-border {
    opacity: 1;
}

.cta-button-border::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 9999px;
    padding: 3px;
    background: conic-gradient(
        from var(--angle, 0deg),
        transparent 0deg,
        transparent 220deg,
        rgba(41, 92, 81, 0.5) 225deg,
        rgba(41, 92, 81, 0.8) 230deg,
        #295c51 235deg,
        #295c51 305deg,
        rgba(41, 92, 81, 0.8) 310deg,
        rgba(41, 92, 81, 0.5) 315deg,
        transparent 320deg,
        transparent 360deg
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: none;
}

.cta-button:hover .cta-button-border::before {
    animation: rotateBorderTrainButton 2.5s linear infinite;
}

@keyframes rotateBorderTrainButton {
    0% {
        --angle: 0deg;
    }
    100% {
        --angle: 360deg;
    }
}

/* Feature Pills */
.feature-pill-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    background: white;
    border-radius: 9999px;
    overflow: visible;
}

/* Different dashed border colors for each pill */
.feature-pill-wrapper[data-pill-color="green"] {
    border: 1px dashed rgba(34, 197, 94, 0.6) !important;
}

.feature-pill-wrapper[data-pill-color="blue"] {
    border: 1px dashed rgba(59, 130, 246, 0.6) !important;
}

.feature-pill-wrapper[data-pill-color="purple"] {
    border: 1px dashed rgba(168, 85, 247, 0.6) !important;
}

.feature-pill-wrapper[data-pill-color="orange"] {
    border: 1px dashed rgba(249, 115, 22, 0.6) !important;
}

.feature-pill-wrapper[data-pill-color="pink"] {
    border: 1px dashed rgba(236, 72, 153, 0.6) !important;
}

.feature-pill {
    background: white;
    color: #374151;
    border: none;
    cursor: pointer;
    outline: none;
    pointer-events: auto;
    user-select: none;
    -webkit-user-select: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.feature-pill-checkmark-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: #22c55e;
    overflow: hidden;
    transition: width 0.3s ease, height 0.3s ease, background 0.3s ease;
    flex-shrink: 0;
    padding: 0;
    margin: 0;
    align-self: center;
}

/* Default checkmark colors - will be overridden by active state */
.feature-pill-wrapper[data-pill-color="green"] .feature-pill-checkmark-wrapper {
    background: #22c55e;
}

.feature-pill-wrapper[data-pill-color="blue"] .feature-pill-checkmark-wrapper {
    background: #3b82f6;
}

.feature-pill-wrapper[data-pill-color="purple"] .feature-pill-checkmark-wrapper {
    background: #a855f7;
}

.feature-pill-wrapper[data-pill-color="orange"] .feature-pill-checkmark-wrapper {
    background: #f97316;
}

.feature-pill-wrapper[data-pill-color="pink"] .feature-pill-checkmark-wrapper {
    background: #ec4899;
}

.feature-pill-checkmark {
    opacity: 0;
    width: 0;
    height: 0;
    color: white;
    stroke-dasharray: 20;
    stroke-dashoffset: 20;
    transition: opacity 0.2s ease, width 0.2s ease, height 0.2s ease;
    transform: scale(0);
    transform-origin: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    z-index: 1;
    display: block;
    margin: 0;
    padding: 0;
}

.feature-pill-checkmark-wrapper::before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(41, 92, 81, 0.15);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    opacity: 0;
}

.feature-pill-wrapper[data-pill-color="green"]:hover {
    border-color: rgba(34, 197, 94, 0.7) !important;
}

.feature-pill-wrapper[data-pill-color="blue"]:hover {
    border-color: rgba(59, 130, 246, 0.7) !important;
}

.feature-pill-wrapper[data-pill-color="purple"]:hover {
    border-color: rgba(168, 85, 247, 0.7) !important;
}

.feature-pill-wrapper[data-pill-color="orange"]:hover {
    border-color: rgba(249, 115, 22, 0.7) !important;
}

.feature-pill-wrapper[data-pill-color="pink"]:hover {
    border-color: rgba(236, 72, 153, 0.7) !important;
}

/* Active state with rotating border - Different colors for each pill */
.feature-pill-wrapper.active {
    position: relative;
}

/* Green (Lead Automation) */
.feature-pill-wrapper[data-pill-color="green"].active::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 9999px;
    padding: 1px;
    box-sizing: border-box;
    background: conic-gradient(
        from var(--angle, 0deg),
        transparent 0deg,
        transparent 220deg,
        rgba(34, 197, 94, 0.5) 225deg,
        rgba(34, 197, 94, 0.8) 230deg,
        #22c55e 235deg,
        #22c55e 305deg,
        rgba(34, 197, 94, 0.8) 310deg,
        rgba(34, 197, 94, 0.5) 315deg,
        transparent 320deg,
        transparent 360deg
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: rotateBorderTrainPill 2.5s linear infinite;
    animation-timing-function: linear;
    z-index: 2;
    pointer-events: none;
}

/* Blue (Advanced Chatbots) */
.feature-pill-wrapper[data-pill-color="blue"].active::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 9999px;
    padding: 1px;
    box-sizing: border-box;
    background: conic-gradient(
        from var(--angle, 0deg),
        transparent 0deg,
        transparent 220deg,
        rgba(34, 197, 94, 0.5) 225deg,
        rgba(34, 197, 94, 0.8) 230deg,
        #22c55e 235deg,
        #22c55e 305deg,
        rgba(34, 197, 94, 0.8) 310deg,
        rgba(34, 197, 94, 0.5) 315deg,
        transparent 320deg,
        transparent 360deg
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: rotateBorderTrainPill 2.5s linear infinite;
    animation-timing-function: linear;
    z-index: 2;
    pointer-events: none;
}

/* Blue (Advanced Chatbots) */
.feature-pill-wrapper[data-pill-color="blue"].active::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 9999px;
    padding: 1px;
    box-sizing: border-box;
    background: conic-gradient(
        from var(--angle, 0deg),
        transparent 0deg,
        transparent 220deg,
        rgba(59, 130, 246, 0.5) 225deg,
        rgba(59, 130, 246, 0.8) 230deg,
        #3b82f6 235deg,
        #3b82f6 305deg,
        rgba(59, 130, 246, 0.8) 310deg,
        rgba(59, 130, 246, 0.5) 315deg,
        transparent 320deg,
        transparent 360deg
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: rotateBorderTrainPill 2.5s linear infinite;
    animation-timing-function: linear;
    z-index: 2;
    pointer-events: none;
}

/* Purple (AI Chatbots) */
.feature-pill-wrapper[data-pill-color="purple"].active::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 9999px;
    padding: 1px;
    box-sizing: border-box;
    background: conic-gradient(
        from var(--angle, 0deg),
        transparent 0deg,
        transparent 220deg,
        rgba(168, 85, 247, 0.5) 225deg,
        rgba(168, 85, 247, 0.8) 230deg,
        #a855f7 235deg,
        #a855f7 305deg,
        rgba(168, 85, 247, 0.8) 310deg,
        rgba(168, 85, 247, 0.5) 315deg,
        transparent 320deg,
        transparent 360deg
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: rotateBorderTrainPill 2.5s linear infinite;
    animation-timing-function: linear;
    z-index: 2;
    pointer-events: none;
}

/* Orange (Follow-Up Automations) */
.feature-pill-wrapper[data-pill-color="orange"].active::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 9999px;
    padding: 1px;
    box-sizing: border-box;
    background: conic-gradient(
        from var(--angle, 0deg),
        transparent 0deg,
        transparent 220deg,
        rgba(249, 115, 22, 0.5) 225deg,
        rgba(249, 115, 22, 0.8) 230deg,
        #f97316 235deg,
        #f97316 305deg,
        rgba(249, 115, 22, 0.8) 310deg,
        rgba(249, 115, 22, 0.5) 315deg,
        transparent 320deg,
        transparent 360deg
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: rotateBorderTrainPill 2.5s linear infinite;
    animation-timing-function: linear;
    z-index: 2;
    pointer-events: none;
}

/* Pink (Drip Campaigns) */
.feature-pill-wrapper[data-pill-color="pink"].active::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 9999px;
    padding: 1px;
    box-sizing: border-box;
    background: conic-gradient(
        from var(--angle, 0deg),
        transparent 0deg,
        transparent 220deg,
        rgba(236, 72, 153, 0.5) 225deg,
        rgba(236, 72, 153, 0.8) 230deg,
        #ec4899 235deg,
        #ec4899 305deg,
        rgba(236, 72, 153, 0.8) 310deg,
        rgba(236, 72, 153, 0.5) 315deg,
        transparent 320deg,
        transparent 360deg
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: rotateBorderTrainPill 2.5s linear infinite;
    animation-timing-function: linear;
    z-index: 2;
    pointer-events: none;
}

@keyframes rotateBorderTrainPill {
    0% {
        --angle: 0deg;
    }
    100% {
        --angle: 360deg;
    }
}

.feature-pill-wrapper.active .feature-pill {
    background: white;
    color: #374151;
    border: none;
    position: relative;
    z-index: 1;
}

.feature-pill-wrapper.active .feature-pill-checkmark-wrapper {
    width: 18px;
    height: 18px;
    margin: -3px 0 -3px -6px;
    animation: checkmarkCircleExpand 0.3s ease-out forwards;
}

/* Different checkmark colors for each pill */
.feature-pill-wrapper[data-pill-color="green"].active .feature-pill-checkmark-wrapper {
    background: #22c55e !important;
}

.feature-pill-wrapper[data-pill-color="blue"].active .feature-pill-checkmark-wrapper {
    background: #3b82f6 !important;
}

.feature-pill-wrapper[data-pill-color="purple"].active .feature-pill-checkmark-wrapper {
    background: #a855f7 !important;
}

.feature-pill-wrapper[data-pill-color="orange"].active .feature-pill-checkmark-wrapper {
    background: #f97316 !important;
}

.feature-pill-wrapper[data-pill-color="pink"].active .feature-pill-checkmark-wrapper {
    background: #ec4899 !important;
}

.feature-pill-wrapper.active .feature-pill-checkmark {
    opacity: 1;
    width: 10px;
    height: 10px;
    stroke-dashoffset: 0;
    transform: translate(-50%, -50%) scale(1);
    animation: checkmarkDraw 0.5s ease-out 0.2s forwards, checkmarkBounce 0.5s ease-out 0.4s forwards;
    animation-fill-mode: forwards;
}

@keyframes checkmarkCircleExpand {
    0% {
        width: 0;
        height: 0;
    }
    100% {
        width: 18px;
        height: 18px;
    }
}

.feature-pill-wrapper.active .feature-pill-checkmark-wrapper::before {
    animation: checkmarkPulse 0.6s ease-out 0.1s;
}

@keyframes checkmarkPulse {
    0% {
        width: 0;
        height: 0;
        opacity: 0;
    }
    50% {
        width: 20px;
        height: 20px;
        opacity: 1;
    }
    100% {
        width: 24px;
        height: 24px;
        opacity: 0;
    }
}

@keyframes checkmarkDraw {
    0% {
        stroke-dashoffset: 20;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes checkmarkBounce {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.3);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}


.feature-pill:focus {
    outline: none;
}

.feature-pill-wrapper:active .feature-pill {
    transform: scale(0.98);
}

/* Trusted By Section — static logo wall (no marquee) */
.trusted-by-section {
    /* No border */
}

/* Journey Connection Line Animation */
@keyframes runPillLine {
    0% {
        stroke-dashoffset: var(--total-dash, 100%);
    }
    100% {
        stroke-dashoffset: 0;
    }
}

/* Ensure animation works with path length */
.journey-connection-path {
    animation: runPillLine 5s linear infinite;
}

/* Problems Section */
.problems-section {
    position: relative;
    isolation: isolate;
}

/* Keep each problem card in its own paint layer so sticky nav + transforms don't leak */
.problems-section .problem-card-col {
    isolation: isolate;
    overflow: hidden;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.problems-section .problem-marquee-wrap {
    overflow: hidden;
    contain: paint;
}

.problems-section .problem-marquee-track {
    width: max-content;
    animation: problem-marquee 25s linear infinite;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}

@keyframes problem-marquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .problems-section .problem-marquee-track {
        animation: none;
    }
}


/* WhatsApp Title Rotating Border */
.whatsapp-title-wrapper {
    position: relative;
    display: inline-block;
    border: 1px dashed rgba(41, 92, 81, 0.4);
    border-radius: 9999px;
    background: #ffffff;
    overflow: visible;
    padding: 3px;
}

.whatsapp-title-wrapper::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 9999px;
    padding: 1px;
    box-sizing: border-box;
    background: conic-gradient(
        from var(--angle),
        transparent 0deg,
        transparent 220deg,
        rgba(41, 92, 81, 0.5) 225deg,
        rgba(41, 92, 81, 0.8) 230deg,
        #295c51 235deg,
        #295c51 305deg,
        rgba(41, 92, 81, 0.8) 310deg,
        rgba(41, 92, 81, 0.5) 315deg,
        transparent 320deg,
        transparent 360deg
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: rotateBorderTrain 2.5s linear infinite;
    animation-timing-function: linear;
    z-index: 2;
    pointer-events: none;
}

.whatsapp-title-content {
    position: relative;
    background: #ffffff;
    border-radius: 9999px;
    z-index: 1;
    color: #000000;
}

/* Journey Scroll Container - Horizontal Scrolling */
.journey-scroll-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    padding: 2rem 0;
    position: relative;
}

.journey-scroll-container::-webkit-scrollbar {
    height: 8px;
}

.journey-scroll-container::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.journey-scroll-container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.journey-scroll-container::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.journey-scroll-wrapper {
    display: flex;
    gap: 2rem;
    padding: 0 2rem;
    width: max-content;
    min-width: 100%;
}

.journey-step {
    flex-shrink: 0;
    width: 380px;
    max-width: 380px;
}

.journey-card {
    width: 100%;
    min-height: 500px;
}

@media (max-width: 768px) {
    .journey-step {
        width: 320px;
        max-width: 320px;
    }
    
    .journey-scroll-wrapper {
        gap: 1.5rem;
        padding: 0 1rem;
    }
}

/* Journey Pills - Same styling as feature pills but without auto-scroll */
.journey-pill-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    background: white;
    border-radius: 9999px;
    overflow: visible;
}

.journey-pill-wrapper[data-pill-color="green"] {
    border: 1px dashed rgba(34, 197, 94, 0.6) !important;
}

.journey-pill-wrapper[data-pill-color="blue"] {
    border: 1px dashed rgba(59, 130, 246, 0.6) !important;
}

.journey-pill-wrapper[data-pill-color="purple"] {
    border: 1px dashed rgba(168, 85, 247, 0.6) !important;
}

.journey-pill {
    background: white;
    color: #374151;
    border: none;
    cursor: pointer;
    outline: none;
    pointer-events: auto;
    user-select: none;
    -webkit-user-select: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
}

.journey-pill-checkmark-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: #22c55e;
    overflow: hidden;
    transition: width 0.3s ease, height 0.3s ease, background 0.3s ease;
    flex-shrink: 0;
    padding: 0;
    margin: 0;
    align-self: center;
}

.journey-pill-wrapper[data-pill-color="green"] .journey-pill-checkmark-wrapper {
    background: #22c55e;
}

.journey-pill-wrapper[data-pill-color="blue"] .journey-pill-checkmark-wrapper {
    background: #3b82f6;
}

.journey-pill-wrapper[data-pill-color="purple"] .journey-pill-checkmark-wrapper {
    background: #a855f7;
}

.journey-pill-checkmark {
    opacity: 0;
    width: 0;
    height: 0;
    color: white;
    stroke-dasharray: 20;
    stroke-dashoffset: 20;
    transition: opacity 0.2s ease, width 0.2s ease, height 0.2s ease;
    transform: scale(0);
    transform-origin: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    z-index: 1;
    display: block;
    margin: 0;
    padding: 0;
}

.journey-pill-checkmark-wrapper::before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(41, 92, 81, 0.15);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    opacity: 0;
}

.journey-pill-wrapper[data-pill-color="green"]:hover {
    border-color: rgba(34, 197, 94, 0.7) !important;
}

.journey-pill-wrapper[data-pill-color="blue"]:hover {
    border-color: rgba(59, 130, 246, 0.7) !important;
}

.journey-pill-wrapper[data-pill-color="purple"]:hover {
    border-color: rgba(168, 85, 247, 0.7) !important;
}

.journey-pill-wrapper.active {
    position: relative;
}

.journey-pill-wrapper[data-pill-color="green"].active::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 9999px;
    padding: 1px;
    box-sizing: border-box;
    background: conic-gradient(
        from var(--angle, 0deg),
        transparent 0deg,
        transparent 220deg,
        rgba(34, 197, 94, 0.5) 225deg,
        rgba(34, 197, 94, 0.8) 230deg,
        #22c55e 235deg,
        #22c55e 305deg,
        rgba(34, 197, 94, 0.8) 310deg,
        rgba(34, 197, 94, 0.5) 315deg,
        transparent 320deg,
        transparent 360deg
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: rotateBorderTrainPill 2.5s linear infinite;
    animation-timing-function: linear;
    z-index: 2;
    pointer-events: none;
}

.journey-pill-wrapper[data-pill-color="blue"].active::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 9999px;
    padding: 1px;
    box-sizing: border-box;
    background: conic-gradient(
        from var(--angle, 0deg),
        transparent 0deg,
        transparent 220deg,
        rgba(59, 130, 246, 0.5) 225deg,
        rgba(59, 130, 246, 0.8) 230deg,
        #3b82f6 235deg,
        #3b82f6 305deg,
        rgba(59, 130, 246, 0.8) 310deg,
        rgba(59, 130, 246, 0.5) 315deg,
        transparent 320deg,
        transparent 360deg
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: rotateBorderTrainPill 2.5s linear infinite;
    animation-timing-function: linear;
    z-index: 2;
    pointer-events: none;
}

.journey-pill-wrapper[data-pill-color="purple"].active::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 9999px;
    padding: 1px;
    box-sizing: border-box;
    background: conic-gradient(
        from var(--angle, 0deg),
        transparent 0deg,
        transparent 220deg,
        rgba(168, 85, 247, 0.5) 225deg,
        rgba(168, 85, 247, 0.8) 230deg,
        #a855f7 235deg,
        #a855f7 305deg,
        rgba(168, 85, 247, 0.8) 310deg,
        rgba(168, 85, 247, 0.5) 315deg,
        transparent 320deg,
        transparent 360deg
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: rotateBorderTrainPill 2.5s linear infinite;
    animation-timing-function: linear;
    z-index: 2;
    pointer-events: none;
}

.journey-pill-wrapper.active .journey-pill {
    color: #1f2937;
    font-weight: 600;
}

.journey-pill-wrapper.active .journey-pill-checkmark-wrapper {
    width: 16px;
    height: 16px;
    margin-right: 6px;
}

.journey-pill-wrapper[data-pill-color="green"].active .journey-pill-checkmark-wrapper {
    background: #22c55e;
}

.journey-pill-wrapper[data-pill-color="blue"].active .journey-pill-checkmark-wrapper {
    background: #3b82f6;
}

.journey-pill-wrapper[data-pill-color="purple"].active .journey-pill-checkmark-wrapper {
    background: #a855f7;
}

.journey-pill-wrapper.active .journey-pill-checkmark {
    opacity: 1;
    width: 10px;
    height: 10px;
    stroke-dashoffset: 0;
    transform: translate(-50%, -50%) scale(1);
    transition: opacity 0.3s ease 0.1s, width 0.3s ease 0.1s, height 0.3s ease 0.1s, stroke-dashoffset 0.3s ease 0.1s, transform 0.3s ease 0.1s;
}

.journey-pill-wrapper.active .journey-pill-checkmark-wrapper::before {
    width: 24px;
    height: 24px;
    opacity: 1;
    transition: width 0.4s ease, height 0.4s ease, opacity 0.4s ease;
}

.journey-pill:focus {
    outline: none;
}

.journey-pill-wrapper:active .journey-pill {
    transform: scale(0.98);
}

/* Testimonials Section - WhatsApp Style */
.testimonials-section {
    position: relative;
}

.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
    height: 100%; /* Make all cards fill their container height */
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Ensure all testimonial cards in the same row have equal height */
.testimonials-section .grid > div {
    display: flex;
    flex-direction: column;
    height: 750px; /* Fixed height to show testimonials */
    max-height: 750px;
    overflow: hidden;
    position: relative;
}

.testimonials-section .grid > div > div {
    height: 100%;
    overflow: hidden;
    position: relative;
}

/* Make the chat background area expand to fill available space */
.testimonial-card > div:last-child {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0; /* Allow flex shrinking */
}

.testimonial-card > div:last-child > div {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: visible; /* Ensure text is not cropped */
}

/* Ensure message bubble text is fully visible */
.testimonial-card .rounded-2xl {
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    overflow: visible;
}

/* Testimonials Auto-Scroll Animations */
/* Testimonials Auto-Scroll Animations */
.testimonials-column {
    height: 100%;
    overflow: hidden;
    position: relative;
}

/* White overlay removed per request */

/* Hide duplicate loop items on mobile (no scroll animation, so duplicates would show as extra boxes) */
@media (max-width: 767px) {
    .testimonial-item-duplicate {
        display: none !important;
    }
}

.testimonials-scroll-wrapper {
    height: 100%;
    overflow: hidden;
    position: relative;
}

.testimonials-scroll-content {
    display: flex;
    flex-direction: column;
    gap: 0;
    animation-duration: 30s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    will-change: transform;
}

/* Column 1: Scroll up */
.testimonials-column-up .testimonials-scroll-content:not(.testimonials-scroll-up-2) {
    animation-name: scrollUp;
}

/* Column 2: Scroll down */
.testimonials-scroll-down {
    animation-name: scrollDown;
}

/* Column 3: Scroll up (different speed for variety) */
.testimonials-scroll-up-2 {
    animation-name: scrollUp2;
    animation-duration: 35s;
}

.testimonial-item {
    flex-shrink: 0;
    margin-bottom: 1.5rem;
}

.testimonial-item:last-child {
    margin-bottom: 1.5rem; /* Keep gap even for last item in loop */
}

@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

@keyframes scrollDown {
    0% {
        transform: translateY(-50%);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes scrollUp2 {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-50%);
    }
}

/* Pause animation on hover */
.testimonials-column:hover .testimonials-scroll-content {
    animation-play-state: paused;
}

/* Responsive: Disable animation on mobile - make static */
@media (max-width: 767px) {
    /* Remove fixed height and overflow constraints on mobile */
    .testimonials-section .grid > div {
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }
    
    .testimonials-section .grid > div > div {
        height: auto !important;
        overflow: visible !important;
    }
    
    .testimonials-column {
        height: auto !important;
        overflow: visible !important;
    }
    
    .testimonials-scroll-wrapper {
        overflow: visible !important;
        height: auto !important;
    }
    
    .testimonials-scroll-content {
        animation: none !important;
        transform: none !important;
        will-change: auto !important;
        height: auto !important;
    }
    
    /* Ensure content is visible and not transformed */
    .testimonials-column-up .testimonials-scroll-content:not(.testimonials-scroll-up-2),
    .testimonials-scroll-down,
    .testimonials-scroll-up-2 {
        animation: none !important;
        transform: none !important;
    }
    
    /* Ensure testimonial cards are fully visible */
    .testimonial-item {
        margin-bottom: 1.5rem;
    }
    
    .testimonial-card {
        height: auto !important;
    }
}

/* Remove any bottom spacing from testimonial chat area */
.testimonial-card > div:last-child {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Responsive adjustments for testimonials */
@media (max-width: 768px) {
    .testimonials-section .grid {
        gap: 1.5rem;
    }
}

/* WhatsApp message bubble styling - removed custom tail, using rounded-tl-sm from journey preview style */

/* Thousands Title Rotating Border */
.thousands-title-wrapper {
    position: relative;
    display: inline-block;
    border: 1px dashed rgba(41, 92, 81, 0.4);
    border-radius: 9999px;
    background: white;
    overflow: visible;
    padding: 3px;
}

.thousands-title-wrapper::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border-radius: 9999px;
    padding: 1px;
    box-sizing: border-box;
    background: conic-gradient(
        from var(--angle),
        transparent 0deg,
        transparent 220deg,
        rgba(41, 92, 81, 0.5) 225deg,
        rgba(41, 92, 81, 0.8) 230deg,
        #295c51 235deg,
        #295c51 305deg,
        rgba(41, 92, 81, 0.8) 310deg,
        rgba(41, 92, 81, 0.5) 315deg,
        transparent 320deg,
        transparent 360deg
    );
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: rotateBorderTrain 2.5s linear infinite;
    animation-timing-function: linear;
    z-index: 2;
    pointer-events: none;
}

.thousands-title-content {
    position: relative;
    background: white;
    border-radius: 9999px;
    z-index: 1;
}

/* Hero Feature Preview Styles */
#hero-feature-preview {
    position: relative;
    width: 100%;
    background: transparent;
    padding: 0;
    margin: 0;
}

/* Match height to left column (hero-content) which ends at pills */
@media (min-width: 1024px) {
    #hero-grid-container {
        align-items: center;
        overflow: visible;
        grid-template-columns: minmax(0, 70%) minmax(0, 30%);
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        max-width: 100%;
        align-self: center;
        transform: translateY(-1.75rem);
    }
    
    .hero-image {
        display: flex;
        align-items: flex-start;
    }
    
    #hero-feature-preview:not(.hero-wa-preview) {
        display: flex;
        align-items: flex-start;
        width: 100%;
        overflow: visible;
        padding: 0;
        margin: 0;
    }
    
    .hero-image {
        overflow: visible;
        padding: 0;
        margin: 0;
    }
}

/* Hero feature image styles */
#hero-feature-preview {
    padding: 0;
    margin: 0;
}

/* Desktop Image - visible on desktop, hidden on mobile; max-width keeps it on screen */
.hero-image-desktop {
    height: auto;
    max-width: 100%;
    width: 100%;
    object-fit: contain;
    border-radius: 0.5rem;
    padding: 0;
    margin: 0;
    display: block;
    background: transparent;
}

.hero-image-desktop:hover {
    background: transparent;
}

/* Mobile Image - hidden on desktop, visible on mobile */
.hero-image-mobile {
    display: none;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 0.5rem;
    padding: 0;
    margin: 0;
    background: transparent;
}

/* Show mobile image on mobile devices */
@media (max-width: 1023px) {
    .hero-image-desktop {
        display: none;
    }
    
    .hero-image-mobile {
        display: block;
        width: 100%;
        height: auto;
        object-fit: contain;
        max-width: 100%;
        padding-top: 2rem;
    }
    
    #hero-feature-preview {
        height: 420px !important;
        min-height: 420px !important;
        padding-top: 2rem;
        overflow: hidden;
    }

    #hero-feature-preview.hero-wa-preview {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        padding-top: 0 !important;
        overflow: hidden !important;
    }

    .hero-phone-mockup {
        width: min(100%, 340px);
    }
    
    .hero-image {
        height: auto !important;
    }
    
    #hero-feature-image-mobile {
        height: auto !important;
        width: 100% !important;
        padding-top: 2rem;
    }
}

/* Index hero: Eldora-style iPhone SVG frame + live chat in screen hole */
.hero-phone-mockup {
    position: relative;
    width: min(100%, 360px);
    aspect-ratio: 200 / 400;
    margin: 0 auto;
    /* flat = frame + screen tilt as one plane (preserve-3d was splitting them) */
    transform-style: flat;
    /* local perspective so vanishing point is the phone, not the hero grid */
    transform: perspective(1100px) rotateY(-12deg) rotateX(3deg);
    transform-origin: center center;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    transition: transform 0.45s ease;
}
.hero-phone-mockup::before {
    content: "";
    position: absolute;
    inset: 4% 8%;
    border-radius: 18% / 10%;
    background: rgba(15, 23, 42, 0.2);
    filter: blur(20px);
    transform: translate(-10px, 18px);
    z-index: 0;
    pointer-events: none;
}
@media (min-width: 1024px) {
    .hero-phone-mockup {
        width: min(100%, 440px);
        max-width: 460px;
        margin-left: auto;
        margin-right: 0;
        align-self: center;
        transform: perspective(1200px) rotateY(-14deg) rotateX(2.5deg);
    }
    .hero-phone-mockup:hover {
        transform: perspective(1200px) rotateY(-9deg) rotateX(1.5deg);
    }
}
@media (max-width: 767px) {
    .hero-phone-mockup {
        transform: perspective(900px) rotateY(-7deg) rotateX(2deg);
    }
    .hero-phone-mockup::before {
        filter: blur(14px);
        transform: translate(-6px, 12px);
    }
}

.hero-phone-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
    display: block;
}

/* Screen hole — enlarged vs Eldora defaults (~3u black bezel, was ~5.25u) */
.hero-phone-screen-slot {
    position: absolute;
    left: 5.95%;
    top: 2.6%;
    width: 88.15%;
    height: 94.775%;
    z-index: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 14.46% / 6.73%;
    background: #0b0c0d;
}

/* iOS status bar — match WebGL demo (Design+Code / HIG insets) */
.hero-phone-status {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 7.2% 10px;
    height: 41px;
    box-sizing: border-box;
    background: #295c51;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.3px;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
}
.hero-phone-status-time {
    min-width: 54px;
    padding-left: 2px;
    font-variant-numeric: tabular-nums;
}
.hero-phone-status-icons {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #ffffff;
    padding-right: 0;
}
.hero-phone-status-icons svg {
    display: block;
    flex-shrink: 0;
}

.hero-phone-home {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    padding: 5px 0 7px;
    background: transparent;
    pointer-events: none;
}
.hero-phone-home::after {
    content: "";
    width: 36%;
    height: 3px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.32);
}

/* Index hero: WhatsApp-style preview inside phone screen */
#hero-feature-preview.hero-wa-preview,
.hero-wa-preview {
    display: flex !important;
    flex-direction: column;
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
    max-height: none;
    overflow: hidden;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: #ffffff;
    border: none;
    box-shadow: none;
}
@media (min-width: 1024px) {
    .hero-wa-preview {
        min-height: 0;
    }
}

.hero-wa-preview-header {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 4px 12px 12px;
    background-color: #295c51;
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
}
.hero-phone-mockup .hero-wa-preview-header {
    padding: 4px 12px 12px;
    gap: 10px;
}
.hero-wa-preview-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}
.hero-wa-nav-back {
    flex-shrink: 0;
    width: 12px;
    height: 20px;
    margin-right: -2px;
    color: #ffffff;
}
.hero-wa-preview-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1f3f34;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
.hero-phone-mockup .hero-wa-preview-avatar {
    width: 36px;
    height: 36px;
}
.hero-wa-preview-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero-wa-preview-title {
    min-width: 0;
}
.hero-wa-preview-title h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.2px;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hero-phone-mockup .hero-wa-preview-title h3 {
    font-size: 16px;
}
.hero-wa-preview-title p {
    margin: 1px 0 0;
    font-size: 12px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hero-phone-mockup .hero-wa-preview-title p {
    font-size: 12px;
}

#hero-feature-preview.hero-feature-chat-column {
    display: block !important;
    flex-direction: unset;
}
.hero-wa-preview .hero-feature-chat-column {
    position: relative;
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
    height: auto;
    overflow: hidden;
    box-sizing: border-box;
    padding: 0;
    border-radius: 0;
    border: none;
    box-shadow: none;
    /* Same wallpaper as WhatsApp inbox conversation window */
    background-color: #EFEAE2;
    background-image: url('../images/chat-bg.png');
    background-repeat: repeat;
    background-size: auto;
    background-position: 0 0;
}
/* Only the active scene is visible; all others are fully hidden */
.hero-feature-chat-column .hero-feature-chat-scene {
    display: none !important;
    position: absolute !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    padding: 0.75rem 0.65rem 1rem;
    overflow-x: hidden;
    overflow-y: auto; /* programmatic scroll only (message reveal) */
    box-sizing: border-box;
    visibility: hidden !important;
    opacity: 0;
    pointer-events: none !important; /* no manual scroll / drag */
    touch-action: none;
    user-select: none;
    transition: opacity 0.35s ease;
    -webkit-overflow-scrolling: auto;
    overscroll-behavior: none;
    scrollbar-width: none;
}
.hero-feature-chat-column .hero-feature-chat-scene::-webkit-scrollbar {
    display: none;
}
.hero-feature-chat-column .hero-feature-chat-scene.active {
    display: block !important;
    position: absolute !important;
    visibility: visible !important;
    opacity: 1;
    pointer-events: none !important;
}
.hero-feature-chat-strip {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
}
@media (max-width: 1023px) {
    .hero-feature-chat-strip {
        max-width: 100%;
    }
}
.hero-feature-chat-strip .index-hero-chat-bubble-img {
    width: 100%;
    max-width: 160px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 6px;
    display: block;
}
.hero-feature-chat-strip .index-hero-chat-msg:not(.justify-end) > .flex-1 > div {
    max-width: 70% !important;
}
/* Messages stay out of layout until revealed (avoids cropping first bubbles from the top) */
.hero-feature-chat-strip .index-hero-chat-msg {
    display: none !important;
    opacity: 0;
    transform: translateY(8px);
}
.hero-feature-chat-strip .index-hero-chat-msg.revealed {
    display: flex !important;
    opacity: 1 !important;
    transform: translateY(0);
    animation: hero-wa-msg-in 0.35s ease both;
}
@keyframes hero-wa-msg-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.hero-feature-chat-strip .index-hero-chat-btn {
    display: inline-block;
    margin-top: 6px;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 8px;
    background: #295c51;
    color: #fff;
    border: none;
    cursor: default;
}
/* Option chips in chat – same UI as View Properties / index-hero-chat-btn */
.hero-feature-chat-strip .index-hero-chat-option-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}
.hero-feature-chat-strip .index-hero-chat-option-btn {
    display: inline-block;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 8px;
    background: #295c51;
    color: #fff;
    border: none;
    cursor: default;
}

/* Drip campaigns: date divider – label only, center aligned */
.index-hero-chat-date-divider {
    justify-content: center !important;
}
.index-hero-chat-date-divider .index-hero-chat-date-divider-inner {
    display: block;
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
    text-align: center;
    padding: 6px 0 4px;
}
.index-hero-chat-date-divider-label {
    font-size: 9px;
    font-weight: 600;
    color: #9ca3af;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* Mobile Menu Styles */
#mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1003 !important;
}

/* Hide hamburger menu on desktop and laptop */
@media (min-width: 768px) {
    #mobile-menu-toggle {
        display: none !important;
    }
}

/* Add padding on top of Booking Automation New pill on mobile */
@media (max-width: 767px) {
    /* Target the div containing the Booking Automation badge - it's the first mb-4 div in the second column */
    .grid.md\:grid-cols-2 > div:last-child > div.mb-4:first-child {
        padding-top: 2rem !important;
        margin-top: 0 !important;
    }
}

#mobile-menu-overlay {
    z-index: 1001 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
}

/* Mobile menu: whole sidebar scrolls (one scroll container – works in responsive + touch) */
#mobile-menu.mobile-menu-sidebar,
#mobile-menu {
    max-width: 90%;
    width: 20rem;
    z-index: 1002 !important;
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: 100vh !important;
    height: 100dvh !important;
    overflow-y: scroll !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

#mobile-menu .mobile-menu-header {
    flex-shrink: 0;
}

#mobile-menu-content.mobile-menu-content {
    /* No overflow here – #mobile-menu is the scroll container */
}

/* Ensure page content doesn't overlap mobile menu – scroll lock is done via JS (body position:fixed), not overflow:hidden, so menu can scroll */
@media (max-width: 767px) {
    /* Ensure mobile menu is always on top */
    #mobile-menu-overlay,
    #mobile-menu {
        z-index: 9999 !important;
    }
    
    #mobile-menu-toggle {
        z-index: 10000 !important;
    }
    
    /* Center align all hero content on mobile only */
    #hero-content-left {
        text-align: center !important;
    }
    
    #hero-content-left .hero-pill {
        display: flex !important;
        justify-content: center !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    #hero-content-left .hero-praise .hero-praise-card,
    #hero-content-left .hero-praise .hero-praise-body,
    #hero-content-left .hero-praise .hero-praise-quote,
    #hero-content-left .hero-praise .hero-praise-label {
        text-align: center !important;
    }

    #hero-content-left .hero-praise .hero-praise-rating {
        justify-content: center !important;
    }
    
    #hero-content-left .hero-pill-wrapper {
        margin: 0 auto !important;
        display: inline-block !important;
    }
    
    #hero-content-left .hero-headline {
        text-align: center !important;
    }
    
    #hero-content-left p.text-lg {
        text-align: center !important;
    }
    
    #hero-content-left .mt-8 > p {
        text-align: center !important;
    }
    
    #hero-content-left .mt-8 > .flex.flex-wrap {
        justify-content: center !important;
    }
    
    /* Center CTA buttons on mobile */
    #hero-content-left .hero-cta-buttons {
        justify-content: center !important;
    }
}

/* Ensure desktop keeps left alignment - must override mobile styles */
@media (min-width: 768px) {
    #hero-content-left {
        text-align: left !important;
    }
    
    #hero-content-left .hero-pill {
        display: inline-block !important;
        width: auto !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    #hero-content-left .hero-pill-wrapper {
        display: inline-block !important;
        margin: 0 !important;
    }
    
    #hero-content-left .hero-headline {
        text-align: left !important;
    }
    
    #hero-content-left p.text-lg {
        text-align: left !important;
    }
    
    #hero-content-left .text-center.md\:text-left,
    #hero-content-left div.text-center.md\:text-left {
        text-align: left !important;
    }
    
    #hero-content-left .mt-8 > p {
        text-align: left !important;
    }
    
    #hero-content-left .mt-8 > .flex.flex-wrap {
        justify-content: flex-start !important;
    }
    
    /* Override any text-center classes on desktop */
    #hero-content-left .text-center,
    #hero-content-left div.text-center,
    #hero-content-left .hero-pill.text-center,
    #hero-content-left .hero-headline.text-center,
    #hero-content-left p.text-center {
        text-align: left !important;
    }
    
    /* Ensure CTA buttons are left-aligned on desktop/laptop */
    #hero-content-left .hero-cta-buttons {
        justify-content: flex-start !important;
    }
}

#mobile-menu .mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

/* Expanded: show all items at once, no inner scroll */
#mobile-menu .mobile-submenu:not(.hidden) {
    max-height: 2000px;
    overflow: visible;
}

/* Regular menu links */
#mobile-menu a {
    display: block;
    padding: 0.75rem 0.5rem;
    border-bottom: none;
}

/* Parent menu items (Product, Solutions) - flex layout for inline arrow */
#mobile-menu .mobile-menu-item > a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    font-weight: 600;
    padding: 0.75rem 0.5rem;
    line-height: 1.5;
}

#mobile-menu .mobile-menu-item > a svg {
    flex-shrink: 0;
    margin-left: 0.5rem;
    align-self: center;
    vertical-align: middle;
    display: inline-block;
    line-height: 1;
}

/* Submenu links */
#mobile-menu .mobile-submenu a {
    padding-left: 0.5rem;
    font-weight: 400;
    font-size: 0.875rem;
    border-bottom: none;
    display: block;
}

/* Dashboard/Login CTA: keep icon and text inline (override #mobile-menu a display:block) */
#mobile-menu .mobile-cta-inline {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
}

#mobile-menu .mobile-menu-item {
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
}

#mobile-menu .mobile-menu-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}
    width: 4px;
}

#advanced-chat-messages::-webkit-scrollbar-track,
#ai-chat-messages::-webkit-scrollbar-track,
#drip-messages::-webkit-scrollbar-track {
    background: transparent;
}

#advanced-chat-messages::-webkit-scrollbar-thumb,
#ai-chat-messages::-webkit-scrollbar-thumb,
#drip-messages::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 2px;
}

/* Timeline item animations */
.timeline-item {
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 20px;
    bottom: -16px;
    width: 2px;
    background: linear-gradient(to bottom, #f97316, transparent);
}

.timeline-item:last-child::before {
    display: none;
}

/* Footer alignment - left align on desktop/laptop */
@media (min-width: 768px) {
    #footer-logo-section {
        text-align: left !important;
        align-items: flex-start !important;
    }
    
    #footer-logo-section > div:first-child {
        display: flex;
        justify-content: flex-start !important;
        width: 100%;
    }
    
    #footer-logo-section p {
        text-align: left !important;
    }
    
    #footer-logo-section > div:last-child {
        justify-content: flex-start !important;
    }
}

/* ========== Solutions hero: 3-col layout + left/right chat strips (all solution industry pages) ========== */
@media (min-width: 768px) {
    .solutions-hero-single {
        padding-top: 4rem !important;
        padding-bottom: 3.5rem !important;
    }
}
/* Default: single column, only center visible; chat sides hidden and take no space */
.solutions-hero-single .hero-three-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
}
.solutions-hero-single .hero-chat-side {
    display: none !important;
    width: 0;
    min-width: 0;
    overflow: hidden;
}
.solutions-hero-single .hero-center {
    width: 100%;
    max-width: 100%;
    order: 1;
}
/* xl: one row, left chat | center hero | right chat */
@media (min-width: 1280px) {
    .solutions-hero-single .hero-three-col {
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: flex-start;
        justify-content: center;
        gap: 0;
        max-width: none;
    }
    .solutions-hero-single .hero-chat-side {
        display: flex !important;
        flex: 1 1 0;
        min-width: 0;
        max-width: none;
        width: auto;
        justify-content: center;
        padding-top: 2rem;
        order: unset;
    }
    .solutions-hero-single .hero-chat-side.hero-chat-left {
        justify-content: flex-start;
        padding-left: 0.75rem;
    }
    .solutions-hero-single .hero-chat-side.hero-chat-right {
        justify-content: flex-end;
        padding-right: 0.75rem;
    }
    .solutions-hero-single .hero-center {
        flex: 0 0 auto;
        width: auto;
        max-width: 672px;
        order: unset;
    }
}
.solutions-hero-single .hero-chat-strip {
    width: 100%;
    max-width: 280px;
    padding: 0.75rem 0;
    background: transparent;
}
.solutions-hero-single .hero-chat-strip .chat-msg {
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.solutions-hero-single .hero-chat-strip .chat-msg.hero-chat-msg-visible {
    opacity: 1;
    transform: translateY(0);
}
.solutions-hero-single .hero-chat-strip .hero-chat-bubble-img {
    width: 100%;
    max-width: 140px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 6px;
}
.solutions-hero-single .hero-chat-strip .hero-chat-btn {
    display: inline-block;
    margin-top: 6px;
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 8px;
    background: #295c51;
    color: #fff;
    border: none;
    cursor: default;
}
.solutions-hero-single .hero-chat-strip .chat-msg:not(.justify-end) > .flex-1 > div {
    max-width: 70% !important;
}
.solutions-hero-single .solutions-hero-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* WhatsApp floating button & popup (matches whatsapp/link-generator widget UI) */
.whatsapp-float-btn {
    position: fixed !important;
    bottom: 1.5rem !important;
    right: 1.5rem !important;
    left: auto !important;
    top: auto !important;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background: #25D366;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9998;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(37, 211, 102, 0.7);
    animation: whatsapp-float-pulse 2s infinite;
    transition: transform 0.3s ease, background 0.2s ease;
}
.whatsapp-float-btn:hover {
    background: #20bd5a;
    transform: scale(1.1);
}
.whatsapp-float-btn:active {
    transform: scale(0.95);
}
.whatsapp-float-btn-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}
@keyframes whatsapp-float-pulse {
    0% { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 0 0 10px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Popup: positioned above button (bottom-right), same as widget */
.whatsapp-float-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 0;
    pointer-events: none;
}
.whatsapp-float-modal[style*="flex"] {
    pointer-events: auto;
}
.whatsapp-float-modal::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    pointer-events: auto;
}
.whatsapp-float-popup {
    position: relative;
    width: 360px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    z-index: 1;
    margin-bottom: 88px;
    margin-right: 24px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    pointer-events: auto;
    animation: whatsapp-float-popup-in 0.25s ease-out;
}
@keyframes whatsapp-float-popup-in {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
.whatsapp-float-popup-header {
    background: #295c51;
    color: white;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.whatsapp-float-popup-header-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.whatsapp-float-popup-header-text {
    flex: 1;
    min-width: 0;
}
.whatsapp-float-popup-title {
    font-weight: 600;
    font-size: 16px;
    margin: 0;
    color: white;
}
.whatsapp-float-popup-subtitle {
    font-size: 12px;
    opacity: 0.9;
    margin: 2px 0 0 0;
    color: white;
}
.whatsapp-float-popup-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s ease;
}
.whatsapp-float-popup-close:hover {
    background: rgba(255, 255, 255, 0.3);
}
.whatsapp-float-popup-body {
    padding: 20px;
    background: #f0f2f5;
    overflow: visible;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.whatsapp-float-popup-greeting {
    font-size: 14px;
    color: #333;
    margin: 0 0 4px 0;
}
.whatsapp-float-option {
    display: block;
    background: white;
    padding: 12px 16px;
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s ease, background 0.2s ease;
}
.whatsapp-float-option:hover {
    background: #f8fafc;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.2);
}
.whatsapp-float-option-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #111;
}
.whatsapp-float-option-desc {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 2px;
}
.whatsapp-float-popup-powered {
    text-align: center;
    margin-top: 8px;
    font-size: 10px;
    color: #999;
}
.whatsapp-float-popup-powered a {
    color: #295c51;
    text-decoration: none;
}
.whatsapp-float-popup-powered a:hover {
    color: #1f3f34;
    text-decoration: underline;
}

/* Back to top: stack above WhatsApp button, centered with it (WhatsApp 60px, back-to-top 48px) */
body .back-to-top-btn {
    bottom: 5.5rem !important;
    right: calc(1.5rem + 6px) !important;
}
@media (max-width: 768px) {
    body .back-to-top-btn {
        bottom: 5rem !important;
        right: calc(1.5rem + 8px) !important; /* 44px btn centered on 60px WhatsApp */
    }
}
