/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;

    background: #f7f8fc;

    color: #171923;

    overflow-x: hidden;
}


/* =========================
   BACKGROUND
========================= */

.background {
    position: fixed;

    inset: 0;

    z-index: -2;

    overflow: hidden;

    pointer-events: none;
}

.background::before {
    content: "";

    position: absolute;

    width: 620px;
    height: 620px;

    top: -270px;
    left: -190px;

    background: #e9ecff;

    border-radius: 50%;

    filter: blur(10px);
}

.background::after {
    content: "";

    position: absolute;

    width: 520px;
    height: 520px;

    right: -170px;
    bottom: -250px;

    background: #eee9ff;

    border-radius: 50%;

    filter: blur(10px);
}


/* =========================
   NAVBAR
========================= */

.navbar {
    width: 100%;

    padding: 24px 6%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    position: relative;

    z-index: 10;
}

.logo {
    color: #171923;

    text-decoration: none;

    font-size: 25px;

    font-weight: 800;

    letter-spacing: -1.2px;
}

.logo span {
    color: #5b5ff0;
}

.nav-tag {
    padding: 9px 16px;

    border-radius: 50px;

    background: rgba(255, 255, 255, 0.72);

    border: 1px solid rgba(0, 0, 0, 0.06);

    color: #747783;

    font-size: 13px;

    backdrop-filter: blur(12px);
}


/* =========================
   MAIN
========================= */

main {
    width: min(1150px, 90%);

    min-height: calc(100vh - 82px);

    margin: auto;

    padding: 45px 0 70px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;
}


/* =========================
   HERO
========================= */

.hero {
    max-width: 760px;

    text-align: center;

    animation: fadeUp 0.8s ease forwards;
}

.small-label {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 8px 15px;

    margin-bottom: 23px;

    border-radius: 50px;

    background: rgba(255, 255, 255, 0.78);

    border: 1px solid rgba(0, 0, 0, 0.06);

    color: #5b5ff0;

    font-size: 13px;

    font-weight: 700;

    backdrop-filter: blur(12px);
}

.status-dot {
    width: 7px;
    height: 7px;

    display: block;

    border-radius: 50%;

    background: #5b5ff0;

    animation: pulse 1.8s infinite;
}

h1 {
    margin-bottom: 23px;

    font-size: clamp(44px, 6vw, 76px);

    line-height: 0.98;

    letter-spacing: -4px;

    font-weight: 850;
}

h1 span {
    color: #5b5ff0;
}

.hero-description {
    max-width: 600px;

    margin: auto;

    color: #70737e;

    font-size: 17px;

    line-height: 1.7;
}


/* =========================
   OPTIONS
========================= */

.options {
    width: 100%;

    margin-top: 55px;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 22px;
}


/* =========================
   OPTION CARD
========================= */

