* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%),
                url('logo-vision.png') center center / cover no-repeat fixed;
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
    position: relative;
    animation: backgroundPulse 20s ease-in-out infinite;
}

/* Animação sutil do fundo */
@keyframes backgroundPulse {
    0%, 100% {
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%),
                    url('logo-vision.png') center center / cover no-repeat fixed;
    }
    50% {
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.85) 0%, rgba(118, 75, 162, 0.85) 100%),
                    url('logo-vision.png') center center / cover no-repeat fixed;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.header p {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.95;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    width: 100%;
    max-width: 1000px;
}

.menu-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.menu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: #667eea;
}

.menu-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 20px;
    display: block;
}

.menu-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    text-align: center;
}

.menu-card p {
    color: #666;
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.6;
}

.card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.feature-tag {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer {
    text-align: center;
    margin-top: 40px;
    color: white;
    opacity: 0.9;
    font-size: 0.9rem;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* Responsividade */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .header p {
        font-size: 1rem;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .menu-card {
        padding: 25px;
        background: rgba(255, 255, 255, 0.98);
    }
    
    .card-icon {
        font-size: 2.5rem;
    }
    
    .menu-card h3 {
        font-size: 1.3rem;
    }
    
    /* Otimizar fundo para mobile */
    body {
        background-attachment: scroll;
        animation: none;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.8rem;
    }
    
    .menu-card {
        padding: 20px;
        background: rgba(255, 255, 255, 0.98);
    }
    
    .card-icon {
        font-size: 2rem;
    }
    
    .menu-card h3 {
        font-size: 1.2rem;
    }
    
    .menu-card p {
        font-size: 0.9rem;
    }
    
    /* Desabilitar animação em dispositivos com baixa performance */
    body {
        animation: none;
    }
}

/* Otimização para dispositivos com preferência por movimento reduzido */
@media (prefers-reduced-motion: reduce) {
    body {
        animation: none;
    }
    
    .menu-card {
        transition: none;
    }
}

/* Animação de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-card {
    animation: fadeInUp 0.6s ease forwards;
}

.menu-card:nth-child(1) { animation-delay: 0.1s; }
.menu-card:nth-child(2) { animation-delay: 0.2s; }
.menu-card:nth-child(3) { animation-delay: 0.3s; }
.menu-card:nth-child(4) { animation-delay: 0.4s; }
.menu-card:nth-child(5) { animation-delay: 0.5s; }
.menu-card:nth-child(6) { animation-delay: 0.6s; } 