:root {
    --black: #000000;
    --black-light: #2c2c2c;
    --gray: #414141;
    --orange: #f5a400;
    --orange-dark: #F5A40059;
    --orange-light: #ffcc55;
    --orange-light-2: #ffc23233;
    --purple: #4b1c7a;
    --purple-dark: #311553;
    --purple-dark-2: #0b0414;
    --purple-dark-3: #1f073b;
    --purple-light: #9b7bff;
    --white: #e9e6f2;
    --white-dark: #c0c0c0;
    --white-dark-2: #9b9b9b;
}

* {
    box-sizing: border-box;
    font-family: system-ui;
    margin: 0;
    padding: 0;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    background:
        radial-gradient(circle at top, rgba(75, 28, 122, 0.85), rgba(11, 4, 20, 0.95)),
        url("../images/background.png");

    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;

    color: var(--white);
    min-height: 100vh;
}

.hero {
    position: relative;
    min-height: 100vh;
    padding: 80px 24px 140px;
    text-align: center;

    display: flex;
    flex-direction: column;
    justify-content: center;

    background-image:
        linear-gradient(
            to bottom,
            rgba(11, 4, 20, 0.55),
            rgba(11, 4, 20, 0.85)
        ),
        url("../images/background.png");

    background-size: cover;
    background-position: center 20%;
    background-repeat: no-repeat;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;

    background: linear-gradient(
        to bottom,
        rgba(11, 4, 20, 0),
        var(--purple-dark-3)
    );
}

.hero h1 {
    background: linear-gradient(90deg, var(--orange) 35%, var(--purple-light), var(--white) 70%);
    background-clip: text;
    color: transparent;
    filter:
        drop-shadow(0 4px 8px var(--black-light)) drop-shadow(0 10px 20px var(--black-light));
    font-size: clamp(5.0rem, 4vw, 3.6rem);
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 24px;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.3rem;
    max-width: 760px;
    margin: 0 auto 48px;
    opacity: 0.9;
}

.hero img {
    position: absolute;
    align-self: center;
}

.hero .highlights {
    align-self: center;
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    justify-content: center;
    margin-bottom: 48px;
}

.hero .highlights p {
    align-items: center;
    background: linear-gradient(135deg, var(--purple), var(--purple-dark));
    border-radius: 999px;
    box-shadow: 0 10px 25px var(--black);
    display: flex;
    font-size: 1.5rem;
    gap: 8px;
    padding: 20px 28px;
}

.hero button {
    align-items: center;
    align-self: center;
    background: var(--orange);
    border-radius: 14px;
    box-shadow: 0 20px 40px var(--orange-dark);
    color: var(--black);
    cursor: pointer;
    display: flex;
    font-size: 1.5rem;
    font-weight: 600;
    gap: 5px;
    padding: 25px 45px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero button:hover {
    box-shadow: 0 25px 50px var(--orange-dark);
    transform: translateY(-2px);
}

.hero button .icon {
    font-size: 28px;
}

.hero .scroll-indicator {
    align-self: center;
    animation: bounce 1.5s infinite;
    bottom: 24px;
    font-size: 1.2rem;
    opacity: 0.6;
    position: absolute;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }
}

.container {
    background: linear-gradient(180deg, var(--purple-dark-3), var(--purple-dark-2));
    border-radius: 48px;
    box-shadow: 0 30px 80px var(--black);
    display: flex;
    flex-direction: column;
    gap: 80px;
    justify-self: center;
    margin-top: 7%;
    max-width: 1500px;
    padding: 80px 40px;
    position: relative;
    width: 100%;
}

