        :root {
            --primary: #84CC16;
            --primary-dark: #65a30d;
            --primary-light: rgba(132, 204, 22, 0.1);
            --gray-50: #f9fafb;
            --gray-100: #f3f4f6;
            --gray-200: #e5e7eb;
            --gray-300: #d1d5db;
            --gray-400: #9ca3af;
            --gray-500: #6b7280;
            --gray-600: #4b5563;
            --gray-700: #374151;
            --gray-800: #1f2937;
            --gray-900: #111827;
            --white: #ffffff;
            --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
            --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
            --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
            scroll-padding-top: 80px;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            color: var(--gray-800);
            line-height: 1.6;
            overflow-x: hidden;
            background: var(--white);
        }

        .container {
            max-width: 1280px;
            margin: 0 auto;
            padding: 0 24px;
        }



        /* ACTIVE PAGE HIGHLIGHTING */
        .nav-menu a.active {
            color: var(--primary-dark);
            font-weight: 600;
        }

        .nav-menu a.active::after {
            content: '';
            position: absolute;
            bottom: -24px;
            left: 0;
            right: 0;
            height: 3px;
            background: var(--primary);
            border-radius: 3px 3px 0 0;
        }

        .nav-menu .nav-signin {
            color: var(--gray-700);
            font-weight: 600;
        }

        .nav-menu .nav-signup {
            background: var(--primary);
            color: var(--white) !important;
            padding: 10px 20px;
            border-radius: 8px;
            font-weight: 600;
        }

        .nav-menu .nav-signup:hover {
            background: var(--primary-dark);
        }

        .nav-menu .nav-signup.active::after {
            display: none;
        }

 

        /* ===== MOBILE NAVIGATION ===== */
        .mobile-nav {
            display: none;
            position: fixed;
            top: 72px;
            left: 0;
            right: 0;
            bottom: 0;
            background: var(--white);
            z-index: 999;
            padding: 32px 24px;
            overflow-y: auto;
            transform: translateX(100%);
            transition: transform 0.3s ease;
        }

        .mobile-nav.active {
            transform: translateX(0);
            display: block;
        }

        .mobile-nav ul {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 24px;
        }

        .mobile-nav a {
            text-decoration: none;
            color: var(--gray-800);
            font-size: 18px;
            font-weight: 600;
            display: block;
            padding: 8px 0;
        }

        /* Active state for mobile */
        .mobile-nav a.active {
            color: var(--primary-dark);
        }

        .mobile-nav .nav-signup {
            color: var(--primary);
        }

        .mobile-contact {
            margin-top: 40px;
            padding-top: 24px;
            border-top: 1px solid var(--gray-200);
        }

        .mobile-contact p {
            display: flex;
            align-items: center;
            gap: 12px;
            color: var(--gray-600);
            font-size: 15px;
            margin-bottom: 16px;
        }

        .mobile-contact i {
            color: var(--primary);
            width: 20px;
        }

        /* ===== HERO SECTION ===== */
        .features-hero {
            padding: 140px 0 60px;
            background: linear-gradient(180deg, #f9fafb 0%, #fff 100%);
        }

        .features-hero .container {
            text-align: center;
        }

        .features-hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: var(--primary-light);
            color: var(--primary-dark);
            padding: 8px 16px;
            border-radius: 100px;
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 24px;
        }

        .features-hero h1 {
            font-size: 3rem;
            font-weight: 800;
            color: var(--gray-900);
            margin-bottom: 16px;
            letter-spacing: -0.02em;
            line-height: 1.1;
        }

        .features-hero p {
            font-size: 1.25rem;
            color: var(--gray-600);
            max-width: 640px;
            margin: 0 auto;
            line-height: 1.7;
        }

        /* ===== STICKY CATEGORY NAV ===== */
        .category-nav {
            background: var(--white);
            padding: 16px 0;
            border-bottom: 1px solid var(--gray-200);
            position: sticky;
            top: 72px;
            z-index: 100;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }

        .category-nav::-webkit-scrollbar {
            display: none;
        }

        .category-nav .container {
            display: flex;
            gap: 12px;
        }

        .category-nav a {
            white-space: nowrap;
            padding: 8px 16px;
            background: var(--gray-100);
            color: var(--gray-700);
            text-decoration: none;
            border-radius: 20px;
            font-size: 14px;
            font-weight: 500;
            transition: all 0.2s;
            border: 2px solid transparent;
            flex-shrink: 0;
        }

        .category-nav a:hover {
            background: var(--primary-light);
            color: var(--primary-dark);
        }

        .category-nav a.active {
            background: var(--primary);
            color: var(--white);
            border-color: var(--primary-dark);
        }

        /* ===== MODULE SECTIONS ===== */
        .module-section {
            padding: 80px 0;
            border-bottom: 1px solid var(--gray-200);
        }

        .module-section:nth-child(even) {
            background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
        }

        .module-section:nth-child(odd) {
            background: var(--white);
        }

        .module-grid {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 60px;
            align-items: start;
        }

        .module-grid.reverse {
            grid-template-columns: 2fr 1fr;
        }

        .module-label {
            display: inline-block;
            font-size: 12px;
            font-weight: 700;
            padding: 6px 12px;
            border-radius: 6px;
            margin-bottom: 16px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .module-label.finance {
            background: var(--primary-light);
            color: var(--primary-dark);
        }

        .module-label.sales {
            background: rgba(17, 17, 17, 0.05);
            color: var(--gray-700);
        }

        .module-label.operations {
            background: rgba(59, 130, 246, 0.1);
            color: #2563EB;
        }

        .module-label.people {
            background: rgba(168, 85, 247, 0.1);
            color: #9333EA;
        }

        .module-label.stock {
            background: rgba(245, 158, 11, 0.1);
            color: #D97706;
        }

        .module-header h2 {
            font-size: 2.25rem;
            font-weight: 800;
            color: var(--gray-900);
            margin-bottom: 16px;
            letter-spacing: -0.02em;
            line-height: 1.2;
        }

        .module-header p {
            font-size: 1.125rem;
            color: var(--gray-600);
            line-height: 1.7;
            margin-bottom: 24px;
        }

        .module-benefit {
            background: var(--gray-50);
            border: 1px solid var(--gray-200);
            border-radius: 12px;
            padding: 20px;
        }

        .module-benefit-label {
            font-size: 12px;
            color: var(--gray-500);
            margin-bottom: 8px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-weight: 600;
        }

        .module-benefit p {
            font-size: 15px;
            color: var(--gray-900);
            margin: 0;
            font-weight: 500;
            line-height: 1.5;
        }

        /* Feature Cards */
        .feature-cards {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        .feature-card {
            padding: 24px;
            background: var(--gray-50);
            border-radius: 12px;
            border: 1px solid var(--gray-200);
            transition: all 0.3s ease;
        }

        .feature-card:hover {
            border-color: var(--primary);
            box-shadow: var(--shadow-md);
            transform: translateY(-2px);
        }

        .feature-card h4 {
            font-size: 16px;
            font-weight: 600;
            color: var(--gray-900);
            margin-bottom: 8px;
        }

        .feature-card p {
            font-size: 14px;
            color: var(--gray-600);
            line-height: 1.6;
            margin: 0;
        }

        /* Checklist */
        .checklist {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .checklist li {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 14px;
            color: var(--gray-700);
        }

        .checklist svg {
            width: 16px;
            height: 16px;
            color: var(--primary);
            flex-shrink: 0;
        }

        /* ===== PROJECT MANAGEMENT SPECIAL LAYOUT ===== */
        .project-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            margin-bottom: 32px;
        }

        .project-card {
            padding: 24px;
            background: var(--gray-50);
            border-radius: 12px;
            text-align: center;
            transition: all 0.3s ease;
        }

        .project-card:hover {
            box-shadow: var(--shadow-md);
            transform: translateY(-4px);
        }

        .project-icon {
            width: 48px;
            height: 48px;
            background: var(--white);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 12px;
            box-shadow: var(--shadow-sm);
        }

        .project-icon i {
            font-size: 22px;
            color: var(--primary);
        }

        .project-card h4 {
            font-size: 15px;
            font-weight: 600;
            color: var(--gray-900);
            margin-bottom: 4px;
        }

        .project-card p {
            font-size: 13px;
            color: var(--gray-600);
            margin: 0;
            line-height: 1.5;
        }

        .advanced-features {
            background: var(--gray-50);
            border-radius: 16px;
            padding: 32px;
            border: 1px solid var(--gray-200);
        }

        .advanced-features h3 {
            font-size: 18px;
            font-weight: 600;
            color: var(--gray-900);
            margin-bottom: 20px;
        }

        .advanced-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 24px;
        }

        .advanced-item h4 {
            font-size: 14px;
            font-weight: 600;
            color: var(--gray-900);
            margin-bottom: 4px;
        }

        .advanced-item p {
            font-size: 13px;
            color: var(--gray-600);
            margin: 0;
            line-height: 1.5;
        }

        /* ===== HR SECTION ===== */
        .hr-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }

        .hr-features {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .hr-feature {
            display: flex;
            gap: 16px;
            align-items: start;
        }

        .hr-feature-icon {
            width: 40px;
            height: 40px;
            background: var(--primary-light);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .hr-feature-icon i {
            font-size: 18px;
            color: var(--primary);
        }

        .hr-feature h4 {
            font-size: 15px;
            font-weight: 600;
            color: var(--gray-900);
            margin-bottom: 4px;
        }

        .hr-feature p {
            font-size: 14px;
            color: var(--gray-600);
            margin: 0;
            line-height: 1.5;
        }

        .payroll-compliance {
            background: var(--white);
            border: 1px solid var(--gray-200);
            border-radius: 20px;
            padding: 32px;
            box-shadow: var(--shadow-xl);
        }

        .payroll-compliance h3 {
            font-size: 18px;
            font-weight: 600;
            color: var(--gray-900);
            margin-bottom: 20px;
        }

        .compliance-items {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .compliance-item {
            padding: 14px 16px;
            background: var(--gray-50);
            border-radius: 8px;
            border-left: 3px solid var(--primary);
        }

        .compliance-item-label {
            font-size: 12px;
            color: var(--gray-500);
            margin-bottom: 2px;
        }

        .compliance-item-value {
            font-size: 14px;
            font-weight: 600;
            color: var(--gray-900);
        }

        /* ===== INVENTORY SECTION ===== */
        .inventory-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 24px;
        }

        .inventory-card {
            padding: 32px;
            border-radius: 16px;
            border: 1px solid;
        }

        .inventory-card.yellow {
            background: linear-gradient(135deg, #fefce8 0%, #fff 100%);
            border-color: #fef08a;
        }

        .inventory-card.green {
            background: linear-gradient(135deg, #f0fdf4 0%, #fff 100%);
            border-color: #86efac;
        }

        .inventory-card h3 {
            font-size: 20px;
            font-weight: 600;
            color: var(--gray-900);
            margin-bottom: 16px;
        }

        .inventory-list {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .inventory-list li {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 14px;
            color: var(--gray-700);
        }

        .inventory-list svg {
            width: 16px;
            height: 16px;
            color: var(--primary);
            flex-shrink: 0;
        }

        /* ===== ADDITIONAL TOOLS ===== */
        .tools-section {
            background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
            padding: 80px 0;
        }

        .tools-section .section-header {
            text-align: center;
            margin-bottom: 48px;
        }

        .tools-section .section-header h2 {
            font-size: 2.25rem;
            font-weight: 800;
            color: var(--gray-900);
            margin-bottom: 16px;
        }

        .tools-section .section-header p {
            font-size: 1.125rem;
            color: var(--gray-600);
        }

        .tools-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
        }

        .tool-card {
            padding: 24px;
            background: var(--white);
            border: 1px solid var(--gray-200);
            border-radius: 12px;
            transition: all 0.3s ease;
        }

        .tool-card:hover {
            border-color: var(--primary);
            box-shadow: var(--shadow-md);
            transform: translateY(-4px);
        }

        .tool-card h4 {
            font-size: 16px;
            font-weight: 600;
            color: var(--gray-900);
            margin-bottom: 8px;
        }

        .tool-card p {
            font-size: 14px;
            color: var(--gray-600);
            line-height: 1.5;
            margin: 0;
        }

        /* ===== CTA SECTION ===== */
        .cta-section {
            padding: 80px 0;
            background: linear-gradient(135deg, var(--gray-900) 0%, #1f2937 100%);
            position: relative;
            overflow: hidden;
        }

        .cta-section::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(132, 204, 22, 0.1) 0%, transparent 70%);
            border-radius: 50%;
        }

        .cta-content {
            text-align: center;
            max-width: 700px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
        }

        .cta-content h2 {
            font-size: 2.25rem;
            font-weight: 800;
            color: var(--white);
            margin-bottom: 16px;
        }

        .cta-content p {
            font-size: 1.125rem;
            color: var(--gray-400);
            margin-bottom: 32px;
        }

        .cta-btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            background: var(--primary);
            color: #0f172a;
            font-size: 16px;
            font-weight: 700;
            text-decoration: none;
            padding: 16px 32px;
            border-radius: 12px;
            transition: all 0.3s;
        }

        .cta-btn:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(132, 204, 22, 0.3);
        }

        /* ===== FOOTER ===== */
        .footer {
            background: var(--gray-900);
            color: var(--gray-400);
            padding: 80px 0 40px;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1.5fr;
            gap: 48px;
            margin-bottom: 64px;
        }

        .footer-brand .logo {
            margin-bottom: 20px;
        }

        .footer-brand p {
            font-size: 15px;
            line-height: 1.7;
            margin-bottom: 24px;
            max-width: 320px;
        }

        .footer-social {
            display: flex;
            gap: 16px;
        }

        .footer-social a {
            width: 40px;
            height: 40px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white);
            text-decoration: none;
            transition: all 0.2s;
        }

        .footer-social a:hover {
            background: var(--primary);
            transform: translateY(-2px);
        }

        .footer-links h4 {
            color: var(--white);
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 24px;
        }

        .footer-links ul {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 12px;
        }

        .footer-links a {
            color: var(--gray-400);
            text-decoration: none;
            font-size: 15px;
            transition: color 0.2s;
        }

        .footer-links a:hover {
            color: var(--primary);
        }

        .footer-contact p {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 16px;
            font-size: 15px;
        }

        .footer-contact i {
            color: var(--primary);
            width: 20px;
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 32px;
            text-align: center;
            font-size: 14px;
            color: var(--gray-500);
        }

        /* ===== RESPONSIVE ===== */
        @media (max-width: 1024px) {
            .module-grid,
            .module-grid.reverse {
                grid-template-columns: 1fr;
                gap: 40px;
            }

            .project-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .advanced-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .hr-grid {
                grid-template-columns: 1fr;
                gap: 40px;
            }

            .inventory-grid {
                grid-template-columns: 1fr;
            }

            .tools-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .footer-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .features-hero h1 {
                font-size: 2.5rem;
            }
        }

        @media (max-width: 768px) {
            .nav-menu {
                display: none;
            }

            .mobile-menu-toggle {
                display: flex;
            }

            .mobile-nav {
                display: block;
            }

            .features-hero {
                padding: 120px 0 40px;
            }

            .features-hero h1 {
                font-size: 2rem;
            }

            .features-hero p {
                font-size: 1rem;
            }

            .module-section {
                padding: 60px 0;
            }

            .module-header h2 {
                font-size: 1.75rem;
            }

            .feature-cards {
                grid-template-columns: 1fr;
            }

            .project-grid {
                grid-template-columns: 1fr 1fr;
                gap: 12px;
            }

            .project-card {
                padding: 16px;
            }

            .advanced-grid {
                grid-template-columns: 1fr;
                gap: 16px;
            }

            .advanced-features {
                padding: 20px;
            }

            .tools-grid {
                grid-template-columns: 1fr;
            }

            .cta-content h2 {
                font-size: 1.75rem;
            }

            .footer-grid {
                grid-template-columns: 1fr;
                gap: 40px;
            }

            .category-nav {
                top: 72px;
            }

            .category-nav a {
                font-size: 13px;
                padding: 6px 12px;
            }
        }

        @media (max-width: 640px) {
            .container {
                padding: 0 16px;
            }

            .features-hero h1 {
                font-size: 1.75rem;
            }

            .module-header h2 {
                font-size: 1.5rem;
            }

            .project-grid {
                grid-template-columns: 1fr;
            }

            .feature-card {
                padding: 20px;
            }

            .inventory-card {
                padding: 20px;
            }

            .payroll-compliance {
                padding: 20px;
            }

            .cta-btn {
                padding: 14px 24px;
                font-size: 15px;
            }
        }

        /* Smooth scroll offset for fixed header */
        section[id] {
            scroll-margin-top: 140px;
        }
        
        
        /* ============================================
   FEATURES PAGE — FIXED SHARED HEADER
   Since shared-nav.js injects .site-header,
   we pin it and adjust the category nav.
   ============================================ */

/* 1. Pin the shared header (only on Features page) */
.site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
}

/* 2. Push page content down so it's not hidden under header */
body {
    padding-top: var(--header-height);
}

/* 3. Adjust category nav to stick below fixed shared header */
.category-nav {
    position: sticky;
    top: var(--header-height);
    z-index: 100;
}

/* 4. Adjust hero padding since header is now fixed */
.features-hero {
    padding-top: calc(var(--header-height) + 60px);
}

/* 5. Smooth scroll offset accounts for fixed header + category nav */
section[id] {
    scroll-margin-top: calc(var(--header-height) + 60px);
}

/* 6. Mobile adjustments */
@media (max-width: 768px) {
    .features-hero {
        padding-top: calc(var(--header-height) + 40px);
    }
    
    section[id] {
        scroll-margin-top: calc(var(--header-height) + 50px);
    }
}