/* Estilos globales de tu aplicación */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Estilos para la página en construcción */

.construction-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-image: url('../img/background/background_building.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 20px;
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.logo-container {
    margin-bottom: 30px;
}

.logo {
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
}

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

/* Tagline */
.tagline {
    margin-bottom: 40px;
    animation: fadeIn 1s ease-out 0.3s both;
}

.tagline h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.5px;
}

.tagline p {
    font-size: 1.2rem;
    color: #e0e0e0;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
}

/* Beta Form */
.beta-form {
    margin-top: 30px;
    animation: fadeIn 1s ease-out 0.5s both;
}

.beta-form h2 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
    font-weight: 600;
}

.subscription-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

.input-field {
    padding: 15px 20px;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    outline: none;
}

.input-field::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.input-field:focus {
    border-color: #4CAF50;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.3);
}

.submit-btn {
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #4CAF50, #45a049);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #45a049, #4CAF50);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.6);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-loading {
    display: inline-block;
}

.input-field:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Feedback Messages */
.feedback-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    animation: slideDown 0.3s ease-out;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s ease;
}

.feedback-success {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.9), rgba(69, 160, 73, 0.9));
    color: #ffffff;
    border: 2px solid rgba(76, 175, 80, 1);
}

.feedback-error {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.9), rgba(229, 57, 53, 0.9));
    color: #ffffff;
    border: 2px solid rgba(244, 67, 54, 1);
}

.feedback-info {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.9), rgba(30, 136, 229, 0.9));
    color: #ffffff;
    border: 2px solid rgba(33, 150, 243, 1);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-title {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
    animation: slideInFromLeft 1s ease-out 0.2s both;
}

.construction-text {
    margin: 15px 0;
}

.subtitle {
    font-size: 1.8rem;
    color: #f0f0f0;
    margin-bottom: 15px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
    animation: slideInFromRight 1s ease-out 0.4s both;
}

.description {
    font-size: 1.1rem;
    color: #e0e0e0;
    line-height: 1.8;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    animation: fadeIn 1s ease-out 0.6s both;
}

.progress-container {
    margin: 30px auto;
    max-width: 400px;
    animation: fadeIn 1s ease-out 0.8s both;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #81C784, #4CAF50);
    background-size: 200% 100%;
    border-radius: 10px;
    width: 0;
    animation: progressAnimation 2s ease-out forwards, shimmer 2s linear infinite;
}

.progress-text {
    color: #ffffff;
    font-size: 0.9rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.social-links {
    margin-top: 60px;
    animation: fadeIn 1s ease-out 1s both;
}

.social-links p {
    font-size: 1.2rem;
    color: #ffffff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* Animaciones */

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

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

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

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

/* Responsive Design */

@media (max-width: 768px) {
    .logo {
        max-width: 350px;
    }
    
    .tagline h1 {
        font-size: 1.6rem;
    }
    
    .tagline p {
        font-size: 1rem;
    }
    
    .beta-form h2 {
        font-size: 1.3rem;
    }
    
    .subscription-form {
        max-width: 350px;
    }
    
    .content {
        padding: 20px 15px;
    }
}

@media (max-width: 480px) {
    .logo {
        max-width: 250px;
    }
    
    .tagline h1 {
        font-size: 1.3rem;
    }
    
    .tagline p {
        font-size: 0.9rem;
    }
    
    .beta-form h2 {
        font-size: 1.1rem;
    }
    
    .subscription-form {
        max-width: 100%;
    }
    
    .input-field {
        font-size: 0.95rem;
        padding: 12px 15px;
    }
    
    .submit-btn {
        font-size: 1rem;
        padding: 12px 30px;
    }
    
    .feedback-message {
        font-size: 0.85rem;
        padding: 12px 15px;
    }
}