.container::before {
    border: 4px solid var(--white-dark);
    border-radius: 48px;
    content: '';
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.container h2 {
    background: linear-gradient(90deg, var(--white-dark-2), var(--white));
    background-clip: text;
    color: transparent;
    font-size: clamp(5.0rem, 4vw, 3.4rem);
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 72px;
    text-align: center;
}

.how-it-works .steps {
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(3, 1fr);
}

.how-it-works .step {
    position: relative;
}

.how-it-works .step .step-number {
    align-items: center;
    background: linear-gradient(135deg, var(--orange-light), var(--orange));
    border-radius: 14px;
    box-shadow: 0 10px 25px var(--orange-dark);
    color: var(--purple-dark-2);
    display: flex;
    font-size: 1.1rem;
    font-weight: 700;
    height: 56px;
    justify-content: center;
    left: 32px;
    position: absolute;
    top: -28px;
    width: 56px;
}

.how-it-works .step .step-card {
    background: linear-gradient(180deg, var(--purple), var(--purple-dark));
    border-radius: 24px;
    box-shadow: 0 20px 50px var(--black);
    height: 100%;
    padding: 48px 32px 40px;
}

.how-it-works .step .step-card h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.how-it-works .step .step-card p {
    font-size: 1.0rem;
    line-height: 1.6;
    opacity: 0.85;
}

.why-join .cards {
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(2, 1fr);
}

.why-join .card {
    background: linear-gradient(180deg, var(--purple), var(--purple-dark));
    border-radius: 28px;
    padding: 40px 36px;
    box-shadow: 0 25px 60px var(--black);
}

.why-join .card h3 {
    color: var(--orange);
    font-size: 1.8rem;
    margin-bottom: 14px;
}

.why-join .card p {
    font-size: 1.0rem;
    line-height: 1.6;
    opacity: 0.9;
}

.testimonials .cards {
    display: grid;
    gap: 32px;
    grid-template-columns: repeat(3, 1fr);
}

.testimonials .card {
    background: linear-gradient(180deg, var(--purple), var(--purple-dark));
    border-radius: 28px;
    box-shadow: 0 25px 60px var(--black);
    padding: 40px 36px;
}

.testimonials .card .user {
    display: block;
    color: var(--orange);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.testimonials .card small {
    display: block;
    font-size: 1.0rem;
    margin-bottom: 16px;
    opacity: 0.7;
}

.testimonials .card p {
    font-size: 1.3rem;
    line-height: 1.6;
    text-align: center;
}

.benefits .cards {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(2, 1fr);
}

.benefits .card {
    background: linear-gradient(180deg, var(--purple), var(--purple-dark));
    border-radius: 999px;
    box-shadow: inset 0 0 0 1px var(--black);
    color: var(--orange);
    font-size: 1.8rem;
    font-weight: 600;
    padding: 18px 28px;
    text-align: center;
}

.benefits .observation {
    color: var(--white-dark);
    font-size: 1.0rem;
    line-height: 1.6;
    margin-top: 32px;
    text-align: center;
}

.start-earning {
    align-self: center;
    background: linear-gradient(180deg, var(--purple), var(--purple-dark));
    border-radius: 40px;
    padding: 30px;
    width: 90%;
}

.start-earning h2 {
    margin-bottom: 20px;
}

.start-earning button {
    align-items: center;
    align-self: center;
    background: var(--orange);
    border-radius: 14px;
    box-shadow: 0 20px 40px var(--orange-dark);
    color: var(--black);
    cursor: pointer;
    display: flex;
    font-size: 1.5rem;
    font-weight: 600;
    gap: 5px;
    justify-self: center;
    padding: 25px 45px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.start-earning button:hover {
    box-shadow: 0 25px 50px var(--orange-dark);
    transform: translateY(-2px);
}

.start-earning button .icon {
    font-size: 28px;
}

.faq .faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: auto;
    width: 70%;
}

.faq .faq-item {
    background: linear-gradient(180deg, var(--purple-dark), var(--purple-dark-3));
    border-radius: 50px;
    overflow: hidden;
}

.faq .faq-question {
    align-items: center;
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    display: flex;
    font-size: 1.5rem;
    justify-content: space-between;
    padding: 22px 28px;
    text-align: left;
    width: 100%;
}

.faq .faq-icon {
    border-right: 3px solid var(--orange);
    border-bottom: 3px solid var(--orange);
    height: 1rem;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    width: 1rem;
}

.faq .faq-item.active .faq-icon {
    transform: rotate(-135deg);
}

.faq .faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 28px;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq .faq-answer p {
    color: var(--white-dark);
    font-size: 1rem;
    line-height: 1.6;
}

.faq .faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 28px 22px;
}

footer {
    background: radial-gradient(circle at top, var(--purple-dark), var(--purple-dark-2));
    color: var(--white);
    margin-top: 120px;
    padding: 60px 20px 30px;
}

footer .top {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    margin: 0 auto 40px;
    max-width: 1200px;
}

footer .top .footer-brand {
    max-width: 420px;
}

footer .top .brand {
    align-items: center;
    display: flex;
    font-size: 18px;
    font-weight: 700;
    gap: 10px;
    margin-bottom: 14px;
}

footer .top .brand .brand-icon {
    align-items: center;
    background: linear-gradient(135deg, var(--white-dark), var(--white-dark-2));
    border-radius: 10px;
    display: flex;
    height: 36px;
    justify-content: center;
    width: 36px;
}

footer .top .brand .brand-icon img {
    width: 80%;
}

footer .top .footer-brand p {
    color: var(--white-dark);
    font-size: 14px;
    line-height: 1.6;
}

footer .footer-links {
    min-width: 180px;
}

footer .footer-links h4 {
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 14px;
}

footer .footer-links ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

footer .footer-links li {
    margin-bottom: 10px;
}

footer .footer-links a {
    color: var(--white-dark-2);
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease;
}

footer .footer-links a:hover {
    color: var(--orange);
}

footer .top .footer-cta h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 14px;
}

