/* ===== 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: 100%;
    min-height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
    overflow: auto;
}

.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;
}

/* ===== MODAL DE FORMULÁRIO DE DOWNLOAD ===== */
.download-modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.download-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
    pointer-events: none;
}

.download-modal-content {
    position: relative;
    background: linear-gradient(145deg, #1a1a1a 0%, #0e0e0e 100%);
    margin: 5% auto;
    padding: 0;
    border: 2px solid rgba(0, 255, 94, 0.5);
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 255, 94, 0.3), 0 0 100px rgba(0, 255, 94, 0.2);
    animation: modalSlideIn 0.4s ease;
    overflow: hidden;
    z-index: 1;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-100px) scale(0.8);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.download-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #00ff5e;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 255, 94, 0.1);
    border: 2px solid transparent;
}

.download-modal-close:hover {
    color: #fff;
    background: rgba(255, 94, 94, 0.2);
    border-color: rgba(255, 94, 94, 0.5);
    transform: rotate(90deg) scale(1.1);
}

.download-modal-header {
    text-align: center;
    padding: 40px 40px 20px;
    border-bottom: 2px solid rgba(0, 255, 94, 0.2);
    position: relative;
}

.download-icon-container {
    margin-bottom: 20px;
}

.download-icon {
    font-size: 4rem;
    animation: bounceIcon 2s infinite;
    display: inline-block;
    filter: drop-shadow(0 0 20px rgba(0, 255, 94, 0.5));
}

@keyframes bounceIcon {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.1);
    }
}

.download-modal-title {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 900;
    color: #00ff5e;
    margin: 0 0 10px 0;
    text-shadow: 0 0 20px rgba(0, 255, 94, 0.5);
}

.download-modal-subtitle {
    font-size: 1rem;
    color: #cccccc;
    margin: 0;
    opacity: 0.9;
}

/* ===== FORMULÁRIO ===== */
.download-form {
    padding: 30px 40px;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    font-weight: 600;
    color: #00ff5e;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.label-icon {
    font-size: 1.2rem;
    filter: drop-shadow(0 0 5px rgba(0, 255, 94, 0.5));
}

.form-input {
    width: 100%;
    padding: 15px 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(0, 255, 94, 0.3);
    border-radius: 12px;
    color: #fff;
    transition: all 0.3s ease;
    outline: none;
}

.form-input::placeholder {
    color: rgba(204, 204, 204, 0.5);
}

.form-input:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: #00ff5e;
    box-shadow: 0 0 20px rgba(0, 255, 94, 0.3), inset 0 0 10px rgba(0, 255, 94, 0.1);
    transform: translateY(-2px);
}

.form-input.error {
    border-color: #ff5e5e;
    background: rgba(255, 94, 94, 0.05);
    animation: shakeError 0.4s ease;
}

@keyframes shakeError {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.form-error {
    display: block;
    color: #ff5e5e;
    font-size: 0.85rem;
    margin-top: 5px;
    min-height: 20px;
    font-weight: 500;
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-submit-button {
    width: 100%;
    padding: 18px;
    margin-top: 10px;
    background: linear-gradient(135deg, #00ff5e, #00cc4a);
    color: #0e0e0e;
    border: none;
    border-radius: 50px;
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 255, 94, 0.4);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.form-submit-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;
}

.form-submit-button:hover::before {
    left: 100%;
}

.form-submit-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 255, 94, 0.6);
    filter: brightness(1.1);
}

.form-submit-button:active {
    transform: translateY(-1px) scale(1);
}

.button-icon {
    font-size: 1.3rem;
    animation: rocketFloat 2s infinite;
}

@keyframes rocketFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.download-modal-footer {
    text-align: center;
    padding: 20px 40px 30px;
    border-top: 2px solid rgba(0, 255, 94, 0.2);
    background: rgba(0, 255, 94, 0.05);
}

.download-modal-footer p {
    margin: 0;
    font-size: 0.85rem;
    color: #cccccc;
    opacity: 0.8;
}

/* ===== MODAL DE SUCESSO ===== */
.success-modal {
    display: none;
    position: fixed;
    z-index: 4000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
    overflow: hidden;
}

.success-modal-content {
    position: relative;
    background: linear-gradient(145deg, #1a1a1a 0%, #0e0e0e 100%);
    margin: 10% auto;
    padding: 60px 40px;
    border: 2px solid rgba(0, 255, 94, 0.6);
    border-radius: 20px;
    width: 90%;
    max-width: 450px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 255, 94, 0.4), 0 0 100px rgba(0, 255, 94, 0.3);
    animation: successZoomIn 0.5s ease;
}

@keyframes successZoomIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ===== ANIMAÇÃO DO CHECKMARK ===== */
.success-icon-animated {
    margin: 0 auto 30px;
    width: 120px;
    height: 120px;
}

