/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #0e0e0e;
    color: #cccccc;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Tipografia base */
h1, h2, h3 {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
}

/* ===== HEADER - LOGO FIXO ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(14, 14, 14, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(0, 255, 94, 0.3);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.header-container {
    margin: 0 10%;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
}

.logo-container {
    flex-shrink: 0;
}

.logo {
    max-height: 180px;
    width: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(0, 255, 94, 0.5));
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(0, 255, 94, 0.8));
}

/* ===== TÍTULO NO HEADER ===== */
.header-title {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

/* ===== CONTAINER DOS BOTÕES ALINHADOS ===== */
.header-buttons-row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    margin-top: 0;
    position: relative;
}

.header-main-title {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 900;
    color: #00ff5e;
    margin: 0 0 12px 0;
    text-shadow: 0 0 20px rgba(0, 255, 94, 0.5);
    line-height: 1.2;
}

.header-subtitle {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    font-weight: 400;
    color: #cccccc;
    margin: 0 0 20px 0;
    opacity: 0.9;
}

/* ===== BOTÃO DE DOWNLOAD NO HEADER ===== */
.header-download-button {
    background: linear-gradient(135deg, #00ff5e, #00cc4a);
    color: #0e0e0e;
    border: none;
    padding: 8px 20px;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: 'Orbitron', monospace;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 255, 94, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    align-self: flex-start;
}

/* ===== BOTÃO DE LOGIN NO HEADER ===== */
.header-login-button {
    background: transparent;
    color: #00ff5e;
    border: 2px solid #00ff5e;
    padding: 8px 20px;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: 'Orbitron', monospace;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: absolute;
    right: -20px;
    overflow: hidden;
    text-shadow: 0 0 10px rgba(0, 255, 94, 0.5);
    box-shadow: 0 0 20px rgba(0, 255, 94, 0.3), inset 0 0 20px rgba(0, 255, 94, 0.1);
}

.header-download-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.header-download-button:hover::before {
    left: 100%;
}

.header-download-button:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 40px rgba(0, 255, 94, 0.6);
    filter: brightness(1.1);
}

.header-download-button:active {
    transform: translateY(-1px) scale(1.01);
}

/* ===== EFEITOS HOVER PARA BOTÃO DE LOGIN ===== */
.header-login-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 94, 0.4), transparent);
    transition: left 0.5s;
}

.header-login-button:hover::before {
    left: 100%;
}

.header-login-button:hover {
    background: rgba(0, 255, 94, 0.1);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 0 30px rgba(0, 255, 94, 0.6), inset 0 0 30px rgba(0, 255, 94, 0.2);
    text-shadow: 0 0 15px rgba(0, 255, 94, 0.8);
    border-color: #00ff5e;
}

.header-login-button:active {
    transform: translateY(-1px) scale(1.01);
}

/* ===== MAIN CONTENT ===== */
.main-content {
    margin-top: 240px;
    padding: 40px 0;
}

.container {
    margin: 0 10%;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* ===== COLUNA ESQUERDA - IMAGENS ===== */
.images-column {
    /* Removido sticky para corrigir problema da terceira imagem */
}

.image-stack {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.image-item {
    position: relative;
    cursor: pointer;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(0, 255, 94, 0.2);
}

.image-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 255, 94, 0.3);
    border-color: rgba(0, 255, 94, 0.6);
}

.image-item img {
    width: 100%;
    height: auto;
    aspect-ratio: 1600/844;
    object-fit: cover;
    transition: all 0.3s ease;
}

.image-item:hover img {
    filter: brightness(1.1) contrast(1.1);
}

/* Efeito de overlay ao hover */
.image-item::before {
    content: "🔍 Clique para ampliar";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 255, 94, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    color: #00ff5e;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.image-item:hover::before {
    opacity: 1;
}

/* ===== COLUNA DIREITA - CONTEÚDO ===== */
.content-column {
    padding-left: 20px;
}

