/* ==========================================================================
   CSS ESTILOS PRINCIPALES - LANDING PAGE DAINTY
   ========================================================================== */

/* Variables de Diseño (Sistema de Colores y Tipografía) */
:root {
    --primary: #38a5ff;         /* Azul celeste del logotipo */
    --primary-hover: #1b8cf2;
    --primary-light: #ecf6ff;
    --secondary: #002c5c;       /* Azul marino profundo */
    --accent: #ff7675;          /* Coral para ofertas y llamadas de atención */
    --accent-gold: #fdcb6e;     /* Amarillo/Oro para estrellas y garantía */
    --success: #2ecc71;         /* Verde para WhatsApp y botones de compra */
    --success-hover: #27ae60;
    --dark: #2d3436;            /* Gris carbón oscuro para legibilidad */
    --light-grey: #f8f9fa;      /* Fondo neutro claro */
    --border-color: #dfe6e9;    /* Bordes sutiles */
    --white: #ffffff;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 15px 30px rgba(0, 71, 142, 0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset y Estilos Generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Tipografías y Títulos */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--secondary);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

h2.section-title {
    font-size: 2rem;
    margin-bottom: 12px;
    position: relative;
}

p.section-subtitle {
    font-size: 1.1rem;
    color: #636e72;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-primary { color: var(--primary); }
.text-success { color: var(--success); }
.text-danger { color: var(--accent); }

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: var(--white);
    box-shadow: 0 6px 20px rgba(0, 119, 230, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 119, 230, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, var(--success), var(--success-hover));
    color: var(--white);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.4);
}

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

.btn-outline-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-large {
    font-size: 1.2rem;
    padding: 20px 40px;
}

/* Micro-animación de pulso para el botón CTA */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 6px 20px rgba(0, 119, 230, 0.3);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 0 6px 30px rgba(0, 119, 230, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 6px 20px rgba(0, 119, 230, 0.3);
    }
}

.btn-pulse {
    animation: pulse 2s infinite ease-in-out;
}

/* ==========================================================================
   Componentes Específicos
   ========================================================================== */

/* Barra de Anuncio */
.announcement-bar {
    background-color: var(--secondary);
    color: var(--white);
    padding: 8px 0;
    font-size: 0.9rem;
    font-weight: 500;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.announcement-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.badge-live {
    background-color: var(--accent);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
    animation: blink 1.5s infinite;
}

.timer-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 50px;
    font-family: monospace;
    font-weight: 700;
    font-size: 0.95rem;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}

/* Navbar */
.main-header {
    background-color: var(--white);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.logo-area {
    display: flex;
    align-items: center;
}

.header-logo-img {
    height: 90px;
    width: auto;
    object-fit: contain;
}

.header-badges {
    display: flex;
    gap: 20px;
}

.header-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary);
}

.header-badge i {
    font-size: 1.1rem;
}

/* Hero Section */
.hero-section {
    padding: 60px 0;
    background: radial-gradient(circle at 80% 20%, var(--primary-light) 0%, var(--white) 60%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.promo-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary-light);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #4a5568;
    margin-bottom: 30px;
}

.hero-benefits {
    list-style: none;
    margin-bottom: 35px;
}

.hero-benefits li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.benefit-icon-wrapper {
    color: var(--primary);
    font-size: 1.4rem;
    line-height: 1;
    margin-top: 2px;
}

