:root {
    --primary-color: #00c6ff;
    --secondary-color: #0072ff;
    --accent-color: #7d56c2;
    --text-color: #333333;
    --light-text: #ffffff;
    --dark-bg: #0f1a2b;
    --dark-bg-lighter: #1a2a41;
    --light-bg: #f8faff;
    --grey-bg: #e9ecf3;
    --border-radius: 12px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --glow-color: rgba(0, 198, 255, 0.6);
    --neon-shadow: 0 0 8px rgba(0, 198, 255, 0.5);
    --tech-gradient: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
}

/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100%; /* Prevenir desbordamiento */
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    overflow-x: hidden; /* Forzar que no haya scroll horizontal */
    width: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fcfdff;
    background-image: 
        radial-gradient(rgba(0, 198, 255, 0.03) 1px, transparent 1px),
        radial-gradient(rgba(0, 114, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: 0 0, 25px 25px;
    overflow-x: hidden; /* Forzar que no haya scroll horizontal */
    width: 100%; /* Asegurarse de que body ocupe todo el ancho disponible pero no más */
    position: relative; /* Para que sea referencia para posicionamiento absoluto */
}

/* Estilos para secciones con scroll-snap para móviles */
@media (max-width: 768px) {
    section {
        /* Eliminamos scroll-snap-align que causa scroll brusco */
        /* scroll-snap-align: start; */
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    /* Desactivamos scroll-snap-type para un scrolling más suave */
    html {
        scroll-behavior: smooth;
        scroll-snap-type: none;
    }
}

body .hero {
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

body .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.1) 0%, rgba(0, 114, 255, 0.1) 100%);
    z-index: 0;
}

body .hero::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230072ff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.2;
    z-index: 0;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 1;
}

/* Botones con estilo tech */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--tech-gradient);
    color: var(--light-text);
    box-shadow: var(--neon-shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 25px rgba(0, 198, 255, 0.4);
}

.btn-primary::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: 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 5px rgba(0, 198, 255, 0.3);
}

.btn-secondary:hover {
    background-color: rgba(0, 198, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(0, 198, 255, 0.5);
}

/* Header con estilo tech */
header {
    background-color: rgba(15, 26, 43, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 198, 255, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(0, 198, 255, 0.5));
}

/* Navegación */
nav {
    display: flex;
    align-items: center;
}

.menu {
    display: flex;
    gap: 20px;
}

.menu a {
    color: var(--light-text);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--border-radius);
    transition: 0.3s;
    position: relative;
}

.menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: var(--primary-color);
    transition: all 0.3s ease-out;
    transform: translateX(-50%);
}

.menu a:hover {
    color: var(--primary-color);
}

.menu a:hover::after {
    width: 70%;
}

.btn-contacto {
    background: var(--tech-gradient);
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 50px !important;
    box-shadow: var(--neon-shadow);
}

.btn-contacto:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 198, 255, 0.4);
    color: white !important;
}

.btn-contacto::after {
    display: none !important; /* Remove underline effect */
}

/* Menú Hamburguesa */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-color);
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    background: var(--text-color);
    transition: var(--transition);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* Hero Section */
.hero {
    padding: 60px 0; /* Reducido de 80px a 60px */
    position: relative;
    overflow: hidden;
    /* Gradiente azul premium */
    background: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%);
    color: white;
    z-index: 1;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    /* Establecemos min-height para evitar saltos durante la carga */
    min-height: 90vh;
}

.hero::before {
    content: '';
    position: absolute;
    top: -5%;
    right: -5%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
    opacity: 0.1;
    z-index: 0;
    animation: floatBubble 20s infinite alternate ease-in-out;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
    opacity: 0.1;
    z-index: 0;
    animation: floatBubble 25s infinite alternate-reverse ease-in-out;
}

/* Hero animaciones de entrada */
.hero .hero-content {
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.8s ease, opacity 0.8s ease;
}

.hero.parallax-active .hero-content {
    transform: translateY(0);
    opacity: 1;
}

/* Importante: mantener margin-top y otros estilos de posicionamiento */
.hero .hero-image {
    order: -1; /* Imagen arriba */
    max-width: 350px; /* Reducido de 400px a 350px para hacerla más pequeña */
    width: 100%;
    margin: 0 auto;
    position: relative;
    transition: transform 0.8s ease, opacity 0.8s ease;
    margin-top: -10px; /* Movemos la imagen un poco hacia arriba */
}

/* Media query para ajustar el tamaño en pantallas más grandes */
@media (min-width: 1200px) {
    .hero-image {
        max-width: 330px; /* Tamaño aún más reducido en pantallas muy grandes, de 380px a 330px */
    }
    
    #xyz-image-container {
        max-width: 330px; /* Limitar también el contenedor de la imagen */
    }
    
    #xyz-image {
        max-width: 100%; /* Garantizar que la imagen respeta el tamaño del contenedor */
        height: auto;
    }
}

/* Hero layout principal - Estructura vertical única */
.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px; /* Reducido de 40px a 20px para acercar elementos */
    padding: 30px 20px; /* Reducido de 60px a 30px en la parte superior */
    position: relative;
    z-index: 2;
    /* Añadimos will-change para mejorar rendimiento */
    will-change: opacity, transform;
}

.hero .container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: -1;
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    text-align: center;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: white !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: white !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Animaciones para hero */
@keyframes gentle-focus {
    from { transform: scale(1); }
    50% { transform: scale(1.03); } /* Reducimos la escala para suavizar */
    to { transform: scale(1); }
}

