/* ==========================================
   APEX FINDS LTD - MAIN WEBSITE CSS
========================================== */


/* ==========================================
   RESET
========================================== */


* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    font-family:
        'Inter',
        sans-serif;

    background: #ffffff;

    color: #1d1d1f;

    overflow-x: hidden;

}


a {

    text-decoration: none;

    color: inherit;

}





/* ==========================================
   NAVIGATION
========================================== */


header {

    position: fixed;

    width: 100%;

    top: 0;

    z-index: 1000;

}


.navbar {

    margin: 20px auto;

    width: 90%;

    max-width: 1200px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 18px 28px;

    background:
        rgba(255,255,255,0.72);

    backdrop-filter:
        blur(20px);

    -webkit-backdrop-filter:
        blur(20px);

    border-radius: 50px;

    border:
        1px solid
        rgba(0,0,0,0.08);

}


.logo {

    font-size: 24px;

    font-weight: 700;

    letter-spacing: -1px;

}


.logo span {

    font-size: 12px;

}


.nav-links {

    display: flex;

    gap: 30px;

    align-items: center;

}


.nav-links a {

    font-size: 15px;

    color: #555;

    transition: .3s;

}


.nav-links a:hover {

    color: #000;

}


.nav-links .survey-nav-link {

    font-weight: 600;

    color: #1d1d1f;

}


.nav-button,
.primary-button {

    background: #000;

    color: white;

    padding: 14px 25px;

    border-radius: 40px;

    transition: .3s;

}


.nav-button:hover,
.primary-button:hover {

    transform: scale(1.05);

}





/* ==========================================
   HERO
========================================== */


.hero {

    min-height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-direction: column;

    text-align: center;

    padding:
        150px 20px 80px;

}


.hero-content h1 {

    font-size:
        clamp(55px, 8vw, 110px);

    line-height: 1.02;

    letter-spacing: -5px;

    font-weight: 800;

}


.hero-content p {

    margin: 30px auto;

    max-width: 650px;

    font-size: 22px;

    color: #6e6e73;

    line-height: 1.6;

}


.hero-buttons {

    display: flex;

    justify-content: center;

    gap: 20px;

    margin-top: 40px;

}


.secondary-button {

    padding:
        14px 25px;

    border-radius: 40px;

    border:
        1px solid #ccc;

    transition: .3s;

}


.secondary-button:hover {

    background: #f5f5f5;

}


.hero-image {

    margin-top: 80px;

    width: 90%;

    max-width: 900px;

    height: 350px;

    border-radius: 40px;

    background:

        linear-gradient(
            135deg,
            #111,
            #555
        );

    display: flex;

    justify-content: center;

    align-items: center;

}


.glass-card {

    background:
        rgba(255,255,255,.15);

    backdrop-filter:
        blur(20px);

    -webkit-backdrop-filter:
        blur(20px);

    color: white;

    padding: 40px;

    border-radius: 30px;

    border:
        1px solid
        rgba(255,255,255,.2);

}





/* ==========================================
   GENERAL SECTIONS
========================================== */


section {

    padding:
        100px 8%;

}


section h2 {

    text-align: center;

    font-size: 55px;

    letter-spacing: -2px;

    margin-bottom: 70px;

}





/* ==========================================
   FEATURES
========================================== */


.features {

    display: grid;

    grid-template-columns:
        repeat(4,1fr);

    gap: 25px;

}


.feature {

    padding: 35px;

    background: #f5f5f7;

    border-radius: 30px;

    transition: .4s;

}


.feature:hover {

    transform:
        translateY(-10px);

}


.feature h3 {

    margin-bottom: 15px;

}


.feature p {

    color: #6e6e73;

    line-height: 1.5;

}





/* ==========================================
   PRODUCTS
========================================== */


.product-grid {

    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    gap: 30px;

}


.product-card {

    height: 250px;

    background: #f5f5f7;

    border-radius: 35px;

    padding: 35px;

    display: flex;

    flex-direction: column;

    justify-content: end;

    transition: .4s;

}


