/* Variables de colores basadas en la marca EmpleoTalento */
:root {
    --corporate-color: #042D63;
    --corporate-dark: #031a3d;
    --corporate-light: #0a4a8a;
    --primary-color: #042D63;
    --primary-dark: #031a3d;
    --primary-light: #0a4a8a;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --text-primary: #042D63;
    --text-secondary: #4a5568;
    --text-light: #718096;
    --bg-primary: #ffffff;
    --bg-secondary: #f7fafc;
    --bg-tertiary: #edf2f7;
    --bg-gradient: linear-gradient(135deg, #042D63 0%, #0a4a8a 50%, #042D63 100%);
    --bg-gradient-subtle: linear-gradient(180deg, rgba(4, 45, 99, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(4, 45, 99, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(4, 45, 99, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(4, 45, 99, 0.15);
    --shadow-xl: 0 20px 25px -5px rgba(4, 45, 99, 0.2);
    --shadow-glow: 0 0 30px rgba(4, 45, 99, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-gradient);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(4, 45, 99, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(4, 45, 99, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.content {
    background: var(--bg-primary);
    border-radius: 32px;
    padding: 70px 50px;
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(4, 45, 99, 0.1);
}

.content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--corporate-color) 0%, var(--corporate-light) 50%, var(--corporate-color) 100%);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

.logo-container {
    margin-bottom: 50px;
    animation: fadeInScale 1s ease-out;
    position: relative;
}

.logo {
    max-width: 280px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 16px rgba(4, 45, 99, 0.2));
    transition: transform 0.3s ease;
    animation: logoFloat 3s ease-in-out infinite;
}

.logo:hover {
    transform: scale(1.05);
}

.title {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--corporate-color);
    margin-bottom: 24px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    text-shadow: 0 2px 4px rgba(4, 45, 99, 0.1);
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 50px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    font-weight: 400;
}

.construction-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
    flex-wrap: wrap;
}

.tool-icon {
    font-size: 3.5rem;
    animation: bounce 2.5s infinite;
    filter: drop-shadow(0 4px 8px rgba(4, 45, 99, 0.15));
    transition: transform 0.3s ease;
    cursor: pointer;
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 20px;
    border: 2px solid var(--border-color);
}

.tool-icon:nth-child(1) {
    animation-delay: 0s;
}

.tool-icon:nth-child(2) {
    animation-delay: 0.3s;
}

.tool-icon:nth-child(3) {
    animation-delay: 0.6s;
}

.progress-section {
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.progress-bar {
    width: 100%;
    max-width: 500px;
    height: 12px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    overflow: hidden;
    margin: 0 auto 20px;
    box-shadow: inset 0 2px 6px rgba(4, 45, 99, 0.1);
    border: 1px solid var(--border-color);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--corporate-color) 0%, var(--corporate-light) 50%, var(--corporate-color) 100%);
    background-size: 200% 100%;
    border-radius: 12px;
    width: 0%;
    animation: progressAnimation 2.5s ease-in-out infinite, shimmer 2s linear infinite;
    box-shadow: 0 0 15px rgba(4, 45, 99, 0.4);
}

.progress-text {
    font-size: 1rem;
    color: var(--text-secondary);
    font-style: italic;
    font-weight: 500;
}

.info-section {
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
    animation: fadeInUp 0.8s ease-out 1s both;
    background: var(--bg-gradient-subtle);
    margin: 0 -50px -70px;
    padding-left: 50px;
    padding-right: 50px;
    padding-bottom: 40px;
    border-bottom-left-radius: 32px;
    border-bottom-right-radius: 32px;
}

.info-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

.footer {
    text-align: center;
    padding: 40px 20px 30px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    animation: fadeIn 1s ease-out 1.2s both;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes progressAnimation {
    0% {
        width: 0%;
    }
    50% {
        width: 75%;
    }
    100% {
        width: 0%;
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 15px;
    }
    
    .content {
        padding: 50px 35px;
        border-radius: 24px;
    }
    
    .content::before {
        height: 3px;
    }
    
    .logo-container {
        margin-bottom: 35px;
    }
    
    .logo {
        max-width: 220px;
    }
    
    .title {
        font-size: 2.25rem;
        margin-bottom: 20px;
    }
    
    .subtitle {
        font-size: 1.15rem;
        margin-bottom: 40px;
    }
    
    .construction-icon {
        gap: 25px;
        margin-bottom: 40px;
    }
    
    .tool-icon {
        font-size: 3rem;
        padding: 15px;
        border-radius: 16px;
    }
    
    .progress-bar {
        max-width: 100%;
        height: 10px;
    }
    
    .info-section {
        margin: 0 -35px -50px;
        padding-left: 35px;
        padding-right: 35px;
        padding-top: 35px;
        padding-bottom: 35px;
        border-bottom-left-radius: 24px;
        border-bottom-right-radius: 24px;
    }
    
    .info-text {
        font-size: 1rem;
    }
    
    .footer {
        padding: 30px 15px 25px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .content {
        padding: 40px 25px;
        border-radius: 20px;
    }
    
    .content::before {
        height: 3px;
    }
    
    .logo-container {
        margin-bottom: 30px;
    }
    
    .logo {
        max-width: 180px;
    }
    
    .title {
        font-size: 1.9rem;
        margin-bottom: 18px;
        line-height: 1.3;
    }
    
    .subtitle {
        font-size: 1.05rem;
        margin-bottom: 35px;
        line-height: 1.6;
    }
    
    .construction-icon {
        gap: 15px;
        margin-bottom: 35px;
    }
    
    .tool-icon {
        font-size: 2.5rem;
        padding: 12px;
        border-radius: 14px;
    }
    
    .progress-section {
        margin-bottom: 35px;
    }
    
    .progress-bar {
        height: 8px;
        margin-bottom: 15px;
    }
    
    .progress-text {
        font-size: 0.9rem;
    }
    
    .info-section {
        margin: 0 -25px -40px;
        padding-left: 25px;
        padding-right: 25px;
        padding-top: 30px;
        padding-bottom: 30px;
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
    }
    
    .info-text {
        font-size: 0.95rem;
    }
    
    .footer {
        padding: 25px 10px 20px;
        font-size: 0.85rem;
    }
}

@media (max-width: 360px) {
    .logo {
        max-width: 150px;
    }
    
    .title {
        font-size: 1.65rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .tool-icon {
        font-size: 2rem;
        padding: 10px;
    }
}

