/* ================================
   GOOGLE FONT
================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');


/* ================================
   RESET
================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: "Inter", sans-serif;

    background: #ffffff;

    color: #0b1f45;

    min-height: 100vh;
}


/* ================================
   NAVBAR
================================ */

.navbar {
    height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 5%;

    border-bottom: 1px solid #e5e9f0;

    background: #ffffff;
}


/* Logo */

.logo {
    display: flex;
    align-items: center;

    gap: 12px;

    font-size: 27px;

    font-weight: 800;

    letter-spacing: -1px;

    color: #0b1f45;
}


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

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

    background: #0b1f45;

    color: white;

    border-radius: 7px;

    font-size: 21px;

    font-weight: 700;
}


/* Security */

.secure {
    display: flex;
    align-items: center;

    gap: 10px;

    color: #34435d;

    font-size: 15px;

    font-weight: 500;
}


.secure-icon {
    width: 25px;
    height: 25px;

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

    border: 2px solid #8290a8;

    border-radius: 50%;

    color: #64748b;

    font-size: 13px;
}


/* ================================
   MAIN
================================ */

main {
    min-height: calc(100vh - 82px);

    position: relative;

    overflow: hidden;
}


main::after {
    content: "✓";

    position: absolute;

    right: 7%;
    top: 150px;

    font-size: 280px;

    font-weight: 800;

    color: #f3f6fa;

    z-index: 0;

    pointer-events: none;
}


.hero {
    position: relative;

    z-index: 1;

    max-width: 1100px;

    margin: auto;

    padding: 70px 25px 0;

    text-align: center;
}


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

.eyebrow {
    color: #1646a0;

    font-size: 14px;

    font-weight: 700;

    letter-spacing: 3px;

    margin-bottom: 22px;
}


h1 {
    color: #0b1f45;

    font-size: clamp(42px, 6vw, 68px);

    line-height: 1.1;

    font-weight: 800;

    letter-spacing: -2.5px;
}


/* Small blue line */

.heading-line {
    width: 62px;

    height: 3px;

    background: #1748a5;

    margin: 25px auto;
}


.description {
    max-width: 650px;

    margin: auto;

    color: #40516d;

    font-size: 18px;

    line-height: 1.7;

    font-weight: 400;
}


/* ================================
   CHECKER CARD
================================ */

.checker-card {
    max-width: 1070px;

    margin: 45px auto 0;

    padding: 45px 50px;

    display: grid;

    grid-template-columns: 1fr 1px 1fr;

    gap: 40px;

    text-align: left;

    background: #ffffff;

    border: 1px solid #dfe5ed;

    border-radius: 14px;

    box-shadow:
        0 12px 30px rgba(15, 35, 70, 0.08);
}


/* Card headings */

.checker-card h2 {
    color: #0b1f45;

    font-size: 23px;

    font-weight: 700;

    margin-bottom: 24px;
}


/* ================================
   INPUT
================================ */

.input-box {
    width: 100%;

    height: 62px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    border: 1px solid #c7d0dc;

    border-radius: 9px;

    padding: 0 18px;

    transition: 0.2s;

    background: #ffffff;
}


.input-box:focus-within {
    border-color: #1748a5;

    box-shadow:
        0 0 0 3px rgba(23, 72, 165, 0.08);
}


.input-box input {
    width: 100%;

    height: 100%;

    border: none;

    outline: none;

    font-family: inherit;

    font-size: 17px;

    color: #0b1f45;

    background: transparent;
}


.input-box input::placeholder {
    color: #8b98aa;
}


.input-box span {
    color: #52627b;

    font-size: 16px;

    white-space: nowrap;
}


/* Remove number arrows */

input::-webkit-inner-spin-button,
input::-webkit-outer-spin-button {
    -webkit-appearance: none;

    margin: 0;
}


/* ================================
   BUTTON
================================ */

button {
    width: 100%;

    height: 62px;

    margin-top: 18px;

    border: none;

    border-radius: 8px;

    background: #0b1f45;

    color: #ffffff;

    font-family: inherit;

    font-size: 17px;

    font-weight: 600;

    cursor: pointer;

    transition: 0.2s;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 18px;
}


button:hover {
    background: #142e5e;

    transform: translateY(-1px);

    box-shadow:
        0 7px 18px rgba(11, 31, 69, 0.18);
}


button:active {
    transform: translateY(0);
}


