
@import url("https://use.typekit.net/pqy7gko.css");


@font-face {
  font-family: 'Nanami';
  src: url('../fonts/Nanami.eot?#iefix') format('embedded-opentype'),  url('../fonts/Nanami.otf')  format('opentype'),
       url('../fonts/Nanami.woff') format('woff'), url('../fonts/Nanami.ttf')  format('truetype'), url('../fonts/Nanami.svg#Nanami') format('svg');
  font-weight: normal;
  font-style: normal;
}


/* --- MEGA MENU STYLES --- */

/* The container for the dropdown link */
.main-nav .has-megamenu {
    position: relative;
    align-items: center;
    align-self: stretch; 
}

/* The dropdown arrow icon */
.main-nav .has-megamenu > a .fa-chevron-down {
    font-size: 12px;
    transition: transform 0.3s ease;
}

@media (min-width: 701px) {
    /* This makes the 'Platform' button fill the header's height on desktop */
    .main-nav .has-megamenu {
        position: relative;
        display: flex;
        align-items: center;
        align-self: stretch; 
    }

    /* This creates the invisible hover bridge on desktop */
    .main-nav .has-megamenu::after {
        content: '';
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        height: 20px;
    }
}

/* The mega menu container - hidden by default */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    max-width: 1100px;
    padding: 40px;
    margin-top: 20px;

    background-color: var(--background-light); /* CORRECTED a solid white background */
    
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(82, 111, 239, 0.15);
    
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: -1;
}

/* Show the menu on hover */
.has-megamenu:hover > .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
    z-index: 100;
}

/* Rotate the arrow icon on hover */
.has-megamenu:hover > a .fa-chevron-down {
    transform: rotate(180deg);
}

/* The grid layout for the menu content */
.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

/* Styling for each column in the menu */
.mega-menu-column h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
    margin-bottom: 25px;
    font-weight: 600;
}

/* Each clickable item in the menu */
.mega-menu-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.mega-menu-item:not(:last-child) {
    margin-bottom: 10px;
}

.mega-menu-item:hover {
    background-color: var(--background-soft);
}

/* Styling for the icon within a menu item */
.mega-menu-item i {
    font-size: 18px;
    margin-top: 4px;
    color: var(--accent-blue-primary);
    transition: color 0.2s ease;
}

.mega-menu-item:hover i {
    color: var(--accent-orange);
}

/* The text block next to the icon */
.mega-menu-item-text strong {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
    transition: color 0.2s ease;
}

.mega-menu-item:hover .mega-menu-item-text strong {
    color: var(--accent-orange);
}

.mega-menu-item-text span {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.4;
}

/* Special styling for the featured column with logos */
.featured-column {
    background-color: var(--background-soft);
    padding: 20px;
    border-radius: 16px;
}
.featured-column h4{
    padding-left: 12px;
}
.mega-menu-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

/* --- MOBILE RESPONSIVENESS FOR MEGA MENU --- */
/* On smaller screens, the mega menu is not needed as the mobile nav takes over */
@media (max-width: 1100px) {
    .has-megamenu .mega-menu {
        display: none; /* Hide mega menu on tablet/mobile */
    }
}
/* --- TESTIMONIAL SECTION --- */
.testimonial-section {
    padding: 120px 0;
    background-color: var(--background-soft);
    position: relative;
}

.testimonial-section .section-header {
    max-width: 800px;
}

.testimonial-section .eyebrow-text {
    justify-content: center;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.testimonial-card {
    background-color: var(--background-light);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease-in-out;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-blue-primary);
    box-shadow: 0 15px 30px -5px rgba(82, 111, 239, 0.1);
}

.testimonial-content {
    position: relative;
    padding-left: 50px;
}

.testimonial-quote-icon {
    position: absolute;
    top: -10px;
    left: 0;
    font-size: 32px;
    color: var(--accent-blue-primary);
    opacity: 0.5;
}

.testimonial-text {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 30px;
    font-weight: 500;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-left: 50px;
    margin-top: auto;
}

.testimonial-logo {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

.author-details .author-name {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 16px;
    margin: 0;
}

.author-details .author-title {
    font-size: 15px;
    color: var(--text-light);
    margin: 0;
}

.testimonial-cta {
    text-align: center;
    margin-top: 50px;
}

/* --- RESPONSIVE STYLES FOR TESTIMONIALS --- */
@media (max-width: 992px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .testimonial-card {
        padding: 30px;
    }
    
    .testimonial-content {
        padding-left: 0;
        text-align: center;
    }
    
    .testimonial-quote-icon {
        position: static;
        display: block;
        margin: 0 auto 20px;
    }

    .testimonial-text {
        font-size: 16px;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
        padding-left: 0;
        gap: 15px;
    }
}
/* --- Inset Panel Solutions Section --- */
.solutions-panel-section {
    padding: 120px 0;
    background-image: linear-gradient(to bottom, var(--background-light), var(--background-soft));
    position: relative;
}
.solutions-panel {
    background-color: var(--background-light);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 60px;
    box-shadow: 0 25px 50px -12px rgba(82, 111, 239, 0.1);
}
.solutions-panel .section-header {
    max-width: 750px;
    margin: 0 auto 60px;
    text-align: center;
}
.solutions-panel .section-header p:first-of-type {
    margin-bottom: 25px; 
}
/* --- Adds subtle emphasis to keywords within solution cards --- */
.solution-item p strong {
    font-weight: 600;
    color: #364568;
    /* Add a smooth transition for the color change on hover */
    transition: color 0.3s ease;
}

/* --- On hover, keywords change to the accent color to match the icon/title --- */
.solution-item:hover p strong {
    color: var(--accent-orange);
}
/* H2 is now a clean, solid color for hierarchy */
.solutions-panel .section-header h2 {
    color: var(--text-dark);
    margin-bottom: 25px;
}
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.solution-item {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease-in-out;
}
.solution-cta {
    margin-top: auto;
    padding-top: 20px;
}
.solution-item:hover {
    transform: translateY(-8px);
    border-color: var(--accent-orange);
    box-shadow: 0 15px 30px -5px rgba(14, 14, 110, 0.1);
}
.solution-item i {
    font-size: 32px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #a8bfff, #8295c2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    transition: all 0.3s ease-in-out;
}
/* H3 subsections now use the premium CTA gradient */
.solution-item h3 {
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 500;
    background: linear-gradient(0deg, var(--text-dark), var(--accent-blue-backdrop));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}
/* NEW: On hover, H3 changes to the orange gradient, matching the icon */
.solution-item:hover h3,
.solution-item:hover i {
    background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}
.solution-item p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
}

