:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f4f4f5;
    --text-primary: #000000;
    --text-secondary: #52525b;
    --text-tertiary: #a1a1aa;
    --border-color: #e4e4e7;
    --accent: #171717;
    --accent-hover: #3f3f46;
    
    /* Missing Gradient for Headers */
    --gradient-primary: linear-gradient(135deg, var(--text-primary) 0%, var(--text-tertiary) 100%);
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-serif: 'Playfair Display', Georgia, "Times New Roman", serif;
    
    --container-max: 1280px;
    --container-padding: 2rem;
}

.serif-prose {
    font-family: var(--font-serif);
    font-weight: 400;
}

.subpage {
    padding-top: 6rem;
}

.page-header {
    background: var(--bg-secondary);
    padding: 8rem 0 4rem;
    text-align: center;
}
.page-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}
.page-header .serif-prose {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.mt-4 { margin-top: 1rem; }


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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Canvas Background */
#network-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120vh; /* Extended into intro section */
    z-index: -1;
    opacity: 0.6;
    pointer-events: none;
    background: linear-gradient(to bottom, var(--bg-primary) 80%, var(--bg-primary) 100%); /* Helps blend if needed */
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    letter-spacing: -0.03em;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 9999px; /* Pill shape */
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-primary {
    background-color: var(--accent);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--text-primary);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(228, 228, 231, 0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    height: 4.5rem;
}

.logo-img {
    height: 38px;
    width: auto;
    max-width: 150px; /* Safeguard for Safari */
    display: block;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: color 0.2s;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-current{
    color: var(--text-primary) !important;
    font-weight: 600 !important;
}
.nav-cta-btn{
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: color 0.2s;
    font-weight: 500;
}
.nav-cta-btn:hover{
    color: var(--text-primary);
}
@media (min-width: 769px) {
    .nav-cta-btn{
        margin-left: 0.25rem;
        padding: 0.45rem 1rem;
        border: 1.5px solid var(--border-color);
        border-radius: 6px;
        color: var(--text-primary);
        font-weight: 500;
        transition: border-color 0.2s, color 0.2s;
    }
    .nav-cta-btn:hover {
        border-color: var(--text-primary);
    }
}
.mega-overview-bar{display:block;}
.mega-overview-bar .mega-overview-link{display:flex;width:100%;}

/* Contact Us nav link — styled as outlined button on desktop only */
@media (min-width: 769px) {
    .nav-cta-btn {
        margin-left: 0.25rem;
        padding: 0.45rem 1rem;
        border: 1.5px solid var(--border-color);
        border-radius: 6px;
        color: var(--text-primary);
        font-weight: 500;
        transition: border-color 0.2s, color 0.2s;
    }
    .nav-cta-btn:hover {
        border-color: var(--text-primary);
    }
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropbtn {
    cursor: pointer;
    /* Increase hover footprint to make reaching submenus easier */
    padding-bottom: 1.5rem; 
    margin-bottom: -1.5rem;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--bg-primary);
    min-width: 240px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-radius: 0.5rem;
    padding: 0.5rem 0;
    z-index: 200;
    border: 1px solid var(--border-color);
}

/* Reset .nav-links a styles for the dropdown links */
.nav-links .dropdown-content a {
    color: var(--text-secondary);
    padding: 0.75rem 1.5rem;
    display: block;
    font-size: 0.875rem;
    font-weight: 400;
    transition: background 0.2s, color 0.2s;
}

.nav-links .dropdown-content a:hover {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
}

.dropdown:hover .dropdown-content {
    display: block;
    animation: fadeInDrop 0.2s ease forwards;
}

.dropdown:hover .chevron {
    transform: rotate(180deg);
}

@keyframes fadeInDrop {
    from { opacity: 0; transform: translateX(-50%) translateY(10px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.nav-dropbtn {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
    padding-bottom: 1.5rem; 
    margin-bottom: -1.5rem;
}

.chevron {
    font-size: 0.7rem;
    transition: transform 0.2s ease;
    display: inline-block;
}

.resources-snippet {
    padding: 8rem 0;
}

.hero {
    position: relative;
    padding-top: 12rem;
    padding-bottom: 8rem;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    position: relative;
    z-index: 10;
}

@media (min-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr 1fr;
        align-items: center;
        max-width: 1000px;
        margin: 0 auto;
        gap: 3rem;
    }
    .hero-left {
        display: flex;
        justify-content: flex-end; /* Push the text block towards the center partition */
    }
    .hero-title {
        text-align: left; /* Keep internal text left-aligned */
    }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
}

.hero-title .thin {
    font-weight: 300;
    color: var(--text-secondary);
}

.hero-title .bold {
    font-weight: 600;
    color: var(--text-primary);
}

.hero-prose {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 32rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    font-weight: 400;
}

.overview-statement {
    padding: 4rem 0 0;
    background-color: transparent; /* Allow canvas background to show through */
    position: relative;
    z-index: 1;
}

.overview-text {
    font-size: clamp(1.2rem, 2.2vw, 1.85rem);
    font-weight: 400;
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
    color: var(--text-primary);
    line-height: 1.3;
}

.platform-visual {
    padding: 4rem 0 8rem;
}

.overview-image-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--bg-secondary);
    border-radius: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    overflow: hidden;
    position: relative;
}

.dark-mode-visual {
    background: #111111; /* Dark mode for orchestrator dashboard */
    border-color: #27272a;
}

.overview-image-placeholder canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* Subtle motion on scroll for the platform visual */
.scale-on-scroll {
    transform: translateY(40px) scale(0.95);
    opacity: 0;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.scale-on-scroll.visible {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* Principles Section */
.principles {
    padding: 8rem 0;
    background-color: var(--bg-primary);
}

.section-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 4rem;
    text-align: center;
}

.principle-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 8rem;
    align-items: center;
}

@media (min-width: 768px) {
    .principle-card {
        grid-template-columns: 1fr 1fr;
        gap: 6rem;
    }
    .principle-card.reverse .principle-content {
        order: 2;
    }
    .principle-card.reverse .principle-visual {
        order: 1;
    }
}

.principle-card:last-child {
    margin-bottom: 0;
}

.principle-content h4 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.principle-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

.principle-visual {
    width: 100%;
    aspect-ratio: 1/1;
    background: var(--bg-secondary);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.principle-visual canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* Resources */
.resources {
    padding: 8rem 0;
    background-color: var(--bg-secondary);
}

.resources-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
}

.resources-header h3 {
    font-size: 2.5rem;
    font-weight: 500;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
}
.header-logo {
    height: 32px;
    width: auto;
    mix-blend-mode: multiply;
    display: block;
}
.view-all {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.2s;
}
.view-all:hover { color: var(--text-primary); }

.resources-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .resources-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.resource-card {
    background: var(--bg-primary);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -10px rgba(0,0,0,0.1);
}

.resource-img {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--bg-secondary);
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.resource-meta {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-tertiary);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.resource-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.resource-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

footer {
    padding: 6rem 0 2rem;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-bottom: 6rem;
}



.footer-brand .logo-img {
    margin-bottom: 1rem;
    height: 48px;
    max-width: 180px; /* Safeguard for Safari */
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}
.footer-column h4 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-column a {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    border-top: none;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow-y: auto;
    padding: 2rem;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: var(--bg-primary);
    padding: 3rem;
    border-radius: 1.5rem;
    width: 100%;
    max-width: 480px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal.active .modal-content {
    transform: translateY(0);
}

.close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-tertiary);
    transition: color 0.2s;
}

.close-btn:hover {
    color: var(--text-primary);
}

.modal-content h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.modal-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}



.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.form-row .form-group {
    margin-bottom: 0;
    flex: 1;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    background-color: var(--bg-primary);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
}

.submit-btn {
    width: 100%;
    margin-top: 1rem;
    padding: 1rem;
}

/* Animations */
.fade-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.4s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.4s cubic-bezier(0.2, 0.8, 0.2, 1); /* Slower entrance */
}

.fade-element.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Shift movement for Principles (Bottom to Top) */
.shift-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.shift-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Interactive Solutions Builder UI
   ========================================================================== */

.solutions-hero {
    padding-top: 10rem;
    padding-bottom: 2rem;
    text-align: center;
    background-color: var(--bg-primary); 
}

.solutions-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

.solutions-builder {
    padding: 3rem 0 10rem;
}

.builder-card {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--bg-primary);
    border-radius: 1.5rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
}

