/* Reset y variables CSS */
:root {
    --primary-color: #22577a;         /* Azul profundo */
    --secondary-color: #206a3b;       /* Verde bosque */
    --accent-color: #2e8b57;          /* Verde bosque acentuado */
    --dark-color: #132043;            /* Azul noche */
    --light-color: #f6f5f2;           /* Gris muy claro */
    --text-color: #183153;            /* Azul grisáceo */
    --overlay-color: rgba(34, 87, 122, 0.7);
    --gradient-primary: linear-gradient(135deg, #22577a 0%, #206a3b 100%);
    --gradient-secondary: linear-gradient(135deg, #2e8b57 0%, #206a3b 100%);
    --shadow-light: 0 2px 10px rgba(34, 87, 122, 0.1);
    --shadow-dark: 0 10px 30px rgba(34, 87, 122, 0.3);
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    background: #0a0a0a;
    min-height: 100vh;
}

/* Outdoor Animated Background */
.outdoor-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.sky-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        #1a1a2e 0%,
        #16213e 30%,
        #0f3460 60%,
        #533483 85%,
        #e94560 100%
    );
    /* Sin animación, fondo estático */
}

.mountains-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 120%;
    height: 100%;
    background-repeat: repeat-x;
    background-position: bottom;
    animation: mountainFloat 15s ease-in-out infinite;
}

.mountains-back {
    background: linear-gradient(to top, #1a1a2e, transparent 70%);
    clip-path: polygon(0 100%, 15% 60%, 25% 75%, 35% 45%, 50% 65%, 65% 35%, 80% 55%, 100% 30%, 100% 100%);
    opacity: 0.6;
    animation-delay: 0s;
    transform: translateX(-10%);
}

.mountains-mid {
    background: linear-gradient(to top, #2c3e50, transparent 60%);
    clip-path: polygon(0 100%, 20% 70%, 30% 50%, 45% 75%, 60% 40%, 75% 65%, 90% 45%, 100% 60%, 100% 100%);
    opacity: 0.8;
    animation-delay: -5s;
    transform: translateX(-5%);
}

.mountains-front {
    background: linear-gradient(to top, #34495e, transparent 50%);
    clip-path: polygon(0 100%, 10% 80%, 25% 60%, 40% 85%, 55% 55%, 70% 75%, 85% 50%, 100% 70%, 100% 100%);
    opacity: 0.9;
    animation-delay: -10s;
}

@keyframes mountainFloat {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    25% {
        transform: translateX(-2%) translateY(-5px);
    }
    50% {
        transform: translateX(2%) translateY(-10px);
    }
    75% {
        transform: translateX(-1%) translateY(-5px);
    }
}

.clouds-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    opacity: 0.6;
}

.cloud::before,
.cloud::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
}

.cloud-1 {
    width: 80px;
    height: 40px;
    top: 20%;
    left: 10%;
    animation: cloudMove1 25s linear infinite;
}

.cloud-1::before {
    width: 50px;
    height: 50px;
    top: -25px;
    left: 10px;
}

.cloud-1::after {
    width: 60px;
    height: 20px;
    top: -10px;
    right: 10px;
}

.cloud-2 {
    width: 60px;
    height: 30px;
    top: 15%;
    left: 70%;
    animation: cloudMove2 30s linear infinite;
}

.cloud-2::before {
    width: 40px;
    height: 40px;
    top: -20px;
    left: 10px;
}

.cloud-2::after {
    width: 50px;
    height: 15px;
    top: -5px;
    right: 5px;
}

.cloud-3 {
    width: 100px;
    height: 50px;
    top: 25%;
    left: 40%;
    animation: cloudMove3 35s linear infinite;
}

.cloud-3::before {
    width: 60px;
    height: 60px;
    top: -30px;
    left: 15px;
}

.cloud-3::after {
    width: 70px;
    height: 25px;
    top: -15px;
    right: 15px;
}

.cloud-4 {
    width: 70px;
    height: 35px;
    top: 30%;
    left: 80%;
    animation: cloudMove4 20s linear infinite;
}

.cloud-4::before {
    width: 45px;
    height: 45px;
    top: -22px;
    left: 12px;
}

.cloud-4::after {
    width: 55px;
    height: 18px;
    top: -8px;
    right: 8px;
}

@keyframes cloudMove1 {
    0% { transform: translateX(-100px); }
    100% { transform: translateX(calc(100vw + 100px)); }
}

@keyframes cloudMove2 {
    0% { transform: translateX(-80px); }
    100% { transform: translateX(calc(100vw + 80px)); }
}

@keyframes cloudMove3 {
    0% { transform: translateX(-120px); }
    100% { transform: translateX(calc(100vw + 120px)); }
}

@keyframes cloudMove4 {
    0% { transform: translateX(-90px); }
    100% { transform: translateX(calc(100vw + 90px)); }
}

.stars-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60%;
    pointer-events: none;
}

