:root {
    /* Updated Palette based on Dark Luxury Marketing Vibe */
    --bg-dark: #080808;
    --bg-card: #121212;
    --primary-color: #5D0096;
    /* Deep Purple */
    --accent-color: #FFB800;
    /* Rich Gold */
    --text-main: #F0F0F0;
    --text-muted: #A0A0A0;
    --danger-accent: #D32F2F;
    /* For 'X' icons */

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --font-script: 'Dancing Script', cursive;

    --gradient-btn: linear-gradient(90deg, #FFB800 0%, #FF8C00 100%);
    --gradient-hero: linear-gradient(135deg, #1a0529 0%, #000000 100%);

    --radius-sm: 8px;
    --radius-lg: 16px;
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    /* Prevent horizontal scroll */
    width: 100%;
    position: relative;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    /* Extra Bold */
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.2;
    word-break: break-word;
    /* Prevent long words breaking layout */
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Hero Section --- */
.hero-section {
    padding: 4rem 0;
    background: var(--gradient-hero);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    flex-direction: column-reverse;
    /* Mobile First: Image on top or bottom? Custom: Content First on Mobile */
    gap: 3rem;
    z-index: 2;
}

.hero-content {
    text-align: center;
}

.script-accent {
    font-family: var(--font-script);
    color: var(--accent-color);
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.hero-headline {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: #fff;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.text-gradient {
    color: var(--primary-color);
    background: linear-gradient(to right, #9d00ff, #ff00ea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subheadline {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--gradient-btn);
    color: #000;
    font-weight: 700;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-transform: uppercase;
    font-size: 1rem;
    box-shadow: 0 0 20px rgba(255, 184, 0, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
    width: 100%;
    max-width: 400px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 184, 0, 0.6);
}

.hero-trust {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.users-avatars {
    display: flex;
}

.avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #333;
    border: 2px solid var(--bg-dark);
    margin-left: -10px;
}

.avatar:first-child {
    margin-left: 0;
    background: #555;
}

.avatar:nth-child(2) {
    background: #777;
}

.avatar:nth-child(3) {
    background: #999;
}

/* 3D Book CSS */
.hero-image-wrapper {
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.ebook-showcase {
    position: relative;
    width: auto;
    max-width: 100%;
    display: flex;
    justify-content: center;
}

.hero-book-image {
    width: 100%;
    max-width: 480px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.7));
    animation: floatingImage 6s ease-in-out infinite;
}

@keyframes floatingImage {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.floating-badge {
    position: absolute;
    bottom: 20px;
    right: -20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: floatBadge 4s infinite alternate;
}

@keyframes floatBadge {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-10px);
    }
}

/* --- Pain Section --- */
.pain-section {
    padding: 4rem 0;
    background: #0d0d0d;
}

.section-title {
    text-align: center;
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 3rem;
}

.pain-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid #222;
    transition: all 0.3s ease;
}

.pain-card {
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pain-card:hover {
    /* Desktop hover effect */
    border-color: var(--danger-accent);
    transform: translateY(-5px);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: var(--text-muted);
}

.icon-box.warning {
    color: var(--danger-accent);
    /* Red X vibe */
    background: rgba(211, 47, 47, 0.1);
}

.pain-card h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.pain-card p {
    color: #aaa;
    font-size: 0.95rem;
}

.pain-bridge {
    text-align: center;
    margin-top: 3rem;
    font-size: 1.2rem;
    font-style: italic;
    color: #fff;
}

.highlight {
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: underline;
    text-decoration-color: var(--primary-color);
    /* Updated for better modern look */
}

/* --- Solution Section --- */
.solution-section {
    padding: 4rem 0;
    background: var(--bg-dark);
}

.solution-layout {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.solution-image {
    display: flex;
    justify-content: center;
}

.solution-book-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.solution-book-image:hover {
    transform: scale(1.02);
}

.section-title-left {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #fff;
    text-align: center;
    /* Mobile center */
}

.solution-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: var(--radius-sm);
}

.check-icon {
    min-width: 30px;
    height: 30px;
    background: var(--accent-color);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    margin-top: 0.2rem;
}

.list-text strong {
    display: block;
    color: #fff;
    margin-bottom: 0.2rem;
}

.list-text p {
    font-size: 0.9rem;
    color: #bbb;
}

/* --- Bonus Section --- */
.bonus-section {
    padding: 4rem 0;
    background: linear-gradient(to bottom, #000, #111);
}

.bonus-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.bonus-card {
    position: relative;
    border-top: 4px solid var(--accent-color);
    text-align: center;
}

.bonus-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent-color);
    color: #000;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
}

.bonus-icon {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* --- Social Proof --- */
.social-proof-section {
    padding: 4rem 0;
    background: #080808;
}

.testimonials-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.testimonial-card {
    background: #151515;
    padding: 1.5rem;
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--primary-color);
}

.stars {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 0.8rem;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 1rem;
}

.author-avatar {
    width: 35px;
    height: 35px;
    background: #444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #fff;
}

.c-1 {
    background: #3b5998;
}

.c-2 {
    background: #E1306C;
}

/* --- Offer Section --- */
.offer-section {
    padding: 5rem 0;
    background: radial-gradient(circle at center, #2a0045 0%, #000 70%);
    text-align: center;
}

.offer-container {
    max-width: 600px;
    margin: 0 auto;
}

.offer-tag {
    background: #fff;
    color: #000;
    font-weight: 800;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 1rem;
}

.offer-headline {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.offer-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    box-shadow: 0 0 50px rgba(93, 0, 150, 0.3);
}

.offer-book-preview {
    margin-bottom: 2rem;
}

.static-book-img {
    border-radius: 5px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    max-width: 380px;
    width: 100%;
}

.scarcity-text {
    color: #bbb;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.price-box {
    margin-bottom: 2rem;
}

.old-price {
    text-decoration: line-through;
    color: #666;
    font-size: 1.1rem;
    display: block;
}

.current-price {
    color: var(--accent-color);
    font-weight: 800;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    line-height: 1;
}

.currency {
    font-size: 1.5rem;
    margin-top: 5px;
    margin-right: 5px;
}

.value {
    font-size: 4rem;
}

.security-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: #888;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Footer */
footer {
    padding: 2rem 0;
    text-align: center;
    font-size: 0.8rem;
    color: #555;
    background: #050505;
}

/* --- Media Queries (Desktop) --- */
@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }

    .hero-container {
        flex-direction: row;
        text-align: left;
        align-items: center;
    }

    .hero-content {
        flex: 1;
        text-align: left;
    }

    .hero-image-wrapper {
        flex: 1;
        justify-content: flex-end;
    }

    .hero-trust {
        align-items: flex-start;
    }

    .cta-button {
        width: auto;
    }

    /* Grid Layouts */
    .pain-cards {
        grid-template-columns: repeat(3, 1fr);
    }

    .solution-layout {
        flex-direction: row;
        align-items: center;
    }

    .solution-image,
    .solution-content {
        flex: 1;
    }

    .section-title-left {
        text-align: left;
    }

    .bonus-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .testimonials-grid {
        flex-direction: row;
    }

    .testimonial-card {
        flex: 1;
    }

    .hero-headline {
        font-size: 3.5rem;
    }
}

/* Adding helper classes for new structure */

.two-columns {
    grid-template-columns: 1fr;
}

.section-subtitle-center {
    text-align: center;
    color: #bbb;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.solution-intro {
    color: #ccc;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.offer-text-intro {
    color: #ddd;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.offer-includes {
    list-style: none;
    margin: 1.5rem 0;
    text-align: left;
    display: inline-block;
}

.offer-includes li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
    color: #eee;
}

