/* ==================== VARIABLES ==================== */
:root {
    --primary-color: #251e40;
    --secondary-color: #c2915f;
    --light-bg: #f8f9fa;
    --dark-text: #251e40;
    --light-text: #ffffff;
    --gray-text: #7f8c8d;
}

/* ==================== RESET Y BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

/* ==================== PARTÍCULAS DE FONDO ==================== */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 20s infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

/* ==================== CONTENEDOR PRINCIPAL ==================== */
.main-container {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.content-wrapper {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 60px 40px;
    max-width: 1000px;
    width: 100%;
    backdrop-filter: blur(10px);
}

/* ==================== LOGO Y HEADER ==================== */
.logo-container {
    text-align: center;
    margin-bottom: 30px;
}

.logo-icon {
    width: 120px;
    height: 120px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 10px 30px rgba(194, 145, 95, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(194, 145, 95, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 40px rgba(194, 145, 95, 0.5);
    }
}

.logo-icon i {
    font-size: 60px;
    color: white;
}

h1 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.subtitle {
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.description {
    color: var(--gray-text);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 35px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ==================== BADGE DE ESTADO ==================== */
.status-badge {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(194, 145, 95, 0.3);
    font-size: 1rem;
}

.status-badge i {
    margin-right: 8px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ==================== BARRA DE PROGRESO ==================== */
.progress-container {
    margin: 40px 0;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1rem;
}

.progress {
    height: 30px;
    border-radius: 50px;
    background: #e9ecef;
    overflow: visible;
}

.progress-bar {
    background: var(--secondary-color);
    border-radius: 50px;
    position: relative;
    box-shadow: 0 3px 10px rgba(194, 145, 95, 0.4);
    animation: progressAnimation 2s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

@keyframes progressAnimation {
    from { width: 0; }
}

/* ==================== CONTADOR REGRESIVO ==================== */
.countdown-section {
    margin: 50px 0;
    padding: 35px;
    background: rgba(194, 145, 95, 0.08);
    border-radius: 20px;
    border: 2px solid rgba(194, 145, 95, 0.2);
}

.countdown-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.countdown-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.countdown-item {
    background: white;
    padding: 25px 20px;
    border-radius: 15px;
    min-width: 110px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.countdown-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(194, 145, 95, 0.3);
    border-color: var(--secondary-color);
}

.countdown-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--secondary-color);
    line-height: 1;
    font-family: 'Playfair Display', serif;
}

.countdown-label {
    font-size: 0.85rem;
    color: var(--gray-text);
    margin-top: 10px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1.5px;
}

/* ==================== CARACTERÍSTICAS ==================== */
.features-section {
    margin: 50px 0;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 40px;
    text-align: center;
}

.section-title i {
    color: var(--secondary-color);
    margin-right: 10px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.feature-card {
    background: white;
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(194, 145, 95, 0.2);
    border-color: var(--secondary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(194, 145, 95, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--secondary-color);
    transform: scale(1.1) rotate(10deg);
}

.feature-icon i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon i {
    color: white;
}

.feature-card h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--gray-text);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* ==================== FORMULARIO DE NOTIFICACIÓN ==================== */
.notification-form {
    background: var(--light-bg);
    border-radius: 20px;
    padding: 40px;
    margin: 50px 0;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.05);
}

.form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
}

.form-subtitle {
    text-align: center;
    color: var(--gray-text);
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.form-control {
    border-radius: 12px;
    padding: 15px;
    border: 2px solid #dee2e6;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(194, 145, 95, 0.25);
}

.btn-notify {
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 16px 45px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(194, 145, 95, 0.3);
}

.btn-notify:hover {
    background: #b17d47;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(194, 145, 95, 0.4);
    color: white;
}

/* ==================== INFORMACIÓN DE CONTACTO ==================== */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.contact-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(194, 145, 95, 0.15);
    border-color: var(--secondary-color);
}

.contact-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.contact-item h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.contact-item p {
    color: var(--gray-text);
    margin: 0;
    font-size: 0.95rem;
}

/* ==================== REDES SOCIALES ==================== */
.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.social-link {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary-color);
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(194, 145, 95, 0.3);
}

.social-link:hover {
    background: #b17d47;
    color: white;
    transform: translateY(-8px) rotate(10deg);
    box-shadow: 0 10px 25px rgba(194, 145, 95, 0.5);
}

/* ==================== FOOTER ==================== */
.footer-text {
    text-align: center;
    margin-top: 50px;
    color: #95a5a6;
    font-size: 0.9rem;
    padding-top: 30px;
    border-top: 2px solid #e9ecef;
}

.footer-text p {
    margin-bottom: 5px;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    h1 {
        font-size: 1.9rem;
    }
    
    .subtitle {
        font-size: 1.05rem;
    }
    
    .content-wrapper {
        padding: 40px 25px;
    }
    
    .logo-icon {
        width: 100px;
        height: 100px;
    }
    
    .logo-icon i {
        font-size: 50px;
    }
    
    .countdown-container {
        gap: 15px;
    }
    
    .countdown-item {
        min-width: 85px;
        padding: 20px 15px;
    }
    
    .countdown-number {
        font-size: 2.3rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .notification-form {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.6rem;
    }
    
    .subtitle {
        font-size: 0.95rem;
    }
    
    .description {
        font-size: 0.95rem;
    }
    
    .status-badge {
        font-size: 0.9rem;
        padding: 10px 25px;
    }
    
    .countdown-item {
        min-width: 75px;
        padding: 15px 10px;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .countdown-label {
        font-size: 0.75rem;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
    }
    
    .feature-icon i {
        font-size: 2rem;
    }
    
    .btn-notify {
        padding: 14px 35px;
        font-size: 1rem;
    }
}