:root {
    --primary-color: #66BB6A; /* Light Green */
    --primary-dark: #2E7D32;
    --accent-color: #FBC02D; /* Gold */
    --bg-color: #FAFAFA;
    --card-bg: #FFFFFF;
    --text-color: #333333;
    --text-light: #757575;
    --cta-color: #FF7043; /* Warm Orange for contrast */
    --cta-hover: #F4511E;
    --font-main: 'Outfit', sans-serif;
    --spacing-unit: 1rem;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-hover: 0 10px 15px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 80px; /* Space for fixed footer */
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

/* Typography */
h1, h2, h3 {
    line-height: 1.2;
    margin-bottom: var(--spacing-unit);
    color: var(--primary-dark);
}

h1 {
    font-size: 2.2rem;
    font-weight: 700;
}

h2 {
    font-size: 1.8rem;
    text-align: center;
}

p {
    margin-bottom: var(--spacing-unit);
}

.highlight {
    color: var(--cta-color);
}

/* Buttons */
.btn-small, .btn-large, .btn-offer, .btn-popup, .btn-sticky {
    display: inline-block;
    background-color: var(--cta-color);
    color: white;
    font-weight: 700;
    text-align: center;
    border-radius: 50px;
    transition: transform 0.2s, background-color 0.2s;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 10px rgba(255, 112, 67, 0.3);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    width: 100%;
    max-width: 350px;
}

.btn-offer {
    background-color: var(--primary-dark); /* Distinct for offer */
    font-size: 1.4rem;
    padding: 1.2rem 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: pulse 2s infinite;
}

.btn-sticky {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    border-radius: 8px;
}

.btn-small:hover, .btn-large:hover, .btn-offer:hover {
    background-color: var(--cta-hover);
    transform: translateY(-2px);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    z-index: 1000;
    padding: 0.8rem 0;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-dark);
}

.hidden {
    display: none !important;
}

/* Hero Section */
.hero {
    padding-top: 100px;
    padding-bottom: 3rem;
    text-align: center;
    background: linear-gradient(to bottom, #ffffff, #f1f8e9);
}

.hero-img {
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
    margin-bottom: 2rem;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Social Proof */
.social-proof {
    padding: 3rem 0;
    background-color: white;
    text-align: center;
}

.authority-text {
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 2rem;
}

.testimonial {
    display: none;
    padding: 1.5rem;
    background: var(--bg-color);
    border-radius: 15px;
    margin: 0 auto;
    max-width: 500px;
    box-shadow: var(--shadow);
}

.testimonial.active {
    display: block;
    animation: fade-in 0.5s ease;
}

.stars {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.author {
    display: block;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Product Details */
.product-details {
    padding: 3rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* Benefits */
.benefits {
    padding: 3rem 0;
    background-color: #E8F5E9; /* Very light green */
}

.benefits-list {
    list-style: none;
    max-width: 600px;
    margin: 0 auto;
}

.benefits-list li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.benefits-list li i {
    color: var(--primary-dark);
    margin-right: 10px;
    font-size: 1.2rem;
}

/* Offer Section */
.offer-section {
    padding: 4rem 0;
    background: url('assets/pattern.png') repeat, linear-gradient(135deg, #ffffff 0%, #fff8e1 100%);
    text-align: center;
}

.offer-box {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 2px solid var(--accent-color);
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.offer-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: var(--text-color);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: var(--shadow);
}

.offer-includes {
    margin: 1.5rem 0;
    text-align: left;
    display: inline-block;
}

.offer-includes p {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.price-container {
    margin: 2rem 0;
}

.old-price {
    display: block;
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 1.2rem;
}

.new-price {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.secure-text {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Guarantee */
.guarantee {
    padding: 3rem 0;
    text-align: center;
    background-color: white;
}

.guarantee-badge i {
    font-size: 3rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

/* FAQ */
.faq {
    padding: 3rem 0;
    background-color: var(--bg-color);
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.2rem;
    text-align: left;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: var(--text-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.2rem;
}

.faq-answer p {
    padding-bottom: 1.2rem;
    color: var(--text-light);
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Adjust as needed */
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 3rem 0 6rem 0; /* Extra padding bottom for sticky button */
    text-align: center;
    font-size: 0.9rem;
}

.footer-links {
    margin-top: 1rem;
}

.footer-links a {
    color: #ccc;
    margin: 0 10px;
    font-size: 0.8rem;
}

.footer-cta-mobile {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 999;
}

/* Popups */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 2000;
    backdrop-filter: blur(2px);
}

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    z-index: 2001;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    animation: popup-in 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
}

.popup-toast {
    position: fixed;
    bottom: 90px; /* Above footer CTA */
    right: 20px;
    background: #333;
    color: white;
    padding: 1rem;
    border-radius: 8px;
    z-index: 1999;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    animation: slide-in-right 0.5s ease;
    max-width: 300px;
}

.popup-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--cta-color);
    color: white;
    text-align: center;
    padding: 0.5rem;
    font-weight: 700;
    z-index: 1100;
    font-size: 0.9rem;
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 112, 67, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(255, 112, 67, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 112, 67, 0); }
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slide-up {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes popup-in {
    from { transform: translate(-50%, -40%); opacity: 0; }
    to { transform: translate(-50%, -50%); opacity: 1; }
}

@keyframes slide-in-right {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.slide-up {
    animation: slide-up 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

/* Desktop Media Queries */
@media (min-width: 768px) {
    .container {
        width: 80%;
    }

    .hero .container {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 2rem;
    }

    .hero-image-container {
        order: 2;
        flex: 1;
    }

    .hero-text {
        order: 1;
        flex: 1;
    }

    h1 {
        font-size: 3rem;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-cta-mobile {
        display: none;
    }

    body {
        padding-bottom: 0;
    }
}
