
/* --- RESET Y VARIABLES GLOBALES --- */
:root {
    --azul-oscuro: #0a192f;
    --azul-marino: #1e2a47;
    --verde-cyan: #64ffda;
    --texto-principal: #ccd6f6;
    --texto-secundario: #8892b0;
    --fondo: #0a192f;
}

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--fondo);
    color: var(--texto-principal);
    line-height: 1.6;
}

/* --- CONTENEDORES Y UTILIDADES --- */
.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    padding: 6rem 0;
}

section:nth-child(odd) {
    background-color: var(--azul-marino);
}

h1, h2, h3 {
    color: var(--texto-principal);
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--verde-cyan);
    margin: 0.5rem auto 0;
}

p {
    color: var(--texto-secundario);
    font-size: 1.1rem;
}

.cta-button {
    display: inline-block;
    background-color: transparent;
    color: var(--verde-cyan);
    border: 2px solid var(--verde-cyan);
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: rgba(100, 255, 218, 0.1);
}

/* --- HEADER Y NAVEGACIÓN --- */
.header {
    background-color: var(--azul-oscuro);
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid var(--azul-marino);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--verde-cyan);
    text-decoration: none;
}

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

.nav-links a {
    color: var(--texto-secundario);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--verde-cyan);
}

/* --- HERO SECTION --- */
#hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding-top: 80px; /* Espacio para el header fijo */
}

.hero-content {
    text-align: center;
    max-width: 800px;
}

#hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

#hero .subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* --- SECCIÓN PROBLEMA --- */
#problema .container {
     text-align: center;
}

.pain-points {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.pain-point {
    background: var(--azul-oscuro);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--verde-cyan);
    max-width: 320px;
    text-align: left;
}

.pain-point h3 {
    color: var(--verde-cyan);
    margin-bottom: 0.5rem;
}

/* --- SECCIÓN SOLUCIÓN --- */
.solution-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

.solution-item h3 {
    font-size: 1.8rem;
    color: var(--verde-cyan);
    margin-bottom: 1rem;
}

/* --- SECCIÓN POR QUÉ NOSOTROS --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--azul-oscuro);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    text-align: center;
}

.feature-card .icon {
    font-size: 3rem;
    color: var(--verde-cyan);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* --- FOOTER --- */
footer {
    text-align: center;
    padding: 2rem 0;
    background-color: var(--azul-oscuro);
    border-top: 1px solid var(--azul-marino);
}

/* --- RESPONSIVIDAD --- */
@media (max-width: 768px) {
    h2 {
        font-size: 2rem;
    }

    .nav-links {
        display: none; /* Simplificado para el ejemplo, se podría implementar un menú hamburguesa */
    }

    #hero h1 {
        font-size: 2.5rem;
    }
    
    #hero .subtitle {
        font-size: 1.1rem;
    }
    
    .pain-points {
        flex-direction: column;
        align-items: center;
    }
    
    .solution-grid {
        grid-template-columns: 1fr;
    }
}