/* Builder Tabs (Top Area) */
.builder-tabs {
    display: flex;
    flex-wrap: wrap;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.b-tab {
    /* Default: 4 per row */
    flex: 0 0 25%;
    width: 25%;
    box-sizing: border-box;
    padding: 1.5rem 1rem;
    background: transparent;
    border: none;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 3px solid transparent;
}

/* 2 per row when narrow */
@media (max-width: 640px) {
    .b-tab {
        flex: 0 0 50%;
        width: 50%;
        font-size: 0.95rem;
        padding: 1.1rem 0.75rem;
    }
}

/* 1 per row when very narrow */
@media (max-width: 380px) {
    .b-tab {
        flex: 0 0 100%;
        width: 100%;
    }
}

.b-tab:hover {
    color: var(--text-primary);
    background: rgba(255,255,255,0.5);
}

.b-tab.active {
    color: var(--text-primary);
    background: var(--bg-primary);
    border-bottom: 3px solid var(--accent); /* Black marker limit */
}

/* Builder Rows Theme Mappings - Lighter Vibrant Pastels */
.b-row[data-color="purple"] { --row-color: 190, 170, 240; } /* Lighter Purple */
.b-row[data-color="blue"] { --row-color: 160, 200, 250; }     /* Lighter Blue */
.b-row[data-color="emerald"] { --row-color: 150, 220, 200; }  /* Lighter Emerald */
.b-row[data-color="amber"] { --row-color: 250, 200, 150; }    /* Lighter Orange */
.b-row[data-color="rose"] { --row-color: 250, 170, 190; }     /* Lighter Rose */

.builder-rows-container {
    padding: 2rem;
}

.b-row {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.b-row:last-child {
    border-bottom: none;
}

@media (min-width: 768px) {
    .b-row {
        flex-direction: row;
        align-items: center;
        gap: 3rem;
    }
}

.row-label {
    min-width: 160px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    color: var(--text-tertiary);
    text-align: right;
}
@media (max-width: 768px) {
    .row-label { text-align: left; }
}

.row-items {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    flex: 1;
}

/* Base Chip styling */
.chip {
    padding: 0.75rem 1.5rem;
    border-radius: 99px; /* Pill */
    font-size: 0.95rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    border: 2px solid var(--border-color); /* Restores perimeter on uncheck */
    background: transparent;
    position: relative;
    user-select: none;
}

/* Optional State (Border, Hollow) */
.chip.optional {
    border-color: rgba(var(--row-color), 0.3);
    color: rgb(var(--row-color));
}
.chip.optional:hover {
    border-color: rgba(var(--row-color), 0.8);
    background: rgba(var(--row-color), 0.05);
}

/* Active State (Solid Filled) */
.chip.active {
    background: rgb(var(--row-color));
    color: #ffffff;
    border-color: rgb(var(--row-color));
    box-shadow: 0 6px 16px rgba(var(--row-color), 0.3);
}
.chip.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(var(--row-color), 0.4);
}

/* Unavailable State (Blocked) */
.chip.unavailable {
    background: var(--bg-secondary);
    color: var(--text-tertiary);
    border-color: transparent;
    cursor: not-allowed;
    box-shadow: none;
    text-decoration: line-through;
    opacity: 0.6;
}

/* Required State (Mandatory) */
.chip.required {
    background: rgb(var(--row-color));
    color: #ffffff;
    border-color: rgb(var(--row-color));
    cursor: not-allowed;
    box-shadow: none;
    opacity: 0.9;
}
.chip.required::after {
    content: " (Required)";
    font-size: 0.75rem;
    opacity: 0.7;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    75% { transform: translateX(-5px); }
}
.shake {
    animation: shake 0.4s ease;
}

.site-footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 2rem;
    margin-top: 4rem;
}
.footer-col {
    min-width: 140px;
}
.footer-links a:hover {
    color: var(--accent);
}
.brand-col .header-logo {
    height: 48px;
    margin-bottom: 0.8rem;
    display: block;
}
.footer-bottom {
    border-top: none;
    text-align: center;
    padding-top: 2rem;
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

.builder-action-footer {
    background: var(--bg-secondary);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
}


.legend-hints {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.hint-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.swatch {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 4px;
}
.demo-included { background: var(--accent); }
.demo-optional { border: 2px solid var(--accent); }
.demo-unavailable { background: var(--bg-secondary); }

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Selected configs in modal */
.selected-configs {
    margin-bottom: 2rem;
}

/* -----------------------------
   About Page Components
------------------------------ */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 4rem auto;
    padding: 2rem 0;
}
.timeline-track {
    position: absolute;
    top: 9px; /* Realignment for precision optical centering vs 22px dot */
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
}
.timeline-progress {
    height: 100%;
    background: var(--accent);
    border-radius: 2px;
    transition: width 1s ease;
}
.timeline-points {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Force top alignment so all dots lock to track */
    position: relative;
    z-index: 10;
}
.timeline-point {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 110px;
}
.point-dot {
    width: 16px;
    height: 16px;
    background: var(--bg-primary);
    border: 3px solid var(--border-color);
    border-radius: 50%;
    margin-top: 0;
    margin-bottom: 1.5rem; /* Pushes text down uniformly */
    transition: border-color 0.3s;
}
.timeline-point.completed .point-dot {
    border-color: var(--accent);
    background: var(--accent);
}
.timeline-point.upcoming .point-dot {
    border-color: var(--border-color);
}
.pulse-dot {
    width: 18px;
    height: 18px;
    background: var(--accent);
    border-radius: 50%;
    margin-bottom: 1rem;
    box-shadow: 0 0 0 0 rgba(0, 195, 204, 0.7);
    animation: pulse-ring 2s infinite;
}
@keyframes pulse-ring {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0,210,255, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(0,210,255, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0,210,255, 0); }
}
.point-label {
    font-size: 0.8rem;
    text-align: center;
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.4;
}
.timeline-point.completed .point-label {
    color: var(--text-primary);
}

.current-indicator {
    background: var(--accent);
    color: #fff;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 195, 204, 0.3);
    border: 2px solid var(--bg-primary);
    animation: float 2.5s ease-in-out infinite;
    z-index: 20;
    margin-top: -6px; /* Balance the height to sit perfectly on the 11px track */
}
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-4px); }
    100% { transform: translateY(0px); }
}

@media (max-width: 850px) {
    .timeline {
        padding-left: 2rem;
        max-width: 400px;
    }
    .timeline > div {
        min-width: unset !important;
    }
    .timeline-track {
        width: 4px;
        height: 100%;
        left: 0;
        top: 0;
        transform: none;
    }
    .timeline-progress {
        width: 100% !important;
        height: 55%;
    }
    .timeline-points {
        flex-direction: column;
        align-items: flex-start;
        gap: 3rem;
    }
    .timeline-point {
        flex-direction: row;
        width: auto;
    }
    .point-dot {
        margin-bottom: 0;
        margin-right: 1.5rem;
        position: relative;
        left: -27px; /* Pull dot left onto track */
    }
    .current-indicator {
        position: relative;
        left: -19px;
        margin-top: 0;
    }
    .point-label {
        text-align: left;
    }
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}
.team-card-container {
    perspective: 1000px;
    height: 380px;
    background: transparent;
}
.team-card-flipper {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
    transform-style: preserve-3d;
}
.team-card-container:hover .team-card-flipper {
    transform: rotateY(180deg);
}
.team-card-front, .team-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bg-primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.team-card-back {
    transform: rotateY(180deg);
    background: var(--bg-secondary);
}
.team-card-back p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}
.team-photo-placeholder {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    border: 2px dashed rgba(0, 195, 204, 0.4);
    overflow: hidden;
}
.team-photo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.team-photo-placeholder .tiffany-icon {
    margin-bottom: 0;
    width: 48px;
    height: 48px;
    background: transparent;
    border: none;
    padding: 0;
}
.team-card-front h4, .team-card-back h4 {
    font-size: 1.15rem;
    margin-bottom: 1rem;
    font-weight: 600;
}
.team-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.tiffany-icon {
    width: 54px;
    height: 54px;
    color: var(--accent);
    background: rgba(0, 195, 204, 0.08);
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(0, 195, 204, 0.2);
}
.team-card h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}
.team-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* -----------------------------
   Country Flags inside Chips
------------------------------ */
.country-flags {
    display: inline-flex;
    margin-left: 0.5rem;
    vertical-align: middle;
}
.country-flag {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    margin-left: -6px;
    border: 1.5px solid var(--bg-primary);
    background: var(--bg-primary);
    position: relative;
}
.country-flag:nth-child(1) { z-index: 4; }
.country-flag:nth-child(2) { z-index: 3; }
.country-flag:nth-child(3) { z-index: 2; }
.country-flag:nth-child(4) { z-index: 1; }

.flag-grayscale {
    filter: grayscale(100%);
    opacity: 0.6;
}
.country-flags .country-flag:first-child {
    margin-left: 0;
}

/* ==========================================================================
   Language Switcher
   ========================================================================== */

/* ── Hamburger Button ─────────────────────────────────────────────────── */
.burger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
    z-index: 110;
    flex-shrink: 0;
}

