:root {
    --primary: #ff2a6d;
    --secondary: #05d9e8;
    --accent: #d1f7ff;
    --bg-dark: #01012b;
    --bg-card: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-main: #ffffff;
    --text-muted: #b3b3b3;
    --success: #00ff9d;
    --neon-glow: rgba(255, 42, 109, 0.3);
    --warning: #ffbe0b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Parallax Background */
/* Interactive Background */
#interactive-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: radial-gradient(circle at center, rgb(10, 10, 40), var(--bg-dark));
    /* Deep space effect */
    pointer-events: none;
    /* Let clicks pass through */
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

h2 {
    font-size: 2rem;
    color: var(--secondary);
}

.text-gradient {
    background: linear-gradient(to right, var(--primary), var(--secondary), var(--primary));
    background-size: 200% auto;
    animation: gradientFlow 3s linear infinite;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

.highlight {
    color: var(--primary);
    font-weight: bold;
}

.text-center {
    text-align: center;
}

/* Single Slide Interactive Carousel */
.carousel-container {
    width: 100%;
    max-width: 400px;
    /* Optional: restrict max width for better aesthetic */
    margin: 0 auto;
    position: relative;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    /* Ensure nothing spills out */
}

.carousel-viewport {
    width: 100%;
    overflow: hidden;
    position: relative;
    background: rgba(0, 0, 0, 0.2);
    /* Aspect ratio for the viewport, adjust based on images */
    aspect-ratio: 4/5;
    cursor: grab;
    touch-action: pan-y;
    /* Allow vertical scroll, horizontal controlled by JS */
}

.carousel-viewport:active {
    cursor: grabbing;
}

.carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease-out;
    /* Smooth slide */
    will-change: transform;
}

.carousel-slide {
    min-width: 100%;
    /* Shows 1 image at a time */
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Fill the slide */
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
}

/* Drag Hint Overlay */
.drag-hint {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.5s ease;
    z-index: 10;
    white-space: nowrap;
    backdrop-filter: blur(4px);
}

.drag-hint.hidden {
    opacity: 0;
}

.swing {
    animation: swing-hand 1.5s infinite ease-in-out;
    display: inline-block;
}

@keyframes swing-hand {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(10px);
    }
}

/* Timer Styles */
.offer-timer-container {
    text-align: center;
    margin-bottom: 2rem;
}

.main-timer {
    display: inline-flex;
    gap: 15px;
    font-size: 3rem;
    /* Larger for better visibility */
    font-weight: 900;
    color: white;
    background: rgba(255, 255, 255, 0.08);
    padding: 1.5rem 3rem;
    border-radius: 16px;
    border: 2px solid var(--primary);
    /* Thicker border */
    box-shadow: 0 0 35px rgba(255, 42, 109, 0.4), inset 0 0 10px rgba(255, 42, 109, 0.1);
    /* Enhanced glow */
    text-shadow: 0 0 10px rgba(255, 42, 109, 0.5);
    transition: transform 0.3s;
}

.main-timer:hover {
    transform: scale(1.02);
}

/* Trust Seals Styles */
.trust-seals {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    text-align: center;
}

.seal-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #ccc;
    font-size: 0.9rem;
}

.seal-item i {
    font-size: 1.8rem;
    color: var(--secondary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    background: linear-gradient(45deg, var(--primary), #ff6595);
    color: white;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 42, 109, 0.4);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 42, 109, 0.6);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--secondary);
    box-shadow: 0 4px 15px rgba(5, 217, 232, 0.2);
}

.btn-secondary:hover {
    background: var(--secondary);
    color: var(--bg-dark);
}

.pulse {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 42, 109, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 42, 109, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 42, 109, 0);
    }
}

.btn-neon-pulse {
    animation: neon-pulse 1.5s infinite alternate;
    position: relative;
    z-index: 1;
}

