/* Reset e configurações gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    color: #00d4ff;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Partículas de fundo */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #00d4ff;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 0 10px #00d4ff;
}

.particle:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
.particle:nth-child(2) { top: 60%; left: 80%; animation-delay: 2s; }
.particle:nth-child(3) { top: 80%; left: 30%; animation-delay: 4s; }
.particle:nth-child(4) { top: 40%; left: 70%; animation-delay: 1s; }
.particle:nth-child(5) { top: 10%; left: 90%; animation-delay: 3s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 1; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 0.8; }
}

/* Container principal */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 2px solid #00d4ff;
    margin-bottom: 30px;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 15px;
    padding: 20px 30px;
    backdrop-filter: blur(10px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo i {
    font-size: 2.5rem;
    color: #00d4ff;
    animation: pulse 2s ease-in-out infinite;
}

.logo h1 {
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 0 0 20px #00d4ff;
    margin: 0;
}

.logo .subtitle {
    font-size: 0.9rem;
    color: #7ab8d3;
    font-style: italic;
    margin-left: 10px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.pulse {
    width: 12px;
    height: 12px;
    background: #00ff88;
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(0, 255, 136, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 255, 136, 0); }
}

/* Painel principal */
.main-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

/* Cards */
.card {
    background: rgba(26, 26, 46, 0.9);
    border: 1px solid #00d4ff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.2);
    border-color: #00ff88;
}

.card h2, .card h3 {
    color: #00d4ff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-shadow: 0 0 10px #00d4ff;
}

/* Formulário */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #7ab8d3;
    font-weight: 500;
}

.futuristic-input, .futuristic-select {
    width: 100%;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid #444;
    border-radius: 8px;
    color: #00d4ff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.futuristic-input:focus, .futuristic-select:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
    background: rgba(0, 212, 255, 0.1);
}

.futuristic-input::placeholder {
    color: #666;
}

/* Botão de calcular */
.calculate-button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, #00d4ff, #00ff88);
    border: none;
    border-radius: 10px;
    color: #000;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.3);
}

.calculate-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.5);
    filter: brightness(1.1);
}

.calculate-button:active {
    transform: translateY(0);
}

/* Informações do modelo */
.model-details {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #00d4ff;
}

.model-details p {
    margin: 5px 0;
    line-height: 1.6;
}

.model-details strong {
    color: #00ff88;
}

/* Resultados */
.results-container {
    min-height: 200px;
}

.no-results {
    text-align: center;
    color: #666;
    padding: 50px 20px;
}

.no-results i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.result-item {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #00d4ff;
    text-align: center;
}

.result-item h4 {
    color: #7ab8d3;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.result-item .value {
    color: #00d4ff;
    font-size: 1.2rem;
    font-weight: bold;
}

.total-cost {
    background: linear-gradient(45deg, #00d4ff, #00ff88);
    color: #000;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin-top: 15px;
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.3);
}

.total-cost h3 {
    margin: 0;
    font-size: 1.5rem;
}

/* Gráfico */
.chart-card canvas {
    max-height: 300px !important;
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #444;
    color: #666;
    font-size: 0.9rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .main-panel {
        grid-template-columns: 1fr;
    }
    
    .header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .logo h1 {
        font-size: 2rem;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
}

/* Animações adicionais */
.card {
    animation: slideIn 0.6s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Efeitos de glow */
.card:hover h2, .card:hover h3 {
    text-shadow: 0 0 15px #00d4ff;
}

/* Customização do scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a2e;
}

::-webkit-scrollbar-thumb {
    background: #00d4ff;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00ff88;
} 