@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

:root {
    --primary-color: #c82a98;
    --secondary-color: #a530cc;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --card-bg: #fff;
    --shadow-color: rgba(0, 0, 0, 0.08);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

/* Global Styles */
section {
    padding: 70px 0;
}

@media (max-width: 768px) {
    section {
        padding: 40px 0;
    }
}

.container {
    max-width: 1140px;
}

.card {
    background-color: var(--card-bg);
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow-color);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 15px 30px;
    font-weight: 600;
    font-size: 1.15rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-image: linear-gradient(45deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    background-size: 200% auto;
}

.btn-primary:hover {
    background-position: right center;
    border-color: var(--secondary-color);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.btn-light {
    color: var(--primary-color);
    background-color: var(--card-bg);
    border-color: var(--card-bg);
    padding: 15px 30px;
    font-weight: 600;
    font-size: 1.15rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-light:hover {
    color: var(--secondary-color);
    background-color: #e2e6ea;
    border-color: #e2e6ea;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Attention Bar */
.attention-bar {
    background-color: #dc3545; /* A strong red for urgency */
    color: white;
    font-size: 1.1rem;
    z-index: 1000;
    position: sticky;
    top: 0;
}

/* Hero Section */
.hero-section {
    background: none; /* Gradient is on body */
    color: white;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.hero-section h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

.hero-section p.lead {
    font-size: 1.3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .hero-section p.lead {
        font-size: 1rem;
    }
    .btn-primary.btn-lg {
        width: 100%;
        font-size: 1rem;
        padding: 12px 20px;
    }
}

/* Primary CTA Section */
.primary-cta-section, .final-cta-section {
    background-color: var(--light-bg);
    color: var(--text-color);
}

.primary-cta-section h2, .final-cta-section h2 {
    color: var(--primary-color);
}

/* Product Intro */
.product-intro-section .list-unstyled li {
    position: relative;
    padding-left: 1.8em;
    margin-bottom: 0.8em;
}

.product-intro-section .list-unstyled li .fa-li {
    position: absolute;
    left: 0;
    top: 0.2em;
    font-size: 1.2em;
}

/* Feature Cards */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px var(--shadow-color);
}

.feature-card .fa-3x {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Video Section */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background-color: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Mid Page CTA */
.mid-page-cta {
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    box-shadow: 0 -4px 15px rgba(0,0,0,0.1);
}

.mid-page-cta h2, .mid-page-cta p {
    color: white;
}

.custom-btn-light {
    color: var(--primary-color) !important;
    background-color: white !important;
    border-color: white !important;
}

.custom-btn-light:hover {
    color: var(--secondary-color) !important;
    background-color: #f0f0f0 !important;
    border-color: #f0f0f0 !important;
}

/* Bonus Section */
.bonus-card {
    background-color: var(--card-bg);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.bonus-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-color);
}

.bonus-image-wrapper {
    flex-shrink: 0;
    width: 300px; /* Fixed width for image on desktop */
    height: auto; /* Adjust height based on content */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.bonus-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.bonus-badge {
    background-color: #28a745; /* Green for bonus */
    font-size: 0.9em;
}

.value-badge {
    background-color: var(--secondary-color);
    font-size: 1.1em;
}

.bonus-card .card-body {
    padding: 24px;
}

@media (max-width: 768px) {
    .bonus-card {
        flex-direction: column;
    }
    .bonus-image-wrapper {
        width: 100%;
        height: 200px; /* Fixed height for mobile image */
    }
    .bonus-image-wrapper img {
        height: 100%;
        width: auto;
    }
    .bonus-card .btn-primary {
        width: 100%;
        margin-top: 15px;
    }
    .value-badge {
        width: 100%;
        text-align: center;
    }
}

/* Disclaimer Section */
.disclaimer-section {
    background-color: var(--light-bg);
    padding-top: 40px;
    padding-bottom: 40px;
}

.disclaimer-card {
    border-color: rgba(var(--primary-color), 0.3) !important;
    background-color: var(--card-bg);
    color: #6c757d;
}

/* Footer Section */
.footer-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
}

.footer-section .social-icons a {
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.footer-section .social-icons a:hover {
    color: #e2e6ea;
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(var(--primary-color-rgb), 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(var(--primary-color-rgb), 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(var(--primary-color-rgb), 0);
    }
}

.pulse-effect {
    --primary-color-rgb: 200, 42, 152; /* Default for --primary-color */
    animation: pulse 2s infinite;
}

/* Update pulse-effect primary-color-rgb dynamically */
.custom-btn.pulse-effect {
    --primary-color-rgb: var(--primary-color-custom-rgb, 200, 42, 152); /* Default if not set by JS */
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-15px);
    }
    60% {
        transform: translateY(-8px);
    }
}

.bounce-effect {
    animation: bounce 2s infinite;
}

@keyframes wiggle {
    0%, 7% {
        transform: rotateZ(0);
    }
    15% {
        transform: rotateZ(-5deg);
    }
    20% {
        transform: rotateZ(5deg);
    }
    25% {
        transform: rotateZ(-5deg);
    }
    30% {
        transform: rotateZ(5deg);
    }
    35% {
        transform: rotateZ(-5deg);
    }
    40%, 100% {
        transform: rotateZ(0);
    }
}

.wiggle-effect:hover {
    animation: wiggle 1s infinite;
}

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

.shake-effect {
    animation: shake 0.8s cubic-bezier(.36,.07,.19,.97) both infinite;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    perspective: 1000px;
}

@media (min-width: 768px) {
    .custom-btn {
        min-width: 280px; /* Ensure buttons have consistent width */
    }
    .bonus-card .btn-primary {
        min-width: 200px;
    }
}