@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800;900&family=Montserrat:wght@300;400;500;600;700&display=swap');

:root { --ease: cubic-bezier(0.16, 1, 0.3, 1); }

* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: 'Montserrat', sans-serif; 
    background: #000; 
    color: rgba(255, 255, 255, 0.85); 
    overflow-x: hidden; 
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 { font-family: 'Outfit', sans-serif; text-transform: uppercase; }

/* --- ENHANCED GENERAL TYPOGRAPHY --- */
p, li {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.75;
    letter-spacing: 0.02em;
    font-weight: 400;
}

p {
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}

/* ─── BACKGROUND ─────────────────────────── */
.led-bg-container {
    position: fixed; inset: 0; z-index: -1;
    background: #000; overflow: hidden;
    /* GPU layer */
    transform: translateZ(0);
}

.led-light {
    position: absolute; width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
    border-radius: 50%; filter: blur(80px); pointer-events: none;
    will-change: transform;
}

/* Stars: fewer, no box-shadow on twinkle */
.star-layer { position: absolute; inset: 0; pointer-events: none; }
.star {
    position: absolute; background: #fff; border-radius: 50%;
    will-change: opacity;
    animation: twinkle var(--duration) infinite ease-in-out alternate;
}
@keyframes twinkle {
    0%   { opacity: 0.04; }
    100% { opacity: 0.5; }
    /* NO box-shadow — saves ~40% GPU per star */
}

.noise-overlay {
    position: fixed; inset: 0;
    background: url('https://grainy-gradients.vercel.app/noise.svg');
    opacity: 0.04; pointer-events: none; z-index: 9999;
    transform: translateZ(0);
}

/* ─── TYPOGRAPHY ─────────────────────────── */
.title-main {
    font-size: clamp(3rem, 12vw, 11rem);
    font-weight: 900; line-height: 0.85; letter-spacing: -0.05em;
    background: linear-gradient(160deg, #fff 0%, rgba(255,255,255,0.65) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.title-outline {
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.9);
    -webkit-text-fill-color: transparent; background: none;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 40px rgba(255, 255, 255, 0.5));
}
.title-glow { filter: drop-shadow(0 0 20px rgba(218, 165, 32, 0.5)) drop-shadow(0 0 40px rgba(218, 165, 32, 0.3)) drop-shadow(0 0 80px rgba(218, 165, 32, 0.15)); }

/* ─── BUTTON ─────────────────────────────── */
.cta-button {
    position: relative;
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.15) 0%, rgba(218, 165, 32, 0.02) 100%); 
    color: #ffd700; 
    padding: 20px 50px; 
    border-radius: 100px;
    font-weight: 900; text-transform: uppercase; font-size: 11px;
    letter-spacing: 0.25em; 
    border: 1px solid rgba(218, 165, 32, 0.4); 
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    text-decoration: none; 
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(218, 165, 32, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.cta-button::before {
    content: '';
    position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.cta-button:hover { 
    transform: scale(1.05) translateY(-2px); 
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.3) 0%, rgba(218, 165, 32, 0.1) 100%);
    color: #fff;
    box-shadow: 0 15px 40px rgba(218, 165, 32, 0.4), 0 0 20px rgba(218, 165, 32, 0.2); 
    border-color: #DAA520;
}

.cta-button:hover::before {
    left: 150%;
}

.cta-button i {
    font-size: 1.4em;
    transition: transform 0.4s ease;
}

.cta-button:hover i {
    transform: scale(1.1) rotate(5deg);
}

/* ─── SCROLLYTELLING CONVERTED TO SLIDER ─────────────────────── */
.scrolly-container { position: relative; height: 100vh; width: 100%; }

.scrolly-sticky-box {
    position: relative;
    height: 100vh; width: 100%;
    overflow: hidden; background: #000;
    transform: translateZ(0);
    perspective: 1500px; /* 3D Depth */
    display: flex; align-items: center; justify-content: center;
    pointer-events: auto; /* It's a normal slider now */
}

/* Floating Screen Card */
.scene {
    position: absolute;
    width: 90vw; height: 85vh;
    max-width: 1600px;
    border-radius: 40px;
    background: #050505;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 40px 100px rgba(0,0,0,0.8), inset 0 0 40px rgba(255,255,255,0.02);
    overflow: hidden;
    z-index: 1; opacity: 0;
    pointer-events: none; /* Invisible por defecto - no debe bloquear clicks */
    will-change: transform, opacity;
    transform-origin: bottom center;
}

/* Video */
.scene-video {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
    pointer-events: none; /* Video decorativo */
    transform: scale(1.2) translateZ(0);
    will-change: transform;
}

/* Gradient overlay */
.scene-overlay {
    position: absolute; inset: 0; z-index: 2;
    pointer-events: none; /* Decorativo - no bloquea clicks */
    background: linear-gradient(
        105deg,
        rgba(0,0,0,0.92) 0%,
        rgba(0,0,0,0.6) 42%,
        rgba(0,0,0,0.05) 100%
    );
}

/* Large decorative background number */
.scene-bg-num {
    position: absolute; right: -0.05em; bottom: -0.1em;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(16rem, 28vw, 36rem);
    font-weight: 900; color: rgba(255,255,255,0.025);
    line-height: 1; letter-spacing: -0.08em;
    pointer-events: none; z-index: 5; user-select: none;
    transform: translateZ(0);
}

/* Text panel */
.scene-text {
    position: absolute; inset-block: 0; left: 0;
    width: 52%; display: flex; flex-direction: column; justify-content: center;
    padding: 0 70px 0 100px; z-index: 10;
    pointer-events: none; /* Let clicks pass through empty spaces */
    opacity: 0; will-change: opacity, transform;
}
.scene-text > * {
    pointer-events: auto; /* Make children clickable */
    transform: translateZ(0);
}

/* Word split */
.word {
    display: inline-block;
    vertical-align: bottom; line-height: 1.05;
    perspective: 800px;
}
.word-inner {
    display: inline-block;
    will-change: transform, opacity, filter;
    transform-style: preserve-3d;
}

/* Accent line */
.accent-line {
    width: 0; height: 2px;
    background: linear-gradient(90deg, #DAA520, rgba(218, 165, 32, 0.15));
    border-radius: 10px; margin: 22px 0; will-change: width;
}

/* Scene number */
.scene-num {
    font-size: 13px; font-weight: 900;
    letter-spacing: 0.6em; text-transform: uppercase;
    color: rgba(255,255,255,0.4); margin-bottom: 24px;
    overflow: hidden; white-space: nowrap; width: 0;
    display: flex; align-items: center; gap: 14px;
}
.scene-num::before {
    content: ''; display: inline-block;
    width: 20px; height: 1px;
    background: rgba(255,255,255,0.3); flex-shrink: 0;
}

/* Scene heading */
.scene-text h2 {
    font-size: clamp(3.2rem, 6.5vw, 8.2rem);
    font-weight: 900; line-height: 0.85; letter-spacing: -0.03em; margin-bottom: 26px;
    color: #ffffff;
    /* Crisp balanced 3D extrusion with tight, premium ambient glow */
    text-shadow: 
        0 1px 0 #dedede,
        0 2px 0 #c9c9c9,
        0 3px 0 #b3b3b3,
        0 4px 6px rgba(0, 0, 0, 0.4),
        0 0 12px rgba(255, 255, 255, 0.25);
    background: none;
    -webkit-text-fill-color: initial;
    -webkit-background-clip: initial;
    background-clip: initial;
}
.scene-text h2 .title-outline {
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.85); 
    background: none;
    text-shadow: 
        0 0 8px rgba(255, 255, 255, 0.2);
}

