/* V-COR Simulador - V-COR Identity */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

:root {
    --bg-primary: #05000a;
    --accent-purple: #4B0082;
    --accent-gold: #FFD700;
    --text-primary: #F4F4F4;
    --text-muted: #8E8E93;
    --border-color: #2C2C2E
}

body {
    font-family: 'Inter', sans-serif;
    background: #05000a;
    background-image: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(75, 0, 130, 0.03) 2px, rgba(75, 0, 130, 0.03) 4px), repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(75, 0, 130, 0.03) 2px, rgba(75, 0, 130, 0.03) 4px);
    color: var(--text-primary);
    line-height: 1.4;
    min-height: 100vh;
    padding: 20px
}

.container {
    max-width: 1400px;
    margin: 0 auto
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0 60px;
    border-bottom: 2px solid var(--accent-purple);
    margin-bottom: 60px
}

.logo-img {
    height: 50px;
    width: auto
}

.back-link {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: all 0.2s;
    border: 2px solid var(--accent-gold);
    padding: 10px 20px
}

.back-link:hover {
    background: var(--accent-gold);
    color: var(--accent-purple);
    transform: translateY(-2px)
}

.hero {
    margin-bottom: 80px;
    max-width: 900px
}

.title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.05em;
    margin-bottom: 30px;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--text-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 800px;
    line-height: 1.6
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px
}

.panel-title {
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    color: var(--accent-gold);
    margin-bottom: 40px;
    border-bottom: 3px solid var(--accent-purple);
    padding-bottom: 10px
}

.controls-panel {
    background: rgba(75, 0, 130, 0.05);
    border: 2px solid var(--accent-purple);
    padding: 40px
}

.control-group {
    margin-bottom: 50px
}

.control-label {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 15px
}

.label-text {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--text-muted)
}

.control-value {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--accent-gold);
    letter-spacing: -0.02em
}

.slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    background: var(--border-color);
    outline: none;
    border-radius: 0
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--accent-purple);
    cursor: pointer;
    border-radius: 0;
    border: 3px solid var(--accent-gold);
    transition: all 0.2s
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 20px var(--accent-gold)
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--accent-purple);
    cursor: pointer;
    border-radius: 0;
    border: 3px solid var(--accent-gold)
}

.range-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 700
}

.helper-text {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 10px;
    font-style: italic
}

.results-panel {
    background: rgba(75, 0, 130, 0.05);
    border: 2px solid var(--accent-purple);
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px
}

.result-card {
    background: rgba(255, 255, 255, 0.02);
    border: 2px solid var(--border-color);
    padding: 30px
}

.result-card.highlight {
    border-color: var(--accent-purple);
    background: rgba(75, 0, 130, 0.1)
}

.result-card.critical {
    border: 3px solid var(--accent-gold);
    background: rgba(255, 215, 0, 0.05);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.2)
}

.result-label {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 10px
}

.result-label-big {
    font-size: 0.85rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    color: var(--accent-gold);
    margin-bottom: 15px;
    text-transform: uppercase
}

.result-value {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 5px
}

.result-value.current {
    color: var(--text-muted)
}

.result-value.optimized {
    color: var(--accent-gold)
}

.result-value-big {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: var(--accent-gold);
    margin-bottom: 20px;
    text-shadow: 0 0 40px rgba(255, 215, 0, 0.6);
    animation: pulseGlow 2s ease-in-out infinite
}

@keyframes pulseGlow {

    0%,
    100% {
        text-shadow: 0 0 40px rgba(255, 215, 0, 0.6)
    }

    50% {
        text-shadow: 0 0 60px rgba(255, 215, 0, 0.9)
    }
}

.result-desc {
    font-size: 0.75rem;
    color: var(--text-muted)
}

.result-warning {
    font-size: 0.85rem;
    color: var(--text-primary);
    line-height: 1.6
}

.result-warning strong {
    color: var(--accent-gold);
    font-weight: 900
}

.cta-button {
    background: var(--accent-purple);
    color: var(--accent-gold);
    border: 3px solid var(--accent-gold);
    padding: 20px 40px;
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 20px;
    width: 100%;
    text-decoration: none;
    display: block;
    text-align: center
}

.cta-button:hover {
    background: var(--accent-gold);
    color: var(--accent-purple);
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.5)
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
    z-index: 9999;
    transition: all 0.3s;
    animation: whatsappPulse 2s infinite
}

.whatsapp-float svg {
    width: 32px;
    height: 32px
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.7)
}

@keyframes whatsappPulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5)
    }

    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.8)
    }
}

@media (max-width:1024px) {
    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 40px
    }

    .title {
        font-size: 2.5rem
    }

    .controls-panel,
    .results-panel {
        padding: 30px
    }
}

@media (max-width:640px) {
    body {
        padding: 15px
    }

    .header {
        padding: 15px 0 40px;
        margin-bottom: 40px
    }

    .logo-img {
        height: 40px
    }

    .back-link {
        font-size: 0.75rem;
        padding: 8px 15px
    }

    .hero {
        margin-bottom: 50px
    }

    .title {
        font-size: 2rem
    }

    .subtitle {
        font-size: 0.95rem
    }

    .controls-panel,
    .results-panel {
        padding: 25px
    }

    .control-group {
        margin-bottom: 35px
    }

    .result-value-big {
        font-size: 2.5rem
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px
    }

    .whatsapp-float svg {
        width: 26px;
        height: 26px
    }
}