/* Secciones Generales */
.servicios h2 {
    text-align: center;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
section {
    padding: 80px 0;
}

section h2 {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Servicios */
.servicios {
    background-color: white;
    padding: 100px 0;  /* Más espacio vertical */
}

.servicios h2 {
    margin-bottom: 20px;
    font-size: 2.2rem; /* Cambiado de 2.5rem a 2.2rem para consistencia */
    color: var(--text-color);
    position: relative;
    display: block; /* Cambiado de inline-block a block */
    text-align: center; /* Añadido explícitamente */
    width: 100%; /* Asegurar que ocupe todo el ancho */
}

/* Estilos unificados para todos los títulos de secciones */
section h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-color);
    text-align: center;
    margin-bottom: 15px;
    width: 100%;
    position: relative;
}

/* Línea decorativa debajo del título de servicios */
.servicios h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Estilo para garantizar consistencia en móviles */
@media (max-width: 768px) {
    section h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
        text-align: center;
        width: 100%;
    }
    
    .servicios h2:after {
        width: 60px;
    }
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.servicio-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border-top: 5px solid var(--primary-color);
}

.servicio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.servicio-card.destacado {
    border-top-color: var(--secondary-color);
    position: relative;
    transform: translateY(-10px);
}

.servicio-card.destacado:hover {
    transform: translateY(-15px);
}

.servicio-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(58, 134, 255, 0.1);
    margin-bottom: 20px;
}

.servicio-icon i {
    font-size: 30px;
    color: var(--primary-color);
}

.servicio-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.servicio-card p {
    margin-bottom: 20px;
    color: #666;
}

.servicio-card ul {
    list-style: none;
    padding-left: 0;
}

.servicio-card li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.servicio-card li:before {
    content: "✓";
    color: var(--primary-color);
    margin-right: 10px;
    font-weight: bold;
}

.servicio-card.destacado .servicio-icon {
    background-color: rgba(255, 0, 110, 0.1);
}

.servicio-card.destacado .servicio-icon i {
    color: var(--secondary-color);
}

.servicio-card.destacado li:before {
    color: var(--secondary-color);
}

/* Cómo Funciona */
.como-funciona {
    background-color: var(--light-bg);
}

.pasos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    counter-reset: step-counter;
}

.paso {
    text-align: center;
    padding: 30px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
    transition: var(--transition);
}

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

.paso-numero {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.paso:hover .paso-numero {
    transform: scale(1.1);
    background-color: var(--secondary-color);
}

.paso h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* Ejemplos */
.ejemplos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.ejemplo {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    background-color: white;
}

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

.ejemplo img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ejemplo:hover img {
    transform: scale(1.05);
}

.ejemplo-info {
    padding: 20px;
}

.ejemplo-info h3 {
    margin-bottom: 10px;
}

.ejemplo-info p {
    color: #666;
}

.ver-mas {
    text-align: center;
    margin-top: 30px;
}

/* Estilos para enlaces en los ejemplos */
.ejemplo-link {
    display: block;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    height: 100%;
}

.ejemplo-link:hover .ejemplo-info h3 {
    color: var(--primary-color);
}

.ejemplo-link:hover img {
    transform: scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.ejemplo .fa-external-link-alt {
    font-size: 0.8em;
    opacity: 0.7;
    margin-left: 5px;
    transition: all 0.3s ease;
}

.ejemplo-link:hover .fa-external-link-alt {
    opacity: 1;
    transform: translateY(-2px) translateX(2px);
}

/* Mejora la accesibilidad con enfoque de teclado */
.ejemplo-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 4px;
}

/* Asegura que las imágenes tengan transición suave */
.ejemplo img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Testimonios */
.testimonios {
    background-color: var(--light-bg);
}

.testimonios-slider {
    max-width: 800px;
    margin: 0 auto;
}

.testimonio {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    margin: 20px 0;
    transition: var(--transition);
}

.testimonio:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.testimonio-contenido {
    position: relative;
    padding: 20px 0;
    font-style: italic;
}

.testimonio-contenido:before,
.testimonio-contenido:after {
    content: '"';
    font-size: 4rem;
    position: absolute;
    color: rgba(58, 134, 255, 0.2);
    font-family: Georgia, serif;
}

.testimonio-contenido:before {
    top: -20px;
    left: -10px;
}

.testimonio-contenido:after {
    bottom: -50px;
    right: -10px;
}

.testimonio-autor {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.testimonio-autor img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.testimonio-autor h4 {
    margin-bottom: 5px;
}

.testimonio-autor p {
    color: #666;
    font-size: 0.9rem;
}

/* Contacto */
.contacto .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    overflow: hidden; /* Prevenir desbordamiento */
}

@media (max-width: 992px) {
    .contacto .container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 15px;
        width: 100%;
        max-width: 600px;
    }
    
    .contacto-info {
        text-align: center;
    }
    
    .contacto-info h2 {
        text-align: center;
    }
}

.contacto-info h2 {
    text-align: left;
    margin-bottom: 20px;
}

.contacto-info p {
    margin-bottom: 30px;
    color: #666;
}