.scene-text p {
    font-size: clamp(0.85rem, 1.4vw, 1.05rem); 
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7; 
    max-width: 480px;
    font-weight: 400;
    letter-spacing: 0.12em;
    font-style: normal;
    text-transform: uppercase;
    
    background: transparent;
    border: none; border-radius: 0; box-shadow: none;
    backdrop-filter: none; -webkit-backdrop-filter: none;
    padding: 0;
    position: relative;
    margin-top: 20px;
    
    text-shadow: 0 1px 4px rgba(0,0,0,1), 0 3px 10px rgba(0,0,0,0.9);
}
.scene-text p::before { display: none; }
.scene-text p::after  { display: none; }

/* KEY WORDS — Neon white glow */
.p-highlight {
    color: #ffffff;
    font-weight: 900;
    letter-spacing: 0.06em;
    -webkit-text-fill-color: #ffffff;
    background: none;
    text-shadow:
        0 0 8px rgba(255,255,255,0.9),
        0 0 20px rgba(255,255,255,0.4);
}

/* SCENE BADGE — HUD chip */
.scene-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    padding: 7px 16px;
    border-radius: 4px;
    margin-bottom: 14px;
    position: relative;
    overflow: hidden;
}
.scene-badge::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, transparent 60%);
}
.scene-badge i { font-size: 12px; color: #FFD700; }

/* Animated scan line inside badge */
.scene-badge::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
    animation: badge-scan 3s infinite linear;
}
@keyframes badge-scan {
    0%   { left: -100%; }
    100% { left: 200%; }
}


/* Pillars */
.pillars-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 650px; margin-top: 36px; }
.pillar-card {
    background: linear-gradient(135deg, rgba(20,20,20,0.5) 0%, rgba(0,0,0,0.3) 100%);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 24px; 
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.2);
}
.pillar-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(218,165,32,0.8), transparent);
    opacity: 0;
    transform: scaleX(0);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.pillar-card:hover { 
    border-color: rgba(218,165,32,0.3); 
    background: linear-gradient(135deg, rgba(30,25,10,0.7) 0%, rgba(0,0,0,0.5) 100%);
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.8), 0 0 30px rgba(218,165,32,0.15), inset 0 1px 0 rgba(255,255,255,0.3);
}
.pillar-card:hover::before { opacity: 1; transform: scaleX(1); }

/* Número de pilar decorativo */
.pillar-card .pillar-num {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #FFD700;
    margin-bottom: 16px;
    text-shadow: 0 0 10px rgba(255,215,0,0.4);
}
.pillar-card .pillar-num::before {
    content: '';
    display: block;
    width: 16px;
    height: 2px;
    background: #FFD700;
    box-shadow: 0 0 5px rgba(255,215,0,0.8);
}

.pillar-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.pillar-card p  {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    text-transform: none;
    line-height: 1.7;
    letter-spacing: 0.02em;
    font-weight: 300;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

/* Price */
.price-tag {
    font-size: clamp(4rem, 10vw, 10rem);
    font-weight: 900; font-family: 'Outfit', sans-serif;
    text-transform: uppercase; line-height: 1; letter-spacing: -0.04em;
}

/* ─── SMART SLIDER NAVIGATION ───────────────────────────── */

/* Smart Pagination (Pills) */
.smart-pagination {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 200;
    background: rgba(0,0,0,0.4);
    padding: 10px 14px;
    border-radius: 100px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.08);
}

.smart-dot {
    width: 12px;
    height: 4px;
    border-radius: 10px;
    background: rgba(255,255,255,0.2);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.smart-dot:hover {
    background: rgba(255,255,255,0.5);
}

.smart-dot.active {
    width: 32px;
    background: #fff;
    box-shadow: 0 0 10px rgba(255,255,255,0.6);
}

/* Smart Navigation Arrows */
.smart-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 200;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.smart-nav-btn.prev { left: 40px; }
.smart-nav-btn.next { right: 40px; }

.smart-nav-btn i {
    font-size: 24px;
    transition: transform 0.4s var(--ease);
}

.smart-nav-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-50%) scale(1.05);
}

.smart-nav-btn.prev:hover i { transform: translateX(-4px); }
.smart-nav-btn.next:hover i { transform: translateX(4px); }

/* Hidden state for arrows when at ends */
.smart-nav-btn.disabled {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) scale(0.8);
}


/* ─── MAQUETAS ───────────────────────────── */
.mockup-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    gap: 16px;
    flex-wrap: wrap;
}
#open-fullscreen {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8) !important;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-decoration: none;
    transition: all 0.3s var(--ease);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    cursor: pointer;
}
#open-fullscreen:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.08);
}
#open-fullscreen i {
    font-size: 14px;
}
/* ─── SECTION DIVIDERS ───────────────────────── */
.section-divider {
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}
.section-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(218, 165, 32, 0.3), rgba(255, 255, 255, 0.2), rgba(218, 165, 32, 0.3), transparent);
    z-index: 10;
    pointer-events: none;
}
.section-divider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 60px;
    background: radial-gradient(ellipse at top, rgba(218, 165, 32, 0.06) 0%, transparent 70%);
    z-index: 9;
    pointer-events: none;
}

.showcase-section {
    padding: 130px 6vw;
    background: #000;
    position: relative;
    overflow: hidden;
}

/* Floating preview cards decorativas en el fondo de la sección maquetas */
.showcase-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 50% at 75% 50%, rgba(218, 165, 32, 0.04) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 20% 80%, rgba(255, 255, 255, 0.02) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* Floating ghost mockup previews in background */
.showcase-ghost-previews {
    display: none;
}

.ghost-preview-card {
    display: none;
}

/* Fake content blocks */
.ghost-content-block {
    position: absolute;
    top: 40px; left: 12px; right: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ghost-preview-card:nth-child(2) {
    width: 220px;
    height: 140px;
    animation-delay: -2s;
    animation-duration: 7s;
    transform: perspective(800px) rotateY(-12deg) rotateX(-2deg) translateX(24px);
    opacity: 0.7;
}

.ghost-preview-card:nth-child(3) {
    width: 200px;
    transform: perspective(600px) rotateY(-15deg) rotateX(5deg) translateX(-10px);
    opacity: 0.5;
}
.tab-container { display: flex; flex-direction: column; gap: 16px; }
.tab-item {
    background: rgba(255,255,255,0.02);
    padding: 28px 32px; border-radius: 22px;
    border: 1px solid rgba(255,255,255,0.05);
    cursor: pointer; opacity: 0.35; position: relative; overflow: hidden;
    transition: opacity 0.4s, border-color 0.4s, transform 0.4s var(--ease), background 0.4s;
}
.tab-item::after {
    content: ''; position: absolute; left: 0; top: 0;
    height: 100%; width: 3px;
    background: linear-gradient(to bottom, #FFD700, #DAA520);
    transform: scaleY(0); transition: transform 0.45s var(--ease);
    box-shadow: 0 0 12px rgba(218,165,32,0.6);
}
/* Mini preview thumbnail (decorative) */
.tab-item::before {
    content: '';
    position: absolute;
    right: 16px; top: 50%; transform: translateY(-50%);
    width: 48px; height: 34px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.12);
    background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}
.tab-item.active::before {
    opacity: 1;
}
.tab-item.active { 
    opacity: 1; 
    border-color: rgba(218,165,32,0.3); 
    transform: translateX(12px); 
    background: linear-gradient(135deg, rgba(218,165,32,0.05) 0%, rgba(255,255,255,0.02) 100%);
    box-shadow: 0 8px 30px rgba(0,0,0,0.4), 0 0 20px rgba(218,165,32,0.06), inset 0 1px 0 rgba(255,255,255,0.05);
}
.tab-item.active::after { transform: scaleY(1); }
.tab-item h3 { font-size: 1.2rem; letter-spacing: 0.04em; margin-bottom: 4px; }
.tab-item p  { color: rgba(255,255,255,0.35); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; }

.premium-showcase-frame {
    background: rgba(10, 10, 10, 0.4);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 
        0 40px 100px rgba(0, 0, 0, 0.9), 
        inset 0 0 30px rgba(255, 255, 255, 0.02),
        0 0 0 1px rgba(218, 165, 32, 0.04),
        0 0 80px rgba(218, 165, 32, 0.04);
    transition: max-width 0.7s cubic-bezier(0.16, 1, 0.3, 1), border-radius 0.7s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
    margin: 0 auto;
    width: 100%;
    max-width: 1200px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
}

/* Ambient top glow line on the browser frame */
.premium-showcase-frame::before {
    content: '';
    position: absolute;
    top: 0; left: 10%; right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(218, 165, 32, 0.4), rgba(255,255,255,0.3), rgba(218, 165, 32, 0.4), transparent);
    z-index: 10;
    pointer-events: none;
    animation: top-glow-sweep 4s ease-in-out infinite;
}

