:root {
    --brand-orange: #FF5A00;
    --brand-pink: #FF0055;
    --brand-purple: #8A2BE2;
    --beige: #FDF5E6;
    --soft-black: #1A1A1A;
    --pure-white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--soft-black);
    color: var(--pure-white);
    overflow-x: hidden;
}

/* =========================================
   Loader Brutalista
========================================= */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--soft-black); /* Fondo oscuro para el brillo */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 1s cubic-bezier(0.65, 0, 0.35, 1), visibility 1s;
    overflow: hidden;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1); /* Efecto zoom out al irse */
}

.loader-bg-glow {
    position: absolute;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(255,0,85,0.4) 0%, rgba(26,26,26,0) 70%);
    border-radius: 50%;
    animation: bgPulse 3s ease-in-out infinite alternate;
    z-index: 1;
}

.loader-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loader-logo-brutal {
    width: 80vw;
    max-width: 600px;
    filter: drop-shadow(0 0 20px rgba(255, 90, 0, 0.5));
    animation: brutalReveal 2.5s cubic-bezier(0.19, 1, 0.22, 1) forwards, brutalFloat 3s ease-in-out infinite alternate 2s;
    opacity: 0;
}

@keyframes brutalReveal {
    0% { transform: scale(0.5) translateY(50px); opacity: 0; filter: blur(20px) drop-shadow(0 0 0 rgba(255,0,85,0)); }
    60% { transform: scale(1.05) translateY(-10px); opacity: 1; filter: blur(0px) drop-shadow(0 0 40px rgba(255,0,85,0.8)); }
    100% { transform: scale(1) translateY(0); opacity: 1; filter: blur(0px) drop-shadow(0 0 25px rgba(255,0,85,0.5)); }
}

@keyframes brutalFloat {
    0% { transform: translateY(0) scale(1); filter: drop-shadow(0 0 25px rgba(255,0,85,0.5)); }
    100% { transform: translateY(-15px) scale(1.02); filter: drop-shadow(0 0 50px rgba(255,90,0,0.8)); }
}

@keyframes bgPulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    100% { transform: scale(1.2); opacity: 0.8; }
}

/* =========================================
   Navbar Glassmorphism
========================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s ease;
    /* Glassmorphism */
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(10px);
}

.menu-toggle {
    display: none;
    font-size: 30px;
    color: var(--brand-orange);
    cursor: pointer;
    z-index: 1001; /* Above the menu */
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--pure-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--brand-orange);
}

.btn-login {
    background: var(--pure-white);
    color: var(--brand-pink) !important;
    padding: 10px 24px;
    border-radius: 30px;
}

/* =========================================
   Hero Section (Tinder Style Grid)
========================================= */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
}

/* Background Grid Setup */
.hero-bg-grid {
    position: absolute;
    top: -50%;
    left: -10%;
    width: 120%;
    height: 200%;
    display: flex;
    gap: 30px;
    transform: rotate(-15deg);
    opacity: 0.5;
    z-index: 1;
}

.grid-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
    flex: 1;
}

.grid-column img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    object-fit: cover;
}

/* Scrolling Animations */
.scroll-up {
    animation: scrollUp 40s linear infinite;
}

.scroll-down {
    animation: scrollDown 40s linear infinite;
}

@keyframes scrollUp {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

@keyframes scrollDown {
    0% { transform: translateY(-50%); }
    100% { transform: translateY(0); }
}

/* Vignette overlay */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.8) 100%);
    z-index: 2;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 80px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: var(--beige);
    margin-bottom: 40px;
}

.btn-store {
    display: inline-block;
    background: linear-gradient(90deg, var(--brand-pink), var(--brand-orange));
    color: var(--pure-white);
    padding: 16px 48px;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(255, 0, 85, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-store:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 0, 85, 0.6);
}

.btn-store-corporate {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--soft-black);
    color: var(--pure-white);
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s, background 0.3s;
}