.contacto-metodos {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.contacto-metodo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contacto-metodo i {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(58, 134, 255, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.contacto-form {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--box-shadow);
    width: 100%; /* Asegurarse de que el formulario no se desborde */
}

@media (max-width: 576px) {
    .contacto-form {
        padding: 20px;
    }
    
    .contacto .container {
        padding: 0 10px;
        gap: 20px;
    }
}

/* Estilos para elementos del formulario */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: var(--text-color);
    transition: all 0.3s ease;
    background-color: #f8faff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 198, 255, 0.2);
    background-color: #fff;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%233a86ff' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 01.753 1.659l-4.796 5.48a1 1 0 01-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 15px) center;
    padding-right: 40px;
}

.form-group button[type="submit"] {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    background: var(--tech-gradient);
    color: white;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 198, 255, 0.2);
}

.form-group button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 198, 255, 0.3);
}

@media (max-width: 576px) {
    .contacto-form {
        padding: 25px 20px;
    }
    
    .contacto .container {
        padding: 0 10px;
        gap: 20px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 10px 12px;
        font-size: 0.95rem;
    }
}

/* FAQ */
.faq {
    background-color: var(--light-bg);
}

/* FAQ Acordeón - CORREGIDO */
.accordion-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
    padding: 0 20px 20px;
    max-height: 1000px; /* Este valor debe ser suficientemente grande para contener el contenido */
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background-color: white;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.accordion-header:hover {
    background-color: #f9f9f9;
}

.accordion-header .icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header .icon {
    transform: rotate(45deg);
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 20px;
}

.footer-info p {
    margin-bottom: 20px;
    color: #ccc;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-nav h3,
.footer-contacto h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a {
    color: #ccc;
}

.footer-nav a:hover {
    color: white;
}

.footer-contacto p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #ccc;
}

.footer-contacto i {
    margin-right: 10px;
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #999;
}

/* Estilos para la imagen animada */
.animated-image {
    position: relative;
    perspective: 1000px;
    transform-style: preserve-3d;
    z-index: 1;
}

.image-container {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    will-change: transform;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.2);
}

#xyz-image {
    display: block;
    width: 100%;
    height: auto;
    transform: translateZ(0);
    backface-visibility: hidden;
    transition: all 0.3s ease;
}

/* Efecto de brillo */
.glow-effect {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at center,
        rgba(255,255,255,0.4) 0%,
        rgba(255,255,255,0) 70%
    );
    opacity: 0.9;
    transform: rotate(30deg);
    pointer-events: none;
    transition: opacity 0.5s ease;
    z-index: 2;
}

.image-container:hover .glow-effect {
    opacity: 1;
    animation: movingGlow 3s infinite alternate;
}

/* Dots flotantes */
.floating-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 3;
}

.dot {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    z-index: 3;
}

.dot1 {
    top: 15%;
    left: 15%;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    animation: floatingDot 4s infinite alternate ease-in-out;
}

.dot2 {
    bottom: 20%;
    right: 15%;
    width: 8px;
    height: 8px;
    background: var(--secondary-color);
    animation: floatingDot 5s infinite alternate-reverse ease-in-out;
}

.dot3 {
    bottom: 30%;
    left: 25%;
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    animation: floatingDot 3.5s infinite alternate ease-in-out;
}

.dot4 {
    top: 25%;
    right: 20%;
    width: 5px;
    height: 5px;
    background: var(--primary-color);
    opacity: 0.7;
    animation: floatingDot 6s infinite alternate-reverse ease-in-out;
}

.dot5 {
    top: 60%;
    right: 30%;
    width: 7px;
    height: 7px;
    background: var(--secondary-color);
    opacity: 0.8;
    animation: floatingDot 7s infinite alternate ease-in-out;
}

.dot6 {
    top: 40%;
    left: 10%;
    width: 4px;
    height: 4px;
    background: var(--accent-color);
    opacity: 0.7;
    animation: floatingDot 5.5s infinite alternate-reverse ease-in-out;
}

.dot7 {
    bottom: 15%;
    left: 40%;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.8);
    opacity: 0.9;
    animation: floatingDot 4.5s infinite alternate ease-in-out;
}

/* Keyframes para animaciones */
@keyframes floatingDot {
    0% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(10px, -10px) scale(1.2);
    }
    100% {
        transform: translate(-10px, 5px) scale(0.8);
    }
}

@keyframes movingGlow {
    0% {
        transform: rotate(30deg) translate(-30px, -30px);
    }
    100% {
        transform: rotate(30deg) translate(30px, 30px);
    }
}

/* Animación para los elementos flotantes */
@keyframes floatBubble {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(50px, -30px) scale(1.1);
    }
    100% {
        transform: translate(-20px, 40px) scale(0.95);
    }
}