.hero-benefits strong {
    display: block;
    color: var(--secondary);
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.hero-benefits span {
    color: #636e72;
    font-size: 0.95rem;
}

.hero-cta-area {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cta-subtext {
    font-size: 0.85rem;
    color: #7f8c8d;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Contenedor de la Imagen Hero */
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-bg-glow {
    position: absolute;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(0,119,230,0.2) 0%, rgba(0,119,230,0) 70%);
    z-index: 1;
}

.product-main-img {
    position: relative;
    z-index: 2;
    width: 250px;
    filter: drop-shadow(0 15px 30px rgba(0, 44, 92, 0.15));
    transition: var(--transition);
}

.hero-image-wrapper:hover .product-main-img {
    transform: translateY(-8px) rotate(2deg);
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    z-index: 3;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 10px 16px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-md);
}

.badge-top-left {
    top: 15%;
    left: -5%;
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.9rem;
}

.badge-top-left i {
    color: var(--accent-gold);
}

.badge-bottom-right {
    bottom: 15%;
    right: -5%;
    padding: 12px 20px;
    border-radius: var(--radius-md);
}

.badge-icon {
    font-size: 1.8rem;
    color: var(--primary);
}

.badge-txt {
    display: flex;
    flex-direction: column;
}

.badge-txt strong {
    font-size: 1.1rem;
    color: var(--secondary);
    line-height: 1.1;
}

.badge-txt span {
    font-size: 0.75rem;
    color: #7f8c8d;
}

/* Barra de Confianza */
.trust-bar {
    background-color: var(--light-grey);
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.trust-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
    gap: 30px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.trust-item i {
    font-size: 2rem;
    color: var(--primary);
    background-color: var(--white);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.trust-item h4 {
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 2px;
}

.trust-item p {
    font-size: 0.9rem;
    color: #636e72;
}

/* Sección Cómo Funciona */
.how-it-works {
    padding: 80px 0;
    background-color: var(--white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step-card {
    background-color: var(--light-grey);
    border-radius: var(--radius-md);
    padding: 40px 25px 30px 25px;
    text-align: center;
    position: relative;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    background-color: var(--white);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-sm);
}

.step-icon {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.step-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.step-card p {
    font-size: 0.92rem;
    color: #636e72;
}

/* Sección Características / Detalles */
.features-section {
    padding: 80px 0;
    background-color: var(--light-grey);
}

.features-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.features-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.features-product-img {
    width: 230px;
    filter: drop-shadow(0 15px 30px rgba(0, 44, 92, 0.1));
}

.experience-card {
    position: absolute;
    bottom: 10%;
    left: 5%;
    background: var(--secondary);
    color: var(--white);
    padding: 15px 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.exp-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 5px;
}

.exp-text {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.feature-icon {
    font-size: 1.5rem;
    color: var(--primary);
    background-color: var(--primary-light);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 1.15rem;
    margin-bottom: 5px;
}

.feature-content p {
    font-size: 0.95rem;
    color: #636e72;
}

/* Sección Ofertas / Precios */
.pricing-section {
    padding: 80px 0;
    background-color: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
    gap: 30px;
    margin-top: 40px;
    align-items: stretch;
}

.pricing-card {
    background-color: var(--white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.card-badge {
    background-color: var(--primary-light);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 50px;
    display: inline-block;
    margin: 0 auto 15px auto;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-card h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
}

.card-desc {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-bottom: 25px;
    min-height: 40px;
}

.price-area {
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.old-price {
    font-size: 1.1rem;
    text-decoration: line-through;
    color: #b2bec3;
}

.current-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--secondary);
}

.discount-tag {
    background-color: var(--accent);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    margin-top: 4px;
    display: inline-block;
}

.card-features {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
    flex-grow: 1;
}

.card-features li {
    font-size: 0.95rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4a5568;
}

/* Tarjeta Popular (Destacada) */
.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(180deg, var(--white) 0%, rgba(230, 244, 255, 0.3) 100%);
    transform: scale(1.03);
    z-index: 5;
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-card.popular .card-badge {
    background-color: var(--primary);
    color: var(--white);
}

.popular-ribbon {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--secondary);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 800;
    padding: 6px 20px;
    border-radius: 50px;
    letter-spacing: 1px;
    box-shadow: var(--shadow-sm);
}

/* Estado de Selección Activa */
.pricing-card.selected {
    border-color: var(--success);
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.2), var(--shadow-md);
}

/* Modal de Compra y Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 44, 92, 0.65); /* Fondo oscuro semi-transparente */
    backdrop-filter: blur(5px); /* Fondo borroso elegante */
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    display: none !important;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 700px;
    max-height: 90vh; /* Permitir scroll vertical si es necesario */
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
    animation: modalFadeIn 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes modalFadeIn {
    from {
        transform: scale(0.92) translateY(20px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--secondary);
    cursor: pointer;
    z-index: 1002;
    line-height: 1;
    transition: var(--transition);
}

.modal-close-btn:hover {
    color: var(--accent);
    transform: scale(1.1);
}

.modal-content .order-container-box {
    box-shadow: none;
    border: none;
    border-radius: 0;
    width: 100%;
}

.modal-content .order-form {
    padding: 30px;
}

.order-container-box {
    max-width: 800px;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.order-form-header {
    background-color: var(--primary-light);
    padding: 30px 40px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.order-form-header h2 {
    font-size: 1.8rem;
    margin-bottom: 6px;
}

.order-form-header p {
    font-size: 0.95rem;
    color: #4a5568;
}

.order-form {
    padding: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.form-group {
    flex: 1 1 calc(50% - 10px);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group.full-width {
    flex: 1 1 100%;
}

.form-row {
    display: flex;
    width: 100%;
    gap: 20px;
}

.order-form label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.order-form input,
.order-form select,
.order-form textarea {
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 12px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    outline: none;
    transition: var(--transition);
    background-color: #fafbfc;
}

.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus {
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(0, 119, 230, 0.15);
}

.payment-method-info {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: rgba(46, 204, 113, 0.08);
    border: 1px dashed var(--success);
    padding: 15px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    color: #1e824c;
}

.payment-method-info i {
    font-size: 1.5rem;
}

.submit-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.secure-tag {
    font-size: 0.8rem;
    color: #7f8c8d;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Testimonios */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background-color: var(--light-grey);
    border-radius: var(--radius-md);
    padding: 30px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.stars {
    color: var(--accent-gold);
    font-size: 1rem;
    margin-bottom: 15px;
}

.testimonial-card p {
    font-style: italic;
    font-size: 0.95rem;
    color: #4a5568;
    margin-bottom: 25px;
}

.testimonial-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
}

.bg-primary { background-color: var(--primary); }
.bg-accent { background-color: var(--accent); }
.bg-success { background-color: var(--secondary); }

.testimonial-user h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.user-location {
    font-size: 0.78rem;
    color: #7f8c8d;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 2px;
}

.user-verified {
    font-size: 0.78rem;
    color: var(--success);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Sección FAQs */
.faq-section {
    padding: 80px 0;
    background-color: var(--light-grey);
}

.faq-container-box {
    max-width: 800px;
}

.faq-accordion {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background-color: var(--white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 25px;
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--primary);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
    font-size: 0.95rem;
    color: #636e72;
}

/* Acordeón abierto */
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 300px; /* Suficiente para el texto */
    padding-bottom: 20px;
    transition: max-height 0.3s cubic-bezier(1, 0, 1, 0), padding 0.3s ease;
}

/* Footer */
.main-footer {
    background-color: var(--secondary);
    color: #a4b0be;
    padding: 50px 0;
    font-size: 0.85rem;
}

.footer-logo-wrapper {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.footer-logo-img {
    height: 75px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.footer-copy {
    color: var(--white);
    font-weight: 500;
    margin-bottom: 8px;
}

.footer-disclaimer {
    max-width: 800px;
    margin: 0 auto 25px auto;
    line-height: 1.5;
}

.footer-links a {
    color: #a4b0be;
    text-decoration: none;
    transition: var(--transition);
    margin: 0 10px;
}

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

/* ==========================================================================
   Elementos Interactivos y Dinámicos
   ========================================================================== */

/* Notificaciones de Compra (Social Proof Popup) */
.purchase-notification {
    position: fixed;
    bottom: 30px;
    left: -400px; /* Escondido por defecto */
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    width: 320px;
    z-index: 99;
    transition: left 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.purchase-notification.show {
    left: 20px;
}

.notification-avatar {
    width: 45px;
    height: 45px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.notification-body {
    flex-grow: 1;
}

.notification-text {
    font-size: 0.85rem;
    color: var(--dark);
    margin-bottom: 2px;
}

.notification-product {
    font-size: 0.85rem;
    color: var(--secondary);
    font-weight: 600;
}

.notification-time {
    font-size: 0.7rem;
    color: #95a5a6;
    display: block;
}

.notification-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #bdc3c7;
    cursor: pointer;
    line-height: 1;
}

.notification-close:hover {
    color: var(--dark);
}

/* Botón flotante móvil */
.sticky-mobile-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05);
    padding: 12px 20px;
    z-index: 98;
    display: none; /* Oculto en desktop */
}

.sticky-cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    gap: 15px;
}

.sticky-price-info {
    display: flex;
    flex-direction: column;
}

.sticky-price-label {
    font-size: 0.75rem;
    color: #7f8c8d;
    text-transform: uppercase;
}

.sticky-price-val {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--secondary);
}

.btn-pulse-sticky {
    padding: 12px 24px;
    font-size: 0.95rem;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    flex-grow: 1;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 119, 230, 0.2);
    animation: pulse 2s infinite ease-in-out;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    h1 {
        font-size: 2.1rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-benefits li {
        text-align: left;
    }

    .hero-image-wrapper {
        order: -1; /* Muestra la imagen arriba en móviles */
    }

    .product-main-img {
        width: 200px;
    }

    .badge-top-left {
        left: 5%;
    }

    .badge-bottom-right {
        right: 5%;
    }

    .features-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .features-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }

    h2.section-title {
        font-size: 1.6rem;
    }

    p.section-subtitle {
        font-size: 1rem;
        margin-bottom: 35px;
    }

    .announcement-bar {
        font-size: 0.8rem;
    }

    .header-badges {
        display: none; /* Simplifica cabecera en móviles */
    }

    .header-logo-img {
        height: 60px; /* Reducir en móviles para evitar cabecera muy alta */
    }

    .hero-section {
        padding: 40px 0;
    }

    .how-it-works, .features-section, .pricing-section, .order-section, .testimonials-section, .faq-section {
        padding: 50px 0;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .pricing-card.popular {
        transform: scale(1);
    }

    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }

    .order-form {
        padding: 25px 20px;
        gap: 15px;
    }

    .form-row {
        flex-direction: column;
        gap: 15px;
    }

    .form-group {
        flex: 1 1 100%;
    }

    /* Activa botón flotante en móviles */
    body {
        padding-bottom: 75px; /* Espacio para que el botón sticky no tape contenido */
    }

    .sticky-mobile-cta {
        display: block;
    }

    .purchase-notification {
        bottom: 85px; /* Sube la notificación para no chocar con el botón sticky */
        width: calc(100% - 40px);
        left: -100%;
    }

    .purchase-notification.show {
        left: 20px;
    }
}

/* ==========================================================================
   Mejoras Adicionales de UX y Diseño (Logo & Resumen)
   ========================================================================== */

/* Caja de Resumen de Pedido Dinámico */
.order-summary-box {
    background-color: var(--primary-light);
    border: 1.5px dashed rgba(56, 165, 255, 0.4);
    border-radius: var(--radius-sm);
    padding: 20px;
    margin: 10px 0;
    transition: var(--transition);
}

.order-summary-box h3 {
    font-size: 1.15rem;
    color: var(--secondary);
    margin-bottom: 12px;
    font-weight: 700;
    text-align: left;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: #4a5568;
}

.summary-divider {
    height: 1px;
    background-color: rgba(0, 44, 92, 0.1);
    margin: 12px 0;
}

.total-row {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0;
}

.total-row .summary-value {
    color: var(--secondary);
}

/* Botón Flotante de WhatsApp para Soporte */
.whatsapp-float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 97;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Adaptabilidad para el Botón Flotante en Móviles */
@media (max-width: 768px) {
    .whatsapp-float-btn {
        bottom: 85px; /* Altura libre por encima de la barra sticky */
        right: 20px;
        width: 52px;
        height: 52px;
        font-size: 1.6rem;
    }
}

/* Ajustes para Pantallas Muy Pequeñas (Móviles) */
@media (max-width: 576px) {
    .floating-badge {
        padding: 8px 12px;
        font-size: 0.75rem;
    }
    .badge-top-left {
        top: 10%;
        left: 2%;
    }
    .badge-bottom-right {
        bottom: 10%;
        right: 2%;
    }
    .badge-icon {
        font-size: 1.4rem;
    }
}