@keyframes top-glow-sweep {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.premium-showcase-frame:hover {
    box-shadow: 
        0 50px 120px rgba(0, 0, 0, 0.95), 
        inset 0 0 30px rgba(255, 255, 255, 0.02),
        0 0 0 1px rgba(218, 165, 32, 0.15),
        0 0 100px rgba(218, 165, 32, 0.08);
    border-color: rgba(218, 165, 32, 0.2);
}
.premium-showcase-frame.mobile-view {
    max-width: 375px;
    border-radius: 40px;
    border: 6px solid #111;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1), 0 50px 120px rgba(0, 0, 0, 0.9);
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

iframe { width: 100%; height: 780px; border: none; transition: height 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.premium-showcase-frame.mobile-view iframe {
    height: 700px;
}
.device-btn.active {
    background: rgba(255,255,255,0.1) !important;
    color: #fff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.device-btn i {
    pointer-events: none;
}

/* Mockup Frame Wrapper & Overlay Default Styles */
.mockup-frame-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: auto;
}

/* ── BACKGROUND PREVIEW IFRAME ── */
/* Se ve de fondo como previsualización borrosa en TODAS las vistas */
.mockup-bg-preview-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 0;
    /* Escala ligeramente para cubrir posibles bordes blancos */
    transform: scale(1.02);
    transform-origin: top center;
    /* Efecto blur + opacidad baja = previsualización etérea */
    filter: blur(3px) saturate(0.7) brightness(0.5);
    opacity: 0.65;
    pointer-events: none;
    transition: opacity 0.5s ease, filter 0.5s ease;
}

/* Overlay oscuro encima del bg-preview para que el contenido de encima sea legible */
.mockup-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: 
        linear-gradient(to bottom, 
            rgba(0,0,0,0.55) 0%, 
            rgba(0,0,0,0.3) 40%, 
            rgba(0,0,0,0.55) 100%),
        radial-gradient(ellipse at center, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 100%);
}

/* En desktop el iframe principal está encima (z-index 2) → bg-preview se ve durante transición */
.desktop-only-frame {
    position: relative;
    z-index: 2;
}

/* Transición de cambio: momento en que el bg-preview se vuelve más visible */
.mockup-bg-preview-frame.switching {
    opacity: 0.85;
    filter: blur(2px) saturate(0.6) brightness(0.45);
}