.success-checkmark {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #00ff5e;
    stroke-miterlimit: 10;
    box-shadow: inset 0 0 0 #00ff5e;
    animation: fillCheckmark 0.4s ease-in-out 0.4s forwards, scaleCheckmark 0.3s ease-in-out 0.9s both;
    position: relative;
}

.success-checkmark .check-icon {
    width: 120px;
    height: 120px;
    position: relative;
    border-radius: 50%;
    box-sizing: content-box;
    border: 4px solid #00ff5e;
}

.success-checkmark .check-icon::before {
    top: 3px;
    left: -2px;
    width: 30px;
    transform-origin: 100% 50%;
    border-radius: 100px 0 0 100px;
}

.success-checkmark .check-icon::after {
    top: 0;
    left: 30px;
    width: 60px;
    transform-origin: 0 50%;
    border-radius: 0 100px 100px 0;
    animation: rotateCheckmarkCircle 4.25s ease-in;
}

.icon-line {
    height: 5px;
    background-color: #00ff5e;
    display: block;
    border-radius: 2px;
    position: absolute;
    z-index: 10;
}

.icon-line.line-tip {
    top: 56px;
    left: 25px;
    width: 25px;
    transform: rotate(45deg);
    animation: checkmarkTip 0.75s 0.5s ease-in-out forwards;
}

.icon-line.line-long {
    top: 47px;
    right: 15px;
    width: 47px;
    transform: rotate(-45deg);
    animation: checkmarkLong 0.75s 0.7s ease-in-out forwards;
}

.icon-circle {
    top: -4px;
    left: -4px;
    z-index: 10;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    position: absolute;
    box-sizing: content-box;
    border: 4px solid rgba(0, 255, 94, 0.5);
}

.icon-fix {
    top: 8px;
    width: 5px;
    left: 26px;
    z-index: 1;
    height: 85px;
    position: absolute;
    transform: rotate(-45deg);
    background-color: #0e0e0e;
}

@keyframes rotateCheckmarkCircle {
    0% {
        transform: rotate(-45deg);
    }
    5% {
        transform: rotate(-45deg);
    }
    12% {
        transform: rotate(-405deg);
    }
    100% {
        transform: rotate(-405deg);
    }
}

@keyframes checkmarkTip {
    0% {
        width: 0;
        left: 20px;
        top: 56px;
    }
    54% {
        width: 0;
        left: 20px;
        top: 56px;
    }
    70% {
        width: 50px;
        left: 8px;
        top: 56px;
    }
    84% {
        width: 17px;
        left: 25px;
        top: 56px;
    }
    100% {
        width: 25px;
        left: 25px;
        top: 56px;
    }
}

@keyframes checkmarkLong {
    0% {
        width: 0;
        right: 46px;
        top: 54px;
    }
    65% {
        width: 0;
        right: 46px;
        top: 54px;
    }
    84% {
        width: 55px;
        right: 0;
        top: 47px;
    }
    100% {
        width: 47px;
        right: 15px;
        top: 47px;
    }
}

@keyframes fillCheckmark {
    100% {
        box-shadow: inset 0 0 0 60px rgba(0, 255, 94, 0.2);
    }
}

@keyframes scaleCheckmark {
    0%, 100% {
        transform: none;
    }
    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

.success-title {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 900;
    color: #00ff5e;
    margin: 0 0 15px 0;
    text-shadow: 0 0 20px rgba(0, 255, 94, 0.6);
}

.success-message {
    font-size: 1.1rem;
    color: #e0e0e0;
    margin: 0 0 10px 0;
}

.success-submessage {
    font-size: 1rem;
    color: #cccccc;
    margin: 0;
    opacity: 0.8;
}

/* ===== RESPONSIVIDADE PARA MODAIS ===== */
@media (max-width: 768px) {
    .download-modal-content {
        margin: 10% auto;
        width: 95%;
    }

    .download-modal-header {
        padding: 30px 20px 20px;
    }

    .download-form {
        padding: 20px;
    }

    .download-modal-title {
        font-size: 1.5rem;
    }

    .download-icon {
        font-size: 3rem;
    }

    .form-submit-button {
        font-size: 1rem;
        padding: 15px;
    }

    .success-modal-content {
        padding: 40px 20px;
        width: 95%;
    }

    .success-icon-animated,
    .success-checkmark,
    .success-checkmark .check-icon,
    .icon-circle {
        width: 100px;
        height: 100px;
    }

    .success-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .download-modal-content {
        margin: 5% auto;
    }

    .download-modal-header {
        padding: 20px 15px 15px;
    }

    .download-form {
        padding: 15px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .download-modal-title {
        font-size: 1.3rem;
    }

    .download-modal-subtitle {
        font-size: 0.9rem;
    }

    .form-input {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
}