/* --- NEW: Keyword Flourish/Highlight Effect --- */
.highlight-keyword {
    color: var(--text-dark);
    font-weight: 600;
    background-color: rgba(82, 111, 239, 0.08); /* A very light, transparent blue */
    padding: 3px 8px;
    border-radius: 6px;
    white-space: nowrap; /* Prevents the highlight from breaking across lines */
    transition: all 0.3s ease;
}

/* Optional: Add a subtle hover effect for interactivity */
.solutions-panel:hover .highlight-keyword {
    color: var(--accent-orange);
    background-color: rgba(241, 101, 50, 0.1); /* A very light, transparent orange */
}

/* --- Add these new styles for the extra card icons --- */
.card-icon-wrapper.color-6 { background-image: linear-gradient(to top, #6a85b6 0%, #bac8e0 100%); }
.card-icon-wrapper.color-7 { background-image: linear-gradient(to right, #43e97b 0%, #38f9d7 100%); }
.card-icon-wrapper.color-8 { background-image: linear-gradient(120deg, #f093fb 0%, #f5576c 100%); }
.card-icon-wrapper.color-9 { background-image: linear-gradient(to top, #48c6ef 0%, #6f86d6 100%); }

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* --- MOBILE NAVIGATION --- */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-dark);
    cursor: pointer;
    z-index: 1001;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

        /* --- VARIABLE DEFINITIONS & GLOBAL RESETS --- */
:root {
    --gradient-start: #ff5000;
    --gradient-end: #f9a51a;
    --accent-orange: #f16532;
    --accent-blue-primary: #526fef;
    --accent-blue-backdrop: #1f5c9b;
    --accent-green: #00a77d;
    --text-dark: #0e0e6e;
    --text-light: #4A5568;
    --background-light: #FFFFFF;
    --background-soft: #f8f9fc;
    --border-color: #E2E8F0;
    --font-heading: 'Nanami', sans-serif;
    --font-body: 'Montserrat', sans-serif;
}

        * { box-sizing: border-box; margin: 0; padding: 0; }
        html { scroll-behavior: smooth; }
        body {
            font-family: var(--font-body);
            color: var(--text-dark);
            background-color: var(--background-light);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
        }
        h1, h2, h3, h4, h5, h6 {
            font-family: var(--font-heading);
            color: var(--text-dark);
        }
        .container { max-width: 1200px; margin-left: auto; margin-right: auto; padding: 0 20px; }

        /* --- BUTTONS & LINKS --- */
        .btn {
            display: inline-block; font-weight: 600; padding: 12px 24px; border-radius: 8px;
            text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: all 0.3s ease; font-size: 16px;
        }
        .btn.large { padding: 16px 32px; font-size: 18px; }
        .btn-gradient {
            background-image: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
            color: white; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        }
        .btn-gradient:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255, 80, 0, 0.4); }
        
.btn-secondary {
    background-color: var(--background-light);
    color: var(--accent-blue-primary);
    border-color: rgba(82, 111, 239, 0.4);
}
.btn-secondary:hover {
    transform: translateY(-2px);
    border-color: var(--accent-blue-primary);
    color: var(--accent-blue-primary);
    box-shadow: 0 4px 15px rgba(82, 111, 239, 0.15);
}

        /* --- HEADER --- */
        .site-header {
            background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
            border-bottom: 1px solid var(--border-color); position: fixed; top: 0; left: 0;
            width: 100%; z-index: 1000; padding: 20px 0;
        }
        .header-inner { display: flex; justify-content: space-between; align-items: center; }
        .logo img { height: 90px; }
        .main-nav ul { list-style: none; display: flex; gap: 30px; }
        .main-nav a { text-decoration: none; color: var(--text-light); font-weight: 500; transition: color 0.2s ease; }
        .main-nav a:hover { color: var(--text-dark); }
        .header-actions { display: flex; align-items: center; gap: 20px; }
        .btn-login { color: var(--text-light); font-weight: 500; text-decoration: none; transition: color 0.2s ease; }
        .btn-login:hover { color: var(--text-dark); }

        /* --- HERO SECTION --- */
        .hero-section {
            padding-top: 175px;
            padding-bottom: 80px;
            background-color: var(--background-soft);
            position: relative;
            overflow: hidden;
        }
        .hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
        .hero-text-content h1 { font-size: 50px; font-weight: 500; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 30px; }
        .highlight-text {
            background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
            -webkit-background-clip: text; -webkit-text-fill-color: transparent;
            background-clip: text; text-fill-color: transparent;
        }
        .hero-text-content p { font-size: 18px; color: var(--text-light); margin-bottom: 40px; max-width: 500px; font-weight: 500; }
        .hero-buttons { display: flex; justify-content: flex-start; gap: 15px; }
        .hero-media-content img {
            width: 100%; display: block; border-radius: 12px;
            box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
            border: 1px solid var(--border-color);
        }
        
        /* --- SVG DIVIDERS --- */
        .section-divider { position: absolute; bottom: 0; left: 0; width: 100%; overflow: hidden; line-height: 0; }
        .section-divider.top { top: -1px; bottom: auto; }
        .section-divider.flip-vertical { transform: rotate(180deg); }
        .section-divider svg { position: relative; display: block; width: 100%; height: 80px; }
        .section-divider .shape-fill { fill: var(--background-light); }
        .section-divider.soft-fill .shape-fill { fill: var(--background-soft); }
        .section-divider.dark-fill .shape-fill { fill: var(--text-dark); }

/* --- LOGO CLOUD (REVISED) --- */
.logo-cloud-section {
    padding: 20px 0 80px 0;
    background: var(--background-light);
}
.section-subtitle {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 40px;
}
.logo-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
    mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
}
/* --- LOGO MARQUEE (REVISED FOR SEAMLESS LOOP) --- */
.logo-track {
    /* --- Controllable Variables --- */
    --logo-width: 250px;
    --logo-count: 27; /* <-- IMPORTANT: The number of unique logos */
    --animation-speed: 90s; /* You can adjust this duration */

    display: flex;
    /* Width is now calculated automatically: logo-width * (logo-count * 2) */
    width: calc(var(--logo-width) * (var(--logo-count) * 2));
    animation: scroll var(--animation-speed) linear infinite;
}

.logo-marquee:hover .logo-track {
    animation-play-state: paused;
}

.logo-item {
    flex-shrink: 0;
    width: var(--logo-width); /* Use the variable for consistency */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ... your .logo-item img and :hover styles remain the same ... */
.logo-item img {
    max-height: 50px;
    width: auto;
    filter: grayscale(1);
    opacity: 0.7;
    transition: all 0.3s ease;
}
.logo-item img.logo-small {
    height: 35px; /* Adjust this value to your desired smaller size */
}
.logo-item:hover img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.1);
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        /* Scroll distance is calculated: -(logo-width * logo-count) */
        transform: translateX(calc(var(--logo-width) * var(--logo-count) * -1));
    }
}


        /* --- FEATURE SECTIONS --- */
        .feature-section { padding: 120px 0; background-color: var(--background-soft); position: relative; }
        .feature-item { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
        .feature-item:not(:last-child) { margin-bottom: 120px; }
        .feature-item.reverse .feature-text { order: 2; }
        .feature-item.reverse .feature-media { order: 1; }
.eyebrow-text { 
    font-weight: 700; 
    color: var(--accent-orange);
    text-transform: uppercase; 
    letter-spacing: 1px; 
    font-size: 14px; 
    margin-bottom: 15px; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
}
        .feature-text h2 { font-size: 38px; font-weight: 500; margin-bottom: 20px; line-height: 1.3; letter-spacing: -0.01em; }
        .feature-text p { font-size: 18px; color: var(--text-light); margin-bottom: 30px; font-weight: 500; }
        .feature-media img { max-width: 100%; border-radius: 12px; }
        
        .feature-stat { display: flex; align-items: baseline; gap: 15px; margin-top: 30px; margin-bottom: 25px; }
        .feature-stat h3 {
            font-size: 64px; font-weight: 700; line-height: 1; background: linear-gradient(45deg, var(--gradient-start), var(--accent-orange));
            -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; text-fill-color: transparent;
        }
        .feature-stat p { font-size: 16px; color: var(--text-light); margin: 0; line-height: 1.2; }

        /* --- CARDS SECTION --- */
        .cards-section { padding: 120px 0; background-color: var(--background-light); position: relative; }
        .section-header { text-align: center; max-width: 650px; margin: 0 auto 60px; }
        .section-header h2 { font-size: 38px; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; }
        .cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
        .card { background: var(--background-light); padding: 40px 30px; border-radius: 16px; text-align: center; transition: all 0.3s ease; position: relative; overflow: hidden; border: 1px solid var(--border-color); }
        .card:hover { transform: translateY(-8px); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08); border-color: transparent; }
        .card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; border-radius: 16px; padding: 2px; background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end)); -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.3s ease; }
        .card:hover::before { opacity: 1; }
        .card-icon-wrapper { height: 60px; width: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; color: white; font-size: 24px; }
        .card-icon-wrapper.color-1 { background-image: linear-gradient(to top, #30cfd0 0%, #330867 100%); }
        .card-icon-wrapper.color-2 { background-image: linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%); }
        .card-icon-wrapper.color-3 { background-image: linear-gradient(to right, #f83600 0%, #f9d423 100%); }
        .card-icon-wrapper.color-4 { background-image: linear-gradient(to top, #d299c2 0%, #fef9d7 100%); }
        .card-icon-wrapper.color-5 { background-image: linear-gradient(to right, #4facfe 0%, #00f2fe 100%); }
        .card h3 {
            font-family: var(--font-body);
            font-size: 20px;
            margin-bottom: 10px;
            font-weight: 700;
        }
        .card p { color: var(--text-light); font-size: 15px; line-height: 1.5; }

        /* --- INTEGRATIONS LOGO WALL --- */
        .integrations-section {
            margin-bottom: 125px;
            background-color: var(--background-light); /* White background */
        }
        .logo-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            gap: 20px;
        }
        .integration-logo-box {
            background: var(--background-light);
            border-radius: 16px;
            border: 1px solid var(--border-color);
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            height: 120px;
        }
        .integration-logo-box:hover {
            transform: translateY(-8px);
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
            border-color: rgba(82, 111, 239, 0.4);
        }
        .integration-logo-box img {
            max-height: 60px;
            max-width: 70%;
            width: auto;
            filter: grayscale(1);
            opacity: 0.6;
            transition: all 0.3s ease;
        }
        .integration-logo-box:hover img {
            filter: grayscale(0);
            opacity: 1;
        }
        .integrations-cta {
            text-align: center;
            margin-top: 50px;
        }

        /* --- CTA & FOOTER --- */
.cta-heading-professional {
    background: linear-gradient(45deg, #0e0e6e, #526fef); /* Navy to Blue Gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}
        .cta-section { padding: 120px 0; background-color: var(--background-soft); position: relative; }
        .cta-content { text-align: center; max-width: 700px; margin: 0 auto; position: relative; z-index: 1; }
        .cta-content h2 { font-size: 42px; font-weight: 500; margin-bottom: 25px; line-height: 1.3; letter-spacing: -0.01em; }
        .cta-content p { font-size: 18px; color: var(--text-light); margin-bottom: 30px; font-weight: 500; }
        .gradient-text { background: linear-gradient(45deg, var(--gradient-start), var(--gradient-end)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; text-fill-color: transparent; }
        .site-footer-bottom { background: var(--text-dark); color: #A0AEC0; padding: 100px 0 60px; font-size: 15px; position: relative; }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
        .footer-logo { 
            height: 60px; 
            margin-bottom: 40px; 
            filter: grayscale(1) brightness(5); 
        }
        .footer-tagline { font-size: 14px; }
        .footer-column h4 { color: white; font-weight: 600; font-size: 16px; margin-bottom: 15px; }
        .footer-column ul { list-style: none; }
        .footer-column ul li { margin-bottom: 10px; }
        .footer-column a { color: #A0AEC0; text-decoration: none; transition: color 0.2s ease; }
        .footer-column a:hover { color: white; }

        /* --- ANIMATION & RESPONSIVE --- */
        .animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
        .is-visible { opacity: 1; transform: translateY(0); }
        
        /* --- ALL RESPONSIVE CHANGES --- */
        /* Changes are now grouped at the end and ordered from largest to smallest */
        
        @media (max-width: 1100px) {
            .header-actions .btn-login { display: none; }
            .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 20px;}
            .hero-text-content { order: 2; }
            .hero-media-content { order: 1; margin-top: -60px; }
            .hero-buttons { justify-content: center; }
            .hero-text-content p { margin-left: auto; margin-right: auto; }
.hero-section {
    padding-top: 210px;
}

/* --- FINAL FIX V2: Using Flexbox Direction --- */

/* Convert all feature items to vertical columns on mobile */
.feature-item {
    display: flex;
    flex-direction: column; /* Stacks items: Text -> Media */
    gap: 40px;
}

/* For the .reverse items, simply reverse the column direction */
.feature-item.reverse {
    flex-direction: column-reverse; /* Stacks items: Media -> Text */
}

/* This rule centers the text in ALL feature items on mobile */
.feature-item .feature-text {
    text-align: center;
}

            .eyebrow-text, .feature-stat { justify-content: center; }
        }

        @media (max-width: 768px) {
            .hero-text-content h1 { font-size: 36px; }
            .hero-text-content p { font-size: 17px; }
            .feature-text h2, .section-header h2, .cta-content h2 { font-size: 32px; }
            .footer-grid { grid-template-columns: 1fr 1fr; }
            .footer-column-main { grid-column: 1 / -1; }
        }

        @media (max-width: 700px) {
            .hero-text-content h1 { font-size: 33px; }
            .hero-text-content p { font-size: 15px; }
            /* --- MOBILE HEADER & LOGO --- */
            .site-header {
                padding: 15px 0;
            }
            .logo img {
                height: 60px;
            }
            .mobile-nav-toggle {
                display: block;
            }
.nav-wrapper {
    display: none;
    position: fixed;
    top: 91px;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--background-light);
    padding: 30px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    border-top: 1px solid var(--border-color);
    z-index: 1000;
    /* Note: bottom: 0 and overflow-y are removed from this default state */
}
            .nav-open .nav-wrapper {
                display: block;
            }

.site-header.nav-open.megamenu-expanded .nav-wrapper {
    height: calc(100vh - 91px); 
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
            .main-nav ul,
            .header-actions {
                flex-direction: column;
                align-items: center;
                gap: 25px;
            }
            .main-nav ul {
                margin-bottom: 30px;
            }
            .main-nav a {
                font-size: 18px;
            }
            .header-actions .btn {
                width: 100%;
                max-width: 300px;
                text-align: center;
            }
            /* --- MOBILE HERO SECTION --- */
            .hero-section {
                padding-top: 120px;
                padding-bottom: 100px;
            }
            .hero-media-content {
                margin-top: 0; /* Reset negative margin */
                margin-bottom: 40px; /* Add space to prevent overlap */
            }
        }

        @media (max-width: 480px) {
            .hero-buttons { flex-direction: column; align-items: center; }
            .footer-grid { grid-template-columns: 1fr; }
            .logo-grid {
                grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
            }
        }
/* --- 1. PLATFORM FEATURES (TABS) --- */
.tabs-section {
    padding: 120px 0;
    background-color: var(--background-soft);
    position: relative;
}
.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}
.tab-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-light);
    background-color: var(--background-light);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}
.tab-link:hover {
    color: var(--text-dark);
    border-color: var(--accent-blue-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(82, 111, 239, 0.1);
}
.tab-link.active {
    background-image: linear-gradient(45deg, var(--gradient-start), var(--gradient-end));
    color: white;
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(255, 80, 0, 0.3);
}
.tab-link.active i {
    color: white;
}
.tab-link i {
    color: var(--accent-blue-primary);
    transition: color 0.3s ease;
}
.tab-content {
    display: none;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
    background: var(--background-light);
    padding: 60px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
}
.tab-content.active {
    display: grid;
}
.tab-media img {
    width: 100%;
    border-radius: 12px;
}
.tab-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 500;
    color: var(--text-dark);
}
.tab-text p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--text-light);
}
.tab-text ul {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.tab-text ul li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.5;
}
.tab-text ul i {
    color: var(--accent-green);
    margin-top: 5px;
}
/* Creates the two-column layout for the text itself */
.list-item-content {
    display: grid;
    /* Adjust the first value based on the longest title */
    grid-template-columns: 195px auto; 
    align-items: baseline;
    gap: 8px;
}

/* --- 2. GROWTH & MARKETING (CHECKLIST) --- */
.feature-checklist {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}
.checklist-item i {
    color: var(--accent-green);
    font-size: 22px;
    margin-top: 2px;
}
.checklist-item span {
    color: var(--text-light);
    font-size: 16px;
    font-weight: 500;
}
.checklist-item strong {
    color: var(--text-dark);
}


/* --- 3. ANALYTICS SUITE --- */
.analytics-section {
    padding: 120px 0;
    background-color: var(--background-soft);
    position: relative;
}
.analytics-grid-wrapper {
    margin-top: 60px;
}
.analytics-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 40px;
}
.analytics-column {
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.analytics-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    text-align: left;
}
.analytics-item i {
    font-size: 24px;
    color: var(--accent-blue-primary);
    background: white;
    padding: 12px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
}
/* Reverses the icon and text for the first column only */
.analytics-column:first-child .analytics-item {
    flex-direction: row-reverse;
    text-align: right;
}
.analytics-column:last-child .analytics-item {
    text-align: left; /* Keep left align for consistency */
}
.analytics-text h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-dark);
}
.analytics-text p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}
.analytics-center-media img {
    max-width: 100%;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
    border: 1px solid var(--border-color);
}


/* --- 4. FULFILLMENT & LOGISTICS --- */
.fulfillment-section {
    padding: 120px 0;
    background-color: var(--background-light);
}
.fulfillment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}
.fulfillment-card {
    background: var(--background-soft);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}
