/* =========================================
   1. CONFIGURACIÓN GENERAL & RESET
   ========================================= */
:root {
    --bg-main: #080808;
    --bg-panel: #121212;
    --bg-panel-hover: #1a1a1a;
    --accent-red: #E63946;
    --accent-cream: #E6E6B5;
    --text-main: #ffffff;
    --text-muted: #888888;
    --border-color: #222222;
    
    /* Nuevas variables de control */
    --font-main: 'Satoshi', sans-serif;
    --transition-fast: 0.3s ease;
    --transition-smooth: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-slow: 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    -webkit-font-smoothing: antialiased; 
    -moz-osx-font-smoothing: grayscale;
}

/* LENIS SCROLL */
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }

body { 
    background-color: var(--bg-main); 
    color: var(--text-main); 
    font-family: var(--font-main); 
    overflow-x: hidden; 
    width: 100%;
    min-height: 100vh; 
}

/* RESET DE ENLACES */
a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

/* ESTILOS DE LA BARRA DE NAVEGACIÓN */
.nav-links a {
    color: #ffffff; 
    transition: color var(--transition-fast), text-shadow var(--transition-fast);
}

.nav-links a:hover, 
.nav-links a.active {
    color: var(--accent-cream, #faf5b6) !important;
    text-shadow: 0 0 10px rgba(250, 245, 182, 0.4);
}

/* =========================================
   2. PANTALLA DE CARGA & FONDO
   ========================================= */
#preloader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: var(--bg-main); z-index: 99999; 
    display: flex; justify-content: center; align-items: center;
    transition: transform 1.2s cubic-bezier(0.7, 0, 0.3, 1); 
}
.loader-content { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.logo-charge { width: 100px; height: auto; animation: pulseLogo 2s infinite ease-in-out; }
.progress-container { width: 200px; height: 2px; background: rgba(255,255,255,0.1); border-radius: 4px; overflow: hidden; }
.progress-bar { height: 100%; width: 0%; background: var(--accent-red); animation: loadProgress 2.5s cubic-bezier(0.25, 1, 0.5, 1) forwards; }
.loading-text { font-size: 0.8rem; color: var(--text-muted); letter-spacing: 2px; text-transform: uppercase; animation: fadeInText 1s ease; }

@keyframes loadProgress { 0% { width: 0%; } 50% { width: 60%; } 100% { width: 100%; } }
@keyframes pulseLogo { 0% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.05); opacity: 0.8; } 100% { transform: scale(1); opacity: 1; } }
.loaded { transform: translateY(-100%); }

/* Fondo Animado */
.bg-fixed-layer { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; overflow: hidden; }
.light-blob { position: absolute; border-radius: 50%; background: radial-gradient(circle, rgba(230, 57, 70, 0.3) 0%, transparent 60%); filter: blur(120px); opacity: 0.6; animation: moveLightSmooth 30s infinite alternate ease-in-out; will-change: transform; }
.blob-1 { top: -30%; left: -20%; width: 1000px; height: 1000px; }
.blob-2 { bottom: -30%; right: -20%; width: 800px; height: 800px; animation-delay: -15s; }
@keyframes moveLightSmooth { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(150px, 80px) scale(1.2); } }

/* =========================================
   3. NAVEGACIÓN & UTILIDADES
   ========================================= */