.product-card:hover {

    transform:
        scale(1.03);

}


.product-card p {

    color: #666;

    margin-top: 10px;

}





/* ==========================================
   MOST WANTED
========================================== */


.most-wanted {

    padding:
        110px 8%;

    background: #f5f5f7;

    text-align: center;

}


.most-wanted-header {

    max-width: 700px;

    margin:
        0 auto 60px;

}


.section-label {

    display: inline-block;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 2px;

    color: #6e6e73;

    margin-bottom: 15px;

}


.most-wanted-header h2 {

    font-size: 60px;

    letter-spacing: -3px;

    margin-bottom: 15px;

}


.most-wanted-header p {

    color: #6e6e73;

    font-size: 18px;

    line-height: 1.6;

}


.wanted-grid {

    max-width: 1200px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    gap: 25px;

}


.wanted-card {

    background: white;

    padding:
        40px 30px;

    border-radius: 25px;

    text-align: center;

    box-shadow:
        0 10px 30px
        rgba(0,0,0,.05);

    transition:
        transform .3s ease,
        box-shadow .3s ease;

}


.wanted-card:hover {

    transform:
        translateY(-8px);

    box-shadow:
        0 20px 50px
        rgba(0,0,0,.12);

}


.wanted-rank {

    text-align: left;

    font-size: 13px;

    font-weight: 700;

    color: #86868b;

}


.wanted-icon {

    font-size: 60px;

    margin:
        20px 0;

}


.wanted-card h3 {

    font-size: 24px;

    margin-bottom: 10px;

}


.wanted-card p {

    color: #6e6e73;

    margin-bottom: 20px;

}


.wanted-progress {

    width: 100%;

    height: 5px;

    background: #e5e5e7;

    border-radius: 10px;

    overflow: hidden;

    margin-bottom: 25px;

}


.wanted-progress div {

    height: 100%;

    background: #1d1d1f;

    border-radius: 10px;

}


.wanted-card button {

    border: none;

    background: #1d1d1f;

    color: white;

    padding:
        12px 22px;

    border-radius: 25px;

    font-size: 14px;

    cursor: pointer;

    transition:
        transform .2s ease,
        background .2s ease;

}


.wanted-card button:hover {

    transform:
        scale(1.05);

    background: #333;

}


.wanted-survey-cta {

    margin-top: 60px;

}


.wanted-survey-cta p {

    color: #6e6e73;

    margin-bottom: 15px;

}


.wanted-survey-cta button {

    border: none;

    background: transparent;

    color: #1d1d1f;

    font-size: 16px;

    font-weight: 600;

    cursor: pointer;

}


.wanted-survey-cta button:hover {

    text-decoration: underline;

}





/* ==========================================
   STATS
========================================== */


.stats {

    background: #000;

    color: white;

    display: flex;

    justify-content: center;

    gap: 100px;

    text-align: center;

}


.stats h2 {

    margin: 0;

    font-size: 50px;

}





/* ==========================================
   SURVEY SECTION
========================================== */


.survey-section {

    padding:
        120px 8%;

    background: #1d1d1f;

    color: white;

    text-align: center;

}


.survey-content {

    max-width: 750px;

    margin: 0 auto;

}


.survey-section
.section-label {

    color: #a1a1a6;

}


.survey-section h2 {

    font-size: 65px;

    letter-spacing: -4px;

    line-height: 1;

    margin-bottom: 25px;

}


.survey-section p {

    color: #a1a1a6;

    font-size: 20px;

    line-height: 1.6;

    margin-bottom: 35px;

}


.survey-button {

    border: none;

    background: white;

    color: #1d1d1f;

    padding:
        15px 30px;

    border-radius: 30px;

    font-size: 16px;

    font-weight: 600;

    cursor: pointer;

    transition:
        transform .3s ease,
        box-shadow .3s ease;

}


