* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; 
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%); 
    min-height: 100vh; 
}

.nav { 
    background: rgba(255,255,255,0.95); 
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); 
    position: sticky; 
    top: 0; 
    z-index: 100; 
}

.nav-container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 15px 20px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.nav-logo { 
    font-size: 1.5rem; 
    font-weight: bold; 
    color: #2563eb; 
    text-decoration: none; 
}

.nav-links { 
    display: flex; 
    gap: 30px; 
    list-style: none; 
}

.nav-links a { 
    color: #374151; 
    text-decoration: none; 
    font-weight: 500; 
}

.nav-links a.active { 
    color: #2563eb; 
}

.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 20px; 
}

.header { 
    text-align: center; 
    color: white; 
    margin-bottom: 40px; 
    padding-top: 40px; 
}

.header h1 { 
    font-size: 4rem; 
    margin-bottom: 10px; 
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2); 
}

.header p { 
    font-size: 1.3rem; 
    opacity: 0.9; 
}

.hero-status { 
    background: white; 
    border-radius: 30px; 
    padding: 80px 40px; 
    margin-bottom: 40px; 
    box-shadow: 0 30px 80px rgba(0,0,0,0.4); 
    text-align: center; 
}

.hero-indicator { 
    font-size: 10rem; 
    margin-bottom: 30px; 
}

.hero-text { 
    font-size: 3rem; 
    font-weight: bold; 
    margin-bottom: 20px; 
}

.hero-description { 
    font-size: 1.5rem; 
    color: #6b7280; 
    margin-bottom: 40px; 
}

.status-green { 
    color: #10b981; 
}

.status-yellow { 
    color: #f59e0b; 
}

.status-red { 
    color: #ef4444; 
}

.quick-stats { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 30px; 
    margin-top: 40px; 
}

.stat-card { 
    background: #f8f9fa; 
    padding: 30px; 
    border-radius: 15px; 
}

.stat-label { 
    font-size: 1rem; 
    color: #6b7280; 
    margin-bottom: 10px; 
}

.stat-value { 
    font-size: 3rem; 
    font-weight: bold; 
    color: #1f2937; 
}

.cta-buttons { 
    display: flex; 
    gap: 20px; 
    justify-content: center; 
    margin-top: 40px; 
    flex-wrap: wrap; 
}

.cta-btn { 
    padding: 18px 40px; 
    border: none; 
    border-radius: 12px; 
    font-weight: 600; 
    cursor: pointer; 
    font-size: 1.1rem; 
    text-decoration: none; 
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.cta-primary { 
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%); 
    color: white; 
}

.cta-secondary { 
    background: white; 
    color: #2563eb; 
    border: 2px solid #2563eb; 
}

.share-buttons { 
    display: flex; 
    gap: 10px; 
    justify-content: center; 
    margin-top: 30px; 
    flex-wrap: wrap; 
}

.share-btn { 
    padding: 12px 24px; 
    border: none; 
    border-radius: 8px; 
    font-weight: 600; 
    cursor: pointer; 
    font-size: 0.95rem; 
    transition: opacity 0.2s;
}

.share-btn:hover {
    opacity: 0.9;
}

.share-twitter { 
    background: #1da1f2; 
    color: white; 
}

.share-whatsapp { 
    background: #25d366; 
    color: white; 
}

.share-copy { 
    background: #6b7280; 
    color: white; 
}

.last-update { 
    text-align: center; 
    color: white; 
    margin-top: 20px; 
    font-size: 0.9rem; 
    opacity: 0.7; 
}

.simulator { 
    background: white; 
    border-radius: 20px; 
    padding: 40px; 
    margin-bottom: 30px; 
    box-shadow: 0 20px 60px rgba(0,0,0,0.3); 
}

.simulator h2 { 
    font-size: 2rem; 
    margin-bottom: 30px; 
    color: #1f2937; 
}

.slider-group { 
    margin-bottom: 30px; 
}

.slider-label { 
    display: flex; 
    justify-content: space-between; 
    margin-bottom: 10px; 
    font-weight: 600; 
    color: #374151; 
}

.slider-value { 
    color: #2563eb; 
    font-size: 1.1rem; 
}

input[type="range"] { 
    width: 100%; 
    height: 8px; 
    border-radius: 5px; 
    background: #e5e7eb; 
    outline: none; 
    -webkit-appearance: none; 
}

input[type="range"]::-webkit-slider-thumb { 
    -webkit-appearance: none; 
    width: 24px; 
    height: 24px; 
    border-radius: 50%; 
    background: #2563eb; 
    cursor: pointer; 
    transition: transform 0.2s;
}

input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

input[type="range"]::-moz-range-thumb { 
    width: 24px; 
    height: 24px; 
    border-radius: 50%; 
    background: #2563eb; 
    cursor: pointer; 
    border: none; 
}

.results { 
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%); 
    padding: 30px; 
    border-radius: 15px; 
    color: white; 
    margin-top: 30px; 
}