/* Mobile: el bg-preview es más visible porque la fallback tiene UI transparente */
@media (max-width: 768px) {
    .mockup-bg-preview-frame {
        opacity: 0.8;
        filter: blur(4px) saturate(0.6) brightness(0.4);
    }
    .mockup-bg-overlay {
        background: 
            linear-gradient(to bottom, 
                rgba(0,0,0,0.6) 0%, 
                rgba(0,0,0,0.25) 40%, 
                rgba(0,0,0,0.65) 100%);
    }
}
.mockup-overlay {
    display: flex;
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 5, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    cursor: pointer;
}
.mockup-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.mockup-exit-btn {
    display: flex;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(30px);
    background: rgba(10, 10, 10, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.9);
    z-index: 60;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.mockup-exit-btn.active {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* ─── MOBILE ─────────────────────────────── */
@media (max-width: 1024px) {
    .showcase-grid { grid-template-columns: 1fr !important; gap: 36px !important; }
}
@media (max-width: 768px) {
    /* NAV */
    nav { padding: 14px 16px !important; gap: 8px !important; }
    nav > .flex { gap: 10px !important; }
    nav span { font-size: 1.1rem !important; }
    nav .cta-button { padding: 10px 16px !important; font-size: 9px !important; letter-spacing: 0.12em !important; gap: 6px !important; white-space: nowrap; }
    nav .cta-button i { font-size: 1.1em !important; }

    /* HERO */
    .title-main { font-size: clamp(2.6rem, 14vw, 5rem) !important; }
    section.min-h-screen { padding-left: 16px !important; padding-right: 16px !important; }
    #hero-sub { font-size: 0.6rem !important; letter-spacing: 0.3em !important; margin-top: 24px !important; margin-bottom: 36px !important; }
    #hero-cta { padding: 16px 32px !important; font-size: 10px !important; }

    /* SCROLLYTELLING */
    .scene-overlay {
        background: linear-gradient(to top, rgba(0,0,0,0.96) 40%, rgba(0,0,0,0.3) 100%) !important;
    }
    .scene-text {
        width: 100% !important; top: auto !important; bottom: 0;
        padding: 28px 18px 54px !important; justify-content: flex-end !important;
    }
    .scene { width: 96vw; height: 88vh; border-radius: 24px; }
    .scene-text h2 { 
        font-size: clamp(2.2rem, 9vw, 3.6rem) !important; 
        margin-bottom: 12px !important; 
        text-shadow: 
            0 1px 0 #dedede,
            0 2px 0 #c9c9c9,
            0 3px 0 #b3b3b3,
            0 4px 5px rgba(0, 0, 0, 0.4),
            0 0 10px rgba(255, 255, 255, 0.2) !important;
    }
    .scene-text p { 
        font-size: 0.9rem !important; 
        padding: 12px 16px !important;
        border-radius: 12px !important;
        max-width: 100% !important;
        line-height: 1.5 !important;
    }
    .pillars-grid  { grid-template-columns: 1fr !important; max-width: 100% !important; gap: 10px !important; }
    .pillar-card { padding: 16px !important; border-radius: 14px !important; }
    .pillar-card h3 { font-size: 0.95rem !important; }
    .pillar-card p { font-size: 0.8rem !important; }
    .price-tag     { font-size: clamp(2.8rem, 16vw, 4.5rem) !important; }
    .smart-pagination {
        bottom: 20px !important;
        padding: 8px 12px !important;
    }
    .smart-dot {
        width: 10px; height: 3px;
    }
    .smart-dot.active { width: 24px; }
    
    .smart-nav-btn {
        width: 44px; height: 44px;
    }
    .smart-nav-btn i { font-size: 18px; }
    .smart-nav-btn.prev { left: 16px; }
    .smart-nav-btn.next { right: 16px; }
    
    .scene-bg-num { display: none; }

    /* ─── MAQUETAS MOBILE (CRITICAL FIX) ─── */
    .showcase-section { padding: 50px 12px !important; }
    .showcase-section h2 { font-size: clamp(2rem, 8vw, 3.5rem) !important; margin-bottom: 8px !important; }
    .showcase-section > div > .mb-20 { margin-bottom: 24px !important; }
    .showcase-section p { font-size: 0.75rem !important; }

    /* Fallback button compact so it fits in 540px wrapper */
    .mockup-mobile-fallback .btn-premium-mockup {
        padding: 12px 22px !important;
        font-size: 11px !important;
        margin-top: 0 !important;
        letter-spacing: 0.08em !important;
    }
    .mockup-mobile-fallback .btn-premium-mockup i {
        font-size: 1rem !important;
    }
    .mobile-fallback-content {
        gap: 0 !important;
    }

    /* Tab container: Stack vertically on mobile so all 3 are visible */
    .tab-container { 
        flex-direction: column !important; 
        overflow-x: visible !important; 
        scroll-snap-type: none !important;
        gap: 12px !important;
        padding-bottom: 0;
    }
    .tab-item { 
        min-width: 0 !important; 
        width: 100% !important;
        max-width: none !important;
        flex-shrink: 0 !important;
        transform: none !important; 
        padding: 16px 20px !important; 
        border-radius: 16px !important;
        /* Larger touch target */
        -webkit-tap-highlight-color: rgba(255,255,255,0.1);
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    /* Hide mini-preview thumbnail on mobile (shows as empty box) */
    .tab-item::before { display: none !important; }
    .tab-item.active { transform: none !important; border-color: rgba(255,255,255,0.3) !important; background: rgba(255,255,255,0.06) !important; }
    .tab-item::after { display: none; }
    .tab-item h3 { font-size: 1.1rem !important; }
    .tab-item p { font-size: 0.7rem !important; letter-spacing: 0.08em !important; margin-top: 4px; }

    /* Mockup controls */
    .mockup-controls {
        flex-wrap: nowrap !important;
        gap: 10px !important;
        margin-bottom: 16px !important;
    }
    #open-fullscreen {
        padding: 8px 14px !important;
        font-size: 9px !important;
        border-radius: 10px !important;
        gap: 6px !important;
        flex: 1;
        justify-content: center;
    }
    .device-toggle {
        flex-shrink: 0;
    }

    /* Browser mockup — bigger iframe for interaction */
    .browser-mockup {
        border-radius: 20px !important;
        max-width: 100% !important;
    }
    .browser-mockup.mobile-view {
        max-width: 320px !important;
        border-radius: 36px !important;
        border-width: 4px !important;
    }
    .browser-header {
        padding: 8px 14px !important;
    }
    .b-dot { width: 9px; height: 9px; }
    .browser-address {
        padding: 6px 12px !important;
        font-size: 9px !important;
    }
    /* CRITICAL: Make iframe taller and interactive on mobile */
    .mockup-frame-wrapper {
        height: 540px !important;
        overflow: hidden !important;
        position: relative;
        transition: background-color 0.3s;
    }
    
    .browser-mockup.mobile-view .mockup-frame-wrapper {
        height: 580px !important;
    }

    .mockup-frame-wrapper.interactive-active {
        overflow-y: auto !important; /* Wrapper maneja el scroll */
        -webkit-overflow-scrolling: touch;
    }

    /* Default to hidden on desktop */
    .mockup-mobile-fallback {
        display: none;
    }
    
    /* Hide the interaction overlay and exit button on mobile since we use the fallback */
    .mockup-overlay {
        display: none !important;
        pointer-events: none; /* Ensure clicks pass through */
    }
    .mockup-exit-btn {
        display: none !important;
    }

    iframe { 
        width: 100% !important;
        /* Quitamos height: 100% !important para que app.js pueda darle 3000px y el wrapper haga scroll */
        transition: opacity 0.3s var(--ease);
    }
    .browser-mockup.mobile-view iframe {
        height: 100% !important;
    }

    /* BG Preview: always absolutely positioned and filling the wrapper */
    #mockup-bg-preview {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        pointer-events: none !important;
    }

    /* Mobile fallback shows as flex on top of bg-preview */
    @media (max-width: 768px) {
        .mockup-mobile-fallback {
            display: flex !important;
            position: absolute !important;
            inset: 0 !important;
            height: 100% !important;
        }
    }
    
    .mockup-overlay-content {
        display: none !important;
    }

    /* ─── SECTIONS MOBILE ─── */
    /* Ecosystem */
    #ecosistema { padding: 50px 16px !important; }
    #ecosistema .text-center h2 { font-size: clamp(2rem, 8vw, 3.5rem) !important; }
    #ecosistema .text-center { margin-bottom: 32px !important; }
    .eco-card { padding: 20px !important; border-radius: 20px !important; }
    .eco-card-main { padding: 24px !important; }
    .eco-card-main h3 { font-size: 1.3rem !important; }
    .eco-card h3 { font-size: 1.1rem !important; }
    .eco-card:hover { transform: none !important; } /* No hover on mobile */

    /* Methodology */
    #metodo { padding: 50px 16px !important; }
    #metodo h2 { font-size: clamp(2.2rem, 9vw, 4rem) !important; }
    #metodo .grid { gap: 40px !important; }
    .m-step { gap: 16px !important; }
    .m-step h4 { font-size: 1.1rem !important; }

    /* Team */
    #equipo { padding: 50px 16px !important; }
    #equipo h2 { font-size: clamp(2rem, 8vw, 3.5rem) !important; }
    #equipo .grid { gap: 24px !important; }
    .team-card .relative { height: 280px !important; }
    .team-card .relative .absolute.bottom-8 { bottom: 20px !important; left: 20px !important; }
    .team-card .relative .absolute.bottom-8 h3 { font-size: 1.8rem !important; }
    .team-card .p-8 { padding: 20px !important; }

    /* Stats ticker */
    .stat-num { font-size: 3.2rem !important; }
    .stat-item { gap: 12px !important; }

    /* AI Integration */
    #ia-clientes { padding: 60px 16px !important; }
    #ia-clientes h2 { font-size: clamp(2rem, 8vw, 3.5rem) !important; }
    #ia-clientes .grid { gap: 20px !important; }
    #ia-clientes .p-10 { padding: 24px !important; border-radius: 24px !important; }

    /* Pricing */
    #inversion { padding: 60px 16px !important; }
    #inversion h2 { font-size: clamp(2rem, 8vw, 3.5rem) !important; }
    #inversion .p-8 { padding: 20px !important; border-radius: 20px !important; }
    #inversion .p-10 { padding: 24px !important; border-radius: 24px !important; }
    #inversion .text-6xl { font-size: 3rem !important; }
    #inversion .text-2xl { font-size: 1.2rem !important; }
    .cta-button { padding: 16px 28px !important; font-size: 10px !important; }

    /* FAQ */
    #faq { padding: 60px 16px !important; }
    #faq h2 { font-size: clamp(2rem, 8vw, 3.5rem) !important; }
    .faq-trigger { padding: 20px !important; }
    .faq-trigger span { font-size: 0.95rem !important; }
    .faq-content p { font-size: 0.95rem !important; padding-bottom: 20px !important; }

    /* Logo ticker speed on mobile */
    .logo-ticker-inner { animation-duration: 25s; }
    .logo-item span { font-size: 0.9rem !important; }
    .logo-item i { font-size: 1.4rem !important; }
}
/* ─── NEW SECTIONS ────────────────────────── */

/* Logo Ticker */
.logo-ticker-inner {
    animation: logo-scroll 40s linear infinite;
}
@keyframes logo-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Ecosystem Grid */
.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 24px;
}
.eco-card-main { grid-column: span 2; grid-row: span 1; }
.eco-card-wide { grid-column: span 4; }

