/* ===========================
        Global
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Poppins',sans-serif;
    background:#0F172A;
    color:#F8FAFC;
    padding-top:50px;

}

body::before{

    content:"";

    position:fixed;

    width:450px;

    height:450px;

    background:#2563EB;

    filter:blur(180px);

    opacity:.15;

    top:-120px;

    left:-120px;

    z-index:-1;

}

body::after{

    content:"";

    position:fixed;

    width:350px;

    height:350px;

    background:#3B82F6;

    filter:blur(180px);

    opacity:.12;

    bottom:-100px;

    right:-100px;

    z-index:-1;

}

/* ===========================
        Navbar
=========================== */

.navbar{

    width:90%;
    max-width:1400px;

    margin:auto;

    padding:16px 0;

    display:flex;

    justify-content:space-between;

    align-items:center;

}

/* Logo */

.logo{

    display:flex;

    align-items:center;

    gap:12px;

    text-decoration:none;

}

.logo-icon{

    width:48px;

    height:48px;

    border-radius:14px;

    background:linear-gradient(135deg,#2563EB,#3B82F6);

    display:flex;

    justify-content:center;

    align-items:center;

    color:white;

    font-size:22px;

}

.logo h2{

    color:#fff;

    font-size:30px;

    font-weight:700;

}

.logo span{

    color:#3B82F6;

}

/* Navigation */

.nav-links{

    display:flex;

    align-items:center;

    gap:35px;

    list-style:none;

}

.nav-links a{

    text-decoration:none;

    color:#F8FAFC;

    font-size:16px;

    font-weight:500;

    transition:.3s;

}

.nav-links a:hover{

    color:#3B82F6;

}

/* Button */

.nav-btn{

    display:flex;

    align-items:center;

    gap:10px;

    text-decoration:none;

    background:#2563EB;

    color:white;

    padding:14px 24px;

    border-radius:12px;

    font-weight:600;

    transition:.3s;

}

.nav-btn:hover{

    background:#1D4ED8;

    transform:translateY(-2px);

}

/* Hamburger */

.menu-toggle{

    display:none;

    color:white;

    font-size:28px;

    cursor:pointer;

}

header{
    position:fixed;

    top:0;

    left:0;

    width:100%;

    z-index:1000;

    transition:transform .35s ease;
    background: rgba(15,23,42,.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,.06);
}

header.hide{

    transform:translateY(-100%);

}





/* ===========================
      Tools Dropdown
=========================== */

.tools-dropdown{

    position:relative;

}

.tools-btn{

    background:none;

    border:none;

    color:#F8FAFC;

    font-size:16px;

    font-weight:500;

    font-family:'Poppins',sans-serif;

    display:flex;

    align-items:center;

    gap:8px;

    cursor:pointer;

    transition:.3s;

}

.tools-btn:hover{

    color:#3B82F6;

}

.tools-btn i{

    font-size:12px;

    transition:.3s;

}

.tools-dropdown.active .tools-btn i{

    transform:rotate(180deg);

}

.tools-menu{

    position:absolute;

    top:60px;

    left:0;

    width:320px;

    background:#182338;

    border:1px solid rgba(59,130,246,.15);

    border-radius:18px;

    padding:10px;

    opacity:0;

    visibility:hidden;

    transform:translateY(15px);

    transition:.3s;

    box-shadow:0 20px 50px rgba(0,0,0,.35);

    z-index:999;
}

.tools-dropdown.active .tools-menu{

    opacity:1;

    visibility:visible;

    transform:translateY(0);

}

.tools-menu a{

    display:flex;

    align-items:center;

    gap:15px;

    text-decoration:none;

    color:#fff;

    padding:14px;

    border-radius:12px;

    transition:.3s;

}

.tools-menu a:hover{

    background:#111C33;

}

.tools-menu i{

    width:45px;

    height:45px;

    border-radius:12px;

    background:#2563EB;

    display:flex;

    justify-content:center;

    align-items:center;

    color:#fff;

}

.tools-menu strong{

    display:block;

    font-size:16px;

}

.tools-menu span{

    font-size:13px;

    color:#94A3B8;

}



/* =====================================
        Responsive Navbar
===================================== */

.overlay{

    position: fixed;

    inset: 0;

    background: rgba(0,0,0,.55);

    opacity: 0;

    visibility: hidden;

    transition: .35s;

    z-index: 998;

}

.overlay.active{

    opacity: 1;

    visibility: visible;

}

.mobile-menu{

    position: fixed;

    top: 0;

    right: -100%;

    width: 320px;

    max-width: 90%;

    height: 100vh;

    background: #111827;

    padding: 100px 25px 30px;

    display: flex;

    flex-direction: column;

    gap: 18px;

    transition: .35s ease;

    z-index: 999;

    overflow-y: auto;

    border-left: 1px solid rgba(255,255,255,.08);

}

.mobile-menu.active{

    right: 0;

}

.mobile-menu a{

    color:#F8FAFC;

    text-decoration:none;

    font-size:17px;

    padding:12px 0;

    border-bottom:1px solid rgba(255,255,255,.06);

}

.mobile-btn{

    margin-top:20px;

    background:#2563EB;

    border-radius:12px;

    text-align:center;

    padding:15px !important;

    border:none !important;

}

.mobile-tools-btn{

    width:100%;

    background:none;

    border:none;

    color:#fff;

    font-size:17px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    cursor:pointer;

    padding:12px 0;

    font-family:'Poppins',sans-serif;

}

.mobile-tools-menu{

    display:none;

    padding-left:15px;

}

.mobile-tools.active .mobile-tools-menu{

    display:flex;

    flex-direction:column;

}

.mobile-tools-menu a{

    font-size:15px;

    color:#CBD5E1;

}

@media (max-width:991px){

    .nav-links{

        display:none;

    }

    .nav-btn{

        display:none;

    }

    .menu-toggle{

        display:block;

        cursor:pointer;

        z-index:1001;

    }

}

@media (min-width:992px){

    .mobile-menu,

    .overlay{

        display:none;

    }

}



/* ===========================
      Image Cropper Hero
=========================== */

.hero{

    padding:120px 0 80px;

}

.hero .container{

    max-width:1200px;
    margin:auto;
    padding:0 20px;

    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:60px;

}

.hero-content{

    flex:1;

}

.badge{

    display:inline-flex;
    align-items:center;
    gap:10px;

    padding:10px 18px;

    background:#1E293B;
    color:#38BDF8;

    border:1px solid rgba(56,189,248,.25);

    border-radius:999px;

    font-size:14px;
    font-weight:600;

}

.hero-content h1{

    font-size:56px;
    line-height:1.15;

    margin:25px 0;

}

.hero-content h1 span{

    color:#38BDF8;

}

.hero-content p{

    color:#CBD5E1;

    font-size:18px;

    line-height:1.8;

    max-width:520px;

}

.hero-features{

    display:flex;
    gap:18px;

    flex-wrap:wrap;

    margin-top:35px;

}

.hero-features div{

    display:flex;
    align-items:center;
    gap:8px;

    background:#1E293B;

    padding:12px 18px;

    border-radius:10px;

    font-size:14px;

}

.hero-features i{

    color:#38BDF8;

}

/* ===========================
      Preview Card
=========================== */

.preview-card{

    flex:1;

    background:#1E293B;

    border:1px solid rgba(255,255,255,.08);

    border-radius:20px;

    padding:25px;

    box-shadow:0 15px 40px rgba(0,0,0,.35);

}

/* ===========================
      Upload Area
=========================== */

.upload-area{

    border:2px dashed #334155;

    border-radius:16px;

    padding:60px 20px;

    text-align:center;

    transition:.3s;

}

.upload-area:hover{

    border-color:#38BDF8;

}

.upload-icon{

    font-size:55px;

    color:#38BDF8;

    margin-bottom:20px;

}

.upload-area h3{

    font-size:24px;

}

.upload-area p{

    color:#94A3B8;

    margin:10px 0 20px;

}

.upload-btn{

    background:#38BDF8;

    color:#fff;

    border:none;

    padding:14px 28px;

    border-radius:10px;

    cursor:pointer;

    font-size:16px;

    font-weight:600;

    transition:.3s;

}

.upload-btn:hover{

    transform:translateY(-2px);

    background:#0EA5E9;

}

/* ===========================
      Crop Image
=========================== */

.cropper-container{

    margin-top:20px;

}

.cropper-container img{

    width:100%;

    display:block;

    border-radius:12px;

}

/* ===========================
      Controls
=========================== */

.controls{

    margin-top:25px;

}

.controls select{

    width:100%;

    padding:12px;

    border-radius:10px;

    border:none;

    outline:none;

    background:#0F172A;

    color:#fff;

    margin-bottom:18px;

}

.action-buttons{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:12px;

    margin-bottom:18px;

}

.action-buttons button{

    height:52px;

    border:none;

    border-radius:12px;

    background:#0F172A;

    color:#fff;

    cursor:pointer;

    font-size:18px;

    transition:.3s;

}

.action-buttons button:hover{

    background:#38BDF8;

}

.crop-btn,
.download-btn{

    display:block;

    width:100%;

    text-align:center;

    padding:15px;

    border-radius:12px;

    text-decoration:none;

    font-weight:600;

    margin-top:12px;

}

.crop-btn{

    border:none;

    cursor:pointer;

    background:#38BDF8;

    color:#fff;

}

.download-btn{

    background:#22C55E;

    color:#fff;

}

/* ===========================
      Utility
=========================== */

.hidden{

    display:none;

}

/* ===========================
        Toolbar
=========================== */

.toolbar{

    display:flex;
    gap:12px;

    flex-wrap:wrap;

    margin-bottom:20px;

}

.toolbar select{

    flex:1;

    min-width:150px;

}

.toolbar button{

    width:50px;
    height:50px;

    border:none;

    border-radius:12px;

    background:#0F172A;

    color:#fff;

    cursor:pointer;

    transition:.3s;

}

.toolbar button:hover{

    transform:translateY(-3px);

    box-shadow:0 0 20px rgba(56,189,248,.35);

}

/* ===========================
        Image Info
=========================== */

.image-info{

    margin-top:25px;

    background:#0F172A;

    border:1px solid rgba(255,255,255,.08);

    border-radius:16px;

    padding:20px;

}

.info-box h3{

    color:#38BDF8;

    margin-bottom:15px;

    font-size:18px;

}

.info-box p{

    display:flex;

    align-items:center;

    gap:10px;

    margin-bottom:12px;

    color:#CBD5E1;

}

.info-box i{

    color:#38BDF8;

    width:18px;

}

.divider{

    height:1px;

    background:#334155;

    margin:20px 0;

}





/* ===========================
          FAQ SECTION
=========================== */

.faq{
    width:90%;
    margin:100px auto;
}

.faq-container{
    max-width:900px;
    margin:60px auto 0;
}

.faq-item{
    background:#182338;
    border:1px solid rgba(59,130,246,.15);
    border-radius:16px;
    margin-bottom:20px;
    overflow:hidden;
}

.faq-question{
    width:100%;
    background:none;
    border:none;
    color:#F8FAFC;
    padding:24px 30px;
    font-size:20px;
    font-weight:600;
    cursor:pointer;

    display:flex;
    justify-content:space-between;
    align-items:center;
}

.faq-question span{
    color:#3B82F6;
    font-size:28px;
    transition:.3s;
}

.faq-answer{
    max-height:0;
    overflow:hidden;
    transition:max-height .4s ease;
}

.faq-answer p{
    color:#94A3B8;
    padding:0 30px 25px;
    line-height:30px;
    font-size:17px;
}

.faq-item.active .faq-answer{
    max-height:200px;
}

.faq-item.active .faq-question span{
    transform:rotate(45deg);
}




/* ===========================
      Section Title
=========================== */

.section-title{

    text-align:center;

    max-width:700px;

    margin:0 auto 60px;

}

.section-badge{

    display:inline-flex;

    align-items:center;

    gap:8px;

    padding:10px 18px;

    background:rgba(37,99,235,.15);

    border:1px solid rgba(59,130,246,.25);

    border-radius:50px;

    color:#60A5FA;

    font-size:14px;

    font-weight:600;

    margin-bottom:22px;

}

.section-title h2{

    font-size:52px;

    font-weight:700;

    line-height:1.2;

    color:#fff;

    margin-bottom:18px;

}

.section-title h2 span{

    background:linear-gradient(90deg,#60A5FA,#2563EB);

    -webkit-background-clip:text;

    -webkit-text-fill-color:transparent;

}

.section-title p{

    font-size:18px;

    color:#94A3B8;

    line-height:1.8;

}






/* ===========================
         Footer
=========================== */

.footer{

    background:#0B1120;

    border-top:1px solid rgba(255,255,255,.08);

    padding:70px 0 25px;

    margin-top:80px;

}

.footer-top{

    display:flex;

    justify-content:space-between;

    gap:70px;

    flex-wrap:wrap;

}

.footer-logo{

    max-width:320px;

}

.container{
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-logo p{

    margin-top:20px;

    color:#94A3B8;

    line-height:1.8;

}

.footer-links{

    flex:1;

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:40px;

}

.footer-column h4{

    color:#fff;

    margin-bottom:20px;

    font-size:18px;

}

.footer-column a{

    display:block;

    color:#94A3B8;

    text-decoration:none;

    margin-bottom:14px;

    transition:.3s;

}

.footer-column a:hover{

    color:#60A5FA;

    transform:translateX(6px);

}

.footer-column i{

    width:20px;

}

.footer-bottom{

    margin-top:50px;

    padding-top:25px;

    border-top:1px solid rgba(255,255,255,.08);

    display:flex;

    justify-content:space-between;

    align-items:center;

    flex-wrap:wrap;

    gap:20px;

}

.footer-bottom p{

    color:#94A3B8;

}

.footer-bottom-links{

    display:flex;

    gap:25px;

}

.footer-bottom-links a{

    text-decoration:none;

    color:#94A3B8;

    transition:.3s;

}

.footer-bottom-links a:hover{

    color:#60A5FA;

}

