:root {
    --bg-dark: #05080f;
    --bg-gradient: radial-gradient(circle at top, #0d1526 0%, #05080f 100%);
    --bg-card: rgba(16, 22, 35, 0.8);
    --primary: #00ffcc;
    --primary-glow: rgba(0, 255, 204, 0.3);
    --secondary: #e6ff00;
    --secondary-glow: rgba(230, 255, 0, 0.3);
    --accent: #ff3b3b;
    --text-white: #ffffff;
    --text-muted: #a0aec0;
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

.step-highlight {
    color: var(--text-muted);
    font-weight: 500;
    text-transform: none;
    font-size: 0.75rem;
    display: block;
    margin-top: 10px;
}

.step-highlight b {
    color: var(--text-white);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

#passos {
    scroll-margin-top: 140px;
}

body {
    background: var(--bg-dark);
    background-image: var(--bg-gradient);
    color: var(--text-white);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    max-width: 480px;
    /* Constrains layout to mobile width */
    margin: 0 auto;
    /* Centers the app in desktop */
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    /* Depth effect for desktop screen */
    position: relative;
}

/* Banner */
.top-banner {
    background-color: #000000;
    color: #ffffff;
    text-align: center;
    padding: 8px 10px;
    font-weight: 900;
    position: sticky;
    top: 0;
    z-index: 1000;
    max-width: 480px;
    margin: 0 auto;
    left: 0;
    right: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    font-family: var(--font-main);
}

#timer {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 5px;
    color: var(--primary);
    /* Mantendo um destaque no timer */
}

/* Hero Banner Section */
.hero-banner {
    width: 100%;
    min-height: 550px;
    background: linear-gradient(0deg, var(--bg-dark) 0%, rgba(5, 8, 15, 0.4) 30%, transparent 60%),
        url('fundo.png');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    /* Texto mais para baixo para não cobrir o rosto */
    padding-bottom: 50px;
    border-bottom: 2px solid var(--primary);
    position: relative;
    overflow: hidden;
}

/* Light Flares Effect */
.light-flares {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.light-flares::before,
.light-flares::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.12;
    /* Bem leve como solicitado */
    animation: float-flare 5s infinite alternate ease-in-out;
}

.light-flares::before {
    background: #0066ff;
    /* Azul Profundo */
    top: -100px;
    left: -100px;
}

.light-flares::after {
    background: #9900ff;
    /* Roxo Profundo */
    bottom: -100px;
    right: -100px;
    animation-delay: -3s;
}

/* Removido Orange Flare conforme solicitado */
.orange-flare {
    display: none;
}

@keyframes flare-pulse {

    0%,
    100% {
        opacity: 0;
        transform: scale(0.8);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.2);
    }
}

/* Camera Glitch Effect (Sutil) */
.glitch-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
}

.glitch-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.02);
    opacity: 0;
    animation: glitch-anim 5s infinite;
}

@keyframes glitch-anim {

    0%,
    90%,
    100% {
        opacity: 0;
        transform: translate(0) scale(1);
        filter: contrast(1);
    }

    92% {
        opacity: 0.2;
        transform: translate(4px, -2px) skewX(5deg);
        filter: contrast(1.5) hue-rotate(90deg);
    }

    94% {
        opacity: 0.1;
        transform: translate(-4px, 2px) skewX(-5deg);
        filter: sepia(0.5);
    }

    96% {
        opacity: 0.3;
        transform: translate(2px, -4px) scale(1.02);
        filter: brightness(1.2);
    }

    98% {
        opacity: 0.1;
        transform: translate(-1px, 4px) skewX(2deg);
    }
}

.hero-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, var(--bg-dark), transparent);
}

.hero-logo {
    max-width: 380px;
    /* Reduzido de 450px para 380px */
    height: auto;
    margin-bottom: -60px;
    /* Ajustado para acompanhar o tamanho menor */
    display: inline-block;
}

.hero-content {
    text-align: center;
    z-index: 10;
    max-width: 800px;
    padding: 0 20px;
}

.hero-banner h1 {
    font-size: 1.8rem;
    line-height: 1.1;
    margin-bottom: 0;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1px;
    text-shadow: 0 0 20px rgba(0, 0, 0, 1), 0 0 40px rgba(0, 255, 204, 0.5);
}