.eco-card {
    transition: transform 0.4s var(--ease), border-color 0.4s;
    cursor: default;
}
.eco-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255,255,255,0.2) !important;
}

/* Stats Ticker */
.stats-ticker-inner {
    animation: stats-scroll 30s linear infinite;
}
@keyframes stats-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* FAQ */
.faq-item.active .faq-trigger i { transform: rotate(45deg); }
.faq-item.active .faq-content { height: auto; padding-top: 10px; }
.faq-item.active { border-color: rgba(255,255,255,0.15); background: rgba(255,255,255,0.05); }

/* Mobile Adjustments for New Sections */
@media (max-width: 1024px) {
    .ecosystem-grid { grid-template-columns: 1fr 1fr; }
    .eco-card-main { grid-column: span 2; }
    .eco-card-wide { grid-column: span 2; }
}

@media (max-width: 768px) {
    .ecosystem-grid { grid-template-columns: 1fr; }
    .eco-card-main, .eco-card-wide { grid-column: span 1; }
    .stat-num { font-size: 4rem !important; }
    .stat-item { gap: 16px !important; }
    .methodology-steps { gap: 40px !important; }
}
/* AI Concierge */
.ai-concierge-fixed {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
    pointer-events: none; /* Crucial: el contenedor no debe bloquear clicks */
}
.ai-concierge-fixed > * {
    pointer-events: auto; /* Los hijos visibles sí son interactivos */
}

.ai-bubble {
    width: 64px; height: 64px; background: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; box-shadow: 0 10px 40px rgba(255,255,255,0.3), 0 0 20px rgba(255,255,255,0.2);
    position: relative; transition: transform 0.3s var(--ease);
    flex-shrink: 0;
}
.ai-bubble:hover { transform: scale(1.1) rotate(5deg); }

.ai-pulse {
    position: absolute; inset: -4px; border: 1px solid rgba(255,255,255,0.4);
    border-radius: 50%; animation: ai-pulse 2s infinite;
}
@keyframes ai-pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.4); opacity: 0; }
}

/* Glassmorphism Premium Chat Window */
.ai-ch.glass-card {
  background: rgba(20, 20, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(218, 165, 32, 0.15);
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  padding: 24px;
}

/* Chat window container — anclado sobre el botón */
.ai-chat-window {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.97);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  /* Dimensiones fijas en desktop */
  width: 380px;
  max-height: 540px;
  min-height: 340px;
  background: rgba(12, 12, 12, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255,255,255,0.04);
  order: -1; /* aparece ENCIMA del botón en el flex-column */
}
.ai-chat-window.active {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0) scale(1);
}

.ai-header {
    padding: 22px 24px; border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(255,255,255,0.02);
}
.ai-messages {
    flex: 1; padding: 24px; overflow-y: auto;
    display: flex; flex-direction: column; gap: 16px;
    scroll-behavior: smooth;
}
.msg { padding: 12px 18px; border-radius: 18px; font-size: 13.5px; max-width: 85%; line-height: 1.5; }
.msg.bot { 
    background: rgba(255,255,255,0.06); 
    color: rgba(255,255,255,0.9); 
    align-self: flex-start; 
    border-bottom-left-radius: 4px; 
    border: 1px solid rgba(255,255,255,0.04);
}
.msg.user { 
    background: #ffffff; 
    color: #000000; 
    align-self: flex-end; 
    border-bottom-right-radius: 4px; 
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255,255,255,0.15);
}

.ai-input-area {
    padding: 18px 20px; background: rgba(255,255,255,0.03);
    display: flex; gap: 12px; border-top: 1px solid rgba(255,255,255,0.08);
    align-items: center;
}
.ai-input-area input {
    flex: 1; background: transparent; border: none; color: #fff;
    font-size: 14px; outline: none;
}
.ai-input-area button {
    background: #fff; color: #000; width: 38px; height: 38px;
    border-radius: 50%; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s var(--ease);
}
.ai-input-area button:hover {
    transform: scale(1.08) rotate(-10deg);
    box-shadow: 0 4px 15px rgba(255,255,255,0.3);
}

/* Suggestion Chips Container */
.ai-chips-container {
    padding: 12px 20px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255,255,255,0.06);
    background: rgba(0,0,0,0.25);
}
.ai-chip {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.8);
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.ai-chip:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255,255,255,0.2);
}

/* Welcome Speech Bubble */
.ai-speech-bubble {
    /* flujo normal dentro del flex-column, aparece arriba del botón */
    width: 300px;
    background: rgba(15, 15, 15, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 16px 20px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.6), 0 0 20px rgba(255,255,255,0.05);
    z-index: 2001;
    order: -2; /* encima del chat window en el stack */
    transform: translateY(10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.ai-speech-bubble.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}
.ai-speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 20px;
    width: 14px;
    height: 14px;
    background: rgba(10, 10, 10, 0.9);
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    transform: rotate(45deg);
}
.ai-speech-bubble p {
    font-size: 12.5px;
    color: rgba(255,255,255,0.9);
    line-height: 1.55;
    margin: 0;
    padding-right: 15px;
}
.ai-speech-bubble strong {
    color: #fff;
    font-weight: 700;
}
.close-speech {
    position: absolute;
    top: 12px;
    right: 14px;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: color 0.3s;
}
.close-speech:hover {
    color: #ffffff;
}

/* Typing Indicator */
.ai-typing {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 14px 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 18px;
    border-bottom-left-radius: 4px;
    align-self: flex-start;
    width: fit-content;
    border: 1px solid rgba(255,255,255,0.03);
}
.ai-typing-dot {
    width: 6px; height: 6px;
    background: rgba(255,255,255,0.6);
    border-radius: 50%;
    animation: typing-bounce 1.4s infinite ease-in-out both;
}
.ai-typing-dot:nth-child(1) { animation-delay: -0.32s; }
.ai-typing-dot:nth-child(2) { animation-delay: -0.16s; }
@keyframes typing-bounce {
    0%, 80%, 100% { transform: scale(0.3); opacity: 0.3; }
    40% { transform: scale(1.1); opacity: 1; }
}

@media (max-width: 768px) {
    .ai-concierge-fixed {
        bottom: 12px;
        right: 12px;
        left: auto; /* Remove stretch */
        align-items: flex-end;
    }
    .ai-bubble {
        width: 56px; height: 56px;
        box-shadow: 0 8px 30px rgba(255,255,255,0.25);
    }
    .ai-bubble i { font-size: 1.3rem; }
    .ai-chat-window {
        width: calc(100vw - 24px);
        max-width: 350px;
        height: 65vh;
        max-height: 550px;
        min-height: 300px;
        border-radius: 20px;
    }
    .ai-header { padding: 12px 16px; }
    .ai-header span { font-size: 9px !important; letter-spacing: 0.1em !important; }
    .ai-messages { padding: 12px; gap: 8px; }
    .msg { font-size: 12px; padding: 10px 12px; max-width: 95%; line-height: 1.4; }
    .ai-chips-container {
        padding: 8px 12px;
        gap: 5px;
    }
    .ai-chip {
        font-size: 10px;
        padding: 5px 10px;
        border-radius: 10px;
    }
    .ai-input-area {
        padding: 12px 14px;
        gap: 8px;
    }
    .ai-input-area input {
        font-size: 13px;
    }
    .ai-input-area button {
        width: 34px; height: 34px;
    }
    .ai-speech-bubble {
        width: 100%;
        border-radius: 16px;
        padding: 14px 16px;
    }
    .ai-speech-bubble p { font-size: 11.5px; }
    .ai-speech-bubble::after { right: 30px; }
}