/* Media Queries */
@media (max-width: 992px) {
    .contacto .container {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        z-index: 1000;
    }
    
    .menu {
        position: fixed;
        top: 0;
        right: -100%; /* Esta posición causa que esté fuera de la pantalla pero siga siendo accesible con scroll */
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        padding: 100px 30px 30px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 900;
        transform: translateX(100%); /* Añadimos transform para que esté completamente fuera del viewport */
        visibility: hidden; /* Lo ocultamos completamente cuando no está activo */
    }
    
    .menu.active {
        right: 0;
        transform: translateX(0); /* Regresa a su posición visible */
        visibility: visible; /* Lo hacemos visible cuando está activo */
    }
    
    .menu li {
        margin: 10px 0;
    }
    
    .menu a {
        display: block;
        padding: 10px 0;
        color: var(--text-color); /* Cambiar el color de texto para que sea visible */
    }

    /* Mantener el botón de contacto con su estilo especial */
    .menu a.btn-contacto {
        color: white !important;
        background: var(--tech-gradient);
        text-align: center;
        margin-top: 10px;
    }
    
    .menu-toggle.active .hamburger {
        background: transparent;
    }
    
    .menu-toggle.active .hamburger::before {
        transform: rotate(45deg);
        top: 0;
    }
    
    .menu-toggle.active .hamburger::after {
        transform: rotate(-45deg);
        bottom: 0;
    }
    
    .servicios-grid, .pasos {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero {
        min-height: auto;
        padding: 80px 0 60px; /* Reducido de 100px a 80px */
    }
    
    .hero .container {
        padding: 0 20px;
        gap: 15px; /* Reducido de 30px a 15px */
    }
    
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    /* Ajustamos la imagen para que aparezca correctamente desde el principio */
    .hero-image {
        margin: 0 auto;
        max-width: 85%;
        order: -1; /* Mantener imagen arriba */
        margin-top: -20px; /* Movemos la imagen más arriba en móviles */
        will-change: transform; /* Mejora rendimiento de animaciones */
    }
    
    /* Optimizamos animaciones en móvil para mejor rendimiento */
    .image-container {
        transform: none !important; /* Evitar transformaciones 3D que causan problemas */
    }
    
    /* Reducimos complejidad de animaciones en móvil */
    .floating-dots .dot {
        animation-duration: 4s !important;
        animation-play-state: paused;
        animation-play-state: running;
    }
    
    /* Simplificamos los efectos de brillo para mejor rendimiento */
    .glow-effect {
        opacity: 0.5;
        animation: none;
    }
    
    /* Mejoramos rendimiento para el grid de fondo */
    .tech-grid {
        animation-play-state: paused;
    }
    
    /* Desactivamos efectos parallax en móviles para mejor rendimiento */
    .tech-shape {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    section h2 {
        font-size: 1.8rem;
    }
    
    .contacto-form {
        padding: 30px 20px;
    }
}

/* Animaciones para elementos al hacer scroll */
.fadeIn {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fadeIn.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Clases utilitarias */
.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mt-2 {
    margin-top: 1rem;
}

.d-flex {
    display: flex;
}

.align-center {
    align-items: center;
}

.hero .btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.hero .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ENFOQUE ALTERNATIVO - Si el primero no funciona */
/* Agregar clase específica para hero */
.hero-premium-bg {
    background: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%) !important;
    color: white !important;
}

.seccion-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 300;
}

/* Ajustar márgenes específicamente en dispositivos móviles */
@media (max-width: 768px) {
    .seccion-intro {
        margin-bottom: 30px;
        font-size: 1rem;
    }
}

/* Añadir al final */
h2, h3 {
    transition: color 0.3s ease;
}

section:hover h2 {
    color: var(--primary-color);
}

.servicio-card:hover h3 {
    color: var(--primary-color);
}

/* Animación sutil para los párrafos introductorios */
.seccion-intro {
    position: relative;
    transition: transform 0.3s ease;
}

.seccion-intro:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: rgba(58, 134, 255, 0.3);
    border-radius: 2px;
    transition: width 0.3s ease;
}

section:hover .seccion-intro:after {
    width: 80px;
}

/* Nuevos estilos para la sección de servicios con precios */
/* Estilos de categorías de servicios */
.categoria-servicios {
    margin-bottom: 60px;
}

.categoria-titulo {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--text-color);
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.categoria-titulo:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Grid para las tarjetas de precios */
.servicios-precios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 20px;
}

/* Tarjetas de servicios con precios */
.servicio-precio-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--primary-color);
}

.servicio-precio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.servicio-precio-card h4 {
    font-size: 1.4rem;
    margin: 15px 0 10px;
    color: var(--text-color);
    transition: var(--transition);
}

.servicio-precio-card:hover h4 {
    color: var(--primary-color);
}

.servicio-precio-card p {
    color: #666;
    margin-bottom: 20px;
}

.servicio-precio-card .precio {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 20px 0;
    position: relative;
    display: inline-block;
}

.servicio-precio-card .precio:before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: rgba(58, 134, 255, 0.3);
    border-radius: 2px;
}

.servicio-precio-card .btn {
    margin-top: 15px;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servicio-precio-card .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(58, 134, 255, 0.2);
}

/* Iconos en las tarjetas de precios */
.servicio-precio-card .servicio-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(58, 134, 255, 0.1);
    transition: all 0.3s ease;
}

.servicio-precio-card:hover .servicio-icon {
    background-color: rgba(58, 134, 255, 0.2);
    transform: scale(1.1);
}

.servicio-precio-card .servicio-icon i {
    font-size: 30px;
    color: var(--primary-color);
}

/* Media queries para hacerlo responsivo */
@media (max-width: 992px) {
    .servicios-precios-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .categoria-servicios {
        margin-bottom: 40px;
    }
    
    .categoria-titulo {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }
    
    .servicios-precios-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 576px) {
    .servicio-precio-card {
        padding: 25px 15px;
    }
    
    .servicio-precio-card h4 {
        font-size: 1.3rem;
    }
    
    .servicio-precio-card .precio {
        font-size: 1.6rem;
    }
}

