/* SHARED COMPONENTS */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Plus Jakarta Sans", Arial, sans-serif;
}

/* HEADER */

header {
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #ffffff;
    border-bottom: 1px solid #eef1f5;
    box-shadow: 0 2px 10px rgba(31, 41, 55, 0.04);
}

header .logo,
header .logo:visited,
header .logo:hover,
header .logo:active {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #172033 !important;
    font-family: "Manrope", sans-serif;
    font-size: 18px;
    font-weight: 800;
    text-decoration: none !important;
    transition: opacity 0.2s ease;
}

header .logo:hover {
    opacity: 0.8;
}

header .logoIcon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background-color: #eef5ff;
}

header .logoIcon img {
    width: 34px;
    height: 34px;
}

header .logo span {
    color: #172033 !important;
    font-size: 20px;
    font-weight: 700;
}

header nav {
    display: flex;
    gap: 30px;
}

header nav a,
header nav a:visited {
    color: #334155;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease;
}

header nav a:hover {
    color: #2b83fe;
}

header .startSavingButton,
header .startSavingButton:visited {
    padding: 10px 18px;
    border-radius: 8px;
    background-color: #2b83fe;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 600;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

header .startSavingButton:hover {
    background-color: #176fe8;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(43, 131, 254, 0.20);
}


/* FOOTER */

footer {
    background-color: #ffffff;
    border-top: 1px solid #e6eaf0;
}

.footerMain {
    width: min(1100px, 90%);
    margin: 0 auto;
    padding: 55px 0;
    display: flex;
    justify-content: space-between;
    gap: 60px;
}

.footerBrand {
    max-width: 320px;
}

.footerLogo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #172033;
    font-family: "Manrope", sans-serif;
    font-weight: 800;
}

.footerLogo img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.footerBrand > p {
    margin-top: 16px;
    color: #8a94a6;
    font-size: 13px;
    line-height: 1.7;
}

.footerLinks {
    display: flex;
    gap: 70px;
}

.footerColumn {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footerColumn h3 {
    margin: 0 0 7px;
    color: #172033;
    font-size: 13px;
}

.footerColumn a {
    color: #70798a;
    font-size: 12px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footerColumn a:hover {
    color: #2b83fe;
}

.footerBottom {
    padding: 20px 5%;
    border-top: 1px solid #edf0f3;
    text-align: center;
}

.footerBottom span {
    color: #8a94a6;
    font-size: 11px;
}


/* RESPONSIVE */

@media (max-width: 1000px) {

    header {
        padding: 0 30px;
    }

    header nav {
        gap: 20px;
    }

    .footerMain {
        flex-direction: column;
    }

    .footerLinks {
        gap: 45px;
    }

}

@media (max-width: 750px) {

    header {
        height: 64px;
        padding: 0 24px;
    }

    header nav {
        display: none;
    }

    header .logo span {
        font-size: 18px;
    }

    header .startSavingButton {
        padding: 9px 14px;
        font-size: 13px;
    }

}

@media (max-width: 600px) {

    .footerLinks {
        flex-direction: column;
        gap: 30px;
    }

}

@media (max-width: 500px) {

    header {
        padding: 0 18px;
    }

    header .logoIcon img {
        width: 32px;
        height: 32px;
    }

    header .logo span {
        font-size: 17px;
    }

    header .startSavingButton {
        padding: 8px 12px;
        font-size: 12px;
    }

}

@media (max-width: 280px) {

    header .logo span {
        display: none;
    }

}