/* ─── NAV RIGHT GROUP ─────────────────────── */
.nav-right-group {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.nav-ig-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(218,165,32,0.45);
    color: rgba(218,165,32,0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
    font-size: 1.4rem;
}
.nav-cta-text { display: inline; }

@media (max-width: 600px) {
    nav { padding: 14px 16px !important; }
    .nav-right-group { gap: 8px; }
    .nav-ig-btn { width: 34px; height: 34px; font-size: 1rem; }
    .nav-cta-text { display: none; }
    .nav-cta { padding: 12px 14px !important; gap: 0 !important; min-width: unset !important; }
    .nav-cta i { font-size: 1.1rem; }
    .premium-logo-text-sub { display: none; }
}

/* Extra small phones */
@media (max-width: 380px) {
    nav span { font-size: 0.9rem !important; }
    nav .cta-button { padding: 8px 12px !important; font-size: 8px !important; }
    .title-main { font-size: clamp(2.2rem, 14vw, 4rem) !important; }
    .karim-card-list {
        margin-top: 1.5rem;
    }
    .karim-card-list ul {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }
    .karim-card-list li {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        color: rgba(255,255,255,0.4);
        font-size: 0.75rem;
    }
    .karim-card-list li i {
        color: rgba(255,255,255,0.2);
    }
    .scene-text h2 { font-size: clamp(1.5rem, 6vw, 2rem) !important; line-height: 1.1; }
    .tab-item { min-width: max-content !important; padding: 10px 14px !important; }
    iframe { height: 440px !important; }
}

/* ─── PRELOADER ─────────────────────────── */
.preloader {
    position: fixed; inset: 0; z-index: 10000;
    background: #000;
    pointer-events: none; /* NUNCA debe bloquear clicks - se auto-cierra solo */
    /* Salida rápida y limpia: 0.6s */
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: opacity;
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-video {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
    will-change: transform;
}
.preloader-text-overlay {
    position: absolute; inset: 0;
    background: #000; color: #fff;
    display: flex; align-items: center; justify-content: center;
    pointer-events: none; /* Decorativo - no bloquea clicks */
    mix-blend-mode: multiply;
}
.preloader.video-failed .preloader-text-overlay {
    mix-blend-mode: normal !important;
    background: #000 !important;
}
.preloader-text-wrapper {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    transform-origin: center center;
    animation: preloader-wrapper-anim 2.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    will-change: transform, opacity;
}
.pre-title {
    font-size: clamp(5rem, 16vw, 22rem);
    font-weight: 900; line-height: 0.8;
    letter-spacing: -0.05em;
    font-family: 'Outfit', sans-serif;
    margin: 0;
    display: block;
    transform-origin: center center;
    animation: preloader-title-anim 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    will-change: transform, opacity;
}
.pre-subtitle {
    font-size: clamp(0.7rem, 2vw, 2rem);
    font-weight: 600; letter-spacing: 0.8em;
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin-top: 1.5vw;
    margin-left: 0.8em;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0;
    animation: preloader-subtitle-anim 1.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s forwards;
    will-change: transform, opacity;
}

/* Wrapper: entrada suave → quieto → zoom-out fade */
@keyframes preloader-wrapper-anim {
    0%   { transform: scale(1.12) translateY(18px); opacity: 0; }
    18%  { transform: scale(1)    translateY(0);    opacity: 1; }
    72%  { transform: scale(1.02) translateY(0);    opacity: 1; }
    100% { transform: scale(0.94) translateY(-8px); opacity: 0; }
}
/* Título: aparece expandiéndose en X (simula letter-spacing) → GPU friendly */
@keyframes preloader-title-anim {
    0%   { transform: scaleX(1.35); opacity: 0; }
    30%  { opacity: 1; }
    100% { transform: scaleX(1);    opacity: 1; }
}
/* Subtítulo: se desliza hacia arriba y aparece */
@keyframes preloader-subtitle-anim {
    0%   { transform: translateY(12px); opacity: 0; }
    100% { transform: translateY(0);    opacity: 1; }
}
/* ========================================= */
/* FULLSCREEN MOCKUP MODAL (MOBILE)          */
/* ========================================= */
.fullscreen-mockup-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
    transform: translateY(20px) scale(0.98);
}
.fullscreen-mockup-modal.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}
.fmm-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.fmm-title {
    display: flex;
    align-items: center;
    gap: 8px;
}
.fmm-close-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    padding: 8px 14px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}
.fmm-close-btn:active {
    transform: scale(0.95);
    background: rgba(255,255,255,0.2);
}
.fmm-iframe-wrapper {
    flex: 1;
    width: 100%;
    position: relative;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #000;
}
#fmm-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* --- METHODOLOGY TYPOGRAPHY --- */
.m-step h4 {
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 40%, #DAA520 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    letter-spacing: 0.02em;
}
.m-step .m-num {
    font-size: 3rem !important;
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.8) 0%, rgba(218, 165, 32, 0.2) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 15px rgba(218, 165, 32, 0.3));
    transition: all 0.4s ease;
}
.m-step:hover .m-num {
    background: linear-gradient(135deg, #FFD700 0%, #DAA520 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px rgba(218, 165, 32, 0.6));
    transform: scale(1.1) translateX(5px);
}
.m-step p {
    color: rgba(255, 255, 255, 0.65) !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

/* --- CARD TYPOGRAPHY ENHANCEMENTS --- */
.premium-eco-card p, 
.eco-card-ai-highlight p, 
.premium-glass-card p,
.premium-faq-item p {
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0.015em;
    text-shadow: 0 1px 3px rgba(0,0,0,0.9);
}

.premium-faq-item .faq-content p {
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 1rem;
    padding-bottom: 24px;
    line-height: 1.8;
}

/* --- ENHANCED SECTION SEPARATORS --- */
.section-divider {
    position: relative;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(218, 165, 32, 0.4) 50%, transparent 100%);
    box-shadow: 0 0 15px rgba(218, 165, 32, 0.3);
    pointer-events: none;
}

/* ========================================= */
/* PREMIUM DESIGN ENHANCEMENTS               */
/* ========================================= */

/* Premium Fullscreen Button */
.btn-premium-mockup {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    margin-top: 16px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.03) 100%);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 100px;
    color: white;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 24px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.2);
}

.btn-premium-mockup i {
    font-size: 1.2rem;
    transition: transform 0.4s var(--ease);
}

.btn-premium-mockup::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-premium-mockup:hover {
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.05) 100%);
    border-color: rgba(218, 165, 32, 0.6);
    box-shadow: 0 8px 32px rgba(218, 165, 32, 0.3), inset 0 1px 0 rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.btn-premium-mockup:hover::before {
    transform: translateX(100%);
}

.btn-premium-mockup:hover i {
    transform: scale(1.1);
    color: #DAA520;
}

/* AI Bubble Enhancements */
.ai-avatar-glow {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(218, 165, 32, 0.4) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
    z-index: 1;
}

.ai-bubble:hover .ai-avatar-glow {
    opacity: 1;
}

