/* Basic reset and typography */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    max-width: 180px;
    height: auto;
}

/* Hero */
.hero {
    text-align: center;
    padding: 60px 0 40px;
    background-color: #ffffff;
}

.hero-product {
    max-width: 250px;
    height: auto;
    margin-top: 20px;
}

.headline {
    font-size: 2.8rem;
    color: #000;
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.2;
}

.subheadline {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 30px;
}

/* Titles */
h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
    color: #000;
}

.section-desc {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1rem;
    color: #666;
}

/* Product Intro / Ingredients */
.product-intro {
    padding: 50px 0;
    background-color: #f4f4f4;
}

.ingredients-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.ingredient-item {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    width: 180px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

.ingredient-item:hover {
    transform: translateY(-5px);
}

.ingredient-item img {
    width: 100px;
    height: auto;
    margin-bottom: 15px;
}

.ingredient-item h3 {
    font-size: 1rem;
    color: #333;
}

/* Pricing Grid */
.pricing {
    padding: 60px 0;
    background-color: #fff;
    text-align: center;
}

.pricing h2 {
    color: #c0392b;
    font-size: 2.2rem;
}

.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.pricing-card {
    border: 2px solid #eee;
    padding: 20px;
    border-radius: 15px;
    background: #fff;
    width: 300px;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.pricing-card.popular {
    border-color: #f1c40f;
    background-color: #fffdf0;
    transform: scale(1.05);
    z-index: 10;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: bold;
    color: #c0392b;
    margin-bottom: 10px;
    line-height: 1;
}

.pricing-card img {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
}

.btn-buy img {
    max-width: 220px;
    width: 100%;
    margin-top: 15px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-buy img:hover {
    opacity: 0.9;
}

/* FAQ */
.faq {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.faq-item {
    background: #fff;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #2c3e50;
    outline: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: #888;
}

.faq-question.active::after {
    content: '-';
}

.faq-answer {
    padding: 0 20px 20px;
    display: none;
    color: #555;
    line-height: 1.6;
    border-top: 1px solid #eee;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #999;
    padding: 40px 0;
    text-align: center;
    font-size: 0.9rem;
}

.footer-links {
    margin-bottom: 20px;
}

.footer a {
    color: #ccc;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.2s;
}

.footer a:hover {
    color: #fff;
}

.copyright {
    color: #555;
}

/* Responsive */
@media (max-width: 768px) {
    .pricing-grid {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card.popular {
        transform: scale(1);
    }

    .headline {
        font-size: 2rem;
    }
}

/* Cookie Popup */
.cookie-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.cookie-overlay.show {
    opacity: 1;
    visibility: visible;
}

.cookie-popup {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 400px;
    text-align: center;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.cookie-overlay.show .cookie-popup {
    transform: scale(1);
}

.cookie-popup h3 {
    margin-bottom: 15px;
    color: #2c3e50;
    font-size: 1.5rem;
}

.cookie-popup p {
    margin-bottom: 25px;
    color: #666;
    font-size: 0.95rem;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-cookie {
    padding: 10px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-family: inherit;
    transition: all 0.2s;
}

.btn-cookie.accept {
    background-color: #c0392b;
    /* Match theme red */
    color: white;
}

.btn-cookie.accept:hover {
    background-color: #a93226;
}

.btn-cookie.decline {
    background-color: #eee;
    color: #555;
}

.btn-cookie.decline:hover {
    background-color: #ddd;
}