        :root {
            /* Light mode */
            --primary: #7367f0;
            --primary-dark: #5e50ee;
            --primary-soft: rgba(115, 103, 240, 0.1);
            --bg-body: #ffffff;
            --bg-card: #ffffff;
            --text-heading: #2e2e3a;
            --text-body: #5e5e6e;
            --text-muted: #7a7a8a;
            --border-light: #e9e7f0;
            --card-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.05);
            --hover-shadow: 0 8px 22px -6px rgba(115, 103, 240, 0.3);
            --navbar-bg: rgba(255, 255, 255, 0.9);
            --footer-bg: #1a1d2b;
            --footer-text: #cfd3e2;
            --copyright-bg: #12141f;
            --btn-outline-border: #d8d6e9;
            --payout-card-bg: #ffffff;
            --accordion-bg: #ffffff;
            --badge-light-bg: #e9e7f0;
            --badge-light-text: #2e2e3a;
            --success-color: #28a745;
            --info-color: #6d78fe;
            --primary-gradient: linear-gradient(135deg, #7367f0 0%, #9e95f5 100%);
            --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
            --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
            --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
        }

        /* Dark mode */
        body.dark {
            --primary: #8a7efc;
            --primary-dark: #6b5ef0;
            --primary-soft: rgba(115, 103, 240, 0.25);
            --bg-body: #25293c;
            --bg-card: #2f3349;
            --text-heading: #eaeefc;
            --text-body: #cfd3e2;
            --text-muted: #b6b9c9;
            --border-light: #41475e;
            --card-shadow: 0 4px 18px 0 rgba(0, 0, 0, 0.4);
            --hover-shadow: 0 8px 24px -6px #4a3f96;
            --navbar-bg: rgba(37, 41, 60, 0.95);
            --footer-bg: #1e2130;
            --footer-text: #c9cde0;
            --copyright-bg: #171b28;
            --btn-outline-border: #4a4f6b;
            --payout-card-bg: #2f3349;
            --accordion-bg: #2f3349;
            --badge-light-bg: #3a405b;
            --badge-light-text: #eaeefc;
            --success-color: #6fcf97;
            --info-color: #9aa1f9;
        }

        /* ===== BASE STYLES ===== */
        body {
            font-family: 'Quicksand', sans-serif;
            background: var(--bg-body);
            color: var(--text-body);
            font-size: 0.95rem;
            overflow-x: hidden;
            transition: background-color 0.2s ease, color 0.2s ease;
            line-height: 1.5;
        }

        h1, h2, h3, h4, h5, h6 {
            color: var(--text-heading);
            font-weight: 600;
        }

        .text-success { color: var(--success-color) !important; }
        .text-info { color: var(--info-color) !important; }

        @media (max-width: 767px) {
            .header-title-section,
            .about-section .col-lg-7,
            .about-section .col-md-6,
            .py-5 .col-lg-6,
            .features-section .card,
            .faq-section .col-lg-7,
            .clients-section-container,
            .footer-section .col-lg-4,
            .footer-section .col-lg-3,
            .footer-section .col-lg-2 {
                text-align: center !important;
            }
        .about-section .row.mt-4 .col-md-6 {
        text-align: left !important;
    }
    
    .about-section .row.mt-4 ul {
        display: inline-block;
        text-align: left;
    }
            
            .d-flex.flex-wrap { justify-content: center; }
            .btn-wrapper, .gap-3 { justify-content: center; }
            .faq-section .col-lg-5.col-md-12.text-center img { display: none; }
        }