.content-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(0, 255, 94, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.content-box:hover {
    border-color: rgba(0, 255, 94, 0.4);
    box-shadow: 0 12px 48px rgba(0, 255, 94, 0.1);
}

/* ===== TIPOGRAFIA DO CONTEÚDO ===== */
.main-title {
    font-family: 'Orbitron', monospace;
    font-size: 2.2rem;
    font-weight: 900;
    color: #00ff5e;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(0, 255, 94, 0.5);
    line-height: 1.2;
}

.subtitle {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    font-weight: 400;
    color: #cccccc;
    margin-bottom: 30px;
    opacity: 0.9;
}

.intro-text {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.content-text p {
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.7;
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: #00ff5e;
    margin: 40px 0 25px 0;
    text-shadow: 0 0 10px rgba(0, 255, 94, 0.3);
}

.cta-title {
    margin-top: 50px;
}

/* ===== LISTA DE RECURSOS ===== */
.features-list {
    margin: 30px 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(0, 255, 94, 0.05);
    border-radius: 8px;
    border-left: 4px solid #00ff5e;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(0, 255, 94, 0.08);
    transform: translateX(5px);
}

.feature-icon {
    font-size: 1.5rem;
    margin-right: 15px;
    margin-top: 2px;
    filter: drop-shadow(0 0 5px rgba(0, 255, 94, 0.5));
}

.feature-content h4 {
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
    font-weight: 600;
    color: #00ff5e;
    margin-bottom: 8px;
}

.feature-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== CTA QUOTE ===== */
.cta-quote {
    background: rgba(0, 255, 94, 0.1);
    border-left: 5px solid #00ff5e;
    padding: 20px;
    margin: 25px 0;
    border-radius: 8px;
    font-size: 1.05rem;
    font-style: italic;
    color: #e0e0e0;
}

.license-note {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 30px;
}

/* ===== SEÇÃO DE DOWNLOAD ===== */
.download-section {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid rgba(0, 255, 94, 0.3);
}

.download-button {
    background: linear-gradient(135deg, #00ff5e, #00cc4a);
    color: #0e0e0e;
    border: none;
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'Orbitron', monospace;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 255, 94, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.download-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.download-button:hover::before {
    left: 100%;
}

.download-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 50px rgba(0, 255, 94, 0.6);
    filter: brightness(1.1);
}

.download-button:active {
    transform: translateY(-1px) scale(1.02);
}

.download-subtitle {
    margin-top: 15px;
    font-size: 0.9rem;
    opacity: 0.8;
    color: #cccccc;
}

/* ===== MENSAGEM PARA USUÁRIOS RECORRENTES ===== */
.return-message {
    background: rgba(0, 255, 94, 0.1);
    border: 2px solid rgba(0, 255, 94, 0.3);
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    text-align: center;
    animation: fadeInGlow 0.5s ease;
}

.return-message p {
    margin: 0;
    color: #00ff5e;
    font-weight: 500;
}

@keyframes fadeInGlow {
    from {
        opacity: 0;
        transform: translateY(10px);
        box-shadow: 0 0 0 rgba(0, 255, 94, 0);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        box-shadow: 0 0 20px rgba(0, 255, 94, 0.3);
    }
}

/* ===== MODAL PARA IMAGENS ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 70%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    margin: 5% auto;
    max-width: 90%;
    max-height: 80%;
    animation: zoomIn 0.3s ease;
    max-width: 90%; /* Limit width */  
    max-height: 80vh; /* Limit height to 80% of the viewport */  
    overflow-y: auto; /* Enable vertical scrolling */
}

.modal-content img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 255, 94, 0.3);
    border: 3px solid rgba(0, 255, 94, 0.5);
}

.modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: #00ff5e;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(14, 14, 14, 0.8);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(0, 255, 94, 0.5);
}

.modal-close:hover {
    color: #fff;
    background: rgba(0, 255, 94, 0.2);
    transform: rotate(90deg) scale(1.1);
    border-color: #00ff5e;
}