.arrow {
    font-size: 27px;

    font-weight: 400;

    line-height: 0;
}


/* ================================
   DIVIDER
================================ */

.card-divider {
    width: 1px;

    background: #dfe5ed;
}


/* ================================
   RESULT
================================ */

.result-box {
    min-height: 126px;

    padding: 25px;

    display: flex;

    align-items: center;

    gap: 20px;

    border: 1px dashed #cbd5e1;

    border-radius: 10px;

    background: #ffffff;
}


.result-icon {
    width: 52px;
    height: 52px;

    flex-shrink: 0;

    display: flex;

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

    border-radius: 50%;

    background: #f0f4f9;

    color: #0b1f45;

    font-size: 24px;

    font-weight: 700;
}


.result-box h3 {
    color: #0b1f45;

    font-size: 16px;

    line-height: 1.5;

    margin-bottom: 5px;
}


#result {
    color: #40516d;

    font-size: 14px;

    line-height: 1.6;
}


/* ================================
   FEATURES
================================ */

.features {
    max-width: 1070px;

    margin: 25px auto 0;

    padding: 30px 0 40px;

    display: grid;

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

    text-align: left;

    border-top: 1px solid #e5e9f0;
}


.feature {
    display: flex;

    align-items: center;

    gap: 18px;

    padding: 0 35px;

    border-right: 1px solid #dfe5ed;
}


.feature:last-child {
    border-right: none;
}


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

    flex-shrink: 0;

    display: flex;

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

    border-radius: 50%;

    background: #0b1f45;

    color: #ffffff;

    font-size: 25px;
}


.feature h3 {
    color: #0b1f45;

    font-size: 17px;

    margin-bottom: 7px;
}


.feature p {
    color: #52627b;

    font-size: 14px;

    line-height: 1.5;
}


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

footer {
    min-height: 130px;

    padding: 25px 5%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    background: #0b1f45;

    color: white;
}


.footer-left {
    display: flex;

    align-items: center;

    gap: 18px;
}


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

    display: flex;

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

    border: 2px solid rgba(255,255,255,0.35);

    border-radius: 50%;

    font-size: 24px;
}


.footer-left strong {
    font-size: 16px;
}


.footer-left p {
    margin-top: 6px;

    color: #c3ccda;

    font-size: 14px;
}


.copyright {
    color: #d1d8e3;

    font-size: 14px;
}


/* ================================
   RESULT STATES
================================ */

/* Eligible */

.eligible {
    background: #edf8f1 !important;

    border-color: #b7dfc5 !important;
}


.eligible .result-icon {
    background: #d8f0df;

    color: #18743b;
}


/* Not eligible */

.not-eligible {
    background: #fff5f5 !important;

    border-color: #eccaca !important;
}


.not-eligible .result-icon {
    background: #f8dddd;

    color: #a52a2a;
}


/* ================================
   TABLET
================================ */

@media (max-width: 850px) {

    .checker-card {
        grid-template-columns: 1fr;

        gap: 30px;

        padding: 35px;
    }


    .card-divider {
        width: 100%;

        height: 1px;
    }


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

        gap: 25px;
    }


    .feature {
        border-right: none;

        border-bottom: 1px solid #dfe5ed;

        padding: 15px 25px;
    }


    .feature:last-child {
        border-bottom: none;
    }
}


/* ================================
   MOBILE
================================ */

@media (max-width: 600px) {

    .navbar {
        height: 70px;

        padding: 0 20px;
    }


    .logo {
        font-size: 21px;
    }


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

        font-size: 17px;
    }


    .secure {
        display: none;
    }


    .hero {
        padding: 50px 18px 0;
    }


    .eyebrow {
        font-size: 10px;

        letter-spacing: 2px;
    }


    h1 {
        font-size: 40px;

        letter-spacing: -1.8px;
    }


    .description {
        font-size: 15px;

        margin-top: 5px;
    }


    .checker-card {
        margin-top: 35px;

        padding: 25px 20px;

        border-radius: 12px;
    }


    .checker-card h2 {
        font-size: 20px;
    }


    .result-box {
        padding: 18px;

        gap: 14px;
    }


    .result-icon {
        width: 45px;
        height: 45px;
    }


    .feature {
        padding: 12px 5px;
    }


    footer {
        flex-direction: column;

        align-items: flex-start;

        gap: 25px;

        padding: 30px 25px;
    }


    .copyright {
        font-size: 12px;
    }

}