/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    scroll-behavior: smooth;
}

:root {
    --primary-color: #6A0DAD;
    --secondary-color: #9B51E0;
    --light-purple: #E8D5FF;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --dark-text: #333333;
    --accent: #FFD700;
    --roxo-escuro: #4f0782;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    background-color: var(--white);

}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

h1,
h2,
h3,
h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 48%;
    /* border: 1px solid; */
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.logo-icon {
    font-size: 1.8rem;
}

.sing-in {
    color: var(--primary-color);
    font-weight: 600;
}

.sing-up {
    color: var(--white);
    background: var(--roxo-escuro);
    padding: 10px;
    border-radius: 16px;
    font-weight: 600;
}


/* Hero Section */
.hero {
    min-height: 100vh;
    background: url('https://images.unsplash.com/photo-1506929562872-bb421503ef21?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
    position: relative;
    margin-top: 70px;
    /* Para compensar o header fixo */
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(106, 13, 173, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 700px;
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn-primary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--accent);
    color: var(--dark-text);
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #e6c300;
}


.down {
    position: absolute;
    text-align: center;
    top: 80%;
    left: 50%;
    background-color: #6A0DAD;
    width: 50px;
    height: 50px;
    color: #fff;
    font-size: 30px;
    border-radius: 100%;
    box-shadow: 2px 2px 4px 2px #ffffff80;
}


/* Features Section */
.features {
    display: flex;
    align-items: center;
    padding: 4rem 0;
    background-color: var(--light-gray);
    min-height: 100vh;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    font-size: 2rem;
}

.section-paragraph {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}



.achievements {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.achievement {
    text-align: center;
    opacity: 1;
    transition: opacity 0.3s;
}

.achievement.locked {
    opacity: 0.5;
}

.achievement-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.create-accont {
    background: #4f0782;
    background: linear-gradient(90deg, rgba(79, 7, 130, 1) 6%, rgba(128, 0, 130, 1) 82%);
    color: #F5F5F5;
    height: 55vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.create-accont h1 {
    font-size: 2.2rem;
    margin-top: 3%;
    text-align: center;
}

.create-accont h3 {
    font-weight: 500;
    margin-top: 1%;
    text-align: center;
}

.create-accont button {
    border: none;
    padding: 15px 30px;
    background-color: #F5F5F5;
    border-radius: 8px;
    margin-top: 5%;
    transition: .2s;
}

.create-accont button:hover {
    transform: scale(1.07);
}

.create-accont a {
    color: #5a0b95;
    font-size: 1.3rem;
    text-decoration: none;
    font-weight: 530;
}

/* Footer */
.main-footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.footer-logo h2 {
    color: var(--white);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.link-group h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.link-group ul {
    list-style: none;
}

.link-group a {
    color: var(--light-purple);
    text-decoration: none;
    transition: color 0.3s;
}

.link-group a:hover {
    color: var(--white);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-social a {
    color: var(--white);
    font-size: 1.5rem;
    transition: color 0.3s;
}

.footer-social a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding: 1rem 0;
    /* background-color: rgba(0, 0, 0, 0.1); */
    background-color: #470c71;
    font-size: 0.9rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .main-nav ul {
        gap: 1rem;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {

    .hero-content {
        text-align: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}