/* Design System & Reset */
:root {
    --bg-color: #0a0a0a;
    --bg-secondary: #121212;
    --accent-color: #a52a2a;
    /* Rojo Marrón */
    --accent-light: #B76E79;
    --accent-glow: rgba(165, 42, 42, 0.4);
    --text-color: #F5F5F5;
    --text-muted: rgba(245, 245, 245, 0.6);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    position: relative;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(90deg, #F5F5F5 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-flux {
    background: linear-gradient(90deg, #3B82F6, #8B5CF6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-kling {
    background: linear-gradient(90deg, #F59E0B, #EF4444);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-eleven {
    background: linear-gradient(90deg, #10B981, #3B82F6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-bria {
    background: linear-gradient(90deg, #EC4899, #8B5CF6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-heygen {
    background: linear-gradient(90deg, #8B5CF6, #F43F5E);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

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

.section-header h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Glassmorphism */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.interactive-card {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, border-color 0.3s ease;
}

.interactive-card:hover {
    transform: translateY(-5px);
    border-color: rgba(165, 42, 42, 0.3);
    box-shadow: 0 10px 40px rgba(165, 42, 42, 0.15);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: 'Inter', sans-serif;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, #4D000000 100%);
    color: #fff;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    box-shadow: 0 6px 25px rgba(165, 42, 42, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    color: var(--text-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-tertiary {
    background: transparent;
    color: var(--text-color);
    border: 1px solid var(--glass-border);
}

.btn-tertiary:hover {
    border-color: var(--accent-color);
}

/* Animations */
@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(165, 42, 42, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(165, 42, 42, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(165, 42, 42, 0);
    }
}

.pulse {
    animation: pulseGlow 2s infinite;
}

/* Background Blobs */
.blob {
    position: absolute;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.5;
    border-radius: 50%;
    pointer-events: none;
}

.blob-1 {
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: var(--accent-color);
}

.blob-2 {
    top: 40%;
    right: -200px;
    width: 500px;
    height: 500px;
    background: #E6A52A2A;
}

/* Nav */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 1rem 0;
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-color);
    letter-spacing: -0.5px;
}

/* Logo wrapper: en desktop es transparente, en móvil apila logo + link */
/* (eliminado - ya no se usa logo-wrapper) */

/* Link "Resultados" debajo del botón, solo en móvil */
.mobile-results-link {
    display: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--text-color);
}

.nav-link-special {
    color: #ffffff;
    font-weight: 700;
    position: relative;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(165, 42, 42, 0.5); /* Glowing effect based on accent */
}

.nav-link-special:hover {
    color: #fff;
    text-shadow: 0 0 15px var(--accent-color);
}

.nav-btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
    border-radius: 6px;
    text-decoration: none;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding-top: 6rem;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #FFB5B5;
    border: 1px solid rgba(165, 42, 42, 0.3);
}

.hero-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

/* Hero Mockup Column (mockup + PDF below) */
.hero-mockup-col {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

/* Hero Mockup */
.hero-mockup {
    border-radius: 12px;
    overflow: hidden;
    height: 400px;
    display: flex;
    flex-direction: column;
}

.mockup-header {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
}

.mac-dots {
    display: flex;
    gap: 6px;
    margin-right: 1rem;
}

.mac-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff5f56;
}

.mac-dots span:nth-child(2) {
    background: #ffbd2e;
}

.mac-dots span:nth-child(3) {
    background: #27c93f;
}

.mockup-title {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: monospace;
}

.mockup-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, rgba(165, 42, 42, 0.1) 0%, #4D000000 70%);
}

/* Hero Video Player */
.hero-video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
    overflow: hidden;
}

.hero-video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Fullscreen button */
.hero-fullscreen-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    color: var(--text-color);
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease, background 0.25s ease;
    padding: 0;
}

.hero-video-wrapper:hover .hero-fullscreen-btn {
    opacity: 1;
}

.hero-fullscreen-btn:hover {
    background: rgba(165, 42, 42, 0.7);
    border-color: var(--accent-color);
}

.hero-fullscreen-btn svg {
    width: 16px;
    height: 16px;
}

/* Tech Stack */
.tech-stack {
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    text-align: center;
    background: rgba(255, 255, 255, 0.01);
}