.star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: starTwinkle 3s ease-in-out infinite;
}

.star:nth-child(1) { top: 10%; left: 20%; animation-delay: 0s; }
.star:nth-child(2) { top: 15%; left: 80%; animation-delay: 0.5s; }
.star:nth-child(3) { top: 25%; left: 60%; animation-delay: 1s; }
.star:nth-child(4) { top: 30%; left: 30%; animation-delay: 1.5s; }
.star:nth-child(5) { top: 20%; left: 90%; animation-delay: 2s; }
.star:nth-child(6) { top: 35%; left: 10%; animation-delay: 2.5s; }
.star:nth-child(7) { top: 40%; left: 70%; animation-delay: 3s; }
.star:nth-child(8) { top: 45%; left: 45%; animation-delay: 3.5s; }

@keyframes starTwinkle {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.2); }
}

.mist-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    pointer-events: none;
}

.mist {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.1), transparent);
    animation: mistMove 20s ease-in-out infinite;
}

.mist-1 {
    left: 0;
    animation-delay: 0s;
}

.mist-2 {
    left: 50%;
    animation-delay: -10s;
    opacity: 0.7;
}

@keyframes mistMove {
    0%, 100% { transform: translateX(0) scaleX(1); }
    25% { transform: translateX(-20px) scaleX(1.1); }
    50% { transform: translateX(30px) scaleX(0.9); }
    75% { transform: translateX(-15px) scaleX(1.05); }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(236, 240, 241, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-brand i {
    margin-right: 0.5rem;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Main Content */
.main-content {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
}

.hero-section {
    text-align: center;
    color: white;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.logo-container {
    margin-bottom: 3rem;
}

.logo-icon {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: block;
    animation: mountainPulse 3s infinite;
}

.brand-name {
    font-size: 3.5rem;
    font-weight: 700;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.construction-message {
    margin-bottom: 4rem;
}

.construction-message h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--light-color);
}

.construction-message p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Countdown */
.countdown-container {
    margin-bottom: 4rem;
}

.countdown-container h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--accent-color);
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.time-unit {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    min-width: 100px;
    transition: transform 0.3s ease;
}

.time-unit:hover {
    transform: translateY(-5px);
}

.time-unit span {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
}

.time-unit label,
.time-unit .time-label {
    display: block;
    font-size: 0.9rem;
    color: var(--light-color);
    margin-top: 0.5rem;
}

/* Newsletter */
.newsletter {
    margin-bottom: 4rem;
}

.newsletter h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.newsletter p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    font-size: 1rem;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form button {
    padding: 1rem 2rem;
    background: var(--gradient-secondary);
    border: none;
    border-radius: var(--border-radius);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-dark);
}

/* Features Preview */
.preview-features {
    margin-bottom: 2rem;
}

.preview-features h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--accent-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.feature {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.feature i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.feature h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--light-color);
}

.feature p {
    opacity: 0.9;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    color: white;
    text-align: center;
    padding: 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-dark);
}