/* Estilos para la página de éxito de pago */
.success-page {
    padding: 80px 0;
    background-color: var(--light-bg);
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.success-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background-color: white;
    border-radius: var(--border-radius);
    padding: 50px 30px;
    box-shadow: var(--box-shadow);
}

.success-icon {
    font-size: 5rem;
    color: #4CAF50;
    margin-bottom: 20px;
    animation: scale-in 0.5s ease;
}

.success-content h1 {
    color: var(--text-color);
    margin-bottom: 20px;
}

.success-content p {
    color: #666;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.success-buttons {
    margin-top: 30px;
}

@keyframes scale-in {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    70% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Estilos para el modal de pago */
.payment-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.payment-modal.active {
    opacity: 1;
    visibility: visible;
}

.payment-modal-content {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.payment-modal.active .payment-modal-content {
    transform: translateY(0);
}

.payment-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
}

.payment-modal-close:hover {
    color: var(--primary-color);
}

.payment-modal h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--text-color);
}

.payment-modal p {
    margin-bottom: 25px;
    color: #666;
}

.payment-modal .btn {
    width: 100%;
}

/* Estilos mejorados para la página de éxito de pago */
/* Estilos base de la página de éxito */
.success-page {
    padding: 80px 0;
    background-color: var(--light-bg);
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.success-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    background-color: white;
    border-radius: var(--border-radius);
    padding: 50px 30px;
    box-shadow: var(--box-shadow);
}

.success-icon {
    font-size: 5rem;
    color: #4CAF50;
    margin-bottom: 20px;
    animation: scale-in 0.5s ease;
}

.error-icon {
    color: #ff3860;
}

.success-content h1 {
    color: var(--text-color);
    margin-bottom: 20px;
}

.success-content p {
    color: #666;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.success-buttons {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
}

@media (max-width: 768px) {
    .success-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Estilos para la sección del ID de transacción */
.success-order-info {
    margin: 25px 0;
    padding: 15px;
    background-color: rgba(58, 134, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(58, 134, 255, 0.2);
}

/* Estilos para instrucciones de OXXO */
.oxxo-info, .spei-info {
    text-align: left;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 20px;
    margin: 25px 0;
    background-color: #f9f9f9;
}

.oxxo-reference, .spei-reference, .spei-bank {
    margin-bottom: 20px;
}

.reference-number {
    font-family: monospace;
    font-size: 1.4rem;
    font-weight: 700;
    padding: 15px;
    border: 2px dashed #3a86ff;
    border-radius: 8px;
    background-color: #f0f7ff;
    word-break: break-all;
    text-align: center;
    margin: 10px 0;
}

.oxxo-instructions h3, .spei-instructions h3 {
    margin-bottom: 15px;
}

.oxxo-instructions ol, .spei-instructions ol {
    padding-left: 20px;
}

.oxxo-instructions li, .spei-instructions li {
    margin-bottom: 10px;
    line-height: 1.5;
}

.oxxo-expiry, .spei-expiry {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
}

.oxxo-expiry p, .spei-expiry p {
    color: #856404;
    margin-bottom: 0;
}

@media (max-width: 576px) {
    .success-content {
        padding: 30px 20px;
    }
    
    .reference-number {
        font-size: 1.2rem;
        padding: 10px;
    }
}

/* Estilos para el modal de error personalizado */
.error-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.error-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.error-modal-content {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-top: 4px solid #ff3860;
}

.error-modal-overlay.active .error-modal-content {
    transform: translateY(0);
}

.error-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.8rem;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.error-modal-close:hover {
    color: #ff3860;
    background-color: rgba(255, 56, 96, 0.1);
}

.error-modal-content h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: #ff3860;
    padding-right: 30px;
}

.error-modal-content p {
    margin-bottom: 25px;
    color: #666;
    line-height: 1.6;
}

/* Estilos para la sección de detalles técnicos */
.error-technical-details {
    background-color: #f8f9fa;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 25px;
    border: 1px solid #eaeaea;
}

.btn-toggle-details {
    background-color: transparent;
    border: none;
    color: #0066cc;
    cursor: pointer;
    padding: 0;
    font-size: 0.9rem;
    text-decoration: underline;
    transition: color 0.2s;
    display: block;
    width: 100%;
    text-align: left;
    margin-bottom: 10px;
}

.btn-toggle-details:hover {
    color: #004c99;
}

.details-content {
    border-top: 1px solid #eaeaea;
    padding-top: 10px;
    margin-top: 5px;
    max-height: 200px;
    overflow-y: auto;
}

.error-info {
    background-color: #1e1e1e;
    color: #f8f8f2;
    padding: 10px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.85rem;
    white-space: pre-wrap;
    word-break: break-word;
    margin: 0;
}

.error-modal-actions {
    display: flex;
    gap: 15px;
}

.error-modal-actions .btn {
    flex: 1;
}

.error-modal-actions .btn-primary {
    background-color: var(--primary-color);
}

.error-modal-actions .btn-secondary {
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
}

.error-modal-actions .btn-secondary:hover {
    background-color: #eaeaea;
    transform: translateY(-3px);
}

@media (max-width: 576px) {
    .error-modal-content {
        padding: 25px 15px;
    }
    
    .error-modal-actions {
        flex-direction: column;
    }
}

/* Estilos para secciones de servicios específicas: Gaming y Servidores */

/* Descripción de categoría */
.categoria-descripcion {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 30px;
    color: #666;
    font-style: italic;
    font-size: 1rem;
}

/* Videojuegos y gaming */
.categoria-videojuegos {
    background: linear-gradient(rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.94)), 
                url('https://images.unsplash.com/photo-1511512578047-dfb367046420?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') center/cover;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}

