/* =========================================================
   GLOBAL
========================================================= */
 
:root {
    --primary: #a3c43a;
    --primary-dark: #b6d94a;
    --hover: #8ab32e;

    --text: #101828;
    --muted: #667085;

    --border: #eaecf0;

    --light-bg: #f8f9fc;

    --dark: #0d1117;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    font-family: "DM Sans", sans-serif;

    color: var(--text);

    background: #ffffff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Manrope", sans-serif;
}

a {
    text-decoration: none;
}


/* =========================================================
   MEGA MENU
========================================================= */

.mega-menu-wrapper {
    position: static;
}

.mega-menu {
    position: absolute;
    top: 100%;

    left: 0;
    right: 0;

    width: 100%;

    margin: 0;

    padding: 30px 0;

    border: 0;

    border-top: 1px solid #eaecf0;

    border-radius: 0 0 22px 22px;

    background: rgba(255, 255, 255, 0.98);

    backdrop-filter: blur(20px);

    box-shadow:
        0 25px 60px rgba(16,
            24,
            40,
            0.12);
}


/* Category */

.mega-category {
    height: 100%;
}


/* Category title */

.mega-category-title {

    display: flex;

    align-items: center;

    gap: 12px;

    padding-bottom: 14px;

    margin-bottom: 8px;

    border-bottom: 1px solid #f0f1f4;

}

.mega-category-title h6 {

    margin: 0;

    color: #101828;

    font-size: 0.9rem;

    font-weight: 800;

}

.mega-category-title small {

    display: block;

    margin-top: 3px;

    color: #98a2b3;

    font-size: 0.7rem;

}


/* Category icon */

.mega-category-icon {

    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 12px;

    font-size: 1.1rem;

}

.mega-category-icon.purple {

    color: #6c5ce7;

    background: #eeeaff;

}

.mega-category-icon.blue {

    color: #2088e8;

    background: #e8f3ff;

}

.mega-category-icon.orange {

    color: #ed8a22;

    background: #fff0e2;

}

.mega-category-icon.green {

    color: #12a66a;

    background: #e5f8ef;

}


/* Tool */

.mega-tool {

    display: flex !important;

    align-items: center;

    gap: 13px;

    padding: 11px 10px;

    margin: 2px 0;

    color: #344054 !important;

    border-radius: 11px;

    transition:
        background 0.2s ease,
        transform 0.2s ease;

}

.mega-tool:hover {

    color: #101828 !important;

    background: #f7f7fb;

    transform: translateX(3px);

}


/* Tool icon */

.mega-tool>i {

    width: 30px;

    color: #98a2b3;

    font-size: 1rem;

    text-align: center;

    transition: 0.2s;

}

.mega-tool:hover>i {

    color: var(--primary);

}


/* Tool text */

.mega-tool strong {

    display: block;

    font-size: 0.82rem;

    font-weight: 700;

}

.mega-tool small {

    display: block;

    margin-top: 2px;

    color: #98a2b3;

    font-size: 0.7rem;

    line-height: 1.4;

}


/* =========================================================
   MEGA MENU FOOTER
========================================================= */