.small {
    font-size: .875em;
    color: #afb4b9;
    font-weight: 600;
}
.bg-transparent , .mb-0 {
     color: #afb4b9;
    font-weight: 600;
}
        .navbar {
            background: var(--navbar-bg) !important;
            backdrop-filter: blur(10px);
            padding: 0.8rem 0;
            box-shadow: var(--card-shadow);
            border-bottom: 1px solid var(--border-light);
        }
        .navbar-brand img { height: 42px; }
        .nav-link {
            font-weight: 500;
            color: var(--text-heading) !important;
            margin: 0 0.5rem;
            transition: 0.2s;
            font-size: 0.95rem;
        }
        .nav-link:hover { color: var(--primary) !important; }

        .theme-toggle {
            background: var(--bg-card);
            border: 1px solid var(--border-light);
            border-radius: 2rem;
            padding: 0.4rem 1rem;
            color: var(--text-heading);
            cursor: pointer;
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            gap: 6px;
            margin-left: 1rem;
        }
        @media (max-width: 768px) {
            .theme-toggle { margin-left: 0; margin-top: 10px; }
        }

        .section-subtitle {
            color: var(--primary);
            font-weight: 600;
            letter-spacing: 1px;
            text-transform: uppercase;
            font-size: 0.85rem;
            margin-bottom: 0.5rem;
        }
        .section-title {
            font-size: 2.2rem;
            font-weight: 700;
            color: var(--text-heading);
            margin-bottom: 1.2rem;
        }
        @media (max-width: 768px) {
            .section-title { font-size: 1.8rem; }
            .header-section h1 { font-size: 2.2rem; }
        }

        .step-card, .feature-card, .payout-card {
            border: none !important;
            box-shadow: var(--card-shadow);
            transition: all 0.25s ease;
            background: var(--bg-card);
            border-radius: 1.5rem !important;
        }
        .step-card:hover, .feature-card:hover, .payout-card:hover {
            transform: translateY(-6px);
            box-shadow: var(--hover-shadow);
        }
        
        .hover-lift {
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }
        .hover-lift:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg) !important;
        }

        .icon-circle {
            width: 64px;
            height: 64px;
            background: var(--primary-soft);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1rem;
        }
        .icon-circle i {
            font-size: 1.8rem;
            color: var(--primary);
        }

        .avatar-circle {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 600;
            background: var(--primary-soft);
            color: var(--primary);
        }

        .btn-primary {
            color: white;
            font-weight: 600;
            padding: 0.6rem 1.8rem;
            font-size: 0.95rem;
        }
        .btn-primary:hover {
            background: linear-gradient(135deg, #5e50ee, var(--primary));
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(115,103,240,0.5);
        }
        .btn-outline-dark {
            font-weight: 600;
            padding: 0.6rem 1.8rem;
            border: 1.5px solid var(--btn-outline-border);
            color: var(--text-heading);
            font-size: 0.95rem;
        }
        .btn-outline-dark:hover {
            background: var(--primary-soft);
            border-color: var(--primary);
            color: var(--primary);
        }

        .header-section {
            padding-top: 120px;
            padding-bottom: 60px;
            background: var(--bg-body);
            position: relative;
            overflow: hidden;
        }
        .header-section h1 {
            font-size: 2.8rem;
            font-weight: 800;
            color: var(--text-heading);
        }
        .header-section h1 span { color: var(--primary); }
        .header-section p {
            font-size: 1rem;
            color: var(--text-muted);
        }

        .hover-shadow {
            transition: 0.2s;
            background: var(--bg-card) !important;
        }
        .hover-shadow:hover {
            transform: scale(1.05);
            box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
        }

        .accordion-item {
            border: 1px solid var(--border-light);
            border-radius: 1rem !important;
            margin-bottom: 1rem;
            overflow: hidden;
            background: var(--accordion-bg);
        }
        .accordion-button {
            background: var(--accordion-bg);
            color: var(--text-heading);
            font-weight: 600;
            font-size: 0.95rem;
        }
        .accordion-button:not(.collapsed) {
            background: var(--primary-soft);
            color: var(--primary);
        }
        .accordion-body {
            background: var(--accordion-bg);
            color: var(--text-body);
        }


.footer-section {
    background: var(--footer-bg);
    color: var(--footer-text);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.footer-section h5 {
    color: var(--text-heading);
}

.footer-section a {
    color: var(--footer-text);
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: var(--primary);
    text-decoration: underline !important;
}

.footer-section p,
.footer-section span,
.footer-section li,
.footer-section i {
    color: var(--footer-text);
}

.footer-section .footer-links li {
    margin-bottom: 0.5rem;
}

.footer-section .footer-links a {
    display: inline-block;
    transition: transform 0.2s ease, color 0.2s ease;
}

.footer-section .footer-links a:hover {
    transform: translateX(5px);
    color: var(--primary);
}
.copyright-section {
    background: var(--copyright-bg);
    color: #aaa; 
    padding: 1rem 0;
    transition: background-color 0.2s ease;
}

.copyright-section a {
    color: #aaa;
    transition: color 0.2s ease;
}

.copyright-section a:hover {
    color: var(--primary);
}

        .payout-card .badge.bg-primary {
            background: var(--primary) !important;
            color: white !important;
        }
        .payout-card .text-muted { color: var(--text-muted) !important; }
        .payout-card .fw-semibold { color: var(--text-heading) !important; }
        .payout-card small { color: var(--text-muted) !important; }
        .payout-card .text-success { color: var(--success-color) !important; }
        .payout-card .card-body {
            background: var(--bg-card);
            border-radius: 1.5rem;
        }
        .payout-card img {
            filter: brightness(1);
            background: transparent;
        }

    .theme-initialized * {
      transition: none !important;
    }
    

    .theme-initialized.transitions-enabled * {
      transition: all 0.2s ease !important;
    }

        .modal-content {
            background-color: var(--bg-card);
            color: var(--text-body);
            border: 1px solid var(--border-light);
            border-radius: 10px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        }
        .modal-header, .modal-footer { border-color: var(--border-light); }
        .modal-title { color: var(--text-heading); }
        
        body.dark .btn-close { filter: invert(1) grayscale(100%) brightness(200%); }
        body.dark .bg-light {
            background-color: var(--bg-card) !important;
            border-color: var(--border-light) !important;
        }
        
        .policy-section { border-left: 3px solid #0d6efd; padding-left: 1rem; }
        .list-group-item { border-left: 0 !important; border-right: 0 !important; }


        .bg-gradient-primary { background: var(--primary-gradient); }
        .ads { display: flex; justify-content: center; margin: 30px auto; }
        