.categoria-videojuegos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(131, 56, 236, 0.1) 0%, rgba(58, 134, 255, 0.1) 100%);
    z-index: 0;
}

.categoria-videojuegos .categoria-titulo,
.categoria-videojuegos .categoria-descripcion {
    position: relative;
    z-index: 1;
}

.gamedev-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-top-color: #8338ec;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.gamedev-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle at center, 
                               rgba(131, 56, 236, 0.1) 0%, 
                               rgba(131, 56, 236, 0) 60%);
    z-index: -1;
    transition: transform 0.8s ease;
    pointer-events: none;
}

.gamedev-card:hover::before {
    transform: translate(33%, 33%);
}

.gamedev-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(131, 56, 236, 0.15);
}

.gamedev-card .servicio-icon {
    background-color: rgba(131, 56, 236, 0.1);
    transition: all 0.4s ease;
}

.gamedev-card .servicio-icon i {
    color: #8338ec;
    transition: all 0.4s ease;
}

.gamedev-card:hover .servicio-icon {
    background-color: rgba(131, 56, 236, 0.2);
    transform: rotate(15deg) scale(1.2);
}

.game-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(131, 56, 236, 0.9);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
    z-index: 2;
}

.gamedev-card .precio {
    color: #8338ec;
}

.gamedev-card .precio::before {
    background: rgba(131, 56, 236, 0.3);
}

.gamedev-card .btn-primary {
    background-color: #8338ec;
}

.gamedev-card .btn-primary:hover {
    background-color: #7230d1;
    box-shadow: 0 10px 20px rgba(131, 56, 236, 0.2);
}

/* Servidores e infraestructura */
.categoria-servidores {
    background: linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)), 
                url('https://images.unsplash.com/photo-1558494949-ef010cbdcc31?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') center/cover;
    padding: 30px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.categoria-servidores::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.05) 0%, rgba(58, 134, 255, 0.05) 100%);
    z-index: 0;
}

.categoria-servidores .categoria-titulo,
.categoria-servidores .categoria-descripcion {
    position: relative;
    z-index: 1;
}

.server-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-top-color: #ff006e;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

.server-card::after {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    top: -60%;
    left: -10%;
    background-image: 
        linear-gradient(rgba(255, 0, 110, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 0, 110, 0.02) 1px, transparent 1px);
    background-size: 20px 20px;
    transform: rotate(30deg);
    pointer-events: none;
    z-index: 0;
    transition: transform 0.5s ease;
}

.server-card:hover::after {
    transform: rotate(30deg) translateY(10%);
}

.server-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(255, 0, 110, 0.15);
}

.server-card .servicio-icon {
    background-color: rgba(255, 0, 110, 0.1);
    transition: all 0.4s ease;
}

.server-card .servicio-icon i {
    color: #ff006e;
    transition: all 0.4s ease;
}

.server-card:hover .servicio-icon {
    background-color: rgba(255, 0, 110, 0.2);
    transform: rotate(-15deg) scale(1.2);
}

.server-card .precio {
    color: #ff006e;
}

.server-card .precio::before {
    background: rgba(255, 0, 110, 0.3);
}

.server-card .btn-primary {
    background-color: #ff006e;
}

.server-card .btn-primary:hover {
    background-color: #e60063;
    box-shadow: 0 10px 20px rgba(255, 0, 110, 0.2);
}

/* Lista de características */
.features-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    text-align: left;
}

.features-list li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    font-size: 0.9rem;
    color: #666;
}

.features-list li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
}

.gamedev-card .features-list li::before {
    color: #8338ec;
}

.server-card .features-list li::before {
    color: #ff006e;
}

/* Animaciones para elementos */
@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(131, 56, 236, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(131, 56, 236, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(131, 56, 236, 0);
    }
}

.gamedev-card .precio {
    animation: pulseGlow 2s infinite;
}

.server-card .precio {
    animation: pulseGlow 2s infinite;
    animation-delay: 0.5s;
}

@media (max-width: 768px) {
    .categoria-videojuegos,
    .categoria-servidores {
        padding: 20px;
    }
    
    .gamedev-card .features-list,
    .server-card .features-list {
        margin: 10px 0;
    }
    
    .features-list li {
        font-size: 0.85rem;
    }
}

/* Desarrollo Web */
.categoria-web {
    background: linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)), 
                url('https://images.unsplash.com/photo-1498050108023-c5249f4df085?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') center/cover;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}

.categoria-web::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(58, 134, 255, 0.08) 0%, rgba(58, 134, 255, 0.02) 100%);
    z-index: 0;
}

.categoria-web .categoria-titulo,
.categoria-web .categoria-descripcion {
    position: relative;
    z-index: 1;
}

.web-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-top-color: #3a86ff;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

.web-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, 
                               rgba(58, 134, 255, 0.1) 0%, 
                               rgba(58, 134, 255, 0) 70%);
    z-index: -1;
    transition: transform 0.5s ease;
    pointer-events: none;
}

.web-card:hover::before {
    transform: translate(25%, 25%);
}

.web-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(58, 134, 255, 0.15);
}

