* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a0129, #2d1b69, #5d4e75);
    color: white;
    overflow-x: hidden;
    scroll-behavior: smooth;
    cursor: auto;
}

/* Mejoras para evitar deformaciones */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(147, 51, 234, 0.7);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    will-change: transform, opacity;
    backface-visibility: hidden;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 1; }
    50% { transform: translateY(-20px) rotate(180deg); opacity: 0.5; }
}

/* Header con navegación */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 1, 41, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(26, 1, 41, 0.95);
    box-shadow: 0 2px 20px rgba(147, 51, 234, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(45deg, #9333ea, #c084fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Cursor personalizado */
.custom-cursor {
    display: none !important;
}

.custom-cursor.hover {
    transform: scale(2);
    background: linear-gradient(45deg, #c084fc, #e879f9);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #c084fc;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #9333ea, #c084fc);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section - Centrado perfecto */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: linear-gradient(135deg, #1a0129 0%, #2d1b69 50%, #5d4e75 100%);
    z-index: 2;
    padding-top: 0; /* Sin padding extra para centrado perfecto */
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #9333ea, #c084fc, #e879f9);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 5px rgba(147, 51, 234, 0.5)); }
    to { filter: drop-shadow(0 0 20px rgba(147, 51, 234, 0.8)); }
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #9333ea, #c084fc);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(147, 51, 234, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(147, 51, 234, 0.6);
}

/* TODAS las secciones ocupan pantalla completa */
.section {
    min-height: 100vh; /* Altura completa de pantalla */
    padding-top: 80px; /* Solo espacio para navbar fija */
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centrado vertical perfecto */
    align-items: center; /* Centrado horizontal también */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1; /* Ocupa el espacio disponible */
}

.section h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 2rem; /* Reducido para mejor centrado */
    background: linear-gradient(45deg, #9333ea, #c084fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Servicios */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
}

.service-card {
    background: rgba(45, 27, 105, 0.3);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(147, 51, 234, 0.3);
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(147, 51, 234, 0.3);
    border-color: rgba(147, 51, 234, 0.8);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #9333ea, #c084fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Tecnologías - Centrado mejorado */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    max-width: 900px; /* Limitar ancho para mejor centrado */
    margin: 0 auto;
    width: 100%;
}

.tech-item {
    background: rgba(45, 27, 105, 0.4);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(147, 51, 234, 0.3);
}

.tech-item:hover {
    transform: scale(1.05);
    border-color: rgba(147, 51, 234, 0.8);
    box-shadow: 0 10px 30px rgba(147, 51, 234, 0.4);
}

.tech-item h3 {
    color: #c084fc;
    margin-bottom: 0.5rem;
}

/* Paquetes */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.package-card {
    background: rgba(45, 27, 105, 0.3);
    border: 1px solid rgba(147, 51, 234, 0.3);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(147, 51, 234, 0.3);
    border-color: rgba(147, 51, 234, 0.6);
}

.package-card.featured {
    border-color: rgba(147, 51, 234, 0.6);
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(147, 51, 234, 0.4);
}

.package-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(45deg, #9333ea, #c084fc);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(147, 51, 234, 0.4);
}

.package-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(147, 51, 234, 0.2);
}

.package-header h3 {
    color: #c084fc;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.package-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.3rem;
    margin-bottom: 0.5rem;
}

.package-price .currency {
    font-size: 1.2rem;
    color: #9333ea;
}

.package-price .amount {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(45deg, #9333ea, #c084fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.package-price .period {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.package-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.package-features {
    margin-bottom: 1.5rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
}

.feature.disabled {
    color: rgba(255, 255, 255, 0.4);
}

.feature-icon {
    width: 24px;
    height: 24px;
    background: rgba(147, 51, 234, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #10b981;
    flex-shrink: 0;
}

.feature.disabled .feature-icon {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.package-tech {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.package-button {
    display: block;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(45deg, #6b7280, #9ca3af);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.package-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(147, 51, 234, 0.3);
    background: linear-gradient(45deg, #9333ea, #c084fc);
}

.package-button.featured {
    background: linear-gradient(45deg, #9333ea, #c084fc);
    box-shadow: 0 4px 15px rgba(147, 51, 234, 0.4);
}

/* Servicios adicionales */
.additional-services {
    margin-top: 4rem;
    padding: 2rem;
    background: rgba(45, 27, 105, 0.2);
    border-radius: 20px;
    border: 1px solid rgba(147, 51, 234, 0.3);
}

.additional-services h3 {
    text-align: center;
    color: #c084fc;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-item {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(147, 51, 234, 0.2);
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-3px);
    border-color: rgba(147, 51, 234, 0.5);
    box-shadow: 0 10px 25px rgba(147, 51, 234, 0.2);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.service-header h4 {
    color: #c084fc;
    font-size: 1.1rem;
    margin: 0;
}

.service-price {
    background: linear-gradient(45deg, #9333ea, #c084fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
    font-size: 1rem;
}

.service-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
}

.pricing-note {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(147, 51, 234, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(147, 51, 234, 0.3);
}

.pricing-note p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.text-center {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

/* Sobre mí - Centrado perfecto en pantalla completa */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
}

.about-image {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.code-window {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid rgba(147, 51, 234, 0.5);
    font-family: 'Courier New', monospace;
    color: #c084fc;
    overflow: hidden;
    width: 100%;
    max-width: 400px;
    min-height: 250px;
    margin: 0 auto;
    position: relative;
}

.code-line {
    margin: 0.4rem 0;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    height: 1.5em;
}

.code-line::before {
    content: attr(data-text);
    visibility: hidden;
    position: absolute;
    width: 100%;
    height: 100%;
}

.code-line::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    overflow: hidden;
    border-right: 2px solid #c084fc;
    animation: typewriter 4s steps(40) infinite, blink 1s step-end infinite;
}

.code-line:nth-child(1)::after { animation-delay: 0s; }
.code-line:nth-child(2)::after { animation-delay: 0.5s; }
.code-line:nth-child(3)::after { animation-delay: 1s; }
.code-line:nth-child(4)::after { animation-delay: 1.5s; }
.code-line:nth-child(5)::after { animation-delay: 2s; }
.code-line:nth-child(6)::after { animation-delay: 2.5s; }
.code-line:nth-child(7)::after { animation-delay: 3s; }
.code-line:nth-child(8)::after { animation-delay: 3.5s; }

@keyframes typewriter {
    0%, 10% { width: 0; }
    45%, 55% { width: 100%; }
    90%, 100% { width: 0; }
}

@keyframes blink {
    0%, 50% { border-color: #c084fc; }
    51%, 100% { border-color: transparent; }
}

/* Contacto - Centrado perfecto en pantalla completa */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
    width: 100%;
}

.contact-info {
    background: rgba(45, 27, 105, 0.3);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(147, 51, 234, 0.3);
    height: fit-content;
}

.contact-form {
    background: rgba(45, 27, 105, 0.3);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(147, 51, 234, 0.3);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(147, 51, 234, 0.5);
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #9333ea;
    box-shadow: 0 0 10px rgba(147, 51, 234, 0.3);
}

#formMessage {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 10px;
    display: none;
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
.footer {
    background: rgba(26, 1, 41, 0.9);
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(147, 51, 234, 0.3);
    margin-top: 2rem;
}

/* Animación ripple para clicks */
@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .about-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section h2 {
        font-size: 2rem;
    }
    
    /* Mantener centrado perfecto en móviles también */
    .section {
        min-height: 100vh;
        padding-top: 70px; /* Ajuste para navbar en móvil */
    }
    
    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
        gap: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Paquetes responsive */
    .packages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .package-card.featured {
        transform: scale(1);
    }
    
    .services-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .service-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

















.service-icon {
            font-size: 3rem;
            margin-bottom: 1rem;
            background: linear-gradient(45deg, #9333ea, #c084fc);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            display: block;
        }

        .tech-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        .tech-icon {
            font-size: 2.5rem;
            margin-bottom: 0.5rem;
            color: #c084fc;
        }

        /* Ajustar estilos de paquetes */
        .package-price {
            text-align: center;
            margin-bottom: 20px;
        }

        .price-display {
            font-size: 1.5rem;
            color: #c084fc;
            font-weight: bold;
        }

        /* Botón de cotizar */
        .quote-button {
            background: linear-gradient(45deg, #9333ea, #c084fc) !important;
            color: white !important;
            border: none;
            padding: 15px 30px;
            border-radius: 10px;
            font-weight: bold;
            cursor: pointer;
            text-decoration: none;
            display: inline-block;
            text-align: center;
            transition: all 0.3s ease;
            width: 100%;
        }

        .quote-button:hover {
            background: linear-gradient(45deg, #7c2d12, #9333ea) !important;
            transform: translateY(-3px);
        }

        /* Remover etiqueta de oferta */
        .offer-badge {
            display: none;
        }

        /* Servicios adicionales sin precios */
        .service-header {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
        }

        .service-header h4 {
            margin: 0;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .service-header .service-icon-small {
            font-size: 1.5rem;
            color: #c084fc;
        }

        .service-price {
            display: none;
        }

        /* Iconos de características más profesionales */
        .feature-icon {
            width: 20px;
            height: 20px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-right: 10px;
            font-size: 14px;
        }

        .feature-icon.check {
            color: #10b981;
        }

        .feature-icon.cross {
            color: #ef4444;
        }