@keyframes neon-pulse {
    0% {
        box-shadow: 0 0 5px var(--primary), 0 0 10px var(--primary);
        transform: scale(1);
    }

    100% {
        box-shadow: 0 0 10px var(--primary), 0 0 20px var(--primary);
        transform: scale(1.02);
    }
}

/* Glassmorphism & Cards */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: all 0.5s ease;
}

.glass:hover {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.glass.focus-active {
    border-color: var(--secondary);
    box-shadow: 0 0 15px var(--neon-glow), inset 0 0 5px rgba(255, 255, 255, 0.05);
}

/* Layout */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

section {
    padding: 4rem 0;
}

.grid {
    display: grid;
    gap: 2rem;
}

/* Scroll Animation */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    z-index: 2;
    max-width: 800px;
}

.custom-video-container {
    position: relative;
    width: 100%;
    max-width: 350px;
    margin: 2rem auto;
}

.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 9/16;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 0 30px rgba(5, 217, 232, 0.3);
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: filter 0.3s ease;
}

.video-wrapper.paused video {
    filter: blur(8px);
}

.video-wrapper video::-webkit-media-controls {
    display: none !important;
}

.video-wrapper video::-webkit-media-controls-enclosure {
    display: none !important;
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    z-index: 10;
    transition: opacity 0.4s ease, transform 0.3s ease;
    pointer-events: all;
}

.video-play-button.hidden {
    opacity: 0;
    pointer-events: none;
}

.video-play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.play-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(255, 42, 109, 0.6);
    transition: all 0.3s ease;
}

.play-icon i {
    font-size: 2rem;
    color: white;
    margin-left: 5px;
}