.survey-button:hover {

    transform:
        translateY(-3px);

    box-shadow:
        0 15px 35px
        rgba(0,0,0,.3);

}





/* ==========================================
   SURVEY POPUP
========================================== */


.survey-modal {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background:
        rgba(0,0,0,.6);

    backdrop-filter:
        blur(10px);

    -webkit-backdrop-filter:
        blur(10px);

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 20px;

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    transition:
        opacity .3s ease,
        visibility .3s ease;

    z-index: 9999;

}


.survey-modal.active {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;

}


.survey-modal-content {

    position: relative;

    width: 100%;

    max-width: 550px;

    max-height: 90vh;

    overflow-y: auto;

    background: white;

    color: #1d1d1f;

    border-radius: 30px;

    padding: 45px;

    box-shadow:
        0 30px 80px
        rgba(0,0,0,.3);

    transform:
        translateY(30px)
        scale(.95);

    transition:
        transform .3s ease;

}


.survey-modal.active
.survey-modal-content {

    transform:
        translateY(0)
        scale(1);

}


.survey-modal-content h2 {

    font-size: 45px;

    letter-spacing: -2px;

    line-height: 1;

    margin-bottom: 15px;

}


.survey-modal-content > p {

    color: #6e6e73;

    line-height: 1.6;

    margin-bottom: 30px;

}





/* CLOSE BUTTON */


.survey-close {

    position: absolute;

    top: 20px;

    right: 20px;

    width: 40px;

    height: 40px;

    border: none;

    border-radius: 50%;

    background: #f5f5f7;

    color: #1d1d1f;

    font-size: 25px;

    line-height: 1;

    cursor: pointer;

    transition:
        background .2s ease;

}


.survey-close:hover {

    background: #e5e5e7;

}






/* ==========================================
   SURVEY FORM
========================================== */


.survey-modal-content form {

    text-align: left;

}


.survey-modal-content form > label {

    display: block;

    font-size: 14px;

    font-weight: 600;

    margin: 20px 0 8px;

}


/* TEXT, EMAIL, SELECT AND TEXTAREA FIELDS */


.survey-modal-content input[type="text"],
.survey-modal-content input[type="email"],
.survey-modal-content select,
.survey-modal-content textarea {

    width: 100%;

    padding: 15px;

    border: 1px solid #d2d2d7;

    border-radius: 12px;

    background: #ffffff;

    color: #1d1d1f;

    font-family: 'Inter', sans-serif;

    font-size: 15px;

    outline: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;

}


/* PLACEHOLDER TEXT */


.survey-modal-content input::placeholder,
.survey-modal-content textarea::placeholder {

    color: #86868b;

    opacity: 1;

}


/* FOCUS EFFECT */


.survey-modal-content input[type="text"]:focus,
.survey-modal-content input[type="email"]:focus,
.survey-modal-content select:focus,
.survey-modal-content textarea:focus {

    border-color: #1d1d1f;

    box-shadow:
        0 0 0 3px
        rgba(0,0,0,.08);

}


/* TEXTAREA */


.survey-modal-content textarea {

    resize: vertical;

    min-height: 100px;

}


/* ==========================================
   RATING
========================================== */


.survey-rating {

    display: flex;

    gap: 10px;

    margin:
        10px 0 25px;

}


.survey-rating label {

    display: flex;

    align-items: center;

    gap: 5px;

    cursor: pointer;

}


.survey-rating input {

    accent-color:
        #1d1d1f;

}





/* ==========================================
   SUBMIT BUTTON
========================================== */


.survey-submit {

    width: 100%;

    border: none;

    background: #1d1d1f;

    color: white;

    padding: 16px;

    border-radius: 30px;

    font-size: 16px;

    font-weight: 600;

    cursor: pointer;

    transition:
        transform .2s ease,
        background .2s ease;

}


.survey-submit:hover {

    transform:
        translateY(-2px);

    background: #333;

}