.mega-menu-footer {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    margin-top: 25px;

    padding: 17px 20px;

    border: 1px solid #eaecf0;

    border-radius: 16px;

    background:
        linear-gradient(90deg,
            #faf9ff,
            #f8fbff);

}

.mega-menu-footer>div {

    display: flex;

    align-items: center;

    gap: 12px;

}

.mega-footer-icon {

    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 11px;

    color: var(--primary);

    background: #eeeaff;

}

.mega-menu-footer strong {

    display: block;

    color: #101828;

    font-size: 0.82rem;

}

.mega-menu-footer small {

    display: block;

    margin-top: 2px;

    color: #98a2b3;

    font-size: 0.7rem;

}

.mega-view-all {

    display: inline-flex !important;

    align-items: center;

    gap: 7px;

    color: var(--primary) !important;

    font-size: 0.82rem !important;

    font-weight: 800;

}

.mega-view-all i {

    transition: transform 0.2s;

}

.mega-view-all:hover i {

    transform: translateX(4px);

}



/* =========================================================
   DESKTOP HOVER SUPPORT
========================================================= */

@media (min-width: 992px) {

    .mega-menu-wrapper:hover .mega-menu {

        display: block;

        animation:
            megaMenuAnimation 0.2s ease;

    }

    .mega-menu-wrapper:hover>.nav-link {

        color: var(--primary);

    }

}


@keyframes megaMenuAnimation {

    from {

        opacity: 0;

        transform: translateY(-8px);

    }

    to {

        opacity: 1;

        transform: translateY(0);

    }

}



/* =========================================================
   MOBILE MEGA MENU
========================================================= */

@media (max-width: 991px) {

    .mega-menu {

        position: static;

        padding: 20px;

        border: 0;

        border-radius: 15px;

        box-shadow: none;

        background: #f8f9fc;

    }

    .mega-menu .container-fluid {

        padding: 0;

    }

    .mega-category {

        padding: 5px 0;

    }

    .mega-menu-footer {

        margin-top: 15px;

    }

}


@media (max-width: 575px) {

    .mega-menu {

        padding: 15px;

    }

    .mega-menu-footer {

        flex-direction: column;

        align-items: flex-start;

    }

    .mega-view-all {

        padding-left: 50px;

    }

}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: relative;
    z-index: 1000;
}

.navbar {
    padding: 18px 0;

    background: rgba(255, 255, 255, 0.9);

    backdrop-filter: blur(16px);

    border-bottom: 1px solid rgba(234, 236, 240, 0.8);
}

.navbar-brand {
    font-size: 1.35rem;
}

