:root {
    --navy: #0A192F;
    --lime: #CCFF00;
    --light: #f8fafc;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Configuração do Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0A192F; /* Fundo Navy solicitado */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Garante que fique acima de tudo */
    transition: opacity 0.5s ease, visibility 0.5s;
}

/* Animação do Loading */
.loader {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(204, 255, 0, 0.1); /* Lime transparente */
    border-top: 5px solid #CCFF00; /* Lime solicitado */
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Classe para esconder o preloader */
.loader-hidden {
    opacity: 0;
    visibility: hidden;
}

/* NAVBAR */
.navbar {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    background: rgba(10, 25, 47, 0.9); backdrop-filter: blur(10px);
    padding: 1.2rem 0; border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* Sidebar Estilo */
.sidebar {
    position: fixed;
    top: 0;
    right: -300px; /* Começa fora da tela */
    width: 280px;
    height: 100vh;
    background: var(--navy);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    padding: 80px 40px;
    gap: 2rem;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
}
.sidebar.active { right: 0; }
.sidebar a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
}
.btn-sidebar-join {
    background: var(--lime);
    color: var(--navy) !important;
    padding: 1rem;
    text-align: center;
    border-radius: 10px;
}
.close-btn {
    position: absolute;
    top: 20px;
    right: 50px;
    font-size: 2.5rem;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger {
    display: none; /* Escondido por padrão no desktop */
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
    padding: 10px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--lime); /* Use a cor Lime para destacar no Navy */
    border-radius: 3px;
    transition: 0.3s;
}

/* Overlay (Fundo escuro quando abre o menu) */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 1999;
    backdrop-filter: blur(4px);
}
.sidebar-overlay.active { display: block; }

.nav-container { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 2rem; }
.logo-group { display: flex; align-items: center; gap: 12px; text-decoration: none; color: white; font-weight: 900; font-size: 1.5rem; letter-spacing: -1px; }
.logo-group img { height: 38px; }
.nav-links { display: flex; align-items: center; gap: 2.5rem; }
.nav-links a { color: #cbd5e1; text-decoration: none; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; }
.btn-join { background: var(--lime); color: var(--navy) !important; padding: 0.7rem 1.5rem; border-radius: 50px; }

/* HERO SECTION - ATUALIZADA */
.hero-full {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    /* Imagem de fundo aplicada aqui */
    background-image: url('assets/background2.svg'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    text-align: left;
}

/* Camada de contraste Navy */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right, 
        rgba(10, 25, 47, 0.8) 0%,   
        rgba(10, 25, 47, 0.4) 100%  
    );
    z-index: 1; 
}

/* Garante que o conteúdo (texto e botão) fique acima do overlay */
.hero-content {
    position: relative;
    z-index: 2; 
}