.survey-message {

    text-align: center;

    margin-top: 15px;

    font-size: 14px;

    font-weight: 500;

}





/* ==========================================
   FAQ
========================================== */


.faq-box {

    max-width: 800px;

    margin:
        20px auto;

    padding: 30px;

    background: #f5f5f7;

    border-radius: 25px;

}


.faq-box p {

    margin-top: 10px;

    color: #666;

}





/* ==========================================
   CTA
========================================== */


.cta {

    text-align: center;

}


.cta a {

    display: inline-block;

    margin-top: 30px;

    background: #000;

    color: white;

    padding:
        18px 35px;

    border-radius: 50px;

}





/* ==========================================
   FOOTER
========================================== */


footer {

    background: #f5f5f7;

    padding:
        50px 8%;

    text-align: center;

}


.footer-logo {

    font-size: 25px;

    font-weight: 700;

    margin-bottom: 15px;

}


footer p {

    color: #777;

}


footer a {

    margin: 15px;

}





/* ==========================================
   MOBILE
========================================== */


@media(max-width: 900px) {


    .nav-links {

        display: none;

    }


    .hero-content h1 {

        letter-spacing: -2px;

    }


    .features {

        grid-template-columns: 1fr;

    }


    .product-grid {

        grid-template-columns: 1fr;

    }


    .wanted-grid {

        grid-template-columns: 1fr;

        max-width: 500px;

        margin: 0 auto;

    }


    .stats {

        flex-direction: column;

        gap: 40px;

    }


    section h2 {

        font-size: 40px;

    }


    .most-wanted-header h2 {

        font-size: 50px;

    }


    .survey-section h2 {

        font-size: 50px;

    }

}





@media(max-width: 600px) {


    .navbar {

        padding:
            15px 20px;

    }


    .nav-button {

        padding:
            11px 18px;

        font-size: 13px;

    }


    .hero {

        padding:
            130px 20px 60px;

    }


    .hero-content h1 {

        font-size:
            clamp(48px, 15vw, 75px);

    }


    .hero-content p {

        font-size: 18px;

    }


    .hero-buttons {

        flex-direction: column;

        width: 100%;

        max-width: 300px;

        margin:
            30px auto 0;

    }


    .hero-buttons a {

        width: 100%;

    }


    .hero-image {

        height: 280px;

        margin-top: 50px;

    }


    section {

        padding:
            80px 6%;

    }


    .most-wanted {

        padding:
            80px 6%;

    }


    .most-wanted-header h2 {

        font-size: 42px;

        letter-spacing: -2px;

    }


    .survey-section {

        padding:
            80px 6%;

    }


    .survey-section h2 {

        font-size: 42px;

        letter-spacing: -2px;

    }


    .survey-modal-content {

        padding:
            35px 25px;

        border-radius: 22px;

    }


    .survey-modal-content h2 {

        font-size: 36px;

    }


    .survey-rating {

        gap: 7px;

    }

}
.survey-modal-content textarea {

    width: 100%;

    padding: 15px;

    border:
        1px solid #d2d2d7;

    border-radius: 12px;

    background: white;

    color: #1d1d1f;

    font-family:
        'Inter',
        sans-serif;

    font-size: 15px;

    resize: vertical;

    outline: none;

}


.survey-modal-content textarea:focus {

    border-color: #1d1d1f;

    box-shadow:
        0 0 0 3px
        rgba(0,0,0,.08);

}
.survey-success {

    text-align: center;

    padding: 30px 10px;

}


.success-icon {

    width: 60px;

    height: 60px;

    margin:
        0 auto 20px;

    display: flex;

    align-items: center;

    justify-content: center;

    background: #e8f5e9;

    color: #2e7d32;

    border-radius: 50%;

    font-size: 30px;

    font-weight: 700;

}


.survey-success h3 {

    font-size: 28px;

    margin-bottom: 10px;

}


.survey-success p {

    color: #6e6e73;

    margin-bottom: 25px;

}