/* ================================
   LANDING PAGE - CALISTO
   CSS Exclusivo da Landing Page
   ================================ */

:root {
    --calisto-primary: #8B5CF6;
    --calisto-secondary: #6D28D9;
    --calisto-light: #DDD6FE;
    --calisto-dark: #2D1B69;
    --tech-blue: #0891B2;
    --tech-cyan: #06B6D4;
    --tech-yellow: #FBBF24;
}

/* Override do login-body para landing */
body.landing-body {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 25%, #0f3460 50%, #e94560 100%);
    background-attachment: fixed;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Efeito de partículas/estrelas ao fundo */
body.landing-body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #eee, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 60px 70px, #fff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 50px 50px, #fff, rgba(0,0,0,0)),
        radial-gradient(1px 1px at 130px 80px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 90px 10px, #fff, rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: twinkle 5s infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

/* Container de landing - permite scroll */
.landing-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    padding: 40px 20px;
    position: relative;
    z-index: 2;
    overflow-y: auto;
}

.landing-content {
    width: 100%;
    max-width: 1200px;
}

/* Wrapper da landing - full width, sem limitação */
.landing-form-wrapper {
    background: rgba(45, 27, 105, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 50px 40px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    border: 1px solid rgba(255, 255, 255, 0.18);
    animation: slideUp 0.6s ease-out;
    width: 100%;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero card - ajustado para landing */
.hero-card {
    max-width: 100%;
    width: 100%;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.hero-illustration {
    flex: 0 0 35%;
    min-height: 350px;
    background: linear-gradient(135deg, rgba(139,92,246,0.12), rgba(6,182,212,0.06));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--calisto-dark);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 30px;
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Tipografia da landing */
.logo-text {
    font-size: 2.5rem;
    color: #DDD6FE;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
    letter-spacing: 1px;
    line-height: 1.2;
}

.logo-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    margin: 15px 0 20px;
}

.logo-subtitle2 {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    margin: 15px 0 2px;
}

.alpha-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--tech-yellow);
    color: #333;
    border-radius: 999px;
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Lista de benefícios */
.benefits {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.8;
}

.benefits li {
    margin-bottom: 10px;
    padding-left: 0;
}

.benefits li::before {
    content: '✓ ';
    color: var(--tech-cyan);
    font-weight: 700;
    margin-right: 8px;
}

/* Parágrafo de texto descritivo */
.landing-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 20px 0;
}

/* Botões da landing */
.landing-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn-landing-primary {
    background: linear-gradient(135deg, #06B6D4 0%, #0891B2 100%);
    border: none;
    color: #fff;
    font-weight: 700;
    padding: 13px 28px;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-landing-primary:hover {
    background: linear-gradient(135deg, #0891B2 0%, #06B6D4 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(6, 182, 212, 0.4);
    color: #fff;
    text-decoration: none;
}

.btn-landing-secondary {
    background: rgba(139, 92, 246, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #fff;
    font-weight: 700;
    padding: 13px 28px;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.btn-landing-secondary:hover {
    background: rgba(139, 92, 246, 1);
    border-color: rgba(139, 92, 246, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
    color: #fff;
}

/* Modal Customizado */
.modal-content {
    background: rgba(45, 27, 105, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

.modal-header {
    background: linear-gradient(135deg, #2D1B69 0%, #1a1040 100%);
    border-color: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-title {
    color: #DDD6FE;
    font-weight: 700;
    font-size: 1.3rem;
}

.modal-header .btn-close {
    filter: invert(1);
}

.modal-body {
    background: rgba(45, 27, 105, 0.98);
}

/* Form fields no modal */
.modal-body .form-label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.modal-body .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.modal-body .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #06B6D4;
    color: #fff;
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.3);
}

.modal-body .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Responsividade */
@media (max-width: 992px) {
    .hero-card {
        flex-direction: column;
        gap: 30px;
    }

    .hero-illustration {
        flex: 1;
        width: 100%;
        min-height: 250px;
    }

    .hero-content {
        flex: 1;
    }

    .logo-text {
        font-size: 2rem;
    }

    .landing-form-wrapper {
        padding: 40px 30px;
    }
}

@media (max-width: 576px) {
    .landing-container {
        padding: 20px 15px;
    }

    .landing-form-wrapper {
        padding: 30px 20px;
        border-radius: 12px;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    .logo-subtitle {
        font-size: 0.9rem;
    }

    .logo-subtitle2 {
        font-size: 0.9rem;
    }

    .alpha-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
    }

    .hero-illustration {
        display: none !important;
    }

    .landing-buttons {
        flex-direction: column;
    }

    .btn-landing-primary,
    .btn-landing-secondary {
        width: 100%;
        text-align: center;
    }

    .landing-text {
        font-size: 0.9rem;
    }

    .modal-dialog {
        margin: 10px;
    }
}

/* Scroll bar customizado */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 92, 246, 0.8);
}
