:root {
    --primary: #00ECD0;
    --primary-dark: #111827;
    --gradient-text: linear-gradient(135deg, #00d1ff 0%, #00f0a8 30%, #00ff9d 50%, #00e0ff 70%, #0066ff 100%);
    --gradient-bg: linear-gradient(135deg, #0f0c29 0%, #1a1a3a 30%, #24243e 50%, #302b63 70%, #3a2c7a 100%);
}

body {
    font-family: 'Inter', sans-serif;
    color: #e5e7eb;
    scroll-behavior: smooth;
    background-color: #0f0c29;
}

/* Mejoras de responsive */
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

.bg-gradient {
    background: var(--gradient-bg);
}

.btn-primary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    color: white;
    background: var(--gradient-text);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(0, 209, 255, 0.3);
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.btn-primary:hover {
    background: var(--gradient-text);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 209, 255, 0.4);
    filter: brightness(1.1);
}

.btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    color: #00d1ff;
    background-color: transparent;
    border: 2px solid #00d1ff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.btn-secondary:hover {
    background-color: rgba(0, 209, 255, 0.1);
    color: #00e0ff;
    border-color: #00e0ff;
    box-shadow: 0 0 15px rgba(0, 224, 255, 0.3);
}

.feature-card {
    background-color: rgba(26, 26, 58, 0.7);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(113, 119, 144, 0.25);
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 209, 255, 0.2);
    border-color: rgba(0, 224, 255, 0.4);
    background-color: rgba(42, 42, 90, 0.8);
}

.nav-link {
    padding: 0.75rem 1.25rem;
    color: #a1a1aa;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #00d1ff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-text);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* Estilos para el menú móvil */
.nav-link-mobile {
    display: block;
    padding: 0.75rem 1.25rem;
    color: #a1a1aa;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-link-mobile:hover {
    color: #00d1ff;
    background-color: rgba(0, 209, 255, 0.05);
    border-radius: 0.5rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.5rem;
        margin-bottom: 4rem;
    }
}

.section-title:after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: var(--gradient-bg);
    margin: 1.5rem auto 0;
    border-radius: 2px;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 10px rgba(0, 209, 255, 0.3);
}

/* FAQ Styles */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.faq-content.show {
    max-height: 500px;
    padding: 1.5rem;
    border-top: 1px solid rgba(113, 119, 144, 0.2);
}

.rotate-180 {
    transform: rotate(180deg);
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 1s ease-in forwards;
}

.animate-delay-1s {
    animation-delay: 1s;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(20px);
    }
    to { 
        opacity: 1; 
        transform: translateY(0);
    }
}

/* Ajustes responsive para el chatbot */
@media (max-width: 767px) {
    #chatbot-messages {
        height: 200px !important;
    }
    
    .hero-section {
        padding-top: 80px;
        padding-bottom: 80px;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .pricing-section .grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pricing-section .scale-105 {
        transform: scale(1) !important;
    }
}

/* Ajustes para tablets */
@media (min-width: 768px) and (max-width: 1023px) {
    .feature-card {
        padding: 1.75rem;
    }
    
    .pricing-section .grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .pricing-section .grid > div:last-child {
        grid-column: span 2;
    }
}

/* Mejoras de accesibilidad */
button:focus, a:focus, input:focus, select:focus, textarea:focus {
    outline: 2px solid #00d1ff;
    outline-offset: 2px;
}

/* Corrección para el contenedor del chatbot */
.relative {
    position: relative;
}

/* Ajustes para el menú móvil */
#mobile-menu {
    transition: all 0.3s ease;
}