html {
    scroll-behavior: smooth;
}
:root {
    --primary-purple: #7C4DCC;
    --light-lavender: #DCCDF7;
    --pure-white: #FFFFFF;
    --premium-red: #D62828;
    --elegant-gray: #5F5F5F;
    --security-green: #4CAF50;
    --text-light: #FFFFFF;
    --text-dark: #2D1B4E;
    --bg-marfil: #FAF7F5;
    --soft-gold: #D8B36A;
    --dark-purple: #4F2D8C;
    --cta-purple: #8A56E8;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.12);
    --shadow-lg: 0 16px 40px rgba(0,0,0,0.16);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--pure-white);
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
input, textarea, select {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

.watermark-wrapper {
    position: relative;
    display: block;
    width: 100%;
}
.watermark-wrapper::after {
    content: "Panty Seguro";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-30deg);
    font-size: clamp(2rem, 10vw, 5rem);
    color: rgba(124, 77, 204, 0.06);
    font-weight: 900;
    pointer-events: none;
    z-index: -1;
    white-space: nowrap;
    text-transform: uppercase;
}
.sales-image {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: -1px;
    pointer-events: none;
    -webkit-user-drag: none;
    user-drag: none;
    position: relative;
    z-index: 2;
}

#progress-container {
    position: fixed;
    top: 0;
    z-index: 1000;
    width: 100%;
    height: 4px;
    background: transparent;
}
#progress-bar {
    height: 4px;
    background: var(--primary-purple);
    width: 0%;
    transition: width 0.2s ease;
}

.announcement-bar {
    background: var(--dark-purple);
    color: white;
    text-align: center;
    padding: 12px;
    font-weight: bold;
    font-size: 13px;
    position: sticky;
    top: 0;
    z-index: 999;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.ticker-container {
    background: var(--dark-purple);
    color: #fff;
    overflow: hidden;
    white-space: nowrap;
    padding: 8px 0;
    border-bottom: 2px solid var(--light-lavender);
}
.ticker-text {
    display: inline-block;
    padding-left: 100%;
    animation: ticker 25s linear infinite;
    font-size: 0.85rem;
    font-weight: 300;
}
@keyframes ticker {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}

.viewer-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--elegant-gray);
    margin-bottom: 15px;
}
.viewer-dot {
    width: 8px;
    height: 8px;
    background-color: var(--premium-red);
    border-radius: 50%;
    animation: blink-live 1.5s infinite;
}
@keyframes blink-live {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.offer-selector {
    background: var(--pure-white);
    padding: 25px 15px;
    color: var(--text-dark);
    text-align: center;
    border-bottom: 1px solid var(--light-lavender);
}
.offer-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 5px;
    color: var(--primary-purple);
}
.delivery-estimate {
    background: var(--light-lavender);
    border: 1px solid var(--light-lavender);
    padding: 10px;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    color: var(--primary-purple);
}

.offer-cards { display: flex; flex-direction: column; gap: 15px; }
.offer-card {
    border: 2px solid #e2e8f0; border-radius: 15px; padding: 15px;
    position: relative; cursor: pointer; transition: all 0.3s;
    text-align: left; display: flex; align-items: center; gap: 15px;
    background: var(--pure-white);
}
.offer-card.popular { border-color: var(--primary-purple); background: var(--light-lavender); box-shadow: 0 10px 20px rgba(0, 87, 217, 0.15); transform: scale(1.02); }
.offer-img { width: 70px; height: 70px; object-fit: cover; border-radius: 10px; background: var(--light-lavender); }
.offer-info { flex-grow: 1; }
.badge {
    position: absolute; top: -12px; right: 15px; background: var(--premium-red);
    color: white; padding: 4px 14px; border-radius: 20px; font-size: 0.75rem; font-weight: 800;
    box-shadow: 0 4px 10px rgba(214, 40, 40, 0.3);
}
.offer-description {
    font-size: 0.75rem;
    color: var(--text-dark);
    text-align: left;
    line-height: 1.3;
}
.price-now { display: block; font-size: 1.4rem; font-weight: 800; color: var(--security-green); margin-top: 4px; }
.price-old { font-size: 0.9rem; text-decoration: line-through; color: var(--elegant-gray); }
.offer-save { font-size: 0.7rem; color: var(--security-green); margin-top: 4px; }
.offer-save b { color: var(--premium-red); }

.cta-slider-link {
    display: block; text-decoration: none; background: var(--security-green);
    border-radius: 50px; height: 60px; position: relative; overflow: hidden;
    box-shadow: 0 4px 20px rgba(46, 125, 50, 0.4); animation: pulse 2s infinite;
}
.cta-slide-track { display: flex; flex-direction: column; height: 100%; transition: transform 0.5s ease-in-out; }
.cta-slide-text { height: 60px; display: flex; align-items: center; justify-content: center; color: white; font-size: 1rem; font-weight: bold; text-transform: uppercase; flex-shrink: 0; }

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.6); }
    70% { box-shadow: 0 0 0 20px rgba(46, 125, 50, 0); }
    100% { box-shadow: 0 0 0 0 rgba(46, 125, 50, 0); }
}

