:root {
    /* Color Palette - Minimalist & Elegant */
    --bg-main: #0a0a10;
    --bg-card: rgba(18, 18, 33, 0.4);
    --bg-accent: #121221;
    --primary: #9494c7;
    --primary-hover: #a9a9d4;
    --secondary: #6366f1;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(10, 10, 16, 0.8);
    --glass-border: rgba(148, 148, 199, 0.1);

    /* Spacing & Borders */
    --radius: 8px;
    --transition: all 0.4s cubic-bezier(0.2, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    font-weight: 300;
    transition: background-color 0.5s ease, opacity 0.4s ease;
    /* Integrated transition */
}

/* Global i18n Flash Prevention (Whole Body) */
body.i18n-loading {
    opacity: 0 !important;
}

h1,
h2,
h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    /* Slightly more weight for the geometric feel */
    letter-spacing: -0.01em;
    /* Futura-like tighter spacing */
    text-transform: none;
    /* Let the HTML decide */
}

/* Glassmorphism Utility - Simplified */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

/* Header */
.barra-superior {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    padding: 0 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    transition: var(--transition);
}

.logo-contenedor {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icono {
    height: 32px;
    filter: drop-shadow(0 0 10px rgba(148, 148, 199, 0.3));
}

.logo-texto {
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 0em;
    text-transform: none;
    color: #fff;
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
}

.lang-switcher {
    display: flex;
    gap: 12px;
}

.lang-switcher button {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 600;
    transition: var(--transition);
    padding: 4px;
}

.lang-switcher button:hover,
.lang-switcher button.active {
    color: var(--primary);
}

.hamburger-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: #fff;
    padding: 0;
    width: 24px;
    height: 24px;
}

/* Sections */
.seccion {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 120px 20px;
    text-align: center;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Buttons - Elegant */
.boton {
    display: inline-block;
    background: transparent;
    color: #fff;
    padding: 14px 40px;
    border: 1px solid var(--primary);
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: var(--transition);
    cursor: pointer;
}

.boton:hover {
    background: var(--primary);
    color: var(--bg-main);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(148, 148, 199, 0.2);
}

/* Footer - Compacted */
footer {
    padding: 30px 20px;
    /* Reduced padding */
    background: #000;
    /* Pure black at bottom */
    text-align: center;
    border-top: 1px solid var(--glass-border);
}

footer p {
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    font-weight: 300;
}

/* Responsive */
@media (max-width: 820px) {
    .nav-desktop {
        display: none;
    }

    .hamburger-button {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        color: #fff;
    }

    .barra-superior {
        padding: 0 30px;
    }
}