:root {
    --color-bg-dark: #0f100c;
    --color-bg-card: #161812;
    --color-gold: #d4af37;
    --color-gold-hover: #b5952f;
    --color-text-main: #f0f0f0;
    --color-text-muted: #a0a0a0;
    --font-heading: 'Impact', 'Haettenschweiler', 'Arial Narrow Bold', sans-serif;
    --font-body: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

    /* Fluid Typography Variables */
    --fs-h1: clamp(2.5rem, 5vw + 1rem, 4.5rem);
    --fs-h2: clamp(1.8rem, 4vw + 1rem, 3rem);
    --fs-h3: clamp(1.2rem, 2vw + 1rem, 2rem);
    --fs-body: clamp(1rem, 1vw + 0.8rem, 1.2rem);

    /* Spacing */
    --section-padding: clamp(60px, 8vh, 100px);
    --container-padding: clamp(15px, 3vw, 30px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg-dark);
    color: var(--color-text-main);
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gold);
    line-height: 1.2;
}

h1 {
    font-size: var(--fs-h1);
}

h2 {
    font-size: var(--fs-h2);
}

h3 {
    font-size: var(--fs-h3);
}

/* Desktop Polish */
/* Desktop Polish & Layout */
@media (min-width: 1024px) {
    :root {
        --fs-h1: 3rem;
        /* Reduced from 4rem for better fit */
        --fs-h2: 2.2rem;
        --fs-h3: 1.5rem;
        --section-padding: 80px;
    }

    /* Hero 2-Column Layout */
    .hero {
        padding-top: 0;
        padding-bottom: 50px;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        /* Stack main hero and benefits vertically */
        align-items: center;
    }

    .hero>.container:nth-of-type(1) {
        display: flex;
        flex-direction: row-reverse;
        /* Content Left, Image Right */
        align-items: stretch;
        justify-content: space-between;
        gap: 0;
        text-align: left;
        max-width: 100%;
        width: 100%;
        /* Ensure full width */
        padding: 0;
        min-height: 85vh;
        /* Occupy most of screen */
    }

    .hero-content {
        width: 65%;
        margin-top: 0 !important;
        text-align: left !important;
        padding: 0 4% 0 10%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        height: auto;
        min-height: 100%;
    }

    .hero-img-container {
        width: 35%;
        margin-left: 0 !important;
        margin-right: 0 !important;
        mask-image: none !important;
        -webkit-mask-image: none !important;
        position: relative;
        height: auto;
        min-height: 100%;
    }

    .hero-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top center;
    }

    .hero h1 {
        align-items: flex-start !important;
        text-align: left !important;
        max-width: 90%;
        line-height: 1.1 !important;
        margin-bottom: 25px !important;
    }

    .hero h1 span {
        text-align: left !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        display: block;
        /* Ensure block display for alignment */
    }

    .hero p {
        text-align: left !important;
        margin-left: 0 !important;
        max-width: 650px;
        font-size: 1.4rem !important;
        line-height: 1.6;
        margin-bottom: 40px !important;
        color: #ddd;
    }

    .mentors-grid {
        display: flex;
        justify-content: center;
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
    }

    .mentor-card {
        flex: 1;
        max-width: 400px;
        /* Prevent overstretching */
    }

    .feature-icon {
        font-size: 4rem;
        /* Larger icons on desktop */
    }
}

.text-gold {
    color: var(--color-gold);
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--section-padding) 0;
}

/* Animations & Glows */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glowPulse {
    0% {
        box-shadow: 0 0 5px rgba(212, 175, 55, 0.2);
    }

    50% {
        box-shadow: 0 0 30px rgba(212, 175, 55, 0.6), 0 0 10px rgba(212, 175, 55, 0.4) inset;
    }

    100% {
        box-shadow: 0 0 5px rgba(212, 175, 55, 0.2);
    }
}

@keyframes textGlow {
    0% {
        text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    }

    50% {
        text-shadow: 0 0 20px rgba(212, 175, 55, 0.8), 0 0 40px rgba(212, 175, 55, 0.3);
    }

    100% {
        text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    }
}

.glow-text {
    animation: textGlow 3s infinite ease-in-out;
}

/* Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 45px;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    text-decoration: none;
    text-transform: uppercase;
    color: #000;
    background: linear-gradient(135deg, #ffd700, #b8860b, #ffd700);
    background-size: 200% 200%;
    border: 1px solid #ffd700;
    border-radius: 4px;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    letter-spacing: 1px;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    font-weight: bold;
    animation: sheen 3s infinite linear;
    width: auto;
    max-width: 100%;
}

@keyframes sheen {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

.btn:active {
    transform: translateY(2px);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.6);
    color: #000;
}

.card {
    background: linear-gradient(145deg, #161812, #0a0b08);
    border: 1px solid rgba(212, 175, 55, 0.1);
    padding: clamp(20px, 4vw, 40px);
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top, rgba(212, 175, 55, 0.05), transparent 70%);
    pointer-events: none;
}

.card:hover {
    transform: translateY(-7px);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 20px rgba(212, 175, 55, 0.1);
}

/* Hero Section & Image Connection */
.hero {
    min-height: 100vh;
    min-height: 100svh;
    /* Better mobile support */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, #1b1e16 0%, #0f100c 90%);
    position: relative;
    padding-bottom: 80px;
    overflow: hidden;
}

