/* Variables CSS */
:root {
    --blue-primary: #1e3a5f;
    --blue-secondary: #3d5a80;
    --blue-light: #5d7a9f;
    --gray: #9ca3af;
    --gray-light: #d1d5db;
    --bg-color: #fafbfc;
    --white: #ffffff;
}

/* Reset básico */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body */
body {
    font-family: 'Nunito', sans-serif;
    background-color: var(--bg-color);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Contenedor de formas animadas */
.shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* Formas base */
.shape {
    position: absolute;
    border-radius: 50%;
}

/* Círculos rellenos */
.circle-1 {
    width: 300px;
    height: 300px;
    background: var(--blue-secondary);
    opacity: 0.04;
    top: -100px;
    right: -50px;
    animation: float1 20s ease-in-out infinite;
}

.circle-2 {
    width: 200px;
    height: 200px;
    background: var(--blue-primary);
    opacity: 0.05;
    bottom: 10%;
    left: -80px;
    animation: float2 25s ease-in-out infinite;
}

.circle-3 {
    width: 150px;
    height: 150px;
    background: var(--blue-light);
    opacity: 0.04;
    top: 40%;
    right: 5%;
    animation: float3 18s ease-in-out infinite;
}

.circle-4 {
    width: 100px;
    height: 100px;
    background: var(--blue-secondary);
    opacity: 0.05;
    bottom: 20%;
    right: 15%;
    animation: float1 22s ease-in-out infinite reverse;
}

/* Anillos (solo borde) */
.ring-1 {
    width: 250px;
    height: 250px;
    border: 2px solid var(--blue-secondary);
    opacity: 0.08;
    top: 15%;
    left: 10%;
    animation: float2 23s ease-in-out infinite;
}

.ring-2 {
    width: 180px;
    height: 180px;
    border: 2px solid var(--blue-primary);
    opacity: 0.06;
    bottom: 5%;
    right: 25%;
    animation: float3 19s ease-in-out infinite;
}

/* Animaciones de flotación */
@keyframes float1 {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    25% {
        transform: translateY(-30px) translateX(15px) rotate(5deg);
    }
    50% {
        transform: translateY(-15px) translateX(-10px) rotate(-3deg);
    }
    75% {
        transform: translateY(-40px) translateX(5px) rotate(2deg);
    }
}

@keyframes float2 {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    33% {
        transform: translateY(-25px) translateX(20px) rotate(-4deg);
    }
    66% {
        transform: translateY(-35px) translateX(-15px) rotate(6deg);
    }
}

@keyframes float3 {
    0%, 100% {
        transform: translateY(0) translateX(0) scale(1);
    }
    50% {
        transform: translateY(-20px) translateX(10px) scale(1.05);
    }
}

/* Contenedor principal */
.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

/* Logo wrapper para el efecto parallax */
.logo-wrapper {
    margin-bottom: 1.5rem;
}

/* Logo */
.logo {
    width: 180px;
    height: auto;
    display: block;
    animation: fadeInUp 0.8s ease-out;
    transition: transform 0.15s ease-out;
    will-change: transform;
}

/* Nombre de la empresa */
.company-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--blue-primary);
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

/* Tagline */
.tagline {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--gray);
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

/* Botón de contacto */
.btn-contact {
    display: inline-block;
    padding: 0.875rem 2.5rem;
    font-family: 'Nunito', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    background-color: var(--blue-primary);
    border: none;
    border-radius: 50px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.btn-contact:hover {
    background-color: var(--blue-secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 58, 95, 0.25);
}

.btn-contact:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(30, 58, 95, 0.2);
}

/* Animación de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .logo {
        width: 140px;
    }

    .company-name {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .circle-1 {
        width: 200px;
        height: 200px;
    }

    .ring-1 {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 120px;
    }

    .company-name {
        font-size: 1.75rem;
    }

    .tagline {
        font-size: 0.9rem;
        text-align: center;
    }

    .btn-contact {
        padding: 0.75rem 2rem;
        font-size: 0.9rem;
    }
}

/* Preferencia de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
    .shape {
        animation: none;
    }

    .logo, .company-name, .tagline, .btn-contact {
        animation: none;
    }
}