.fulfillment-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--accent-orange);
}
.fulfillment-card h3 {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 15px;
    color: var(--text-dark);
}
.fulfillment-card p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.6;
}
.fulfillment-card .card-icon-wrapper {
    margin-bottom: 25px;
}

/* --- ANALYTICS CONNECTOR LINES --- */

/* Make the wrapper a positioning container */
.analytics-grid-wrapper {
    position: relative;
}

/* Position the SVG canvas behind the content */
.connector-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Allows mouse clicks to pass through to the content */
    z-index: 0; 
}

/* Ensure the main content grid sits on top of the SVG */
.analytics-grid {
    position: relative;
    z-index: 1;
}

/* Default style for the lines */
.connector-lines line {
    stroke: #BBC7F0; /* Your branded light blue */
    stroke-width: 3px;
    transition: stroke 0.4s ease;
}

/* Highlight style for the lines (will be triggered by JavaScript on hover) */
.connector-lines line.highlight {
    stroke: #f9a51a; /* A bright, branded yellow/orange for the hover */
}

/* --- RESPONSIVE ADJUSTMENTS FOR NEW SECTIONS --- */
@media (max-width: 1200px) {
    .tab-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .tab-media {
        order: 1;
    }
    .tab-text {
        order: 2;
        text-align: center;
    }
    .tab-text ul {
        text-align: left; /* Keep list items left-aligned for readability */
    }
.analytics-grid {
    grid-template-columns: 1fr;
}
.analytics-center-media {
    order: 1;
    margin-bottom: 40px;
    text-align: center; /* ADDED: This will center the image */
}
.analytics-column {
    order: 2;
}
.analytics-column:last-child {
    order: 3;
}
.analytics-item {
    /* MODIFIED: These rules stack and center the feature items */
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.analytics-item i {
    /* ADDED: Adds proper spacing for the icon in the stacked layout */
    margin-bottom: 15px;
}
.analytics-column:first-child .analytics-item {
    flex-direction: column;
    text-align: center;
}
.analytics-column:last-child .analytics-item {
    text-align: center;
}
.has-megamenu:hover > .mega-menu,
.has-megamenu.is-open > .mega-menu {
    /* --- Explicitly re-declare all positioning properties --- */
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translate(-50%, 0);

    /* --- Visibility Properties --- */
    opacity: 1;
    visibility: visible;
    z-index: 100;
}
}

@media (max-width: 768px) {
    .tab-link {
        padding: 12px 20px;
        font-size: 15px;
    }
    .tab-content {
        padding: 40px;
    }
    .analytics-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .analytics-item i {
        margin-bottom: 15px;
    }
    .list-item-content {
        display: block; /* Stacks the feature title and description vertically */
    }
}
.section-header .eyebrow-text {
    justify-content: center;
}

/* --- NEW: Tablet & Mobile Menu Logic --- */

/* Rule to SHOW the menu on tap/click on tablet */
@media (max-width: 1100px) {
    .has-megamenu.is-open > .mega-menu {
        display: block;
        /* Re-enabling hover for desktop users who have a narrow browser window */
    }
    .has-megamenu:hover > .mega-menu {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, 0);
        z-index: 100;
    }
}

