:root {
    --primary-color: #002f6c;
    /* Deep Blue restored */
    --secondary-color: #d92027;
    /* Peruvian Red restored */
    --accent-color: #ffd700;
    /* Gold restored */

    --bg-beige: #f5f5dc;
    /* Beige Background */
    --text-on-beige: #002f6c;
    /* Dark Blue text for contrast */

    --text-light: #ffffff;
    --text-dark: #333333;
    --glass-bg: rgba(255, 255, 255, 0.4);
    /* More opaque for light bg */
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-beige);
    color: var(--text-on-beige);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Dynamic Background */
/* Hero Carousel */
.hero-carousel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 6s ease;
    transform: scale(1);
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1.05);
    /* Subtle zoom effect */
}

.overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(245, 245, 220, 0.9), rgba(255, 255, 255, 0.6));
    z-index: 1;
}

/* Old overlay removed */

/* Glassmorphism Utilities */
.glass-nav,
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.glass-nav .logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-round {
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.logo-img:hover {
    transform: scale(1.1) rotate(5deg);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 50px;
    color: var(--primary-color);
}

.hero-content {
    max-width: 900px;
    background: rgba(255, 255, 255, 0.15);
    /* Light glass backdrop */
    backdrop-filter: blur(8px);
    padding: 40px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

.hero-content h1 {
    font-size: 4rem;
    margin: 20px 0;
    font-weight: 800;
    line-height: 1.1;
}

/* Badge updated for light bg */
/* Badge updated for impact */
.badge {
    background: linear-gradient(135deg, var(--secondary-color), #ff4d4d);
    color: white;
    padding: 8px 25px;
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1rem;
    border: none;
    box-shadow: 0 4px 15px rgba(217, 32, 39, 0.5);
    animation: pulse-glow 2s infinite;
    display: inline-block;
    margin-bottom: 20px;
}

@keyframes pulse-glow {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(217, 32, 39, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(217, 32, 39, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(217, 32, 39, 0);
    }
}

.hero-content h1 {
    font-size: 4rem;
    margin: 20px 0;
    font-weight: 800;
    line-height: 1.1;
}

.hero-content .highlight {
    color: var(--accent-color);
    background: -webkit-linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Countdown */
.countdown-container {
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 40px;
    display: inline-block;
}

.countdown-container h3 {
    margin-bottom: 20px;
    font-weight: 600;
}

.timer {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-unit span {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.time-unit label {
    font-size: 0.9rem;
    text-transform: uppercase;
    opacity: 0.8;
    margin-top: 5px;
}

.date-target {
    margin-top: 20px;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Buttons */
.cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn:hover {
    transform: translateY(-3px);
}

/* Sections General */
section {
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Timeline */
.timeline-section {
    position: relative;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: rgba(255, 255, 255, 0.3);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    border: 4px solid var(--primary-color);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.timeline-item.left::after {
    right: -10px;
}

.timeline-item.right::after {
    left: -10px;
}

.timeline-item .content {
    padding: 20px 30px;
    color: var(--primary-color);
    border-radius: 15px;
}

.status-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    margin-top: 10px;
    font-weight: 600;
}

.status-badge.pending {
    background: rgba(255, 165, 0, 0.2);
    color: #b35900;
    /* Darker orange for contrast */
}

.status-badge.upcoming {
    background: rgba(0, 150, 255, 0.2);
    color: #005f99;
    /* Darker blue/cyan for contrast */
}

/* Features/Requisitos */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    padding: 40px 30px;
    text-align: center;
    border-radius: 20px;
    color: var(--primary-color);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.feature-card i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.feature-card p {
    opacity: 0.8;
    font-size: 0.95rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    color: var(--primary-color);
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    border-radius: 20px;
}

.footer-info h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.socials {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.socials a {
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: color 0.3s;
}

.socials a:hover {
    color: var(--accent-color);
}

.footer-copy {
    border-top: 1px solid rgba(0, 47, 108, 0.1);
    padding-top: 20px;
    font-size: 0.9rem;
    opacity: 0.6;
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 1s ease-out;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0, 47, 108, 0.95);
        padding: 20px;
        text-align: center;
        backdrop-filter: blur(20px);
    }

    .nav-links a {
        color: white;
        /* Keep white on dark mobile menu */
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item.left,
    .timeline-item.right {
        left: 0;
        text-align: left;
    }

    .timeline-item.left::after,
    .timeline-item.right::after {
        left: 21px;
    }
}