@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f8f9fa; /* Bootstrap light gray */
    color: #212529;
}

.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-danger {
    background-color: #d9534f;
    border-color: #d43f3a;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-danger:hover {
    background-color: #c9302c;
    border-color: #ac2925;
    transform: translateY(-2px);
}

.highlight-survival {
    color: #ffc107; /* Bootstrap's warning yellow */
    text-shadow: 0 0 8px rgba(255, 193, 7, 0.4);
}

/* --- Hero Benefits --- */
.hero-benefits {
    padding-top: 1rem;
}
.benefit-item {
    background-color: #a12c28; /* Darker red */
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: dopamine-pop-in 0.5s ease-out forwards;
    opacity: 0;
}
.benefit-item:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(217, 83, 79, 0.5);
}
.benefit-item i {
    font-size: 1.3rem;
    color: #90EE90; /* Light green */
}

@keyframes dopamine-pop-in {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.benefit-item:nth-child(1) { animation-delay: 0.2s; }
.benefit-item:nth-child(2) { animation-delay: 0.4s; }
.benefit-item:nth-child(3) { animation-delay: 0.6s; }
.benefit-item:nth-child(4) { animation-delay: 0.8s; }
.benefit-item:nth-child(5) { animation-delay: 1.0s; }

/* --- End Hero Benefits --- */

/* --- Hero Video Cards --- */
.hero-video-card {
    position: relative;
    width: 130px; /* Base width for mobile */
    aspect-ratio: 9 / 18; /* Taller aspect ratio */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    border: 3px solid rgba(255, 255, 255, 0.5);
    transform: translateY(0); /* initial state for animation */
    animation: soft-bob 5s ease-in-out infinite;
}

.hero-video-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255, 255, 255, 0.85);
    font-size: 2.5rem;
    text-shadow: 0 0 10px rgba(0,0,0,0.6);
    pointer-events: none;
}

@keyframes soft-bob {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
    100% {
        transform: translateY(0);
    }
}

.hero-video-card:nth-child(2) {
    animation-delay: -1.5s;
    transform: translateY(20px); /* Staggered position */
}

.hero-video-card:nth-child(3) {
    animation-delay: -3s;
}

@media (min-width: 768px) {
    .hero-video-card {
        width: 160px; /* Slightly larger on tablets and desktops */
    }
    .play-icon {
        font-size: 3rem;
    }
}

/* --- End Hero Video Cards --- */

.detonating-text {
    color: #d9534f;
    font-size: 1.2em;
    display: inline-block;
    transform: scale(1.05);
}

.niche-image {
    object-fit: cover;
    height: 300px;
    width: 100%;
}

.text-success {
    color: #198754 !important; /* A slightly darker green for better contrast on light bg */
}

.bg-black {
    background-color: #000 !important;
}

.bg-white {
    background-color: #fff !important;
}

.card.border-success {
    border-width: 2px;
}