/* Rules to convert menu to an accordion inside the hamburger panel */
@media (max-width: 700px) {
    /* Hide the desktop nav when the hamburger appears */
    .main-nav {
        display: none;
    }
    
    /* When the hamburger menu is open... */
    .nav-open .main-nav {
        display: block; /* Make the nav block visible again */
    }
.nav-open .has-megamenu .mega-menu {
    all: unset; /* This is the key: it removes the position:absolute from the tablet style */
    display: none;
    width: 100%;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

/* This rule simply shows the menu when the accordion is clicked */
.nav-open .has-megamenu.is-open > .mega-menu {
    display: block;
}
}

/* --- FINAL CONTACT SECTION (REVISED) --- */
.contact-section-final {
    padding: 120px 0;
    background-color: var(--background-soft);
}

.contact-panel {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px; /* Reduced gap slightly */
    background-color: var(--background-light);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 80px;
    box-shadow: 0 25px 50px -12px rgba(82, 111, 239, 0.1);
}

.contact-content .eyebrow-text {
    justify-content: flex-start;
}

.contact-content h2 {
    font-size: 42px;
    margin-bottom: 25px;
}

.contact-content p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 550px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px; /* Adjusted gap */
    padding-left: 40px;
    border-left: 1px solid var(--border-color);
}