/* Desktop Adjustments Neutralized */
@media (min-width: 9999px) {
    .hero-logo {
        max-width: 650px;
        /* Reduzido de 800px para 650px */
        margin-bottom: -160px;
        /* Ajustado proporcionalmente */
    }

    .hero-banner {
        min-height: 800px;
        /* Mais alto no desktop para mostrar mais da imagem */
        background-attachment: fixed;
        /* Efeito parallax suave */
        background-position: center top;
        justify-content: flex-end;
        /* Desloca para baixo igual ao mobile */
        padding-bottom: 80px;
    }

    .hero-banner h1 {
        font-size: 3.5rem;
        /* Reduzido de 5rem para 3.5rem */
    }

    .hero-content {
        max-width: 1000px;
    }
}

.footer-logo {
    text-align: center;

}

.footer-logo img {
    max-width: 200px;
    /* Reduzido de 150px para 80px */
    opacity: 0.3;
    filter: grayscale(1);
    transition: all 0.3s ease;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
    position: relative;
    z-index: 5;
}

/* Typography */
h1 {
    font-size: 2.1rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 900;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
}

.highlight-primary {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary-glow);
    letter-spacing: normal;
}

.highlight-secondary {
    color: var(--secondary);
    text-shadow: 0 0 10px var(--secondary-glow);
}

h2 {
    font-size: 1.35rem;
    margin-bottom: 30px;
    font-weight: 600;
}

/* Intro Box */
.intro-box {
    margin-bottom: 40px;
}

.intro-text {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 10px;
}

.intro-subtext {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
}

/* Premium Step Cards */
.step-card-premium {
    background: linear-gradient(145deg, rgba(16, 22, 35, 0.9) 0%, rgba(5, 8, 15, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 40px 30px;
    margin-bottom: 35px;
    position: relative;
    text-align: left;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    overflow: hidden;
}

.step-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
}

.step-card-premium:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 204, 0.3);
    box-shadow: 0 25px 50px rgba(0, 255, 204, 0.1);
}

.guarantee-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #00ffcc;
    color: rgb(0, 0, 0);
    padding: 6px 25px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 900;
    box-shadow: 0 0 20px #006b56;
    letter-spacing: 1px;
    animation: badge-glow 2s infinite alternate ease-in-out;
}

@keyframes badge-glow {
    from {
        box-shadow: 0 0 10px #009e7e;
        transform: translateX(-50%) scale(1);
    }

    to {
        box-shadow: 0 0 25px #00ffcc;
        transform: translateX(-50%) scale(1.05);
    }
}

.step-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.step-badge {
    background: rgba(0, 255, 204, 0.1);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 900;
    border: 1px solid rgba(0, 255, 204, 0.2);
    white-space: nowrap;
    transform: translateY(-10px);
}

.step-badge.secundario {
    background: rgba(230, 255, 0, 0.1);
    color: var(--secondary);
    border-color: rgba(230, 255, 0, 0.2);
}

.step-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-white);
    margin: 0;
}

.step-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.6;
}

.promo-badge-box {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    background: rgba(255, 255, 255, 0.03);
    padding: 12px;
    border-radius: 8px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    justify-content: center;
}

.price-old {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 500;
}

.price-new {
    color: var(--secondary);
    font-size: 1.15rem;
    font-weight: 900;
    text-shadow: 0 0 15px var(--secondary-glow);
}

.promo-tag {
    background: var(--accent);
    color: white;
    font-size: 0.65rem;
    font-weight: 900;
    padding: 3px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    animation: flash 1s infinite alternate;
}

