:root {
    --primary-color: #1a1510;
    /* Dark earthy background */
    --secondary-color: #f7f3e8;
    /* Light parchment/cream */
    --accent-color: #c6a87c;
    /* Gold/Bronze */
    --accent-hover: #b39366;
    --text-color: #333333;
    --text-light: #f7f3e8;
    --section-bg-light: #ffffff;
    --section-bg-off: #fbfbfb;

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;

    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);

    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--secondary-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    color: var(--primary-color);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
    color: #555;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.text-center {
    text-align: center;
}

.text-light {
    color: var(--text-light);
}

.text-accent {
    color: var(--accent-color);
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--accent-color);
    color: #fff;
    font-weight: 700;
    border-radius: 50px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(198, 168, 124, 0.4);
}

.btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(198, 168, 124, 0.6);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    box-shadow: none;
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    color: #fff;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url('biblical_hero_landscape_1769381772440.png') no-repeat center center/cover;
    background-attachment: fixed;
    /* Parallax effect */
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.hero h1 {
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: var(--spacing-sm);
    text-wrap: balance;
}

.hero p {
    font-size: 1.25rem;
    color: #eee;
    margin-bottom: var(--spacing-md);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

/* Problem Section */
.problem-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--section-bg-light);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.card {
    background: #fff;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    border-top: 4px solid var(--accent-color);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
}

.icon-box {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

/* Features/Solution */
.features-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--section-bg-off);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.feature-item img {
    width: 100%;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-card);
}

/* Modules Section */
.modules-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.modules-section h2 {
    color: var(--secondary-color);
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.module-card {
    background: rgba(255, 255, 255, 0.05);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.module-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
}

.module-card h3 {
    color: var(--accent-color);
}

.module-card ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #ccc;
}

.module-card ul li::before {
    content: "•";
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Bonus Section */
.bonus-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--section-bg-light);
}

.bonus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.bonus-card {
    background: #fff;
    padding: 2rem;
    padding-top: 3.5rem;
    /* Space for the absolute badge */
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.bonus-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent-color);
    color: #fff;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: bold;
}

.old-price {
    text-decoration: line-through;
    opacity: 0.8;
    margin-right: 5px;
    font-weight: 400;
}

/* Testimonials */
.testimonials-section {
    padding: var(--spacing-xl) 0;
    background-image: linear-gradient(rgba(247, 243, 232, 0.95), rgba(247, 243, 232, 0.95)), url('https://www.transparenttextures.com/patterns/cubes.png');
    /* Texture pattern */
}

.testimonial-card {
    background: #fff;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    margin: 1rem;
    text-align: center;
    font-style: italic;
}

.testimonial-card p {
    font-size: 1.1rem;
    color: #444;
}

.rating {
    color: #f59e0b;
    margin-bottom: 1rem;
}

/* Pricing/CTA */
.pricing-section {
    padding: var(--spacing-xl) 0;
    text-align: center;
    background: var(--primary-color);
    color: #fff;
}

.price-box {
    background: #fff;
    color: #333;
    max-width: 500px;
    margin: 0 auto;
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    border: 3px solid var(--accent-color);
    /* Yellow contour */
}

.price-tag {
    font-size: 4rem;
    font-weight: 700;
    color: var(--accent-color);
    /* Yellow/Gold */
    font-family: var(--font-heading);
}

.price-tag span {
    font-size: 1.5rem;
    vertical-align: super;
}

.guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #666;
}

/* FAQ */
.faq-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--section-bg-light);
}

.faq-item {
    border-bottom: 1px solid #eee;
    padding: 1.5rem 0;
}

.faq-question {
    font-weight: 700;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--primary-color);
}

.faq-answer {
    padding-top: 1rem;
    color: #666;
    display: none;
}