.contact-details-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-details-item i {
    font-size: 18px; /* Slightly smaller icon */
    color: var(--accent-blue-primary);
    margin-top: 6px;
    width: 22px;
    text-align: center;
}

.contact-details-text strong {
    display: block;
    font-weight: 600; /* Slightly less heavy than 700 */
    color: var(--text-dark);
    margin-bottom: 6px;
    font-size: 16px;
}

.contact-details-text span,
.contact-details-text a {
    color: var(--text-light);
    font-size: 16px;
    text-decoration: none;
    line-height: 1.6;
}

.contact-details-text a:hover {
    color: var(--accent-orange);
    text-decoration: underline;
}

.contact-divider {
    width: 100%;
    height: 1px;
    background-color: var(--border-color);
    margin: 10px 0;
}

.contact-abn {
    margin-top: 50px; /* Changed from auto to create consistent space */
    padding-top: 0;   /* No longer needed */
    color: var(--text-light);
    opacity: 0.7;
    font-size: 14px;
    text-align: left; /* Ensure it's left-aligned in its new column */
}

/* On mobile, when the column is centered, we also center the ABN */
@media(max-width: 992px) {
    .contact-abn {
        text-align: center;
    }
}

/* --- RESPONSIVE FOR FINAL CONTACT SECTION --- */
@media(max-width: 992px) {
    .contact-panel {
        grid-template-columns: 1fr;
        gap: 60px;
        padding: 60px;
    }
    .contact-details {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--border-color);
        padding-top: 60px;
    }
    .contact-content {
        text-align: center;
    }
    .contact-content .eyebrow-text {
        justify-content: center;
    }
}
@media(max-width: 576px) {
    .contact-panel {
        padding: 40px 25px; /* Adjusted padding */
    }
    .contact-content h2 {
        font-size: 32px;
    }
}