.offer-includes i {
    color: var(--accent-color);
}

.security-badges-vertical {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #aaa;
}

@media (min-width: 768px) {
    .two-columns {
        grid-template-columns: 1fr 1fr;
        /* Force 2 columns for bonus */
        max-width: 800px;
        margin: 0 auto;
    }

    .security-badges-vertical {
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
    }
}

/* Marquee Styles - Converted to Horizontal Swipe Scroll */
.marquee-container {
    width: 100%;
    /* Fallback */
    width: 100vw;
    position: relative;
    padding: 1rem 0;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    /* Allow horizontal scrolling */
    scroll-snap-type: x mandatory;
    /* Snap behavior */
    -webkit-overflow-scrolling: touch;
    /* Smooth scroll on iOS */
    /* Padding to allow centering items loosely */
    padding: 0 50vw 0 10vw;
    /* scrollbar-width: thin; Firefox support */
    scrollbar-color: var(--primary-color) var(--bg-card);
}

/* Custom Scrollbar for Desktop */
.marquee-content::-webkit-scrollbar {
    height: 8px;
    display: block;
    /* Ensure visible on desktop */
}

.marquee-content::-webkit-scrollbar-track {
    background: var(--bg-card);
    border-radius: 4px;
}

.marquee-content::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.marquee-content::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