.play-text {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.play-text .desktop-text {
    display: none;
}

.play-text .mobile-text {
    display: inline;
}

/* Desktop text */
@media (min-width: 768px) {
    .play-text .desktop-text {
        display: inline;
    }

    .play-text .mobile-text {
        display: none;
    }

    .custom-video-container {
        max-width: 450px;
    }
}

.vsl-overlay-text {
    position: relative;
    text-align: center;
    background: transparent;
    color: var(--secondary);
    padding: 0;
    margin-bottom: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.vsl-overlay-text i {
    font-size: 0.75rem;
}

/* 3D Floating Elements */
.floating-element {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    z-index: 1;
    animation: float 6s ease-in-out infinite;
}

.float-1 {
    top: 10%;
    left: -10%;
    width: 200px;
    height: 200px;
    background: var(--primary);
    opacity: 0.3;
}

.float-2 {
    bottom: 10%;
    right: -5%;
    width: 250px;
    height: 250px;
    background: var(--secondary);
    opacity: 0.3;
    animation-delay: 2s;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Objection & Pain Points Cards */
.card-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.feature-card {
    padding: 2rem;
    transition: transform 0.3s;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

/* Pricing */
.price-card {
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.price-card.premium {
    border: 2px solid var(--primary);
    box-shadow: 0 0 20px rgba(255, 42, 109, 0.2);
}

.price-old {
    text-decoration: line-through;
    opacity: 0.6;
}

.price-new {
    font-size: 3rem;
    font-weight: 800;
    color: var(--success);
    margin: 1rem 0;
}

.badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary);
    color: white;
    padding: 2px 10px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Infinite Carousel */
.infinite-carousel-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
    cursor: grab;
    user-select: none;
}

.infinite-carousel-wrapper:active {
    cursor: grabbing;
}

.infinite-carousel-track {
    display: flex;
    gap: 1.5rem;
    width: fit-content;
    will-change: transform;
}

.infinite-carousel-track.animating {
    transition: transform 0.4s ease;
}

.infinite-carousel-track.no-transition {
    transition: none;
}

.carousel-card {
    min-width: 280px;
    max-width: 280px;
    padding: 1.5rem;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--secondary);
    border-radius: 16px;
    box-shadow: 0 0 15px rgba(5, 217, 232, 0.2);
    transition: all 0.3s ease;
    user-select: none;
    pointer-events: none;
}

.carousel-card:hover {
    border-color: var(--secondary);
    box-shadow: 0 0 25px rgba(5, 217, 232, 0.4);
    transform: translateY(-5px);
}

.carousel-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #e0e0e0;
    margin: 0 0 1rem 0;
    font-style: italic;
}

.testimonial-author {
    font-weight: bold;
    color: var(--secondary);
    font-size: 0.9rem;
    text-align: right;
    margin-top: auto;
}

.carousel-hint {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    opacity: 0.8;
    margin-top: 1rem;
    font-weight: 400;
}

/* Responsive breakpoints */
@media (max-width: 767px) {
    .carousel-card {
        min-width: 260px;
        max-width: 260px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .carousel-card {
        min-width: 300px;
        max-width: 300px;
    }
}

@media (min-width: 1024px) {
    .carousel-card {
        min-width: 320px;
        max-width: 320px;
    }
}

/* FAQ */
.faq-item {
    margin-bottom: 1rem;
}

.faq-question {
    padding: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.faq-answer {
    padding: 0 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1rem;
    max-height: 200px;
}

/* Popups & Overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    /* Darker for better focus */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.popup-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.popup {
    width: 90%;
    max-width: 450px;
    padding: 0;
    /* Content wrapper handles padding */
    text-align: center;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: #0a0a2e;
    /* DARK THEME: Deep Blue */
    border: 1px solid var(--primary);
    box-shadow: 0 0 30px rgba(255, 42, 109, 0.3);
    border-radius: 20px;
    color: white;
    /* overflow: hidden; Removed to allow icon overlap */
}

.popup-overlay.active .popup {
    transform: scale(1);
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    font-size: 1.5rem;
    color: white;
    z-index: 20;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.close-popup:hover {
    opacity: 1;
}

/* Custom Popup Styles based on Request */
.popup-header {
    background: linear-gradient(to bottom, rgba(255, 42, 109, 0.2), transparent);
    padding: 2rem 1rem 1rem;
    border-radius: 20px 20px 0 0;
    /* Match popup border radius manually */
}

.popup-icon-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), #b46bda);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -3.5rem auto 1rem;
    /* Overlap top */
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 0 20px rgba(255, 42, 109, 0.5);
}

.timer-box {
    background: rgba(255, 42, 109, 0.1);
    color: var(--primary);
    padding: 0.8rem;
    border-radius: 8px;
    margin: 1rem;
    border: 1px dashed var(--primary);
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.timer-digit {
    background: var(--bg-dark);
    color: white;
    padding: 5px 8px;
    border-radius: 4px;
    font-size: 1.2rem;
    min-width: 40px;
    border: 1px solid var(--glass-border);
}

.benefit-list {
    text-align: left;
    margin: 1rem 1.5rem;
    font-size: 0.9rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: #ddd;
}

.popup-price-box {
    background: rgba(255, 255, 255, 0.05);
    margin: 1rem;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

/* Sticky Mobile CTA */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(1, 1, 43, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--glass-border);
    padding: 1rem;
    z-index: 900;
    display: flex;
    justify-content: center;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.sticky-cta.visible {
    transform: translateY(0);
}

/* Social Proof Toast - Top Position */
.social-toast {
    position: fixed;
    top: 20px;
    /* Changed from bottom to top */
    left: 50%;
    transform: translateX(-50%) translateY(-150%);
    /* Start hidden above */
    background: rgba(5, 217, 232, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid var(--secondary);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 950;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: auto;
    white-space: nowrap;
}

.social-toast.visible {
    transform: translateX(-50%) translateY(0);
}

.toast-img {
    width: 30px;
    height: 30px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    font-weight: bold;
    font-size: 0.9rem;
}

/* Media Queries */
@media (min-width: 768px) {
    h1 {
        font-size: 3.5rem;
    }

    .grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sticky-cta {
        display: none;
        /* Often preferred not to have sticky CTA on desktop, or make it smaller */
    }
}