/* Reset y variables - Glassmorphism Ethereal Design */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Paleta etérea inspirada en el logo transparente */
    --white-pure: #ffffff;
    --white-soft: #fafbff;
    --gray-whisper: #f5f7fa;
    --gray-light: #e8ecf4;
    --blue-mist: #d4e3fc;
    --blue-soft: #a8c7fa;
    --blue-medium: #6b9ff7;
    --lavender-pale: #e8e4f3;
    --lavender-soft: #c5b9e0;
    --purple-light: #9b87d6;
    --text-primary: #2a3447;
    --text-secondary: #6b7c94;
    --text-muted: #9aa5b8;
    --shadow-soft: rgba(107, 159, 247, 0.08);
    --shadow-medium: rgba(107, 159, 247, 0.15);
    --glass-border: rgba(255, 255, 255, 0.6);
}

body {
    font-family: 'Work Sans', sans-serif;
    background: var(--white-soft);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Contenedor principal con gradiente suave */
.container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 20% 30%, rgba(168, 199, 250, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(197, 185, 224, 0.12) 0%, transparent 50%),
        linear-gradient(180deg, var(--white-soft) 0%, var(--gray-whisper) 50%, var(--blue-mist) 100%);
    overflow: hidden;
}

/* Elementos de fondo flotantes - formas orgánicas suaves */
.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.stars::before,
.stars::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.4;
    animation: float-gentle 20s ease-in-out infinite;
}

.stars::before {
    width: 400px;
    height: 400px;
    top: 10%;
    left: 15%;
    background: radial-gradient(circle, var(--blue-soft) 0%, transparent 70%);
    animation-delay: 0s;
}

.stars::after {
    width: 350px;
    height: 350px;
    bottom: 15%;
    right: 20%;
    background: radial-gradient(circle, var(--lavender-soft) 0%, transparent 70%);
    animation-delay: -10s;
}

@keyframes float-gentle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -40px) scale(1.05);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}

/* Grid sutil de fondo */
.grid-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(var(--gray-light) 1px, transparent 1px),
        linear-gradient(90deg, var(--gray-light) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.3;
    animation: grid-float 15s ease-in-out infinite;
}

@keyframes grid-float {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-10px);
        opacity: 0.2;
    }
}

/* Contenido principal con glassmorphism */
.content {
    text-align: center;
    z-index: 10;
    position: relative;
    animation: content-rise 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes content-rise {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo container con efecto glass */
.logo-container {
    margin-bottom: 3.5rem;
    position: relative;
    animation: logo-float 6s ease-in-out infinite;
}

@keyframes logo-float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-12px) scale(1.02);
    }
}

.logo {
    width: 200px;
    height: 200px;
    filter:
        drop-shadow(0 8px 32px rgba(107, 159, 247, 0.2))
        drop-shadow(0 4px 16px rgba(197, 185, 224, 0.15));
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    animation: logo-entrance 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes logo-entrance {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(-30px);
        filter:
            drop-shadow(0 0 0 rgba(107, 159, 247, 0))
            drop-shadow(0 0 0 rgba(197, 185, 224, 0))
            blur(10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter:
            drop-shadow(0 8px 32px rgba(107, 159, 247, 0.2))
            drop-shadow(0 4px 16px rgba(197, 185, 224, 0.15))
            blur(0);
    }
}

.logo:hover {
    transform: scale(1.05) translateY(-5px);
    filter:
        drop-shadow(0 12px 40px rgba(107, 159, 247, 0.3))
        drop-shadow(0 6px 24px rgba(197, 185, 224, 0.25));
}

/* Texto principal con tipografía refinada */
.text-container {
    margin-bottom: 3rem;
}

.main-title {
    font-family: 'Outfit', sans-serif;
    font-size: 5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.2rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
    animation: title-entrance 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
    position: relative;
}

/* Glassmorphism effect on title */
.main-title::before {
    content: 'Coming Soon';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        135deg,
        var(--blue-medium) 0%,
        var(--purple-light) 100%
    );
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: blur(0.5px);
    opacity: 0.6;
    z-index: -1;
}

@keyframes title-entrance {
    from {
        opacity: 0;
        transform: translateY(20px);
        letter-spacing: 0.1em;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        letter-spacing: -0.03em;
    }
}

.subtitle {
    font-family: 'Work Sans', sans-serif;
    font-size: 1.15rem;
    color: var(--text-secondary);
    font-weight: 400;
    letter-spacing: 0.02em;
    margin-bottom: 3rem;
    animation: subtitle-entrance 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
}

