/* ==========================================================================
   CONFIGURACIÓN DE FUENTES (Google Fonts)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500&family=Outfit:wght@600;700&display=swap');

/* ==========================================================================
   VARIABLES DE DISEÑO (Tus colores y fuentes)
   ========================================================================== */
:root {
    /* Colores Globales */
    --primary-color: #5729d9;      /* Morado Principal */
    --secondary-color: #010101;    /* Negro */
    --accent-color: #b2b1b1;       /* Gris énfasis */
    --bg-body: #ffffff;            /* Fondo blanco */
    --theme-light: #f4f2f9;        /* Color tema 2 */
    --text-gray: #727272;          /* Color de fuente cuerpo */
    --border-color: #E6E8EA;       /* Color de borde */
    
    /* Tipografía */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'DM Sans', sans-serif;
}

/* ==========================================================================
   ESTILOS BASE
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 28px;
    color: var(--text-gray);
    background-color: var(--bg-body);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   NAVEGACIÓN (Header)
   ========================================================================== */
.navbar {
    width: 100%;
    padding: 15px 0;
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    display: block;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 500;
    transition: 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

/* ==========================================================================
   BLOQUE HERO (Portada)
   ========================================================================== */
.hero {
    padding: 80px 0;
    overflow: hidden;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.tag-ia {
    background-color: var(--theme-light);
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    display: inline-block;
}

h1 {
    font-family: var(--font-heading);
    font-size: 64px;
    line-height: 70px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 25px;
}

h1 span {
    color: var(--primary-color);
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 35px;
    max-width: 520px;
}

.hero-image {
    flex: 1;
    text-align: right;
}

.hero-image img {
    filter: drop-shadow(0px 15px 30px rgba(0,0,0,0.08));
}

/* ==========================================================================
   BOTONES
   ========================================================================== */
.btn-primary {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: 0.3s;
}

.btn-primary:hover {
    background-color: #431db3; /* Un tono más oscuro para el hover */
    transform: translateY(-2px);
}

.btn-secondary {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 15px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-left: 15px;
    transition: 0.3s;
}

.btn-secondary:hover {
    background-color: var(--theme-light);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    background-color: var(--theme-light);
    padding: 60px 0 30px 0;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer-iso {
    height: 50px;
    margin-bottom: 20px;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
    font-size: 13px;
}

/* ==========================================================================
   RESPONSIVO (Móviles)
   ========================================================================== */
@media (max-width: 991px) {
    .hero-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    h1 {
        font-size: 42px;
        line-height: 48px;
    }

    .hero-content p {
        margin: 0 auto 30px auto;
    }

    .btn-secondary {
        margin-left: 0;
        margin-top: 15px;
        display: block;
    }

    .btn-primary {
        display: block;
    }

    .nav-menu {
        display: none; /* Oculto para simplificar en móvil por ahora */
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand p {
        margin: 0 auto;
    }
}