@import 'variables.css';

/* Integraciones Destacadas */
.integration-cards-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem 2.5rem;
    margin: 3rem 0 2rem 0;
}
@media (min-width: 900px) {
    .integration-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.integration-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(157, 78, 221, 0.07), 0 1.5px 6px rgba(80, 36, 122, 0.03);
    padding: 2rem 1.2rem 1.5rem 1.2rem;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.integration-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 32px rgba(157, 78, 221, 0.13), 0 3px 12px rgba(80, 36, 122, 0.07);
}
.integration-logo {
    width: 54px;
    height: 54px;
    margin-bottom: 1.2rem;
    object-fit: contain;
    display: inline-block;
    background: #f8f0ff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(157, 78, 221, 0.07);
}
.stabilityai-logo-custom {
    font-family: 'Poppins', sans-serif;
    font-size: 1.7rem;
    font-weight: 700;
    color: #222;
    background: linear-gradient(90deg, #ffecd2 0%, #fcb69f 100%);
    padding: 0.3rem 0.8rem;
    border-radius: 8px;
    margin-bottom: 1.2rem;
    display: inline-block;
}
.ai-text {
    color: #9d4edd;
    font-weight: 700;
}
.yoast-logo-custom {
    display: inline-block;
    margin-bottom: 1.2rem;
}

/* Estilos del Header */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-icon {
    font-size: 2.5rem;
    margin-right: 0.5rem;
    color: var(--color-primary);
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2d3748;
    letter-spacing: -0.5px;
}

.main-nav {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: #4a5568;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    padding: 0.5rem 0.2rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.5, 1);
    text-shadow: 0 0 5px rgba(0, 0, 0, 0);
}

.nav-link:hover {
    color: #9f7aea;
    text-shadow: 0 0 10px rgba(159, 122, 234, 0.6);
}

/* Se eliminó el subrayado con efecto de gradiente */

.nav-link.active {
    color: #9f7aea;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(159, 122, 234, 0.6);
}

/* Menú hamburguesa */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: var(--color-primary);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Animación del hamburguesa */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Overlay móvil */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

/* Botón CTA en navegación */
.cta-nav {
    background: var(--color-primary);
    color: white !important;
    padding: 0.5rem 1rem !important;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.cta-nav:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
}

/* Efecto de brillo neón al hacer hover */
@keyframes neonPulse {
    0% { text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #9f7aea, 0 0 20px #9f7aea; }
    50% { text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #9f7aea, 0 0 40px #9f7aea; }
    100% { text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #9f7aea, 0 0 20px #9f7aea; }
}

.nav-link:hover {
    animation: neonPulse 1.5s ease-in-out infinite alternate;
}

/* Estilos para el menú de navegación */
.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 1.1rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Botón Menú Móvil */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-text);
    margin: 5px 0;
    transition: 0.3s;
}

/* Buscador */
.search-container {
    position: relative;
    margin-right: 1rem;
}

.search-toggle {
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 1.2rem;
    cursor: pointer;
}

.search-box {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 30px;
    padding: 0.5rem 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1001;
}

.search-box input {
    border: none;
    outline: none;
    padding: 0.5rem;
    width: 200px;
}

.search-submit {
    background: none;
    border: none;
    color: var(--color-primary);
    cursor: pointer;
}

/* Redes Sociales */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: var(--color-text);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--color-primary);
}

/* Menú Móvil */
.mobile-robot,
.mobile-social {
    display: none;
}