@media (pointer: coarse) {

    /* Hide scrollbar only on touch devices where swipe is natural */
    .marquee-content::-webkit-scrollbar {
        display: none;
    }

    .marquee-content {
        scrollbar-width: none;
    }
}

/* Adjust testimonial cards for Swipe */
.marquee-content .testimonial-card {
    min-width: 300px;
    max-width: 400px;
    flex-shrink: 0;
    scroll-snap-align: center;
    /* Snap to center */
}

/* Remove animation related rules */

/* Countdown Timer Styles */
.scarcity-banner {
    background: rgba(211, 47, 47, 0.2);
    border: 1px solid var(--danger-accent);
    color: #ff5555;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 1.5rem 0 2.5rem;
}

.countdown div {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 80px;
}

.countdown span {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
    font-family: var(--font-heading);
}

.countdown small {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #888;
    margin-top: 0.3rem;
    letter-spacing: 1px;
}

@media (min-width: 768px) {
    .marquee-container {
        /* On desktop, maybe keep it contained or still full width? Full width looks more "modern" */
    }
}

/* Green CTA Button Modifier */
.cta-button.green-cta {
    background: linear-gradient(90deg, #25D366 0%, #128C7E 100%);
    /* Whatsapp/Success Green Vibe */
    box-shadow: 0 0 25px rgba(37, 211, 102, 0.6);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-button.green-cta:hover {
    background: linear-gradient(90deg, #2bf678 0%, #1bceb8 100%);
    box-shadow: 0 0 40px rgba(37, 211, 102, 0.8);
    transform: translateY(-3px) scale(1.02);
}

/* Mobile optimizations for Offer list */
@media (max-width: 768px) {
    .offer-includes li {
        align-items: flex-start;
    }

    .offer-includes i {
        margin-top: 5px;
        /* Alignment fix */
    }
}


/* Mobile Specific Fixes */
@media (max-width: 480px) {
    .hero-headline {
        font-size: 1.8rem;
        /* Smaller font for mobile */
    }

    .hero-subheadline {
        font-size: 1rem;
    }

    .container {
        padding: 0 1rem;
        /* More space for content */
    }

    .hero-book-image,
    .solution-book-image {
        max-width: 90%;
        /* Keep manageable size but not too small */
    }

    .offer-headline {
        font-size: 1.5rem;
    }

    /* Ensure marquee doesn't cause overflow on very small devices */
    .marquee-container {
        width: 100vw;
        margin-left: -1rem;
        /* Adjust if parent has padding */
        margin-right: -1rem;
        left: auto;
        right: auto;
        mask-image: none;
    }

    .marquee-content {
        padding: 0 5vw;
    }
}

/* --- Conversion Optimization Tweaks --- */
.micro-copy {
    margin-top: 10px;
    font-size: 0.8rem;
    color: #aaa;
    display: block;
    text-align: center;
}

.bonus-price {
    margin-bottom: 5px;
    color: #ccc;
    font-size: 0.9rem;
    font-weight: 600;
}

.price-strike {
    text-decoration: line-through;
    color: #777;
}

.price-highlight {
    color: var(--accent-color);
    font-weight: 800;
}