/* --- New Carousel Styles --- */
.scrolling-wrapper {
    overflow: hidden;
    width: 100%;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.scrolling-inner {
    display: flex;
    animation: scroll 30s linear infinite;
}

.product-card {
    flex-shrink: 0;
    width: 250px;
    margin: 0 15px;
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    position: relative;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.product-card-static {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    position: relative;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    width: 100%;
}

.product-card img, .product-card-static img {
    height: 150px;
    object-fit: cover;
}

.product-card img {
    height: 200px;
    object-fit: cover;
}

.commission-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.9rem;
    font-weight: bold;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
/* --- End New Carousel Styles --- */

/* --- Countdown Timer Styles --- */
.text-warning {
    color: #ffc107 !important;
}

.border-warning {
    border-color: #ffc107 !important;
    border-width: 2px !important;
}

.timer-box {
    padding: 0 1rem;
}
/* --- End Countdown Timer Styles --- */

/* --- Problems Section Styles --- */
.problems-section-bg {
    background: linear-gradient(135deg, #4d0000, #3d1a58);
    overflow: hidden; /* To contain the scattered icons */
}

.problems-box {
    background-color: #ffffff;
    border-radius: 15px;
    border: 3px solid #ff0000;
    box-shadow: 0 0 15px #ff0000, 0 0 30px #ff0000, inset 0 0 10px #ff0000;
    padding: 2rem;
    position: relative;
    margin-top: 40px;
}

.problems-box-icon {
    position: absolute;
    top: -40px; /* Half of its height to sit on the line */
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background-color: #ff0000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #fff;
    box-shadow: 0 0 15px #ff0000;
}

.problems-box-icon .bi-x-lg {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffffff;
}

.problems-box-content {
    margin-top: 2rem; /* Space below the large icon */
}

.scatter-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
    z-index: 0;
}

.scatter-icon.icon-1 { top: 10%; left: 5%; }
.scatter-icon.icon-2 { top: 25%; right: 10%; }
.scatter-icon.icon-3 { top: 50%; left: 15%; }
.scatter-icon.icon-4 { top: 75%; right: 5%; }
.scatter-icon.icon-5 { bottom: 5%; left: 30%; }
.scatter-icon.icon-6 { top: 8%; right: 25%; }

.scatter-icon.icon-5 { display: none; }

@keyframes bobbing {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}

.module-icon-animated {
  animation: bobbing 3s ease-in-out infinite;
}

/* --- Video Placeholders & Floating Emojis --- */
.video-placeholder-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
}
.video-placeholder-container img {
    transition: transform 0.3s ease;
}
.video-placeholder-container:hover img {
    transform: scale(1.03);
}
.play-icon-large {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
    pointer-events: none;
    transition: color 0.3s ease, transform 0.3s ease;
}
.video-placeholder-container:hover .play-icon-large {
    color: #ffc107;
    transform: translate(-50%, -50%) scale(1.1);
}

.floating-emoji {
    position: absolute;
    font-size: 2.5rem;
    animation: float-around 8s ease-in-out infinite;
    opacity: 0;
}
.floating-emoji.emoji-1 { top: 15%; left: 10%; animation-delay: 0s; }
.floating-emoji.emoji-2 { top: 60%; left: 5%; animation-delay: -2s; font-size: 3rem; }
.floating-emoji.emoji-3 { top: 20%; right: 8%; animation-delay: -4s; font-size: 2rem; }
.floating-emoji.emoji-4 { top: 70%; right: 15%; animation-delay: -6s; }

@keyframes float-around {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0; }
    25% { transform: translateY(-20px) translateX(10px) rotate(-15deg); opacity: 0.8; }
    50% { transform: translateY(0) rotate(0deg); opacity: 1; }
    75% { transform: translateY(20px) translateX(-10px) rotate(15deg); opacity: 0.8; }
}

/* --- Module 1 Demo Videos --- */
.module-videos-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    gap: 1.5rem;
    height: 100%;
    min-height: 500px; /* Ensure vertical space */
}

.module-video-card {
    position: relative;
    width: 130px;
    aspect-ratio: 9 / 16;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border: 2px solid rgba(255, 255, 255, 0.7);
    animation: soft-bob 6s ease-in-out infinite;
}

.module-video-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.module-video-card .play-icon {
    font-size: 1.8rem;
}

.module-video-card:nth-child(2) {
    animation-delay: -2s;
    align-self: flex-end; /* Stagger alignment */
}

.module-video-card:nth-child(3) {
    animation-delay: -4s;
    align-self: flex-start; /* Stagger alignment */
}
/* --- End Module 1 Demo Videos --- */

/* --- Module Transition Styles --- */
.transition-box {
    background-color: #f8f9fa;
    border-left: 5px solid #198754;
    text-align: center;
}

.transition-arrow {
    animation: bounce-arrow 2s infinite;
}

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

@media (min-width: 992px) {
    .transition-box {
        text-align: left;
    }
}
/* --- End Module Transition Styles --- */

/* --- End Problems Section Styles --- */

/* --- Introducing Section --- */
.introducing-section {
    background: linear-gradient(-45deg, #f8f9fa, #e6f9e6, #f8f9fa, #d1f2d1, #f8f9fa);
    background-size: 400% 400%;
    animation: gradient-animation 15s ease infinite;
    position: relative;
    overflow: hidden;
}

@keyframes gradient-animation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.section-title-green {
    color: #145a32;
}

.bg-secondary-subtle {
    background-color: #343a40 !important;
}

.text-black {
    color: #f8f9fa !important;
}

/* --- Final CTA Section --- */
.cta-bundle-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
    margin-top: -2rem !important;
}

