:root {
    --background-color: #FFFFFF;
    --text-color: #1c1c1e;
    --primary-color: #000000;
    --secondary-color: #f2f2f7;
    --accent-color: #34c759;
    --border-color: #e5e5ea;
}

/* --- Barra de Notificaciones --- */
.notification-bar {
    background-color: var(--primary-color);
    color: var(--background-color);
    text-align: center;
    padding: 12px 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    font-weight: 500;
    font-size: 14px;
}

#notification-message {
    display: inline-block;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

#notification-message.fade-out {
    opacity: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    padding: 20px;
    padding-top: 60px; /* Importante: para dejar espacio a la barra */
    padding-bottom: 80px; /* Importante: para dejar espacio al botón fijo */
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.hero-text {
    flex: 1;
    min-width: 300px;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 900;
    margin: 0 0 15px 0;
    line-height: 1.1;
}

.hero-text p {
    font-size: 18px;
    color: #6e6e73;
    line-height: 1.6;
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--background-color);
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary:hover {
    transform: scale(1.05);
}

/* Features Section */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
    margin-bottom: 60px;
}

.feature-item svg {
    width: 32px;
    height: 32px;
    margin-bottom: 10px;
}

.feature-item h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
}

.feature-item p {
    font-size: 14px;
    color: #6e6e73;
    line-height: 1.5;
    margin: 0;
}

/* Pricing Section */
.pricing {
    text-align: center;
    margin-bottom: 40px;
}

.pricing h2,
.countdown-section h2,
.color-selector h2,
.video-section h2,
.testimonials h2,
.faq-section h2 {
    font-size: 32px;
    margin-bottom: 30px;
}


.pricing-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.pricing-card {
    background-color: var(--secondary-color);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    cursor: pointer;
    transition: all 0.2s;
}

.pricing-card.active {
    background-color: var(--primary-color);
    color: var(--background-color);
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.active p {
    color: #a1a1a6;
}

.pricing-card h3 {
    margin: 0 0 10px 0;
    font-size: 20px;
}

.pricing-card p {
    margin: 0 0 20px 0;
    color: #6e6e73;
}

.pricing-card span {
    font-size: 28px;
    font-weight: 700;
}

/* Countdown Timer */
.countdown-section {
    text-align: center;
    margin-bottom: 60px;
}

.countdown-section h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #d9534f;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.time-box {
    background-color: var(--secondary-color);
    padding: 15px;
    border-radius: 10px;
    min-width: 65px;
    font-size: 12px;
}

.time-box span {
    display: block;
    font-size: 36px;
    font-weight: 700;
}

/* Color Selector */
.color-selector {
    text-align: center;
    margin-bottom: 60px;
}

.colors {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.color-swatch {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid transparent;
    transition: border-color 0.2s;
}

.color-swatch.selected {
    border-color: var(--primary-color);
}

.color-selector p {
    margin-bottom: 15px;
    color: #6e6e73;
}

.color-note {
    font-size: 14px;
    color: #007aff;
    background-color: rgba(0, 122, 255, 0.05);
    border: 1px solid rgba(0, 122, 255, 0.1);
    padding: 10px;
    border-radius: 8px;
    max-width: 400px;
    margin: 0 auto 20px auto;
    display: none;
    transition: all 0.3s;
}

/* Trust Seals */
.trust-seals {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.trust-seals img {
    max-width: 250px;
}

.seal-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6e6e73;
    font-size: 14px;
}

/* Video Section */
.video-section {
    text-align: center;
    margin-bottom: 60px;
}
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 20px;
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Box Contents Section */
.box-contents-section {
    display: flex;
    align-items: center;
    gap: 40px;
    background-color: var(--secondary-color);
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 60px;
}

.box-contents-image {
    flex: 1;
}
.box-contents-image img {
    max-width: 100%;
    border-radius: 15px;
}
.box-contents-list {
    flex: 1;
}
.box-contents-list h3 {
    font-size: 28px;
    margin: 0 0 20px 0;
}
.box-contents-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.box-contents-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    margin-bottom: 15px;
}
.box-contents-list li svg {
    color: var(--accent-color);
    min-width: 24px;
}

/* Testimonials */
.testimonials {
    text-align: center;
    margin-bottom: 60px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    text-align: left;
}

