:root {
    --bg-dark: #080808;
    --bg-card: #121212;
    --bg-card-hover: #1a1a1a;
    --primary-red: #e63946;
    --accent-red: #d90429;
    --accent-gold: #ffb703;
    --text-main: #ffffff;
    --text-muted: #999999;
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-red: rgba(230, 57, 70, 0.3);
    --shadow-red: rgba(230, 57, 70, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ==============================
   TOP BAR
============================== */
.top-bar {
    background: linear-gradient(90deg, #a50015, var(--accent-red), #a50015);
    text-align: center;
    padding: 11px 20px;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    position: sticky;
    top: 0;
    z-index: 1000;
}

#viewer-count {
    display: inline-block;
    font-weight: 800;
    transition: opacity 0.18s ease;
    min-width: 2.5ch;
    text-align: center;
}

/* ==============================
   MAIN CONTAINER
============================== */
.vsl-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 50px 20px;
}

/* ==============================
   HEADLINE SECTION
============================== */
.pre-headline {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 16px;
    text-align: center;
}

.headline-section {
    text-align: center;
    margin-bottom: 40px;
}

.main-headline {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
}

.highlight-red {
    color: var(--primary-red);
}

.highlight-gold {
    color: var(--accent-gold);
}

.sub-headline {
    font-size: 1.15rem;
    color: var(--text-muted);
    font-weight: 400;
    max-width: 780px;
    margin: 0 auto;
}

/* ==============================
   VIDEO SECTION
============================== */
.video-section {
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-glass);
    box-shadow: 0 0 60px rgba(0,0,0,0.6), 0 0 30px var(--shadow-red);
    overflow: hidden;
    margin-bottom: 20px;
}

.video-wrapper {
    overflow: hidden;
}

.video-controls-info {
    text-align: center;
    padding: 12px 20px;
    font-size: 0.82rem;
    color: var(--text-muted);
    background: #000;
    border-top: 1px solid var(--border-glass);
}

/* ==============================
   SMART AUTOPLAY OVERLAY
============================== */
.video-wrapper {
    position: relative;
    overflow: hidden;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    background-image: url('assets/preview.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.5s ease;
}

.video-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}

.overlay-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
    pointer-events: none;
}

.pulse-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.7);
    animation: speaker-pulse 1.8s infinite;
}

.pulse-icon svg {
    width: 40px;
    height: 40px;
    fill: white;
}

.overlay-text {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.3;
}

@keyframes speaker-pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 25px rgba(230, 57, 70, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(230, 57, 70, 0); }
}

@media (max-width: 480px) {
    .overlay-text { font-size: 0.95rem; }
    .pulse-icon { width: 60px; height: 60px; }
    .pulse-icon svg { width: 30px; height: 30px; }
}

/* ==============================
   OFFER SECTION
============================== */
.delayed-content {
    display: none;
    opacity: 0;
    transition: opacity 1.2s ease-in;
}

.urgency-bar {
    background: linear-gradient(90deg, transparent, var(--accent-red), transparent);
    text-align: center;
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 30px;
    border-radius: 8px;
}

.offer-section {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 40px 35px;
    margin-top: 60px;
    border: 1px solid var(--border-red);
    box-shadow: 0 0 40px var(--shadow-red);
}

.product-presentation {
    display: flex;
    flex-wrap: wrap;
    gap: 35px;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.main-mockup {
    max-width: 380px;
    width: 100%;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.5));
}

.details {
    flex: 1;
    min-width: 260px;
}

.product-list {
    list-style: none;
    text-align: left;
}

.product-list li {
    font-size: 1rem;
    margin-bottom: 14px;
    padding-left: 28px;
    position: relative;
    color: #ddd;
}

.product-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: 800;
    font-size: 1.1rem;
}

/* CTA BOX */
.cta-box {
    text-align: center;
    padding: 35px 25px;
    background: rgba(0,0,0,0.4);
    border-radius: 16px;
    border: 1px solid var(--border-glass);
}

.price-anchor {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--text-muted);
}

.old-price {
    text-decoration: line-through;
    color: var(--text-muted);
}

.price-label {
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.main-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-gold);
    margin-bottom: 4px;
}

.price-value {
    font-size: 2.6rem;
    line-height: 1;
}

.full-price {
    font-size: 1rem;
    margin-bottom: 28px;
    color: var(--text-muted);
}

.cta-button {
    display: block;
    width: 100%;
    max-width: 480px;
    margin: 0 auto 10px auto;
    background: linear-gradient(135deg, var(--primary-red), var(--accent-red));
    color: white;
    text-decoration: none;
    padding: 22px 30px;
    font-size: 1.25rem;
    font-weight: 800;
    border-radius: 50px;
    text-align: center;
    letter-spacing: 0.03em;
    box-shadow: 0 8px 30px rgba(230, 57, 70, 0.45);
    transition: transform 0.15s, box-shadow 0.15s;
    animation: pulse 2.5s ease-in-out infinite;
    cursor: pointer;
}