/* --- Styling for the new image in the contact section --- */
.contact-promo-image {
    margin-top: 50px; /* Adds space below the button */
}

.contact-promo-image img {
    width: 100%;
    max-width: 500px; /* Prevents it from becoming too large */
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 30px -5px rgba(14, 14, 110, 0.1);
}
/* --- Styling for the new map in the contact section --- */
.contact-map-image {
    margin-bottom: 10px; /* Adds space between map and contact details */
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden; /* Ensures the image respects the border-radius */
    line-height: 0; /* Removes any extra space below the image */
}

.contact-map-image img {
    width: 100%;
    height: auto;
}

/* =============================================
   Contact Details Icon Hover Effect
   ============================================= */

/* 1. Base style for the contact icons */
.contact-details-item i {
    /* Sets the default color to your primary blue */
    color: var(--accent-blue-primary); 
    
    /* Ensures a smooth color change instead of an instant snap */
    transition: color 0.3s ease;
}

/* 2. Hover style for the contact icons */
/* This rule targets the icon (i) when you hover over its parent (.contact-details-item) */
.contact-details-item:hover i {
    /* Changes the icon color to your highlight orange */
    color: var(--accent-orange);
}

/* =============================================
   Analytics Item Icon Hover Effect
   ============================================= */

/* 1. Base style for the analytics icons */
.analytics-item i {
    /* Sets the default color to your primary blue */
    color: var(--accent-blue-primary);

    /* Adds a smooth transition for the hover effect */
    transition: color 0.3s ease;
}

/* 2. Hover style for the analytics icons */
/* This rule targets the icon when you hover over its parent, .analytics-item */
.analytics-item:hover i {
    /* Changes the icon color to the highlight orange on hover */
    color: var(--accent-orange);
}

/*
/*
===================================================================
--- LOGIN PAGE STYLES (REVISED) ---
===================================================================
*/

/* --- Core Layout & Panel --- */

.login-page-wrapper {
    display: flex;
    flex-direction: column; /* Aligns the login panel and copyright footer vertically */
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 20px;
    background-image: linear-gradient(to bottom, var(--background-light), var(--background-soft));
}

.login-panel {
    width: 100%;
    max-width: 450px;
    background-color: var(--background-light);
    padding: 50px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: 0 25px 50px -12px rgba(82, 111, 239, 0.1);
}

/* --- Header & Form Base --- */

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-logo {
    max-width: 200px;
    margin-bottom: 30px;
}

.login-header h2 {
    font-size: 38px;      /* Increased from 32px for more impact */
    color: var(--text-dark);
    margin-bottom: 15px;  /* Increased space for better balance */
    font-weight: 500;
    letter-spacing: -0.5px; /* Adds a touch of refinement */
}

.login-header p {
    color: var(--text-light);
    font-size: 15px;      /* Slightly smaller to act as a true sub-heading */
    font-weight: 500;
    max-width: 30ch;      /* Constrains the line to a comfortable ~35 characters wide */
    margin: 0 auto;       /* Re-centers the new, more compact text block */
    line-height: 1.6;     /* Ensures good spacing if the text wraps to two lines */
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 15px;
}

.form-group input {
    width: 100%;
    height: 50px;
    padding: 0 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    font-family: var(--font-body);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-blue-primary);
    box-shadow: 0 0 0 3px rgba(82, 111, 239, 0.1);
}

/* --- NEW: Form Extras (Checkbox & Forgot Link) --- */

.form-extras {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 14px;
}

.forgot-password-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

.forgot-password-link:hover {
    color: var(--accent-orange);
    text-decoration: underline;
}

.form-group-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group-checkbox label {
    display: inline-block;
    margin-bottom: 0;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
}

.form-group-checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    top: -1px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.form-group-checkbox input[type="checkbox"]:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(82, 111, 239, 0.15);
}

.form-group-checkbox input[type="checkbox"]:checked {
    background-color: var(--accent-blue-primary);
    border-color: var(--accent-blue-primary);
}