@keyframes subtitle-entrance {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Barra de carga con efecto glass */
.loading-bar {
    width: 420px;
    height: 6px;
    background: rgba(232, 236, 244, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    box-shadow:
        inset 0 2px 4px rgba(107, 159, 247, 0.08),
        0 4px 20px rgba(107, 159, 247, 0.05);
    animation: bar-entrance 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.9s both;
}

@keyframes bar-entrance {
    from {
        opacity: 0;
        transform: scaleX(0.7);
    }
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

.loading-progress {
    height: 100%;
    background: linear-gradient(
        90deg,
        var(--blue-soft) 0%,
        var(--blue-medium) 50%,
        var(--lavender-soft) 100%
    );
    background-size: 200% 100%;
    border-radius: 50px;
    box-shadow:
        0 0 20px rgba(107, 159, 247, 0.4),
        0 0 40px rgba(197, 185, 224, 0.2);
    animation: progress-shimmer 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.loading-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.5),
        transparent
    );
    animation: shimmer-slide 2s ease-in-out infinite;
}

@keyframes progress-shimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

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

/* Notificación con glassmorphism */
.notification-container {
    animation: notification-entrance 1.5s cubic-bezier(0.16, 1, 0.3, 1) 1.2s both;
}

@keyframes notification-entrance {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.notification {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 1rem 2rem;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 8px 32px rgba(107, 159, 247, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.notification:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 12px 40px rgba(107, 159, 247, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.8);
}

.notification::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: glass-shine 4s ease-in-out infinite;
}

@keyframes glass-shine {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 100%;
    }
}

.notification-text {
    font-family: 'Work Sans', sans-serif;
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-right: 1rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.notification-pulse {
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, var(--blue-medium), var(--purple-light));
    border-radius: 50%;
    position: relative;
    animation: pulse-glow 2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(107, 159, 247, 0.5);
}

.notification-pulse::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse-ring 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.15);
    }
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

/* Elementos flotantes con glassmorphism */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.floating-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    opacity: 0.6;
}

.element-1 {
    width: 150px;
    height: 150px;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    top: 15%;
    left: 8%;
    background: linear-gradient(135deg, rgba(168, 199, 250, 0.3), rgba(197, 185, 224, 0.2));
    animation: float-morph-1 10s ease-in-out infinite;
}

.element-2 {
    width: 200px;
    height: 200px;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    top: 60%;
    right: 12%;
    background: linear-gradient(135deg, rgba(197, 185, 224, 0.3), rgba(168, 199, 250, 0.2));
    animation: float-morph-2 12s ease-in-out infinite;
}

.element-3 {
    width: 120px;
    height: 120px;
    border-radius: 50% 40% 60% 50% / 50% 60% 40% 50%;
    bottom: 20%;
    left: 18%;
    background: linear-gradient(135deg, rgba(107, 159, 247, 0.25), rgba(197, 185, 224, 0.25));
    animation: float-morph-3 11s ease-in-out infinite;
}

@keyframes float-morph-1 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }
    33% {
        transform: translate(-25px, -35px) rotate(120deg);
        border-radius: 60% 40% 50% 70% / 50% 60% 40% 60%;
    }
    66% {
        transform: translate(15px, -20px) rotate(240deg);
        border-radius: 50% 60% 40% 60% / 60% 40% 60% 40%;
    }
}

@keyframes float-morph-2 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    25% {
        transform: translate(20px, 30px) rotate(90deg);
        border-radius: 40% 60% 50% 50% / 50% 50% 60% 40%;
    }
    50% {
        transform: translate(-15px, 20px) rotate(180deg);
        border-radius: 50% 50% 40% 60% / 40% 60% 50% 50%;
    }
    75% {
        transform: translate(25px, -20px) rotate(270deg);
        border-radius: 60% 40% 60% 40% / 50% 50% 50% 50%;
    }
}

@keyframes float-morph-3 {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        border-radius: 50% 40% 60% 50% / 50% 60% 40% 50%;
    }
    50% {
        transform: translate(-30px, -45px) rotate(180deg);
        border-radius: 40% 60% 50% 50% / 60% 40% 60% 40%;
    }
}

/* Responsivo */
@media (max-width: 768px) {
    .main-title {
        font-size: 3.5rem;
    }

    .logo {
        width: 160px;
        height: 160px;
    }

    .loading-bar {
        width: 320px;
    }

    .subtitle {
        font-size: 1rem;
    }

    .notification {
        padding: 0.9rem 1.8rem;
    }

    .floating-element {
        opacity: 0.4;
    }

    .element-1 {
        width: 100px;
        height: 100px;
    }

    .element-2 {
        width: 130px;
        height: 130px;
    }

    .element-3 {
        width: 80px;
        height: 80px;
    }
}

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

    .logo {
        width: 130px;
        height: 130px;
    }

    .loading-bar {
        width: 280px;
    }

    .subtitle {
        font-size: 0.9rem;
    }

    .notification {
        padding: 0.75rem 1.5rem;
    }

    .notification-text {
        font-size: 0.85rem;
    }

    .floating-element {
        display: none;
    }
}

/* Cursor personalizado suave */
body {
    cursor: url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='10' cy='10' r='4' fill='%236b9ff7' opacity='0.4'/%3E%3C/svg%3E") 10 10, auto;
}

a, button, .logo, .notification {
    cursor: url("data:image/svg+xml,%3Csvg width='24' height='24' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='6' fill='%239b87d6' opacity='0.6'/%3E%3C/svg%3E") 12 12, pointer;
}

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

/* Selección de texto con colores de marca */
::selection {
    background: var(--blue-soft);
    color: var(--white-pure);
}

::-moz-selection {
    background: var(--blue-soft);
    color: var(--white-pure);
}