.burger-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger-btn.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile Nav ───────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .burger-btn {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        position: fixed;
        top: 4.5rem;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        border-bottom: 1px solid var(--border-color);
        padding: 0.5rem 0 1.5rem;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
        z-index: 99;
        overflow-y: auto;
        max-height: calc(100vh - 4.5rem);
    }

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

    /* Top-level nav links */
    .nav-links > a,
    .nav-links > .dropdown {
        border-bottom: 1px solid var(--border-color);
    }

    .nav-links > a {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
        color: var(--text-primary);
        font-weight: 500;
    }

    /* Solutions dropdown — click-based on mobile */
    .dropdown {
        width: 100%;
    }

    .nav-dropbtn {
        width: 100%;
        padding: 1rem 1.5rem;
        justify-content: space-between;
        margin-bottom: 0;
        padding-bottom: 1rem;
    }

    .dropdown-content {
        position: static;
        display: none;
        transform: none;
        box-shadow: none;
        border: none;
        border-top: 1px solid var(--border-color);
        border-radius: 0;
        padding: 0;
        min-width: auto;
        width: 100%;
        background: var(--bg-secondary);
        animation: none !important;
    }

    .dropdown.open .dropdown-content {
        display: block;
    }

    /* Disable hover-based open on mobile */
    .dropdown:hover .dropdown-content {
        display: none;
    }

    .dropdown.open:hover .dropdown-content {
        display: block;
    }

    .nav-links .dropdown-content a {
        padding: 0.85rem 2rem;
        font-size: 0.875rem;
    }

    /* Contact Us: reset desktop button style so it looks like other links */
    .nav-cta-btn {
        margin-left: 0;
        padding: 1rem 1.5rem;
        border: none;
        border-radius: 0;
        color: var(--text-primary);
    }

    /* Language select */
    .lang-select {
        margin: 0.75rem 1.5rem 0;
        width: calc(100% - 3rem);
        padding: 0.6rem 2rem 0.6rem 0.75rem;
        font-size: 0.9rem;
    }
}

.lang-select {
    appearance: none;
    -webkit-appearance: none;
    background-color: transparent;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23a1a1aa' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.3rem 1.6rem 0.3rem 0.65rem;
    font-family: inherit;
    margin-left: 0.5rem;
    transition: border-color 0.2s, color 0.2s;
    line-height: 1.4;
}

.lang-select:hover {
    border-color: var(--text-secondary);
}

.lang-select:focus {
    outline: none;
    border-color: var(--text-primary);
}

/* max-width-container (referenced throughout HTML but was missing from CSS) */
.max-width-container {
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}



/* ── Payroll section enhancements ── */
.payroll-headline-band {
    background: var(--text-primary);
    border-radius: 16px;
    padding: 3.5rem 3rem;
    margin-bottom: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
@media(max-width:768px){
    .payroll-headline-band { grid-template-columns:1fr; padding:2rem 1.5rem; gap:2rem; }
}
.payroll-band-left {}
.payroll-band-label {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #71717a;
    margin-bottom: 1rem;
}
.payroll-band-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.2rem, 4vw, 3.25rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 1.25rem;
}
.payroll-band-title em {
    font-style: italic;
    color: #a1a1aa;
}
.payroll-band-desc {
    font-size: 1rem;
    color: #a1a1aa;
    line-height: 1.65;
    max-width: 38ch;
}
.payroll-band-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}
.payroll-band-tag {
    font-size: 0.7rem;
    font-weight: 600;
    color: #e4e4e7;
    border: 1px solid #3f3f46;
    border-radius: 999px;
    padding: 0.3rem 0.85rem;
}
.payroll-band-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: #3f3f46;
    border-radius: 12px;
    overflow: hidden;
}
.payroll-stat-tile {
    background: #18181b;
    padding: 1.75rem 1.5rem;
}
.payroll-stat-value {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: #fff;
    margin-bottom: 0.3rem;
    line-height: 1;
}
.payroll-stat-label {
    font-size: 0.72rem;
    color: #71717a;
    line-height: 1.4;
}
.payroll-stat-badge {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: #27272a;
    color: #a1a1aa;
    border-radius: 4px;
    padding: 0.15rem 0.5rem;
    margin-top: 0.5rem;
}
/* Map placeholder area */
.map-placeholder-wrap {
    position: relative;
    background: #fff;
    border: 1.5px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
}
.map-img-slot {
    /* When a real <img> is dropped in, it should fill this area naturally */
    display: block;
    width: 100%;
}
.map-placeholder-label {
    position: absolute;
    top: 12px;
    left: 14px;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    background: rgba(255,255,255,0.92);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0.2rem 0.5rem;
    pointer-events: none;
}


/* ─── Product suite overview ─────────────────────────── */
.suite-overview {
    padding: 4.5rem 0 5rem;
    background: #0e0e10;
    border-bottom: 1px solid #27272a;
}
.suite-overview-header {
    text-align: center;
    margin-bottom: 3rem;
}
.suite-overview-label {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #52525b;
    margin-bottom: 0.75rem;
}
.suite-overview-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
    line-height: 1.15;
}
.suite-overview-sub {
    font-size: 0.95rem;
    color: #71717a;
    max-width: 52ch;
    margin: 0 auto;
    line-height: 1.6;
}
.suite-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: #27272a;
    border: 1px solid #27272a;
    border-radius: 16px;
    overflow: hidden;
    max-width: 1080px;
    margin: 0 auto;
}
@media(max-width:900px){ .suite-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:540px){ .suite-grid { grid-template-columns: 1fr; } }
.suite-card {
    background: #18181b;
    padding: 1.75rem 1.5rem;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    transition: background 0.18s;
    position: relative;
    overflow: hidden;
}
.suite-card:hover { background: #1f1f23; }
.suite-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.18s;
    pointer-events: none;
}
.suite-card:hover::after { border-bottom-color: #3f3f46; }
.suite-card-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.suite-card-icon svg { width: 20px; height: 20px; }
.suite-card-category {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #52525b;
}
.suite-card-name {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.suite-card-desc {
    font-size: 0.78rem;
    color: #71717a;
    line-height: 1.55;
    flex: 1;
}
.suite-card-arrow {
    font-size: 0.75rem;
    color: #3f3f46;
    margin-top: auto;
    transition: color 0.18s, transform 0.18s;
    display: inline-block;
}
.suite-card:hover .suite-card-arrow { color: #a1a1aa; transform: translateX(3px); }
/* Icon background colors */
.icon-bg-blue   { background: #1e2d4a; color: #6096d4; }
.icon-bg-green  { background: #142820; color: #4ade80; }
.icon-bg-amber  { background: #2d1f0a; color: #f59e0b; }
.icon-bg-rose   { background: #2d0f14; color: #f87171; }
.icon-bg-violet { background: #1a1535; color: #a78bfa; }
.icon-bg-teal   { background: #0a2525; color: #2dd4bf; }
.icon-bg-slate  { background: #1a1a22; color: #94a3b8; }
.icon-bg-orange { background: #2a1a08; color: #fb923c; }
.suite-card-name-highlight { color: inherit; }

/* ─── Sticky section nav (scrollspy) ─────────────────── */
.section-nav {
    position: sticky;
    top: 64px; /* below navbar */
    z-index: 90;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}
.section-nav-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.section-nav-inner::-webkit-scrollbar { display: none; }
.section-nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.25rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    transition: color 0.15s, border-color 0.15s;
    letter-spacing: 0.01em;
}
.section-nav-link:hover { color: var(--text-primary); }
.section-nav-link.active {
    color: var(--text-primary);
    border-bottom-color: var(--text-primary);
}
.section-nav-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.4;
    flex-shrink: 0;
}
.section-nav-link.active .section-nav-dot { opacity: 1; }

/* ─── HR Modules redesign ────────────────────────────── */
.hr-modules-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: end;
    margin-bottom: 3.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
}
@media(max-width:768px){ .hr-modules-intro { grid-template-columns:1fr; gap:1.5rem; margin-bottom:2rem; } }
.hr-modules-intro-right {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 2rem;
}
@media(max-width:768px){ .hr-modules-intro-right { justify-content:flex-start; } }
.hr-modules-stat {
    text-align: right;
}
@media(max-width:768px){ .hr-modules-stat { text-align:left; } }
.hr-modules-stat-val {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1;
    color: var(--text-primary);
}
.hr-modules-stat-lbl {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-top: 0.2rem;
}

/* Module feature cards */
.module-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
@media(max-width:640px){ .module-feature-grid { grid-template-columns:1fr; } }
.module-feature-card {
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 2rem;
    background: #fff;
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
    cursor: default;
    position: relative;
    overflow: hidden;
}
.module-feature-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.07);
    border-color: #d0d0d8;
    transform: translateY(-2px);
}
.module-feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    border-radius: 14px 14px 0 0;
    background: var(--module-accent, #e4e4e7);
    transition: opacity 0.2s;
    opacity: 0;
}
.module-feature-card:hover::before { opacity: 1; }
.module-feat-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}
.module-feat-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-secondary);
    flex-shrink: 0;
}
.module-feat-icon svg { width: 20px; height: 20px; stroke: var(--text-secondary); }
.module-feat-badge {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    align-self: flex-start;
}
.module-feat-name {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}
.module-feat-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}
.module-feat-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.module-feat-chip {
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
    background: #fafafa;
}


/* ── Foundation layer cards (left column) ──────────────── */
.foundation-layers {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 2rem;
}
.foundation-layer-card {
    padding: 1.1rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: #fff;
    position: relative;
}
.foundation-layer-card + .foundation-layer-card {
    margin-top: 0.6rem;
}
.foundation-layer-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    border-radius: 10px 0 0 10px;
    background: var(--layer-color, #e4e4e7);
}
.fl-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.4rem;
}
.fl-icon {
    width: 28px; height: 28px;
    border-radius: 7px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.fl-name { font-size: 0.82rem; font-weight: 600; flex: 1; }
.fl-badge {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--layer-color);
    background: var(--layer-bg);
    border-radius: 4px;
    padding: 0.15rem 0.45rem;
}
.fl-desc { font-size: 0.75rem; color: var(--text-secondary); line-height: 1.55; padding-left: 2.2rem; }
.fl-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 1rem;
    color: var(--text-tertiary);
    font-size: 0.75rem;
}