/* Estilos para móvil */
@media (max-width: 992px) {
    .menu-toggle {
        display: block;
        z-index: 1002;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background: white;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        padding: 5rem 2rem 2rem;
        z-index: 1001;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .nav-links li {
        margin: 0;
    }
    
    .close-menu {
        position: absolute;
        top: 1.5rem;
        right: 1.5rem;
        background: none;
        border: none;
        font-size: 2rem;
        cursor: pointer;
        color: var(--color-text);
    }
    
    .mobile-robot {
        display: flex;
        justify-content: center;
        margin: 2rem 0;
        font-size: 3rem;
    }
    
    .mobile-social {
        display: flex;
        justify-content: center;
        gap: 1.5rem;
        margin-top: 3rem;
    }
    
    .mobile-social a {
        color: var(--color-text);
        font-size: 1.5rem;
    }
    
    .header-right {
        display: none;
    }
}

/* Estilos generales para secciones */
.section {
    padding: 5rem 0;
    position: relative;
}

.section.bg-light {
    background-color: #f9f7ff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

h2 {
    font-size: 2.5rem;
    color: #2d2d44;
    margin-bottom: 2.5rem;
    text-align: center;
    font-weight: 700;
}

.highlight {
    color: var(--color-primary);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: rgba(157, 78, 221, 0.2);
    z-index: -1;
    border-radius: 5px;
}

/* Estilos de estadísticas - VERSIÓN OPTIMIZADA */
.stats-section {
    background: linear-gradient(135deg, #6e45e2 0%, #9d4edd 100%);
    color: white;
    text-align: center;
    padding: 5rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.stat-item {
    padding: 2.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: white;
    font-family: 'Poppins', sans-serif;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    line-height: 1.4;
}

/* Efecto de brillo al pasar el ratón */
.stat-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.stat-item:hover::after {
    opacity: 1;
}

/* Responsive para estadísticas */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-item {
        padding: 2rem 1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 640px) {
    .stats-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .stat-item {
        padding: 1.8rem 1rem;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
}

/* Estilos de la sección de problemas */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.problem-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.problem-card h3 {
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.checklist {
    list-style: none;
    padding: 0;
}

.checklist li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

/* Estilos de características */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid #eee;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(157, 78, 221, 0.1);
}


.feature-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    background: rgba(157, 78, 221, 0.1);
    border-radius: 50%;
}

.feature-card h3 {
    color: #2d2d44;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-image {
    margin-top: 1.5rem;
    text-align: center;
}

.feature-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-image img {
    transform: scale(1.05);
}

/* Estilos de beneficios */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.benefit-item i {
    color: var(--color-primary);
    font-size: 1.5rem;
    margin-top: 0.3rem;
}



/* Estilos de testimonios - Carrusel */
.testimonials-carousel {
    position: relative;
    margin-top: 3rem;
    overflow: hidden;
    padding: 0 2rem;
}

.carousel-container {
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    max-width: 1200px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 2rem;
    width: 100%;
}

.testimonial-card {
    flex: 0 0 calc(33.333% - 1.33rem);
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 300px;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    font-style: italic;
}

.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: #555;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 600;
    color: #2d2d44;
}

.testimonial-author i {
    color: var(--color-primary);
    font-size: 1.2rem;
}

/* Estilos para estrellas de valoración */
.stars {
    margin-bottom: 0.5rem;
}

.stars i {
    color: #ffd700;
    font-size: 1rem;
    margin-right: 2px;
}

/* Estilos para avatares de testimonios */
.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
    border: 2px solid var(--color-primary);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--color-text);
    font-size: 1rem;
}

.author-title {
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-top: 2px;
}

/* Controles del carrusel */
.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    gap: 2rem;
}

