/* =========================
   MLM SOFTWARE SAAS THEME
   GREEN PREMIUM DESIGN SYSTEM
========================= */

/* ROOT VARIABLES */
:root{

    --primary:#10B981;
    --primary-dark:#059669;
    --primary-light:#D1FAE5;

    --white:#FFFFFF;

    --heading:#1F2937;
    --text:#4B5563;

    --section:#F8FAFC;
    --border:#E5E7EB;

}

/* RESET */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter',sans-serif;
    color:var(--text);
    background:var(--white);
    overflow-x:hidden;
}

a{text-decoration:none;}
ul{list-style:none;}

img{
    max-width:100%;
    display:block;
}

/* =========================
   CONTAINER SYSTEM
========================= */

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

section{
    padding:90px 0;
}

/* =========================
   BUTTONS
========================= */

.btn-primary,
.demo-btn{
    background:var(--primary);
    color:#fff;
    padding:13px 22px;
    border-radius:10px;
    font-weight:700;
    transition:0.3s;
    display:inline-block;
}

.btn-primary:hover,
.demo-btn:hover{
    background:var(--primary-dark);
    transform:translateY(-2px);
}

.btn-secondary{
    border:2px solid var(--primary);
    color:var(--primary);
    padding:13px 22px;
    border-radius:10px;
    font-weight:700;
    transition:0.3s;
}

.btn-secondary:hover{
    background:var(--primary);
    color:#fff;
}

/* =========================
   HEADER (SOLID GREEN)
========================= */

.main-header{
    position:sticky;
    top:0;
    z-index:9999;

    background:var(--primary);
    box-shadow:0 6px 20px rgba(0,0,0,0.15);
}

.navbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    height:80px;
}

.logo img{
    height:52px;
}

/* DESKTOP MENU */
.nav-menu{
    display:flex;
    gap:28px;
}

.nav-menu a{
    color:#fff;
    font-weight:600;
    font-size:15px;
    position:relative;
}

.nav-menu a::after{
    content:'';
    position:absolute;
    left:0;
    bottom:-6px;
    width:0;
    height:2px;
    background:#fff;
    transition:0.3s;
}

.nav-menu a:hover::after{
    width:100%;
}

/* HEADER RIGHT */
.header-right{
    display:flex;
    align-items:center;
    gap:15px;
}

/* DEMO BUTTON */
.demo-btn{
    background:#fff;
    color:var(--primary-dark);
}

.demo-btn:hover{
    background:var(--primary-light);
}

/* =========================
   HAMBURGER MENU
========================= */

.hamburger{
    display:none;
    flex-direction:column;
    gap:5px;
    cursor:pointer;
}

.hamburger span{
    width:28px;
    height:3px;
    background:#fff;
    border-radius:5px;
    transition:0.3s;
}

/* ANIMATION */
.hamburger.open span:nth-child(1){
    transform:rotate(45deg) translate(5px,5px);
}

.hamburger.open span:nth-child(2){
    opacity:0;
}

.hamburger.open span:nth-child(3){
    transform:rotate(-45deg) translate(5px,-5px);
}

/* =========================
   MOBILE MENU
========================= */

.mobile-menu{
    position:fixed;
    top:0;
    right:-100%;
    width:300px;
    height:100vh;
    background:#fff;
    z-index:99999;

    padding:90px 25px;
    display:flex;
    flex-direction:column;
    gap:18px;

    transition:0.4s;
    box-shadow:-10px 0 30px rgba(0,0,0,0.15);
}

.mobile-menu.active{
    right:0;
}

.mobile-menu a{
    color:var(--heading);
    font-weight:600;
}

.mobile-cta{
    margin-top:20px;
    background:var(--primary);
    color:#fff !important;
    text-align:center;
    padding:12px;
    border-radius:10px;
}

/* OVERLAY */
.overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.5);
    opacity:0;
    visibility:hidden;
    transition:0.3s;
    z-index:99998;
}

.overlay.active{
    opacity:1;
    visibility:visible;
}

/* =========================
   FOOTER
========================= */

.main-footer{
    background:#064E3B;
    color:#fff;
    padding:70px 0 20px;
}

.footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    gap:40px;
}

.footer-logo{
    height:55px;
    margin-bottom:15px;
}

.footer-text{
    color:#D1FAE5;
    line-height:1.8;
    font-size:14px;
}

.footer-box h3{
    margin-bottom:18px;
}

.footer-box ul li{
    margin-bottom:10px;
}

.footer-box ul li a{
    color:#D1FAE5;
    transition:0.3s;
}

.footer-box ul li a:hover{
    color:var(--primary);
    padding-left:5px;
}

.footer-box p{
    color:#D1FAE5;
    margin-bottom:10px;
}

