/* ===== PÁGINA PRINCIPAL MAX FIN SAS - DISEÑO MODERNO 2025 ===== */

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: linear-gradient(135deg, #000000 0%, #0f0f23 50%, #000000 100%);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Header moderno con glassmorphism y menú integrado */
.maxfin-header {
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid transparent;
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.95) 0%, rgba(26, 26, 26, 0.95) 100%);
    border-image: linear-gradient(90deg, #10b981, #3b82f6, #10b981) 1;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    width: 100%;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 3rem;
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
}

.maxfin-logo {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: transform 0.3s ease;
}

.maxfin-logo:hover {
    transform: scale(1.05);
}

.logo-symbol {
    width: 80px;
    height: 80px;
    background: transparent;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.logo-img-small {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.company-info {
    text-align: right;
}

.company-name {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #e5e7eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.company-description {
    font-size: 1.1rem;
    color: #9ca3af;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Imagen principal con efectos modernos */
.hero-image {
    padding: 4rem;
    text-align: center;
    position: relative;
}

.hero-img {
    width: 100%;
    max-width: 900px;
    height: 450px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 
        0 20px 60px rgba(16, 185, 129, 0.2),
        0 0 0 1px rgba(16, 185, 129, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.hero-img:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 30px 80px rgba(16, 185, 129, 0.3),
        0 0 0 2px rgba(16, 185, 129, 0.2);
}

.hero-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(16, 185, 129, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-img:hover::before {
    opacity: 1;
}

/* Secciones generales modernas */
section {
    padding: 5rem 4rem;
    border-bottom: 1px solid rgba(31, 41, 55, 0.3);
    position: relative;
    overflow: hidden;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.3), transparent);
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #3b82f6, #10b981);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

/* Sección de servicios moderna */
.services-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.services-visual {
    text-align: center;
}

.service-img {
    width: 100%;
    max-width: 450px;
    height: 320px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 
        0 15px 45px rgba(16, 185, 129, 0.2),
        0 0 0 1px rgba(16, 185, 129, 0.1);
    transition: all 0.4s ease;
}

.service-img:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 
        0 25px 60px rgba(16, 185, 129, 0.3),
        0 0 0 2px rgba(16, 185, 129, 0.2);
}

.services-list {
    padding: 2rem;
}

.services-ol {
    list-style: none;
    counter-reset: service-counter;
}

.services-ol li {
    counter-increment: service-counter;
    font-size: 1.4rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(16, 185, 129, 0.08);
    border-radius: 16px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    position: relative;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.services-ol li:hover {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.4);
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.2);
}

.services-ol li::before {
    content: counter(service-counter);
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #10b981, #3b82f6);
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.service-detail {
    display: block;
    font-size: 1rem;
    color: #d1d5db;
    font-weight: 400;
    margin-top: 0.5rem;
    line-height: 1.6;
}

/* Sección de coberturas moderna */
.coverage-content {
    text-align: center;
}

.coverage-graph {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.coverage-img {
    width: 100%;
    max-width: 700px;
    height: 450px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 
        0 20px 60px rgba(16, 185, 129, 0.2),
        0 0 0 1px rgba(16, 185, 129, 0.1);
    transition: all 0.4s ease;
}

.coverage-img:hover {
    transform: scale(1.02);
    box-shadow: 
        0 30px 80px rgba(16, 185, 129, 0.3),
        0 0 0 2px rgba(16, 185, 129, 0.2);
}

.graph-indicator {
    position: absolute;
    top: 30px;
    right: 30px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: 25px;
    font-size: 1.8rem;
    font-weight: 700;
    box-shadow: 
        0 8px 25px rgba(16, 185, 129, 0.4),
        0 0 0 1px rgba(16, 185, 129, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.coverage-services {
    margin: 3rem 0;
}

.coverage-services-title {
    font-size: 1.8rem;
    color: #10b981;
    margin-bottom: 2rem;
    font-weight: 600;
}

.coverage-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.coverage-service-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(16, 185, 129, 0.08);
    border-radius: 16px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.coverage-service-item:hover {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.2);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.coverage-service-item h4 {
    font-size: 1.3rem;
    color: #ffffff;
    font-weight: 600;
}

.coverage-description {
    max-width: 600px;
    margin: 0 auto;
}

.coverage-text {
    font-size: 1.3rem;
    color: #e5e7eb;
    line-height: 1.8;
    text-align: center;
}

.coverage-text strong {
    color: #10b981;
    font-weight: 600;
}

/* Sección de contabilidad moderna */
.accounting-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.accounting-image {
    text-align: center;
}

.accounting-img {
    width: 100%;
    max-width: 550px;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 
        0 15px 45px rgba(16, 185, 129, 0.2),
        0 0 0 1px rgba(16, 185, 129, 0.1);
    transition: all 0.4s ease;
}

.accounting-img:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 
        0 25px 60px rgba(16, 185, 129, 0.3),
        0 0 0 2px rgba(16, 185, 129, 0.2);
}

.features-title {
    font-size: 1.8rem;
    color: #10b981;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.features-list {
    list-style: none;
}

.features-list li {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 1.2rem;
    padding: 1rem;
    background: rgba(16, 185, 129, 0.08);
    border-radius: 12px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.features-list li:hover {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.4);
    transform: translateX(8px);
}

.features-list li::before {
    content: '✓';
    color: #10b981;
    font-weight: bold;
    margin-right: 0.8rem;
    font-size: 1.1rem;
}

/* Sección de pérdida esperada moderna */
.loss-content {
    text-align: center;
}

.loss-description {
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

.loss-text {
    font-size: 1.3rem;
    color: #e5e7eb;
    line-height: 1.8;
    text-align: center;
}

.loss-images {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.loss-image-item {
    text-align: center;
}

.loss-img {
    width: 280px;
    height: 220px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 
        0 15px 45px rgba(16, 185, 129, 0.2),
        0 0 0 1px rgba(16, 185, 129, 0.1);
    transition: all 0.4s ease;
    margin-bottom: 1rem;
}

.loss-img:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 
        0 25px 60px rgba(16, 185, 129, 0.3),
        0 0 0 2px rgba(16, 185, 129, 0.2);
}

.loss-image-title {
    font-size: 1.4rem;
    color: #10b981;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* Sección de asesoría moderna */
.advisory-content {
    text-align: center;
}

.advisory-chart {
    display: inline-block;
    margin-bottom: 2rem;
}

.advisory-img {
    width: 100%;
    max-width: 600px;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 
        0 15px 45px rgba(16, 185, 129, 0.2),
        0 0 0 1px rgba(16, 185, 129, 0.1);
    transition: all 0.4s ease;
}

.advisory-img:hover {
    transform: scale(1.02);
    box-shadow: 
        0 25px 60px rgba(16, 185, 129, 0.3),
        0 0 0 2px rgba(16, 185, 129, 0.2);
}

.advisory-description {
    max-width: 600px;
    margin: 0 auto;
}

.advisory-text {
    font-size: 1.3rem;
    color: #e5e7eb;
    line-height: 1.8;
    text-align: center;
}

/* Sección de modelos moderna */
.models-content {
    text-align: center;
}

.models-visual {
    margin-bottom: 3rem;
}

.models-img {
    width: 100%;
    max-width: 700px;
    height: 450px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 
        0 20px 60px rgba(16, 185, 129, 0.2),
        0 0 0 1px rgba(16, 185, 129, 0.1);
    transition: all 0.4s ease;
}

.models-img:hover {
    transform: scale(1.02);
    box-shadow: 
        0 30px 80px rgba(16, 185, 129, 0.3),
        0 0 0 2px rgba(16, 185, 129, 0.2);
}

.models-description {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.3rem;
    color: #e5e7eb;
    line-height: 1.8;
    padding: 2.5rem;
    background: rgba(16, 185, 129, 0.08);
    border-radius: 20px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    backdrop-filter: blur(10px);
}

.models-features {
    list-style: none;
    margin-top: 1.5rem;
    text-align: left;
}

.models-features li {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 0.8rem;
    padding: 0.8rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 8px;
    border-left: 3px solid #10b981;
    transition: all 0.3s ease;
}

.models-features li:hover {
    background: rgba(16, 185, 129, 0.15);
    transform: translateX(5px);
}

.models-features li::before {
    content: '▶';
    color: #10b981;
    font-weight: bold;
    margin-right: 0.8rem;
    font-size: 0.8rem;
}

/* Sección final moderna */
.final-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.final-image {
    text-align: center;
}

.final-img {
    width: 100%;
    max-width: 450px;
    height: 320px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 
        0 15px 45px rgba(16, 185, 129, 0.2),
        0 0 0 1px rgba(16, 185, 129, 0.1);
    transition: all 0.4s ease;
}

.final-img:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 
        0 25px 60px rgba(16, 185, 129, 0.3),
        0 0 0 2px rgba(16, 185, 129, 0.2);
}

.final-info {
    text-align: center;
}

.final-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.final-logo .logo-symbol {
    width: 320px;
    height: 320px;
    background: transparent;
    border-radius: 16px;
}

.contact-info {
    text-align: left;
    background: rgba(16, 185, 129, 0.08);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.contact-info:hover {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 15px 45px rgba(16, 185, 129, 0.2);
}

.contact-info p {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.contact-info i {
    color: #10b981;
    font-size: 1.1rem;
    width: 20px;
}

.contact-info strong {
    color: #10b981;
    font-weight: 600;
}

/* Footer moderno */
.maxfin-footer {
    text-align: center;
    padding: 4rem;
    background: linear-gradient(135deg, rgba(17, 17, 17, 0.9) 0%, rgba(26, 26, 26, 0.9) 100%);
    border-top: 2px solid transparent;
    border-image: linear-gradient(90deg, #10b981, #3b82f6, #10b981) 1;
    color: #9ca3af;
    font-size: 1.1rem;
    backdrop-filter: blur(20px);
}

/* Menú de Navegación Integrado */
.main-navigation {
    background: transparent;
    border-bottom: none;
    position: static;
    top: auto;
    z-index: auto;
    box-shadow: none;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #10b981, #3b82f6);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-login {
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-login {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    border-color: #10b981;
}

.btn-login:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
}

/* Ajustar el contenido principal para el header fijo */
.maxfin-main-page {
    padding-top: 200px; /* Espacio para el header fijo */
    min-height: 100vh;
    background: transparent;
    color: #ffffff;
}

/* Responsive design moderno */
@media (max-width: 768px) {
    .maxfin-header {
        padding: 0;
    }
    
    .header-top {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 1rem 2rem;
    }
    
    .company-info {
        text-align: center;
    }
    
    .main-navigation {
        padding: 0.5rem;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 2rem;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .nav-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .btn-login {
        width: 100%;
        text-align: center;
    }
    
    .maxfin-main-page {
        padding-top: 250px; /* Más espacio para el header responsive */
    }
    
    section {
        padding: 3rem 2rem;
    }
    
    .services-content,
    .accounting-content,
    .final-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .coverage-services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .loss-images {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .hero-image {
        padding: 2rem;
    }
    
    .logo-symbol {
        width: 60px;
        height: 60px;
    }
    
    .company-name {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .maxfin-header {
        padding: 0;
    }
    
    .header-top {
        padding: 1rem;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    .nav-menu {
        gap: 0.5rem;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 0.4rem 0.8rem;
    }
    
    .maxfin-main-page {
        padding-top: 280px; /* Más espacio para pantallas muy pequeñas */
    }
    
    section {
        padding: 2rem 1rem;
    }
    
    .company-name {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-ol li {
        font-size: 1.2rem;
        padding: 1.2rem;
    }
    
    .logo-symbol {
        width: 50px;
        height: 50px;
    }
}

/* Calculator Styles */
.calculator-main {
    padding-top: 100px;
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a0a 0%, #050505 100%);
}

.calculator-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.calculator-title h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #00d4aa, #0099cc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.calculator-title p {
    color: #b0b0b0;
    font-size: 1rem;
}

.calculator-status {
    display: flex;
    gap: 1.5rem;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #b0b0b0;
    font-size: 0.9rem;
}

.status-item i {
    color: #00d4aa;
}

.calculator-navigation {
    display: flex;
    gap: 1rem;
}

.calculator-navigation .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #b0b0b0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    background: transparent;
}

.calculator-navigation .btn:hover {
    border-color: #00d4aa;
    color: #00d4aa;
    background: rgba(0, 212, 170, 0.1);
}

    .calculator-navigation .btn i {
        font-size: 1rem;
    }

    /* Calculator Layout */
    .calculator-layout {
        display: grid;
        grid-template-columns: 1fr 2fr 1fr;
        gap: 2rem;
        margin-top: 2rem;
    }

    .panel-inputs,
    .panel-charts,
    .panel-recommendations {
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 16px;
        padding: 2rem;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    }

    .panel-inputs h3,
    .panel-charts h3,
    .panel-recommendations h3 {
        color: #ffffff;
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .panel-inputs h3 i,
    .panel-charts h3 i,
    .panel-recommendations h3 i {
        color: #00d4aa;
    }

    /* Form Styles */
    .calculator-form {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .form-group {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .form-group label {
        color: #ffffff;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .form-group label i {
        color: #00d4aa;
    }

    .form-group input,
    .form-group select {
        padding: 0.75rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.05);
        color: #ffffff;
        font-size: 0.9rem;
    }

    .form-group input:focus,
    .form-group select:focus {
        outline: none;
        border-color: #00d4aa;
        box-shadow: 0 0 0 2px rgba(0, 212, 170, 0.2);
    }

    .form-group small {
        color: #b0b0b0;
        font-size: 0.8rem;
    }

    /* Calculator Actions */
    .calculator-actions {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-top: 1rem;
    }

    .btn-full {
        width: 100%;
        justify-content: center;
    }

    /* Quick Presets */
    .quick-presets {
        margin-top: 2rem;
        padding-top: 2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .quick-presets h4 {
        color: #ffffff;
        font-size: 1.1rem;
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .quick-presets h4 i {
        color: #00d4aa;
    }

    .preset-buttons {
        display: flex;
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .btn-sm {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    /* Market Overview */
    .market-overview {
        margin-bottom: 2rem;
    }

    .market-card {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        padding: 1.5rem;
        text-align: center;
    }

    .market-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 1rem;
    }

    .market-header h4 {
        color: #ffffff;
        font-size: 1.2rem;
        margin: 0;
    }

    .market-change {
        padding: 0.25rem 0.75rem;
        border-radius: 20px;
        font-size: 0.85rem;
        font-weight: 600;
        background: rgba(0, 212, 170, 0.2);
        color: #00d4aa;
    }

    .market-price {
        font-size: 2rem;
        font-weight: 700;
        color: #ffffff;
        margin-bottom: 0.5rem;
    }

    .market-time {
        color: #b0b0b0;
        font-size: 0.9rem;
    }

    /* Chart Container */
    .chart-container {
        margin-bottom: 2rem;
    }

    .chart-container h4 {
        color: #ffffff;
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .chart-controls {
        display: flex;
        gap: 1rem;
        margin-bottom: 1rem;
        flex-wrap: wrap;
        align-items: center;
    }

    .control-group {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
    }

    .control-group label {
        color: #b0b0b0;
        font-size: 0.8rem;
    }

    .control-group input {
        width: 80px;
        padding: 0.5rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.05);
        color: #ffffff;
        font-size: 0.8rem;
    }

    /* RSI Chart */
    .rsi-chart {
        margin-bottom: 2rem;
    }

    .rsi-chart h4 {
        color: #ffffff;
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .rsi-legend {
        display: flex;
        gap: 1rem;
        margin-top: 1rem;
        flex-wrap: wrap;
    }

    .legend-item {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: #b0b0b0;
        font-size: 0.9rem;
    }

    .color-compra,
    .color-venta,
    .color-actual {
        width: 16px;
        height: 16px;
        border-radius: 50%;
    }

    .color-compra {
        background: #00d4aa;
    }

    .color-venta {
        background: #ff6b35;
    }

    .color-actual {
        background: #0099cc;
    }

    /* Analysis Cards */
    .analysis-card,
    .trend-card,
    .signal-section {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .analysis-card h4,
    .trend-card h4,
    .signal-section h4 {
        color: #ffffff;
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .analysis-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0.75rem;
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .analysis-item:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }

    .analysis-item .label {
        color: #b0b0b0;
    }

    .analysis-item .value {
        color: #ffffff;
        font-weight: 600;
    }

    .analysis-item .value.compra {
        color: #00d4aa;
    }

    .analysis-item .value.venta {
        color: #ff6b35;
    }

    .trend-status {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .trend-icon {
        width: 50px;
        height: 50px;
        background: rgba(0, 212, 170, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #00d4aa;
        font-size: 1.5rem;
    }

    .trend-info {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
    }

    .trend-type {
        color: #ffffff;
        font-weight: 600;
        font-size: 1.1rem;
    }

    .trend-strength {
        color: #b0b0b0;
        font-size: 0.9rem;
    }

    .signal-content p {
        color: #ffffff;
        font-size: 1rem;
        line-height: 1.5;
    }

    /* Results Section */
    .results-section {
        margin-top: 3rem;
        padding: 2rem;
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 16px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    }

    .results-section h2 {
        color: #ffffff;
        font-size: 1.8rem;
        margin-bottom: 2rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .results-section h2 i {
        color: #00d4aa;
    }

    .results-content {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
    }

    .result-item {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        padding: 1.5rem;
    }

    .result-item h4 {
        color: #00d4aa;
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .result-item p {
        color: #b0b0b0;
        margin-bottom: 0.5rem;
        line-height: 1.5;
    }

    .result-item strong {
        color: #ffffff;
    }

    /* Loading Section */
    .loading-section {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(10px);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 9999;
    }

    .loading-content {
        text-align: center;
        color: #ffffff;
    }

    .spinner {
        width: 60px;
        height: 60px;
        border: 4px solid rgba(255, 255, 255, 0.1);
        border-left: 4px solid #00d4aa;
        border-radius: 50%;
        animation: spin 1s linear infinite;
        margin: 0 auto 2rem;
    }

    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    .loading-content h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        color: #00d4aa;
    }

    .loading-content p {
        color: #b0b0b0;
        font-size: 1rem;
    }

    /* Notifications */
    .notification {
        position: fixed;
        top: 20px;
        right: 20px;
        padding: 1rem 1.5rem;
        border-radius: 8px;
        color: #ffffff;
        font-weight: 500;
        z-index: 10000;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        animation: slideIn 0.3s ease-out;
    }

    .notification-success {
        background: #00d4aa;
    }

    .notification-error {
        background: #ff6b35;
    }

    @keyframes slideIn {
        from {
            transform: translateX(100%);
            opacity: 0;
        }
        to {
            transform: translateX(0);
            opacity: 1;
        }
    }

    /* Responsive Calculator Layout */
    @media (max-width: 1200px) {
        .calculator-layout {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }
    }

    @media (max-width: 768px) {
        .panel-inputs,
        .panel-charts,
        .panel-recommendations {
            padding: 1.5rem;
        }
        
        .chart-controls {
            flex-direction: column;
            align-items: stretch;
        }
        
        .control-group input {
            width: 100%;
        }
        
        .results-content {
            grid-template-columns: 1fr;
        }
    }

    /* Responsive Calculator Header */
@media (max-width: 1024px) {
    .calculator-header {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .calculator-status {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .calculator-header {
        padding: 1.5rem;
    }
    
    .calculator-title h1 {
        font-size: 1.8rem;
    }
    
    .calculator-status {
        flex-direction: column;
        gap: 1rem;
    }
    
    .calculator-navigation {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .calculator-header {
        padding: 1rem;
    }
    
    .calculator-title h1 {
        font-size: 1.6rem;
    }
    
    .calculator-navigation .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