.modal-caption {
    text-align: center;
    color: #cccccc;
    padding: 15px;
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
    margin-top: 10px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from {
        transform: scale(0.7);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ===== FOOTER ===== */
.footer {
    margin-top: 100px;
    background: rgba(255, 255, 255, 0.03);
    border-top: 2px solid rgba(0, 255, 94, 0.3);
    border-radius: 20px 20px 0 0;
    backdrop-filter: blur(10px);
}

.footer-content {
    margin: 0 10%;
    padding: 40px 20px;
    text-align: center;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-link {
    color: #cccccc;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.footer-link:hover {
    color: #00ff5e;
    text-shadow: 0 0 10px rgba(0, 255, 94, 0.5);
}

.footer-separator {
    margin: 0 15px;
    color: rgba(0, 255, 94, 0.5);
}

.footer-copyright {
    font-size: 0.9rem;
    opacity: 0.7;
    font-family: 'Orbitron', monospace;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 1024px) {
    .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .images-column {
        order: 2;
    }
    
    .content-column {
        order: 1;
        padding-left: 0;
    }
    
    .logo {
        max-height: 150px;
    }
    
    .header-main-title {
        font-size: 1.8rem;
    }
    
    .header-subtitle {
        font-size: 1rem;
    }
    
    .header-download-button {
        font-size: 0.75rem;
        padding: 8px 18px;
    }
    
    .header-login-button {
        font-size: 0.75rem;
        padding: 8px 18px;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        margin: 0 5%;
        position: relative;
    }
    
    .header-title {
        text-align: center;
        align-items: center;
    }
    
    .header-buttons-row {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .header-login-button {
        position: relative;
        right: auto;
    }
    
    .logo {
        max-height: 120px;
    }
    
    .header-main-title {
        font-size: 1.4rem;
    }
    
    .header-subtitle {
        font-size: 0.85rem;
    }
    
    .header-download-button {
        font-size: 0.7rem;
        padding: 6px 16px;
    }
    
    .header-login-button {
        font-size: 0.7rem;
        padding: 6px 16px;
    }
    
    .main-content {
        margin-top: 220px;
        padding: 20px 0;
    }
    
    .container {
        margin: 0 5%;
        padding: 0 15px;
        gap: 30px;
    }
    
    .footer-content {
        margin: 0 5%;
    }
    
    .content-box {
        padding: 25px;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-icon {
        margin-right: 0;
        margin-bottom: 10px;
        font-size: 2rem;
    }
    
    .download-button {
        width: 100%;
        max-width: 300px;
        font-size: 1.1rem;
        padding: 16px 30px;
    }
    
    .modal-content {
        margin: 10% auto;
        max-width: 95%;
    }
    
    .modal-close {
        top: -40px;
        font-size: 2rem;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 10px 0;
    }
    
    .header-container {
        gap: 15px;
        margin: 0 3%;
    }
    
    .logo {
        max-height: 100px;
    }
    
    .header-main-title {
        font-size: 1.1rem;
    }
    
    .header-subtitle {
        font-size: 0.75rem;
    }
    
    .header-download-button {
        font-size: 0.65rem;
        padding: 5px 14px;
    }
    
    .header-login-button {
        font-size: 0.65rem;
        padding: 5px 14px;
    }
    
    .main-content {
        margin-top: 180px;
    }
    
    .container {
        margin: 0 3%;
    }
    
    .footer-content {
        margin: 0 3%;
    }
    
    .section-title {
        font-size: 1.2rem;
    }
}

/* ===== TELAS MUITO PEQUENAS ===== */
@media (max-width: 320px) {
    .header-container {
        margin: 0 2%;
    }
    
    .header-main-title {
        font-size: 0.9rem;
    }
    
    .header-subtitle {
        font-size: 0.65rem;
    }
    
    .header-download-button {
        font-size: 0.6rem;
        padding: 4px 10px;
    }
    
    .header-login-button {
        font-size: 0.6rem;
        padding: 4px 10px;
    }
    
    .logo {
        max-height: 80px;
    }
    
    .container {
        margin: 0 2%;
    }
    
    .footer-content {
        margin: 0 2%;
    }
    
    .content-box {
        padding: 20px;
    }
    
    .footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .footer-separator {
        display: none;
    }
}

/* ===== ANIMAÇÕES EXTRAS ===== */
.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== SCROLLBAR PERSONALIZADA ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0e0e0e;
}

::-webkit-scrollbar-thumb {
    background: #00ff5e;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00cc4a;
}

/* ===== EFEITOS DE SELEÇÃO ===== */
::selection {
    background: rgba(0, 255, 94, 0.3);
    color: #fff;
}

::-moz-selection {
    background: rgba(0, 255, 94, 0.3);
    color: #fff;
}