﻿body {
}

/* Estilos específicos para a página Home/Index */

/* Hero Section */
.hero-section {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 20px;
    margin: -2rem -15px 0 -15px;
    padding: 2rem 15px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    animation: float 20s linear infinite;
    pointer-events: none;
}

@keyframes float {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-100px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 500px;
}

/* Brand Logo Animation */
.brand-logo {
    animation: pulse 2s ease-in-out infinite alternate;
}

@keyframes pulse {
    from { transform: scale(1); }
    to { transform: scale(1.05); }
}

/* Text Gradient */
.text-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Modern Card */
.modern-card {
    border-radius: 20px;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    transition: all 0.3s ease;
}

.modern-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
}

/* Form Styling */
.access-form .input-group-text {
    border-radius: 15px 0 0 15px;
    border-right: none;
}

.access-form .form-control {
    border-radius: 0 15px 15px 0;
    border-left: none;
    font-size: 1.1rem;
    padding: 0.75rem 1rem;
}

.access-form .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
    border-left: none;
}

/* Button Modern */
.btn-modern {
    border-radius: 15px;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Features Section */
.features-section {
    margin-top: 4rem;
}

.feature-card {
    background: white;
    border-radius: 15px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: #667eea;
}

.feature-icon {
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

/* Loading Animation */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid #667eea;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}

/* Shake Animation for Error */
.shake {
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes shake {
    10%, 90% { transform: translateX(-1px); }
    20%, 80% { transform: translateX(2px); }
    30%, 50%, 70% { transform: translateX(-4px); }
    40%, 60% { transform: translateX(4px); }
}

/* Responsividade */
@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
        margin: -1rem -15px 0 -15px;
    }
    
    .display-3 {
        font-size: 2.5rem;
    }
    
    .modern-card .card-body {
        padding: 2rem !important;
    }
    
    .features-section {
        margin-top: 2rem;
    }
    
    .btn-modern {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        margin: -1rem -15px 0 -15px;
        padding: 1rem 15px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .modern-card .card-body {
        padding: 1.5rem !important;
    }
    
    .brand-logo .display-1 {
        font-size: 4rem;
    }
    
    .display-3 {
        font-size: 2rem;
    }
}
