/* home_redesign.css - Krash Hub Modern Creative Hub Styles */

:root {
    --ka-bg: #0B0B0C;
    --ka-text: #F5F5F5;
}

body {
    background-color: var(--ka-bg);
    color: var(--ka-text);
    overflow-x: hidden;
    width: 100%;
    position: relative;
    -webkit-overflow-scrolling: touch;
}

.text-warning {
    color: var(--ka-accent) !important;
}

.text-neon {
    color: var(--ka-accent);
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.3);
}

/* ─── Vitreous Utility ─── */
.vitreous-panel {
    background: var(--ka-glass);
    backdrop-filter: blur(var(--ka-blur));
    -webkit-backdrop-filter: blur(var(--ka-blur));
    border: 1px solid var(--ka-border);
    border-top-color: var(--ka-border-light);
    border-radius: var(--ka-radius);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(255, 255, 255, 0.02);
}

/* Cinematic Hero */
.hero-vh {
    min-height: 100dvh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #000;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(11, 11, 12, 0.8) 100%),
                linear-gradient(to bottom, transparent 70%, var(--ka-bg));
    z-index: 2;
}

.hero-content-main {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 1000px;
    padding: 0 20px;
}

.hero-title-main {
    font-family: var(--font-main);
    font-size: clamp(2.8rem, 9vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 2rem;
}

.hero-sub-main {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    color: #aaa;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Spotlight Trust Section */
.spotlight-trust {
    padding: 8rem 0;
    overflow: hidden;
    background: linear-gradient(to bottom, transparent, rgba(7, 7, 8, 0.5));
}

.spotlight-header {
    margin-bottom: 4rem;
}

.spotlight-marquee {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 4rem;
    padding: 2rem 0;
    mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
}

.spotlight-group {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 4rem;
    min-width: 100%;
    animation: scroll-spotlight 40s linear infinite;
}

.spotlight-name {
    font-family: var(--font-main);
    font-weight: 800;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: rgba(255, 255, 255, 0.15);
    text-transform: uppercase;
    white-space: nowrap;
    letter-spacing: 0.15em;
    transition: all 0.4s ease;
}

.spotlight-name:hover {
    color: var(--ka-accent);
    text-shadow: 0 0 30px rgba(255, 204, 0, 0.3);
    transform: scale(1.05);
}

.spotlight-sep {
    color: var(--ka-accent);
    opacity: 0.3;
    font-size: 2rem;
}

@keyframes scroll-spotlight {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-100% - 4rem)); }
}

/* Mobile Adjustments for Spotlight */
@media (max-width: 768px) {
    .spotlight-trust {
        padding: 4rem 0;
    }
    .spotlight-name {
        font-size: 2rem;
        letter-spacing: 0.1em;
    }
    .spotlight-marquee {
        gap: 2rem;
    }
    .spotlight-group {
        gap: 2rem;
    }
}

/* ─── ECOSISTEMA KRASH HUB ─── */
.krash-ecosystem-section {
    position: relative;
    background: radial-gradient(circle at center, rgba(11, 11, 13, 0.4) 0%, rgba(7, 7, 8, 1) 100%);
    overflow: hidden;
}

.ecosystem-chain {
    position: relative;
    padding: 2rem 0;
}

/* La línea dorada que conecta las cards en desktop */
.aura-wire {
    position: absolute;
    top: 50px; /* Alineada a los iconos */
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 204, 0, 0.5), transparent);
    z-index: 1;
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.4);
}

.eco-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: var(--ka-radius);
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.eco-card.glow-active {
    background: rgba(255, 204, 0, 0.03);
    border-color: rgba(255, 204, 0, 0.2);
    box-shadow: 0 0 40px rgba(255, 204, 0, 0.05);
}

.eco-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--ka-accent);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 204, 0, 0.15);
}

.eco-icon-wrap {
    width: 50px;
    height: 50px;
    background: #000;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--ka-accent);
    margin-bottom: 20px;
    box-shadow: inset 0 0 15px rgba(255, 204, 0, 0.1);
    position: relative; /* Para pararse sobre el aura-wire */
}

.eco-title {
    font-family: var(--font-main);
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.eco-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    flex-grow: 1;
    margin-bottom: 20px;
}

.eco-benefit {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    padding: 12px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    gap: 8px;
    align-items: center;
}

.eco-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: transparent;
    color: var(--ka-accent);
    border: 1px solid var(--ka-accent);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: all 0.3s;
}

.eco-cta i {
    transition: transform 0.3s;
}

.eco-card:hover .eco-cta {
    background: var(--ka-accent);
    color: #000;
    box-shadow: 0 0 20px rgba(255, 204, 0, 0.3);
}

.eco-card:hover .eco-cta i {
    transform: translateX(5px);
}

/* El proceso inferior */
.process-step {
    font-family: var(--font-main);
    font-size: 1.2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.pulse-text {
    animation: textPulse 2s infinite;
}

@keyframes textPulse {
    0% { opacity: 0.7; text-shadow: 0 0 5px rgba(255, 204, 0, 0.2); }
    50% { opacity: 1; text-shadow: 0 0 20px rgba(255, 204, 0, 0.8); }
    100% { opacity: 0.7; text-shadow: 0 0 5px rgba(255, 204, 0, 0.2); }
}

@media (max-width: 991px) {
    .aura-wire { display: none; }
    .process-step { font-size: 1rem; }
}

/* ─── 04: The Krash Edge ─── */
.krash-edge-section {
    position: relative;
    padding: 10rem 0;
    background: url('../images/krash_hub_hybrid_studio_bg.png') center/cover no-repeat fixed;
    overflow: hidden;
}

.krash-edge-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.95) 30%, rgba(0,0,0,0.5) 100%),
                radial-gradient(circle at left, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
}

.krash-edge-content {
    position: relative;
    z-index: 2;
}

.methodology-card {
    background: rgba(15, 15, 20, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top-color: rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(255, 255, 255, 0.02);
}

.logo-edge {
    height: 60px;
    filter: brightness(0) invert(1); /* Pure white, strictly no blue */
    margin-bottom: 2.5rem;
    opacity: 0.95;
    transition: all 0.3s ease;
}

.logo-edge:hover {
    filter: none; /* Revert to original if SVG has color, or keep white */
    opacity: 1;
    transform: scale(1.05);
}

/* Proof of Quality */
.proof-section {
    padding: 10rem 0;
    background: #09090a;
}

.case-card-home {
    background: var(--ka-glass);
    backdrop-filter: blur(var(--ka-blur));
    -webkit-backdrop-filter: blur(var(--ka-blur));
    border: 1px solid var(--ka-border);
    border-top-color: var(--ka-border-light);
    border-radius: var(--ka-radius);
    padding: 3rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
}

.case-card-home:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

/* Legacy buttons removed - handled by global style.css Vitreous system */

/* Mobile Adjustments */
@media (max-width: 991px) {
    .hero-vh {
        height: auto;
        min-height: 90vh;
        padding: 120px 20px 80px;
    }

    .bento-grid-home {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .bento-item {
        height: 400px;
        padding: 30px;
    }
    
    .hero-title-main {
        font-size: 3.2rem;
        letter-spacing: -1px;
    }
}

/* ─── FINAL CTA BUTTON (High Contrast) ─── */
.btn-final-cta {
    background: rgba(11, 11, 13, 0.85);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s cubic-bezier(0.2, 1, 0.3, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.btn-final-cta:hover {
    background: #000;
    color: var(--ka-accent);
    border-color: var(--ka-accent);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 204, 0, 0.2);
}