.step-indicator { background: var(--light-lavender); border: 1px solid var(--light-lavender); padding: 10px; border-radius: 10px; margin-bottom: 20px; text-align: center; }
.step-bar { height: 8px; background: #e2e8f0; border-radius: 4px; margin-top: 8px; overflow: hidden; }
.step-progress { height: 100%; background: var(--security-green); width: 50%; transition: width 0.5s ease; }
.step-text { font-size: 0.85rem; font-weight: 700; color: var(--elegant-gray); }

.checkout-form-container { background: var(--pure-white); margin: 20px 15px; padding: 25px; border-radius: 20px; box-shadow: var(--shadow-lg); }
.checkout-title { color: var(--primary-purple); font-size: 1.5rem; font-weight: 800; text-align: center; }
.checkout-subtitle { color: var(--security-green); font-size: 0.9rem; text-align: center; margin-bottom: 20px; font-weight: 600; }
.form-group { margin-bottom: 15px; }
.form-row { 
    display: flex; 
    gap: 15px; 
    margin-bottom: 0; 
}
.form-row .form-group { 
    flex: 1; 
}

.form-group label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 5px; color: var(--elegant-gray); }
.form-group input, .form-group select { 
    width: 100%; 
    padding: 14px; 
    border: 2px solid #e2e8f0; 
    border-radius: 12px; 
    font-size: 1rem; 
    background-color: var(--pure-white);
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
}
.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%235F6368' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}
.form-group input:focus, .form-group select:focus { border-color: var(--primary-purple); outline: none; box-shadow: 0 0 0 4px rgba(0, 87, 217, 0.1); }
.form-group input:not(:placeholder-shown):valid { border-color: var(--security-green); }

.hidden-field { display: none; }

.error-shake {
    border-color: var(--premium-red) !important;
    animation: shake 0.4s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes shake {
    10%, 90% { transform: translate3d(-1px, 0, 0); }
    20%, 80% { transform: translate3d(2px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
    40%, 60% { transform: translate3d(4px, 0, 0); }
}

.btn-order {
    width: 100%; background: var(--security-green); color: white; border: none;
    padding: 18px; font-size: 1.2rem; font-weight: 800; border-radius: 12px;
    cursor: pointer; text-transform: uppercase; margin-top: 10px;
    box-shadow: 0 10px 20px rgba(46, 125, 50, 0.3); transition: transform 0.2s;
}
.btn-order.loading { position: relative; color: transparent !important; pointer-events: none; }
.btn-order.loading::after {
    content: ""; position: absolute; width: 24px; height: 24px; top: 50%; left: 50%;
    margin: -12px 0 0 -12px; border: 4px solid rgba(255,255,255,0.3);
    border-radius: 50%; border-top-color: #fff; animation: spin-loader 0.8s linear infinite;
}
@keyframes spin-loader { to { transform: rotate(360deg); } }

.order-warning { background: #fff1f2; border: 1px solid #fecdd3; color: #be123c; padding: 12px; border-radius: 10px; font-size: 0.8rem; margin-top: 15px; font-weight: 600; text-align: center; }

.sticky-buy-container { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%) translateY(150%); z-index: 1001; width: 90%; max-width: 400px; transition: transform 0.5s ease; }
.sticky-buy-container.show { transform: translateX(-50%) translateY(0); }
.btn-sticky {
    display: block; background: var(--security-green); color: white; text-align: center;
    padding: 15px; border-radius: 50px; text-decoration: none; font-weight: 800;
    font-size: 1.1rem; box-shadow: 0 10px 25px rgba(0,0,0,0.3); animation: wobble 3s infinite;
    position: relative; overflow: hidden;
}
.btn-sticky::after {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg); animation: glass-shimmer 4s infinite;
}
@keyframes glass-shimmer { 0% { left: -100%; } 25% { left: 100%; } 100% { left: 100%; } }
@keyframes wobble {
    0%, 90%, 100% { transform: translateX(0); }
    92% { transform: translateX(-5px) rotate(-1deg); }
    94% { transform: translateX(5px) rotate(1deg); }
    96% { transform: translateX(-3px) rotate(-1deg); }
    98% { transform: translateX(3px) rotate(1deg); }
}

.timer-box { background: var(--light-lavender); border: 2px dashed var(--primary-purple); margin: 20px; padding: 20px; border-radius: 15px; text-align: center; color: var(--primary-purple); }
#timer-display { font-family: monospace; font-size: 2.5rem; font-weight: 800; letter-spacing: 2px; color: var(--premium-red); text-shadow: 0 0 10px rgba(214, 40, 40, 0.3); }

.faq-section { padding: 40px 20px; background: var(--light-lavender); color: var(--text-dark); }
.faq-item { border-bottom: 1px solid #c5dff8; padding: 15px 0; cursor: pointer; }
.faq-question { display: flex; justify-content: space-between; align-items: center; font-weight: bold; color: var(--primary-purple); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; color: var(--elegant-gray); font-size: 0.9rem; }
.faq-item.active .faq-answer { max-height: 200px; padding-top: 10px; }
.faq-item.active .faq-icon { transform: rotate(180deg); }
.faq-icon { transition: transform 0.3s; }

.social-proof {
    position: fixed; bottom: 150px; left: 20px; background: white; padding: 10px 15px;
    border-radius: 14px; box-shadow: var(--shadow-md); display: flex;
    align-items: center; gap: 15px; z-index: 1000; transform: translateX(-150%);
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55); max-width: 280px;
}
.social-proof.show { transform: translateX(0); }
.social-proof .avatar { width: 44px; height: 44px; background: var(--primary-purple); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-weight: bold; }
.social-proof-text { font-size: 0.8rem; color: var(--elegant-gray); }
.social-proof-verified { color: var(--security-green); font-size: 0.7rem; font-weight: 700; display: flex; align-items: center; gap: 4px; }

.info-highlight { background: var(--light-lavender); color: var(--text-dark); padding: 40px 20px; text-align: center; }
.sales-container { width: 100%; max-width: 600px; margin: 0 auto 100px auto; background-color: var(--pure-white); }

.whatsapp-float {
    position: fixed; width: 60px; height: 60px; bottom: 20px; right: 20px;
    background-color: #25d366; color: #FFF; border-radius: 50px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 2px 2px 3px #999; z-index: 1010; transition: all 0.3s ease;
}
.whatsapp-float.shifted { bottom: 115px; }
.fade-in { animation: fadeIn 0.5s; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; } }

.product-header {
    background: var(--pure-white);
    padding: 20px 15px 10px;
    text-align: center;
}
.product-brand {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--elegant-gray);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}
.product-name {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-purple);
    line-height: 1.2;
    margin-bottom: 8px;
}
.product-tagline {
    font-size: 0.95rem;
    color: var(--elegant-gray);
    margin-bottom: 6px;
}
.product-badge-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
}
.product-badge {
    background: var(--light-lavender);
    color: var(--primary-purple);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}
