body {
    background: linear-gradient(145deg, #e0f2fe 0%, #f3f4f6 100%);
    font-family: 'Poppins', sans-serif;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}
.login-frame {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(90deg, #ffffff, #f8fafc);
    border-bottom: 1px solid #d1d5db;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    padding: 12px 24px;
    transition: all 0.3s ease;
}
.banner {
    background: linear-gradient(90deg, #16a34a 0%, #22c55e 100%);
    color: white;
    padding: 48px 24px;
    text-align: center;
    border-radius: 20px;
    margin: 24px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 10;
}
.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    opacity: 0.3;
}
.banner:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.banner button {
    background: #f97316;
    color: white;
    padding: 14px 28px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.125rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    position: relative;
    z-index: 11;
}
.banner button:hover {
    background: #ea580c;
    transform: scale(1.05);
}
.footer {
    text-align: center;
    padding: 12px;
    background: #f9fafb;
    color: #4b5563;
    font-size: 0.875rem;
    margin-top: auto;
    width: 100%;
    border-top: 1px solid #e5e7eb;
}
.screenshot-grid img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
}
.screenshot-grid img:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
.benefit-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}
#imageModal {
    z-index: 1002;
}
#imageModal .modal-content {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}
#imageModal img.desktop {
    max-width: 100%; /* Alterado de 80% para 100% para remover margens laterais */
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    margin: 0; /* Margem definida como zero */
}
#imageModal img.mobile {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    margin: 0; /* Margem definida como zero */
}
#imageModal .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: #e5e7eb;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
    z-index: 1003;
}
#imageModal .close-btn:hover {
    background: #d1d5db;
}
#imageModal .close-btn::before,
#imageModal .close-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 2px;
    background: #4b5563;
    transform: translate(-50%, -50%) rotate(45deg);
}
#imageModal .close-btn::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}
#subscribeModal, #loginModal {
    z-index: 1001;
}
#subscribeModal .modal-content, #loginModal .modal-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    padding: 8px;
    max-width: 400px;
    width: 90%;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}
#subscribeModal .modal-content.scale-100, #loginModal .modal-content.scale-100 {
    transform: scale(1);
}
#errorModal {
    z-index: 10000; /* Aumentado para garantir que o modal de erro fique na frente de todos os elementos */
}
/* Responsividade */
@media (max-width: 640px) {
    .login-frame {
        padding: 10px;
        text-align: center;
    }
    .login-frame-forgot-password {
        padding: 10px;
        text-align: center;
    }
    .login-frame .form-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    .login-frame .form-container .input-group {
        width: 100%;
    }
    .login-frame input {
        width: 100% !important;
        max-width: 300px;
        margin: 0 auto;
        box-sizing: border-box;
        display: block;
        padding: 10px;
        font-size: 0.9rem;
        border-radius: 8px;
    }
    .login-frame button {
        width: 100% !important;
        max-width: 300px;
        margin: 0 auto;
        padding: 10px;
        font-size: 0.9rem;
        border-radius: 8px;
    }
    .login-frame a {
        display: block;
        text-align: center;
        margin-top: 10px;
        font-size: 0.8rem;
    }
    .login-frame .success-message {
        margin-top: 10px;
        width: 100%;
        max-width: 300px;
        font-size: 0.8rem;
        padding: 8px;
        border-radius: 8px;
    }
    .banner {
        padding: 24px;
        border-radius: 12px;
    }
    .banner h2 {
        font-size: 1.5rem;
    }
    .banner p {
        font-size: 0.9rem;
    }
    .banner button {
        padding: 12px 20px;
        font-size: 1rem;
    }
    .container {
        padding: 16px;
        margin-top: 160px;
    }
    .screenshot-grid img {
        width: 100%;
        height: auto;
    }
    #imageModal img.desktop {
        max-width: 100%; /* Alterado de 90% para 100% para remover margens laterais em telas pequenas */
        margin: 0; /* Margem definida como zero */
    }
    #subscribeModal .modal-content, #loginModal .modal-content {
        max-width: 90%;
    }
    img.logo {
        height: 4rem !important; /* h-16 = 64px, proporcional para telas pequenas */
        max-width: 100% !important;
    }
}
@media (min-width: 641px) {
    .login-frame {
        display: flex;
        justify-content: flex-end;
    }
    .login-frame .form-container {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 16px;
    }
}