/* Loading Animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-content {
    text-align: center;
    color: white;
}

.mountain-loader {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 5px;
    margin-bottom: 1rem;
}

.mountain-peak {
    width: 20px;
    height: 40px;
    background: linear-gradient(135deg, #43a047 0%, #a8e063 100%); /* Verde */
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation: mountainGrow 1.5s ease-in-out infinite;
}

.mountain-peak:nth-child(2) {
    animation-delay: 0.3s;
    height: 60px;
}

.mountain-peak:nth-child(3) {
    animation-delay: 0.6s;
    height: 30px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes mountainPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes mountainGrow {
    0%, 100% {
        transform: scaleY(0.5);
    }
    50% {
        transform: scaleY(1);
    }
}

/* Nuevas secciones informativas */

/* Estilo para el tagline principal */
.main-tagline {
    font-size: 1.4rem !important;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 1rem !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Sección Acerca de */
.about-section {
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.about-section h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--accent-color);
    text-align: center;
}

.about-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: left;
}

.about-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.about-content strong {
    color: var(--accent-color);
}

/* Audiencia objetivo */
.target-audience {
    margin-bottom: 4rem;
}

.target-audience h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.section-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-style: italic;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.audience-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.audience-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.audience-item i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.audience-item p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Clasificación de rutas */
.route-classification {
    margin-bottom: 4rem;
}

.route-classification h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.levels-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.level-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.level-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.level-card.basic::before {
    background: linear-gradient(90deg, #28a745, #20c997);
}

.level-card.intermediate::before {
    background: linear-gradient(90deg, #ffc107, #fd7e14);
}

.level-card.advanced::before {
    background: linear-gradient(90deg, #dc3545, #e83e8c);
}

.level-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-dark);
}

.level-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.level-header i {
    font-size: 2rem;
    margin-right: 1rem;
    color: var(--accent-color);
}

.level-header h4 {
    font-size: 1.3rem;
    color: white;
    margin: 0;
}

.level-content p {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.level-content strong {
    color: var(--accent-color);
}

/* Modelo de negocio */
.business-model {
    margin-bottom: 2rem;
}

.business-model h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--accent-color);
}

.model-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 2rem;
    max-width: 700px;
    margin: 0 auto;
}

.model-header {
    text-align: center;
    margin-bottom: 2rem;
}

.model-header i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.model-header h4 {
    font-size: 1.5rem;
    color: white;
    margin: 0;
}

.model-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.model-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
}

.model-feature i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-top: 0.2rem;
}

.model-feature h5 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    color: white;
}

.model-feature p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        display: none;
    }
    
    .brand-name {
        font-size: 2.5rem;
    }
    
    .construction-message h2 {
        font-size: 2rem;
    }
    
    .countdown {
        gap: 1rem;
    }
    
    .time-unit {
        min-width: 80px;
        padding: 1rem;
    }
    
    .newsletter-form {
        flex-direction: column;
        align-items: center;
    }
    
    .newsletter-form input {
        min-width: 100%;
        margin-bottom: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .navbar {
        padding: 1rem 2%;
    }
    
    .hero-section {
        padding: 1rem;
    }
    
    .main-tagline {
        font-size: 1.2rem !important;
    }
    
    .about-content {
        padding: 1.5rem;
    }
    
    .audience-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .levels-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .level-card {
        padding: 1.5rem;
    }
    
    .model-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .about-section h3,
    .target-audience h3,
    .route-classification h3,
    .business-model h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .logo-icon {
        font-size: 3rem;
    }
    
    .brand-name {
        font-size: 2rem;
    }
    
    .construction-message h2 {
        font-size: 1.5rem;
    }
    
    .construction-message p {
        font-size: 1rem;
    }
    
    .countdown {
        flex-direction: column;
        align-items: center;
    }
    
    .time-unit span {
        font-size: 1.5rem;
    }
    
    .main-tagline {
        font-size: 1.1rem !important;
        letter-spacing: 0.5px;
    }
    
    .audience-item {
        padding: 1rem;
    }
    
    .audience-item i {
        font-size: 1.5rem;
    }
    
    .level-header i {
        font-size: 1.5rem;
    }
    
    .model-header i {
        font-size: 2rem;
    }
}