/* ── Foundation architecture diagram (right visual) ───── */
.foundation-arch-diagram {
    width: 100%;
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.fad-label {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin-bottom: 1rem;
}
.fad-layer {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1rem 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.fad-layer-icon {
    width: 36px; height: 36px;
    border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.fad-layer-body { flex: 1; min-width: 0; }
.fad-layer-name {
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--text-primary);
}
.fad-layer-chips { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.fad-chip {
    font-size: 0.6rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0.1rem 0.4rem;
}
.fad-layer-badge {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 5px;
    padding: 0.2rem 0.5rem;
    flex-shrink: 0;
    align-self: flex-start;
}
.fad-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.2rem 0;
    gap: 0;
}
.fad-arrow-line {
    width: 1px;
    height: 10px;
    background: #d4d4d8;
}

/* ── Payroll capability cards ──────────────────────────── */
.payroll-cap-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 1px !important;
    background: #3f3f46 !important;
    border-radius: 12px !important;
    overflow: hidden;
    padding: 0 !important;
}
.payroll-cap-card {
    background: #18181b;
    padding: 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: background 0.15s;
}
.payroll-cap-card:hover { background: #1f1f23; }
.payroll-cap-icon {
    width: 32px; height: 32px;
    border-radius: 8px;
    background: #27272a;
    display: flex; align-items: center; justify-content: center;
    color: #a1a1aa;
    flex-shrink: 0;
    margin-bottom: 0.25rem;
}
.payroll-cap-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
}
.payroll-cap-desc {
    font-size: 0.72rem;
    color: #71717a;
    line-height: 1.5;
}

/* ── Payroll statutory banner ──────────────────────────── */
.payroll-statutory-banner {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1.75rem;
    padding: 0.85rem 1.1rem;
    background: #27272a;
    border-radius: 8px;
    font-size: 0.78rem;
    color: #d4d4d8;
    border: 1px solid #3f3f46;
}
.payroll-statutory-banner svg { color: #4ade80; flex-shrink: 0; }
.payroll-statutory-banner strong { color: #fff; }

/* ── HR Modules intro: heading left, desc right ────────── */
.hr-modules-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 3.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
}
@media(max-width:768px){ .hr-modules-intro { grid-template-columns:1fr; gap:1rem; } }


    /* ── Foundation: new horizontal layout ── */
    .foundation-intro {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 3rem;
        margin-bottom: 2.5rem;
        flex-wrap: wrap;
    }
    .foundation-intro-text { flex: 1; min-width: 280px; }
    .foundation-tags { align-self: flex-end; flex-shrink: 0; }
    .foundation-cards-row {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
    .foundation-layer-card {
        padding: 1.4rem 1.5rem;
        border: 1px solid var(--border-color);
        border-radius: 12px;
        background: #fff;
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    .foundation-layer-card::before {
        content: '';
        position: absolute;
        left: 0; top: 0; bottom: 0;
        width: 3px;
        border-radius: 12px 0 0 12px;
        background: var(--layer-color, #e4e4e7);
    }
    .fl-header {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        margin-bottom: 0.75rem;
    }
    .fl-icon {
        width: 30px; height: 30px;
        border-radius: 8px;
        display: flex; align-items: center; justify-content: center;
        flex-shrink: 0;
    }
    .fl-name {
        font-size: 0.82rem;
        font-weight: 700;
        color: var(--text-primary);
        flex: 1;
    }
    .fl-badge {
        font-size: 0.62rem;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: var(--layer-color);
        background: color-mix(in srgb, var(--layer-color) 10%, white);
        padding: 0.18rem 0.5rem;
        border-radius: 4px;
        white-space: nowrap;
    }
    .fl-desc {
        font-size: 0.78rem;
        color: var(--text-secondary);
        line-height: 1.55;
        margin: 0 0 0.85rem;
        flex: 1;
    }
    .fl-chips {
        display: flex;
        flex-wrap: wrap;
        gap: 0.35rem;
        margin-top: auto;
    }
    .fl-chip {
        font-size: 0.65rem;
        color: var(--text-tertiary);
        border: 1px solid var(--border-color);
        border-radius: 4px;
        padding: 0.15rem 0.45rem;
    }

    /* ── Payroll dark section ── */
    .payroll-dark {
        background: #0f172a !important;
    }
    .payroll-dark .section-label {
        color: rgba(255,255,255,0.4) !important;
    }
    .payroll-dark .sub-title,
    .payroll-dark h3 {
        color: #f1f5f9 !important;
    }
    .payroll-dark .sub-desc,
    .payroll-dark p {
        color: rgba(255,255,255,0.6) !important;
    }
    .payroll-dark .process-step h5 {
        color: #e2e8f0 !important;
    }
    .payroll-dark .process-step p {
        color: rgba(255,255,255,0.5) !important;
    }
    .payroll-dark .step-dot {
        background: rgba(255,255,255,0.08) !important;
        border-color: rgba(255,255,255,0.15) !important;
        color: rgba(255,255,255,0.5) !important;
    }
    .payroll-dark .step-dot.active {
        background: #1e40af !important;
        border-color: #1e40af !important;
        color: #fff !important;
    }
    .payroll-dark .process-step::before {
        background: rgba(255,255,255,0.1) !important;
    }
    .payroll-dark .country-card {
        background: rgba(255,255,255,0.05) !important;
        border-color: rgba(255,255,255,0.1) !important;
        color: #e2e8f0 !important;
    }
    .payroll-dark .country-card.later {
        opacity: 0.5 !important;
    }
    .payroll-dark .later-tag {
        background: rgba(255,255,255,0.08) !important;
        color: rgba(255,255,255,0.4) !important;
        border-color: rgba(255,255,255,0.12) !important;
    }
    .payroll-dark .feature-list li {
        color: rgba(255,255,255,0.6) !important;
        border-color: rgba(255,255,255,0.1) !important;
    }
    .payroll-dark .feature-list li::before {
        color: #60a5fa !important;
    }
    .payroll-dark .consol-visual {
        background: rgba(255,255,255,0.04) !important;
        border-color: rgba(255,255,255,0.1) !important;
    }
    .payroll-dark .consol-row {
        border-color: rgba(255,255,255,0.07) !important;
    }
    .payroll-dark .consol-entity {
        color: rgba(255,255,255,0.7) !important;
    }
    .payroll-dark .consol-dot {
        background: #3b82f6 !important;
    }
    .payroll-dark .consol-amount {
        color: #e2e8f0 !important;
    }
    .payroll-dark .consol-total {
        background: rgba(59,130,246,0.15) !important;
        border-color: rgba(59,130,246,0.25) !important;
        color: rgba(255,255,255,0.7) !important;
    }
    .payroll-dark .consol-total-amount {
        color: #93c5fd !important;
    }
    .payroll-dark .map-placeholder-wrap {
        background: transparent !important;
        border-color: rgba(255,255,255,0.08) !important;
    }
    .payroll-dark .map-placeholder-label {
        color: rgba(255,255,255,0.25) !important;
    }

    /* Payroll headline band: flush (no card) */
    .payroll-band-flush {
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        padding: 0 0 3rem !important;
        margin-bottom: 0 !important;
    }
    .payroll-band-flush .payroll-band-label {
        color: rgba(255,255,255,0.4) !important;
    }
    .payroll-band-flush .payroll-band-title {
        color: #f8fafc !important;
    }
    .payroll-band-flush .payroll-band-title em {
        color: #93c5fd !important;
    }
    .payroll-band-flush .payroll-band-desc {
        color: rgba(255,255,255,0.6) !important;
    }
    .payroll-band-flush .payroll-cap-card {
        background: rgba(20,40,80,0.5) !important;
        border-color: rgba(255,255,255,0.1) !important;
    }
    .payroll-band-flush .payroll-cap-card:hover {
        background: rgba(30,58,120,0.55) !important;
        border-color: rgba(255,255,255,0.18) !important;
    }
    .payroll-band-flush .payroll-cap-icon {
        background: rgba(255,255,255,0.08) !important;
        color: #93c5fd !important;
    }
    .payroll-band-flush .payroll-cap-name {
        color: #f1f5f9 !important;
    }
    .payroll-band-flush .payroll-cap-desc {
        color: rgba(255,255,255,0.5) !important;
    }
    .payroll-band-flush .payroll-statutory-banner {
        background: rgba(59,130,246,0.12) !important;
        border-color: rgba(59,130,246,0.3) !important;
        color: #bfdbfe !important;
    }
    .payroll-band-flush .payroll-statutory-banner svg {
        color: #f87171 !important;
    }
    .payroll-band-flush .payroll-statutory-banner strong {
        color: #93c5fd !important;
    }

    /* Section divider between payroll sub-sections */
    .payroll-dark .sub-section {
        border-top: 1px solid rgba(255,255,255,0.07);
    }

    @media (max-width: 900px) {
        .consol-visual { margin: 0 auto; }
        .nested-entity-wrap { margin: 0 auto; }
        .foundation-cards-row { grid-template-columns: 1fr; }
        .foundation-intro { flex-direction: column; gap: 1.5rem; }
    }

    
    /* ── Payroll Consolidation title ── */
    .payroll-consol-title {
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: rgba(255,255,255,0.55);
        margin-bottom: 0.75rem;
    }

    /* ── Nested Entity Box (Russian Doll) ── */
    .nested-entity-wrap {
        width: 100%;
        max-width: 420px;
    }
    .neb {
        border-radius: 12px;
        padding: 1.25rem;
        border: 1px solid rgba(255,255,255,0.12);
        background: rgba(255,255,255,0.03);
    }
    .neb-outer {
        padding: 1.4rem;
    }
    .neb-mid {
        margin-top: 1rem;
        background: rgba(255,255,255,0.04);
        border-color: rgba(255,255,255,0.16);
    }
    .neb-inner {
        margin-top: 0.9rem;
        background: rgba(255,255,255,0.06);
        border-color: rgba(255,255,255,0.22);
    }
    .neb-header {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 0.35rem;
    }
    .neb-dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        flex-shrink: 0;
    }
    .neb-label {
        font-size: 0.78rem;
        font-weight: 700;
        color: #f1f5f9;
        letter-spacing: 0.01em;
    }
    .neb-desc {
        font-size: 0.72rem;
        color: rgba(255,255,255,0.45);
        line-height: 1.45;
        margin: 0;
        padding-left: 1.1rem;
    }
    .neb-footer {
        margin-top: 1rem;
        text-align: center;
        font-size: 0.7rem;
        font-weight: 600;
        color: rgba(255,255,255,0.55);
        letter-spacing: 0.04em;
    }

    
    /* ── HOW IT WORKS full-bleed ── */
    .payroll-dark .howit-fullbleed {
        width: 100vw;
        margin-left: calc(50% - 50vw);
        padding-left: calc(50vw - 50%);
        padding-right: calc(50vw - 50%);
        padding-top: 4rem;
        padding-bottom: 4rem;
        background: rgba(255,255,255,0.04);
        border-top: 1px solid rgba(255,255,255,0.07);
        border-bottom: 1px solid rgba(255,255,255,0.07);
        box-sizing: border-box;
    }

    
/* patch27: mega-menu gap fix — align flush with 4rem navbar */
.mega-menu { top: 4rem !important; margin-top: 0 !important; }

/* ═══════════════════════════════════════════════
   MEGA MENU
═══════════════════════════════════════════════ */
.mega-dropdown { position: static; }

.mega-menu {
    display: none;
    position: fixed;
    top: 4.5rem;
    left: 0;
    width: 100%;
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    z-index: 99;
    padding: 2rem 0 2.4rem;
}
.mega-dropdown:hover .mega-menu,
.mega-menu:hover { display: block; }

.mega-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 5%;
}

.mega-col {
    padding: 0 1.25rem;
    border-right: 1px solid var(--border-color);
    cursor: pointer;
    transition: background 0.15s;
}
.mega-col:first-child { padding-left: 0; }
.mega-col:last-child  { border-right: none; }

.mega-col a {
    display: block;
    text-decoration: none;
    color: inherit;
}
.mega-col:hover { background: var(--bg-secondary); border-radius: 8px; }

.mega-col-icon {
    width: 36px; height: 36px;
    margin-bottom: 0.75rem;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}
.mega-col-icon svg { width: 18px; height: 18px; }

.mega-col h4 {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
    letter-spacing: -0.01em;
}
.mega-col p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.5;
}
.mega-col ul {
    list-style: none;
    margin-top: 0.5rem;
}
.mega-col ul li {
    font-size: 0.72rem;
    color: var(--text-tertiary);
    line-height: 1.8;
}
.mega-col ul li::before {
    content: '·';
    margin-right: 0.35rem;
    color: var(--text-tertiary);
}

/* ═══════════════════════════════════════════════
   PAGE HERO
═══════════════════════════════════════════════ */
.products-hero {
    padding: 8rem 0 5rem;
    text-align: center;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}
.products-hero .section-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin-bottom: 1.2rem;
}
.products-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.products-hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}
.hero-pills {
    display: flex;
    gap: 0.6rem;
    justify-content: center;
    flex-wrap: wrap;
}
.hero-pill {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.35rem 0.9rem;
    border: 1px solid var(--border-color);
    border-radius: 9999px;
    color: var(--text-secondary);
    background: #fff;
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
}
.hero-pill:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
}

