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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #070b18;
    color: #ffffff;
    line-height: 1.6;
}


/* NAVBAR */

header {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    background: rgba(7,11,24,0.9);
}

.navbar {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 22px;
    font-weight: bold;
    color: #8b5cf6;
}

.menu {
    display: flex;
    gap: 30px;
}

.menu a {
    color: #cbd5e1;
    text-decoration: none;
    transition: 0.3s;
}

.menu a:hover {
    color: #8b5cf6;
}


/* HERO */

.hero {
    min-height: 650px;
    max-width: 1200px;
    margin: auto;
    padding: 80px 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-content {
    max-width: 650px;
}

.tag,
.section-title span,
.about span {
    color: #22d3ee;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
}

.hero h1 {
    margin-top: 20px;
    font-size: clamp(45px, 7vw, 80px);
    line-height: 1.05;
}

.hero h1 span {
    display: block;
    color: #8b5cf6;
}

.hero p {
    margin-top: 25px;
    color: #94a3b8;
    font-size: 19px;
    max-width: 600px;
}

.robot {
    width: 300px;
    height: 300px;

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 150px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(139,92,246,0.4),
            rgba(34,211,238,0.05)
        );

    box-shadow:
        0 0 80px rgba(139,92,246,0.25);
}


/* BUTTONS */

.primary-button {
    margin-top: 30px;
    padding: 15px 25px;

    border: none;
    border-radius: 10px;

    background: linear-gradient(
        135deg,
        #7c3aed,
        #06b6d4
    );

    color: white;
    font-size: 16px;
    font-weight: bold;

    cursor: pointer;

    transition: 0.3s;
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(124,58,237,0.3);
}


/* MISSÕES */

.mission-section {
    max-width: 900px;
    margin: auto;
    padding: 100px 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 45px;
}

.section-title h2 {
    font-size: 42px;
    margin: 10px 0;
}

.section-title p {
    color: #94a3b8;
}


/* PROGRESSO */

.progress-area {
    margin-bottom: 30px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    color: #94a3b8;
    margin-bottom: 8px;
}

.progress-bar {
    width: 100%;
    height: 10px;

    background: #1e293b;
    border-radius: 20px;
    overflow: hidden;
}

#progress {
    width: 0%;
    height: 100%;

    background: linear-gradient(
        90deg,
        #7c3aed,
        #06b6d4
    );

    transition: width 0.5s;
}


/* CARD */

.mission-card {
    display: none;

    padding: 35px;

    background: #111827;

    border: 1px solid #1e293b;

    border-radius: 20px;

    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

.mission-card.active {
    display: block;
}

.mission-number {
    color: #22d3ee;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
}

.mission-card h3 {
    font-size: 28px;
    margin: 12px 0;
}

.mission-card p {
    color: #94a3b8;
    margin-bottom: 25px;
}


/* RESPOSTAS */

.answers {
    display: grid;
    gap: 12px;
}

.answers button {
    padding: 16px;

    border: 1px solid #334155;
    border-radius: 10px;

    background: #1e293b;
    color: white;

    text-align: left;
    font-size: 15px;

    cursor: pointer;

    transition: 0.2s;
}

.answers button:hover:not(:disabled) {
    border-color: #8b5cf6;
    background: #252f46;
    transform: translateX(5px);
}

.answers button:disabled {
    cursor: not-allowed;
}


/* FEEDBACK */

.feedback {
    display: none;

    margin-top: 20px;
    padding: 15px;

    border-radius: 10px;
}

.feedback.correct {
    display: block;
    color: #86efac;
    background: rgba(34,197,94,0.1);
    border: 1px solid #22c55e;
}

.feedback.wrong {
    display: block;
    color: #fca5a5;
    background: rgba(239,68,68,0.1);
    border: 1px solid #ef4444;
}


/* NEXT */

.next-button {
    display: none;

    width: 100%;

    margin-top: 20px;
    padding: 14px;

    border: none;
    border-radius: 10px;

    background: #7c3aed;
    color: white;

    font-weight: bold;
    font-size: 16px;

    cursor: pointer;
}

.next-button:hover {
    background: #6d28d9;
}


/* RESULTADO */

.result-card {
    display: none;

    text-align: center;

    padding: 60px 30px;

    background: #111827;

    border-radius: 20px;

    border: 1px solid #334155;
}

.trophy {
    font-size: 70px;
}

.result-card h2 {
    font-size: 35px;
    margin: 15px 0;
}

#score {
    margin: 20px 0;

    font-size: 50px;
    font-weight: bold;

    color: #22d3ee;
}

#resultMessage {
    color: #94a3b8;
}


/* SOBRE */

.about {
    text-align: center;
    max-width: 700px;
    margin: auto;
    padding: 100px 20px;
}

.about h2 {
    font-size: 40px;
    margin: 15px 0;
}

.about p {
    color: #94a3b8;
}


/* FOOTER */

footer {
    padding: 30px;
    text-align: center;

    border-top: 1px solid #1e293b;

    color: #64748b;
}


/* RESPONSIVO */

@media (max-width: 700px) {

    .menu {
        display: none;
    }

    .hero {
        text-align: center;
        flex-direction: column;
    }

    .hero h1 {
        font-size: 48px;
    }

    .robot {
        width: 200px;
        height: 200px;
        font-size: 100px;
    }

    .mission-card {
        padding: 25px 18px;
    }

    .section-title h2 {
        font-size: 32px;
    }
}
