
/* New Landing Page Styles - Navigation Only */

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

body {
    font-family: 'Inter', 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;
}

/* 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;
}

/* News alert bar: no overrides – uses component's built-in styles (same as admin/dashboard) */

/* 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;
}

/* Reduce header container padding for compact height */
#main-navigation > div {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
}

/* 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;
    }
}

/* Add proper spacing between navigation items */
.nav-center-menu > a,
.nav-center-menu > div {
    margin: 0 1rem;
    padding: 0.5rem 0;
    display: inline-flex;
    align-items: center;
    flex-direction: row;
}

.nav-center-menu > a:first-child,
.nav-center-menu > div:first-child {
    margin-left: 0;
}

.nav-center-menu > a:last-child,
.nav-center-menu > div:last-child {
    margin-right: 0;
}

/* 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 (product: 999, solutions/hiring: 998) */
.nav-logo-wrapper {
    position: relative;
    z-index: 1001;
}

/* Product Mega Menu Wrapper */
.product-menu-wrapper {
    position: static;
    display: inline-block;
}

/* Solutions Mega Menu Wrapper */
.solutions-menu-wrapper {
    position: static;
    display: inline-block;
}

/* Product Mega Menu - Simple absolute positioning below nav */
.product-mega-menu {
    position: absolute;
    left: 0;
    top: 100%;
    width: 100vw;
    background: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out, transform 0.2s ease-in-out;
    z-index: 999;
    pointer-events: none;
    margin-left: calc(-50vw + 50%);
    padding: 0;
}

/* Add invisible bridge to prevent menu from closing when moving mouse */
.product-mega-menu::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    height: 8px;
    background: transparent;
    pointer-events: auto;
}

/* 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;
}

/* Custom grid: first 3 columns wider, 4th column narrower */
.mega-menu-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.1fr 1.1fr 1.2fr;
    width: 100%;
    align-items: stretch;
}

/* Ensure 4th column stretches and Lottie fills full height */
.mega-menu-grid > div:nth-child(4) {
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
}

.mega-menu-grid > div:nth-child(4) > a {
    display: block !important;
    flex-direction: column !important;
}

.mega-menu-grid > div:nth-child(4) > a > div:first-child {
    display: block !important;
    width: 100% !important;
    margin-bottom: 1rem !important;
}

.mega-menu-grid > div:nth-child(4) > a > div:last-child {
    display: block !important;
    width: 100% !important;
}

/* Remove all hover effects from 4th column */
.mega-menu-grid > div:nth-child(4) > a {
    background: transparent !important;
    transform: none !important;
    box-shadow: none !important;
}

.mega-menu-grid > div:nth-child(4) > a:hover {
    background: transparent !important;
    transform: none !important;
    box-shadow: none !important;
}

.mega-menu-grid > div:nth-child(4) > a::before {
    display: none !important;
}

.mega-menu-grid > div:nth-child(4) > a:hover::before {
    display: none !important;
    opacity: 0 !important;
}

/* Remove all hover effects from 4th column badge and text */
.mega-menu-grid > div:nth-child(4) > a:hover span,
.mega-menu-grid > div:nth-child(4) > a:hover h4,
.mega-menu-grid > div:nth-child(4) > a:hover p {
    color: inherit !important;
    transform: none !important;
    transition: none !important;
}

.mega-menu-grid > div:nth-child(4) > a span,
.mega-menu-grid > div:nth-child(4) > a h4,
.mega-menu-grid > div:nth-child(4) > a p {
    transition: none !important;
}

/* Full width column for testimonial */
.mega-menu-grid .col-span-full {
    grid-column: 1 / -1;
}

/* Improved mega menu item styling with hover animations */
.product-mega-menu a {
    display: flex !important;
    align-items: center !important;
    flex-direction: row !important;
    padding: 0.5rem;
    margin: 0;
    border-radius: 0.5rem;
    transition: all 0.2s ease-in-out;
    position: relative;
    flex-wrap: nowrap !important;
    width: 100% !important;
    box-sizing: border-box;
    overflow: hidden;
}

.product-mega-menu a > svg {
    flex-shrink: 0 !important;
    width: 1.5rem !important;
    height: 1.5rem !important;
    align-self: center !important;
    margin-top: 0 !important;
    min-width: 1.5rem !important;
}

.product-mega-menu a > div {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}

.product-mega-menu a > div > div {
    display: block !important;
    width: 100% !important;
}

.product-mega-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 75%;
    background: linear-gradient(135deg, rgba(41, 92, 81, 0.05) 0%, rgba(41, 92, 81, 0.02) 100%);
    border-radius: 0.5rem;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    z-index: -1;
}

.product-mega-menu a:hover {
    background: linear-gradient(to right, rgba(41, 92, 81, 0.04) 0%, rgba(41, 92, 81, 0.04) 75%, transparent 75%, transparent 100%);
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(41, 92, 81, 0.1);
}

/* Keep badge text white on hover - override any group-hover color changes */
.product-mega-menu a:hover span[class*="rounded-full"] {
    color: white !important;
}