.ai-bubble {
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.ai-bubble::before {
    content: '';
    position: absolute;
    inset: -2px;
    z-index: -1;
    border-radius: 50%;
    background: linear-gradient(135deg, #DAA520, #fff, #DAA520);
    animation: spin 4s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

/* Premium Chat Window Header */
.ai-header {
    background: linear-gradient(to right, rgba(20,20,20,0.9), rgba(40,30,10,0.9));
    border-bottom: 1px solid rgba(218, 165, 32, 0.2);
    position: relative;
    overflow: hidden;
}

.ai-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #DAA520, transparent);
    animation: slideLine 3s ease-in-out infinite;
}

/* --- MOBILE MOCKUP FALLBACK --- */
.mockup-mobile-fallback {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 500px;
    width: 100%;
    /* Transparente: el bg-preview iframe se ve de fondo */
    background: transparent;
    text-align: center;
    padding: 30px;
    position: relative;
    /* Encima del overlay (z:1) y del bg-preview (z:0) */
    z-index: 5;
}
.mobile-fallback-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.fallback-icon {
    font-size: 2.8rem;
    color: rgba(218, 165, 32, 0.85);
    margin-bottom: 10px;
    filter: drop-shadow(0 0 16px rgba(218,165,32,0.4));
}
.fallback-title {
    font-size: 1.2rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 6px;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}
.fallback-subtitle {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 18px;
    max-width: 240px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.9);
    line-height: 1.4;
}
@media (max-width: 768px) {
    .desktop-only-frame {
        display: none !important;
    }
    .desktop-only-overlay {
        display: none !important;
    }
    .mockup-mobile-fallback {
        display: flex;
        /* Absolutely positioned over the bg-preview + overlay */
        position: absolute;
        inset: 0;
        height: 100%;
        width: 100%;
        background: transparent;
        z-index: 5;
        padding: 20px 24px;
    }
    .premium-showcase-frame {
        border-radius: 30px;
        /* Explicit height so bg-preview has dimensions */
        height: 540px;
    }
    .mockup-frame-wrapper {
        /* Wrapper must have height for position:absolute children to fill */
        height: 540px !important;
        overflow: hidden !important;
        position: relative;
    }
}

@keyframes slideLine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}
/* SUPER CREATIVE FULLSCREEN BUTTON */
@keyframes superPulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(218, 165, 32, 0.7); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(218, 165, 32, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(218, 165, 32, 0); }
}

.btn-premium-mockup {
    animation: superPulse 2s infinite;
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.2) 0%, rgba(218, 165, 32, 0.05) 100%) !important;
    border: 2px solid rgba(218, 165, 32, 0.5) !important;
    color: #ffd700 !important;
}
.btn-premium-mockup i {
    color: #fff !important;
    font-size: 1.4rem !important;
    animation: bounceRight 1.5s infinite;
}
@keyframes bounceRight {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

/* ─── ULTRA PREMIUM REDESIGN STYLES ───────────────── */

/* Cyber Grid Background for Hero */
.cyber-grid-bg {
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center top;
}

/* Glassmorphism Premium Card */
.premium-glass-card {
    background: linear-gradient(135deg, rgba(30, 25, 40, 0.5) 0%, rgba(10, 10, 15, 0.85) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(218, 165, 32, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 2px 20px rgba(255, 255, 255, 0.03);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-glass-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 30px 60px rgba(255, 255, 255, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Golden Creator Card for Brainer & Karim */
.gold-creator-card {
    position: relative;
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.06) 0%, rgba(10, 10, 10, 0.95) 100%) !important;
    border: 1px solid rgba(218, 165, 32, 0.35) !important;
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(218, 165, 32, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.gold-creator-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.4), transparent, rgba(218, 165, 32, 0.4));
    border-radius: inherit;
    z-index: -1;
    pointer-events: none;
    opacity: 0.5;
    transition: opacity 0.6s ease;
}

.gold-creator-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(218, 165, 32, 0.8) !important;
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.9),
        0 0 60px rgba(218, 165, 32, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

.gold-creator-card:hover::before {
    opacity: 1;
}

/* Luxury Creator Badge */
.creator-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: linear-gradient(135deg, #FFD700 0%, #DAA520 100%);
    color: #000;
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    box-shadow: 0 10px 25px rgba(218, 165, 32, 0.4), 0 0 12px rgba(218, 165, 32, 0.2);
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: floating-badge 3s infinite ease-in-out;
}

@keyframes floating-badge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* Marketing Badge */
.marketing-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: linear-gradient(135deg, #c084fc 0%, #9333ea 100%);
    color: #fff;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    box-shadow: 0 10px 25px rgba(192, 132, 252, 0.4), 0 0 12px rgba(192, 132, 252, 0.2);
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    animation: floating-badge 3.2s infinite ease-in-out;
}

/* Dual-Tone Metallic Text for Headings */
.metallic-title {
    background: linear-gradient(135deg, #ffffff 10%, #e0e0e0 30%, #DAA520 60%, #ffffff 90%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shine-text 5s linear infinite;
    filter: drop-shadow(0 5px 15px rgba(218, 165, 32, 0.2));
}

@keyframes shine-text {
    to { background-position: 200% center; }
}

/* Premium Gold Accent Label */
.gold-text-glow {
    color: #ffd700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6), 0 0 30px rgba(255, 215, 0, 0.2);
}

/* Premium Photo Glow for Creators */
.creator-photo-wrapper {
    position: relative;
    border-radius: 36px;
    overflow: hidden;
    border: 1px solid rgba(218, 165, 32, 0.25);
    transition: all 0.6s ease;
}

.gold-creator-card:hover .creator-photo-wrapper {
    border-color: rgba(218, 165, 32, 0.7);
    box-shadow: 0 0 30px rgba(218, 165, 32, 0.3);
}

.creator-photo-wrapper img {
    filter: grayscale(100%) contrast(1.1);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.gold-creator-card:hover .creator-photo-wrapper img {
    filter: grayscale(0%) contrast(1.05) scale(1.05);
}

/* Premium Hook Box */
.premium-hook-box {
    background: linear-gradient(145deg, rgba(28, 24, 15, 0.95) 0%, rgba(8, 7, 4, 0.98) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(218, 165, 32, 0.22);
    border-top: 1px solid rgba(255, 215, 0, 0.4);
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.95),
        inset 0 1px 0 rgba(255, 215, 0, 0.1),
        inset 0 -1px 0 rgba(0, 0, 0, 0.6);
    border-radius: 20px;
    padding: 52px 64px 44px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.premium-hook-box:hover {
    border-color: rgba(218, 165, 32, 0.45);
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.98),
        0 0 50px rgba(218, 165, 32, 0.07),
        inset 0 1px 0 rgba(255, 215, 0, 0.15);
}

/* Comilla decorativa gigante */
.premium-hook-box::after {
    content: '“';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 10rem;
    font-family: 'Outfit', serif;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.04);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.premium-hook-box::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(218, 165, 32, 0.08), transparent);
    transform: skewX(-25deg);
    animation: hook-shimmer 6s infinite linear;
}

@keyframes hook-shimmer {
    0% { left: -150%; }
    50% { left: 150%; }
    100% { left: 150%; }
}

.premium-hook-border-pulse {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(218, 165, 32, 0.25);
    animation: border-pulse 3s infinite ease-in-out;
    pointer-events: none;
}

@keyframes border-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; box-shadow: inset 0 0 15px rgba(218, 165, 32, 0.1); }
}

/* Luxurious Section Subtitle Banner */
.luxury-intro-banner {
    background: linear-gradient(90deg, transparent, rgba(218, 165, 32, 0.08), transparent);
    border-top: 1px solid rgba(218, 165, 32, 0.2);
    border-bottom: 1px solid rgba(218, 165, 32, 0.2);
    padding: 12px 28px;
    border-radius: 4px;
    max-width: fit-content;
    margin: 0 auto;
}

/* ========================================= */
/* PHASE 2: ULTRA PREMIUM DESIGN STYLES       */
/* ========================================= */

/* --- LOGO CREATIVO ULTRA-PREMIUM --- */

/* Wrapper de toda la zona del logo en la nav */
.nav-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    text-decoration: none;
}

