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

:root {
    --purple-primary: #854E9E;
    --purple-dark-bg: #0F0010;
    --purple-card-bg: rgba(38, 2, 45, 0.8);
    --purple-glass-bg: rgba(59, 10, 82, 0.35); 
    --purple-button: #56007E;
    --white: #FFFFFF;
    --gray-text: #868383;
    --font-family: 'Nunito Sans', sans-serif;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    background-color: var(--purple-dark-bg);
    font-family: var(--font-family);
    color: var(--white);
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-container,
main {
    width: 100%;
    max-width: 192rem;
}

.header-container {
    padding: 2.5rem 6rem;
    position: relative; 
    z-index: 10;    
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
}

.logo img {
    height: 7rem;
    width: auto;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 4rem;
}

a.login-btn {
    display: inline-block; 
    text-decoration: none; 
    background-color: var(--purple-primary);
    color: var(--white);
    font-size: 1.6rem;
    font-weight: 700;
    padding: 1rem 4rem;
    border: none;
    border-radius: 0.8rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

a.login-btn:hover {
    background-color: #6a3e7e;
}

.hero-section {
    display: flex;
    align-items: center;
    margin: 0 auto;
    padding: 2rem 6rem;
    position: relative;
    min-height: 80vh;
}

.hero-content {
    width: 45%;
    max-width: 60rem;
    z-index: 2;
}

.hero-content h1 {
    font-size: 6.4rem;
    font-weight: 800;
    line-height: 1.2;
}

.hero-content .brand-title {
    font-size: 8rem;
    font-weight: 800;
    color: #56007E;
    margin-top: -1.5rem;
}

.hero-content p {
    font-size: 1.8rem;
    color: var(--gray-text);
    margin-top: 2.5rem;
    line-height: 1.6;
    font-weight: 300;
}

.explore-btn {
    display: inline-block; 
    margin-top: 4rem;      
    background-color: var(--purple-button);
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
    padding: 1.5rem 4rem;
    border: none;
    border-radius: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.explore-btn:hover {
    transform: scale(1.05);
}

.hero-image-container {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 55%;
    height: 100%;
    z-index: 1;
}

.main-acai-image {
    position: absolute;
    right: 4rem;
    top: 55%;
    transform: translateY(-50%);
    width: 100%;
    max-width: 70rem;
    filter: drop-shadow(0 0 20rem rgba(115, 44, 150, 0.5)) 
            drop-shadow(0 0 20rem rgba(115, 44, 150, 0.5));
}

.hero-image-container::after {
    content: '';
    position: absolute;
    bottom: 20%;
    left: 55%;
    transform: translateX(-50%);
    width: 80%;
    height: 10rem;
    background: radial-gradient(ellipse at center, rgba(133, 78, 158, 0.4) 0%, rgba(133, 78, 158, 0) 70%);
    filter: blur(60px);
    z-index: -1;
}

.testimonial-card {
    position: absolute;
    background: var(--purple-glass-bg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); 
    width: 28rem;
}

.testimonial-card .rating {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #FFD700;
}

.testimonial-card p {
    font-size: 1.4rem;
    line-height: 1.5;
    font-weight: 400;
}

.card-1 {
    top: -6%;
    left: 10%;
}

.card-2 {
    top: 30%;
    right: 0;
}

.card-3 {
    bottom: 10%;
    left: -2%;
}

.products-section {
    display: flex;
    justify-content: center;
    align-items: flex-start; 
    gap: 3rem;
    padding: 5rem 8rem;
    margin: 0 auto;
    margin-top: -4rem;
    position: relative;
    z-index: 3;
}

.product-card {
    background-color: var(--purple-card-bg);
    border-radius: 1.2rem;
    padding: 2rem;
    width: 100%;
    max-width: 30rem;
    text-align: left;
    border: 1px solid #35064B;
}

.product-card h3 { font-size: 2rem; font-weight: 700; margin-bottom: 1rem; }
.product-card p { font-size: 1.4rem; color: var(--gray-text); margin-bottom: 2rem; font-weight: 400; }
.product-card img { width: 100%; height: auto; border-radius: 0.8rem; margin-bottom: 2rem; }
.product-card .card-rating { font-size: 1.4rem; color: #FFD700; }
.product-card:nth-child(2),
.product-card:nth-child(4) {
    margin-top: 5rem;
}

@media (min-width: 1600px) {
    
    .hero-content {
        width: 50%;
        max-width: 70rem; 
    }

    .hero-content h1 { font-size: 8rem; }
    .hero-content .brand-title { font-size: 8.5rem; }
    .hero-content p { font-size: 2rem; }

    .main-acai-image {
        max-width: 80rem; 
        right: 6rem; 
    }

    .testimonial-card {
        width: 30rem; 
    }

    .card-1 {
        left: 0;
        top: -10%;
    }

    .card-2 {
        right: 5%;
    }

    .card-3 {
        left: -2%;
        bottom: 10%;
    }

    .products-section {
        gap: 8rem;
    }
}

@media (max-width: 1366px) {
    html {
        font-size: 57%; 
    }

    .header-container, .hero-section {
        padding-left: 4rem;
        padding-right: 4rem;
    }

    .main-acai-image {
        max-width: 65rem; 
        right: 6rem; 
    }

    .testimonial-card {
        width: 30rem; 
    }

    .card-1 {
        top: -2%;
        left: 10%;
    }

    .card-2 {
        top: 35%;
        right: 2%;
    }

    .card-3 {
        bottom: 10%;
        left: -5%;
    }

}