.section-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.logos-grid {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2.5rem;
    align-items: flex-start; /* Evita que las vecinas se estiren */
}

/* Base card */
.logo-item {
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    min-width: 220px;
    flex: 1 1 260px;
    text-align: left;
    cursor: default;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(255, 255, 255, 0.03);
}

/* Desktop: Una sola fila */
@media (min-width: 992px) {
    .logos-grid {
        flex-wrap: nowrap;
        gap: 0.75rem;
    }
    
    .logo-item {
        min-width: 160px; /* Reducimos para que quepan las 6 */
        flex: 1;
        padding: 1rem 1.25rem;
        min-height: 130px; /* Altura mínima uniforme para todas */
        display: flex;
        flex-direction: column;
    }

    .logo-item h3 {
        font-size: 1.1rem;
    }

    .logo-item .tech-tag {
        font-size: 0.75rem;
    }
}

/* Expandable card header: name+tag on left, icon on right */
.tech-expandable {
    cursor: pointer;
}

.tech-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.logo-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.logo-item .tech-tag {
    font-size: 0.85rem;
    color: var(--text-color);
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

/* Expand icon button */
.tech-expand-icon {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    margin-top: 0.15rem;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), color 0.25s ease;
    padding: 0;
}

.tech-expand-icon svg {
    width: 13px;
    height: 13px;
    transition: inherit;
}

.tech-expandable:hover .tech-expand-icon {
    background: rgba(165, 42, 42, 0.15);
    border-color: rgba(165, 42, 42, 0.4);
    color: #e57373;
}

/* Expanded state */
.tech-expandable.expanded {
    border-color: rgba(165, 42, 42, 0.3);
    box-shadow: 0 6px 30px rgba(165, 42, 42, 0.12);
}

.tech-expandable.expanded .tech-expand-icon {
    background: rgba(165, 42, 42, 0.2);
    border-color: rgba(165, 42, 42, 0.5);
    color: #e57373;
    transform: rotate(45deg);
}

/* Description: hidden by default, slides in */
.tech-desc-wrap {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.35s ease,
                margin-top 0.3s ease;
    margin-top: 0;
}

.tech-expandable.expanded .tech-desc-wrap {
    max-height: 200px;
    opacity: 1;
    margin-top: 0.85rem;
}

.logo-item .tech-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Digital Twin */
.digital-twin {
    padding: 8rem 2rem;
}

.comparison-container {
    display: flex;
    align-items: center;
    border-radius: 16px;
    padding: 2rem;
    gap: 2rem;
    margin-top: 4rem;
}

.comparison-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.comp-label {
    font-weight: 600;
    font-size: 1.1rem;
}

.comparisons-wrapper {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.comp-media {
    width: 100%;
    height: 350px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.comp-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 8px;
    transition: transform 0.5s ease;
}

.comp-media video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 8px;
    transition: transform 0.5s ease;
}

.comp-media:hover img,
.comp-media:hover video {
    transform: scale(1.05);
}

.comp-placeholder {
    height: 300px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.orig-placeholder {
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.2);
}

.orig-placeholder svg {
    margin-bottom: 1rem;
    opacity: 0.5;
}

.final-placeholder {
    background: #000;
    border: 1px solid var(--accent-glow);
    color: #fff;
    font-weight: 500;
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: var(--accent-color);
    filter: blur(60px);
    opacity: 0.4;
    animation: pulseGlow 4s infinite;
}