.form-group-checkbox input[type="checkbox"]:checked::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12px;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* --- Form Actions & Copyright Footer --- */

.form-actions {
    margin-top: 10px;
}

.form-actions .btn {
    width: 100%;
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 18px;
}

.login-page-footer {
    text-align: center;
    margin-top: 10px;
    color: var(--text-light);
    font-size: 13px;
    opacity: 0.8;
    gap: 8px;
}

/* This styles the new links */
.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--accent-orange);
    text-decoration: underline;
}

/* This styles the copyright text paragraph */
.copyright-text {
    margin: 0; /* Removes any default paragraph margin */
}

/* --- NEW: Hover effect for "Remember Me" --- */

/* When hovering over the entire "Remember Me" area... */
.form-group-checkbox:hover label {
    /* ...the 'Remember Me' text changes to the highlight orange */
    color: var(--accent-orange);
}

.form-group-checkbox:hover input[type="checkbox"] {
    /* ...and the checkbox border glows with your primary blue action color */
    border-color: var(--accent-blue-primary);
}

/* --- Responsive Adjustments --- */

@media (max-width: 576px) {
    .login-panel {
        padding: 40px 25px;
    }
}

/* --- NEW: Sign-up prompt below the form --- */

.login-signup-prompt {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.login-signup-prompt p {
    font-size: 15px;
    color: var(--text-light);
    font-weight: 500;
}

.login-signup-prompt a {
    color: var(--accent-blue-primary);
    font-weight: 600;
    text-decoration: none;
    transition: text-decoration 0.2s ease;
}

.login-signup-prompt a:hover {
    color: var(--accent-orange); /* Changes to orange on hover for a nice effect */
    text-decoration: underline;
}

/* ===================================================================
   --- FINAL VERSION: WORKFLOW TIMELINE SECTION STYLES ---
   =================================================================== */

.workflow-section {
    padding: 120px 0;
    background-color: var(--background-soft);
    position: relative;
}

.workflow-timeline {
    position: relative;
    max-width: 960px; 
    margin: 60px auto 0;
    padding: 20px 0;
}

/* The central timeline spine */
.workflow-timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--border-color);
    top: 20px;
    bottom: 35px; /* Adjusted for spacing */
    left: 50%;
    margin-left: -1.5px;
    z-index: 1; 
}

/* A single step in the timeline */
.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    z-index: 2; /* Lifts item above the spine */
}

.timeline-item:nth-child(odd) {
    left: 0;
}
.timeline-item:nth-child(even) {
    left: 50%;
}

/* The large number circle */
.timeline-number-wrapper {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    z-index: 2;
    background-color: var(--background-light); 
    border: 3px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-number-wrapper {
    right: -30px; 
}
.timeline-item:nth-child(even) .timeline-number-wrapper {
    left: -30px;
}

.timeline-number {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--text-light);
    transition: color 0.3s ease;
}

/* The main content card */
.timeline-card {
    background: var(--background-light);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    position: relative;
    transition: all 0.3s ease-in-out;
}

.timeline-card .card-icon {
    font-size: 24px;
    color: var(--accent-blue-primary);
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.timeline-card h3 {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 15px;
    color: var(--text-dark);
}

/* Bullet Point List Styling */
.timeline-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.timeline-list li {
    padding-left: 25px;
    position: relative;
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

.timeline-list li::before {
    content: '\f00c'; 
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 5px;
    font-size: 14px;
    color: var(--accent-green);
}

/* Logo Styling */
.timeline-logos {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.timeline-logos img {
    max-height: 30px;
    width: auto;
    filter: grayscale(1);
    opacity: 0.6;
    transition: all 0.3s ease;
}

/* --- Base styles for BOTH timeline caps --- */
.timeline-item:first-of-type::before,
.timeline-item:last-of-type::after {
    content: '';
    position: absolute;
    z-index: 1;
    transition: all 0.3s ease;
}

/* Positioning for caps on LEFT-side items */
.timeline-item:nth-child(odd)::before,
.timeline-item:nth-child(odd)::after {
    left: 100%;
    transform: translateX(-50%);
}

/* Positioning for caps on RIGHT-side items */
.timeline-item:nth-child(even)::before,
.timeline-item:nth-child(even)::after {
    left: 0;
    transform: translateX(-50%);
}

/* Style for the TOP DOT */
.timeline-item:first-of-type::before {
    content: '\f078'; /* Font Awesome chevron-down icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    top: -5px; /* Adjusted for new size */
    width: 44px;
    height: 44px;
    background-color: var(--background-light);
    border: 3px solid var(--border-color);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

/* Style for the BOTTOM CHECKMARK */
.timeline-item:last-of-type::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    bottom: -48px;
    width: 52px;
    height: 52px;
    background-color: var(--accent-green);
    color: white;
    border-radius: 50%;
    border: 4px solid var(--background-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

/* --- Hover Effects --- */
.timeline-item:hover .timeline-number-wrapper {
    border-color: var(--accent-orange);
}
.timeline-item:hover .timeline-number {
    color: var(--accent-orange);
}
.timeline-item:hover .timeline-card {
    transform: translateY(-5px);
    border-color: var(--accent-orange);
    box-shadow: 0 15px 30px -5px rgba(14, 14, 110, 0.1);
}
.timeline-item:hover .card-icon {
    color: var(--accent-orange);
}
.timeline-item:hover .timeline-logos img {
    filter: grayscale(0);
    opacity: 1;
}
.workflow-timeline:hover .timeline-item:first-of-type::before {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
    background-color: var(--background-light); /* Overwrites previous rule just in case */
}

/* FIX: Pulse animation now triggers on hover of the whole timeline */
.workflow-timeline:hover .timeline-item:last-of-type::after {
    animation: pulse 2.5s infinite;
    transform: translateX(-50%) scale(1.05); /* Keep a subtle scale effect */
}


/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .workflow-timeline::after {
        left: 30px; /* Moves spine to the left */
        margin-left: -1.5px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 80px;
        padding-right: 15px;
    }
    .timeline-item:nth-child(even) {
        left: 0; /* All items align to the left */
    }

    /* FIX: Correctly center the number circle on the 30px spine */
    .timeline-item .timeline-number-wrapper {
        left: 30px;
        transform: translate(-50%, -50%);
    }

    /* FIX: Correctly center the start/end caps on the 30px spine */
    .timeline-item:nth-child(odd)::before,
    .timeline-item:nth-child(odd)::after,
.timeline-item:nth-child(odd) .timeline-number-wrapper,
.timeline-item:nth-child(even) .timeline-number-wrapper {
    left: 30px;
    }
}

/* ===================================================================
   --- NEW: PULSE ANIMATION FOR TIMELINE CHECKMARK ---
   =================================================================== */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 167, 125, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(0, 167, 125, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 167, 125, 0);
    }
}

/* ===================================================================
   --- NEW: B2C & B2B AUDIENCE SECTION STYLES ---
   =================================================================== */

.audience-section {
    padding: 120px 0;
    background-color: var(--background-light); /* Use light background for contrast */
    position: relative;
}

.audience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 60px;
}

.audience-card {
    background: var(--background-soft);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease-in-out;
}

.audience-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-blue-primary);
    box-shadow: 0 15px 30px -5px rgba(82, 111, 239, 0.1);
}