/* ═══════════════════════════════════════════════
   SHARED SECTION STYLES
═══════════════════════════════════════════════ */
.product-section {
    padding: 5rem 0;
    border-bottom: 1px solid var(--border-color);
}
.product-section.alt-bg { background: var(--bg-secondary); }
.product-section.dark-bg {
    background: #0b0e13;
    color: #fff;
    border-bottom: none;
}
.product-section.dark-bg .section-label { color: #52525b; }
.product-section.dark-bg h2  { color: #fff; }
.product-section.dark-bg .section-desc { color: #8a8a9a; }

.section-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.section-inner.reverse { direction: rtl; }
.section-inner.reverse > * { direction: ltr; }
.section-inner.full { grid-template-columns: 1fr; }

.section-label {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin-bottom: 1rem;
}
.section-label.accent { color: #4f6ef7; }

h2.section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.15;
    margin-bottom: 1rem;
}
.section-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
    max-width: 480px;
}
.section-desc.wide { max-width: 680px; }

/* Feature tags */
.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.5rem;
}
.ftag {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    background: #fff;
}
.dark-bg .ftag {
    border-color: #2a2d35;
    background: #14171e;
    color: #8a8a9a;
}

/* Feature list */
.feature-list {
    list-style: none;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}
.feature-list li::before {
    content: '';
    display: inline-block;
    flex-shrink: 0;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--text-tertiary);
    margin-top: 0.45rem;
}
.dark-bg .feature-list li { color: #8a8a9a; }

/* Sub-section inside a section */
.sub-section {
    margin-top: 3.5rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}
.dark-bg .sub-section { border-top-color: #1e2128; }

.sub-section-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

h3.sub-title {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.025em;
    margin-bottom: 0.6rem;
}
.sub-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

/* Country cards */
.country-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 1.25rem;
}
.country-card {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: #fff;
    font-size: 0.8rem;
    font-weight: 500;
}
.country-card.later {
    opacity: 0.5;
    border-style: dashed;
}
.country-card .flag {
    font-size: 1.1rem;
    line-height: 1;
}
.country-card .later-tag {
    margin-left: auto;
    font-size: 0.65rem;
    color: var(--text-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0.1rem 0.35rem;
    font-weight: 400;
}

/* Module cards */
.module-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
}
.module-card {
    padding: 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: #fff;
    transition: box-shadow 0.2s;
}
.module-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.07); }
.module-card svg { width: 20px; height: 20px; margin-bottom: 0.75rem; opacity: 0.7; }
.module-card h4 { font-size: 0.85rem; font-weight: 600; margin-bottom: 0.3rem; }
.module-card p  { font-size: 0.78rem; color: var(--text-secondary); line-height: 1.5; }

/* Integration cards */
.integration-row {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}
.int-card {
    flex: 1;
    min-width: 180px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: #fff;
    text-align: center;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.int-card:hover { border-color: #a0a0b0; box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.int-card svg { width: 32px; height: 32px; margin-bottom: 0.75rem; opacity: 0.65; }
.int-card h4 { font-size: 0.85rem; font-weight: 600; margin-bottom: 0.3rem; }
.int-card p  { font-size: 0.75rem; color: var(--text-secondary); }

/* Chat visual (AI Expert section) */
.chat-visual {
    background: #1b1e2a;
    border: 1px solid #262a36;
    border-radius: 14px;
    padding: 1.5rem;
    font-family: var(--font-sans);
}
.chat-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #1e2128;
}
.chat-avatar {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f6ef7, #7c3aed);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.65rem; font-weight: 700; color: #fff;
}
.chat-header-text { font-size: 0.78rem; color: #8a8a9a; }
.chat-header-text strong { display: block; color: #c8c8d8; font-size: 0.82rem; }

.chat-bubble {
    margin-bottom: 0.85rem;
    display: flex;
    flex-direction: column;
}
.chat-bubble.user { align-items: flex-end; }
.chat-bubble.agent { align-items: flex-start; }

.bubble-text {
    max-width: 85%;
    padding: 0.65rem 0.9rem;
    border-radius: 10px;
    font-size: 0.78rem;
    line-height: 1.55;
}
.user .bubble-text {
    background: #1e2128;
    color: #c8c8d8;
    border-bottom-right-radius: 2px;
}
.agent .bubble-text {
    background: linear-gradient(135deg, rgba(79,110,247,0.15), rgba(124,58,237,0.1));
    border: 1px solid rgba(79,110,247,0.2);
    color: #b0b8d8;
    border-bottom-left-radius: 2px;
}
.bubble-meta {
    font-size: 0.65rem;
    color: #3a3d48;
    margin-top: 0.25rem;
    padding: 0 0.25rem;
}
.audit-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.65rem;
    color: #4f6ef7;
    background: rgba(79,110,247,0.08);
    border: 1px solid rgba(79,110,247,0.2);
    border-radius: 4px;
    padding: 0.15rem 0.5rem;
    margin-top: 0.4rem;
}

/* SVG visuals */
.visual-box {
    display: flex;
    align-items: center;
    justify-content: center;
}
.visual-box svg { width: 100%; max-width: 420px; height: auto; }

/* Payroll process visual */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 1.5rem;
}
.process-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.85rem 0;
    position: relative;
}
.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 13px;
    top: 2.2rem;
    width: 1px;
    height: calc(100% - 1rem);
    background: var(--border-color);
}
.step-dot {
    flex-shrink: 0;
    width: 26px; height: 26px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-tertiary);
    position: relative;
    z-index: 1;
}
.step-dot.active {
    background: var(--text-primary);
    border-color: var(--text-primary);
    color: #fff;
}
.step-content h5 {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
}
.step-content p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Stat row */
.stat-row {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}
.stat-item {}
.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    margin-bottom: 0.15rem;
}
.stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Consolidation visual */
.consol-visual {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
}
.consol-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.8rem;
}
.consol-row:last-child { border-bottom: none; }
.consol-entity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}
.consol-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--text-tertiary);
}
.consol-amount {
    font-weight: 600;
    font-size: 0.85rem;
}
.consol-total {
    background: var(--text-primary);
    color: #fff;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
}
.consol-total-amount { font-size: 1rem; }