.web-card .servicio-icon {
    background-color: rgba(58, 134, 255, 0.1);
    transition: all 0.4s ease;
}

.web-card .servicio-icon i {
    color: #3a86ff;
    transition: all 0.4s ease;
}

.web-card:hover .servicio-icon {
    background-color: rgba(58, 134, 255, 0.2);
    transform: scale(1.2);
}

.web-card .precio {
    color: #3a86ff;
}

.web-card .precio::before {
    background: rgba(58, 134, 255, 0.3);
}

.web-card .btn-primary {
    background-color: #3a86ff;
}

.web-card .btn-primary:hover {
    background-color: #2a75ee;
    box-shadow: 0 10px 20px rgba(58, 134, 255, 0.2);
}

/* Soporte Técnico */
.categoria-soporte {
    background: linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)), 
                url('https://images.unsplash.com/photo-1563986768609-322da13575f3?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') center/cover;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}

.categoria-soporte::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.05) 0%, rgba(58, 134, 255, 0.05) 100%);
    z-index: 0;
}

.categoria-soporte .categoria-titulo,
.categoria-soporte .categoria-descripcion {
    position: relative;
    z-index: 1;
}

.soporte-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-top-color: #4CAF50;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

.soporte-card::after {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    top: -75%;
    left: -25%;
    background-image: 
        linear-gradient(rgba(76, 175, 80, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(76, 175, 80, 0.02) 1px, transparent 1px);
    background-size: 20px 20px;
    transform: rotate(15deg);
    pointer-events: none;
    z-index: 0;
    transition: transform 0.5s ease;
}

.soporte-card:hover::after {
    transform: rotate(15deg) translateY(10%);
}

.soporte-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(76, 175, 80, 0.15);
}

.soporte-card .servicio-icon {
    background-color: rgba(76, 175, 80, 0.1);
    transition: all 0.4s ease;
}

.soporte-card .servicio-icon i {
    color: #4CAF50;
    transition: all 0.4s ease;
}

.soporte-card:hover .servicio-icon {
    background-color: rgba(76, 175, 80, 0.2);
    transform: rotate(15deg) scale(1.2);
}

.soporte-card .precio {
    color: #4CAF50;
}

.soporte-card .precio::before {
    background: rgba(76, 175, 80, 0.3);
}

.soporte-card .btn-primary {
    background-color: #4CAF50;
}

.soporte-card .btn-primary:hover {
    background-color: #3d9140;
    box-shadow: 0 10px 20px rgba(76, 175, 80, 0.2);
}

.soporte-card .features-list li::before {
    color: #4CAF50;
}

.web-card .features-list li::before {
    color: #3a86ff;
}

.web-card .precio {
    animation: pulseGlow 2s infinite;
    animation-delay: 0.2s;
}

.soporte-card .precio {
    animation: pulseGlowGreen 2s infinite;
    animation-delay: 0.3s;
}

@keyframes pulseGlowGreen {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

/* Estilos para elementos tecnológicos */
.text-gradient {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    position: relative;
}

.text-gradient::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    opacity: 0.7;
}

/* Tech badge en hero */
.tech-badge {
    display: inline-block;
    background: rgba(0, 198, 255, 0.1);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    border: 1px solid rgba(0, 198, 255, 0.3);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 198, 255, 0.3);
}

.tech-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Particles container */
.tech-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.3;
}

/* Tech Grid en el hero */
.tech-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 198, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 198, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 0;
    animation: gridMove 30s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(30px);
    }
}

/* Formas geométricas tecnológicas */
.tech-shape {
    position: absolute;
    border-radius: 10px;
    z-index: -1;
    opacity: 0.5;
    filter: blur(2px);
}

.shape1 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(0, 198, 255, 0.2), rgba(0, 114, 255, 0.1));
    top: 10%;
    right: -30px;
    transform: rotate(45deg);
    animation: floatShape 8s infinite alternate ease-in-out;
}

.shape2 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(125, 86, 194, 0.2), rgba(0, 198, 255, 0.1));
    bottom: 15%;
    left: -40px;
    transform: rotate(30deg);
    animation: floatShape 10s infinite alternate-reverse ease-in-out;
}

@keyframes floatShape {
    0% {
        transform: rotate(45deg) translate(0, 0);
    }
    50% {
        transform: rotate(60deg) translate(10px, -10px);
    }
    100% {
        transform: rotate(40deg) translate(-10px, 10px);
    }
}

/* Actualización de la sección hero */
.hero {
    background: var(--dark-bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* Actualización del contenedor hero para móviles */
@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        padding: 120px 0 80px;
    }
    
    .hero .container {
        padding: 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-image {
        margin-top: 40px;
    }
}

.categoria-web .categoria-titulo,
.categoria-soporte .categoria-titulo,
.contacto-info h2 {
    text-align: center;
    width: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Específicamente para la sección de contacto */
.contacto-info h2 {
    text-align: center;
    margin-bottom: 20px;
}

/* Ajuste para pantallas pequeñas y medianas */
@media (max-width: 992px) {
    .contacto-info,
    .contacto-info h2,
    .categoria-web .categoria-titulo,
    .categoria-soporte .categoria-titulo {
        text-align: center;
        width: 100%;
    }
}

/* Estilos para carruseles horizontales de servicios */
.servicios-carousel {
    width: 100%;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) rgba(0,0,0,0.1);
    padding: 10px 0 30px;
    position: relative;
    margin-bottom: 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    /* Ocultar scrollbar en Chrome/Safari pero mantener funcionalidad */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.servicios-carousel::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* Efecto de sombra lateral para indicar contenido adicional */
.servicios-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 30px;
    width: 60px;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    pointer-events: none;
    z-index: 2;
}

.servicios-carousel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 30px;
    width: 60px;
    background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
    z-index: 2;
}

