:root {
    --primary-color: #A2D41A; /* Verde Lima Corporativo */
    --bg-dark: #000000;      /* Negro Absoluto */
    --bg-card: #0A0A0A;      /* Negro Elevado */
    --text-light: #FFFFFF;   /* Blanco */
    --text-gray: #888888;    /* Gris Corporativo */
    --border-color: rgba(162, 212, 26, 0.2);
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* --- NAVBAR --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo-text {
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 2px;
}

.accent-text {
    color: var(--primary-color);
    font-weight: 300;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 400;
    font-size: 0.9rem;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* --- HERO --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, #111 0%, #000 100%);
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--primary-color);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

/* --- BUTTONS --- */
.btn-primary {
    background: var(--primary-color);
    color: var(--bg-dark) !important;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    font-weight: 700;
}

.btn-outline {
    border: 1px solid var(--primary-color);
    padding: 0.8rem 2rem;
    color: var(--text-light);
    text-decoration: none;
    margin-right: 1rem;
    border-radius: 4px;
}

.btn-filled {
    background: var(--text-light);
    padding: 0.8rem 2rem;
    color: var(--bg-dark);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 700;
}

/* --- IMPACT SECTION (Nueva) --- */
.impact-section {
    padding: 100px 0;
    background: var(--bg-dark);
}

.impact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 5rem;
    align-items: center;
}

.label {
    color: var(--primary-color);
    font-size: 0.75rem;
    letter-spacing: 4px;
    font-weight: 700;
}

.impact-text h2 {
    font-size: 2.8rem;
    margin: 1.5rem 0;
}

.value-item {
    margin-bottom: 2.5rem;
    border-left: 1px solid var(--primary-color);
    padding-left: 2rem;
}

.value-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.value-item p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* --- TECH STACK (Nueva) --- */
.tech-stack {
    padding: 80px 0;
    border-top: 1px solid #111;
    border-bottom: 1px solid #111;
}

.stack-logos {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    margin-top: 3rem;
    opacity: 0.5;
}

.stack-item span {
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 2px;
}

/* --- ECOSISTEMA CARDS --- */
.grid-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 100px 5%;
}

.card {
    background: var(--bg-card);
    padding: 3.5rem 2.5rem;
    border-radius: 4px;
    border: 1px solid #111;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(162, 212, 26, 0.05);
}

.highlighted-card {
    border: 1px solid var(--border-color);
}

.icon {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

/* --- RESEARCH SECTION (Nueva) --- */
.research-section {
    padding: 100px 0;
}

.research-header {
    text-align: center;
    margin-bottom: 5rem;
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1px; /* Línea divisoria */
    background: #111;
}

.res-card {
    background: var(--bg-dark);
    padding: 4rem 2rem;
    transition: 0.3s;
}

.res-card:hover {
    background: #050505;
}

.res-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

/* --- ROADMAP --- */
.roadmap-section {
    padding: 120px 0;
    background: #030303;
}

.roadmap-container {
    position: relative;
    max-width: 800px;
    margin: 4rem auto 0;
}

.roadmap-container::before {
    content: '';
    position: absolute;
    width: 1px;
    background: #222;
    top: 0;
    bottom: 0;
    left: 20px;
}

.roadmap-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 50px;
}

.roadmap-dot {
    position: absolute;
    left: 11px;
    top: 8px;
    width: 18px;
    height: 18px;
    background: #000;
    border: 2px solid #333;
    border-radius: 50%;
    z-index: 2;
}

.roadmap-item.done .roadmap-dot {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px var(--primary-color);
}

.roadmap-item.active .roadmap-dot {
    border-color: var(--primary-color);
    animation: pulse 2s infinite;
}

.roadmap-content {
    background: #080808;
    padding: 2.5rem;
    border: 1px solid #111;
}

.date {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
}

/* --- FOOTER --- */
footer {
    padding: 5rem 0;
    text-align: center;
    border-top: 1px solid #111;
    color: var(--text-gray);
}

.text-center { text-align: center; }
.text-white { color: #FFF; }
.text-gray { color: var(--text-gray); }

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(162, 212, 26, 0.4); }
    70% { box-shadow: 0 0 0 12px rgba(162, 212, 26, 0); }
    100% { box-shadow: 0 0 0 0 rgba(162, 212, 26, 0); }
}

@media (max-width: 900px) {
    .impact-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 3rem; }
}

/* --- EFECTO COMING SOON (HOVER) --- */

.coming-soon {
    position: relative;
    overflow: hidden;
}

/* Creamos el velo que aparecerá al pasar el mouse */
.coming-soon::before {
    content: attr(data-message); /* Toma el texto del HTML */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0; /* Oculto por defecto */
    transition: opacity 0.4s ease;
    z-index: 10;
}

/* Al pasar el mouse, cambiamos la opacidad */
.coming-soon:hover::before {
    opacity: 1;
}

/* Opcional: añadir un pequeño badge permanente para que sea claro desde antes */
.coming-soon::after {
    content: "PRÓXIMAMENTE";
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--primary-color);
    color: var(--bg-dark);
    font-size: 0.6rem;
    font-weight: 800;
    padding: 5px 30px;
    transform: rotate(45deg);
    z-index: 5;
}

/* --- SUPPORT CTA (Link al Manual) --- */
.support-cta {
    padding: 60px 0;
    background: linear-gradient(to right, #080808, #000);
    border-top: 1px solid #111;
}

.support-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0A0A0A;
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    gap: 2rem;
}

.support-info h2 {
    margin: 0.5rem 0;
    font-size: 1.8rem;
}

.support-info p {
    color: var(--text-gray);
}

.btn-manual {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-color);
    color: var(--bg-dark);
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 700;
    border-radius: 4px;
    transition: 0.3s ease;
    white-space: nowrap;
}

.btn-manual:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(162, 212, 26, 0.3);
}

@media (max-width: 768px) {
    .support-box {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
}

/* --- ESTILOS DE LINKS EN EL FOOTER --- */
.footer-nav {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-nav a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    transition: 0.3s ease;
    letter-spacing: 0.5px;
}

.footer-nav a:hover {
    color: var(--primary-color);
}

.separator {
    color: #222; /* Un gris muy oscuro para que no distraiga */
    font-weight: 300;
}

/* Ajuste para móviles */
@media (max-width: 600px) {
    .footer-nav {
        flex-direction: column;
        gap: 1rem;
    }
    .separator {
        display: none;
    }
}