/* Variables CSS para temas */
:root {
    /* Modo oscuro (por defecto) */
    --bg-primary: #0A0A0A;
    --bg-secondary: #1A1A1A;
    --text-primary: #FFFFFF;
    --text-secondary: #CCCCCC;
    --text-muted: #AAAAAA;
    --accent-primary: #B340FF;
    --accent-secondary: #9CEAE0;
    --accent-tertiary: #CCFF00;
    --border-color: rgba(156, 234, 224, 0.1);
    --card-bg: rgba(156, 234, 224, 0.05);
    --card-hover-bg: rgba(156, 234, 224, 0.1);
}

/* Modo claro */
.light-mode {
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F9FA;
    --text-primary: #1A1A1A;
    --text-secondary: #333333;
    --text-muted: #666666;
    --accent-primary: #B340FF;
    --accent-secondary: #008B7A;
    --accent-tertiary: #A3C900;
    --border-color: rgba(0, 139, 122, 0.2);
    --card-bg: rgba(0, 139, 122, 0.05);
    --card-hover-bg: rgba(0, 139, 122, 0.1);
}

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

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

        /* Header */
        header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1.5rem 5%;
            background-color: var(--bg-primary);
            position: sticky;
            top: 0;
            z-index: 100;
            border-bottom: 1px solid var(--border-color);
            transition: background-color 0.3s ease;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--accent-primary);
        }

        .logo-icon {
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.2rem;
        }

        .logo-image {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            object-fit: cover;
        }

        nav {
            display: flex;
            gap: 2rem;
            align-items: center;
        }

        nav a {
            color: var(--text-primary);
            text-decoration: none;
            font-size: 0.95rem;
            transition: color 0.3s;
        }

        nav a:hover {
            color: var(--accent-secondary);
        }

        .header-buttons {
            display: flex;
            gap: 1rem;
            align-items: center;
        }

        /* Botón de cambio de idioma */
        .language-toggle {
            background: none;
            border: 2px solid var(--accent-primary);
            border-radius: 25px;
            width: 50px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 0.85rem;
            font-weight: 600;
            transition: all 0.3s ease;
            color: var(--accent-primary);
        }

        .language-toggle:hover {
            background-color: var(--accent-primary);
            color: var(--bg-primary);
            transform: scale(1.05);
        }

        /* Botón de tema */
        .theme-toggle {
            background: none;
            border: 2px solid var(--accent-secondary);
            border-radius: 50%;
            width: 45px;
            height: 45px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 1.2rem;
            transition: all 0.3s ease;
            color: var(--accent-secondary);
        }

        .theme-toggle:hover {
            background-color: var(--accent-secondary);
            color: var(--bg-primary);
            transform: rotate(180deg);
        }

        /* Botón menú móvil */
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            color: var(--text-primary);
            cursor: pointer;
            padding: 0.5rem;
        }

        /* Menú móvil */
        .mobile-menu {
            display: none;
            position: fixed;
            top: 80px;
            right: 0;
            width: 100%;
            background-color: var(--bg-primary);
            border-top: 1px solid var(--border-color);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            z-index: 99;
            transform: translateY(-100%);
            transition: transform 0.3s ease;
        }

        .mobile-menu.show {
            transform: translateY(0);
        }

        .mobile-menu nav {
            flex-direction: column;
            padding: 2rem;
            gap: 1.5rem;
        }

        .mobile-menu nav a {
            font-size: 1.1rem;
            padding: 1rem 0;
            border-bottom: 1px solid var(--border-color);
        }

        .btn-login {
            padding: 0.7rem 1.5rem;
            background-color: var(--accent-primary);
            color: #FFFFFF;
            border: none;
            border-radius: 25px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .btn-login:hover {
            background-color: #9D2FE8;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(179, 64, 255, 0.3);
        }

        .btn-primary {
            padding: 0.7rem 1.5rem;
            background-color: var(--accent-tertiary);
            color: var(--bg-primary);
            border: none;
            border-radius: 25px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .btn-primary:hover {
            background-color: #B8E600;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(204, 255, 0, 0.3);
        }

        /* Hero Section */
        .hero {
            display: grid;
            grid-template-columns: 1fr 1fr;
            align-items: center;
            gap: 3rem;
            padding: 5rem 5%;
            min-height: 600px;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -20%;
            width: 600px;
            height: 600px;
            background: radial-gradient(
                circle,
                rgba(179, 64, 255, 0.1) 0%,
                rgba(156, 234, 224, 0.05) 50%,
                transparent 70%
            );
            border-radius: 50%;
            z-index: -1;
            animation: float 6s ease-in-out infinite;
        }

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

        .hero-content h1 {
            font-size: 3.5rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            line-height: 1.2;
        }

        .hero-content p {
            font-size: 1.1rem;
            color: var(--text-secondary);
            margin-bottom: 2rem;
            line-height: 1.8;
        }

        /* Efecto de pulsación en el botón principal del hero */
        .hero .btn-primary {
            animation: pulse 2s ease-in-out infinite;
            box-shadow: 0 0 0 0 rgba(204, 255, 0, 0.4);
        }

        @keyframes pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(204, 255, 0, 0.4);
            }
            70% {
                box-shadow: 0 0 0 15px rgba(204, 255, 0, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(204, 255, 0, 0);
            }
        }

        /* Pausar pulsación en hover */
        .hero .btn-primary:hover {
            animation-play-state: paused;
        }

        .hero-image {
            position: relative;
            width: 100%;
            height: 500px;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(156, 234, 224, 0.2);
            transition: transform 0.3s ease;
        }

        .hero-image::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(
                45deg, 
                rgba(179, 64, 255, 0.3) 0%, 
                rgba(156, 234, 224, 0.2) 50%, 
                rgba(204, 255, 0, 0.1) 100%
            );
            z-index: 1;
            opacity: 0.8;
            transition: opacity 0.3s ease;
        }

        /* Overlay de difuminado radial */
        .hero-image .overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: radial-gradient(
                circle at center,
                transparent 30%,
                rgba(10, 10, 10, 0.4) 100%
            );
            z-index: 2;
            pointer-events: none;
        }

        .hero-image:hover {
            transform: scale(1.02);
        }

        .hero-image:hover::before {
            opacity: 0.6;
        }

        .hero-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: brightness(1.1) contrast(1.2) saturate(1.3);
            transition: filter 0.3s ease;
        }

        .hero-image:hover img {
            filter: brightness(1.2) contrast(1.3) saturate(1.4);
        }

        /* Efecto de brillo en la imagen */
        .hero-image::after {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(
                45deg,
                transparent,
                rgba(255, 255, 255, 0.1),
                transparent
            );
            z-index: 3;
            transform: rotate(45deg);
            animation: shine 3s ease-in-out infinite;
        }

        @keyframes shine {
            0% {
                transform: translateX(-100%) translateY(-100%) rotate(45deg);
            }
            50% {
                transform: translateX(100%) translateY(100%) rotate(45deg);
            }
            100% {
                transform: translateX(-100%) translateY(-100%) rotate(45deg);
            }
        }

        /* Pausar la animación en hover */
        .hero-image:hover::after {
            animation-play-state: paused;
        }

        /* Efecto de partículas flotantes */
        .hero-content::before {
            content: '';
            position: absolute;
            top: 20%;
            left: 10%;
            width: 4px;
            height: 4px;
            background: var(--accent-secondary);
            border-radius: 50%;
            box-shadow: 
                20px 30px 0 var(--accent-primary),
                40px 70px 0 var(--accent-tertiary),
                90px 40px 0 var(--accent-secondary),
                120px 80px 0 var(--accent-primary);
            animation: particles 8s linear infinite;
            opacity: 0.6;
        }

        @keyframes particles {
            0% {
                transform: translateY(0px) rotate(0deg);
                opacity: 0;
            }
            10% {
                opacity: 0.6;
            }
            90% {
                opacity: 0.6;
            }
            100% {
                transform: translateY(-100px) rotate(360deg);
                opacity: 0;
            }
        }

        /* Mejorar el efecto de hover en modo claro */
        .light-mode .hero-image::before {
            background: linear-gradient(
                45deg, 
                rgba(179, 64, 255, 0.2) 0%, 
                rgba(0, 139, 122, 0.15) 50%, 
                rgba(163, 201, 0, 0.1) 100%
            );
        }

        .light-mode .hero-image .overlay {
            background: radial-gradient(
                circle at center,
                transparent 30%,
                rgba(255, 255, 255, 0.3) 100%
            );
        }

        /* Beneficios Section */
        .beneficios {
            padding: 5rem 5%;
            background-color: var(--bg-primary);
        }

        .section-title {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 3rem;
            text-align: left;
        }

        .beneficios-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 3rem;
        }

        .benefit-card {
            display: flex;
            gap: 1.5rem;
            padding: 2rem;
            background-color: var(--card-bg);
            border-radius: 10px;
            border-left: 3px solid var(--accent-secondary);
            transition: transform 0.3s, background-color 0.3s;
        }

        .benefit-card:hover {
            transform: translateX(10px);
            background-color: var(--card-hover-bg);
        }

        .benefit-icon {
            width: 50px;
            height: 50px;
            min-width: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
        }

        .benefit-content h3 {
            font-size: 1.2rem;
            margin-bottom: 0.5rem;
            color: var(--text-primary);
        }

        .benefit-content p {
            font-size: 0.95rem;
            color: var(--text-muted);
        }

        /* Planes Section */
        .planes {
            padding: 5rem 5%;
            background-color: var(--bg-primary);
            text-align: center;
        }

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

        .plan-card {
            background-color: var(--bg-secondary);
            border-radius: 15px;
            padding: 2.5rem;
            border: 1px solid var(--border-color);
            transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
        }

        .plan-card:hover {
            transform: translateY(-10px);
            border-color: var(--accent-secondary);
            box-shadow: 0 20px 40px rgba(156, 234, 224, 0.2);
        }

        .plan-name {
            font-size: 1.3rem;
            color: var(--accent-primary);
            margin-bottom: 1rem;
            font-weight: 600;
        }

        .plan-price {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 2rem;
            color: var(--text-primary);
        }

        .plan-features {
            text-align: left;
            margin-bottom: 2rem;
        }

        .plan-feature {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1rem;
            font-size: 0.95rem;
            color: var(--text-secondary);
        }

        .plan-feature::before {
            content: "✓";
            color: var(--accent-secondary);
            font-weight: 700;
            font-size: 1.2rem;
        }

        /* Sobre Nosotros Section */
        .sobre-nosotros {
            display: grid;
            grid-template-columns: 1fr 1fr;
            align-items: center;
            gap: 3rem;
            padding: 5rem 5%;
            background-color: var(--bg-primary);
        }

        .sobre-content h2 {
            font-size: 2.5rem;
            margin-bottom: 1.5rem;
        }

        .sobre-content p {
            font-size: 0.95rem;
            color: var(--text-secondary);
            margin-bottom: 1.5rem;
            line-height: 1.8;
        }

        .sobre-content strong {
            color: var(--accent-secondary);
        }

        .sobre-image {
            width: 100%;
            height: 400px;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(156, 234, 224, 0.2);
        }

        .sobre-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* Equipo Section */
        .equipo {
            padding: 5rem 5%;
            background-color: var(--bg-primary);
            text-align: center;
        }

        .equipo-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .team-member {
            background-color: var(--bg-secondary);
            border-radius: 15px;
            overflow: hidden;
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .team-member:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
        }

        .team-image {
            width: 100%;
            height: 250px;
            overflow: hidden;
        }

        .team-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .team-info {
            padding: 1.5rem;
        }

        .team-name {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 1rem;
            color: var(--text-primary);
        }

        .team-socials {
            display: flex;
            justify-content: center;
            gap: 1rem;
        }

        .social-icon {
            width: 35px;
            height: 35px;
            border: 2px solid var(--accent-secondary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: background-color 0.3s, color 0.3s, transform 0.3s;
            font-size: 0.8rem;
            color: var(--accent-secondary);
        }

        .social-icon:hover {
            background-color: var(--accent-secondary);
            color: var(--bg-primary);
            transform: scale(1.1);
        }

        /* Footer */
        footer {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 3rem;
            padding: 3rem 5%;
            background-color: var(--bg-primary);
            border-top: 1px solid var(--border-color);
        }

        .footer-section h3 {
            font-size: 1rem;
            margin-bottom: 1rem;
            color: var(--accent-secondary);
        }

        .footer-section p {
            font-size: 0.9rem;
            color: var(--text-muted);
            line-height: 1.8;
        }

        .footer-logo {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 1rem;
        }

        .footer-socials {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
        }

        .footer-social {
            width: 35px;
            height: 35px;
            border: 2px solid var(--accent-secondary);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: background-color 0.3s, transform 0.3s;
            font-size: 0.8rem;
            color: var(--accent-secondary);
        }

        .footer-social:hover {
            background-color: var(--accent-secondary);
            color: var(--bg-primary);
            transform: scale(1.1);
        }

        /* Responsive */
        @media (max-width: 768px) {
            nav {
                display: none;
            }

            .mobile-menu-btn {
                display: block;
            }

            .mobile-menu {
                display: block;
            }

            .header-buttons {
                gap: 0.5rem;
            }

            .language-toggle {
                width: 45px;
                height: 35px;
                font-size: 0.8rem;
            }

            .theme-toggle {
                width: 40px;
                height: 40px;
                font-size: 1rem;
            }

            .hero {
                grid-template-columns: 1fr;
                padding: 3rem 5%;
                gap: 2rem;
            }

            .hero-content h1 {
                font-size: 2rem;
            }

            .hero-image {
                height: 350px;
            }

            /* Reducir efectos en móviles para mejor rendimiento */
            .hero::before {
                width: 300px;
                height: 300px;
                animation-duration: 8s;
            }

            .hero-content::before {
                display: none; /* Ocultar partículas en móviles */
            }

            .hero-image::after {
                animation-duration: 4s; /* Reducir velocidad del brillo */
            }

            .beneficios-grid {
                grid-template-columns: 1fr;
            }

            .benefit-card {
                padding: 1.5rem;
            }

            .planes-grid {
                grid-template-columns: 1fr;
            }

            .sobre-nosotros {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .sobre-image {
                height: 300px;
            }

            .equipo-grid {
                grid-template-columns: 1fr;
            }

            footer {
                grid-template-columns: 1fr;
            }

            .section-title {
                font-size: 2rem;
            }
        }

        @media (max-width: 480px) {
            header {
                padding: 1rem 3%;
            }

            .hero {
                padding: 2rem 3%;
            }

            .beneficios, .planes, .sobre-nosotros, .equipo {
                padding: 3rem 3%;
            }

            .hero-content h1 {
                font-size: 1.5rem;
            }

            .section-title {
                font-size: 1.5rem;
            }

            .plan-card {
                padding: 2rem;
            }

            footer {
                padding: 2rem 3%;
            }
        }