:root {
    --primary-color: #f2429a; 
    --primary-dark: #c62575;
    --dark-bg: #1a1a1a;
    --light-bg: #ffffff;
    --text-light: #ffffff;
    --text-dark: #333333;
    --yellow: #ffe500;
    --font-main: 'Montserrat', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.5;
    overflow-x: hidden;
    background-color: var(--light-bg);
}

/* Mobile-first approach for long scrolling landing pages */
.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
    position: relative;
}

.relative-z {
    position: relative;
    z-index: 2;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.1;
}

.section-title {
    font-size: 2.8rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.section-title.dark-text { color: var(--primary-dark); }
.section-title.white-text { color: white; }
.section-title.dark-pink-text { color: var(--primary-dark); }
.section-subtitle.white-text { color: white; font-size: 1.2rem; }

.large-title { font-size: 3.5rem; }

.outline-text {
    color: transparent;
    -webkit-text-stroke: 1.5px white;
    text-shadow: none;
}

/* Banners */
.yellow-banner {
    background-color: var(--yellow);
    color: black;
    text-align: center;
    padding: 15px 10px;
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    z-index: 10;
}

/* Buttons */
.btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 18px 35px;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: 0 10px 20px rgba(242, 66, 154, 0.4);
    transition: all 0.3s ease;
    border: 3px solid white;
}

.btn:hover {
    transform: translateY(-3px);
    background: var(--primary-dark);
}

.btn.large-btn {
    width: 100%;
    max-width: 400px;
}

/* Backgrounds */
.pink-bg { background-color: var(--primary-color); }
.dark-pink-bg { background-color: var(--primary-dark); }
.white-bg { background-color: white; }

.pink-bg-pattern {
    background-color: var(--primary-color);
    background-image: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.15) 0%, transparent 50%),
                      radial-gradient(circle at 80% 70%, rgba(255,255,255,0.15) 0%, transparent 50%);
}

.pink-bg-bubbles {
    background-color: var(--primary-color);
    background-image: radial-gradient(circle at 10% 20%, rgba(255,255,255,0.2) 20px, transparent 21px),
                      radial-gradient(circle at 90% 80%, rgba(255,255,255,0.2) 40px, transparent 41px),
                      radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1) 60px, transparent 61px);
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.floating { animation: float 4s ease-in-out infinite; }
.pulse { animation: pulse 2s infinite; }

.slide-up { opacity: 0; transform: translateY(30px); transition: all 0.6s ease; }
.slide-right { opacity: 0; transform: translateX(-30px); transition: all 0.6s ease; }
.slide-left { opacity: 0; transform: translateX(30px); transition: all 0.6s ease; }
.fade-in { opacity: 0; transition: all 0.8s ease; }

.visible { opacity: 1 !important; transform: translate(0, 0) !important; }

/* --- Sections Styling --- */

/* Hero */
.hero-section {
    background: #111 url('assets/hero-bg.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    position: relative;
    padding-top: 40px;
    min-height: 80vh; /* Para asegurar que la imagen de fondo se vea bien */
}
.hero-bg-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.4); /* Un fondo oscuro semitransparente para que el texto resalte */
}
.hero-title {
    font-size: 2.8rem;
    margin: 20px 0;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}
.hero-logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.5);
}
.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 30px;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}
.product-showcase { position: relative; margin: 40px 0; display: flex; justify-content: center; }
.product-image { width: 280px; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.6)); position: relative; z-index: 2; }
.pedestal {
    position: absolute;
    bottom: -20px;
    width: 200px;
    height: 40px;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.4) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

/* Before/After */
.before-after-section { padding-bottom: 20px; }
.comparison-images {
    display: flex;
    justify-content: center;
    border: 5px solid white;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}
.comparison-images img { width: 50%; object-fit: cover; }
.dual-products { display: flex; justify-content: center; gap: 10px; margin-bottom: 30px; }
.prod-small { width: 140px; filter: drop-shadow(0 10px 15px rgba(0,0,0,0.3)); }
.dark-prod { filter: brightness(0.15) drop-shadow(0 10px 15px rgba(0,0,0,0.3)); }

