:root {
    --color-primary: #0F172A;
    --color-muted: #64748B;
    --color-border: #E2E8F0;
    --color-surface: #F8FAFC;
    --color-subtle: #94A3B8;
    --color-light: #CBD5E1;
}
 
html,*,*::after,*::before{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
 
body{
    font-family: 'vazirmatn', monospace;
    background-color: #fff;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-feature-settings: "ss01";
    overflow-x: hidden;
}
input,button{
    outline: none;
    border: none;
    font-family: 'vazirmatn', sans-serif;
    font-feature-settings: "ss01";
}
.container{
    width: 100%;
    padding: 0 3.5rem;

    
}
.header{
    width: 100%;
    height: 6.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
.header-sidebar{
    width: 1.8rem;
    height: 1.3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
    display: none;
}

.header-sidebar span{
    width: 100%;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 1rem;
}
.header__title{
    font-size: 3rem;
    font-weight: 700;
    font-style: Bold;
    color: var(--color-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.3rem;
}
.header-items{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    font-weight: 500;
    font-style: Medium;
    font-size: 1.1rem;
    color: var(--color-muted);
}
.header__item{
    cursor: pointer;
    transition: all 150ms ease-in-out 20ms;
}
.header__item:hover{
    color: var(--color-primary);
    transform: translateY(-5px);
}
.header__item__select{
    color: var(--color-primary);
    font-weight: 700;
    font-style: bold;
    border-bottom: 3px solid var(--color-primary);
}
.header__button__login{
    background-color: var(--color-primary);
    color: #FFFFFF;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    cursor: pointer;
    transition: all 150ms ease-in-out 20ms;
}
.header__button__login:hover{
    background-color: #000;
    transform: scale(1.05);
}
 
.main{
    width: 100%;
}
 
 
/* ==============main-big-img=========== */
.main-big-img{
    height: 40rem;
    background:
        linear-gradient(#0F172AB2, #0F172AB2),
        url("../img/landing_page_img.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: start;
    justify-content: center;
    flex-direction: column;
    gap: 2rem;
}
.main-big-img h2{
    font-size: 3rem;
    font-weight: 700;
    font-style: bold;
    color: #fff;
}
.main-big-img p{
    width: 30rem;
    color: var(--color-light);
}
.main-big-img-btns{
    padding-top: 1rem;
    display: flex;
    gap: 1.5rem;
}
.main-big-img-btns button{
    padding: 1rem 2rem;
    border-radius: 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 150ms ease-out 20ms;
}
.main-big-img__start{
    background-color: white;
    color: var(--color-primary);
}
.main-big-img__start:hover{
    background-color: var(--color-primary);
    color: white;
}
.main-big-img__more__info{
    color: white;
    background-color: transparent;
    backdrop-filter: blur(10px);
    border: 1px solid #FFFFFF;
}
.main-big-img__more__info:hover{
    transform: scale(1.05);
}
 
/* ==============features-carousel============= */
.features-carousel{
    width: 100%;
    height: 26rem;
    padding: 3rem 0;
    display: flex;
    align-items: start;
    flex-direction: column;
    gap: 2rem;
}
.features-carousel h2{
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-right: 3.5rem;
}
.features-carousel-boxes{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    flex-wrap: nowrap;
    gap: 1rem;
}
.features-carousel-boxes-box{
    width: 28rem;
    height: 15rem;
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
    border-radius: 2rem;
    padding: 2rem;
    text-align: center;
    transition: transform 200ms ease-in 20ms;
}
.features-carousel-boxes-box:hover{
    transform: scale(1.05);
}
.boxes-box__logo{
    width: 2rem;
    height: 2rem;
    border: 1px solid black;
    background-color: white;
    border-radius: 0.5rem;
}
.boxes-box__title{
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--color-primary);
}
.boxes-box__subtitle{
    font-weight: 400;
    font-size: 0.9rem;
    color: var(--color-muted);
}
 
/* =============free-start============ */
.free-start{
    height: 11rem;
    margin-top: 6rem;
}
.free-start-box{
    width: 100%;
    height: 100%;
    background-color: var(--color-primary);
    padding: 3rem;
    border-radius: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.free-start-box-text{
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
    gap: 1rem;
}
.free-start-box-text__title{
    font-size: 2rem;
    font-weight: 600;
    color: white;
}
.free-start-box-text__subtitle{
    color: var(--color-subtle);
    font-weight: 400;
}
.free-start-box-btn{
    padding: 1rem 2rem;
    background-color: white;
    border-radius: 2rem;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 150ms ease-in-out 15ms;
    cursor: pointer;
}
.free-start-box-btn:hover{
    transform: translateY(-10px);
}
 
/* =================download app=============== */
.download-app{
    margin-top: 5rem;
    height: 21rem;
}
.download-app-container{
    width: 100%;
    height: 100%;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 2rem;
    padding: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 3rem;
}
.download-app-container__title{
    color: var(--color-primary);
    font-size: 2rem;
    font-weight: 600;
}
.download-app-boxes{
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.download-app-boxes-box{
    width: 14rem;
    height: 9rem;
    background-color: white;
    border: 1px solid var(--color-border);
    border-radius: 2rem;
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-direction: column;
    text-align: center;
    cursor: pointer;
    transition: transform 150ms ease-in-out 15ms;
}
.download-app-boxes-box__logo{
    width: 2rem;
    height: 2rem;
}
.download-app-boxes-box__name{
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--color-primary);
}
.download-app-boxes-box__subtitle{
    font-size: 0.8rem;
    color: var(--color-muted);
}
.download-app-boxes-box:hover{
    transform: translateY(-10px);
}
 
/* ================ FOOTER ================ */
.footer{
    width: 100%;
    margin-top: 8rem;
    background-color: var(--color-surface);
}

.footer-info{
    width: 100%;
    min-height: 22rem;
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    padding: 5rem 3.5rem;
    gap: 3rem;
}

.footer-info > div{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.footer-info h2{
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
}

.footer-info h3{
    font-size: 1rem;
    color: var(--color-primary);
}

.footer-info p,
.footer-info a{
    color: var(--color-muted);
    text-decoration: none;
    line-height: 2;
    transition: 150ms;
}
.footer-info-aboutus p{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.9rem;
    cursor: pointer;
}
.footer-info-aboutus p span{
    transition: all 150ms ease-in 15ms;
}
.footer-info-aboutus p:hover span{
    transform: scale(1.2);
}

.footer-info a:hover{
    color: var(--color-primary);
    transform: translateX(-10px);
}

.footer-info-nameofsite{
    width: 18rem;
}
.footer-info-nameofsite h2{
    font-size: 2rem;
    font-weight: 700;
}

.footer-info-quickaccess a{
    display: block;
}

.footer-info-etemad-boxes{
    display: flex;
    gap: 1rem;
}

.footer-info-etemad-box{
    width: 6rem;
    height: 6rem;
    border: 1px solid black;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-subtle);
    font-size: .8rem;
}

.footer__copyright{
    width: 100%;
    height: 4.5rem;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-muted);
    font-size: .9rem;
}

 
/* ================ RESPONSIVE ================ */
 
/* Tablet: 768px - 1024px */
@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
    .header__title {
        font-size: 2rem;
    }
    .header-items {
        gap: 1.2rem;
        font-size: 1rem;
    }
    .header__button__login {
        font-size: 1rem;
        padding: 0.65rem 1.2rem;
    }
    .main-big-img {
        height: 32rem;
    }
    .main-big-img h2 {
        font-size: 2.2rem;
    }
    .main-big-img p {
        width: 100%;
    }
    .features-carousel {
        height: auto;
    }
    .features-carousel-boxes {
        flex-wrap: wrap;
        justify-content: center;
    }
    .features-carousel-boxes-box {
        width: calc(50% - 1rem);
        height: auto;
    }
    .free-start {
        height: auto;
        margin-top: 4rem;
    }
    .free-start-box {
        padding: 2rem;
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        height: auto;
    }
    .free-start-box-text {
        width: 100%;
        align-items: center;
    }
    .free-start-box-text__title {
        font-size: 1.5rem;
    }
    .download-app {
        height: auto;
        margin-top: 3rem;
    }
    .download-app-container {
        height: auto;
        padding: 2rem;
    }
    .download-app-boxes {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }
    .download-app-boxes-box {
        width: calc(33% - 1rem);
        height: auto;
        min-height: 8rem;
    }

    /* Footer - Tablet */
    .footer-info {
        flex-wrap: wrap;
        padding: 3.5rem 2rem;
        gap: 2rem;
        justify-content: flex-start;
    }
    .footer-info-nameofsite {
        width: 100%;
    }
    .footer-info > div {
        min-width: calc(50% - 1rem);
        flex: 1 1 calc(50% - 1rem);
    }
    .footer-info h2 {
        font-size: 2rem;
    }
    .footer-info h3 {
        font-size: 1.2rem;
    }
}
 
/* Mobile: max 768px */
@media (max-width: 768px) {
    .container {
        padding: 0 1.2rem;
    }
    .header {
        height: auto;
        padding: 1.2rem 1.2rem;
        flex-wrap: wrap;
        gap: 1rem;
        position: relative;
    }
    .header__title {
        font-size: 1.8rem;
    }
    .header-items {
        visibility: hidden;
        opacity: 0;
        display: flex;
        position: fixed;
        flex-direction: column;
        align-items: flex-end;
        justify-content: flex-start;
        height: 100vh;
        width: 16rem;
        background-color: var(--color-primary);
        z-index: 10;
        top: 0;
        right: -16rem;
        padding: 2rem 1.5rem 0;
        transition: all 300ms ease-in-out;  
        gap: 0.5rem;
    }
    .header-items.open {
        visibility: visible;
        opacity: 1;
        right: 0;
    }
    .header__item {
        color: var(--color-light);
        width: 100%;
        font-size: 1.3rem;
        padding: 0.8rem 0;
        border-bottom: 1px solid #ffffff18;
    }
    .header__item:hover {
        color: white;
    }
    .header__item__select {
        color: white;
        border-bottom: 1px solid #ffffff18;
    }
    .header-sidebar{
        display: flex;
    }
    .header__button__login {
        font-size: 0.95rem;
        padding: 0.6rem 1.1rem;
    }
    .main-big-img {
        height: auto;
        min-height: 24rem;
        padding: 3rem 1.2rem;
        gap: 1.2rem;
        align-items: center;
    }
    .main-big-img h2 {
        font-size: 1.6rem;
    }
    .main-big-img p {
        width: 100%;
        font-size: 0.95rem;
        text-align: center;
    }
    .main-big-img-btns {
        gap: 1rem;
        padding-top: 0.5rem;
        width: 22rem;
        height: 4rem;
    }
    .main-big-img-btns button {
        width: 100%;
        text-align: center;
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }
    .features-carousel {
        padding: 2rem 0;
        gap: 1.2rem;
    }
    .features-carousel h2 {
        font-size: 1.5rem;
        margin-right: 1.2rem;
    }
    .features-carousel-boxes {
        flex-direction: column;
        padding: 0 1.2rem;
        align-items: stretch;
    }
    .features-carousel-boxes-box {
        width: 100%;
        height: auto;
        padding: 1.5rem;
    }
    .free-start {
        margin-top: 2rem;
    }
    .free-start-box {
        flex-direction: column;
        padding: 1.8rem;
        gap: 1.5rem;
        text-align: center;
        height: auto;
        border-radius: 1.5rem;
    }
    .free-start-box-text {
        width: 100%;
        align-items: center;
    }
    .free-start-box-text__title {
        font-size: 1.3rem;
    }
    .free-start-box-text__subtitle {
        font-size: 0.9rem;
    }
    .free-start-box-btn {
        width: 100%;
    }
    .download-app {
        margin-top: 2rem;
        height: auto;
    }
    .download-app-container {
        padding: 1.8rem 1.2rem;
        gap: 2rem;
        border-radius: 1.5rem;
    }
    .download-app-container__title {
        font-size: 1.5rem;
        text-align: center;
    }
    .download-app-boxes {
        flex-wrap: wrap;
        gap: 0.8rem;
        justify-content: center;
    }
    .download-app-boxes-box {
        width: calc(50% - 0.8rem);
        min-width: 8rem;
        height: auto;
        min-height: 7rem;
        padding: 1rem;
        border-radius: 1.5rem;
    }
    .download-app-boxes-box__name {
        font-size: 0.95rem;
    }

    /* Footer - Mobile */
    .footer {
        margin-top: 4rem;
    }
    .footer-info {
        /* flex-direction: column; */
        padding: 2.5rem 1.2rem;
        gap: 2rem;
        justify-content: center;
        align-items: flex-start;
        width: 100%;
    }
    .footer-info > div {
        width: 100%;
        min-width: unset;
        justify-content: center;
        align-items: center;
        gap: 0.2rem;
    }
    .footer-info-nameofsite {
        width: 100%;
        text-align: center;
    }
    .footer-info h2 {
        font-size: 1.8rem;
    }
    .footer-info h3 {
        font-size: 1.1rem;
    }
    .footer-info p,
    .footer-info a {
        font-size: 0.95rem;
    }
    .footer-info-etemad-boxes {
        gap: 0.8rem;
    }
    .footer-info-etemad-box {
        width: 5.5rem;
        height: 5.5rem;
    }
    .footer-info a:hover {
        transform: translateX(-5px);
    }
    .footer__copyright {
        font-size: 0.8rem;
        text-align: center;
        padding: 0 1.2rem;
        height: 4rem;
    }
}
@media (max-width: 448px){
    .footer-info{
        gap: 1.2rem;
        column-gap: 10rem;
    }

}
/* Small mobile: max 400px */
@media (max-width: 400px) {
    .download-app-boxes-box {
        gap: 0.8rem;
        width: 40%;
        height: 7rem;
    }
    .header__item{
        font-size: 1.2rem;
    }
    .main-big-img h2 {
        font-size: 1.4rem;
    }
    .main-big-img-btns{
        flex-direction: column;
        width: 80%;
    }

    /* Footer - Small mobile */
    .footer-info {
        padding: 2rem 1rem;
    }
    .footer-info h2 {
        font-size: 1.5rem;
    }
    .footer-info-nameofsite{
        width: 100%;
    }
    .footer-info-etemad-box {
        width: 4.5rem;
        height: 4.5rem;
        font-size: 0.7rem;
    }
}