.logo-icon {
    width: 40px;
    height: 40px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: white;

    border-radius: 12px;

    background:
        linear-gradient(135deg,
            #6c5ce7,
            #a66cff);

    box-shadow:
        0 8px 25px rgba(108, 92, 231, 0.25);
}

.logo-text {
    font-weight: 800;
    color: #101828;
}

.logo-text span {
    color: var(--primary);
}

.nav-link {
    margin: 0 5px;

    color: #667085;

    font-weight: 600;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.btn-primary {
    background: var(--primary);
    border-color: var(--primary);

    box-shadow:
        0 8px 20px rgba(108, 92, 231, 0.2);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}


/* Close Mega Menu CSS */


/* =========================================================
   HERO
========================================================= */

.hero-section {
    position: relative;

    overflow: hidden;

    padding: 105px 0 110px;

    
}

.hero-section::before {
    content: "";

    position: absolute;

    inset: 0;

    background-image:
        radial-gradient(#1a1aad 1px,
            transparent 1px);

    background-size: 30px 30px;

    opacity: 0.4;
}

.hero-background-circle {
    position: absolute;

    border-radius: 50%;

    filter: blur(5px);
}

.circle-one {
    width: 350px;
    height: 350px;

    left: -130px;
    top: -150px;

    background: #e5ddff;

    opacity: 0.6;
}

.circle-two {
    width: 300px;
    height: 300px;

    right: -100px;
    bottom: -130px;

    background: #d9f6ff;

    opacity: 0.6;
}

.hero-badge {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 8px 14px;

    margin-bottom: 22px;

    border-radius: 30px;

    background: #f0edff;

    color: var(--primary);

    font-size: 0.78rem;

    font-weight: 700;
}

.badge-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #6c5ce7;
}

.hero-title {
    max-width: 760px;

    margin-bottom: 25px;

    font-size: clamp(2.8rem,
            6vw,
            5.2rem);

    line-height: 1.05;

    letter-spacing: -0.055em;

    font-weight: 800;
}

.hero-title span {
    display: block;

    /* background:
        linear-gradient(90deg,
            #6c5ce7,
            #a866ff); */

    background:
        linear-gradient(90deg,
            #a3c43a,
            #a866ff);

    -webkit-background-clip: text;

    background-clip: text;

    color: transparent;
}

.hero-description {
    max-width: 650px;

    margin-bottom: 32px;

    color: var(--muted);

    font-size: 1.15rem;

    line-height: 1.8;
}

.hero-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;
}

.trust-points {
    display: flex;

    flex-wrap: wrap;

    gap: 22px;

    margin-top: 30px;

    color: #667085;

    font-size: 0.88rem;

    font-weight: 600;
}

.trust-points i {
    margin-right: 5px;

    color: var(--primary);
}



/* =========================================================
   HERO VISUAL
========================================================= */

.hero-visual {
    position: relative;

    max-width: 470px;

    margin: auto;

    padding: 20px;

    transform: rotate(1deg);

    border-radius: 30px;

    background:
        rgba(255, 255, 255, 0.7);

    border: 1px solid white;

    box-shadow:
        0 35px 90px rgba(40,
            37,
            90,
            0.16);
}

.image-dashboard {
    overflow: hidden;

    border-radius: 20px;

    background: white;

    border: 1px solid #e8eaf0;

    box-shadow:
        0 15px 40px rgba(16,
            24,
            40,
            0.08);
}

.dashboard-header {
    height: 48px;

    display: flex;

    align-items: center;

    padding: 0 16px;

    border-bottom: 1px solid #eeeeee;
}

.window-controls {
    display: flex;

    gap: 6px;
}

.window-controls span {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #d5d8df;
}

.dashboard-header small {
    margin-left: auto;

    color: #98a2b3;

    font-weight: 600;
}

.image-preview {
    position: relative;

    height: 265px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin: 18px;

    overflow: hidden;

    border-radius: 16px;

    background:
        linear-gradient(135deg,
            #eeeaff,
            #e1f8ff);
}

.image-preview::after {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    border-radius: 45px;

    background:
        linear-gradient(135deg,
            #8875ff,
            #60c9ff);

    transform: rotate(20deg);

    opacity: 0.75;
}

.preview-icon {
    position: relative;

    z-index: 2;

    width: 80px;
    height: 80px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 22px;

    color: var(--primary);

    background:
        rgba(255, 255, 255, 0.88);

    font-size: 2rem;

    box-shadow:
        0 15px 40px rgba(80,
            70,
            170,
            0.2);
}

.preview-text {
    position: absolute;

    left: 15px;
    bottom: 13px;

    z-index: 3;

    color: white;

    font-size: 0.6rem;

    font-weight: 800;

    letter-spacing: 0.15em;
}

.compression-info {
    padding: 0 23px 23px;
}

.compression-row {
    display: flex;

    justify-content: space-between;

    margin: 9px 0;

    color: #667085;

    font-size: 0.82rem;
}

.compression-row strong {
    color: #344054;
}

.compression-row .optimized {
    color: #12a66a;
}

.compression-progress {
    height: 7px;

    overflow: hidden;

    border-radius: 20px;

    background: #edf0f5;
}

.compression-progress div {
    width: 78%;

    height: 100%;

    border-radius: 20px;

    background: var(--primary);
}

.floating-card {
    position: absolute;

    z-index: 10;

    padding: 11px 16px;

    border-radius: 14px;

    background: white;

    border: 1px solid #edf0f5;

    box-shadow:
        0 15px 40px rgba(16,
            24,
            40,
            0.13);

    font-size: 0.78rem;

    font-weight: 800;
}

.floating-card i {
    color: #12b76a;

    margin-right: 5px;
}

.floating-card-top {
    top: 38px;

    right: -28px;
}

.floating-card-bottom {
    bottom: 35px;

    left: -28px;
}

.floating-card-bottom i {
    color: var(--primary);
}



/* =========================================================
   SECTIONS
========================================================= */

.tools-section {
    padding: 110px 0;

    background: #fff;
}

.section-heading {
    max-width: 700px;

    margin: 0 auto 55px;
}

.section-label {
    color: var(--primary);

    font-size: 0.75rem;

    font-weight: 800;

    letter-spacing: 0.12em;

    text-transform: uppercase;
}

.section-heading h2 {
    margin-top: 14px;

    font-size: clamp(2.1rem,
            4vw,
            3.2rem);

    letter-spacing: -0.045em;
}

.section-heading h2 span {
    color: var(--primary);
}

.section-heading p {
    margin-top: 15px;

    color: var(--muted);

    font-size: 1.05rem;

    line-height: 1.7;
}



/* =========================================================
   TOOL CARDS
========================================================= */

.tool-card {
    position: relative;

    height: 100%;

    display: flex;

    gap: 19px;

    padding: 27px;

    color: inherit;

    border: 1px solid var(--border);

    border-radius: 22px;

    background: white;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;

    overflow: hidden;
}

.tool-card:hover {
    color: inherit;

    transform: translateY(-6px);

    border-color: #d8d2ff;

    box-shadow:
        0 20px 50px rgba(16,
            24,
            40,
            0.09);
}

.tool-icon {
    flex: 0 0 57px;

    width: 57px;
    height: 57px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 17px;

    font-size: 1.4rem;
}

.tool-icon.purple {
    background: #eeeaff;
    color: #6c5ce7;
}

.tool-icon.blue {
    background: #e8f3ff;
    color: #2187e8;
}

.tool-icon.orange {
    background: #fff0e2;
    color: #ef8b25;
}

.tool-icon.green {
    background: #e5f8ef;
    color: #11a76a;
}

.tool-icon.pink {
    background: #ffebf1;
    color: #ed5b8c;
}

.tool-icon.cyan {
    background: #e1f8fb;
    color: #1396a8;
}

.tool-icon.teal {
    background: #e3f8f4;
    color: #159d82;
}

.tool-icon.violet {
    background: #f0eaff;
    color: #8859e9;
}

.tool-icon.dark {
    background: #edf0f4;
    color: #344054;
}

.tool-content {
    min-width: 0;
}

.tool-content h3 {
    margin: 2px 0 8px;

    font-size: 1.05rem;
}

.tool-content p {
    margin-bottom: 13px;

    color: var(--muted);

    font-size: 0.89rem;

    line-height: 1.6;
}

.tool-content span {
    color: var(--primary);

    font-size: 0.82rem;

    font-weight: 800;
}

.tool-content span i {
    margin-left: 4px;
}

.popular-badge {
    position: absolute;

    top: 14px;
    right: 14px;

    padding: 5px 9px;

    border-radius: 20px;

    color: var(--primary);

    background: #f0edff;

    font-size: 0.63rem;

    font-weight: 800;
}



/* =========================================================
   WHY SECTION
========================================================= */

.why-section {
    padding: 110px 0;

    background: var(--light-bg);
}

.why-title {
    max-width: 550px;

    margin-top: 15px;

    font-size: clamp(2.3rem,
            5vw,
            3.5rem);

    line-height: 1.1;

    letter-spacing: -0.05em;
}

.why-title span {
    color: var(--primary);
}

.why-description {
    max-width: 570px;

    margin: 25px 0 30px;

    color: var(--muted);

    font-size: 1.05rem;

    line-height: 1.8;
}

.features-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 15px;
}

.feature-card {
    padding: 25px;

    border: 1px solid var(--border);

    border-radius: 20px;

    background: white;
}

.feature-icon {
    width: 46px;
    height: 46px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 14px;

    color: var(--primary);

    background: #f0edff;

    font-size: 1.2rem;
}

.feature-card h4 {
    margin: 18px 0 7px;

    font-size: 1rem;
}

.feature-card p {
    margin: 0;

    color: var(--muted);

    font-size: 0.85rem;

    line-height: 1.6;
}



/* =========================================================
   CTA
========================================================= */

.cta-section {
    padding: 90px 0;
}

.cta-box {
    position: relative;

    overflow: hidden;

    padding: 75px 30px;

    text-align: center;

    border-radius: 30px;

    background:
        linear-gradient(135deg,
            #5d4bdb,
            #855ce8);

    box-shadow:
        0 25px 60px rgba(108,
            92,
            231,
            0.25);
}

.cta-box::before {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    left: -100px;
    top: -150px;

    border-radius: 50%;

    background: rgba(255, 255, 255, .08);
}

.cta-box::after {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    right: -100px;
    bottom: -150px;

    border-radius: 50%;

    background: rgba(255, 255, 255, .08);
}

.cta-content {
    position: relative;

    z-index: 2;
}

.cta-icon {
    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin: 0 auto 20px;

    border-radius: 18px;

    color: white;

    background: rgba(255,
            255,
            255,
            0.15);

    font-size: 1.5rem;
}

.cta-box h2 {
    color: white;

    font-size: clamp(2rem,
            4vw,
            3rem);

    letter-spacing: -0.04em;
}

.cta-box p {
    margin: 12px 0 25px;

    color: rgba(255,
            255,
            255,
            0.78);
}



/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    padding: 75px 0 25px;

    color: white;

    background: #0d1117;
}

.footer-brand {
    margin-bottom: 18px;

    color: white;

    font-size: 1.35rem;

    font-weight: 800;
}

.footer-brand span {
    color: var(--primary);
}

.footer-description {
    max-width: 420px;

    color: #98a2b3;

    line-height: 1.7;
}

.social-links {
    display: flex;

    gap: 9px;

    margin-top: 25px;
}

.social-links a {

    padding: 10px;

    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    color: #98a2b3;

    background: #171d26;

    transition: 0.2s;
}

.social-links a:hover {
    color: white;
    background: var(--primary);
}

.site-footer h5 {
    margin-bottom: 18px;

    font-size: 0.8rem;

    text-transform: uppercase;

    letter-spacing: 0.1em;
}

.site-footer>.container>.row a:not(.footer-brand) {
    display: block;

    margin-bottom: 11px;

    color: #98a2b3;

    font-size: 0.87rem;
}

.site-footer>.container>.row a:not(.footer-brand):hover {
    color: white;
}

.newsletter-text {
    color: #98a2b3;

    font-size: 0.87rem;

    line-height: 1.6;
}

.newsletter {
    display: flex;

    overflow: hidden;

    border: 1px solid #2b3340;

    border-radius: 12px;

    background: #171d26;
}

.newsletter input {
    min-width: 0;

    flex: 1;

    padding: 11px 13px;

    color: white;

    background: transparent;

    border: none;

    outline: none;

    font-size: 0.82rem;
}

.newsletter input::placeholder {
    color: #667085;
}

.newsletter button {
    width: 46px;

    border: none;

    color: white;

    background: var(--primary);
}

.site-footer hr {
    margin: 50px 0 25px;

    border-color: #252c36;
}

.footer-bottom {
    display: flex;

    justify-content: space-between;

    gap: 15px;

    color: #667085;

    font-size: 0.8rem;
}

.footer-bottom i {
    color: #ec6177;
}



/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .navbar-collapse {
        padding-top: 20px;
    }

    .hero-section {
        padding: 75px 0;
    }

    .hero-visual {
        max-width: 570px;

        margin-top: 30px;
    }

    .floating-card-top {
        right: 5px;
    }

    .floating-card-bottom {
        left: 5px;
    }

}


@media (max-width: 767px) {

    .hero-title {
        font-size: 3rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .trust-points {
        flex-direction: column;

        gap: 9px;
    }

    .tools-section,
    .why-section {
        padding: 75px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .cta-section {
        padding: 65px 0;
    }

}


@media (max-width: 575px) {

    .navbar {
        padding: 13px 0;
    }

    .hero-section {
        padding: 55px 0;
    }

    .hero-title {
        font-size: 2.55rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-visual {
        padding: 12px;

        transform: none;
    }

    .image-preview {
        height: 210px;
    }

    .floating-card {
        font-size: 0.7rem;
    }

    .floating-card-top {
        top: 22px;
        right: 5px;
    }

    .floating-card-bottom {
        bottom: 22px;
        left: 5px;
    }

    .tool-card {
        padding: 22px;
    }

    .tool-icon {
        flex-basis: 50px;

        width: 50px;
        height: 50px;
    }

    .footer-bottom {
        flex-direction: column;
    }

}