:root {
    --bg-color: #0d1117;
    --text-main: #f0f6fc;
    --text-muted: #8b949e;
    --brand-blue: #0A66C2; 
    --brand-red: #E63946;  
    --accent-green: #2ecc71;
    --accent-orange: #f39c12;
    --accent-pink: #e84393;
    --accent-cyan: #00d2d3;
    
    --glass-bg: rgba(22, 27, 34, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    
    --font-main: 'Outfit', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-main);
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

.background-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.4;
    animation: float 20s infinite ease-in-out alternate;
}

.shape-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--brand-blue) 0%, transparent 70%);
}

.shape-2 {
    bottom: 20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--brand-red) 0%, transparent 70%);
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(5%, 10%) scale(1.1); }
}

.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.highlight-red {
    color: var(--brand-red);
}

.btn {
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.btn-whatsapp-outline {
    background: transparent;
    color: var(--accent-green);
    border: 2px solid var(--accent-green);
}

.btn-whatsapp-outline:hover {
    background: var(--accent-green);
    color: #fff;
    box-shadow: 0 0 15px rgba(46, 204, 113, 0.4);
}

.btn-whatsapp-lg {
    background: #25D366;
    color: white;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    border: none;
}

.btn-whatsapp-lg:hover {
    background: #1ebe5d;
    transform: translateY(-3px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-blue), #0d47a1);
    color: white;
    border: none;
    font-size: 1.1rem;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
}

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

.btn-glow:hover {
    box-shadow: 0 0 20px rgba(10, 102, 194, 0.5);
    transform: translateY(-3px);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
    gap: 4rem;
}

.hero-content {
    flex: 1;
}

.badge {
    display: inline-block;
    background: rgba(230, 57, 70, 0.15);
    color: #ff6b6b;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(230, 57, 70, 0.3);
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(to right, #00d2d3, #0A66C2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.cta-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.trust-indicators {
    display: flex;
    gap: 2rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.partner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.partner:hover {
    opacity: 1;
}

.hero-image-container {
    flex: 1;
    position: relative;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: var(--glass-shadow);
    width: 320px;
}

.offer-card-demo {
    position: absolute;
    transition: transform 0.3s ease;
}

.offer-card-demo:hover {
    transform: scale(1.05) !important;
    z-index: 10;
}

.floating-1 {
    top: 10%;
    right: 5%;
    transform: rotate(5deg);
    animation: float-card 6s infinite ease-in-out;
}

.floating-2 {
    bottom: 15%;
    left: 5%;
    transform: rotate(-5deg);
    animation: float-card 8s infinite ease-in-out alternate-reverse;
}

@keyframes float-card {
    0% { transform: translateY(0) rotate(var(--rot)); }
    100% { transform: translateY(-20px) rotate(var(--rot)); }
}

.floating-1 { --rot: 5deg; }
.floating-2 { --rot: -8deg; }

.discount-badge {
    position: absolute;
    top: -15px;
    left: -15px;
    background: radial-gradient(circle, #ff0000, #800000);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    border: 3px solid var(--bg-color);
}

.offer-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 1rem;
}

.offer-details h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

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

.old-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.new-price {
    background: linear-gradient(90deg, #0A66C2, #00d2d3);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-weight: 800;
    font-size: 1.2rem;
    color: white;
}

.deals-section {
    max-width: 1200px;
    margin: 5rem auto;
    padding: 2rem;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.deal-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.deal-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
    border-color: rgba(255,255,255,0.1);
}

.deal-img-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.deal-img-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.deal-card:hover .deal-img-wrapper img {
    transform: scale(1.05);
}

.deal-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--brand-red);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.8rem;
    z-index: 2;
}

.deal-store {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0,0,0,0.7);
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: white;
    z-index: 2;
}

.deal-store.amazon i { color: #f9a825; }
.deal-store.meli i { color: #ffe600; }

.deal-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.deal-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.deal-prices {
    margin-top: auto;
    margin-bottom: 1rem;
}

.deal-old-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.9rem;
    display: block;
}

.deal-new-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-green);
}

.btn-deal {
    width: 100%;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    color: white;
    margin-top: 1rem;
}

.btn-deal:hover {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
}

.whatsapp-cta-section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.w-panel {
    background: linear-gradient(135deg, rgba(22, 27, 34, 0.8), rgba(10, 102, 194, 0.15));
    border-radius: 30px;
    padding: 4rem;
    display: flex;
    align-items: center;
    gap: 4rem;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.w-content {
    flex: 1;
}

.w-content h2 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    color: white;
}

.w-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.w-note {
    font-size: 0.9rem !important;
    color: var(--text-muted);
    margin-top: 1rem;
    display: block;
}

.w-mockup {
    flex: 1;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: #111;
    border-radius: 40px;
    border: 10px solid #222;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.phone-screen {
    background: #0b141a;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.w-header {
    background: #202c33;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
    font-weight: 600;
}

.w-contact {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.w-avatar {
    width: 40px;
    height: 40px;
    background: var(--bg-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-blue);
}

.w-chat {
    padding: 1rem;
    flex: 1;
    background: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png');
    background-size: cover;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.w-msg {
    background: #202c33;
    color: #e9edef;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    font-size: 0.85rem;
    max-width: 90%;
    box-shadow: 0 1px 0.5px rgba(11,20,26,.13);
}

footer {
    border-top: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    text-align: center;
    margin-top: 5rem;
    background: rgba(0,0,0,0.3);
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.footer-logo span {
    color: var(--brand-red);
}

.footer-content p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.disclaimer {
    font-size: 0.8rem !important;
    opacity: 0.6;
}

@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 8rem;
    }
    .hero-content p {
        margin: 0 auto 2.5rem;
    }
    .hero-content h1 {
        font-size: 3rem;
    }
    .cta-group {
        justify-content: center;
    }
    .trust-indicators {
        justify-content: center;
    }
    .hero-image-container {
        height: 500px;
        width: 100%;
    }
    .w-panel {
        flex-direction: column;
        padding: 2rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .glass-card {
        width: 280px;
    }
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    .hero {
        padding-top: 10rem;
    }
    .deals-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
}

/* Nuevos Estilos: Filtros */
.filter-bar {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}
.btn-filter {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-filter:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}
.btn-filter.active {
    background: linear-gradient(135deg, var(--brand-blue), #0d47a1);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(10, 102, 194, 0.4);
}

/* Nuevos Estilos: FOMO Popup */
.fomo-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: rgba(22, 27, 34, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 2000;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
    max-width: 320px;
}
.fomo-popup.hide {
    transform: translateY(150px);
    opacity: 0;
    pointer-events: none;
}
.fomo-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
    font-size: 0.9rem;
    line-height: 1.4;
}
.fomo-icon {
    background: linear-gradient(135deg, var(--brand-red), #ff7675);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.5rem;
}
@media (max-width: 768px) {
    .fomo-popup {
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 400px;
    }
    .fomo-popup.hide {
        transform: translate(-50%, 150px);
    }
}

/* Botón Flotante WhatsApp VIP */
.float-whatsapp {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulselow 2s infinite;
}
.float-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    color: white;
}
.float-text {
    position: absolute;
    right: 75px;
    background: #25d366;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.float-text::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    width: 0; 
    height: 0; 
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 5px solid #25d366;
}
.float-whatsapp:hover .float-text {
    opacity: 1;
    transform: translateX(-10px);
}
@keyframes pulselow {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@media (max-width: 768px) {
    .float-whatsapp {
        bottom: 90px; /* Para no chocar con el popup FOMO */
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 26px;
    }
    .float-text {
        right: 65px;
        font-size: 0.85rem;
    }
}