.hero-img-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    /* Create a fade-out effect at the bottom to merge with text */
    -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
    z-index: 1;
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
    /* Remove borders as requested */
    border: none;
    border-radius: 0;
    position: relative;
    filter: contrast(1.1) brightness(0.9);
}

.hero-content {
    position: relative;
    z-index: 2;
    margin-top: -15%;
    /* Overlap effect: pulls text up into the faded image area */
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
}

.hero h1 {
    margin-bottom: 25px;
    border-bottom: 4px solid var(--color-gold);
    display: inline-block;
    padding-bottom: 15px;
    word-break: break-word;
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.6rem);
    max-width: 800px;
    margin: 0 auto 50px;
    color: var(--color-text-muted);
}

/* Features Section */
.features-grid {
    display: grid;
    /* Optimizing for smaller screens: will fill space but not overflow */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-icon {
    font-size: 3.5rem;
    color: var(--color-gold);
    margin-bottom: 25px;
    display: block;
}

/* CTA Section */
.cta-section {
    background:
        linear-gradient(90deg,
            rgba(212, 175, 55, 0.05) 0%,
            rgba(0, 0, 0, 0.2) 50%,
            rgba(212, 175, 55, 0.05) 100%);
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.offer-card {
    max-width: 500px;
    margin: 40px auto;
    background: linear-gradient(180deg, rgba(22, 24, 18, 0.95), rgba(10, 10, 10, 0.95));
    border: 2px solid var(--color-gold);
    animation: glowPulse 3s infinite;
}

.price-tag {
    font-size: clamp(3rem, 10vw, 4.5rem);
    color: #fff;
    font-weight: bold;
    margin: 15px 0;
    line-height: 1;
}

/* Footer */
footer {
    text-align: center;
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* Mobile Specific Optimizations */
@media (max-width: 1023px) {
    .btn {
        width: 100%;
        padding: 15px 20px;
        font-size: 1.1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 0;
        /* Remove padding to let image hit top edge */
        display: block !important;
        height: auto !important;
        min-height: auto !important;
        position: relative !important;
        overflow-x: hidden !important;
        /* Prevent scrollbar if 100vw exceeds */
    }

    .hero>.container:nth-of-type(1) {
        display: flex;
        flex-direction: column-reverse;
        flex-direction: column;
        height: auto;
        min-height: auto;
        position: static !important;
        /* Ensure container is NOT positioning context */
    }

    .hero-img-container {
        position: absolute !important;
        top: 0;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 100vw !important;
        height: 80vh !important;
        margin: 0 !important;
        z-index: 0;
        mask-image: linear-gradient(to bottom, black 60%, transparent 100%) !important;
        -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%) !important;
        pointer-events: none;
    }

    .hero-img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: top center !important;
    }

    .hero-content {
        position: relative;
        z-index: 1;
        width: 100% !important;
        padding: 0 var(--container-padding) !important;
        text-align: center !important;
        align-items: center !important;
        height: auto !important;
        margin-top: 55vh !important;
        /* Push text down below the faces */
    }

    .hero-content h1,
    .hero-content h1 span,
    .hero-content p {
        text-align: center !important;
        align-items: center !important;
    }

    /* Benefits Fix */
    .hero>.container:nth-of-type(2)>div {
        flex-direction: column;
        align-items: flex-start;
        /* Left align benefits on mobile? or center? */
        text-align: left;
    }

    .hero>.container:nth-of-type(2)>div>div {
        max-width: 100% !important;
        width: 100%;
    }

    /* Turn line breaks into spaces on mobile */
    p br,
    h1 br,
    h2 br,
    h3 br,
    .highlight-box br,
    .mentors-grid br {
        display: inline-block;
        width: 0.4em;
        height: 0;
        content: " ";
        visibility: hidden;
    }

    .social-proof-img {
        width: 80% !important;
        margin: 0 auto;
    }
}




.top-bar {
    background: linear-gradient(90deg, #8B0000, #a00);
    color: #fff;
    padding: 12px 0;
    text-align: center;
    font-family: var(--font-heading);
    font-size: clamp(0.8rem, 2vw, 1rem);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--color-gold);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.top-bar p {
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

#countdown {
    font-weight: bold;
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: 2px;
    color: var(--color-gold);
    min-width: 120px;
    display: inline-block;
}

.feature-icon {
    width: 64px;
    height: 64px;
    color: var(--color-gold);
    fill: currentColor;
    margin-bottom: 25px;
    display: inline-block;
}

.icon-small {
    width: 20px;
    height: 20px;
    fill: currentColor;
    vertical-align: middle;
    margin-right: 5px;
}

.img-fluid {
    max-width: 100%;
    height: auto;
    display: block;
}

.mentor-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: top;
    border-bottom: 2px solid var(--color-gold);
    margin-bottom: 20px;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.mentor-card:hover .mentor-img {
    filter: grayscale(0%);
}

/* --- NEW SECTIONS STYLING --- */

/* Marquee */
.marquee-container {
    background: var(--color-gold);
    color: var(--color-bg-dark);
    padding: 15px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    border-top: 2px solid #fff;
    border-bottom: 2px solid #fff;
}

.marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    text-transform: uppercase;
    font-weight: bold;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Progress Bar */
.progress-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    height: 25px;
    width: 100%;
    max-width: 400px;
    margin: 20px auto;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.progress-bar {
    background: linear-gradient(90deg, var(--color-gold), #aa8a2a);
    height: 100%;
    width: 60%;
    border-radius: 20px 0 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--color-bg-dark);
    font-weight: bold;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    animation: loadProgress 1.5s ease-out forwards;
}

@keyframes loadProgress {
    from {
        width: 0;
    }

    to {
        width: 60%;
    }
}

/* Text Highlights */
.highlight-box {
    border: 1px solid var(--color-gold);
    padding: 30px;
    border-radius: 8px;
    background: rgba(212, 175, 55, 0.05);
    margin: 40px auto;
    max-width: 800px;
    position: relative;
}

.highlight-box::before {
    content: '⚠️';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-bg-dark);
    padding: 0 10px;
    font-size: 1.5rem;
}

/* Mentors */
.mentors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.mentor-card {
    text-align: left;
    background: linear-gradient(180deg, #1a1c16 0%, #0f100c 100%);
}

.mentor-tag {
    background: var(--color-gold);
    color: var(--color-bg-dark);
    padding: 5px 10px;
    font-weight: bold;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-family: var(--font-heading);
}

/* Guarantee */
.guarantee-badge {
    font-size: 5rem;
    margin-bottom: 20px;
    display: block;
}

/* Bonus Cards */
.bonus-card {
    border-left: 4px solid var(--color-gold);
    text-align: left;
}

/* New Video Carousel Styles */
.carousel-container-new {
    position: relative;
    width: 100%;
    height: 550px;
    /* Mobile Decreased */
    overflow: hidden;
    touch-action: pan-y;
    user-select: none;
}

.carousel-track-new {
    display: flex;
    align-items: center;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    /* JS handles translateX */
    will-change: transform;
    transition: transform 0.5s ease-out;
    cursor: grab;
}

.carousel-track-new:active {
    cursor: grabbing;
}

/* Card Styling - Matching JS logic */
.carousel-card {
    width: 280px;
    /* Mobile Width */
    height: 480px;
    /* Mobile Decreased */
    margin: 0 10px;
    /* Mobile Margin */
    position: relative;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.5s ease;
    transform: scale(0.9);
    opacity: 0.5;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.carousel-card.active {
    transform: scale(1.05);
    opacity: 1;
    z-index: 10;
    border-color: var(--color-gold);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
}

.carousel-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlays */
.carousel-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 20;
    pointer-events: none;
}

.carousel-overlay.left {
    left: 0;
    background: linear-gradient(to right, var(--color-bg-dark), transparent);
}

.carousel-overlay.right {
    right: 0;
    background: linear-gradient(to left, var(--color-bg-dark), transparent);
}

/* Controls */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 30;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.carousel-control:hover {
    background: var(--color-gold);
    color: #000;
    border-color: var(--color-gold);
}

.carousel-control.prev {
    left: 15px;
}

.carousel-control.next {
    right: 15px;
}

.carousel-control svg {
    width: 24px;
    height: 24px;
}

/* Injected Content Helpers */
.font-military {
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.text-white {
    color: #fff;
}

.text-xl {
    font-size: 1.25rem;
}

.uppercase {
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .carousel-container-new {
        height: 700px;
        /* Desktop Decreased */
    }

    .carousel-card {
        width: 320px;
        /* Desktop Width */
        margin: 0 20px;
        /* Desktop Margin */
        height: 600px;
        /* Desktop Decreased */
    }

    .carousel-overlay {
        width: 150px;
    }
}

/* Floating Support Popup */
.support-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    transform: translateY(150%);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 90%;
    max-width: 400px;
}

.support-popup.visible {
    transform: translateY(0);
}

.support-content {
    background: rgba(15, 16, 12, 0.95);
    border: 1px solid var(--color-gold);
    border-radius: 8px;
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.8), 0 0 15px rgba(212, 175, 55, 0.3);
    position: relative;
    backdrop-filter: blur(10px);
}

.support-content p {
    color: #fff;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 10px;
    text-align: center;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.btn-small {
    background: var(--color-gold);
    color: #000;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-small:hover {
    background: #fff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.close-btn {
    position: absolute;
    top: 5px;
    right: 8px;
    background: none;
    border: none;
    color: #666;
    font-size: 1.2rem;
    cursor: pointer;
    line-height: 1;
}

.close-btn:hover {
    color: #fff;
}

@media (min-width: 768px) {
    .support-popup {
        right: 30px;
        bottom: 30px;
        width: auto;
    }

    .support-content {
        flex-direction: row;
        gap: 15px;
        padding: 10px 20px;
    }

    .support-content p {
        margin-bottom: 0;
        margin-right: 10px;
    }
}