.product-mega-menu a:hover::before {
    opacity: 1;
}

/* Ensure list items contain the hover effect */
.product-mega-menu li {
    position: relative;
    overflow: hidden;
}

.product-mega-menu ul {
    position: relative;
}

.product-mega-menu .group:hover svg {
    transform: translateX(4px) scale(1.1);
    color: #295c51;
}

.product-mega-menu a:hover .font-medium {
    color: #295c51;
    transform: translateX(2px);
    transition: color 0.2s ease-in-out, transform 0.2s ease-in-out;
}

/* 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, completely disable all CSS hover behavior */
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 {
    /* Let JavaScript handle everything - no CSS hover effects */
    opacity: inherit !important;
    visibility: inherit !important;
    transform: inherit !important;
    pointer-events: inherit !important;
}

/* Solutions Mega Menu - Same positioning as Product menu */
.solutions-mega-menu {
    position: absolute;
    left: 0;
    top: 100%;
    width: 100vw;
    background: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out, transform 0.2s ease-in-out;
    z-index: 998;
    pointer-events: none;
    margin-left: calc(-50vw + 50%);
    padding: 0;
    overflow: hidden;
}

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

/* 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 - wrapper position: static so mega menu positions relative to nav (full width like Product/Solutions) */
.hiring-menu-wrapper {
    position: static;
    display: inline-block;
}

.hiring-mega-menu {
    position: absolute;
    left: 0;
    top: 100%;
    width: 100vw;
    background: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out, transform 0.2s ease-in-out;
    z-index: 998;
    pointer-events: none;
    margin-left: calc(-50vw + 50%);
    padding: 0;
}

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

.hiring-mega-menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 0.8fr;
    width: 100%;
    gap: 2rem;
    align-items: stretch;
    box-sizing: border-box;
}

/* Hiring mega menu link hover – match Product/Solutions */
.hiring-mega-menu a {
    display: flex !important;
    align-items: flex-start !important;
    flex-direction: row !important;
    padding: 1rem;
    margin: 0;
    border-radius: 0.5rem;
    transition: all 0.2s ease-in-out;
    position: relative;
    flex-wrap: nowrap !important;
    width: 100% !important;
    box-sizing: border-box;
    overflow: hidden;
}

.hiring-mega-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(41, 92, 81, 0.05) 0%, rgba(41, 92, 81, 0.02) 100%);
    border-radius: 0.5rem;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    z-index: -1;
}

.hiring-mega-menu a:hover {
    background: rgba(41, 92, 81, 0.04);
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(41, 92, 81, 0.1);
}

.hiring-mega-menu a:hover::before {
    opacity: 1;
}

.hiring-mega-menu a:hover svg {
    transform: translateX(4px) scale(1.1);
    color: #295c51;
    transition: transform 0.2s ease-in-out, color 0.2s ease-in-out;
}

.hiring-mega-menu a:hover .font-semibold {
    color: #295c51;
    transform: translateX(2px);
    transition: color 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.hiring-mega-menu a svg {
    transition: transform 0.2s ease-in-out, color 0.2s ease-in-out;
}

.hiring-mega-menu a .font-semibold {
    transition: color 0.2s ease-in-out, transform 0.2s ease-in-out;
}

/* 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;
}

/* Join Us mega menu – "Why join" column */
.join-why-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 0;
}
.join-why-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #000000;
    margin: 0 0 0.25rem 0;
}
.join-why-card {
    flex: 1;
    min-height: 0;
    background: linear-gradient(145deg, rgba(41, 92, 81, 0.08) 0%, rgba(41, 92, 81, 0.03) 100%);
    border: 1px solid rgba(41, 92, 81, 0.15);
    border-radius: 12px;
    padding: 1.25rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.join-why-tagline {
    font-size: 0.8125rem;
    color: #4b5563;
    line-height: 1.45;
    margin: 0;
}
.join-why-list {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: #374151;
    line-height: 1.4;
}
.join-why-list li {
    position: relative;
    padding-left: 1.25rem;
}
.join-why-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #295c51;
}
.join-why-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    background: #295c51;
    border: none;
    border-radius: 8px;
    padding: 0.625rem 1rem;
    margin-top: auto;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
    box-shadow: 0 1px 3px rgba(41, 92, 81, 0.25);
}
.join-why-btn:hover {
    background: #1f3f34;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(41, 92, 81, 0.3);
}
.join-why-btn-icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}
.join-why-btn:hover .join-why-btn-icon {
    transform: translateX(2px);
}

/* Solutions Mega Menu Grid - 4 columns: 3 for industries, 1 smaller for metrics */
.solutions-mega-menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 0.7fr;
    width: 100%;
    gap: 1.5rem;
    box-sizing: border-box;
}

.solutions-mega-menu-grid > div {
    min-width: 0;
    box-sizing: border-box;
}

/* Industries Grid - 3 columns, 4 rows (12 industries total) */
.solutions-industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    grid-column: 1 / 4;
}

/* Featured Section - Full Height */
.solutions-featured-section {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
}