.font-satoshi-bold { font-weight: 700; }
.text-red { color: var(--accent-red); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mb-5 { margin-bottom: 3rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mb-large { margin-bottom: 130px; }

.solid-nav {
    position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
    width: 95%; max-width: 1400px;
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 30px; background: rgba(255, 255, 255, 0.05); 
    backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 50px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3); z-index: 1000; 
}
.nav-logo { height: 35px; }
.nav-links { display: flex; list-style: none; gap: 30px; margin: 0; padding: 0; }
.nav-links li { font-size: 0.9rem; font-weight: 500; color: var(--text-muted); cursor: pointer; transition: var(--transition-fast); }
.nav-links li:hover, .nav-links li.active { color: var(--accent-cream); }
.mobile-menu-icon { display: none; color: white; font-size: 1.5rem; cursor: pointer; z-index: 1001; }

main { padding-top: 120px; width: 100%; overflow-x: hidden; }
.tab-content { display: none; opacity: 0; transition: opacity 0.5s ease; width: 100%; }
.active-section { display: block; opacity: 1; }
.full-width-section { width: 100%; padding: 0; }
.content-wrapper { max-width: 1200px; margin: 0 auto; width: 90%; padding: 50px 0; }

/* =========================================
   4. SECCIÓN INICIO / HERO
   ========================================= */
.hero-container { position: relative; height: 75vh; display: flex; align-items: center; justify-content: center; overflow: hidden; width: 100%; }
.cover-carousel-wrapper { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.5; display: flex; align-items: center; }
.carousel-track-container { width: 100%; }
.carousel-track { display: flex; gap: 40px; width: max-content; animation: scrollMarquee 90s linear infinite; will-change: transform; }
.cover-item { width: 500px; height: 500px; border-radius: 50px; overflow: hidden; filter: brightness(0.4) saturate(1.2); box-shadow: 0 50px 100px rgba(0,0,0,0.9); transition: var(--transition-smooth); }
.cover-item img { width: 100%; height: 100%; object-fit: cover; }
.cover-item:hover { filter: brightness(1) saturate(1); transform: scale(1.02); z-index: 2; }

@keyframes scrollMarquee { 
    0% { transform: translate3d(0, 0, 0); } 
    100% { transform: translate3d(-50%, 0, 0); } 
}

.shadow-overlay-full { position: absolute; top:0; left:0; width:100%; height:100%; background: radial-gradient(circle, transparent 30%, #080808 90%); z-index: 1; }
.shadow-overlay-left, .shadow-overlay-right { position: absolute; top: 0; height: 100%; width: 25%; z-index: 2; pointer-events: none; }
.shadow-overlay-left { left: 0; background: linear-gradient(to right, #080808, transparent); }
.shadow-overlay-right { right: 0; background: linear-gradient(to left, #080808, transparent); }

.hero-content { position: relative; z-index: 10; padding: 0 20px; text-align: center; }
.hero-title-satoshi { font-size: clamp(2.5rem, 6vw, 5rem); line-height: 1.1; margin-bottom: 20px; }
.weight-black { font-weight: 900; color: #fff; }
.weight-light { font-weight: 300; font-style: normal; }
.hero-desc { color: #ccc; margin-bottom: 30px; font-size: 1.2rem; }

/* Botones Generales */
.btn-apply-glow, .btn-primary, .btn-blue, .outline-btn {
    padding: 15px 40px; border-radius: 50px; cursor: pointer; 
    font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem; color: white;
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth); width: fit-content;
    text-decoration: none; border: none; display: inline-block;
}
.btn-apply-glow { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.2); }
.btn-apply-glow:hover { background: rgba(255, 255, 255, 0.15); box-shadow: 0 0 30px rgba(255, 255, 255, 0.2); transform: translateY(-2px); }
.btn-primary { background: rgba(230, 57, 70, 0.25); border: 1px solid rgba(230, 57, 70, 0.4); width: 100%; }
.btn-primary:hover { background: rgba(230, 57, 70, 0.6); box-shadow: 0 0 20px rgba(230, 57, 70, 0.4); transform: translateY(-2px); }

/* --- TÍTULO SECCIÓN DISTRIBUCIÓN --- */
.dsp-title { margin-top: 140px; margin-bottom: 40px; position: relative; z-index: 10; }

/* --- CARRUSEL INICIO (VERTICAL) --- */
.dsp-section-wrapper { width: 100%; padding: 0; display: flex; justify-content: center; margin-bottom: 120px; }
.dsp-carousel-mask { 
    height: 100px; overflow: hidden; margin-top: 10px; 
    position: relative; width: 100%; 
    display: flex; justify-content: center; 
    mask-image: linear-gradient(transparent, black 20%, black 80%, transparent); 
    -webkit-mask-image: linear-gradient(transparent, black 20%, black 80%, transparent); 
}
.dsp-track-vertical { display: flex; flex-direction: column; will-change: transform; animation: scrollVerticalSteps 9s ease-in-out infinite; }
.dsp-group { height: 100px; width: 100%; display: flex; gap: 60px; justify-content: center; align-items: center; flex-shrink: 0; }
.dsp-group img { 
    width: 120px; height: 50px; object-fit: contain; object-position: center;
    transition: var(--transition-fast) all; filter: brightness(0) invert(0.6); opacity: 0.8; 
}
.dsp-group img:hover { opacity: 1; transform: scale(1.1); filter: drop-shadow(0 0 10px rgba(255,255,255,0.4)); }

@keyframes scrollVerticalSteps { 
    0%, 25% { transform: translate3d(0, 0, 0); } 
    33%, 58% { transform: translate3d(0, -100px, 0); } 
    66%, 91% { transform: translate3d(0, -200px, 0); } 
    100% { transform: translate3d(0, -300px, 0); } 
}

/* --- SECCIÓN VALORES 3D --- */
.values-section-3d { text-align: center; padding: 40px 0 130px 0; }
.values-title-cream { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; color: var(--accent-cream); margin-bottom: 10px; text-shadow: 0 0 30px rgba(230, 230, 181, 0.2); }
.values-subtitle { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 100px; }

.carousel-3d-container { position: relative; width: 100%; max-width: 1000px; height: 350px; margin: 0 auto 30px auto; display: flex; align-items: center; justify-content: center; touch-action: pan-y; }
.carousel-3d-track { position: relative; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center; }
.carousel-3d-item {
    position: absolute; width: 280px; height: 320px; border-radius: 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.01) 100%);
    backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 45px rgba(0,0,0,0.5);
    display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 30px; text-align: center; 
    transition: var(--transition-slow);
}
.icon-value { font-size: 3rem; color: var(--accent-red); margin-bottom: 20px; }
.carousel-3d-item h3 { font-size: 1.5rem; font-weight: 900; margin-bottom: 10px; color: white; }
.carousel-3d-item p { font-size: 0.9rem; color: #ccc; line-height: 1.4; }

.carousel-3d-item.center-item { transform: translateX(0) scale(1.1); z-index: 10; opacity: 1; }
.carousel-3d-item.left-item { transform: translateX(-110%) scale(0.9); z-index: 5; opacity: 0.5; filter: blur(2px); }
.carousel-3d-item.right-item { transform: translateX(110%) scale(0.9); z-index: 5; opacity: 0.5; filter: blur(2px); }
.carousel-3d-item.hidden-left { transform: translateX(-200%) scale(0.7); z-index: 1; opacity: 0; }
.carousel-3d-item.hidden-right { transform: translateX(200%) scale(0.7); z-index: 1; opacity: 0; }

.nav-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 200;
    width: 60px; height: 60px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1); border-top: 1px solid rgba(255, 255, 255, 0.5); border-left: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(255, 255, 255, 0.05);
    color: #fff; font-size: 1.2rem; cursor: pointer; display: flex; justify-content: center; align-items: center;
    transition: var(--transition-smooth); outline: none;
}
.arrow-left { left: 10px; }
.arrow-right { right: 10px; }
.nav-arrow:hover {
    background: rgba(255, 255, 255, 0.15); border-color: var(--accent-red);
    box-shadow: 0 0 30px rgba(230, 57, 70, 0.4), inset 0 0 20px rgba(255, 255, 255, 0.1);
    transform: translateY(-50%) scale(1.15);
}
.nav-arrow:active { transform: translateY(-50%) scale(0.9); }

/* --- METHOD & SELECCIÓN --- */
.method-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px; margin-top: 80px; }
.method-card { 
    background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    padding: 40px; border-radius: 24px; display: flex; gap: 25px; align-items: flex-start; 
    transition: var(--transition-smooth); position: relative; overflow: hidden;
}
.method-card:hover { 
    transform: translateY(-5px); border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06); box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5);
}
.step-number { 
    font-family: var(--font-main); font-weight: 900; font-size: 3.5rem; 
    background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.05) 100%);
    background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; line-height: 1; 
}
.step-content h3 { font-size: 1.4rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.step-content p { font-size: 0.95rem; color: #999; line-height: 1.6; }

.selection-process-container { 
    background: linear-gradient(145deg, #0a0a0a 0%, #050505 100%);
    border: 1px solid rgba(255,255,255,0.05); padding: 80px 0; border-radius: 30px; 
    position: relative; margin-top: 100px;
}
.steps-horizontal { display: flex; justify-content: space-between; align-items: flex-start; max-width: 900px; margin: 0 auto 50px auto; position: relative; }
.step-item { text-align: center; width: 200px; position: relative; z-index: 2; }
.step-circle { 
    width: 70px; height: 70px; background: rgba(20, 20, 20, 0.8); 
    border: 1px solid rgba(230, 57, 70, 0.3); border-radius: 50%; 
    display: flex; justify-content: center; align-items: center; 
    font-size: 1.8rem; font-weight: 700; color: var(--accent-cream); margin: 0 auto 25px auto; 
    box-shadow: 0 0 20px rgba(0,0,0,0.5); backdrop-filter: blur(10px); transition: transform var(--transition-fast);
}
.step-item:hover .step-circle { transform: scale(1.1); border-color: var(--accent-red); box-shadow: 0 0 30px rgba(230, 57, 70, 0.2); }
.step-line { flex-grow: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); margin-top: 35px; }
.step-item h4 { color: #fff; font-size: 1.2rem; margin-bottom: 10px; font-weight: 700; }
.step-item p { font-size: 0.9rem; color: #888; }

/* =========================================
   5. SECCIÓN DISTRIBUCIÓN & PUBLISHING
   ========================================= */
.text-gradient-silver {
    background: linear-gradient(135deg, #fff 0%, #888 100%);
    background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.badge-tech { 
    background: rgba(230, 57, 70, 0.15); color: var(--accent-red); 
    padding: 6px 14px; border-radius: 30px; font-size: 0.75rem; 
    font-weight: 700; letter-spacing: 1px; border: 1px solid rgba(230, 57, 70, 0.3); 
    text-transform: uppercase; display: inline-block;
}

.info-context-panel {
    background: linear-gradient(145deg, #0f0f0f 0%, #050505 100%);
    border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 30px; padding: 60px;
    max-width: 1100px; margin: 0 auto; display: flex; gap: 60px; align-items: center;
    position: relative; overflow: hidden;
}
.context-text { flex: 1.5; z-index: 2; text-align: left; }
.readable-text { font-size: 1.05rem; line-height: 1.8; color: #bbb; }
.benefits-row { display: flex; gap: 15px; flex-wrap: wrap; }
.benefit-tag {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    padding: 8px 16px; border-radius: 50px; font-size: 0.85rem; color: white; display: flex; align-items: center; gap: 8px;
}
.benefit-tag i { color: var(--accent-red); }

.context-visual { flex: 1; display: flex; justify-content: center; align-items: center; z-index: 1; height: 300px; }
.circle-orbit {
    width: 260px; height: 260px; border: 1px dashed rgba(255,255,255,0.1);
    border-radius: 50%; position: relative; animation: rotateOrbit 40s linear infinite;
}
.center-core {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    font-size: 4rem; color: var(--accent-cream); z-index: 10;
    display: flex; justify-content: center; align-items: center;
}
.core-pulse {
    position: absolute; width: 100%; height: 100%; border-radius: 50%;
    background: var(--accent-red); opacity: 0.2; filter: blur(20px);
    animation: pulseCore 3s infinite ease-in-out; z-index: -1;
}
.orbit-item {
    position: absolute; width: 45px; height: 45px;
    background: #1a1a1a; border: 1px solid rgba(255,255,255,0.15); border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    font-size: 1.2rem; color: white; box-shadow: 0 0 20px rgba(0,0,0,0.8);
    top: 50%; left: 50%; margin-top: -22.5px; margin-left: -22.5px;
}
.pos-1 { transform: rotate(0deg) translate(130px) rotate(0deg); }
.pos-2 { transform: rotate(60deg) translate(130px) rotate(-60deg); }
.pos-3 { transform: rotate(120deg) translate(130px) rotate(-120deg); }
.pos-4 { transform: rotate(180deg) translate(130px) rotate(-180deg); }
.pos-5 { transform: rotate(240deg) translate(130px) rotate(-240deg); }
.pos-6 { transform: rotate(300deg) translate(130px) rotate(-300deg); }

@keyframes rotateOrbit { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes pulseCore { 0% { transform: scale(0.8); opacity: 0.1; } 50% { transform: scale(1.2); opacity: 0.3; } 100% { transform: scale(0.8); opacity: 0.1; } }

.marquee-balanced { margin-top: 100px; margin-bottom: 120px; padding: 50px 0; }
.marquee-container {
    width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw;
    overflow: hidden; background: linear-gradient(90deg, var(--bg-main) 0%, rgba(255,255,255,0.01) 50%, var(--bg-main) 100%);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}
.marquee-track-horizontal { display: flex; gap: 60px; width: max-content; animation: scrollHorizontal 40s linear infinite; will-change: transform; }
.logo-box { width: 140px; height: 80px; display: flex; justify-content: center; align-items: center; flex-shrink: 0; }
.logo-box img { 
    height: 40px; width: auto; max-width: 100%; object-fit: contain; 
    filter: grayscale(100%) opacity(0.5); transition: var(--transition-smooth); cursor: pointer; 
}
.logo-box img:hover { filter: grayscale(0%) opacity(1); transform: scale(1.15); }

@keyframes scrollHorizontal { 
    0% { transform: translate3d(0, 0, 0); } 
    100% { transform: translate3d(-50%, 0, 0); } 
}

/* Bento Grid */
.bento-grid-wrapper {
    display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(250px, auto);
    grid-auto-flow: dense; gap: 25px; max-width: 1100px; margin: 0 auto 100px auto;
}
.card-tall { grid-row: span 2; }       
.card-large { grid-column: span 2; }   
.card-normal { grid-column: span 1; }  
.card-cta-centered { grid-column: 1 / -1; }

.bento-card {
    background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px; padding: 35px; position: relative; overflow: hidden;
    backdrop-filter: blur(25px); display: flex; flex-direction: column; justify-content: space-between;
    transition: var(--transition-smooth);
}
.glass-hover:hover { transform: translateY(-5px); border-color: rgba(255, 255, 255, 0.2); box-shadow: 0 20px 50px -10px rgba(0,0,0,0.6); }

.bento-icon { font-size: 2.2rem; color: var(--accent-cream); margin-bottom: 20px; }
.bento-content h3 { font-size: 1.3rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.bento-content p { color: #999; font-size: 0.95rem; line-height: 1.6; }
.money-title { font-size: 2.5rem; font-weight: 800; color: white; margin: 15px 0; letter-spacing: -1px; }

.split-layout-card { display: flex; justify-content: space-between; height: 100%; gap: 20px; }
.split-layout-card.align-center { align-items: center; }
.text-side { flex: 1; }
.header-split { display: flex; justify-content: space-between; align-items: flex-start; width: 100%; margin-bottom: 20px; }

.visual-side-tokens { display: flex; flex-direction: column; gap: 25px; justify-content: center; padding-left: 15px; flex-shrink: 0; }
.algo-token-mini {
    width: 55px; height: 55px; border-radius: 12px; overflow: hidden;
    border: 1px solid rgba(255,255,255,0.15); background: #000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4); transition: transform var(--transition-fast);
}
.algo-token-mini img { width: 100%; height: 100%; object-fit: cover; opacity: 0.9; }
.algo-token-mini:hover { transform: scale(1.2) translateX(-5px); border-color: var(--accent-red); z-index: 2; }

.visual-side-grid { flex-shrink: 0; }
.case-label { font-size: 0.7rem; color: var(--accent-red); text-transform: uppercase; letter-spacing: 1px; }
.playlist-micro-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; width: 140px; }
.playlist-thumb { width: 100%; aspect-ratio: 1/1; border-radius: 4px; overflow: hidden; background: #222; border: 1px solid rgba(255,255,255,0.1); }
.playlist-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }

.visual-side-catalog { flex: 1; display: flex; align-items: center; justify-content: center; padding-left: 20px; }
.neon-analytics-img { width: 100%; height: auto; border-radius: 16px; overflow: hidden; box-shadow: 0 0 30px rgba(230, 57, 70, 0.1); transition: transform var(--transition-fast); }
.neon-analytics-img img { width: 100%; height: auto; display: block; object-fit: cover; mix-blend-mode: lighten; }
.bento-card:hover .neon-analytics-img { transform: scale(1.05); }

.stat-box { background: rgba(255,255,255,0.05); padding: 15px; border-radius: 15px; text-align: center; }
.stat-number { display: block; font-size: 1.5rem; font-weight: 700; color: var(--accent-cream); }
.stat-label { font-size: 0.8rem; color: #aaa; text-transform: uppercase; letter-spacing: 1px; }

.bento-bg-glow { position: absolute; width: 250px; height: 250px; border-radius: 50%; filter: blur(90px); opacity: 0.25; z-index: -1; pointer-events: none; }
.red { background: var(--accent-red); top: -80px; right: -80px; }
.cream { background: var(--accent-cream); bottom: -80px; left: -80px; }

.btn-glass-action {
    background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    color: #ffffff; font-family: var(--font-main); font-weight: 700; font-size: 1rem;
    padding: 14px 35px; border-radius: 50px; cursor: pointer; width: fit-content; 
    display: inline-flex; align-items: center; gap: 10px; margin: 0 auto;
    transition: var(--transition-smooth); box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.btn-glass-action:hover {
    background: rgba(255, 255, 255, 0.2); border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px) scale(1.02); box-shadow: 0 0 25px rgba(255, 255, 255, 0.3);
}
.cta-content-wrapper { max-width: 650px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.publishing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px; max-width: 1100px; margin: 0 auto 80px auto; }

/* --- SECCIÓN SERVICIOS (GRID 6) --- */
.services-grid-system { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; max-width: 1200px; margin: 0 auto; }
.service-card {
    background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-radius: 24px; padding: 35px;
    display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between;
    transition: var(--transition-smooth); position: relative; overflow: hidden; height: 100%; min-height: 340px; z-index: 1;
}
.service-card::before {
    content: ''; position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.5); width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 160, 50, 0.15) 0%, rgba(255, 140, 0, 0) 70%);
    opacity: 0; z-index: -1; pointer-events: none; transition: opacity 0.5s ease;
}
.service-card:hover::before { animation: radarWave 2s infinite ease-out; opacity: 1; }
@keyframes radarWave { 0% { transform: translate(-50%, -50%) scale(0); opacity: 0.6; } 100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; } }
.service-card:hover { background: rgba(255, 255, 255, 0.05); transform: translateY(-5px); border-color: rgba(255, 200, 100, 0.3); box-shadow: 0 15px 50px rgba(0,0,0,0.5); }

.service-icon {
    font-size: 2.2rem; color: var(--accent-cream); margin-bottom: 25px;
    background: rgba(230, 230, 181, 0.05); border: 1px solid rgba(230, 230, 181, 0.1);
    width: 55px; height: 55px; display: flex; justify-content: center; align-items: center; border-radius: 15px; position: relative; z-index: 2; transition: var(--transition-fast);
}
.service-card:hover .service-icon { background: rgba(230, 230, 181, 0.15); box-shadow: 0 0 20px rgba(230, 230, 181, 0.2); transform: scale(1.1); }
.service-info h3 { font-size: 1.4rem; color: white; font-weight: 700; margin-bottom: 15px; position: relative; z-index: 2; }
.service-info p { color: #999; font-size: 0.9rem; line-height: 1.6; margin-bottom: 30px; position: relative; z-index: 2; }

.btn-service-outline {
    background: transparent; border: 1px solid rgba(255, 255, 255, 0.3);
    color: white; padding: 10px 20px; border-radius: 50px; font-family: var(--font-main); font-weight: 700;
    cursor: pointer; transition: var(--transition-fast); display: flex; align-items: center; gap: 8px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px;
    margin-top: auto; position: relative; z-index: 2;
}
.btn-service-outline:hover { border-color: var(--accent-cream); color: var(--accent-cream); background: rgba(255, 255, 255, 0.05); }
.border-highlight { border-color: rgba(230, 57, 70, 0.4); background: linear-gradient(145deg, rgba(230, 57, 70, 0.08) 0%, rgba(0,0,0,0) 100%); }
.top-badge {
    position: absolute; top: 20px; right: 20px; background: var(--accent-red); color: white;
    font-size: 0.65rem; font-weight: 900; text-transform: uppercase; padding: 5px 12px; border-radius: 20px; letter-spacing: 1px; box-shadow: 0 0 15px rgba(230, 57, 70, 0.4); z-index: 3;
}

/* =========================================
   6. MODAL LEGAL (BLOQUEO) & PESTAÑAS
   ========================================= */
#legal-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: #080808; z-index: 99999;
    display: flex; justify-content: center; align-items: flex-start;
    overflow-y: auto; padding: 60px 20px; 
    opacity: 1; pointer-events: auto;
    transition: opacity 0.5s ease;
}
.legal-modal-card { margin: auto; position: relative; width: 100%; max-width: 650px; }
.legal-header { padding: 30px 30px 20px 30px; text-align: center; border-bottom: 1px solid var(--border-color); background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(0,0,0,0) 100%); }
.modal-logo { height: 40px; margin-bottom: 15px; }
.legal-header h2 { color: var(--accent-cream); font-size: 1.5rem; margin-bottom: 5px; }
.legal-header p { color: #888; font-size: 0.9rem; }

.legal-tabs { display: flex; gap: 10px; justify-content: center; margin-top: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.tab-btn { background: transparent; border: none; color: #666; font-family: var(--font-main); font-weight: 700; padding: 10px 20px; cursor: pointer; border-bottom: 2px solid transparent; transition: var(--transition-fast); }
.tab-btn:hover { color: #ccc; }
.tab-btn.active { color: var(--accent-red); border-bottom-color: var(--accent-red); }

.legal-scroll-area { padding: 30px; overflow-y: auto; flex: 1; background: #080808; font-size: 0.9rem; color: #aaa; line-height: 1.6; text-align: left; }
.legal-text-block { display: none; animation: fadeInText 0.3s ease; }
.legal-text-block.active { display: block; }
.legal-scroll-area h3 { color: white; margin-top: 0; margin-bottom: 15px; font-size: 1.1rem; }
.legal-scroll-area h4 { color: var(--accent-cream); margin-top: 20px; margin-bottom: 10px; font-size: 1rem; }
.legal-scroll-area p { margin-bottom: 15px; }
.legal-scroll-area ul { padding-left: 20px; margin-bottom: 15px; }
.warning-text { color: var(--accent-red); font-weight: 700; background: rgba(230, 57, 70, 0.1); padding: 10px; border-radius: 8px; border: 1px solid rgba(230, 57, 70, 0.2); }
.legal-scroll-area::-webkit-scrollbar { width: 6px; }
.legal-scroll-area::-webkit-scrollbar-track { background: #111; }
.legal-scroll-area::-webkit-scrollbar-thumb { background: #333; border-radius: 10px; }

.legal-actions { padding: 20px 30px; background: #111; border-top: 1px solid var(--border-color); }
.checks-wrapper { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.checkbox-container { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 0.85rem; color: #ccc; user-select: none; }
.checkbox-container input { opacity: 0; cursor: pointer; height: 0; width: 0; }
.checkmark { height: 20px; width: 20px; background-color: #222; border: 1px solid #444; border-radius: 4px; flex-shrink: 0; position: relative; transition: var(--transition-fast); }
.checkbox-container:hover .checkmark { background-color: #333; }
.checkbox-container input:checked ~ .checkmark { background-color: var(--accent-red); border-color: var(--accent-red); }
.checkmark:after { content: ""; position: absolute; display: none; left: 6px; top: 2px; width: 5px; height: 10px; border: solid white; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.checkbox-container input:checked ~ .checkmark:after { display: block; }
.disabled-btn { background: #333 !important; border-color: #444 !important; color: #666 !important; cursor: not-allowed !important; box-shadow: none !important; transform: none !important; }

/* =========================================
   7. ESTILOS PESTAÑAS PÁGINA
   ========================================= */
.legal-doc-container { padding: 40px; border-radius: 20px; max-height: 600px; overflow-y: auto; background: rgba(255,255,255,0.02); }
.page-legal-tabs { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; margin-bottom: 30px; margin-top: 60px; }
.page-legal-tabs .outline-btn { background: rgba(255, 255, 255, 0.03) !important; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.1) !important; color: #888 !important; transition: var(--transition-smooth); }
.page-legal-tabs .outline-btn:hover { background: rgba(255, 255, 255, 0.08) !important; color: white !important; }
.active-tab-page { background: rgba(230, 230, 181, 0.05) !important; border-color: var(--accent-cream) !important; color: var(--accent-cream) !important; box-shadow: 0 0 20px rgba(230, 230, 181, 0.1); transform: translateY(-2px); }
.legal-page-content { animation: fadeInText 0.5s ease; }
.legal-content-readable h4 { color: var(--accent-cream); margin-top: 25px; margin-bottom: 10px; font-size: 1.1rem; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 5px; }
.legal-content-readable p, .legal-content-readable ul { color: #aaa; margin-bottom: 15px; font-size: 0.95rem; line-height: 1.7; }

/* =========================================
   8. TABLA DE PRECIOS COMPARATIVA
   ========================================= */
.pricing-table-wrapper { width: 100%; max-width: 1300px; margin: 0 auto; background: rgba(10, 10, 10, 0.5); border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.05); padding: 20px; backdrop-filter: blur(15px); overflow: hidden; }
.pricing-scroll-container { overflow-x: auto; padding-bottom: 20px; }
.pricing-scroll-container::-webkit-scrollbar { height: 8px; }
.pricing-scroll-container::-webkit-scrollbar-track { background: #111; border-radius: 4px; }
.pricing-scroll-container::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
.pricing-scroll-container::-webkit-scrollbar-thumb:hover { background: var(--accent-red); }
.unseye-pricing-table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 900px; }
.unseye-pricing-table th { padding: 30px 15px; text-align: center; vertical-align: top; background: rgba(10, 10, 10, 0.9); border-bottom: 1px solid rgba(255, 255, 255, 0.1); position: relative; }
.feature-col-header, .feature-name { text-align: left !important; min-width: 200px; position: sticky; left: 0; background: #0a0a0a; z-index: 10; font-family: var(--font-main); font-weight: 700; color: #fff; border-right: 1px solid rgba(255,255,255,0.1); }
.feature-col-header { z-index: 11; }
.plan-col h3 { font-size: 1.1rem; font-weight: 900; margin-bottom: 10px; letter-spacing: 1px; }
.plan-col .price { font-size: 1.8rem; font-weight: 700; color: white; margin-bottom: 20px; }
.plan-col .price span { font-size: 0.8rem; color: #888; font-weight: 400; }
.plan-genesis h3 { color: #00F0FF; }
.plan-control h3 { color: #00FF94; }
.plan-vision h3 { color: #9D00FF; }
.plan-dynasty h3 { color: #FFD700; }
.plan-signature h3 { color: #E63946; }
.popular-col { background: rgba(255, 255, 255, 0.03) !important; border-left: 1px solid rgba(157, 0, 255, 0.3); border-right: 1px solid rgba(157, 0, 255, 0.3); border-top: 1px solid rgba(157, 0, 255, 0.3); border-top-left-radius: 15px; border-top-right-radius: 15px; }
.highlight-cell { background: rgba(255, 255, 255, 0.03); border-left: 1px solid rgba(157, 0, 255, 0.1); border-right: 1px solid rgba(157, 0, 255, 0.1); }
.best-seller-badge { position: absolute; top: 0; left: 50%; transform: translateX(-50%) translateY(-50%); background: #9D00FF; color: white; font-size: 0.6rem; font-weight: 800; padding: 4px 12px; border-radius: 20px; text-transform: uppercase; box-shadow: 0 0 15px rgba(157, 0, 255, 0.5); }
.unseye-pricing-table td { padding: 15px; text-align: center; color: #ccc; font-size: 0.9rem; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
.feature-name { padding-left: 20px !important; }
.section-header td { background: rgba(255, 255, 255, 0.05); color: var(--accent-cream); font-weight: 700; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 2px; padding: 10px 20px; text-align: left; }
.c-cyan { color: #00F0FF; text-shadow: 0 0 10px rgba(0, 240, 255, 0.5); }
.c-green { color: #00FF94; text-shadow: 0 0 10px rgba(0, 255, 148, 0.5); }
.c-purple { color: #9D00FF; text-shadow: 0 0 10px rgba(157, 0, 255, 0.5); font-size: 1.1rem; }
.c-gold { color: #FFD700; text-shadow: 0 0 10px rgba(255, 215, 0, 0.5); }
.c-red { color: #E63946; text-shadow: 0 0 10px rgba(230, 57, 70, 0.5); }
.dimmed { opacity: 0.2; }
.gold-text { color: #FFD700; font-weight: 700; }
.red-text { color: #E63946; font-weight: 700; }
.no-border { border-bottom: none !important; padding-top: 20px; }
.btn-table-action { background: transparent; border: 1px solid rgba(255,255,255,0.2); color: white; padding: 8px 20px; border-radius: 5px; cursor: pointer; font-family: var(--font-main); font-weight: 700; transition: var(--transition-fast); width: 100%; max-width: 120px; font-size: 0.8rem; text-transform: uppercase; }
.btn-table-action:hover { background: white; color: black; box-shadow: 0 0 15px rgba(255,255,255,0.3); }
.plan-genesis:hover .btn-table-action { background: #00F0FF; color: black; border-color: #00F0FF; }
.plan-control:hover .btn-table-action { background: #00FF94; color: black; border-color: #00FF94; }
.plan-vision:hover .btn-table-action { background: #9D00FF; color: white; border-color: #9D00FF; }
.plan-dynasty:hover .btn-table-action { background: #FFD700; color: black; border-color: #FFD700; }
.plan-signature:hover .btn-table-action { background: #E63946; color: white; border-color: #E63946; }
.btn-table-action-sm { background: rgba(255,255,255,0.1); border: none; color: #aaa; padding: 5px 15px; border-radius: 4px; cursor: pointer; font-size: 0.75rem; transition: var(--transition-fast); }
.btn-table-action-sm:hover { background: white; color: black; }

/* =======================================================
   9. PARCHE DE EMERGENCIA: CORRECCIÓN FORMULARIO (AMBOS)
   ======================================================= */
#publishing-modal-overlay, 
#distribution-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.95) !important; 
    z-index: 2147483647 !important; 
    overflow-y: auto !important; 
    display: none; 
    align-items: flex-start; justify-content: center; padding: 40px 20px; 
}

#publishing-modal-overlay.active,
#distribution-modal-overlay.active {
    display: flex !important; 
    animation: fadeIn 0.3s ease-out;
}

.modal-card-scrollable {
    background: #0a0a0a !important; 
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px; padding: 40px; width: 100%; max-width: 700px;
    position: relative; box-shadow: 0 0 100px rgba(0,0,0,1); 
    margin: auto 0; 
}

.glass-input, select.glass-input, textarea.glass-input {
    background-color: #121212 !important; color: #ffffff !important;
    border: 1px solid #333 !important; border-radius: 10px !important; padding: 15px !important;
    font-family: var(--font-main) !important; font-size: 0.95rem !important;
    width: 100%; outline: none; transition: var(--transition-fast);
}
.glass-input:focus, select.glass-input:focus, textarea.glass-input:focus {
    border-color: var(--accent-red) !important; background-color: #1a1a1a !important;
    box-shadow: 0 0 15px rgba(230, 57, 70, 0.1);
}

input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #121212 inset !important; -webkit-text-fill-color: white !important;
    transition: background-color 5000s ease-in-out 0s;
}

.form-section-title {
    color: var(--accent-cream); font-size: 1.2rem; font-weight: 700; margin: 30px 0 15px 0;
    border-left: 4px solid var(--accent-red); padding-left: 15px;
}
.form-group label { display: block; color: #bbb; margin-bottom: 8px; font-size: 0.9rem; font-weight: 500; }

.close-modal-btn {
    position: absolute; top: 20px; right: 20px; background: rgba(255,255,255,0.1); color: white;
    width: 40px; height: 40px; border-radius: 50%; border: none; cursor: pointer; font-size: 1.2rem;
    display: flex; align-items: center; justify-content: center; transition: var(--transition-fast); z-index: 10;
}
.close-modal-btn:hover { background: var(--accent-red); transform: rotate(90deg); }

@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* =========================================
   10. RESPONSIVE MEDIA QUERIES
   ========================================= */
@media (max-width: 1100px) {
    .services-grid-system { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .nav-links { display: none; position: absolute; top: 65px; left: 0; width: 100%; background: rgba(10, 10, 10, 0.95); backdrop-filter: blur(15px); flex-direction: column; padding: 30px; text-align: center; gap: 20px; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .nav-links.active { display: flex; } 
    .mobile-menu-icon { display: block; z-index: 1001; }
    .hero-container { height: 65vh; }
    .cover-item { width: 250px; height: 250px; border-radius: 30px; opacity: 0.4; }
    .solid-nav { top: 0; left: 0; transform: translateX(0); width: 100%; border-radius: 0; padding: 15px 5%; border-left: none; border-right: none; }
    .dsp-group { gap: 20px; }
    .dsp-group img { height: 40px; width: 100px; } 
    .info-context-panel { flex-direction: column; text-align: center; padding: 40px 20px; }
    .circle-orbit { width: 220px; height: 220px; }
    .bento-grid-wrapper { grid-template-columns: 1fr; grid-auto-flow: row; }
    .card-tall, .card-large, .card-normal, .card-cta-centered { grid-column: span 1; grid-row: auto; }
    .split-layout-card { flex-direction: column; }
    .text-side { padding-right: 0 !important; }
    .visual-side-tokens { flex-direction: row; gap: 15px; margin-top: 20px; padding-left: 0; justify-content: flex-start; }
    .visual-side-grid { width: 100%; display: flex; flex-direction: column; align-items: flex-start; margin-top: 20px; }
    .visual-side-catalog { padding-left: 0; margin-top: 30px; width: 100%; justify-content: center; }
    .neon-analytics-img { max-width: 80%; }
    .nav-arrow { width: 45px; height: 45px; font-size: 1rem; background: rgba(0,0,0,0.5); }
    .arrow-left { left: 0; }
    .arrow-right { right: 0; }
    .method-grid { grid-template-columns: 1fr; }
    .steps-horizontal { flex-direction: column; align-items: center; gap: 40px; }
    .step-line { width: 1px; height: 50px; flex-grow: 0; margin-top: 0; background: linear-gradient(180deg, transparent, rgba(255,255,255,0.2), transparent); }
    .step-item { width: 100%; }
    .publishing-grid { grid-template-columns: 1fr; }
    .services-grid-system { grid-template-columns: 1fr; }
    .plans-header h2 { font-size: 2.5rem !important; }
}
/* =========================================
   COMPLEMENTOS DESDE SERVICIOS.HTML
   ========================================= */

/* Espaciado superior corregido para sección principal */
.service-section-spacing {
    padding: 100px 0;
}

/* Rediseño limpio del menú móvil como botón nativo */
.mobile-menu-icon {
    background: transparent;
    border: none;
    outline: none;
}

/* Estilos del Footer */
.main-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 20px 40px;
    margin-top: 100px;
    background: rgba(0, 0, 0, 0.3);
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    max-width: 150px; /* Ajusta este valor según prefieras */
    height: auto;
    display: block;
    margin: 0 auto 15px auto; /* Lo mantiene centrado */
}

.footer-copyright {
    color: #555;
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-ip-text {
    color: #777;
    font-weight: 700;
}

.footer-contact {
    color: #444;
    font-size: 0.85rem;
}

/* Fix responsivo para textos y contenedores */
@media (max-width: 768px) {
    /* Fuerza el salto de línea en palabras muy largas */
    h1, h2, h3, p {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    /* Reduce el tamaño del título principal */
    .values-title-cream, .hero-title-satoshi {
        font-size: 2.2rem !important;
        line-height: 1.1;
    }
    
    /* Ajusta los paddings de los paneles para que no superen el ancho de la pantalla */
    .dark-panel, .legal-modal-card {
        padding: 25px 15px !important;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Asegura que los campos del formulario ocupen el 100% en móvil */
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}