.comparison-divider {
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow {
    width: 45px;
    height: 45px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 0 20px var(--accent-glow);
    animation: flowPulse 2s infinite ease-in-out;
}

@keyframes flowPulse {
    0% { transform: translateX(0); box-shadow: 0 0 15px var(--accent-glow); }
    50% { transform: translateX(5px); box-shadow: 0 0 25px var(--accent-glow); }
    100% { transform: translateX(0); box-shadow: 0 0 15px var(--accent-glow); }
}

.demo-disclaimer {
    margin-top: 3rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 0.95rem;
    color: var(--text-muted);
}
.demo-disclaimer b {
    color: var(--text-color);
}

/* Flow Section */
.flow {
    padding: 8rem 2rem;
    position: relative;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 4rem;
}

.step-card {
    padding: 2rem;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.step-num {
    font-size: 3rem;
    font-weight: 800;
    opacity: 0.3;
    position: absolute;
    top: -10px;
    right: -10px;
    line-height: 1;
}

.step-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.step-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Final CTA */
.final-cta {
    padding: 4rem 2rem 8rem;
}

.cta-box {
    text-align: center;
    padding: 5rem 2rem;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.cta-box .glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(165, 42, 42, 0.15) 0%, #4D000000 70%);
    z-index: 0;
}

.cta-box h2,
.cta-box p,
.cta-actions {
    position: relative;
    z-index: 1;
}

.cta-box h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.store-buttons {
    display: flex;
    gap: 1rem;
}

.btn-store {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    color: var(--text-color);
    text-decoration: none;
    transition: background 0.3s;
}

.btn-store:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Footer */
.footer {
    padding: 2rem 0;
    border-top: 1px solid var(--glass-border);
    border-radius: 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-logo {
    font-weight: 700;
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 1.5rem;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--text-color);
}

/* Pain Points */
.pain-points {
    padding: 4rem 2rem;
}

.carousel-outer {
    position: relative;
    width: 100%;
    max-width: 420px; /* Viewport for mobile/tablet to ensure we don't see extra cards */
    margin: 3rem auto 0 auto;
}

.carousel-wrapper {
    width: 100%;
    overflow: hidden; /* Clips all the extra cards on the sides! */
}

.pain-points-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    padding: 2rem calc(50% - 140px); /* Centers a 280px card exactly inside the wrapper */
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    width: 100%;
}

.pain-points-carousel::-webkit-scrollbar {
    display: none; /* Chrome */
}

.pain-card {
    flex: 0 0 280px; /* Fixed width for mobile */
    min-height: 350px; /* Taller, not elongated */
    scroll-snap-align: center;
    padding: 2rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
    opacity: 0.6; /* Much more visible so user easily sees the edge */
    transform: scale(0.85);
    transition: transform 0.4s ease, opacity 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.pain-card.active {
    opacity: 1;
    transform: scale(1);
    border-color: rgba(165, 42, 42, 0.4);
    box-shadow: 0 10px 40px rgba(165, 42, 42, 0.15);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 10, 10, 0.4); /* Discreet for mobile */
    border: 1px solid rgba(220, 38, 38, 0.2);
    color: var(--text-color);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex; /* Visible on mobile */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s, transform 0.3s, border-color 0.3s;
}

.carousel-btn svg {
    width: 18px;
    height: 18px;
}

.carousel-btn:hover {
    background: rgba(10, 10, 10, 0.8);
    border-color: var(--accent-color);
    transform: translateY(-50%) scale(1.1);
}

.prev-btn { left: 0px; }
.next-btn { right: 0px; }

@media (min-width: 480px) {
    .carousel-outer {
        max-width: 580px; /* Wider view on desktop to perfectly show 320px + edges */
    }
    .pain-points-carousel {
        padding: 2rem calc(50% - 160px); /* Centers a 320px card precisely */
    }
    .pain-card {
        flex: 0 0 320px; /* Restored to original nice width */
        min-height: 400px;
    }
}

@media (min-width: 768px) {
    .carousel-btn {
        width: 50px;
        height: 50px;
        background: rgba(10, 10, 10, 0.8); /* Normal on desktop */
        border: 1px solid rgba(220, 38, 38, 0.4);
    }
    .carousel-btn svg {
        width: 24px;
        height: 24px;
    }
    /* Position perfectly flanking the outer wrapper */
    .prev-btn { left: -65px; }
    .next-btn { right: -65px; }
}

.pain-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(165, 42, 42, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(165, 42, 42, 0.2);
}

.pain-icon svg {
    color: var(--accent-light);
}

.pain-card p {
    font-size: 1rem;
    color: var(--text-muted);
}

.pain-card:hover .pain-icon {
    background: rgba(165, 42, 42, 0.2);
    box-shadow: 0 0 15px var(--accent-glow);
}

/* Target Audience */
.target-audience {
    padding: 6rem 2rem;
    position: relative;
}

.target-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.target-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.target-header {
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.05);
}

.target-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    border-radius: 12px;
}

.disabled-card {
    opacity: 0.7;
    background: rgba(0, 0, 0, 0.3);
}