/* Benefits */
.benefits-list.modern { list-style: none; text-align: left; margin-bottom: 30px; }
.benefits-list.modern li {
    background: white;
    color: var(--primary-dark);
    padding: 15px 20px;
    border-radius: 30px;
    margin-bottom: 15px;
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.check-icon {
    background: var(--primary-color);
    color: white;
    width: 24px; height: 24px; min-width: 24px;
    border-radius: 50%;
    display: inline-flex; justify-content: center; align-items: center;
    margin-right: 15px; font-size: 0.9rem;
}
.benefits-image-wrapper img {
    width: 100%;
    max-width: 350px;
    border-radius: 20px;
    border: 5px solid white;
}

/* Testimonials */
.testimonials-column { display: flex; flex-direction: column; gap: 50px; align-items: center; margin-top: 50px; }
.testimonial-card.modern {
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 20px;
    padding: 50px 20px 20px;
    color: white;
    position: relative;
    width: 100%;
}
.author-img-top {
    width: 80px; height: 80px;
    border-radius: 50%;
    border: 4px solid white;
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    object-fit: cover;
}
.stars { color: var(--yellow); font-size: 1.8rem; margin-bottom: 10px; }
.testimonial-text { font-style: italic; margin-bottom: 15px; font-size: 1.1rem; }
.author-name { font-weight: 900; font-size: 1.2rem; }

/* Formula */
.formula-title { color: white; margin-bottom: 40px; font-size: 1.5rem; }
.formula-title .big-text { font-size: 3.5rem; color: var(--yellow); display: block; line-height: 1; }
.ingredients-badges {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.badge-ing {
    background: white;
    color: var(--primary-dark);
    padding: 8px 15px;
    border-radius: 30px;
    font-weight: 900;
    font-size: 0.9rem;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}
.info-boxes { display: flex; flex-direction: column; gap: 20px; }
.info-box {
    background: white;
    color: var(--text-dark);
    padding: 25px;
    border-radius: 15px;
    text-align: left;
    border-left: 8px solid var(--primary-dark);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.info-box h4 { color: var(--primary-dark); margin-bottom: 10px; font-size: 1.2rem; }

/* Middle CTA */
.pastel-pink-bg-bubbles {
    background: linear-gradient(135deg, #ffd1dc 0%, #ff85c2 100%);
    position: relative;
    overflow: hidden;
}
.pastel-pink-bg-bubbles::before,
.pastel-pink-bg-bubbles::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.9), rgba(255,255,255,0.2) 60%, transparent 70%);
    box-shadow: inset -10px -10px 20px rgba(255,20,147,0.2), 10px 10px 20px rgba(0,0,0,0.1);
    z-index: 1;
}
.pastel-pink-bg-bubbles::before {
    width: 250px; height: 250px;
    top: -50px; left: -80px;
}
.pastel-pink-bg-bubbles::after {
    width: 180px; height: 180px;
    top: 50%; right: -40px;
}

.badge-seal {
    position: absolute;
    bottom: -30px; 
    left: 50%;
    margin-left: -65px;
    background: var(--yellow);
    color: black;
    width: 130px; height: 130px;
    border-radius: 50%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    box-shadow: 0 10px 15px rgba(0,0,0,0.2);
    border: 4px dashed white;
    z-index: 5;
    text-align: center;
}
.badge-seal .badge-top { font-size: 0.7rem; font-weight: 800; margin-bottom: 2px; }
.badge-seal .badge-price { font-size: 1.8rem; font-weight: 900; margin-bottom: 0px; line-height: 1; }
.badge-seal .badge-bottom { font-size: 0.9rem; font-weight: 800; margin-top: 2px; }

.cta-container { padding: 40px 20px; background: var(--primary-dark); text-align: center; }

/* Trust Grid */
.grid-2x2 { display: grid; grid-template-columns: 1fr 1fr; grid-gap: 5px; }
.grid-item {
    position: relative;
    height: 220px;
    background-size: cover;
    background-position: center;
    display: flex; align-items: center; justify-content: center;
}
.grid-item.full-width { grid-column: 1 / -1; height: 280px; }
.bw-bg { filter: grayscale(100%); }
.grid-overlay {
    background: rgba(0,0,0,0.6);
    color: white;
    width: 100%; height: 100%;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    font-weight: 900; font-size: 1.6rem;
    text-align: center; padding: 20px;
}
.highlight { color: var(--primary-color); font-size: 2.8rem; display: block; margin: 10px 0; }

/* FAQ */
.faq-product { width: 180px; margin: 20px 0 40px; }
.accordion { text-align: left; }
.accordion-item {
    margin-bottom: 25px;
    border: none;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.accordion-header {
    background: #222;
    color: white;
    padding: 20px 40px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    position: relative;
    text-align: center;
}
.accordion-header::after { 
    content: '+'; 
    font-size: 1.8rem; 
    color: white; 
    position: absolute;
    right: 20px;
}
.accordion-header.active::after { content: '-'; }
.accordion-content {
    background: white;
    max-height: 0;
    padding: 0 20px;
    transition: all 0.3s ease;
    overflow: hidden;
    color: #222;
    text-align: center;
    font-weight: 700;
}

/* Final CTA */
.final-cta-section { position: relative; }
.final-cta-section .huge-text { font-size: 4rem; display: block; margin-top: 15px; color: var(--yellow); }
.final-subtitle { color: white; font-weight: 800; font-size: 1.4rem; margin: 30px 0 40px; line-height: 1.2; }
.bottom-banner { position: absolute; bottom: 0; left: 0; right: 0; }

/* Order Form */
.order-section { padding: 60px 0; background: #fdf0f5; }
.form-container { max-width: 600px; background: white; padding: 40px 30px; border-radius: 20px; box-shadow: 0 15px 35px rgba(0,0,0,0.1); border-top: 8px solid var(--primary-color); }
.form-header { margin-bottom: 30px; text-align: center; }
.form-header h2 { color: var(--primary-dark); font-size: 2rem; margin-bottom: 5px; }
.form-header h3 { color: #555; font-size: 1.2rem; margin-bottom: 15px; }
.order-form { text-align: left; }
fieldset { border: 2px solid #eee; border-radius: 10px; padding: 20px; margin-bottom: 25px; }
fieldset.no-border { border: none; padding: 0; }
legend { font-weight: 900; color: var(--primary-dark); padding: 0 10px; font-size: 1.2rem; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; font-weight: 800; margin-bottom: 8px; font-size: 0.95rem; }
.form-row { display: flex; gap: 15px; flex-wrap: wrap; }
.form-group.half { flex: 1; min-width: 150px; }
input[type="text"], input[type="tel"], input[type="email"], textarea { width: 100%; padding: 12px 15px; border: 2px solid #ddd; border-radius: 8px; font-family: inherit; font-size: 1rem; transition: border-color 0.3s; }
input:focus, textarea:focus { border-color: var(--primary-color); outline: none; }
.readonly-field { background: #f5f5f5; padding: 12px 15px; border-radius: 8px; font-weight: 800; color: #333; border: 2px solid #eee; }
.radio-group { display: flex; flex-wrap: wrap; gap: 15px; }
.radio-group.vertical { flex-direction: column; gap: 10px; }
.radio-group label { display: flex; align-items: center; gap: 8px; font-weight: 600; cursor: pointer; flex-direction: row; }
.checkbox-group label { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; cursor: pointer; line-height: 1.4; flex-direction: row; }
.checkbox-group input { margin-top: 4px; }
.submit-btn { margin-top: 10px; border: none; cursor: pointer; box-sizing: border-box; }

/* Success Message */
.success-message { text-align: center; padding: 40px 20px; background: #e8f5e9; border: 2px solid #4caf50; border-radius: 15px; color: #2e7d32; }
.success-message h3 { font-size: 2rem; margin-bottom: 15px; }
.success-message p { font-size: 1.1rem; font-weight: 600; }

/* Web Chat Widget */
.chat-widget-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
    font-family: 'Montserrat', sans-serif;
}
.chat-toggle-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 20, 147, 0.4);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}
.chat-toggle-btn:hover { transform: scale(1.1); }

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: opacity 0.3s, transform 0.3s;
    transform-origin: bottom right;
}
.chat-window.hidden {
    opacity: 0;
    transform: scale(0.5);
    pointer-events: none;
}
.chat-header {
    background: var(--primary-dark);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.chat-header-info { display: flex; align-items: center; gap: 10px; }
.chat-avatar { width: 40px; height: 40px; background: var(--yellow); color: black; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; }
.status-online { font-size: 0.8rem; color: #a5d6a7; display: flex; align-items: center; gap: 5px; }
.status-online::before { content: ''; width: 8px; height: 8px; background: #4caf50; border-radius: 50%; display: inline-block; }
.chat-close-btn { background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #fdf0f5;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.message { max-width: 80%; padding: 12px 15px; border-radius: 15px; font-size: 0.95rem; line-height: 1.4; position: relative; }
.msg-bot { background: white; color: #333; align-self: flex-start; border-bottom-left-radius: 0; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.msg-user { background: var(--primary-color); color: white; align-self: flex-end; border-bottom-right-radius: 0; box-shadow: 0 2px 5px rgba(255,20,147,0.2); }
.msg-typing { background: transparent; padding: 0; }

.chat-input-container {
    padding: 15px;
    background: white;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
}
.chat-input-container input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
    font-size: 0.95rem;
}
.chat-input-container input:focus { border-color: var(--primary-color); }
.chat-send-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}

.whatsapp-redirect-btn {
    background: #25d366;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
    box-shadow: 0 4px 10px rgba(37,211,102,0.3);
}

/* Responsive adjustments for larger screens (although mobile layout is priority) */
@media (min-width: 768px) {
    .container { max-width: 800px; }
    .benefits-grid { display: flex; align-items: center; gap: 40px; }
    .benefits-list.modern { flex: 1; }
    .benefits-image-wrapper { flex: 1; }
    .info-boxes { flex-direction: row; }
    .testimonials-column { flex-direction: row; }
}