/* Hexágono/diamante animado con gradiente giratorio */
.premium-logo-container {
    position: relative;
    width: 48px;
    height: 48px;
    padding: 2px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    cursor: pointer;
    flex-shrink: 0;
}

.premium-logo-container::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.5), transparent, rgba(255, 255, 255, 0.4), transparent, rgba(218, 165, 32, 0.5));
    border-radius: inherit;
    z-index: 1;
    animation: spin 6s linear infinite;
    pointer-events: none;
    opacity: 0.6;
}

.premium-logo-container:hover::before {
    opacity: 1;
    animation-duration: 3s;
}

.premium-logo-icon {
    position: relative;
    z-index: 2;
    background: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: inset 0 2px 5px rgba(255, 255, 255, 0.2), 0 4px 15px rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 100%;
}

.premium-logo-container:hover .premium-logo-icon {
    transform: scale(1.05);
    background: #DAA520;
}

.premium-logo-container:hover .premium-logo-icon i {
    transform: rotate(360deg);
    color: #000000;
}

.premium-logo-icon i {
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Bloque de texto del logo: AGENCY en grande + subtítulo pequeño */
.premium-logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1;
}

.premium-logo-text-main {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 50%, #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: logo-shine 4s linear infinite;
    white-space: nowrap;
}

@keyframes logo-shine {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.premium-logo-text-sub {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 0.48rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(218, 165, 32, 0.7);
    transition: color 0.4s ease;
    white-space: nowrap;
    line-height: 1.2;
}

.nav-logo-wrapper:hover .premium-logo-text-sub {
    color: #ffd700;
}

/* Separador vertical decorativo entre icono y texto */
.logo-divider {
    width: 1px;
    height: 24px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.15), transparent);
    margin: 0 2px;
    flex-shrink: 0;
}

/* Estado hover: acento dorado en texto principal */
.nav-logo-wrapper:hover .premium-logo-text-main {
    animation-duration: 1.5s;
}

/* Mobile: logo más compacto */
@media (max-width: 768px) {
    .premium-logo-container {
        width: 38px !important;
        height: 38px !important;
        border-radius: 10px !important;
    }
    .premium-logo-icon i {
        font-size: 1rem !important;
    }
    .premium-logo-text-main {
        font-size: 0.9rem !important;
    }
    .premium-logo-text-sub {
        font-size: 0.42rem !important;
        letter-spacing: 0.1em !important;
    }
    .logo-divider {
        height: 20px !important;
    }
}

/* --- ECOSYSTEM SECTION ENHANCEMENTS --- */
.premium-eco-card {
    background: linear-gradient(135deg, rgba(20, 25, 30, 0.6) 0%, rgba(5, 5, 10, 0.9) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(218, 165, 32, 0.2);
    border-radius: 32px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 2px 20px rgba(255, 255, 255, 0.03);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}


.premium-eco-card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(255, 255, 255, 0.18) !important;
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.6), 
        0 0 30px rgba(255, 255, 255, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* Icon Containers in Cards */
.premium-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.premium-eco-card:hover .premium-icon-box {
    transform: scale(1.08) translateY(-2px);
    border-color: rgba(218, 165, 32, 0.4);
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.15) 0%, rgba(218, 165, 32, 0.02) 100%);
    box-shadow: 
        0 12px 28px rgba(218, 165, 32, 0.15), 
        0 0 15px rgba(218, 165, 32, 0.1);
}

.premium-eco-card:hover .premium-icon-box i {
    color: #ffd700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

/* Featured AI Ecosistema Card (Wide) */
.eco-card-ai-highlight {
    background: linear-gradient(135deg, rgba(30, 20, 45, 0.35) 0%, rgba(10, 10, 15, 0.98) 100%) !important;
    border: 1.5px solid rgba(138, 43, 226, 0.35) !important;
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(138, 43, 226, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

.eco-card-ai-highlight::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(138, 43, 226, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(138, 43, 226, 0.04) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.7;
    z-index: 0;
    pointer-events: none;
}

.eco-card-ai-highlight:hover {
    transform: translateY(-8px) scale(1.005) !important;
    border-color: rgba(218, 165, 32, 0.6) !important;
    box-shadow: 
        0 35px 70px rgba(0, 0, 0, 0.9),
        0 0 50px rgba(218, 165, 32, 0.25),
        0 0 30px rgba(138, 43, 226, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

.eco-card-ai-highlight:hover .premium-icon-box {
    border-color: rgba(218, 165, 32, 0.5);
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.2) 0%, rgba(138, 43, 226, 0.1) 100%);
    box-shadow: 0 12px 28px rgba(218, 165, 32, 0.2);
}

.eco-card-ai-highlight:hover .premium-icon-box i {
    color: #ffd700;
}

/* Premium Tags */
.premium-pill-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    letter-spacing: 0.15em;
    font-weight: 800;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-pill-tag-gold {
    background: rgba(218, 165, 32, 0.15);
    border: 1px solid rgba(218, 165, 32, 0.45);
    color: #ffd700;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 0 10px rgba(218, 165, 32, 0.1);
    letter-spacing: 0.15em;
    font-weight: 900;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-eco-card:hover .premium-pill-tag {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.25);
}

.eco-card-ai-highlight:hover .premium-pill-tag-gold {
    background: linear-gradient(135deg, #FFD700 0%, #DAA520 100%);
    color: #000000;
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 20px rgba(218, 165, 32, 0.35);
}

/* --- FAQ ACCORDION PREMIUM REDESIGN --- */
.premium-faq-item {
    background: linear-gradient(135deg, rgba(25, 25, 30, 0.5) 0%, rgba(10, 10, 12, 0.8) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 2px solid rgba(218, 165, 32, 0.3);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}
.premium-faq-item .faq-trigger span {
    font-size: 1.15rem;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, #ffffff 0%, #d4d4d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.premium-faq-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.005) 100%);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.premium-faq-item.active {
    border-color: rgba(218, 165, 32, 0.35) !important;
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.04) 0%, rgba(10, 10, 10, 0.98) 100%) !important;
    box-shadow: 
        0 20px 45px rgba(0, 0, 0, 0.6), 
        0 0 25px rgba(218, 165, 32, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    transform: translateY(-4px);
}

/* FAQ trigger button circular */
.faq-trigger-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.faq-trigger:hover .faq-trigger-btn {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
    transform: scale(1.05);
}

.premium-faq-item.active .faq-trigger-btn {
    background: #ffd700;
    border-color: #ffd700;
    color: #000000;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.faq-trigger-btn i {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-faq-item.active .faq-trigger-btn i {
    transform: rotate(135deg);
    color: #000000 !important;
}

/* Active title text gold shine */
.premium-faq-item.active .faq-trigger span {
    color: #ffd700;
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.2);
}

/* --- MOBILE CTA BANNER --- */
.mobile-cta-wrapper {
    display: none;
    width: 100%;
    padding: 40px 24px 20px;
    position: relative;
    z-index: 20;
    background: #000;
}

@media (max-width: 768px) {
    .mobile-cta-wrapper {
        display: block;
    }
}

.mobile-cta-card {
    background: linear-gradient(135deg, rgba(218, 165, 32, 0.08) 0%, rgba(15, 15, 15, 0.95) 100%);
    border: 1px solid rgba(218, 165, 32, 0.3);
    border-radius: 28px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.8),
        0 0 25px rgba(218, 165, 32, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.mobile-cta-tag {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #FFD700;
    display: flex;
    align-items: center;
    gap: 6px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
    margin: 0;
}

.mobile-cta-title {
    font-size: 1.4rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 8px;
}

.mobile-cta-btn {
    width: 100%;
    max-width: 320px;
    padding: 16px 32px !important;
    font-size: 11px !important;
}