.audience-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.audience-card-header i {
    font-size: 24px;
    color: var(--accent-blue-primary);
}

.audience-card-header h3 {
    font-size: 22px;
    font-weight: 500;
    color: var(--text-dark);
    margin: 0;
}

.audience-card > p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px; /* Space before the list */
}

/* --- Updated List Styling with Icons --- */
.audience-features-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px; /* Increased gap for more space */
}

.audience-features-list li {
    display: flex; /* Aligns icon and text */
    align-items: flex-start;
    gap: 15px;
    padding-left: 0; /* Removed old padding */
    position: relative;
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Remove the old checkmark pseudo-element */
.audience-features-list li::before {
    content: none; 
}

/* NEW: Styles for the icon wrapper */
.list-icon-wrapper {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(82, 111, 239, 0.08); /* Light blue background */
}

.list-icon-wrapper i {
    color: var(--accent-blue-primary);
    font-size: 14px;
}

/* NEW: Style for the keyword highlight */
.audience-features-list li strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .audience-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================================================
   --- FINAL REFINED: CUSTOM SCROLLBAR STYLES ---
   =================================================================== */

/* Works on Firefox */
html {
    scrollbar-width: auto;
    /* Sets a new subtle handle color and a soft track color */
    scrollbar-color: #A9B4E3 var(--background-soft);
}

/* Works on Chrome, Edge, and Safari */
::-webkit-scrollbar {
    width: 14px;
}

::-webkit-scrollbar-track {
    background: var(--background-soft);
}

::-webkit-scrollbar-thumb {
    /* Handle is now a subtle, soft lavender-blue by default */
    background-color: #A9B4E3; 
    border-radius: 20px;
    border: 3px solid var(--background-soft);
    transition: background-color 0.2s ease-in-out;
}

::-webkit-scrollbar-thumb:hover {
    /* Handle changes to the bright accent blue on hover */
    background-color: var(--accent-blue-primary);
}

/* ===================================================================
   --- EXECUTIVE SUMMARY MEGA MENU PROMO (REVISED & FULLY CLICKABLE) ---
   =================================================================== */

/* The entire container is now a link */
a.mega-menu-promo {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: var(--background-soft);
    padding: 20px 25px;
    border-radius: 16px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-decoration: none; /* This is important to remove the default link underline */
}

a.mega-menu-promo:hover {
    border-color: var(--accent-orange);
    box-shadow: 0 4px 20px rgba(14, 14, 110, 0.08);
}

.promo-icon i {
    font-size: 24px;
    color: var(--accent-blue-primary);
    transition: color 0.3s ease;
}

a.mega-menu-promo:hover .promo-icon i {
    color: var(--accent-orange);
}

.promo-text strong {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 3px;
}

.promo-text span {
    font-size: 14px;
    color: var(--text-light);
}

/* This now styles the "View Now ->" span */
.promo-link-text {
    margin-left: auto; /* Pushes the text to the far right */
    font-size: 15px;
    font-weight: 600;
    color: var(--accent-blue-primary);
    white-space: nowrap;
    transition: all 0.3s ease;
}

a.mega-menu-promo:hover .promo-link-text {
    color: var(--accent-orange);
    transform: translateX(3px);
}

/* ===================================================================
   --- EXECUTIVE SUMMARY LINK STYLES (OPTION 3: SUBTLE) ---
   =================================================================== */

.summary-prompt {
    /* 1. Increased space from the buttons above */
    margin-top: 40px; 
    
    /* 2. Slightly smaller font size to reduce dominance */
    font-size: 14px; 
    
    color: var(--text-light);
    font-weight: 500;
}

.summary-prompt a {
    /* 3. Link color now matches the surrounding text by default */
    color: var(--text-light); 
    
    /* 4. Use a subtle underline to indicate it's a link */
    text-decoration: none;
    border-bottom: 1px solid rgba(74, 85, 104, 0.4); /* A semi-transparent version of the text color */
    padding-bottom: 2px; /* Adds a little space between text and underline */

    /* Keep the smooth transition */
    transition: all 0.2s ease;
}

.summary-prompt a:hover {
    /* 5. On hover, it comes to life with the brand's action color */
    color: var(--accent-orange);
    border-bottom-color: var(--accent-orange);
}

/* --- Responsive adjustment for the hero prompt text-align --- */
@media (max-width: 1100px) {
    .summary-prompt {
        text-align: center;
    }
}