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

:root {
    /* Brand Colors - Refined */
    --primary: #107c41; /* Excel Green professional */
    --primary-dark: #0b5c30;
    --primary-light: #33a852;
    --primary-soft: rgba(16, 124, 65, 0.08);
    
    --secondary: #0f172a; /* Slate 900 */
    --secondary-light: #1e293b; /* Slate 800 */
    
    --accent: #f59e0b; /* Amber 500 */
    --danger: #ef4444; /* Red 500 */
    
    /* Backgrounds & Surfaces */
    --bg-body: #f8fafc;
    --bg-surface: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.85);
    
    /* Text */
    --text-heading: #0f172a;
    --text-body: #475569;
    --text-muted: #64748b;
    
    /* Decoration */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 20px rgba(16, 124, 65, 0.15);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Base --- */
body {
    font-family: var(--font-body);
    color: var(--text-body);
    background-color: var(--bg-body);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

a { text-decoration: none; }

/* --- Components: Navbar --- */
.navbar {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--secondary) !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    height: 36px;
    border-radius: var(--radius-sm);
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-heading) !important;
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-link:hover {
    background-color: var(--primary-soft);
    color: var(--primary) !important;
}

.btn-contact-nav {
    background-color: var(--secondary);
    color: white !important;
    padding: 0.6rem 1.25rem !important;
}