.cta-button:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 40px rgba(230, 57, 70, 0.65);
    animation: none;
}

.cta-micro {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 25px;
}

@keyframes pulse {
    0%   { transform: scale(1);    box-shadow: 0 8px 30px rgba(230,57,70,0.4); }
    50%  { transform: scale(1.02); box-shadow: 0 10px 40px rgba(230,57,70,0.7); }
    100% { transform: scale(1);    box-shadow: 0 8px 30px rgba(230,57,70,0.4); }
}

.security-info {
    display: flex;
    align-items: center;
    gap: 18px;
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    padding: 18px 22px;
    text-align: left;
    margin-bottom: 18px;
    border: 1px solid var(--border-glass);
}

.guarantee-seal {
    width: 90px;
    min-width: 90px;
}

.security-text strong {
    font-size: 1rem;
    display: block;
    margin-bottom: 4px;
}

.security-text p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.payment-methods span {
    border: 1px solid var(--border-glass);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
    background: rgba(255,255,255,0.03);
}

/* ==============================
   TESTIMONIALS
============================== */
.section-pre-title {
    text-align: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.testimonials-section {
    margin: 90px 0;
    text-align: center;
}

.section-title {
    font-size: 1.9rem;
    font-weight: 800;
    margin-bottom: 40px;
    line-height: 1.2;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
    text-align: left;
}

.testimonial-card {
    background: var(--bg-card);
    padding: 22px;
    border-radius: 14px;
    border: 1px solid var(--border-glass);
    transition: border-color 0.2s, transform 0.2s;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.2s;
}

.testimonial-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-card:hover {
    border-color: var(--border-red);
    transform: translateY(-3px);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.profile-pic {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-red);
    flex-shrink: 0;
}

.testimonial-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
}

.testimonial-info p {
    font-size: 0.78rem;
    color: var(--text-muted);
}

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

.testimonial-content {
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.55;
}

/* ==============================
   FAQ
============================== */
.faq-section {
    margin: 70px 0;
    text-align: center;
}

.faq-list {
    max-width: 780px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    background: var(--bg-card);
    margin-bottom: 12px;
    border-radius: 14px;
    border: 1px solid var(--border-glass);
    overflow: hidden;
    transition: border-color 0.2s;
}

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

.faq-question {
    padding: 20px 22px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent-gold);
    cursor: pointer;
    user-select: none;
}

.faq-answer {
    padding: 0 22px 20px;
    font-size: 0.92rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-glass);
    padding-top: 15px;
}

/* ==============================
   MID-PAGE CTA
============================== */
.mid-cta-section {
    text-align: center;
    padding: 50px 20px;
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    margin: 0 0 80px;
}

.mid-cta-pre {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 22px;
}

/* ==============================
   FINAL CTA
============================== */
.final-cta-section {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-red);
    margin: 60px 0;
}

.final-cta-section h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.final-cta-section p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 12px;
}

.final-cta {
    margin-top: 30px !important;
    max-width: 420px !important;
}

/* ==============================
   FOOTER
============================== */
.footer-legal {
    text-align: center;
    padding: 50px 20px;
    border-top: 1px solid var(--border-glass);
    font-size: 0.82rem;
    color: var(--text-muted);
}

.legal-links {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.legal-links a {
    color: var(--text-muted);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-links a:hover {
    color: var(--text-main);
}

.footer-disclaimer {
    max-width: 700px;
    margin: 0 auto 15px;
    font-size: 0.78rem;
    line-height: 1.5;
    opacity: 0.7;
}

/* ==============================
   MODAL
============================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    inset: 0;
    background-color: rgba(0,0,0,0.92);
    overflow-y: auto;
}

.modal-content {
    background-color: #1a1a1a;
    margin: 5% auto;
    padding: 40px;
    border-radius: 16px;
    max-width: 700px;
    width: 90%;
    position: relative;
    border: 1px solid var(--border-glass);
}

.modal-content h2 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.modal-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.close {
    position: absolute;
    right: 20px;
    top: 12px;
    color: var(--text-muted);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    color: var(--text-main);
}

/* ==============================
   RESPONSIVE
============================== */
@media (max-width: 768px) {
    .main-headline {
        font-size: 1.75rem;
    }
    .sub-headline {
        font-size: 1rem;
    }
    .price-value {
        font-size: 2rem;
    }
    .cta-button {
        font-size: 1rem;
        padding: 18px 20px;
    }
    .offer-section {
        padding: 25px 18px;
    }
    .security-info {
        flex-direction: column;
        text-align: center;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .final-cta-section h2 {
        font-size: 1.5rem;
    }
}
