/* ---------- RESET ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Inter, system-ui, sans-serif;
}

html, body {
    overflow-x: hidden;
}

/* ---------- NAVIGATION ---------- */
.navigation {
    width: 100%;
    height: 8vh;
    background-color: #151924;
    border-bottom: 1px solid #504f4f9d;
    display: flex;
    justify-content: center;
    min-height: 60px;
}

.nav-inner {
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    color: #d6d7db;
    font-size: 1.3rem;
    font-weight: 500;
    position: relative;
    left: -7%;
}

.logo img {
    width: 100px;
    aspect-ratio: 1 / 0.7;
    margin-right: -20px;
}

.nav-actions button {
    height: 40px;
    border-radius: 8px;
    border: none;
    padding: 0 25px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Buttons */
.login {
    background: transparent;
    color: #d6d7db;
    transition: 0.15s;
}

.login:hover {
    cursor: pointer;
    opacity: 0.5;
}

.sign-up {
    margin-left: 30px;
    background-color: #1fa1ae;
    color: #f6f7f9;
}

/* ---------- BUTTON EFFECT ---------- */
.button-hover {
    transition: transform 0.15s, opacity 0.15s;
}

.button-hover:hover {
    opacity: 0.9;
    transform: scale(0.95);
    cursor: pointer;
}

/* ---------- HERO SECTION ---------- */
.first {
    width: 100%;
    min-height: 55vh;
    background: linear-gradient(to right top, #151924 50%, #19313d);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.big-text {
    color: #d6d7db;
    font-size: 4rem;
    font-weight: 700;
}

.big-text span {
    color: #1fa1ae;
    text-shadow: 0 0 20px #1fa1ae;
}

.small-text {
    width: 40%;
    margin: 20px 0 40px;
    font-size: 1.4rem;
    color: #505965;
}

.cta-buttons button {
    height: 40px;
    border-radius: 8px;
    border: none;
    padding: 0 25px;
    font-size: 0.9rem;
    font-weight: 500;
}

.start-free {
    background-color: #1fa1ae;
    color: #f6f7f9;
    margin-right: 10px;
    margin-bottom: 20px
}

.sign-in {
    background-color: #f6f7f9;
    color: #d7d8dc;
    margin-bottom: 20px;
}

/* ---------- FEATURES ---------- */
.second {
    min-height: 50vh;
    background-color: #f6f7f9;
    border-bottom: 1px solid #b3adad9d;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.question {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: #131720;
    text-align: center;
}

.answers {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 6vw;
    flex-wrap: wrap;
}

.card {
    width: 18vw;
    min-width: 220px;
    min-height: 16vh;
    background: #ffffff;
    border-radius: 15px;
    border: 1px solid #b3adad9d;
    padding: 30px;
    margin-bottom: 20px;
}

.card h3 {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.card p {
    color: #7b808d;
}

/* ---------- FOOTER ---------- */
footer {
    background-color: #f6f7f9;
    padding: 20px;
    text-align: center;
}

footer p {
    color: #8d929b;
    font-size: 0.9rem;
}

/* ---------- RESPONSIVE ---------- */
/* Small laptops 901px – 1200px */
@media (max-width: 1200px) {
    .big-text {
        font-size: 3.5rem;
    }
    
    .small-text {
        width: 50%;
        font-size: 1.3rem;
    }
    
    .card {
        width: 30%;
    }
}

/* Tablets 481px – 900px */
@media (max-width: 900px) {
    .big-text {
        font-size: 3rem;
    }
    
    .small-text {
        width: 70%;
        font-size: 1.2rem;
    }
    
    .card {
        width: 45%;
    }
}

/* Phones ≤480px */
@media (max-width: 480px) {
    .logo img {
        width: 80px;
        margin-right: -12px;
        }
    
        .logo {
            font-size: 1.1rem;

        }
    
        .nav-actions {
            display: flex;
            justify-content: center;
            align-items: center;
        }
    
        .sign-up {
            margin: 0 -15px;
        }
    
        .big-text {
            font-size: 2.5rem;
        }
    
        .small-text {
            width: 90%;
            font-size: 1rem;
        }
    
        .cta-buttons {
            flex-direction: column;
            gap: 10px;
        }
    
        .cta-buttons button {
            width: 100%;
            margin-right: 0;
        }
    
        .answers {
            gap: 4vw;
        }
    
        .card {
            width: 100%;
            padding: 20px;
        }
    }