.target-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.target-icon.positive {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.target-icon.negative {
    background: rgba(239, 68, 68, 0.1);
    color: #EF4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.target-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

/* Sticky Scarcity Bar */
.sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 90;
    background: rgba(10, 10, 10, 0.9);
    border-top: 1px solid var(--accent-color);
    box-shadow: 0 -5px 30px rgba(165, 42, 42, 0.2);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sticky-bar.visible {
    transform: translateY(0);
}

.sticky-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    gap: 2rem;
}

.sticky-text {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 10px #10B981;
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.sticky-progress {
    flex: 1;
    max-width: 400px;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.spots-left {
    font-weight: 700;
}

.progress-bar-container {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.sticky-fill {
    height: 100%;
    background: linear-gradient(90deg, #F59E0B, #EF4444);
    border-radius: 3px;
    transition: width 1s ease-in-out;
}

.btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 90px;
    left: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(165, 42, 42, 0.3);
    border-left: 4px solid var(--accent-color);
    padding: 1rem 1.2rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    transform: translateX(-120%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(165, 42, 42, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-light);
}

.toast-content p {
    font-size: 0.9rem;
    margin: 0;
    color: var(--text-color);
}

.toast-content span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Responsive constraints */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 8rem;
    }

    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }

    .hero-cta {
        justify-content: center;
    }

    .comparison-container {
        flex-direction: column;
    }

    .comparison-divider {
        transform: rotate(90deg);
    }

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

    .sticky-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .sticky-progress {
        width: 100%;
        max-width: none;
    }

    .hide-mobile {
        display: none;
    }

    .toast-container {
        bottom: 160px;
    }
}

@media (max-width: 600px) {
    .nav-link {
        display: none;
    }

    /* En móvil, los items del nav se apilan verticalmente alineados a la derecha */
    .nav-links {
        flex-direction: column;
        align-items: flex-end;
        gap: 0.3rem;
    }

    .nav-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
    }

    .store-buttons {
        flex-direction: column;
    }

    /* "Resultados" debajo del botón, texto puro con underline */
    .mobile-results-link {
        display: block;
        font-size: 0.72rem;
        color: var(--text-muted);
        text-decoration: underline;
        text-underline-offset: 3px;
        text-decoration-color: rgba(245, 245, 245, 0.3);
        transition: color 0.2s ease;
        text-align: right;
    }

    .mobile-results-link:hover {
        color: var(--text-color);
        text-decoration-color: rgba(245, 245, 245, 0.6);
    }
}

/* Hero PDF Download Button — fuera del recuadro, debajo del mockup */
.hero-pdf-download {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.7rem 1rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.hero-pdf-download:hover {
    background: rgba(165, 42, 42, 0.08);
    border-color: rgba(165, 42, 42, 0.3);
    transform: translateY(-1px);
}

.hero-pdf-icon {
    width: 34px;
    height: 34px;
    border-radius: 7px;
    background: rgba(165, 42, 42, 0.15);
    border: 1px solid rgba(165, 42, 42, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #e57373;
    transition: background 0.25s ease;
}

.hero-pdf-download:hover .hero-pdf-icon {
    background: rgba(165, 42, 42, 0.28);
}

.hero-pdf-icon svg {
    width: 16px;
    height: 16px;
}

.hero-pdf-text {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
    flex: 1;
    min-width: 0;
}

.hero-pdf-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-pdf-sub {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.hero-pdf-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #e57373;
    border: 1px solid rgba(165, 42, 42, 0.35);
    padding: 0.2rem 0.55rem;
    border-radius: 5px;
    flex-shrink: 0;
    white-space: nowrap;
}

/* Video Showcase Section */
.video-showcase {
    padding-bottom: 4rem;
}

.single-video-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.single-video-wrapper .video-showcase-card {
    position: relative;
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.v-carousel-outer {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

.v-carousel-wrapper {
    width: 100%;
    overflow: hidden;
}

.v-carousel-track {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 600px;
    position: relative;
}

.video-showcase-card {
    position: absolute;
    width: 320px;
    height: 560px;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid var(--glass-border);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 0;
    pointer-events: none;
    z-index: 0;
    transform: scale(0.7) translateX(0);
}

.video-showcase-card.active {
    opacity: 1;
    transform: scale(1) translateX(0);
    z-index: 3;
    pointer-events: auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8), 0 0 0 1px var(--accent-glow);
}

.video-showcase-card.prev {
    opacity: 0.5;
    transform: scale(0.85) translateX(-110%);
    z-index: 2;
    cursor: pointer;
    pointer-events: auto;
}

.video-showcase-card.next {
    opacity: 0.5;
    transform: scale(0.85) translateX(110%);
    z-index: 2;
    cursor: pointer;
    pointer-events: auto;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
}

.play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    cursor: pointer;
    transition: opacity 0.3s;
}

.play-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.play-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.play-btn svg {
    width: 32px;
    height: 32px;
    margin-left: 5px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}

.play-overlay:hover .play-btn {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
}

.video-loader {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, #111 25%, #222 50%, #111 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite linear;
}

@keyframes shimmer {
    to { background-position: -200% 0; }
}

.v-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--glass-border);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
}

.v-carousel-btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.v-carousel-btn.prev { left: 2rem; }
.v-carousel-btn.next { right: 2rem; }

@media (max-width: 768px) {
    .v-carousel-outer {
        padding: 0;
    }
    
    /* Vuelve a mostrar las flechas pero más discretas en móvil */
    .v-carousel-btn {
        width: 36px;
        height: 36px;
        background: rgba(0, 0, 0, 0.8);
    }
    .v-carousel-btn.prev { left: 1rem; }
    .v-carousel-btn.next { right: 1rem; }
    
    .v-carousel-track {
        justify-content: flex-start;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 0 1rem;
        gap: 1rem;
        scrollbar-width: none;
        scroll-behavior: smooth;
    }
    
    .v-carousel-track::-webkit-scrollbar { display: none; }
    
    .video-showcase-card {
        position: relative;
        flex: 0 0 85%;
        max-width: 320px;
        scroll-snap-align: center;
        opacity: 1 !important;
        transform: scale(1) !important;
        z-index: 1 !important;
    }
    
    .video-showcase-card:not(.active) {
        opacity: 0.6 !important;
    }
}

/* Comparison Grid Section */
.comparison {
    padding-bottom: 2rem;
}

.comparison-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.comp-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.comp-header .vs-label {
    opacity: 0;
}

.vs-label {
    flex: 0 0 150px;
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

.comp-cards {
    display: flex;
    flex: 1;
    gap: 1.5rem;
}

.comp-card-vs {
    flex: 1;
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 0.95rem;
    line-height: 1.4;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.header-negative, .header-positive {
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1rem;
    background: transparent !important;
    border: none !important;
}

.header-negative span { color: var(--text-muted); }

.comp-card-vs.negative {
    opacity: 0.6;
}

.comp-card-vs.negative .vs-icon {
    color: #ef4444;
}

.comp-card-vs.positive {
    border-color: rgba(16, 185, 129, 0.4);
}

.comp-card-vs.positive .vs-icon {
    color: #10b981;
}

.vs-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border-radius: 6px;
}

/* FAQ Section */
.faq {
    padding-top: 4rem; /* Added space above FAQ */
    padding-bottom: 4rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item.active {
    border-color: rgba(165, 42, 42, 0.4);
    box-shadow: 0 4px 20px rgba(165, 42, 42, 0.1);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: var(--text-color);
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
}

.faq-q-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.faq-number {
    font-size: 1.2rem;
    opacity: 0.8;
}

.faq-icon {
    flex-shrink: 0;
    transition: transform 0.4s ease;
    color: var(--text-muted);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--accent-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
    background: rgba(0,0,0,0.2);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    transition: max-height 0.6s ease-in-out;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem 1.5rem;
    margin: 0;
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .comp-row {
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
        margin-bottom: 2rem;
    }
    
    .vs-label {
        flex: none;
        text-align: center;
        margin-bottom: -0.2rem;
        color: #fff;
        background: rgba(10, 10, 10, 0.8);
        border: 1px solid rgba(255, 255, 255, 0.1);
        padding: 0.5rem 1rem;
        border-radius: 8px;
        display: inline-block;
        align-self: center;
    }
    
    .comp-cards {
        flex-direction: column;
        gap: 0.8rem;
    }
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: var(--bg-secondary);
    padding: 3rem 2.5rem;
    border-radius: 16px;
    max-width: 480px;
    width: 90%;
    text-align: center;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.modal-content p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1rem;
}

.modal-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}