.testimonial-card {
    background-color: var(--secondary-color);
    padding: 25px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
}
.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.testimonial-author {
    font-weight: 700;
}
.testimonial-stars {
    font-size: 20px;
    color: #f5b32a;
}
.testimonial-card p {
    margin: 0;
    flex-grow: 1;
}

/* FAQ Section */
.faq-section {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
}

.faq-question:hover {
    color: #007aff;
}

.faq-arrow {
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, margin-top 0.3s ease;
}

.faq-answer p {
    margin: 0;
    padding-top: 15px;
    color: #6e6e73;
    line-height: 1.6;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    margin-top: 10px;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--secondary-color);
    color: #6e6e73;
    padding: 40px 20px;
    margin-top: 60px;
    border-top: 1px solid var(--border-color);
}
.footer-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.footer-links {
    margin-bottom: 20px;
}
.footer-links a {
    color: #6e6e73;
    text-decoration: none;
    margin: 0 15px;
    font-size: 14px;
}
.footer-links a:hover {
    color: var(--primary-color);
}
.footer-social {
    margin-bottom: 20px;
}
.footer-social a {
    display: inline-block;
    margin: 0 10px;
}
.footer-social svg {
    width: 24px;
    height: 24px;
    fill: #6e6e73;
    transition: fill 0.2s;
}
.footer-social a:hover svg {
    fill: var(--primary-color);
}
.footer-copy {
    font-size: 12px;
}

/* --- Botón de Compra Fijo --- */
.sticky-buy-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--background-color);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 10px 20px;
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}
.sticky-buy-bar.visible {
    transform: translateY(0);
}
.sticky-product-info {
    display: flex;
    align-items: center;
    gap: 15px;
}
.sticky-product-info img {
    width: 40px;
    height: auto;
}
.sticky-product-info span {
    font-weight: 700;
}
.sticky-btn {
    padding: 12px 24px;
}

/* --- Notificación Prueba Social --- */
.social-proof-popup {
    position: fixed;
    bottom: 90px;
    left: 15px;
    background-color: var(--background-color);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid var(--border-color);
    z-index: 1001;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s, transform 0.5s;
    max-width: calc(100% - 30px);
    font-family: 'Inter', sans-serif;
}
.social-proof-popup.show {
    opacity: 1;
    transform: translateY(0);
}
.popup-content {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
}
.popup-content img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background-color: var(--secondary-color);
    object-fit: contain;
    padding: 5px;
    display: block !important;
}
.popup-text-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
#social-proof-message {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
}
#social-proof-message strong {
    font-weight: 700;
}
.product-name {
    font-size: 13px;
    color: #6e6e73;
}
.timestamp {
    font-size: 12px;
    color: var(--accent-color);
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
    margin-top: 2px;
}
.timestamp svg {
    width: 14px;
    height: 14px;
    fill: var(--accent-color);
}

/* --- Botón Flotante de WhatsApp --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 90px;
    right: 20px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1002;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s ease-in-out;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: #FFF;
}


/* ======================================================= */
/* --- REGLAS RESPONSIVE PARA SMARTPHONES --- */
/* ======================================================= */
@media (max-width: 768px) {

    body {
        padding: 15px;
        padding-top: 60px;
        padding-bottom: 80px;
    }

    /* --- Secciones y Títulos --- */
    .hero, .features, .countdown-section, .color-selector, .video-section, .box-contents-section, .testimonials {
        margin-bottom: 40px;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .pricing h2,
    .countdown-section h2,
    .color-selector h2,
    .video-section h2,
    .testimonials h2,
    .faq-section h2 {
        font-size: 28px;
    }
    
    .countdown-section h3 {
        font-size: 20px;
    }

    /* --- Layouts --- */
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .box-contents-section {
        flex-direction: column;
        padding: 30px;
        gap: 30px;
    }
    
    .footer-links {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .footer-links a {
        margin: 0;
    }
    
    /* --- Componentes --- */
    .time-box span {
        font-size: 28px;
    }

    .sticky-product-info span {
        display: none;
    }
    
    .social-proof-popup {
        bottom: 95px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 95px;
        right: 15px;
    }

    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

/* --- AJUSTE ADICIONAL PARA MÓVILES ANGOSTOS --- */
@media (max-width: 480px) {
    .sticky-btn {
        padding: 10px 16px !important;
        font-size: 14px !important;
    }
}