:root {
    --primary: #D4A373;
    /* Warm Gold/Paper */
    --primary-dark: #b08255;
    --secondary: #CCD5AE;
    /* Soft Sage */
    --accent: #E9EDC9;
    /* Cream */
    --text: #333333;
    --text-light: #666666;
    --bg: #FAFAF5;
    --white: #FFFFFF;
    --success: #2A9D8F;
    --cta: #E76F51;
    /* Vibrant Terra Cotta for buttons */
    --cta-hover: #d65d40;

    --font-heading: 'Lora', serif;
    --font-body: 'Inter', sans-serif;

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);

    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    /* Prevent horizontal scroll from animations */
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: #2C3E50;
    line-height: 1.2;
}

img {
    max-width: 100%;
    display: block;
    border-radius: var(--radius);
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--cta);
    color: white;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(231, 111, 81, 0.3);
}

.btn-primary:hover {
    background-color: var(--cta-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 111, 81, 0.4);
}

.btn-large {
    font-size: 1.3rem;
    padding: 1.2rem 2.5rem;
    width: 100%;
    max-width: 400px;
    background-color: #27AE60;
    /* Green for final conversion */
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-large:hover {
    background-color: #219150;
    transform: scale(1.02);
}

.btn-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(39, 174, 96, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(39, 174, 96, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(39, 174, 96, 0);
    }
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, #FFFDF5 0%, #F0F4E3 100%);
    overflow: hidden;
    text-align: center;
    /* Centering everything in hero */
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 800px;
    /* Limit width for readability since it's centered */
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #2C3E50;
}

.hero-image-container {
    margin: 1rem auto 2rem auto;
    /* Centered with auto margins */
    max-width: 400px;
    /* Control image size */
    width: 100%;
    display: flex;
    justify-content: center;
}

.hero-image-container img {
    box-shadow: var(--shadow-lg);
    border: 6px solid white;
    transform: rotate(-1deg);
    transition: transform 0.5s ease;
    margin: 0 auto;
    /* Ensure image itself is centered */
}

.hero-image-container:hover img {
    transform: rotate(0deg) scale(1.02);
}

/* Brand Name */
.brand-name {
    display: block;
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

/* Hero Image Container Update for Badge */
.hero-image-container {
    margin: 1rem auto 2rem auto;
    max-width: 400px;
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    /* Needed for absolute positioning of badge */
}

.bonus-badge {
    position: absolute;
    bottom: -15px;
    right: 10px;
    background: var(--cta);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transform: rotate(5deg);
    z-index: 10;
    border: 3px solid white;
    animation: floatBadge 3s ease-in-out infinite;
}

@keyframes floatBadge {

    0%,
    100% {
        transform: rotate(5deg) translateY(0);
    }

    50% {
        transform: rotate(5deg) translateY(-5px);
    }
}

.hero-text .subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.badge {
    display: inline-block;
    background: #E8F5E9;
    color: #2E7D32;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.cta-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.secure-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.secure-badge i {
    width: 16px;
    height: 16px;
}

/* Animation Classes */
.hidden-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}


/* Emotional Hook */
.emotional-hook {
    padding: 5rem 0;
    background-color: white;
}

.hook-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hook-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.hook-text p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.hook-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.card-feature {
    background: var(--bg);
    padding: 1.5rem;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-left: 4px solid var(--primary);
}

.card-feature h3 {
    font-size: 1.2rem;
    margin: 0;
}

.icon-gold {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* Product Showcase */
.product-showcase {
    padding: 3rem 0;
    /* Reduced from 5rem */
    background-color: #F8F9FA;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2rem;
    /* Reduced margin */
}

.section-header h2 {
    font-size: 2rem;
    /* Reduced from 2.5rem */
    margin-bottom: 0.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    /* Reduced gap */
}

.feature-item {
    background: white;
    padding: 1.5rem;
    /* Reduced padding */
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 2.5rem;
    /* Reduced icon size */
    margin-bottom: 0.5rem;
}

.feature-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.4;
}

/* Bonuses */
.bonuses {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #FFF 0%, #FFFDF5 100%);
}

.tag {
    background: var(--primary);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.bonus-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.bonus-card {
    background: white;
    border: 1px solid #EEE;
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 1.5rem;
    gap: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.bonus-img-wrapper {
    width: 90px;
    height: 120px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: #f0f0f0;
}

.bonus-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bonus-content h4 {
    color: var(--cta);
    margin-bottom: 0.5rem;
}

.bonus-content .value {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.bonus-content .free {
    color: var(--success);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Testimonials */
.testimonials {
    padding: 5rem 0;
    background-color: white;
    text-align: center;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--bg);
    padding: 2rem;
    border-radius: var(--radius);
    text-align: left;
}

.stars {
    color: #FFC107;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.author strong {
    display: block;
    color: var(--primary-dark);
}

.author span {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Offer Section */
.offer-section {
    padding: 5rem 0;
    background: #2C3E50;
    color: white;
}

.offer-box {
    background: white;
    color: var(--text);
    max-width: 600px;
    margin: 0 auto;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.offer-header {
    background: var(--primary);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.offer-header h3 {
    color: white;
    margin: 0;
}

.offer-body {
    padding: 2.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.offer-summary {
    font-size: 1.2rem;
    font-weight: 500;
}

.price-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.old-price {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 1.2rem;
}

.new-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--success);
    line-height: 1;
}

.payment-info {
    font-size: 0.9rem;
    color: var(--text-light);
}

.guarantee-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.scarcity {
    color: #E74C3C;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* FAQ */
.faq {
    padding: 5rem 0;
    background: white;
}

.faq h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

details {
    background: var(--bg);
    padding: 1.5rem;
    border-radius: var(--radius);
    cursor: pointer;
}

summary {
    font-weight: 600;
    font-size: 1.1rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
}

details[open] summary::after {
    content: '-';
}

details p {
    margin-top: 1rem;
    color: var(--text-light);
}

footer {
    background: #1a252f;
    color: white;
    padding: 3rem 0;
    text-align: center;
}

footer p {
    margin-bottom: 0.5rem;
    color: #bdc3c7;
}

/* Sales Popup */
.sales-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    max-width: 320px;
    border-left: 4px solid var(--success);
}

.sales-popup.show {
    transform: translateY(0);
    opacity: 1;
}

.popup-icon {
    color: var(--success);
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-content {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
}

.popup-title {
    font-weight: 700;
    color: var(--text);
    font-size: 0.85rem;
}

.popup-text {
    color: var(--text-light);
    font-size: 0.8rem;
    line-height: 1.3;
}

.popup-time {
    font-size: 0.7rem;
    color: #999;
    margin-top: 2px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {

    .hero-content,
    .hook-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .cta-group {
        align-items: center;
    }

    .card-feature {
        text-align: left;
    }

    /* Adjusting for the new centered hero layout */
    .hero-image-container {
        max-width: 80%;
    }

    /* Force 2 columns on mobile for features */
    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.8rem;
    }

    .feature-item {
        padding: 1rem;
    }

    .feature-icon {
        font-size: 2rem;
    }

    .feature-item h3 {
        font-size: 1rem;
    }

    .feature-item p {
        font-size: 0.8rem;
    }

    .bonus-badge {
        right: 0;
        bottom: -10px;
        font-size: 0.9rem;
    }

    .sales-popup {
        left: 50%;
        transform: translate(-50%, 100px);
        /* Start below screen */
        bottom: 10px;
        width: 90%;
    }

    .sales-popup.show {
        transform: translate(-50%, 0);
        /* Center horizontally and show */
    }
}