/* --- VARIABLES --- */
:root {
    --primary-grad: linear-gradient(135deg, #FF3D3D 0%, #FF7E5F 50%, #FEB47B 100%);
    --white: #FFFFFF;
    --dark: #121212;
    --text-muted: rgba(255, 255, 255, 0.8);
    --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0; padding: 0; box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--white);
    color: var(--dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0; width: 100%;
    z-index: 1000;
    padding: 2rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 61, 61, 0.98);
    padding: 1rem 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 900;
    font-size: 1.6rem;
    color: var(--white);
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    opacity: 0.8;
    transition: 0.3s;
}

.nav-links a:hover { opacity: 1; }

.btn-login {
    border: 2px solid var(--white);
    color: var(--white);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-login:hover {
    background: var(--white);
    color: #FF3D3D;
}

/* --- HERO SPLIT --- */
.hero-split {
    position: relative;
    height: 100vh;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    overflow: hidden;
}

.hero-content-wrapper {
    background: var(--primary-grad);
    display: flex;
    align-items: center;
    color: var(--white);
    z-index: 1;
}

.hero-content {
    max-width: 600px;
    animation: fadeInUp 1s ease-out;
}

.top-subtitle {
    font-size: 0.8rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: block;
}

.hero-content h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1;
    font-weight: 900;
}

.hero-content h1 span { opacity: 0.6; }

.hero-content p {
    font-size: 1.2rem;
    margin: 2rem 0;
    color: var(--text-muted);
    max-width: 450px;
}

.btn-primary {
    background: var(--white);
    color: #FF3D3D;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* --- CLIP PATH VISUAL --- */
.hero-visual-wrapper {
    position: relative;
    margin-left: -40%; /* Superposición sobre el lado izquierdo */
    width: 140%;
    height: 100%;
    z-index: 2;
}

.geometric-clip {
    width: 100%;
    height: 100%;
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
    transition: var(--transition);
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.3), transparent);
}

/* Animaciones */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .hero-split { grid-template-columns: 1fr; }
    .hero-visual-wrapper { margin-left: 0; width: 100%; height: 400px; }
    .geometric-clip { clip-path: polygon(0% 15%, 100% 0%, 100% 100%, 0% 85%); }
    .nav-links { display: none; }
}