.faq-item.faq-open .faq-answer {
    display: block;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
footer {
    background: #111;
    color: #888;
    padding: 3rem 0;
    text-align: center;
    font-size: 0.9rem;
}

footer a {
    color: #aaa;
    margin: 0 10px;
    transition: color 0.3s;
}

footer a:hover {
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    h1 {
        font-size: 2.5rem;
    }

    .hero {
        min-height: 500px;
        background-attachment: scroll;
    }

    .hero p {
        font-size: 1rem;
        /* Smaller font to fit 3 lines on mobile */
        padding: 0 10px;
        /* Ensure some breathing room */
    }
}

/* Highlighted Bonus Card */
.bonus-card.highlight-card {
    border: 2px solid var(--accent-color);
    background-color: #fffbf5;
}

.testimonial-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid var(--accent-color);
}

/* Shine Effect for Button */
.btn-shine {
    position: relative;
    overflow: hidden;
    z-index: 1;
    background-color: #2e7d32;
    /* Green for CTA */
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.4);
}

.btn-shine:hover {
    background-color: #1b5e20;
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.6);
}

.btn-shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent);
    transition: 0.5s;
    animation: shine 2s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.img-count-badge {
    display: inline-block;
    background-color: #1a1510;
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 6px;
    margin-bottom: 1rem;
    border: 1px solid rgba(198, 168, 124, 0.2);
}

/* Image Demo Carousel */
.demo-carousel-container {
    margin-top: var(--spacing-lg);
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
}

.demo-track {
    display: flex;
    gap: var(--spacing-md);
    animation: scroll 25s linear infinite;
    width: max-content;
}

.demo-track:hover {
    animation-play-state: paused;
}

.demo-card {
    width: 280px;
    height: 180px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    flex-shrink: 0;
    transition: transform 0.3s;
    position: relative;
    /* Context for overlay */
}

.demo-card:hover {
    transform: scale(1.05);
}

.demo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    /* Darken slightly to make text pop */
    transition: filter 0.3s;
}

.demo-card:hover img {
    filter: brightness(0.5);
}

.demo-title {
    position: absolute;
    bottom: 20px;
    left: 15px;
    right: 15px;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    text-transform: uppercase;
    text-align: center;
    line-height: 1.2;
    pointer-events: none;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-280px * 5 - var(--spacing-md) * 5));
    }
}

/* Gradient Fade for Carousel */
.demo-carousel-container::before,
.demo-carousel-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.demo-carousel-container::before {
    left: 0;
    background: linear-gradient(to right, var(--section-bg-light), transparent);
}

.demo-carousel-container::after {
    right: 0;
    background: linear-gradient(to left, var(--section-bg-light), transparent);
}

/* Sales Notification Popup */
.sales-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    /* Moved to left */
    right: auto;
    background-color: #fff;
    padding: 12px;
    /* Smaller padding */
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    /* Smaller gap */
    z-index: 1000;
    transform: translateX(-120%);
    /* Slide in from left */
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 280px;
    /* Smaller width */
    border-left: 4px solid #2e7d32;
}

.sales-popup.active {
    transform: translateX(0);
}

.sales-popup img {
    width: 40px;
    /* Smaller image */
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
}

.sales-popup-content h4 {
    font-size: 0.85rem;
    /* Smaller font */
    margin: 0;
    color: #333;
    font-weight: 700;
}

.sales-popup-content p {
    font-size: 0.75rem;
    /* Smaller font */
    margin: 0;
    color: #666;
}

.sales-popup-content small {
    font-size: 0.65rem;
    /* Smaller font */
    color: #999;
}

@media (max-width: 480px) {
    .sales-popup {
        bottom: 10px;
        left: 10px;
        right: auto;
        max-width: 85%;
        /* Prevent full width on mobile, keep it compact */
    }
}

/* Social Proof Badge in Hero */
/* Social Proof Badge in Hero */
.social-proof-badge {
    display: inline-block;
    background: rgba(0, 0, 0, 0.3);
    color: #f7b731;
    /* Gold */
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
    border: 1px solid rgba(247, 183, 49, 0.2);
    backdrop-filter: blur(4px);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}