.hero-text-container h1 { font-size: 5.5rem; font-weight: 900; line-height: 1; margin-bottom: 2rem; text-align: left; }
.hero-text-container p { font-size: 1.4rem; color: #cbd5e1; margin-bottom: 3rem; max-width: 580px; text-align: left; }
.btn-hero { background: var(--lime); color: var(--navy); padding: 1.2rem 2.8rem; border-radius: 50px; font-weight: 900; text-decoration: none; display: inline-block; transition: 0.3s; }
.btn-hero:hover { transform: scale(1.05); }
.shadow-lime { box-shadow: 0 10px 30px rgba(204, 255, 0, 0.2); }

/* DIAGONAL TRANSITION */
.diagonal-top {
    position: relative;
    clip-path: polygon(0 6vh, 100% 0, 100% 100%, 0 100%);
    margin-top: -6vh;
    padding-top: 18vh !important;
    padding-bottom: 150px;
}

/* SECTION STYLES */
section { padding: 120px 20px; text-align: left; } /* Padronizado esquerda */
.section-light { background: var(--light); color: var(--navy); position: relative; z-index: 1; }
.section-navy { background: var(--navy); color: white; position: relative; z-index: 2; }
.section-white { background: white; color: var(--navy); }

.container { max-width: 1200px; margin: 0 auto; }
.container-narrow { max-width: 1000px; margin: 0 auto; }

.label { text-transform: uppercase; font-weight: 900; letter-spacing: 3px; font-size: 0.85rem; color: #007bff; margin-bottom: 25px; display: block; text-align: center; }
.section-title { font-size: 3.8rem; font-weight: 900; margin-bottom: 35px; line-height: 1.1; text-align: left; text-align: center; }
.section-text { font-size: 1.3rem; color: #64748b; line-height: 1.6; text-align: left; }
.text-slate-400 {text-align: center; }

/* PROBLEM HIGHLIGHTS */
.p-highlight {
    background: #ffffff;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    font-size: 1.1rem;
    line-height: 1.5;
    border-left: 5px solid #ef4444;
}

/* FEATURES GRID */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; margin-top: 60px; }
.feature-card { padding: 50px 40px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); border-radius: 35px; text-align: left; }
.feature-card h4 { font-size: 1.5rem; font-weight: 900; margin-bottom: 15px; }

.feature-list-check {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}
.feature-list-check li { margin-bottom: 10px; display: flex; align-items: center; gap: 10px; font-weight: 600; }

/* HOW IT WORKS (Z-Pattern) - CENTRALIZADO */

.steps-v2 { 
    display: flex; 
    flex-direction: column; 
    margin-top: 80px; 
}

/* STEP 1 & 3: Centralizados no meio da tela */
.step-row { 
    display: grid; 
    grid-template-columns: auto 1fr; 
    align-items: center; 
    gap: 80px; 
    max-width: 1100px; /* Largura controlada para centralizar o bloco no meio */
    margin: 0 auto; /* Centraliza o grid na tela */
}

.step-image-wrapper { display: flex; justify-content: flex-start; } 

/* STEP 2: Centralizado no meio da tela */
.step-row.reverse { 
    display: grid;
    grid-template-columns: 1fr auto; 
    align-items: center;
    gap: 80px; 
    max-width: 1100px; /* Mesma largura para alinhar com os de cima */
    margin: 0 auto; /* Centraliza o grid na tela */
}
.step-row.reverse .step-info { 
    order: 1; 
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.step-row.reverse .step-image-wrapper { 
    order: 2; 
    justify-content: flex-end; 
}

.step-png {
    max-width: 300px;
    height: auto;
    transition: 0.5s ease;
}
.step-row:hover .step-png { transform: translateY(-15px); }
.step-num-v2 { font-size: 6rem; font-weight: 900; line-height: 1; display: block; margin-bottom: 20px; }
.step-info h4 { font-size: 2.2rem; font-weight: 900; margin-bottom: 20px; }
.step-info p { font-size: 1.25rem; color: #64748b; line-height: 1.6; max-width: 500px; }

/* PRICING */
.billing-cycle {
    font-size: 0.9rem;
    color: #64748b;
    margin-top: -15px;
    margin-bottom: 25px;
    font-weight: 600;
}

/* Garante que a lista de features tenha um espaçamento limpo */
.price-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.price-card ul li {
    margin-bottom: 12px;
    color: #475569;
    font-weight: 500;
}

.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; margin-top: 60px; align-items: center; }
.price-card { 
    padding: 60px 40px; 
    background: var(--light); 
    border-radius: 40px; 
    border: 2px solid #e2e8f0; 
    text-align: left; 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}
.price-card:hover { transform: translateY(-10px) scale(1.02); border-color: var(--navy); box-shadow: 0 25px 50px rgba(0,0,0,0.1); }
.price-card.featured { border: 4px solid var(--navy); background: white; transform: scale(1.05); position: relative; z-index: 5; }
.price-card.featured:hover { transform: scale(1.08) translateY(-10px); border-color: var(--lime); }

.badge { 
    position: absolute; top: -20px; left: 50%; transform: translateX(-50%); 
    background: var(--navy); color: var(--lime); padding: 8px 25px; 
    border-radius: 50px; font-weight: 900; font-size: 0.75rem; text-transform: uppercase; 
}
.price { font-size: 4.5rem; font-weight: 900; margin: 25px 0; }
.price span { font-size: 1.2rem; color: #94a3b8; }

.btn-card { width: 100%; padding: 1.3rem; border-radius: 20px; border: 2px solid var(--navy); background: transparent; color: var(--navy); font-weight: 900; cursor: pointer; transition: 0.3s; text-decoration: none; }
.btn-card:hover { background: var(--navy); color: white; }
.btn-card-filled { width: 100%; padding: 1.3rem; border-radius: 20px; border: none; background: var(--navy); color: white; font-weight: 900; cursor: pointer; transition: 0.3s; text-decoration: none; }
.btn-card-filled:hover { background: var(--lime); color: var(--navy); box-shadow: 0 10px 20px rgba(204, 255, 0, 0.3); }

/* CONTACT & FOOTER */
.contact-form { display: flex; flex-direction: column; gap: 20px; margin-top: 40px; }
.contact-form input { padding: 1.5rem; border-radius: 20px; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.05); color: white; outline: none; }
footer { padding: 80px 0; background: #050d1a; color: #475569; }

/* MODAL */
.modal { position: fixed; inset: 0; background: rgba(0,0,0,0.85); display: none; justify-content: center; align-items: center; z-index: 2000; backdrop-filter: blur(10px); }
.modal-content { background: white; padding: 60px; border-radius: 40px; max-width: 450px; text-align: center; }

/* ANIMATION KEYFRAMES */
@keyframes float {
    0% { transform: translateY(0px); box-shadow: 0 30px 60px rgba(0,0,0,0.4); }
    50% { transform: translateY(-20px); box-shadow: 0 50px 70px rgba(204, 255, 0, 0.1); }
    100% { transform: translateY(0px); box-shadow: 0 30px 60px rgba(0,0,0,0.4); }
}

/* MEDIA QUERIES - Ajustados para manter alinhamento à esquerda */
@media (max-width: 1024px) {
    .hero-grid { 
        grid-template-columns: 1fr; 
        text-align: left; 
    }
    .hero-text-container {
        text-align: left;
    }
    .hero-text-container h1 { font-size: 3.5rem; text-align: left;}
    .hero-full { height: auto; padding: 150px 20px 80px; }
    
    .step-row, .step-row.reverse { 
        grid-template-columns: 1fr; 
        text-align: left; 
        gap: 40px; 
    }
    .step-row.reverse .step-info { order: 2; }
    .step-row.reverse .step-image-wrapper { order: 1; }
    .step-image-wrapper { justify-content: flex-start; }
}

/* Certifique-se que isso está dentro da sua Media Query no final do arquivo */
@media (max-width: 1024px) {
    .hamburger {
        display: flex !important; /* Força o aparecimento no mobile */
    }
    .desktop-menu {
        display: none !important;
    }
}

@media (max-width: 1024px) {
    .step-row, .step-row.reverse { 
        display: flex; /* Mudar de grid para flex no mobile ajuda muito */
        flex-direction: column;
        width: 100%;
        max-width: 100vw; /* Garante que não passe da largura da Janela */
        margin: 0;
        gap: 30px;
        overflow: hidden; /* Trava o conteúdo interno */
    }

    .step-image-wrapper, .step-info {
        width: 100%;
        max-width: 100%;
    }

    .step-png {
        max-width: 100%; /* Garante que a imagem nunca seja maior que a tela */
        height: auto;
    }
}