.footer-box i{
    color:#34D399;
    margin-right:8px;
}

/* FOOTER BOTTOM */
.footer-bottom{
    margin-top:50px;
    text-align:center;
    border-top:1px solid rgba(255,255,255,0.15);
    padding-top:20px;
    color:#D1FAE5;
    font-size:14px;
}

/* =========================
   WHATSAPP BUTTON
========================= */

.whatsapp-btn{
    position:fixed;
    bottom:20px;
    right:20px;

    background:#25D366;
    color:#fff;

    padding:14px 18px;
    border-radius:50px;

    display:flex;
    align-items:center;
    gap:10px;

    z-index:99999;
    box-shadow:0 10px 25px rgba(0,0,0,0.2);
    transition:0.3s;
}

.whatsapp-btn:hover{
    transform:translateY(-3px);
}

.whatsapp-btn i{
    font-size:26px;
}

/* =========================
   RESPONSIVE DESIGN
========================= */

@media(max-width:991px){

    .nav-menu{
        display:none;
    }

    .demo-btn{
        display:none;
    }

    .hamburger{
        display:flex;
    }

    .footer-grid{
        grid-template-columns:1fr 1fr;
    }

}

@media(max-width:768px){

    section{
        padding:70px 0;
    }

    .footer-grid{
        grid-template-columns:1fr;
        text-align:center;
    }

    .whatsapp-btn span{
        display:none;
    }

    .whatsapp-btn{
        width:55px;
        height:55px;
        justify-content:center;
        border-radius:50%;
    }

    .footer-logo{
        margin:auto;
        margin-bottom:15px;
    }

}

/* Lead Capture Pop-up */
/* =================================
   PREMIUM LEAD POPUP
================================= */

.lead-popup{
    display:none;
    position:fixed;
    inset:0;
    z-index:99999;
}

.popup-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.75);
    backdrop-filter:blur(4px);
}

.premium-popup{
    position:relative;
    width:500px;
    max-width:92%;
    background:#fff;
    margin:70px auto;
    padding:35px;
    border-radius:24px;
    z-index:2;
    box-shadow:0 30px 80px rgba(0,0,0,.25);
    animation:popupScale .4s ease;
}

@keyframes popupScale{
    from{
        opacity:0;
        transform:scale(.8);
    }
    to{
        opacity:1;
        transform:scale(1);
    }
}

.close-popup{
    position:absolute;
    right:15px;
    top:10px;
    border:none;
    background:none;
    font-size:34px;
    cursor:pointer;
    color:#999;
}

.popup-header{
    text-align:center;
}

.popup-badge{
    display:inline-block;
    background:#D1FAE5;
    color:#059669;
    padding:8px 16px;
    border-radius:50px;
    font-size:12px;
    font-weight:700;
    letter-spacing:1px;
}

.popup-header h2{
    margin:20px 0 12px;
    color:#1F2937;
    font-size:30px;
    line-height:1.3;
}

.popup-header p{
    color:#6B7280;
    line-height:1.7;
}

/* FEATURES */

.popup-features{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:12px;
    margin:25px 0;
}

.feature-item{
    background:#F8FAFC;
    border:1px solid #E5E7EB;
    padding:14px;
    border-radius:12px;
    text-align:center;
    font-size:14px;
    font-weight:600;
}

.feature-item i{
    display:block;
    font-size:24px;
    color:#10B981;
    margin-bottom:8px;
}

/* FORM */

.premium-popup form{
    margin-top:20px;
}

.premium-popup input{
    width:100%;
    padding:15px;
    margin-bottom:12px;
    border:1px solid #E5E7EB;
    border-radius:12px;
    outline:none;
    font-size:15px;
}

.premium-popup input:focus{
    border-color:#10B981;
}

.premium-popup button{
    width:100%;
    background:#10B981;
    color:#fff;
    border:none;
    padding:16px;
    border-radius:12px;
    font-weight:700;
    font-size:16px;
    cursor:pointer;
    transition:.3s;
}

.premium-popup button:hover{
    background:#059669;
}

/* TRUST */

.popup-trust{
    margin-top:18px;
    text-align:center;
    color:#6B7280;
    font-size:13px;
}

/* MOBILE */

@media(max-width:768px){

    .premium-popup{
        width:92%;
        padding:25px;
        margin:40px auto;
    }

    .popup-header h2{
        font-size:24px;
    }

    .popup-features{
        grid-template-columns:1fr 1fr;
    }

}

@media(max-width:480px){

    .popup-header h2{
        font-size:22px;
    }

    .popup-features{
        grid-template-columns:1fr;
    }

}

.limited-offer{
    color:#EF4444;
    font-weight:600;
    margin-top:10px;
}

/* Lead Capture Pop-up Ends */