.results h3 { 
    font-size: 1.5rem; 
    margin-bottom: 20px; 
}

.result-item { 
    display: flex; 
    justify-content: space-between; 
    padding: 15px 0; 
    border-bottom: 1px solid rgba(255,255,255,0.2); 
}

.result-item:last-child { 
    border-bottom: none; 
    font-size: 1.3rem; 
    font-weight: bold; 
    padding-top: 20px; 
}

.result-positive { 
    color: #10b981; 
}

.result-negative { 
    color: #fca5a5; 
}

.explainer { 
    background: white; 
    border-radius: 20px; 
    padding: 40px; 
    margin-bottom: 30px; 
    box-shadow: 0 20px 60px rgba(0,0,0,0.3); 
}

.explainer h2 { 
    font-size: 2rem; 
    margin-bottom: 20px; 
    color: #1f2937; 
}

.explainer p { 
    font-size: 1.1rem; 
    line-height: 1.8; 
    color: #4b5563; 
    margin-bottom: 15px; 
}

.example-box { 
    background: #eff6ff; 
    padding: 20px; 
    border-radius: 10px; 
    border-left: 4px solid #2563eb; 
    margin: 20px 0; 
}

.contact-form { 
    background: white; 
    border-radius: 20px; 
    padding: 40px; 
    margin-bottom: 30px; 
    box-shadow: 0 20px 60px rgba(0,0,0,0.3); 
}

.form-group { 
    margin-bottom: 25px; 
}

.form-group label { 
    display: block; 
    margin-bottom: 8px; 
    font-weight: 600; 
    color: #374151; 
}

.form-group input, 
.form-group textarea { 
    width: 100%; 
    padding: 12px 15px; 
    border: 2px solid #e5e7eb; 
    border-radius: 8px; 
    font-size: 1rem; 
    font-family: inherit; 
    transition: border-color 0.2s;
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
}

.form-group input.error,
.form-group textarea.error {
    border-color: #ef4444;
    background-color: #fef2f2;
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.submit-btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

.form-group textarea { 
    resize: vertical; 
    min-height: 150px; 
}

.submit-btn { 
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%); 
    color: white; 
    padding: 15px 40px; 
    border: none; 
    border-radius: 8px; 
    font-size: 1.1rem; 
    font-weight: 600; 
    cursor: pointer; 
    transition: transform 0.2s, box-shadow 0.2s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.footer { 
    background: rgba(0,0,0,0.2); 
    color: white; 
    margin-top: 60px; 
    padding: 40px 20px 20px; 
}

.footer-content { 
    max-width: 1200px; 
    margin: 0 auto; 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 40px; 
    margin-bottom: 30px; 
}

.footer-section h3 { 
    font-size: 1.2rem; 
    margin-bottom: 15px; 
}

.footer-section ul { 
    list-style: none; 
}

.footer-section ul li { 
    margin-bottom: 10px; 
}

.footer-section a { 
    color: rgba(255,255,255,0.8); 
    text-decoration: none; 
    transition: color 0.2s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding-top: 20px; 
    border-top: 1px solid rgba(255,255,255,0.2); 
    text-align: center; 
    font-size: 0.9rem; 
}

.page { 
    display: none; 
}

.page.active { 
    display: block; 
}

.toast { 
    position: fixed; 
    bottom: 20px; 
    right: 20px; 
    background: #1f2937; 
    color: white; 
    padding: 15px 20px; 
    border-radius: 8px; 
    z-index: 1000; 
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.loading { 
    text-align: center; 
    padding: 40px; 
    color: white; 
    font-size: 1.2rem; 
}

/* Ocultar barras laterales de extensiones del navegador y herramientas de desarrollo */
body > div[style*="position: fixed"][style*="right"]:not(.toast),
body > div[style*="position: fixed"][style*="z-index"]:not(.toast):not(.nav),
iframe[src*="extension"],
div[id*="extension"],
div[class*="extension"],
div[id*="sidebar"],
div[class*="sidebar"],
div[data-sidebar],
/* Ocultar herramientas de Cursor si están presentes */
div[class*="cursor"],
div[id*="cursor-toolbar"],
/* Ocultar otras barras flotantes comunes */
aside[style*="position: fixed"][style*="right"] {
    display: none !important;
    visibility: hidden !important;
}

/* Scroll suave al cambiar de página */
html {
    scroll-behavior: smooth;
}

/* Asegurar que las páginas se muestren correctamente */
.page.active {
    display: block !important;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) { 
    .header h1 { 
        font-size: 2.5rem; 
    } 
    .hero-indicator { 
        font-size: 6rem; 
    } 
    .hero-text { 
        font-size: 2rem; 
    } 
    .stat-value { 
        font-size: 2rem; 
    }
    .nav-links {
        gap: 15px;
        font-size: 0.9rem;
    }
    .simulator {
        padding: 20px;
    }
    .explainer {
        padding: 20px;
    }
    .contact-form {
        padding: 20px;
    }
}