@keyframes flash {
    from {
        opacity: 0.6;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* New Premium Buttons */
.btn-premium,
.btn-premium-sec {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 20px;
    border-radius: 12px;
    font-size: 1.15rem;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-premium {
    background: linear-gradient(135deg, #00ffcc 0%, #00d4aa 100%);
    color: #05080f;
    box-shadow: 0 10px 30px rgba(0, 255, 204, 0.4);
    animation: pulse-prim 2s infinite ease-in-out;
}

@keyframes pulse-prim {
    0% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(0, 255, 204, 0.4);
    }

    50% {
        transform: scale(1.03);
        box-shadow: 0 15px 40px rgba(0, 255, 204, 0.6);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(0, 255, 204, 0.4);
    }
}

.btn-premium-sec {
    background: linear-gradient(135deg, #e6ff00 0%, #c6db00 100%);
    color: #05080f;
    box-shadow: 0 10px 30px rgba(230, 255, 0, 0.3);
    animation: pulse-sec 2s infinite ease-in-out;
}

@keyframes pulse-sec {
    0% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(230, 255, 0, 0.3);
    }

    50% {
        transform: scale(1.03);
        box-shadow: 0 15px 40px rgba(230, 255, 0, 0.5);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(230, 255, 0, 0.3);
    }
}

.btn-premium:hover,
.btn-premium-sec:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
    animation: none;
    /* Para a animação ao passar o mouse para dar feedback de clique */
}

/* Modal Buttons & Generic */
.btn {
    display: inline-block;
    padding: 16px 30px;
    border-radius: 12px;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #00ffcc 0%, #00a884 100%);
    color: #05080f;
    box-shadow: 0 10px 20px rgba(0, 255, 204, 0.3);
}

.btn-secondary {
    background: linear-gradient(135deg, #e6ff00 0%, #b2c600 100%);
    color: #05080f;
    box-shadow: 0 10px 20px rgba(230, 255, 0, 0.2);
}

.btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

/* Final CTA Section */
.final-cta-box {
    margin: 50px 0;
    padding: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-highlight {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.cta-features {
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.cta-results {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--secondary);
}

/* Community Premium Redesign - Fixed for Mobile */
.community-premium {
    margin: 60px 0;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.community-overlay {
    position: relative;
    display: flex;
    flex-direction: column;
}

.community-bg-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: saturate(1.2);
    z-index: 1;
}

.community-glass-content {
    position: relative;
    z-index: 2;
    background: rgba(16, 22, 35, 0.95);
    width: 100%;
    padding: 40px 30px;
    border-top: 2px solid var(--primary);
    text-align: left;
}

.community-tag {
    background: var(--primary);
    color: #05080f;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.community-title {
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.community-text {
    font-size: 1rem;
    color: #e0e0e0;
    margin-bottom: 25px;
    line-height: 1.4;
}

.community-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.community-list li {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
}

@media (min-width: 9999px) {
    .community-overlay {
        min-height: 600px;
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
    }

    .community-bg-img {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        filter: brightness(0.6) saturate(1.2);
    }

    .community-glass-content {
        width: 450px;
        height: 100%;
        margin-right: 0;
        border-top: none;
        border-left: 2px solid var(--primary);
        background: rgba(5, 8, 15, 0.7);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 60px;
    }
}

/* Carousel */
.testimonial-section {
    margin: 60px 0;
}

.testimonial-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 30px;
}

.members-container {
    margin-bottom: 20px;
}

.members-img {
    max-width: 280px;
    /* Aumentado de 150px para 280px */
    height: auto;
    border-radius: 10px;
}

.carousel-container-mobile {
    position: relative;
    overflow: hidden;
    max-width: 320px;
    /* Largura focada em celular */
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 4px solid #1a2333;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide-mobile {
    min-width: 100%;
}

.carousel-slide-mobile img {
    width: 100%;
    display: block;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    border-radius: 2px;
}

.dot.active {
    background: var(--primary);
}

/* Modal Base */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    overflow-y: auto;
}

.modal-content {
    background: var(--bg-card);
    margin: 5% auto;
    padding: 30px;
    border: 1px solid var(--primary);
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 255, 204, 0.2);
}

.close-modal {
    color: var(--text-muted);
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.modal-title {
    color: var(--primary);
    margin-bottom: 25px;
    font-size: 1.5rem;
    font-weight: 800;
}

/* Tutorial Steps */
.tutorial-steps {
    text-align: left;
    margin-bottom: 30px;
}

.tut-step {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.tut-num {
    background: var(--primary);
    color: #05080f;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    flex-shrink: 0;
}

/* Form Styles */
.form-group {
    text-align: left;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-white);
}

.form-group input {
    width: 100%;
    padding: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 8px;
    outline: none;
}

.form-group input:focus {
    border-color: var(--primary);
}

/* Success State */
.success-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.success-msg {
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Loading Spinner */
.loading-spinner {
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-top: 5px solid var(--primary);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}