/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variables CSS para colores y efectos */
:root {
    --primary-gradient: linear-gradient(135deg, #010516 0%, #000000 100%);
    --secondary-gradient: linear-gradient(135deg, #000000 0%, #000000 100%);
    --accent-gradient: linear-gradient(135deg, #000000 0%, #000000 100%);
    --glass-bg: rgba(255, 255, 255, 0);
    --glass-border: rgba(255, 255, 255, 0);
    --text-primary: #ffffff95;
    --text-secondary: rgba(255, 255, 255, 0.313);
    --shadow-glass: 0 8px 32px 0 rgba(19, 24, 91, 0.37);
    --shadow-hover: 0 15px 35px rgba(31, 38, 135, 0.5);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    min-height: 100vh;
    background: var(--primary-gradient);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: #000000;
}

/* Patrón de fondo animado */
.background-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--primary-gradient);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

.background-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(46, 44, 150, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(189, 69, 139, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(66, 150, 181, 0.2) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    33% {
        transform: translateY(-20px) rotate(1deg);
    }

    66% {
        transform: translateY(10px) rotate(-1deg);
    }
}

/* Contenedor principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    min-height: 100vh;
}

/* Efecto glassmorphism */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-glass);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(255, 255, 255, 0.135);
}

/* Sección Hero */
.hero-section {
    display: flex;
    /* 👈 Esto es clave */
    flex-direction: column;
    justify-content: center;
    /* Centrado vertical */
    align-items: center;
    /* Centrado horizontal */
    text-align: center;

    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0);
    height: 60vh;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.company-title {
    font-size: 3rem;
    font-weight: 500;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

}

.subtitle {
    font-size: 1.2rem;
    font-weight: 200;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Sección de redes sociales */
.social-section {
    text-align: center;
}

.section-title {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    list-style: none;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.social-link:hover::before {
    opacity: 0.2;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.social-link img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    filter: brightness(1.2) invert(80%);
    z-index: 1;
    position: relative;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.social-link:hover img {
    transform: scale(1.1);
    filter: invert(100%) brightness(100%);
}


/* Footer */
.footer {
    text-align: center;
    margin-top: auto;
    padding: 1.5rem;
}

.footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
        gap: 1.5rem;
    }

    .glass-card {
        padding: 1.5rem;
        border-radius: 15px;
    }

    .company-title {
        font-size: 2.2rem;
    }

    .hero-section {
        padding: 2rem 1rem;
    }

    .contact-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .social-links {
        gap: 1.5rem;
    }

    .social-link {
        width: 60px;
        height: 60px;
    }

    .social-link img {
        width: 30px;
        height: 30px;
    }

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

    .logo-img {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .company-title {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .social-links {
        gap: 1rem;
    }

    .social-link {
        width: 55px;
        height: 55px;
    }

    .social-link img {
        width: 28px;
        height: 28px;
    }
}

/* Animaciones de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.glass-card {
    animation: fadeInUp 0.6s ease-out forwards;
}

.glass-card:nth-child(1) {
    animation-delay: 0.1s;
}

.glass-card:nth-child(2) {
    animation-delay: 0.2s;
}

.glass-card:nth-child(3) {
    animation-delay: 0.3s;
}

.glass-card:nth-child(4) {
    animation-delay: 0.4s;
}

/* Efectos de scroll suave */
html {
    scroll-behavior: smooth;
}

/* Mejoras de accesibilidad */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}