/* Agrega estas correcciones a tu CSS existente */

/* Corrige el problema de los botones no clickeables */
.package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.1), rgba(15, 15, 26, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none; /* ESTA LÍNEA ES CRUCIAL */
    z-index: 1;
}

/* Asegura que el botón sea clickeable */
.package-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #1a1a2e, #0f0f1a);
    color: white !important;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 10; /* Z-index alto para estar por encima */
    cursor: pointer;
    border: none;
    box-sizing: border-box;
}

.package-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(26, 26, 46, 0.3);
    background: linear-gradient(45deg, #0f0f1a, #1a1a2e);
    color: white !important;
}

.package-button:active {
    transform: translateY(0px);
    box-shadow: 0 5px 15px rgba(26, 26, 46, 0.2);
}

/* Asegura que otros elementos tengan z-index apropiado */
.package-title,
.package-description,
.package-price,
.package-features {
    position: relative;
    z-index: 5;
}

/* También corrige para las tarjetas de servicios si tienen el mismo problema */
.service-card::before {
    pointer-events: none;
    z-index: 1;
}
* {
            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: #1a1a2e;
            background: #ffffff;
            overflow-x: hidden;
        }

        /* Animated Background */
        .animated-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #ffffff 0%, #ffffff 25%, #ffffff 50%, #ffffff 75%, #ffffff 100%);
            background-size: 400% 400%;
            animation: gradientShift 15s ease infinite;
            z-index: -2;
        }

        .tech-grid {
            display: none;
        }

        /* Floating Particles */
        .particle {
            position: absolute;
            width: 2px;
            height: 2px;
            background: #1a1a2e;
            border-radius: 50%;
            animation: float 6s ease-in-out infinite;
        }

        .particle:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
        .particle:nth-child(2) { top: 40%; left: 80%; animation-delay: 2s; }
        .particle:nth-child(3) { top: 60%; left: 30%; animation-delay: 4s; }
        .particle:nth-child(4) { top: 80%; left: 70%; animation-delay: 6s; }
        .particle:nth-child(5) { top: 30%; left: 60%; animation-delay: 8s; }

        /* Header */
        .header {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(26, 26, 46, 0.1);
            z-index: 1000;
            transition: all 0.3s ease;
        }

        .nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        .logo {
            font-size: 1.8rem;
            font-weight: 700;
            color: #1a1a2e;
            text-decoration: none;
            letter-spacing: -0.5px;
            text-shadow: 0 0 10px rgba(26, 26, 46, 0.3);
            transition: all 0.3s ease;
        }

        .logo:hover {
            text-shadow: 0 0 20px rgba(26, 26, 46, 0.6);
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 2rem;
        }




        /* Hero Section */
        .hero {
            height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }

        .hero-content {
            display: grid;
            grid-template-columns: 1fr auto;
            align-items: center;
            gap: 4rem;
            z-index: 2;
            position: relative;
            max-width: 1200px;
            padding: 0 2rem;
        }

        .hero-text {
            text-align: left;
        }

        /* Tolito Mascot */
        .mascot-container {
            position: relative;
            width: 300px;
            height: 300px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .tolito {
            width: 200px;
            height: 200px;
            position: relative;
            z-index: 10;
            filter: drop-shadow(0 10px 30px rgba(26, 26, 46, 0.3));
            animation: mascotFloat 4s ease-in-out infinite;
        }

        /* Tech Circuit Animation around Tolito */
        .circuit-ring {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            border: none;
            border-radius: 50%;
        }

        /* Pulsing Stars */
        .pulsing-star {
            position: absolute;
            font-size: 1.5rem;
            color: #1a1a2e;
            animation: starPulse 2s ease-in-out infinite;
        }

        .pulsing-star:nth-child(1) {
            top: 10%;
            right: 20%;
            animation-delay: 0s;
        }

        .pulsing-star:nth-child(2) {
            bottom: 15%;
            left: 25%;
            animation-delay: 0.5s;
        }

        .pulsing-star:nth-child(3) {
            top: 30%;
            left: 10%;
            animation-delay: 1s;
        }

        .pulsing-star:nth-child(4) {
            bottom: 30%;
            right: 15%;
            animation-delay: 1.5s;
        }

        .pulsing-star:nth-child(5) {
            top: 60%;
            right: 30%;
            animation-delay: 2s;
        }

        .pulsing-star:nth-child(6) {
            bottom: 50%;
            left: 15%;
            animation-delay: 2.5s;
        }

        /* Data Flow Lines */
        .data-flow {
            position: absolute;
            width: 2px;
            height: 40px;
            background: linear-gradient(180deg, transparent, #1a1a2e, transparent);
            animation: dataStream 3s ease-in-out infinite;
        }

        .data-flow:nth-child(8) {
            top: 5%;
            left: 30%;
            transform: rotate(45deg);
            animation-delay: 0s;
        }

        .data-flow:nth-child(9) {
            bottom: 10%;
            right: 25%;
            transform: rotate(-45deg);
            animation-delay: 1s;
        }

        .data-flow:nth-child(10) {
            top: 40%;
            right: 5%;
            transform: rotate(90deg);
            animation-delay: 2s;
        }

        .hero-title {
            font-size: clamp(2.5rem, 5vw, 4rem);
            font-weight: 700;
            margin-bottom: 1.5rem;
            line-height: 1.2;
            background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1a 50%, #050508 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            opacity: 0;
            animation: titleReveal 2s ease 0.5s forwards;
        }

        .hero-subtitle {
            font-size: clamp(1.1rem, 2vw, 1.3rem);
            margin-bottom: 3rem;
            color: #4a4a5e;
            opacity: 0;
            animation: fadeInUp 1.5s ease 1s forwards;
        }

        .cta-button {
            display: inline-block;
            padding: 1.2rem 3rem;
            background: linear-gradient(45deg, #1a1a2e, #0f0f1a);
            color: white;
            text-decoration: none;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1.1rem;
            border: 2px solid transparent;
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
            opacity: 0;
            animation: buttonReveal 1.5s ease 1.5s forwards;
        }

        .cta-button::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s ease;
        }

        .cta-button:hover::before {
            left: 100%;
        }

        .cta-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgba(26, 26, 46, 0.4);
            border-color: #1a1a2e;
        }

        /* Tech Elements */
        .tech-element {
            position: absolute;
            font-size: 2rem;
            opacity: 0.1;
            animation: techFloat 8s ease-in-out infinite;
            color: #1a1a2e;
        }

        .tech-element:nth-child(1) { top: 15%; left: 10%; animation-delay: 0s; }
        .tech-element:nth-child(2) { top: 25%; right: 15%; animation-delay: 2s; }
        .tech-element:nth-child(3) { bottom: 30%; left: 20%; animation-delay: 4s; }
        .tech-element:nth-child(4) { bottom: 20%; right: 25%; animation-delay: 6s; }

        /* Services Section */
        .services {
            padding: 8rem 5%;
            background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 50%, #ffffff 100%);
            position: relative;
        }

        /* Packages Section */
        .packages {
            padding: 8rem 5%;
            background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 50%, #e8ecff 100%);
            position: relative;
        }

        .packages-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2.5rem;
            margin-top: 4rem;
        }

        .package-card {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 255, 0.9) 100%);
            padding: 3rem 2rem;
            border-radius: 20px;
            border: 1px solid rgba(26, 26, 46, 0.2);
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
            backdrop-filter: blur(10px);
            text-align: center;
            opacity: 0;
            animation: cardReveal 0.8s ease forwards;
        }

        .package-card:nth-child(1) { animation-delay: 0.1s; }
        .package-card:nth-child(2) { animation-delay: 0.3s; }
        .package-card:nth-child(3) { animation-delay: 0.5s; }

        .package-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(26, 26, 46, 0.1), rgba(15, 15, 26, 0.05));
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .package-card:hover::before {
            opacity: 1;
        }

        .package-card:hover {
            transform: translateY(-15px) scale(1.02);
            box-shadow: 0 25px 50px rgba(26, 26, 46, 0.3);
            border-color: rgba(26, 26, 46, 0.5);
        }

        .package-title {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: #1a1a2e;
        }

        .package-description {
            color: #4a4a5e;
            line-height: 1.6;
            font-size: 1rem;
            margin-bottom: 2rem;
        }

        .package-price {
            font-size: 2.5rem;
            font-weight: 700;
            color: #1a1a2e;
            margin-bottom: 2rem;
        }

        .package-features {
            list-style: none;
            margin-bottom: 2rem;
            text-align: left;
        }

        .package-features li {
            padding: 0.5rem 0;
            color: #4a4a5e;
            position: relative;
            padding-left: 2rem;
        }

        .package-features li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: #1a1a2e;
            font-weight: bold;
        }

        .package-button {
            display: inline-block;
            padding: 1rem 2rem;
            background: linear-gradient(45deg, #1a1a2e, #0f0f1a);
            color: white;
            text-decoration: none;
            border-radius: 50px;
            font-weight: 600;
            transition: all 0.3s ease;
            width: 100%;
            text-align: center;
        }

        .package-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(26, 26, 46, 0.3);
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
        }

        .section-title {
            text-align: center;
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 4rem;
            background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1a 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            position: relative;
            opacity: 0;
            animation: fadeInUp 1s ease forwards;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background: linear-gradient(90deg, #1a1a2e, #0f0f1a);
            border-radius: 2px;
            box-shadow: 0 0 10px rgba(26, 26, 46, 0.5);
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 2.5rem;
            margin-top: 4rem;
        }

        .service-card {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(248, 249, 255, 0.8) 100%);
            padding: 3rem;
            border-radius: 20px;
            border: 1px solid rgba(26, 26, 46, 0.2);
            transition: all 0.4s ease;
            position: relative;
            overflow: hidden;
            backdrop-filter: blur(10px);
            opacity: 0;
            animation: cardReveal 0.8s ease forwards;
        }

        .service-card:nth-child(1) { animation-delay: 0.1s; }
        .service-card:nth-child(2) { animation-delay: 0.2s; }
        .service-card:nth-child(3) { animation-delay: 0.3s; }
        .service-card:nth-child(4) { animation-delay: 0.4s; }
        .service-card:nth-child(5) { animation-delay: 0.5s; }
        .service-card:nth-child(6) { animation-delay: 0.6s; }

        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(26, 26, 46, 0.1), rgba(15, 15, 26, 0.05));
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .service-card:hover::before {
            opacity: 1;
        }

        .service-card:hover {
            transform: translateY(-15px) scale(1.02);
            box-shadow: 0 25px 50px rgba(26, 26, 46, 0.3);
            border-color: rgba(26, 26, 46, 0.5);
        }

        .service-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, #1a1a2e, #0f0f1a);
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 2rem;
            color: white;
            font-size: 2rem;
            box-shadow: 0 10px 30px rgba(26, 26, 46, 0.3);
            transition: all 0.3s ease;
        }

        .service-card:hover .service-icon {
            transform: scale(1.1) rotate(5deg);
            box-shadow: 0 15px 40px rgba(26, 26, 46, 0.5);
        }

        .service-title {
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 1.5rem;
            color: #1a1a2e;
        }

        .service-description {
            color: #4a4a5e;
            line-height: 1.7;
            font-size: 1.1rem;
        }

        /* Stats Section */
        .stats {
            padding: 6rem 5%;
            background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 50%, #e8ecff 100%);
            position: relative;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 3rem;
            text-align: center;
        }

        .stat-item {
            padding: 2.5rem;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 249, 255, 0.9));
            border-radius: 20px;
            border: 1px solid rgba(26, 26, 46, 0.2);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .stat-item::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(26, 26, 46, 0.1), transparent);
            transition: left 0.5s ease;
        }

        .stat-item:hover::before {
            left: 100%;
        }

        .stat-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(26, 26, 46, 0.3);
        }

        .stat-number {
            font-size: 3.5rem;
            font-weight: 700;
            color: #1a1a2e;
            margin-bottom: 1rem;
            text-shadow: 0 0 20px rgba(26, 26, 46, 0.5);
        }

        .stat-label {
            font-size: 1.2rem;
            color: #1a1a2e;
            font-weight: 500;
        }

        /* Footer */
        .footer {
            background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1a 100%);
            border-top: 1px solid rgba(26, 26, 46, 0.2);
            color: white;
            padding: 4rem 5%;
            text-align: center;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
        }

        .footer-links {
            display: flex;
            justify-content: center;
            gap: 3rem;
            margin-bottom: 2rem;
            flex-wrap: wrap;
        }

        .footer-links a {
            color: #b0b0b0;
            text-decoration: none;
            transition: all 0.3s ease;
            padding: 0.5rem 1rem;
            border-radius: 8px;
        }

        .footer-links a:hover {
            color: #ffffff;
            background: rgba(255, 255, 255, 0.1);
            box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
        } ease;
            padding: 0.5rem 1rem;
            border-radius: 8px;
        }

        .footer-links a:hover {
            color: #00bfff;
            background: rgba(0, 191, 255, 0.1);
            box-shadow: 0 0 15px rgba(0, 191, 255, 0.2);
        }

        /* Animations */
        @keyframes starPulse {
            0%, 100% { 
                transform: scale(1) rotate(0deg); 
                opacity: 0.6;
                text-shadow: 0 0 5px rgba(26, 26, 46, 0.3);
            }
            50% { 
                transform: scale(1.3) rotate(180deg); 
                opacity: 1;
                text-shadow: 0 0 15px rgba(26, 26, 46, 0.6);
            }
        }

        @keyframes mascotFloat {
            0%, 100% { 
                transform: translateY(0px) rotate(0deg); 
            }
            50% { 
                transform: translateY(-15px) rotate(1deg); 
            }
        }

        @keyframes nodePulse {
            0%, 100% { 
                transform: scale(1); 
                box-shadow: 0 0 10px rgba(26, 26, 46, 0.5);
            }
            50% { 
                transform: scale(1.3); 
                box-shadow: 0 0 20px rgba(26, 26, 46, 0.8);
            }
        }

        @keyframes dataStream {
            0% { 
                opacity: 0; 
                transform: translateY(-20px) scale(1, 0);
            }
            50% { 
                opacity: 1; 
                transform: translateY(0px) scale(1, 1);
            }
            100% { 
                opacity: 0; 
                transform: translateY(20px) scale(1, 0);
            }
        }

        @keyframes gradientShift {
            0%, 100% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
        }

        @keyframes gridMove {
            0% { transform: translate(0, 0); }
            100% { transform: translate(50px, 50px); }
        }

        @keyframes titleReveal {
            from {
                opacity: 0;
                transform: translateY(50px) scale(0.8);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        @keyframes buttonReveal {
            from {
                opacity: 0;
                transform: translateY(30px) scale(0.8);
            }
            to {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
        }

        @keyframes cardReveal {
            from {
                opacity: 0;
                transform: translateY(50px) rotateX(30deg);
            }
            to {
                opacity: 1;
                transform: translateY(0) rotateX(0deg);
            }
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-30px) rotate(180deg); }
        }

        @keyframes techFloat {
            0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.1; }
            50% { transform: translateY(-20px) rotate(180deg); opacity: 0.3; }
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        }

        /* Responsive */
        @media (max-width: 1024px) {
            .hero-content {
                grid-template-columns: 1fr;
                text-align: center;
                gap: 3rem;
            }

            .hero-text {
                text-align: center;
            }
            
            .mascot-container {
                width: 250px;
                height: 250px;
                margin: 0 auto;
            }

            .services-grid {
                grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            }

            .packages-grid {
                grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            }
        }

        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }
            
            .hero {
                height: auto;
                min-height: 100vh;
                padding: 2rem 0;
            }

            .hero-content {
                margin-top: 100px;
                grid-template-columns: 1fr;
                text-align: center;
                gap: 2rem;
                padding: 0 1rem;
            }

            .hero-text {
                text-align: center;
            }
            
            .mascot-container {
                width: 200px;
                height: 200px;
                margin: 0 auto;
            }

            .tolito {
                width: 150px;
                height: 150px;
            }

            .pulsing-star {
                font-size: 1.2rem;
            }
            
            .hero-title {
                font-size: 2rem;
                margin-bottom: 1rem;
            }

            .hero-subtitle {
                font-size: 1rem;
                margin-bottom: 2rem;
            }

            .cta-button {
                padding: 1rem 2rem;
                font-size: 1rem;
            }
            
            .services-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .service-card {
                padding: 2rem;
            }

            .packages-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .package-card {
                padding: 2rem 1.5rem;
            }
            
            .stats-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 1.5rem;
            }

            .stat-item {
                padding: 2rem 1rem;
            }

            .stat-number {
                font-size: 2.5rem;
            }
            
            .footer-links {
                flex-direction: column;
                gap: 1rem;
            }

            .section-title {
                font-size: 2rem;
                margin-bottom: 2rem;
            }

            .services, .packages, .stats {
                padding: 4rem 5%;
            }
        }

        @media (max-width: 480px) {
            .hero-content {
                padding: 0 0.5rem;
            }

            .mascot-container {
                width: 180px;
                height: 180px;
            }

            .tolito {
                width: 120px;
                height: 120px;
            }

            .hero-title {
                font-size: 1.8rem;
            }

            .hero-subtitle {
                font-size: 0.9rem;
            }

            .service-card, .package-card {
                padding: 1.5rem;
            }

            .stats-grid {
                grid-template-columns: 1fr;
            }

            .stat-number {
                font-size: 2rem;
            }

            .section-title {
                font-size: 1.8rem;
            }
        }

        /* Scrollbar */
        ::-webkit-scrollbar {
            width: 8px;
        }

        ::-webkit-scrollbar-track {
            background: #ffffff;
        }

        ::-webkit-scrollbar-thumb {
            background: linear-gradient(135deg, #1a1a2e, #0f0f1a);
            border-radius: 4px;
        }

        ::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(135deg, #0f0f1a, #1a1a2e);
        }