footer .top .footer-button {
    align-items: center;
    background: var(--orange);
    border-radius: 14px;
    box-shadow: 0 20px 40px var(--orange-dark);
    color: var(--black);
    cursor: pointer;
    display: inline-flex;
    font-weight: 700;
    gap: 10px;
    padding: 14px 22px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

footer .top .footer-button:hover {
    box-shadow: 0 25px 50px var(--orange-dark);
    transform: translateY(-2px);
}

footer .bottom {
    border-top: 1px solid var(--gray);
    margin: 0 auto;
    max-width: 1200px;
    padding-top: 20px;
    text-align: center;
}

footer .bottom .legal {
    color: var(--white-dark);
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 12px;
}

footer .bottom .copyright {
    color: var(--white-dark);
    font-size: 13px;
}

@media (max-width: 768px) {
    footer .top {
        flex-direction: column;
        text-align: center;
    }

    footer .footer-cta {
        text-align: center;
    }
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 0, 20, 0.7);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-overlay.active {
    display: flex;
}

.modal-overlay .modal {
    animation: modalIn 0.3s ease;
    background: linear-gradient(90deg, var(--purple-dark), var(--purple-dark-3));
    border-radius: 20px;
    box-shadow: 0 40px 80px var(--black);
    color: var(--white);
    max-width: 420px;
    padding: 36px 32px;
    position: relative;
    width: 100%;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.modal-overlay .close-modal,
.modal-overlay .close-policy,
.modal-overlay .close-terms {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    font-size: 20px;
    position: absolute;
    right: 14px;
    top: 14px;
}

.modal-overlay .modal-icon {
    align-items: center;
    background: linear-gradient(135deg, var(--white-dark), var(--white-dark-2));
    border-radius: 14px;
    display: flex;
    font-size: 22px;
    height: 52px;
    justify-content: center;
    margin: 0 auto 18px;
    width: 52px;
}

.modal-overlay .modal-icon img {
    width: 80%;
}

.modal-overlay .modal h2 {
    color: var(--orange);
    margin-bottom: 8px;
    text-align: center;
}

.modal-overlay .modal-subtitle {
    color: var(--white-dark);
    font-size: 14px;
    margin-bottom: 26px;
    text-align: center;
}

.modal-overlay .modal-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.modal-overlay .modal-form label {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: bolder;
}

.modal-overlay .input-group {
    align-items: center;
    background: var(--purple-dark-3);
    border: 1px solid var(--purple);
    border-radius: 12px;
    display: flex;
    margin-top: 1.5%;
    padding: 0 10px;
}

.modal-overlay .input-group .material-symbols-outlined {
    color: var(--orange);
    flex-shrink: 0;
    font-size: 20px;
}

.modal-overlay .input-group input::placeholder {
    color: var(--white-dark);
}

.modal-overlay .input-group:focus-within {
    box-shadow: 0 0 0 1px var(--orange);
}

.modal-overlay .modal-form input {
    background: var(--purple-dark-3);
    border: none;
    border-radius: 12px;
    box-shadow: none;
    color: var(--white);
    outline: none;
    padding: 12px 14px;
    width: 100%;
}

.modal-overlay label:nth-of-type(4) .input-group,
.modal-overlay label:nth-of-type(5) .input-group {
    padding: 0;
}

.modal-overlay .input-group .custom-select {
    position: relative;
    width: 100%;
}

.modal-overlay .input-group .select-trigger {
    align-items: center;
    background: transparent;
    border: none;
    color: var(--white);
    cursor: pointer;
    display: flex;
    gap: 10px;
    padding: 14px;
    width: 100%;
}

.modal-overlay .input-group .select-options {
    background: linear-gradient(180deg, var(--purple-dark), var(--purple-dark-3));
    border: 1px solid var(--black-light);
    border-radius: 14px;
    display: none;
    left: 0;
    list-style: none;
    padding: 8px;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 50;
}

.modal-overlay .input-group .select-options li {
    border-radius: 10px;
    cursor: pointer;
    padding: 12px;
    transition: background 0.2s;
}

.modal-overlay .input-group .select-options li:hover {
    background: var(--orange-light-2);
}

.modal-overlay .input-group .custom-select.open .select-options {
    display: block;
}

.modal-overlay .input-group .arrow {
    margin-left: auto;
    transition: transform 0.3s;
}

.modal-overlay .input-group .custom-select.open .arrow {
    transform: rotate(180deg);
}

.modal-overlay .modal-submit {
    align-items: center;
    background: var(--orange);
    border: none;
    border-radius: 14px;
    box-shadow: 0 15px 30px var(--orange-dark);
    cursor: pointer;
    display: flex;
    font-weight: 700;
    gap: 5px;
    justify-content: center;
    margin-top: 10px;
    padding: 14px;
}

.modal-overlay .modal-submit:hover {
    box-shadow: 0 25px 35px var(--orange-dark);
    transform: translateY(-2px);
}

.modal-overlay .modal-terms {
    color: var(--white-dark);
    display: block;
    font-size: 12px;
    margin-top: 14px;
    text-align: center;
}

.modal-overlay .modal-terms a:hover {
    text-decoration: underline;
}

.modal-overlay .privacy-policy-modal {
    max-height: 85vh;
    overflow-y: auto;
}

.modal-overlay .policy-updated {
    color: var(--white-dark);
    font-size: 13px;
    margin-bottom: 20px;
    text-align: center;
}

.modal-overlay .policy-content {
    color: var(--white-dark);
    font-size: 14px;
    line-height: 1.7;
    text-align: left;
}

.modal-overlay .policy-content h3 {
    color: var(--orange);
    font-size: 16px;
    margin-bottom: 8px;
    margin-top: 26px;
}

.modal-overlay .policy-content h4 {
    color: var(--white);
    font-size: 14px;
    margin-bottom: 6px;
    margin-top: 18px;
}

.modal-overlay .policy-content ul {
    margin-bottom: 14px;
    padding-left: 20px;
}

.modal-overlay .policy-content li {
    margin-bottom: 6px;
}

.modal-overlay .terms-modal {
    max-height: 85vh;
    overflow-y: auto;
}

.modal-overlay .terms-updated {
    color: var(--white-dark);
    font-size: 13px;
    margin-bottom: 20px;
    text-align: center;
}

.modal-overlay .terms-content {
    color: var(--white-dark);
    font-size: 14px;
    line-height: 1.7;
    text-align: left;
}

.modal-overlay .terms-content h3 {
    color: var(--orange);
    font-size: 16px;
    margin-bottom: 8px;
    margin-top: 26px;
}

.modal-overlay .terms-content ul {
    margin-bottom: 14px;
    padding-left: 20px;
}

.modal-overlay .terms-content li {
    margin-bottom: 6px;
}

.modal-overlay .terms-list-block {
    list-style: none;
    margin: 12px 0 18px;
    padding-left: 0;
}

.modal-overlay .terms-list-block li {
    font-weight: 500;
    margin-bottom: 6px;
}

@media (max-width: 768px) {

    /* ===== GERAL ===== */
    body {
        font-size: 14px;
    }

    h2 {
        font-size: 2.2rem !important;
        margin-bottom: 40px !important;
    }

    .remove-mobile {
        display: none;
    }

    /* ===== HERO ===== */
    .hero {
        padding: 60px 20px 100px;
        background-size: cover;
    }

    .hero h1 {
        font-size: 2.4rem;
        line-height: 1.25;
    }

    .hero p {
        font-size: 1rem;
        margin-bottom: 32px;
    }

    .hero .highlights {
        gap: 16px;
    }

    .hero .highlights p {
        font-size: 1rem;
        padding: 14px 20px;
    }

    .hero button {
        width: 100%;
        justify-content: center;
        font-size: 1.1rem;
        padding: 18px;
    }

    .hero .scroll-indicator {
        display: none;
    }

    /* ===== CONTAINER ===== */
    .container {
        margin-top: 0;
        padding: 60px 20px;
        border-radius: 32px;
    }

    .container::before {
        border-radius: 32px;
    }

    /* Remove imagens decorativas no mobile (evita scroll lateral) */
    .container img {
        display: none;
    }

    /* ===== COMO FUNCIONA ===== */
    .how-it-works .steps {
        grid-template-columns: 1fr;
    }

    .how-it-works .step .step-number {
        left: 20px;
    }

    .how-it-works .step .step-card {
        padding: 44px 24px 32px;
    }

    .how-it-works .step .step-card h3 {
        font-size: 1.4rem;
    }

    /* ===== POR QUE ENTRAR ===== */
    .why-join .cards {
        grid-template-columns: 1fr;
    }

    .why-join .card {
        padding: 32px 24px;
    }

    .why-join .card h3 {
        font-size: 1.4rem;
    }

    /* ===== DEPOIMENTOS ===== */
    .testimonials .cards {
        grid-template-columns: 1fr;
    }

    .testimonials .card p {
        font-size: 1.05rem;
    }

    /* ===== BENEFÍCIOS ===== */
    .benefits .cards {
        grid-template-columns: 1fr;
    }

    .benefits .card {
        font-size: 1.2rem;
        padding: 16px 20px;
    }

    /* ===== CTA FINAL ===== */
    .start-earning {
        width: 100%;
        padding: 24px;
        border-radius: 28px;
    }

    .start-earning button {
        width: 100%;
        justify-content: center;
        font-size: 1.1rem;
        padding: 18px;
    }

    /* ===== FAQ ===== */
    .faq .faq-list {
        width: 100%;
    }

    .faq .faq-question {
        font-size: 1.1rem;
        padding: 18px 20px;
    }

    /* ===== MODAL ===== */
    .modal-overlay .modal {
        max-width: 95%;
        padding: 28px 22px;
    }

    .modal-overlay .modal h2 {
        font-size: 1.5rem;
    }

    .modal-overlay .modal-submit {
        font-size: 1rem;
        padding: 14px;
    }

    /* ===== FOOTER ===== */
    footer {
        margin-top: 80px;
    }

    footer .top {
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }

    footer .footer-brand {
        justify-items: center;
    }

    footer .footer-links,
    footer .footer-cta {
        width: 100%;
    }

    footer .top .footer-button {
        width: 100%;
        justify-content: center;
    }
}

@media (min-width: 1024px) {
    .hero {
        background-attachment: fixed;
    }
}