.product-badge.green {
    background: #e8f5e9;
    color: var(--security-green);
}
.product-badge.red {
    background: #ffebee;
    color: var(--premium-red);
}

.content-section {
    padding: 30px 20px;
    background: var(--pure-white);
}
.content-section.alt {
    background: var(--light-lavender);
}
.section-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-purple);
    margin-bottom: 20px;
    text-align: center;
}
.section-subtitle {
    font-size: 0.85rem;
    color: var(--elegant-gray);
    text-align: center;
    margin-bottom: 20px;
}

.pain-grid, .benefit-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.pain-item {
    background: var(--pure-white);
    border-left: 4px solid var(--premium-red);
    padding: 14px 16px;
    border-radius: 0 10px 10px 0;
    box-shadow: var(--shadow-sm);
}
.pain-item h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--premium-red);
    margin-bottom: 4px;
}
.pain-item p, .pain-item em {
    font-size: 0.8rem;
    color: var(--elegant-gray);
}

.benefit-item {
    background: var(--pure-white);
    border-left: 4px solid var(--security-green);
    padding: 14px 16px;
    border-radius: 0 10px 10px 0;
    box-shadow: var(--shadow-sm);
}
.benefit-item h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--security-green);
    margin-bottom: 4px;
}
.benefit-item p {
    font-size: 0.8rem;
    color: var(--elegant-gray);
}

.angle-card {
    background: var(--pure-white);
    border: 1px solid var(--light-lavender);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
}
.angle-card h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 6px;
}
.angle-card .hook {
    font-size: 0.85rem;
    color: var(--elegant-gray);
    font-style: italic;
    margin-bottom: 6px;
    padding: 8px 12px;
    background: var(--light-lavender);
    border-radius: 8px;
}
.angle-card p {
    font-size: 0.8rem;
    color: var(--elegant-gray);
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.profile-card {
    background: var(--pure-white);
    border: 1px solid var(--light-lavender);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.profile-card h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-purple);
    margin-bottom: 8px;
}
.profile-card ul {
    list-style: none;
    font-size: 0.78rem;
    color: var(--elegant-gray);
}
.profile-card ul li {
    padding: 3px 0;
}
.profile-card ul li::before {
    content: "✓ ";
    color: var(--security-green);
    font-weight: 700;
}

@media (max-width: 480px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .profile-grid {
        grid-template-columns: 1fr;
    }
}