.carousel-btn {
    background: var(--color-primary);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.carousel-btn:hover {
    background: var(--color-primary-dark);
    transform: scale(1.1);
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: background 0.3s ease;
}

.dot.active {
    background: var(--color-primary);
}

.dot:hover {
    background: var(--color-primary-light);
}

/* Responsive para carrusel */
@media (max-width: 1024px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 1rem);
        min-width: 280px;
    }
    
    .carousel-track {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .testimonial-card {
        flex: 0 0 100%;
        min-width: 100%;
    }
    
    .carousel-track {
        gap: 1rem;
    }
    
    .carousel-controls {
        gap: 1rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .testimonials-carousel {
        padding: 0 1rem;
    }
}

/* Estilos de CTA */
.cta-section {
    text-align: center;
    background: linear-gradient(135deg, #6e45e2 0%, #88d3ce 100%);
    color: white;
    padding: 5rem 2rem;
}

.cta-section h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-text {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: white;
    color: var(--color-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.cta-note {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
}

.app-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Encabezado */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: relative;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-icon {
    background: linear-gradient(135deg, #6e45e2 0%, #9d4edd 100%);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 1rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 2px 10px rgba(110, 69, 226, 0.2);
}





/* Se eliminó el efecto de subrayado del logo */

/* Sección de Integraciones */
.integrations-section {
    background-color: #f8f9ff;
    padding: 5rem 0;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #2d3748;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #718096;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}







.nav-link {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

/* Hero Section */
.hero {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #2d3436;
}

.highlight {
    color: var(--color-primary);
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 5px;
    width: 100%;
    height: 8px;
    background-color: var(--color-primary-light);
    opacity: 0.3;
    z-index: -1;
    border-radius: 4px;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
    max-width: 500px;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn {
    padding: 0.8rem 1.8rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: white;
    box-shadow: 0 4px 15px rgba(157, 78, 221, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(157, 78, 221, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
    background-color: rgba(157, 78, 221, 0.05);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.neon-box {
    width: 400px;
    height: 400px;
    background: linear-gradient(45deg, #f8f0ff, #f0e5ff);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.robot-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 100%;
}

.robot-icon {
    font-size: 10rem;
    color: var(--color-primary);
    text-shadow: 0 0 20px rgba(157, 78, 221, 0.6);
    animation: float 3s ease-in-out infinite;
    opacity: 1 !important; /* Aseguramos que siempre sea visible */
}

.robot-greeting {
    position: absolute;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    background-color: var(--color-primary);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    opacity: 0;
    animation: 
        fadeInOut 6s ease-in-out infinite;
    animation-delay: 1.5s;
    box-shadow: 0 4px 15px rgba(157, 78, 221, 0.4);
    top: 20px;
    white-space: nowrap;
    transform-origin: center bottom;
}

/* Triángulo del globo de diálogo */
.robot-greeting::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px 10px 0;
    border-style: solid;
    border-color: var(--color-primary) transparent transparent;
}

@keyframes float {
    0% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0) rotate(-5deg); }
}

@keyframes fadeInOut {
    0% { 
        opacity: 0;
        transform: translateY(10px) scale(0.9);
    }
    10% { 
        opacity: 1;
        transform: translateY(0) scale(1.1);
    }
    20% { 
        transform: translateY(0) scale(1);
    }
    80% { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    90% { 
        transform: translateY(0) scale(1.1);
    }
    100% { 
        opacity: 0;
        transform: translateY(10px) scale(0.9);
    }
}

.neon-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--color-primary), #c77dff, var(--color-primary));
    z-index: -1;
    border-radius: 22px;
    animation: neon 3s linear infinite;
    filter: blur(8px);
    opacity: 0.7;
}

@keyframes neon {
    0% { opacity: 0.6; }
    50% { opacity: 0.9; }
    100% { opacity: 0.6; }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero {
        flex-direction: row;
        text-align: left;
        padding: 4rem 2rem;
    }
    
    .hero-content {
        max-width: 50%;
        margin-bottom: 0;
    }
    
    .title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        margin: 0 0 2rem;
    }
    
    .cta-buttons {
        justify-content: flex-start;
    }
    
    .neon-box {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .main-header {
        flex-direction: row;
        gap: 0;
        padding: 1rem;
    }
    
    /* Mostrar menú hamburguesa */
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Ocultar navegación normal */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 80px 2rem 2rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav .nav-link {
        margin: 1rem 0;
        font-size: 1.2rem;
        padding: 0.8rem 0;
        border-bottom: 1px solid #eee;
        width: 100%;
    }
    
    .main-nav .nav-link:last-child {
        border-bottom: none;
    }
    
    /* Mostrar overlay cuando menú está activo */
    .mobile-overlay.active {
        display: block;
    }
    
    /* Hero section para móvil */
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }
    
    .hero-content {
        max-width: 100%;
        margin-bottom: 2rem;
    }
    
    .title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
        margin: 0 auto 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 250px;
    }
    
    .neon-box {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 480px) {
    .main-nav {
        width: 100%;
        right: -100%;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
    
    .logo-icon {
        font-size: 1.8rem;
    }
}

/* Footer Responsive */
@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-section:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 3rem 0 2rem 0;
    }
    
    .footer-content {
        padding: 0 1rem;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .newsletter-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .newsletter-input-group {
        width: 100%;
    }
    
    .newsletter-input-group input {
        min-width: auto;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 1rem;
    }
    
    .legal-links {
        justify-content: center;
    }
    
    .footer-badges {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-main {
        gap: 1.5rem;
    }
    
    .newsletter-section {
        padding: 1.5rem;
    }
    
    .legal-links {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-badges {
        flex-direction: column;
        align-items: center;
    }
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 4rem 0 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Sección Principal */
.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section:first-child {
    grid-column: 1;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem;
}

.footer-logo .logo-icon {
    background: var(--color-primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.footer-logo .logo-text {
    font-size: 24px;
    font-weight: 600;
    color: white;
}

.footer-description {
    color: #b8b9c3;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(157, 78, 221, 0.3);
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #b8b9c3;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--color-primary-light);
}

/* Newsletter Section */
.newsletter-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.newsletter-text h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.newsletter-text p {
    color: #b8b9c3;
    font-size: 0.95rem;
    margin: 0;
}

.newsletter-form {
    flex-shrink: 0;
}

.newsletter-input-group {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.newsletter-input-group input {
    background: transparent;
    border: none;
    padding: 12px 20px;
    color: white;
    font-size: 0.95rem;
    flex: 1;
    min-width: 250px;
}

.newsletter-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-input-group input:focus {
    outline: none;
}

.newsletter-input-group button {
    background: var(--color-primary);
    border: none;
    padding: 12px 20px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.newsletter-input-group button:hover {
    background: var(--color-primary-dark);
    transform: scale(1.05);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-legal p {
    color: #b8b9c3;
    font-size: 0.9rem;
    margin: 0;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.legal-links a {
    color: #b8b9c3;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: var(--color-primary-light);
}

.footer-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #b8b9c3;
    backdrop-filter: blur(10px);
}

.badge i {
    color: var(--color-primary-light);
    font-size: 0.9rem;
}