.solutions-featured-section > div {
    min-height: 100%;
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
    overflow: hidden;
}

/* Solutions Mega Menu - Hover Animations (Same as Products) */
.solutions-mega-menu a {
    display: flex !important;
    align-items: flex-start !important;
    flex-direction: row !important;
    padding: 1rem;
    margin: 0;
    border-radius: 0.5rem;
    transition: all 0.2s ease-in-out;
    position: relative;
    flex-wrap: nowrap !important;
    width: 100% !important;
    box-sizing: border-box;
    overflow: hidden;
}

.solutions-mega-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(41, 92, 81, 0.05) 0%, rgba(41, 92, 81, 0.02) 100%);
    border-radius: 0.5rem;
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
    z-index: -1;
}

.solutions-mega-menu a:hover {
    background: rgba(41, 92, 81, 0.04);
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(41, 92, 81, 0.1);
}

.solutions-mega-menu a:hover::before {
    opacity: 1;
}

.solutions-mega-menu a:hover svg {
    transform: translateX(4px) scale(1.1);
    color: #295c51;
    transition: transform 0.2s ease-in-out, color 0.2s ease-in-out;
}

.solutions-mega-menu a:hover .font-semibold {
    color: #295c51;
    transform: translateX(2px);
    transition: color 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.solutions-mega-menu a svg {
    transition: transform 0.2s ease-in-out, color 0.2s ease-in-out;
}

.solutions-mega-menu a .font-semibold {
    transition: color 0.2s ease-in-out, transform 0.2s ease-in-out;
}

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

.hero-content {
    z-index: 1;
    max-width: 640px;
}

/* 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;
}

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

/* Modern Vertical Slide Rotating Words Effect */
.rotating-words-wrapper {
    display: inline-block;
    position: relative;
    overflow: hidden;
    vertical-align: top;
    height: 1.2em;
    min-width: 200px;
}

.rotating-words-inner {
    display: flex;
    flex-direction: column;
    animation: slideWords 16s ease-in-out infinite;
}

.rotating-word {
    color: #295c51;
    display: block;
    height: 1.2em;
    line-height: 1.2em;
    white-space: nowrap;
}

@keyframes slideWords {
    0%, 10% {
        transform: translateY(0);
    }
    12.5%, 22.5% {
        transform: translateY(-12.5%);
    }
    25%, 35% {
        transform: translateY(-25%);
    }
    37.5%, 47.5% {
        transform: translateY(-37.5%);
    }
    50%, 60% {
        transform: translateY(-50%);
    }
    62.5%, 72.5% {
        transform: translateY(-62.5%);
    }
    75%, 85% {
        transform: translateY(-75%);
    }
    87.5%, 97.5% {
        transform: translateY(-87.5%);
    }
    100% {
        transform: translateY(0);
    }
}

/* 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-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: start;
}

/* 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 */
.trusted-by-section {
    /* No border */
}

.trusted-by-logos-column {
    margin-left: 0;
    min-width: 0;
}
@media (min-width: 1024px) {
    .trusted-by-logos-column {
        padding-left: 1rem;
    }
}

.trusted-by-logos-container {
    position: relative;
    width: 100%;
    overflow-x: hidden;
    overflow-y: visible;
    padding: 0.5rem 0;
}

.trusted-by-logos-track {
    animation: scrollLogos 30s linear infinite;
    will-change: transform;
    display: flex;
    align-items: center;
    gap: 1rem;
    width: fit-content;
}

@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 0.5rem));
    }
}

/* 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;
}

.trusted-by-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    min-height: 56px;
    padding: 0.25rem 0;
}

.trusted-by-logo img {
    object-fit: contain;
    width: auto;
    height: auto;
    max-height: 56px;
    max-width: 160px;
    display: block;
    vertical-align: middle;
}

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


/* 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: start;
        overflow: visible;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
    }
    
    .hero-image {
        display: flex;
        align-items: flex-start;
    }
    
    #hero-feature-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-image {
        height: auto !important;
    }
    
    #hero-feature-image-mobile {
        height: auto !important;
        width: 100% !important;
        padding-top: 2rem;
    }
}

/* Index hero: feature chat column (replaces image, synced to pills) */
#hero-feature-preview.hero-feature-chat-column {
    display: block !important;
    flex-direction: unset;
}
.hero-feature-chat-column {
    position: relative;
    width: 100%;
    height: 440px;
    min-height: 440px;
    overflow: hidden;
}
/* 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;
    visibility: hidden !important;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}
.hero-feature-chat-column .hero-feature-chat-scene.active {
    display: block !important;
    position: relative !important;
    visibility: visible !important;
    opacity: 1;
    pointer-events: auto;
}
.hero-feature-chat-strip {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 0.75rem 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 hidden until JS adds .revealed (staggered animation) */
.hero-feature-chat-strip .index-hero-chat-msg {
    opacity: 0 !important;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.35s ease;
}
.hero-feature-chat-strip .index-hero-chat-msg.revealed {
    opacity: 1 !important;
    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-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 */
    }
}
