/* Reset y tipografía */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --bg-main: #0f172a;
    --bg-secondary: #020617;
    --primary: #3b82f6;
    --secondary: #8b5cf6;
    --accent: #22d3ee;
    --text-main: #e5e7eb;
    --text-muted: #94a3b8;
}

body {
    background: linear-gradient(135deg, var(--bg-main), var(--bg-secondary));
    color: var(--text-main);
    min-height: 100vh;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 40px;
    background: rgba(2,6,23,0.9);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
}

.nav-links a {
    margin-left: 20px;
    text-decoration: none;
    color: var(--text-muted);
    transition: 0.3s;
    cursor: pointer;
}

.nav-links a:hover,
.active-link {
    color: var(--primary);
}

.btn-login {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 8px 18px;
    border-radius: 20px;
    color: #fff !important;
    border: none;
    text-decoration: none;
}

/* Hero */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 40px;
}

.hero-text h1 {
    font-size: 42px;
}

.highlight {
    color: var(--accent);
}

.hero-text p {
    margin: 20px 0;
    color: var(--text-muted);
    max-width: 500px;
}

.hero-buttons button {
    margin-right: 10px;
    padding: 12px 25px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}

.hero-buttons button:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.hero-img img {
    max-width: 100%;
    height: auto;
}

/* Secciones */
.section-container {
    display: none;
    animation: fadeIn 0.5s ease;
    padding: 40px;
}

.section-container.active {
    display: block;
}

/* Responsive */
.menu-toggle {
    display: none;
    font-size: 22px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        background: var(--bg-main);
        position: absolute;
        top: 70px;
        right: 0;
        width: 200px;
        padding: 20px;
    }

    .nav-links.open {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}