.btn-store-corporate:hover {
    transform: translateY(-3px);
    background: #000;
}

.btn-store-corporate svg {
    fill: var(--pure-white);
    width: 28px;
    height: 28px;
}

.store-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.store-text .small {
    font-size: 11px;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 3px;
    opacity: 0.8;
}

.store-text .big {
    font-size: 18px;
    font-weight: 600;
    line-height: 1;
}

/* =========================================
   Brutal Features (Scroll-jacking Layout)
========================================= */
.brutal-features {
    padding: 120px 20px;
    background-color: var(--beige);
    color: var(--soft-black);
    overflow: hidden;
}

.brutal-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.brutal-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.brutal-row.reverse {
    flex-direction: row-reverse;
}

.brutal-text {
    flex: 1;
}

.brutal-text h2 {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.highlight { color: var(--brand-orange); }
.highlight-pink { color: var(--brand-pink); }
.highlight-purple { color: var(--brand-purple); }

.brutal-text p {
    font-size: 22px;
    color: #444;
    line-height: 1.6;
}

/* Image Containers */
.brutal-image-stack {
    flex: 1;
    position: relative;
    height: 600px;
    display: flex;
    justify-content: center;
}

.brutal-image-stack img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 280px;
    border-radius: 40px;
    box-shadow: 20px 20px 0px rgba(0,0,0,0.1); /* Sombra dura brutalista */
    border: 4px solid var(--soft-black);
    transition: transform 0.5s ease;
}

.img-back {
    transform: rotate(-10deg) translate(-40px, 40px);
    z-index: 1;
}

.img-front {
    transform: rotate(5deg) translate(40px, -20px);
    z-index: 2;
}

.brutal-image-stack:hover .img-back { transform: rotate(-15deg) translate(-60px, 60px); }
.brutal-image-stack:hover .img-front { transform: rotate(10deg) translate(60px, -40px); }

.brutal-image-single {
    flex: 1;
    display: flex;
    justify-content: center;
}

.brutal-image-single img {
    width: 320px;
    border-radius: 40px;
    box-shadow: -20px 20px 0px var(--brand-pink);
    border: 4px solid var(--soft-black);
    transform: rotate(5deg);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.brutal-image-single img:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: -10px 10px 0px var(--brand-pink);
}

.brutal-row.reverse .brutal-image-single img {
    box-shadow: 20px 20px 0px var(--brand-orange);
    transform: rotate(-5deg);
}

