/* Estilos Premium para a página Index - Calculadora de Boost */

/* Importar fontes do Google */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Exo+2:wght@300;400;600;700&display=swap');

/* Keyframes para animações */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 20px rgba(74, 144, 226, 0.5), 0 0 40px rgba(74, 144, 226, 0.3), 0 0 60px rgba(74, 144, 226, 0.2); }
    50% { box-shadow: 0 0 30px rgba(74, 144, 226, 0.8), 0 0 60px rgba(74, 144, 226, 0.5), 0 0 90px rgba(74, 144, 226, 0.3); }
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes slideInUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes particles {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-10vh) rotate(360deg);
        opacity: 0;
    }
}

/* Estilo do body com background premium */
body {
    background: 
        linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #0e4b99 100%),
        url('../img/LogoAM.jpg');
    background-size: 400% 400%, cover;
    background-blend-mode: overlay;
    background-attachment: fixed;
    background-position: center;
    animation: gradient-shift 15s ease infinite;
    overflow-x: hidden;
    font-family: 'Exo 2', sans-serif;
    position: relative;
}

/* Partículas flutuantes de fundo */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(74, 144, 226, 0.8), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(138, 43, 226, 0.6), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(0, 255, 255, 0.9), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 0, 150, 0.7), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(74, 144, 226, 0.8), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: particles 20s linear infinite;
    pointer-events: none;
    z-index: 1;
}

/* Elementos decorativos flutuantes */
.decorative-elements {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.decorative-elements::before,
.decorative-elements::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.decorative-elements::before {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, rgba(74, 144, 226, 0.3), rgba(138, 43, 226, 0.3));
    top: 20%;
    left: 10%;
    animation-delay: -2s;
}

.decorative-elements::after {
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.2), rgba(255, 0, 150, 0.2));
    top: 60%;
    right: 15%;
    animation-delay: -4s;
}

/* Container principal com z-index para ficar acima dos efeitos */
.row {
    position: relative;
    z-index: 10;
}

/* Container do formulário PREMIUM */
.form-container {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 40px;
    margin: 60px auto;
    max-width: 600px;
    position: relative;
    animation: slideInUp 1s ease-out, glow-pulse 3s ease-in-out infinite;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 0 100px rgba(74, 144, 226, 0.2),
        inset 0 0 50px rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.form-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        #4a90e2, #8a2be2, #00ffff, #ff0096, #4a90e2);
    background-size: 400% 400%;
    border-radius: 32px;
    z-index: -1;
    animation: gradient-shift 3s ease infinite;
}

.form-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(10, 10, 30, 0.95) 0%, 
        rgba(20, 20, 50, 0.9) 100%);
    border-radius: 30px;
    z-index: -1;
}

.form-container:hover {
    transform: translateY(-10px) scale(1.02);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Título com efeito de máquina de escrever */
h4 {
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    font-size: 32px;
    text-align: center;
    margin-bottom: 40px;
    background: linear-gradient(45deg, #4a90e2, #8a2be2, #00ffff, #ff0096);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 2s ease infinite;
    text-shadow: 0 0 30px rgba(74, 144, 226, 0.5);
    position: relative;
    overflow: hidden;
}

h4::after {
    content: '|';
    animation: typing 2s steps(20) infinite;
    color: #4a90e2;
}

/* Grupos de formulário com animações */
.form-group {
    margin-bottom: 30px;
    position: relative;
    animation: slideInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.3s; }
.form-group:nth-child(4) { animation-delay: 0.4s; }
.form-group:nth-child(5) { animation-delay: 0.5s; }

.form-group label {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 14px;
    color: #00ffff;
    margin-bottom: 12px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    position: relative;
}

.form-group label::before {
    content: '▶';
    color: #4a90e2;
    margin-right: 8px;
    animation: glow-pulse 2s ease-in-out infinite;
}

/* Inputs PREMIUM com efeitos neon */
.form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(74, 144, 226, 0.3);
    border-radius: 15px;
    padding: 18px 20px;
    font-size: 16px;
    color: #ffffff;
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

.form-control:focus {
    outline: none;
    border-color: #00ffff;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 0 30px rgba(0, 255, 255, 0.3),
        0 0 60px rgba(74, 144, 226, 0.2),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    transform: translateY(-3px) scale(1.02);
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.form-control:hover {
    border-color: rgba(138, 43, 226, 0.6);
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.3);
    transform: translateY(-2px);
}

/* Container do telefone melhorado */
.d-flex.align-items-center {
    gap: 15px;
    margin-top: 10px;
}

.d-flex.align-items-center .form-control[style*="width: 60px"] {
    min-width: 80px;
    text-align: center;
    font-weight: 700;
    background: linear-gradient(45deg, rgba(74, 144, 226, 0.2), rgba(138, 43, 226, 0.2));
}

/* Checkbox futurista */
.form-check-input {
    width: 25px;
    height: 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid #4a90e2;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    margin-right: 15px;
    appearance: none;
}

.form-check-input::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: linear-gradient(45deg, #00ffff, #4a90e2);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform: translate(-50%, -50%);
}

.form-check-input:checked {
    background: linear-gradient(45deg, #4a90e2, #00ffff);
    border-color: #00ffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.form-check-input:checked::before {
    width: 60%;
    height: 60%;
}

/* Botão PREMIUM com efeito ripple */
.btn {
    background: linear-gradient(45deg, #4a90e2, #8a2be2, #00ffff);
    background-size: 400% 400%;
    border: none;
    border-radius: 20px;
    padding: 20px 40px;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    font-size: 18px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    width: 100%;
    box-shadow: 
        0 10px 30px rgba(74, 144, 226, 0.4),
        0 0 50px rgba(138, 43, 226, 0.3);
    animation: gradient-shift 3s ease infinite;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.6s ease;
    transform: translate(-50%, -50%);
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 15px 40px rgba(74, 144, 226, 0.6),
        0 0 80px rgba(138, 43, 226, 0.4);
}

.btn:active::before {
    animation: ripple 0.6s ease-out;
}

/* Mensagens de validação estilizadas */
.text-danger {
    color: #ff0096;
    font-size: 12px;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 0, 150, 0.5);
    margin-top: 8px;
}

/* Container "Quem sou eu?" PREMIUM */
.about-me-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.9) 0%, 
        rgba(20, 20, 50, 0.95) 100%);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(74, 144, 226, 0.3);
    border-radius: 20px;
    padding: 25px;
    max-width: 380px;
    color: #ffffff;
    z-index: 20;
    text-align: center;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(74, 144, 226, 0.2);
    animation: slideInUp 1.2s ease-out;
    transition: all 0.4s ease;
}

.about-me-container:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(74, 144, 226, 0.3);
}

.about-me-container h4 {
    font-size: 20px;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #4a90e2, #00ffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-me-container p {
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
}

/* Responsividade melhorada */
@media (max-width: 768px) {
    .form-container {
        margin: 20px;
        padding: 30px 20px;
        max-width: none;
    }
    
    h4 {
        font-size: 24px;
    }
    
    .about-me-container {
        position: relative;
        bottom: auto;
        right: auto;
        margin: 20px;
        max-width: none;
    }
    
    .d-flex.align-items-center {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .btn {
        font-size: 16px;
        padding: 18px 30px;
    }
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #4a90e2, #8a2be2);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #357abd, #6a1b9a);
} 