/* CTA section */
.products-cta {
    padding: 5rem 0;
    text-align: center;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}
.products-cta h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    margin-bottom: 1rem;
}
.products-cta p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 900px) {
    .mega-grid { grid-template-columns: repeat(3, 1fr); }
    .mega-col:nth-child(3) { border-right: none; }
    .section-inner, .sub-section-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .section-inner.reverse { direction: ltr; }
    .module-grid { grid-template-columns: 1fr; }
    .country-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .mega-grid { grid-template-columns: 1fr 1fr; }
    .mega-col:nth-child(2) { border-right: none; }
    .product-section { padding: 3.5rem 0; }
    .integration-row { flex-direction: column; }
    .stat-row { flex-wrap: wrap; gap: 1.25rem; }
}

    /* ── Foundation: new horizontal layout ── */
    .foundation-intro {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 3rem;
        margin-bottom: 2.5rem;
        flex-wrap: wrap;
    }
    .foundation-intro-text { flex: 1; min-width: 280px; }
    .foundation-tags { align-self: flex-end; flex-shrink: 0; }
    .foundation-cards-row {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
    .foundation-layer-card {
        padding: 1.4rem 1.5rem;
        border: 1px solid var(--border-color);
        border-radius: 12px;
        background: #fff;
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    .foundation-layer-card::before {
        content: '';
        position: absolute;
        left: 0; top: 0; bottom: 0;
        width: 3px;
        border-radius: 12px 0 0 12px;
        background: var(--layer-color, #e4e4e7);
    }
    .fl-header {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        margin-bottom: 0.75rem;
    }
    .fl-icon {
        width: 30px; height: 30px;
        border-radius: 8px;
        display: flex; align-items: center; justify-content: center;
        flex-shrink: 0;
    }
    .fl-name {
        font-size: 0.82rem;
        font-weight: 700;
        color: var(--text-primary);
        flex: 1;
    }
    .fl-badge {
        font-size: 0.62rem;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: var(--layer-color);
        background: color-mix(in srgb, var(--layer-color) 10%, white);
        padding: 0.18rem 0.5rem;
        border-radius: 4px;
        white-space: nowrap;
    }
    .fl-desc {
        font-size: 0.78rem;
        color: var(--text-secondary);
        line-height: 1.55;
        margin: 0 0 0.85rem;
        flex: 1;
    }
    .fl-chips {
        display: flex;
        flex-wrap: wrap;
        gap: 0.35rem;
        margin-top: auto;
    }
    .fl-chip {
        font-size: 0.65rem;
        color: var(--text-tertiary);
        border: 1px solid var(--border-color);
        border-radius: 4px;
        padding: 0.15rem 0.45rem;
    }

    /* ── Payroll dark section ── */
    .payroll-dark {
        background: #0f172a !important;
    }
    .payroll-dark .section-label {
        color: rgba(255,255,255,0.4) !important;
    }
    .payroll-dark .sub-title,
    .payroll-dark h3 {
        color: #f1f5f9 !important;
    }
    .payroll-dark .sub-desc,
    .payroll-dark p {
        color: rgba(255,255,255,0.6) !important;
    }
    .payroll-dark .process-step h5 {
        color: #e2e8f0 !important;
    }
    .payroll-dark .process-step p {
        color: rgba(255,255,255,0.5) !important;
    }
    .payroll-dark .step-dot {
        background: rgba(255,255,255,0.08) !important;
        border-color: rgba(255,255,255,0.15) !important;
        color: rgba(255,255,255,0.5) !important;
    }
    .payroll-dark .step-dot.active {
        background: #1e40af !important;
        border-color: #1e40af !important;
        color: #fff !important;
    }
    .payroll-dark .process-step::before {
        background: rgba(255,255,255,0.1) !important;
    }
    .payroll-dark .country-card {
        background: rgba(255,255,255,0.05) !important;
        border-color: rgba(255,255,255,0.1) !important;
        color: #e2e8f0 !important;
    }
    .payroll-dark .country-card.later {
        opacity: 0.5 !important;
    }
    .payroll-dark .later-tag {
        background: rgba(255,255,255,0.08) !important;
        color: rgba(255,255,255,0.4) !important;
        border-color: rgba(255,255,255,0.12) !important;
    }
    .payroll-dark .feature-list li {
        color: rgba(255,255,255,0.6) !important;
        border-color: rgba(255,255,255,0.1) !important;
    }
    .payroll-dark .feature-list li::before {
        color: #60a5fa !important;
    }
    .payroll-dark .consol-visual {
        background: rgba(255,255,255,0.04) !important;
        border-color: rgba(255,255,255,0.1) !important;
    }
    .payroll-dark .consol-row {
        border-color: rgba(255,255,255,0.07) !important;
    }
    .payroll-dark .consol-entity {
        color: rgba(255,255,255,0.7) !important;
    }
    .payroll-dark .consol-dot {
        background: #3b82f6 !important;
    }
    .payroll-dark .consol-amount {
        color: #e2e8f0 !important;
    }
    .payroll-dark .consol-total {
        background: rgba(59,130,246,0.15) !important;
        border-color: rgba(59,130,246,0.25) !important;
        color: rgba(255,255,255,0.7) !important;
    }
    .payroll-dark .consol-total-amount {
        color: #93c5fd !important;
    }
    .payroll-dark .map-placeholder-wrap {
        background: transparent !important;
        border-color: rgba(255,255,255,0.08) !important;
    }
    .payroll-dark .map-placeholder-label {
        color: rgba(255,255,255,0.25) !important;
    }

    /* Payroll headline band: flush (no card) */
    .payroll-band-flush {
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        padding: 0 0 3rem !important;
        margin-bottom: 0 !important;
    }
    .payroll-band-flush .payroll-band-label {
        color: rgba(255,255,255,0.4) !important;
    }
    .payroll-band-flush .payroll-band-title {
        color: #f8fafc !important;
    }
    .payroll-band-flush .payroll-band-title em {
        color: #93c5fd !important;
    }
    .payroll-band-flush .payroll-band-desc {
        color: rgba(255,255,255,0.6) !important;
    }
    .payroll-band-flush .payroll-cap-card {
        background: rgba(20,40,80,0.5) !important;
        border-color: rgba(255,255,255,0.1) !important;
    }
    .payroll-band-flush .payroll-cap-card:hover {
        background: rgba(30,58,120,0.55) !important;
        border-color: rgba(255,255,255,0.18) !important;
    }
    .payroll-band-flush .payroll-cap-icon {
        background: rgba(255,255,255,0.08) !important;
        color: #93c5fd !important;
    }
    .payroll-band-flush .payroll-cap-name {
        color: #f1f5f9 !important;
    }
    .payroll-band-flush .payroll-cap-desc {
        color: rgba(255,255,255,0.5) !important;
    }
    .payroll-band-flush .payroll-statutory-banner {
        background: rgba(59,130,246,0.12) !important;
        border-color: rgba(59,130,246,0.3) !important;
        color: #bfdbfe !important;
    }
    .payroll-band-flush .payroll-statutory-banner svg {
        color: #f87171 !important;
    }
    .payroll-band-flush .payroll-statutory-banner strong {
        color: #93c5fd !important;
    }

    /* Section divider between payroll sub-sections */
    .payroll-dark .sub-section {
        border-top: 1px solid rgba(255,255,255,0.07);
    }

    @media (max-width: 900px) {
        .foundation-cards-row { grid-template-columns: 1fr; }
        .foundation-intro { flex-direction: column; gap: 1.5rem; }
    }

    
    /* ── Payroll Consolidation title ── */
    .payroll-consol-title {
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: rgba(255,255,255,0.55);
        margin-bottom: 0.75rem;
    }

    /* ── Nested Entity Box (Russian Doll) ── */
    .nested-entity-wrap {
        width: 100%;
        max-width: 420px;
    }
    .neb {
        border-radius: 12px;
        padding: 1.25rem;
        border: 1px solid rgba(255,255,255,0.12);
        background: rgba(255,255,255,0.03);
    }
    .neb-outer {
        padding: 1.4rem;
    }
    .neb-mid {
        margin-top: 1rem;
        background: rgba(255,255,255,0.04);
        border-color: rgba(255,255,255,0.16);
    }
    .neb-inner {
        margin-top: 0.9rem;
        background: rgba(255,255,255,0.06);
        border-color: rgba(255,255,255,0.22);
    }
    .neb-header {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 0.35rem;
    }
    .neb-dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        flex-shrink: 0;
    }
    .neb-label {
        font-size: 0.78rem;
        font-weight: 700;
        color: #f1f5f9;
        letter-spacing: 0.01em;
    }
    .neb-desc {
        font-size: 0.72rem;
        color: rgba(255,255,255,0.45);
        line-height: 1.45;
        margin: 0;
        padding-left: 1.1rem;
    }
    .neb-footer {
        margin-top: 1rem;
        text-align: center;
        font-size: 0.7rem;
        font-weight: 600;
        color: rgba(255,255,255,0.55);
        letter-spacing: 0.04em;
    }

    
    
    

    
    /* ── Products hero canvas network ── */
    #products-network-bg {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
        opacity: 0.65;
        pointer-events: none;
    }
    .products-hero > *:not(#products-network-bg) {
        position: relative;
        z-index: 2;
    }

    
/* ── v20 additions ── */

/* Products mega overview bar */
.mega-overview-bar{max-width:var(--container-max);margin:0 auto;padding:0;border-bottom:1px solid var(--border-color);margin-bottom:1rem}
.mega-overview-link{display:flex;width:100%;box-sizing:border-box;padding:0.6rem 5% 1rem;align-items:center;gap:0.5rem;font-size:0.875rem;font-weight:600;color:var(--text-primary);text-decoration:none;transition:gap 0.2s}
.mega-overview-link:hover{gap:0.85rem}
.mega-ov-arrow{font-size:1.05rem;color:var(--text-secondary)}

/* Active nav link */
.nav-links a.active{color:var(--text-primary)!important;font-weight:700}
.nav-dropbtn.active{color:var(--text-primary)!important;font-weight:700}

/* Mobile burger — mega menu toggle */
@media(max-width:768px){
  .mega-menu{display:none!important}
  .mega-menu.m-open{display:block!important}
  .nav-dropbtn{display:flex;width:100%;padding:0.875rem 5%;justify-content:space-between;box-sizing:border-box;background:none;border:none;font-family:inherit;font-size:0.875rem;color:var(--text-secondary);font-weight:500;cursor:pointer}
  .nav-dropbtn.active{color:var(--text-primary);font-weight:700}
  .nav-dropbtn .chevron{transition:transform 0.22s}
  .nav-dropbtn.m-open .chevron{transform:rotate(180deg)}
}

.footer-socials{display:flex;gap:0.6rem;margin-top:1.2rem}
.footer-social-icon{width:34px;height:34px;display:flex;align-items:center;justify-content:center;border:1px solid var(--border-color);border-radius:8px;color:var(--text-secondary);text-decoration:none;transition:border-color 0.2s,color 0.2s}
.footer-social-icon:hover{border-color:var(--text-primary);color:var(--text-primary)}
.footer-social-icon svg{width:15px;height:15px}

.footer-col-nav{text-align:right}
.footer-col-nav h4{text-align:right}
.footer-col-nav .footer-links-list{align-items:flex-end}

/* About: Q&A keyword highlight */
.qa-highlight{background:rgba(129,216,208,0.13);padding:0.05em 0.28em;border-radius:4px;border-bottom:1.5px solid rgba(129,216,208,0.55);font-style:normal;color:var(--text-primary)}
.identity-kw{background:linear-gradient(to right,rgba(129,216,208,0.18),rgba(129,216,208,0.06));padding:0.1em 0.35em;border-radius:6px;border-bottom:2px solid rgba(129,216,208,0.5);font-style:normal;font-weight:700;color:var(--text-primary)}

/* About: Journey NOW pulse */
.tstage.now .tstage-dot{background:#81d8d0!important;border-color:#81d8d0!important;animation:nowGlow 2s ease-in-out infinite}
@keyframes nowGlow{
  0%,100%{box-shadow:0 0 0 3px rgba(129,216,208,0.28),0 0 10px rgba(129,216,208,0.55)}
  50%{box-shadow:0 0 0 8px rgba(129,216,208,0.12),0 0 24px rgba(129,216,208,0.80),0 0 42px rgba(129,216,208,0.28)}
}
.tstage.now .tstage-tag{background:rgba(129,216,208,0.12)!important;color:#1a9e96!important;border-color:rgba(129,216,208,0.6)!important}
.tstage.now .tstage-content h4{color:#1a9e96!important}
.tstage.now .tstage-pulse{color:#1a9e96}

/* Team diagram enlarged */
.hub-wrap{max-width:820px!important}


/* ── v20 patch ── */

/* Burger button — works regardless of class name used in original CSS */
.burger{display:none;flex-direction:column;justify-content:center;gap:5px;background:none;border:none;cursor:pointer;padding:0.4rem;z-index:110;flex-shrink:0}
.burger span{display:block;width:22px;height:2px;background:var(--text-primary);border-radius:2px;transition:transform 0.3s,opacity 0.3s}
@media(max-width:768px){
  .burger{display:flex!important}
  /* Products button left-align (button default is center) */
  .nav-dropbtn{text-align:left!important;justify-content:space-between!important}
  /* Mobile nav item vertical spacing */
  .nav-links a{padding:0.9rem 5%!important;display:block;width:100%;box-sizing:border-box}
  .nav-dropbtn{padding:0.9rem 5%!important;width:100%!important;box-sizing:border-box!important}
  /* Consistent left indent for all items */
  .nav-links .dropdown{width:100%}
}
.footer-links-list{display:flex!important;flex-direction:column!important;gap:0.6rem!important}
.footer-links-list a{display:block!important}

/* Mobile burger: mega-menu shows as simple vertical list */
@media(max-width:768px){
  .mega-overview-bar{display:none!important}
  .mega-grid{display:flex!important;flex-direction:column!important;gap:0!important;padding:0!important;background:transparent!important;border:none!important;box-shadow:none!important}
  .mega-item{display:flex!important;align-items:center!important;padding:0.7rem 5%!important;border-bottom:1px solid var(--border-color,rgba(255,255,255,0.08))!important;background:transparent!important;text-decoration:none!important;gap:0.6rem!important;border-radius:0!important;box-shadow:none!important}
  .mega-item:last-child{border-bottom:none!important}
  .mega-icon{width:24px!important;height:24px!important;min-width:24px!important;flex-shrink:0!important}
  .mega-label{font-size:0.9rem!important;font-weight:500!important;color:var(--text-primary,#f4f4f5)!important}
  .mega-desc{display:none!important}
}


/* ── v20 patch3 ── */

/* Mega-menu JS hover class */
.mega-dropdown.hov .mega-menu{display:block!important}

/* Mobile: nav-links panel is scrollable, body is locked by JS */
@media(max-width:768px){
  .nav-links{overflow-y:auto;-webkit-overflow-scrolling:touch}
  .nav-links.open{max-height:calc(100vh - 4.5rem)}

  /* Mega-overview-bar visible on mobile as Overview link */
  .mega-overview-bar{display:block!important;padding:0!important;border-bottom:none!important;margin:0!important}
  .mega-overview-link{
    display:flex!important;align-items:center!important;
    padding:0.75rem 5%!important;
    font-size:0.9rem!important;font-weight:600!important;
    color:var(--accent-teal,#81d8d0)!important;
    border-bottom:1px solid var(--border-color,rgba(255,255,255,0.08))!important;
    text-decoration:none!important;gap:0.4rem!important;
  }
  .mega-ov-arrow{display:none!important}

  /* Mega-grid: title-only list on mobile */
  .mega-grid{display:flex!important;flex-direction:column!important;gap:0!important;padding:0!important;background:transparent!important;border:none!important;box-shadow:none!important}
  .mega-col{border:none!important;border-radius:0!important;margin:0!important;padding:0!important;background:transparent!important}
  .mega-col>a{
    display:flex!important;align-items:center!important;
    padding:0.7rem 5% 0.7rem 7%!important;
    border-bottom:1px solid var(--border-color,rgba(255,255,255,0.08))!important;
    text-decoration:none!important;gap:0.5rem!important;
  }
  .mega-col>a:last-child{border-bottom:none!important}
  /* Hide icon, description, sub-list on mobile — show title only */
  .mega-col-icon{display:none!important}
  .mega-col h4{font-size:0.88rem!important;font-weight:500!important;color:var(--text-primary,#f4f4f5)!important;margin:0!important}
  .mega-col p,.mega-col ul{display:none!important}
}


/* ── v20 patch4 ── */
/* Nav dropbtn: unify font with nav links across all pages */
.nav-dropbtn{
  font-family:var(--font-sans,inherit)!important;
  font-size:0.875rem!important;
  font-weight:500!important;
  letter-spacing:inherit!important;
  line-height:inherit!important;
}


/* ── v20 patch5 ── */

/* Chat: user bubble clearly differentiated from background */
.chat-bubble.user .bubble-text{
  background:rgba(129,216,208,0.14)!important;
  border:1px solid rgba(129,216,208,0.28)!important;
  color:#d4eeec!important;
}

/* About: identity-kw — revert to original highlight style */
.identity-kw{
  font-family:inherit!important;
  font-style:normal!important;
  font-weight:700!important;
  color:var(--text-primary)!important;
  background:linear-gradient(to right,rgba(129,216,208,0.18),rgba(129,216,208,0.06))!important;
  padding:0.1em 0.35em!important;
  border-radius:6px!important;
  border-bottom:2px solid rgba(129,216,208,0.5)!important;
}

/* ── v20 patch6 ── */

/* Identity statement: surrounding text muted, key phrase pops via Playfair */
.identity-statement{color:var(--text-secondary)!important}
.identity-kw{
  font-family:var(--font-serif,"Playfair Display",Georgia,serif)!important;
  font-style:italic!important;
  font-weight:700!important;
  color:var(--text-primary)!important;
  background:none!important;
  padding:0!important;
  border:none!important;
  border-radius:0!important;
}

/* Burger Overview link: same style as other submenu items */
@media(max-width:768px){
  .mega-overview-link{
    color:var(--text-primary,#f4f4f5)!important;
    font-size:0.88rem!important;
    font-weight:500!important;
  }
}


/* ── v20 patch7 ── */

/* 1. identity-kw: Playfair italic + qa-highlight background + underline */
.identity-kw{
  font-family:var(--font-serif,"Playfair Display",Georgia,serif)!important;
  font-style:italic!important;
  font-weight:700!important;
  color:var(--text-primary)!important;
  background:rgba(129,216,208,0.13)!important;
  padding:0.05em 0.28em!important;
  border-radius:4px!important;
  border-bottom:1.5px solid rgba(129,216,208,0.55)!important;
}

/* 7. Header logo: slightly larger */
.header-logo{height:36px!important;max-width:160px!important}

.footer-logo img{height:44px!important;width:auto!important;display:block!important;max-width:200px!important}

/* 4. Mobile burger: submenu items match primary item style */
@media(max-width:768px){
  /* Submenu links same size/weight/colour as primary nav links */
  .mega-col>a{color:var(--text-secondary,#a1a1aa)!important}
  .mega-col h4{
    font-size:0.875rem!important;
    font-weight:500!important;
    color:var(--text-secondary,#a1a1aa)!important;
  }
  .mega-overview-link{
    color:var(--text-secondary,#a1a1aa)!important;
    font-size:0.875rem!important;
    font-weight:500!important;
  }

  /* 5. Chevron vertically centred */
  .nav-dropbtn{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
  }
  .nav-dropbtn .chevron{
    display:inline-flex!important;
    align-items:center!important;
    line-height:1!important;
    margin-top:0!important;
  }

  /* 6. Hover/touch feedback on all mobile menu items */
  .nav-links a:hover,
  .nav-links a:active,
  .nav-dropbtn:hover,
  .nav-dropbtn:active{
    background:rgba(255,255,255,0.05)!important;
    color:var(--text-primary,#f4f4f5)!important;
  }
  .mega-col>a:hover,
  .mega-col>a:active{
    background:rgba(255,255,255,0.05)!important;
  }
  .mega-col h4:hover{color:var(--text-primary,#f4f4f5)!important}

  /* Ensure nav panel scrolls and body doesn't */
  .nav-links{
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior:contain!important;
  }
  .nav-links.open{
    max-height:calc(100dvh - 4.5rem)!important;
  }
}


/* ── v20 patch8 ── */

/* Products page: mega-menu must be static (in-flow) on mobile for nav scroll */
@media(max-width:768px){
  .mega-menu{
    position:static!important;
    width:100%!important;
    box-shadow:none!important;
    border:none!important;
    padding:0!important;
    background:transparent!important;
  }
}


/* ── v20 patch9 ── */

/* 8. Header height reduction */
.navbar{height:4rem!important}
.nav-container{height:4rem!important}

/* 9. Mobile: logo shrinks with burger header */
@media(max-width:768px){
  .header-logo{height:28px!important;max-width:130px!important}
  /* Adjust mobile nav panel top to match new height */
  .nav-links{top:4rem!important}
  .mega-menu{top:4rem!important}
}

.footer-col-nav h4{
  font-size:0.68rem!important;
  font-weight:700!important;
  letter-spacing:0.10em!important;
  text-transform:uppercase!important;
  color:var(--text-secondary)!important;
  margin-bottom:1rem!important;
}

/* 3. Chat bubble border — neutral, non-distracting */
.chat-bubble.user .bubble-text{
  border:1px solid rgba(255,255,255,0.09)!important;
}


/* AI HR Expert 40% stat */
.ai-hr-stat{display:flex;align-items:baseline;justify-content:flex-start;gap:0.25rem}
.ai-hr-stat-num{font-size:2rem;font-weight:700;color:#ffffff;letter-spacing:-0.04em;line-height:1}
.ai-hr-stat-arrow{font-size:1.7rem;color:#81d8d0;line-height:1}
.ai-hr-stat-label{font-size:0.82rem;color:var(--text-secondary);font-weight:500}








/* ── patch11: footer sub-links smaller than h4 ── */
.footer-col-nav .footer-links-list a{
  font-size:0.78rem!important;
  color:var(--text-secondary)!important;
}


/* ── patch11: SCALE section — tighter top gap ── */
#scale-sub.sub-section{
  margin-top:2rem!important;
  padding-top:2rem!important;
}


/* ── patch12: footer tagline center-aligned with logo ── */
.footer-brand-col > .footer-logo,
.footer-brand-col > .footer-tagline {
  width: 130px; text-align: center; margin-top: 0.15rem !important;
  display: block;
}
.footer-logo-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}
.footer-tagline {
  font-size: 0.76rem !important;
  color: rgba(0,0,0,0.52) !important;
  margin-top: 0 !important;
  margin-left: 0 !important;
  white-space: normal !important;
  line-height: 1.4 !important;
  letter-spacing: 0.01em !important;
  text-align: center !important;
}

/* ── Section swap fixes: AI HR Expert on light bg, HR Modules on dark bg ── */
/* Stat numbers readable on light background */
.product-section:not(.dark-bg) .ai-hr-stat-num { color: var(--text-primary); }
/* Module card text: prevent white-text inheritance on dark section bg */
.dark-bg .module-feat-name { color: var(--text-primary); }
.dark-bg .module-feature-card { color: var(--text-primary); }

/* ══════════════════════════════════════════════════════
   Section-swap visual fixes
   AI HR Expert → light bg   |   HR Modules → dark bg
══════════════════════════════════════════════════════ */

/* ── Chat visual: light-bg treatment ── */
.product-section:not(.dark-bg) .chat-visual {
  background: #f2f3f7;
  border-color: #dde1ea;
}
.product-section:not(.dark-bg) .chat-header {
  border-bottom-color: #dde1ea;
}
.product-section:not(.dark-bg) .chat-header-text {
  color: #52525b;
}
.product-section:not(.dark-bg) .chat-header-text strong {
  color: #18181b;
}
.product-section:not(.dark-bg) .user .bubble-text {
  background: #e4e8f4 !important;
  border: 1px solid #c8d0e8 !important;
  color: #374151 !important;
}
.product-section:not(.dark-bg) .agent .bubble-text {
  background: linear-gradient(135deg, rgba(79,110,247,0.09), rgba(124,58,237,0.06)) !important;
  border: 1px solid rgba(79,110,247,0.22) !important;
  color: #3a4060 !important;
}
.product-section:not(.dark-bg) .bubble-meta {
  color: #a1a1aa;
}

/* ── Module feature cards: dark-bg treatment ── */
.dark-bg .module-feature-card {
  background: #14171e;
  border-color: #262a35;
  color: var(--text-primary);
}
.dark-bg .module-feature-card:hover {
  border-color: #363c4d;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}
.dark-bg .module-feat-name {
  color: #e4e6ed;
}
.dark-bg .module-feat-desc {
  color: #8a8a9a;
}
.dark-bg .module-feat-icon {
  background: rgba(255,255,255,0.07) !important;
}
.dark-bg .module-feat-chip {
  background: #1c1f28;
  border-color: #2a2d38;
  color: #8a8a9a;
}
.dark-bg .module-feat-chips { gap: 0.4rem; }
.dark-bg .hr-modules-intro h2 { color: #fff; }
.dark-bg .hr-modules-intro p  { color: #8a8a9a; }

/* targeted-fix: logo sizing + mega overview spacing */
.header-logo,.site-logo,.footer-brand-logo{height:56px!important;max-width:none!important;width:auto!important;display:block!important;mix-blend-mode:normal!important;object-fit:contain!important;}
.footer-logo img,.footer-brand-logo{height:56px!important;max-width:none!important;width:auto!important;display:block!important;mix-blend-mode:normal!important;}
.mega-overview-bar{margin:0 auto 1rem!important;padding:0!important;border-bottom:1px solid var(--border-color)!important;}
.mega-overview-link{padding:.78rem 5% .78rem!important;line-height:1.2!important;align-items:center!important;gap:.5rem!important;}



/* Payroll footer: keep 3 menu columns on one row longer, matching normal pages visually */
/* Footer intentionally inherits shared/common rules from base.css only. */