.option-card {
    min-height: 285px;

    position: relative;

    padding: 38px;

    overflow: hidden;

    cursor: pointer;

    text-align: left;

    border-radius: 28px;

    background: rgba(255, 255, 255, 0.84);

    border: 1px solid rgba(0, 0, 0, 0.07);

    box-shadow:
        0 15px 50px rgba(25, 28, 50, 0.06);

    backdrop-filter: blur(18px);

    opacity: 0;

    animation: fadeUp 0.8s ease forwards;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.option-card:nth-child(1) {
    animation-delay: 0.18s;
}

.option-card:nth-child(2) {
    animation-delay: 0.32s;
}

.option-card:hover {
    transform: translateY(-8px);

    border-color: rgba(91, 95, 240, 0.24);

    box-shadow:
        0 25px 60px rgba(25, 28, 50, 0.12);
}


/* =========================
   CARD GLOW
========================= */

.card-glow {
    width: 190px;
    height: 190px;

    position: absolute;

    top: -85px;
    right: -85px;

    border-radius: 50%;

    background: #eef0ff;

    transition: transform 0.45s ease;
}

.option-card:hover .card-glow {
    transform: scale(1.45);
}


/* =========================
   CARD ICON
========================= */

.icon {
    width: 57px;
    height: 57px;

    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 25px;

    border-radius: 17px;

    background: #f0f1ff;

    color: #5b5ff0;

    z-index: 2;
}


/* =========================
   SEARCH ICON
========================= */

.finder-icon {
    position: relative;
}

.search-circle {
    width: 19px;
    height: 19px;

    position: absolute;

    top: 15px;
    left: 15px;

    border: 3px solid #5b5ff0;

    border-radius: 50%;
}

.search-handle {
    width: 11px;
    height: 3px;

    position: absolute;

    top: 35px;
    left: 33px;

    background: #5b5ff0;

    border-radius: 10px;

    transform: rotate(45deg);
}


/* =========================
   BRIEFCASE ICON
========================= */

.poster-icon {
    position: relative;
}

.briefcase-body {
    width: 28px;
    height: 21px;

    position: absolute;

    left: 14px;
    top: 21px;

    border: 3px solid #5b5ff0;

    border-radius: 4px;
}

.briefcase-top {
    width: 13px;
    height: 7px;

    position: absolute;

    left: 22px;
    top: 15px;

    border: 3px solid #5b5ff0;

    border-bottom: 0;

    border-radius: 4px 4px 0 0;
}

.briefcase-line {
    width: 27px;
    height: 3px;

    position: absolute;

    left: 15px;
    top: 29px;

    background: #5b5ff0;

    border-radius: 5px;
}


/* =========================
   CARD TEXT
========================= */

.option-card h2 {
    position: relative;

    margin-bottom: 11px;

    font-size: 27px;

    letter-spacing: -1px;

    z-index: 2;
}

.option-card p {
    position: relative;

    max-width: 350px;

    color: #777a85;

    font-size: 14px;

    line-height: 1.65;

    z-index: 2;
}


/* =========================
   CARD BOTTOM
========================= */

.card-bottom {
    position: relative;

    margin-top: 28px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    z-index: 2;
}

.choose-text {
    color: #5b5ff0;

    font-size: 14px;

    font-weight: 700;
}

.arrow {
    width: 39px;
    height: 39px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #171923;

    color: #ffffff;

    font-size: 18px;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.option-card:hover .arrow {
    transform: translateX(5px);

    background: #5b5ff0;
}


/* =========================
   BOTTOM TEXT
========================= */

.bottom-text {
    margin-top: 30px;

    color: #9a9ca5;

    font-size: 12px;

    text-align: center;

    opacity: 0;

    animation:
        fadeUp 0.9s ease 0.5s forwards;
}


/* =========================
   MODAL
========================= */

.modal-overlay {
    position: fixed;

    inset: 0;

    z-index: 100;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(15, 17, 25, 0.45);

    backdrop-filter: blur(8px);

    opacity: 0;

    visibility: hidden;

    transition: 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;

    visibility: visible;
}

.modal {
    width: min(440px, 100%);

    padding: 32px;

    position: relative;

    border-radius: 25px;

    background: #ffffff;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.2);

    transform: translateY(20px) scale(0.97);

    transition: 0.3s ease;
}

.modal-overlay.active .modal {
    transform: translateY(0) scale(1);
}


/* =========================
   MODAL CLOSE
========================= */

.modal-close {
    width: 35px;
    height: 35px;

    position: absolute;

    top: 20px;
    right: 20px;

    border: none;

    border-radius: 50%;

    background: #f2f3f6;

    color: #555;

    font-size: 20px;

    line-height: 1;

    cursor: pointer;

    transition: 0.2s ease;
}

.modal-close:hover {
    background: #e7e8ed;

    transform: rotate(90deg);
}


/* =========================
   MODAL ICON
========================= */

.modal-icon {
    width: 55px;
    height: 55px;

    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    border-radius: 16px;

    background: #f0f1ff;

    color: #5b5ff0;
}

.modal-search-icon {
    width: 18px;
    height: 18px;

    border: 3px solid #5b5ff0;

    border-radius: 50%;

    position: relative;
}

.modal-search-icon::after {
    content: "";

    width: 9px;
    height: 3px;

    position: absolute;

    right: -7px;
    bottom: -4px;

    background: #5b5ff0;

    border-radius: 5px;

    transform: rotate(45deg);
}


/* =========================
   MODAL TEXT
========================= */

.modal h3 {
    margin-bottom: 10px;

    font-size: 25px;

    letter-spacing: -0.5px;
}

.modal p {
    margin-bottom: 23px;

    color: #777;

    font-size: 14px;

    line-height: 1.6;
}


/* =========================
   MODAL BUTTON
========================= */

.modal-button {
    width: 100%;

    padding: 14px;

    border: none;

    border-radius: 13px;

    background: #171923;

    color: #ffffff;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.modal-button:hover {
    background: #5b5ff0;

    transform: translateY(-2px);
}


/* =========================
   ANIMATIONS
========================= */

@keyframes fadeUp {

    from {
        opacity: 0;

        transform:
            translateY(25px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }
}


@keyframes pulse {

    0%,
    100% {
        opacity: 1;

        transform: scale(1);
    }

    50% {
        opacity: 0.45;

        transform: scale(1.5);
    }
}


/* =========================
   TABLET
========================= */

@media (max-width: 750px) {

    .navbar {
        padding: 20px 5%;
    }

    .nav-tag {
        display: none;
    }

    main {
        width: 90%;

        padding-top: 35px;
    }

    h1 {
        font-size: clamp(42px, 12vw, 62px);

        letter-spacing: -2.5px;
    }

    .hero-description {
        font-size: 15px;
    }

    .options {
        grid-template-columns: 1fr;

        margin-top: 38px;
    }

    .option-card {
        min-height: auto;

        padding: 30px;
    }
}


/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 450px) {

    .logo {
        font-size: 22px;
    }

    .small-label {
        font-size: 11px;
    }

    h1 {
        font-size: 43px;
    }

    .hero-description {
        font-size: 14px;
    }

    .option-card {
        padding: 27px;

        border-radius: 22px;
    }

    .option-card h2 {
        font-size: 24px;
    }

    .modal {
        padding: 25px;

        border-radius: 21px;
    }
}