/* Contenedor flexible para las tarjetas */
.servicios-precios-flex {
    display: flex;
    gap: 30px;
    padding: 10px 5px;
    min-width: min-content;
    /* Centrado horizontal */
    margin: 0 auto;
    justify-content: center;
}

/* Tarjetas individuales */
.servicios-precios-flex .servicio-precio-card {
    min-width: 300px;
    width: 300px;
    flex-shrink: 0;
    scroll-snap-align: center; /* Cambiado a center para alinear al centro */
    transform-origin: center center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Destacar tarjeta activa/centrada */
.servicios-precios-flex .servicio-precio-card.active {
    transform: scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    z-index: 3;
}

/* Animación de aparición para nuevas tarjetas */
@keyframes peekIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Indicador de desplazamiento más visible */
.scroll-indicator {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 15px;
    padding: 5px 0;
    position: relative;
}

.scroll-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(58, 134, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.scroll-dot::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.scroll-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.3);
}

.scroll-dot.active::after {
    border-color: rgba(58, 134, 255, 0.3);
}

.scroll-dot:hover {
    transform: scale(1.2);
}

/* Indicador visual de desplazamiento */
.scroll-hint {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    animation: bounceHint 2s infinite ease-in-out;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 5;
    opacity: 0.9;
}

@keyframes bounceHint {
    0%, 100% {
        transform: translateY(-50%) translateX(0);
    }
    50% {
        transform: translateY(-50%) translateX(10px);
    }
}

.scroll-hint i {
    color: var(--primary-color);
    font-size: 20px;
}

/* Ocultar indicador después de interacción */
.servicios-carousel.scrolled .scroll-hint {
    animation: fadeOut 0.5s forwards;
    pointer-events: none;
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

/* Adaptación responsiva para móviles */
@media (max-width: 768px) {
    .servicios-precios-flex .servicio-precio-card {
        min-width: 280px;
        width: 280px;
    }
    
    .servicios-carousel::after,
    .servicios-carousel::before {
        width: 40px;
    }
}

/* Controles de navegación para el carrusel */
.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    margin-bottom: 30px;
}

.carousel-control {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.carousel-control:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.carousel-control i {
    font-size: 16px;
}

/* Indicador de deslizamiento */
.scroll-indicator {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 5px;
}

.scroll-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(58, 134, 255, 0.2);
    transition: all 0.3s ease;
}

.scroll-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.3);
}

/* Modificadores específicos para cada categoría */
.categoria-web .carousel-control {
    border-color: #3a86ff;
    color: #3a86ff;
}

.categoria-web .carousel-control:hover {
    background-color: #3a86ff;
    color: white;
}

.categoria-web .scroll-dot.active {
    background-color: #3a86ff;
}

.categoria-soporte .carousel-control {
    border-color: #4CAF50;
    color: #4CAF50;
}

.categoria-soporte .carousel-control:hover {
    background-color: #4CAF50;
    color: white;
}

.categoria-soporte .scroll-dot.active {
    background-color: #4CAF50;
}

.categoria-videojuegos .carousel-control {
    border-color: #8338ec;
    color: #8338ec;
}

.categoria-videojuegos .carousel-control:hover {
    background-color: #8338ec;
    color: white;
}

.categoria-videojuegos .scroll-dot.active {
    background-color: #8338ec;
}

.categoria-servidores .carousel-control {
    border-color: #ff006e;
    color: #ff006e;
}

.categoria-servidores .carousel-control:hover {
    background-color: #ff006e;
    color: white;
}

.categoria-servidores .scroll-dot.active {
    background-color: #ff006e;
}

/* Animación para indicar deslizamiento */
@keyframes slideHint {
    0% {
        transform: translateX(0);
    }
    20% {
        transform: translateX(10px);
    }
    40% {
        transform: translateX(0);
    }
    60% {
        transform: translateX(10px);
    }
    80% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(0);
    }
}

.slide-hint {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
    pointer-events: none;
    animation: slideHint 3s ease-in-out 1s;
    opacity: 0.8;
}

.slide-hint i {
    font-size: 20px;
}

/* Desactivar pista de deslizamiento después de interacción */
.servicios-carousel:hover .slide-hint,
.servicios-carousel:focus .slide-hint,
.servicios-carousel:active .slide-hint {
    display: none;
}

@media (max-width: 768px) {
    .servicios-carousel {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; /* Para mejor desplazamiento en iOS */
    }
    
    .servicios-precios-flex .servicio-precio-card {
        min-width: 260px;
        width: 260px;
    }
    
    .carousel-controls {
        margin-top: 15px;
        margin-bottom: 25px;
    }
}

/* Estilos para la página de error 404 */
.error-container {
    text-align: center;
    padding: 80px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.error-container h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.error-container p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.error-container a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
    transition: var(--transition);
}

.error-container a:hover {
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .error-container {
        padding: 60px 15px;
    }
    
    .error-container h1 {
        font-size: 2rem;
    }
    
    .error-container p {
        font-size: 1rem;
    }
}