.cta-bundle-image-main {
    width: 70%;
    max-width: 450px;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.cta-bundle-image-side {
    position: absolute;
    width: 60%;
    max-width: 380px;
    filter: blur(5px);
    opacity: 0.7;
    z-index: 1;
}

.cta-bundle-image-left {
    left: 5%;
    transform: translateX(10%) scale(0.9);
}

.cta-bundle-image-right {
    right: 5%;
    transform: translateX(-10%) scale(0.9);
}

.cta-bundle-animated {
    animation: cta-bobbing 4s ease-in-out infinite;
}

@keyframes cta-bobbing {
  0% {
    transform: translateY(0) scale(0.9);
  }
  50% {
    transform: translateY(-15px) scale(0.9);
  }
  100% {
    transform: translateY(0) scale(0.9);
  }
}

/* --- Final CTA Neon Box --- */
.neon-border-green {
    border: 1px solid rgba(40, 167, 69, 0.7);
    box-shadow: 0 0 8px rgba(40, 167, 69, 0.6), 0 0 16px rgba(40, 167, 69, 0.5), inset 0 0 8px rgba(40, 167, 69, 0.3);
}

/* --- Simplification Cycle Section --- */
.simplification-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem 0;
    min-height: 450px;
}

.automated-cycle-container {
    background: linear-gradient(160deg, #ffffff 50%, #f0fff4 100%) !important;
}

.automated-cycle-headline {
    color: #0b2e13; /* Very dark green */
    font-weight: 900 !important;
}

.simplification-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    align-items: center;
    justify-items: center;
    gap: 1rem 2rem;
    position: relative;
    padding-top: 3rem;
    min-height: 400px; /* Ensure space for layout */
}

.grid-item-1 { grid-area: 1 / 1 / 2 / 2; } /* Top-Left */
.grid-item-2 { grid-area: 2 / 1 / 3 / 2; } /* Bottom-Left */
.grid-item-3 { grid-area: 1 / 3 / 2 / 4; } /* Top-Right */
.grid-item-4 { grid-area: 2 / 3 / 3 / 4; } /* Bottom-Right */

.simplification-circle-container {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    display: flex;
    justify-content: center;
    align-items: center;
}

.simplification-circle {
    position: relative;
    width: 300px;
    height: 300px;
    border: 5px dashed #198754;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: rotate-circle 8s linear infinite;
}

.center-coins {
    width: 50%;
    animation: floating-coins 3s ease-in-out infinite;
    /* Counter-rotate to stay upright */
    animation: floating-coins 3s ease-in-out infinite, rotate-circle-reverse 8s linear infinite;
}

.circle-inner-image {
    width: 90%;
    height: 90%;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    animation: rotate-circle-reverse 8s linear infinite;
}

.rotating-dot {
    position: absolute;
    top: -10px; /* Half of width, adjusted for border */
    left: calc(50% - 10px);
    width: 20px;
    height: 20px;
    background-color: #198754;
    border-radius: 50%;
    box-shadow: 0 0 8px #198754;
}

.circle-icon {
    text-align: center;
    width: 140px;
    height: 140px;
    background-color: #198754;
    color: #fff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    animation: soft-bobbing 4s ease-in-out infinite;
}

.grid-item:nth-child(1) .circle-icon { animation-delay: 0s; }
.grid-item:nth-child(2) .circle-icon { animation-delay: -1s; }
.grid-item:nth-child(4) .circle-icon { animation-delay: -2s; } /* grid-item-3 */
.grid-item:nth-child(5) .circle-icon { animation-delay: -3s; } /* grid-item-4 */

.circle-icon p {
    font-size: 1rem;
    line-height: 1.2;
}

@keyframes floating-coins {
  0% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}

@keyframes rotate-circle {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotate-circle-reverse {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

@keyframes soft-bobbing {
  0% { transform: translateY(0) scale(1.0); }
  50% { transform: translateY(-8px) scale(1.02); }
  100% { transform: translateY(0) scale(1.0); }
}

/* Responsive adjustments for the circle */
@media (max-width: 992px) {
    .simplification-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        gap: 2rem;
    }
    .grid-item-1 { grid-area: 1 / 1 / 2 / 2; }
    .grid-item-2 { grid-area: 2 / 1 / 3 / 2; }
    .grid-item-3 { grid-area: 1 / 2 / 2 / 3; }
    .grid-item-4 { grid-area: 2 / 2 / 3 / 3; }
    .simplification-circle-container {
        grid-column: 1 / 3;
        grid-row: 3 / 4;
        margin: 2rem 0;
    }
}

@media (max-width: 768px) {
    .simplification-grid {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    .simplification-circle-container {
        order: 5; /* Puts circle at the end */
    }
}

.offer-bar {
    background:#ffc107; color:#000; padding:8px 0; z-index:1060;
}
.offer-bar .timer { font-family:'Space Mono', monospace; font-variant-numeric: tabular-nums; }
.offer-bar .timer-segment { display:inline-block; min-width:2ch; text-align:center; }