.btn-contact-nav:hover {
    background-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* --- Components: Hero Section --- */
.hero {
    padding: 180px 0 100px;
    background: 
        radial-gradient(circle at 10% 20%, rgba(16, 124, 65, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(15, 23, 42, 0.03) 0%, transparent 40%),
        var(--bg-surface);
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, #22c55e 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .lead {
    font-size: 1.25rem;
    color: var(--text-body);
    font-weight: 400;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

/* --- Components: Cards --- */
.feature-card {
    background: var(--bg-surface);
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.feature-card:hover::before {
    opacity: 1;
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: var(--primary-soft);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    transition: var(--transition);
}

.feature-card:hover .icon-wrapper {
    background: var(--primary);
    color: white;
    transform: scale(1.1) rotate(-5deg);
}

/* --- Components: Product Card --- */
.product-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.product-card.horizontal {
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

.product-card.horizontal .product-img-container {
    flex: 0 0 30%;
    max-width: 350px;
    aspect-ratio: auto;
    border-right: 1px solid rgba(0,0,0,0.05);
}

.product-card.horizontal .product-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.product-img-container {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.product-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-img-container img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    box-shadow: var(--shadow-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-content {
    padding: 2rem;
}

/* --- Components: Pricing --- */
.pricing-card {
    background: linear-gradient(165deg, #0f172a 0%, #1e293b 100%);
    color: white;
    border-radius: var(--radius-xl);
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    z-index: 10;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.6);
    border-color: rgba(16, 124, 65, 0.4);
}

.pricing-left {
    padding: 2rem 1.5rem;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pricing-right {
    padding: 2rem 1.5rem;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 992px) {
    .pricing-card {
        flex-direction: row;
        align-items: stretch;
        text-align: left !important;
    }
    
    .pricing-left {
        flex: 0 0 35%;
        padding: 2.5rem;
        border-right: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .pricing-right {
        flex: 1;
        padding: 2.5rem;
    }

    .pricing-card .price-box {
        justify-content: flex-start;
        margin: 1.5rem 0 0 0;
        background: transparent;
        border: none;
        padding: 0;
        backdrop-filter: none;
    }
    
    .pricing-card .list-unstyled {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
        margin-bottom: 2rem !important;
        max-width: none !important;
    }
    
    .pricing-actions {
        display: flex;
        gap: 1rem;
        margin-top: auto;
    }
    
    .pricing-actions .btn {
        width: 100%;
        margin-bottom: 0 !important;
    }
}

.price-box {
    margin: 1.5rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.price-large {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: white;
}

.pricing-card .section-tag {
    background: rgba(16, 124, 65, 0.2);
    color: #4ade80 !important;
    border: 1px solid rgba(16, 124, 65, 0.3);
    backdrop-filter: blur(4px);
    align-self: flex-start;
    margin-bottom: 0.75rem;
}

.pricing-card h3 { font-size: 1.75rem; margin-bottom: 0.5rem; }
.pricing-card p { font-size: 1rem; opacity: 0.8; }

.pricing-card .list-unstyled li {
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-card .list-unstyled li i { color: var(--accent) !important; font-size: 1.1em; }

.pricing-card .bg-light {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #cbd5e1 !important;
    margin-bottom: 2rem !important;
}

.pricing-card .bg-light i { color: var(--accent) !important; }
.pricing-card .bg-light p, .pricing-card .bg-light strong { color: #f8fafc !important; }

.pricing-card .btn-primary {
    background: var(--primary);
    border: none;
    padding: 1rem;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px -5px rgba(16, 124, 65, 0.4);
}

.pricing-card .btn-primary:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-2px);
}

.pricing-card .btn-outline-light {
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.8);
    padding: 1rem;
}

.pricing-card .btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
    color: white;
    border-color: white;
}

/* --- Components: Buttons --- */
.btn {
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    border: 1px solid var(--primary);
    box-shadow: 0 4px 6px -1px rgba(16, 124, 65, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(16, 124, 65, 0.4);
}

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

.btn-outline-primary:hover {
    background-color: var(--primary);
    color: white;
}

.btn-outline-light:hover {
    background-color: white;
    color: var(--secondary);
}

/* --- Components: Section Tags --- */
.section-tag {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    background: var(--primary-soft);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

/* --- Components: Testimonials --- */
.testimonial-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1px solid rgba(0,0,0,0.03);
    height: 100%;
    position: relative;
}

.rating-stars {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

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

/* --- Components: Countdown --- */
.countdown-container h5 {
    color: var(--danger);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.time-box {
    background: var(--bg-surface);
    color: var(--danger);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(239, 68, 68, 0.15);
    min-width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.time-box span {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.time-box small {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 4px;
}

/* New: Large Feature Icon */
.feature-icon {
    width: 70px; /* Aumentar el tamaño del contenedor */
    height: 70px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 2.2rem; /* Aumentar el tamaño del icono dentro del contenedor */
}


/* --- Footer --- */
.footer {
    background-color: var(--secondary);
    color: #94a3b8;
    padding: 60px 0 30px;
    font-size: 0.95rem;
}

.footer-link {
    color: #cbd5e1;
    transition: var(--transition);
}

.footer-link:hover {
    color: white;
    padding-left: 5px;
}

/* --- Modal --- */
.modal-content {
    border-radius: var(--radius-xl);
    border: none;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-header {
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 1.5rem 2rem;
    background: var(--bg-surface);
}

.hotmart-iframe {
    width: 100%;
    height: 650px;
    border: none;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

/* --- Utilities --- */
.img-fluid {
    max-width: 100%;
    height: auto;
}

.rounded-4 { border-radius: var(--radius-lg) !important; }
.rounded-5 { border-radius: var(--radius-xl) !important; }

/* Responsive adjustments */
@media (max-width: 991px) {
    .hero { padding: 140px 0 60px; text-align: center; }
    .hero h1 { font-size: 2.75rem; }
    .hero .lead { margin: 0 auto 2rem; }
    .product-card.horizontal { flex-direction: column; }
}

@media (max-width: 576px) {
    .product-content {
        padding: 1.5rem !important;
        height: auto !important; /* Asegura que la tarjeta crezca según el contenido */
    }

    /* Forzamos que el contenedor de botones se comporte como columna y sea visible */
    .product-content .d-flex.gap-3 {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
        margin-top: 1rem !important;
    }
    
    .product-content .btn,
    .hero .btn {
        display: block !important; /* Asegura que el botón se renderice como bloque */
        width: 100% !important;
        text-align: center;
        margin: 0 !important;
        padding: 0.8rem 1rem !important;
        font-size: 0.95rem;
        white-space: normal;
    }

    .hero .d-flex.gap-3 {
        flex-direction: column;
        gap: 0.75rem !important;
    }

    .hero h1 { font-size: 2.25rem; }
    
    .time-box {
        min-width: 70px;
        padding: 0.5rem;
    }
    
    .time-box span { font-size: 1.5rem; }
}

/* --- Floating WhatsApp --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    animation: pulse-whatsapp 2s infinite;
    text-decoration: none;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    color: #FFF;
    transform: scale(1.1);
}

@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* --- Sticky Buy Bar (Mobile Only) --- */
.sticky-buy-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.1);
    padding: 12px 20px;
    display: none; /* Hidden on desktop */
    z-index: 999;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(0,0,0,0.05);
}

@media (max-width: 768px) {
    .sticky-buy-bar {
        display: flex;
    }
    .whatsapp-float {
        bottom: 90px; /* Lift to not cover sticky bar */
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 28px;
    }
}

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

.sticky-buy-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 4px;
}

.sticky-buy-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
}