.brutal-row.reverse .brutal-image-single img:hover {
    box-shadow: 10px 10px 0px var(--brand-orange);
    transform: rotate(0deg) scale(1.05);
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.bento-item {
    background: var(--pure-white);
    padding: 40px;
    border-radius: 30px;
    border: 3px solid var(--soft-black);
    box-shadow: 10px 10px 0px rgba(0,0,0,0.9);
    transition: transform 0.3s, box-shadow 0.3s;
}

.bento-item:hover {
    transform: translate(-5px, -5px);
    box-shadow: 15px 15px 0px rgba(0,0,0,0.9);
}

.bento-item h3 { font-size: 24px; margin-bottom: 12px; }
.bento-item p { color: #555; font-size: 16px; }

.box-1 { background: #FFD166; }
.box-2 { background: #06D6A0; color: #fff; border-color: #06D6A0;}
.box-2 h3, .box-2 p { color: #111; }
.box-3 { background: #118AB2; color: #fff; border-color: #118AB2;}

/* Scroll Reveal Animations */
.scroll-reveal {
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.scroll-reveal.left { transform: translateX(-100px); }
.scroll-reveal.right { transform: translateX(100px); }
.scroll-reveal.up { transform: translateY(100px); }

.scroll-reveal.visible {
    opacity: 1;
    transform: translate(0);
}

/* =========================================
   Footer
========================================= */
footer {
    padding: 40px 50px;
    background: #111;
    text-align: center;
}

.footer-content p {
    margin-top: 20px;
    color: #888;
}

/* =========================================
   Responsive
========================================= */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }
    
    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none; /* Oculto por defecto */
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(26, 26, 26, 0.95);
        backdrop-filter: blur(10px);
        padding: 20px 0;
        text-align: center;
        border-bottom: 2px solid var(--brand-pink);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 18px;
        padding: 15px 0;
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .btn-login {
        margin: 15px auto;
        width: 80%;
    }

    .hero-title {
        font-size: 50px;
    }

    .d-none-mobile {
        display: none !important;
    }

    .brutal-row, .brutal-row.reverse {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        margin-bottom: 0px;
    }

    .brutal-text h2 {
        font-size: 40px;
    }

    .brutal-image-stack {
        height: 550px; /* Suficiente espacio para las imágenes absolutas */
        margin-bottom: 40px;
    }

    .brutal-image-stack img, .brutal-image-single img {
        width: 200px;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Internal Pages (Productos, Suscripciones, etc.)
========================================= */
.page-hero {
    padding: 150px 20px 50px 20px;
}

.giant-title {
    font-size: 60px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -2px;
}

.text-center { text-align: center; }

/* Pricing Cards */
.pricing-brutal-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: wrap;
}

.pricing-card {
    flex: 1;
    min-width: 300px;
    padding: 40px;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    transition: transform 0.3s;
}

.pricing-card:hover { transform: translateY(-10px); }

.outline-card {
    background: transparent;
    border: 4px solid var(--pure-white);
    color: var(--pure-white);
}

.solid-card {
    background: var(--pure-white);
    color: var(--soft-black);
    border: 4px solid var(--pure-white);
    box-shadow: 0 0 50px rgba(255, 0, 85, 0.4);
}

.neon-purple {
    border-color: var(--brand-purple);
    box-shadow: inset 0 0 20px rgba(138, 43, 226, 0.2), 0 0 30px rgba(138, 43, 226, 0.4);
}

.pricing-card h2 { font-size: 32px; font-weight: 900; }
.pricing-card .price { font-size: 48px; font-weight: 900; }
.pricing-card .small { font-size: 16px; opacity: 0.6; }

.features-list {
    list-style: none;
    margin-bottom: 30px;
    flex: 1;
}

.features-list li {
    font-size: 18px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(128,128,128,0.2);
    padding-bottom: 10px;
}

.pulse-card { animation: floatCard 4s ease-in-out infinite alternate; }

.badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background: var(--brand-orange);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 12px;
}

@keyframes floatCard {
    0% { transform: translateY(0); }
    100% { transform: translateY(-15px); }
}

/* Dark Mode Overrides */
.dark-mode {
    background-color: var(--soft-black);
    color: var(--pure-white);
}

/* =========================================
   Brutal Credits (Footer Bottom)
========================================= */
.brutal-credits {
    background-color: var(--soft-black);
    padding: 100px 0 50px 0;
    overflow: hidden;
    position: relative;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.credits-small {
    font-size: 14px;
    letter-spacing: 10px;
    text-transform: uppercase;
    color: var(--brand-pink);
    margin-bottom: -3vw;
    position: relative;
    z-index: 10;
    font-weight: 600;
}

.credits-marquee {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 0.85;
}

.marquee-text {
    font-size: 16vw;
    font-weight: 900;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: -5px;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.marquee-text.outline {
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.3);
    transform: translateX(-5vw);
}

.marquee-text.solid {
    background: linear-gradient(90deg, var(--brand-pink), var(--brand-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: translateX(5vw);
}

.brutal-credits:hover .marquee-text.outline { transform: translateX(2vw); -webkit-text-stroke: 2px rgba(255, 255, 255, 0.8); }
.brutal-credits:hover .marquee-text.solid { transform: translateX(-2vw); }
