/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2C4A3B;
    background-color: #F4F1E8;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3 {
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    line-height: 1.5;
}

a {
    color: #7C9885;
    text-decoration: none;
}

a:hover {
    color: #E85A4F;
    text-decoration: underline;
}

/* Header */
.header {
    background-color: #fff;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(124, 152, 133, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    width: 60px;
    height: 60px;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2C4A3B;
    margin-bottom: 0;
}

.brand-name a {
    color: #2C4A3B;
    text-decoration: none;
}

.brand-name a:hover {
    color: #7C9885;
    text-decoration: none;
}

.tagline {
    font-size: 0.875rem;
    color: #7C9885;
    margin-bottom: 0;
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: linear-gradient(135deg, #F4F1E8 0%, #E8E4D6 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h2 {
    font-size: 3rem;
    color: #2C4A3B;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #5A5A5A;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: #7C9885;
    color: white;
}

.btn-primary:hover {
    background-color: #6A8373;
    text-decoration: none;
}

.btn-secondary {
    background-color: #E85A4F;
    color: white;
}

.btn-secondary:hover {
    background-color: #D64436;
    text-decoration: none;
}

.hero-image,
.image-placeholder {
    background-color: #D9E2DC;
    border: 2px dashed #7C9885;
    border-radius: 12px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7C9885;
    font-weight: 500;
}

/* About Section */
.about {
    padding: 4rem 0;
    background-color: white;
}

/* Centered sections */
.centered-section {
    text-align: center;
}

.centered-section .container > h2 {
    text-align: center;
}

.centered-section .container > p {
    text-align: center;
}

.about h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #2C4A3B;
}

.about > .container > p {
    text-align: center;
    font-size: 1.25rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.feature {
    text-align: center;
    padding: 2rem;
    background-color: #F9F7F4;
    border-radius: 12px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

/* Products Section */
.products {
    padding: 4rem 0;
    background-color: #F4F1E8;
}

.products h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2C4A3B;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    background-color: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(124, 152, 133, 0.1);
}

.product-image {
    margin-bottom: 1.5rem;
}

.product-image .image-placeholder {
    height: 200px;
}

.product-card h3 {
    color: #2C4A3B;
    margin-bottom: 1rem;
}

.product-card p {
    color: #5A5A5A;
    margin-bottom: 1.5rem;
}

.price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #E85A4F;
    margin-bottom: 1.5rem;
}

.product-card .btn {
    width: 100%;
    text-align: center;
}

/* Subscription Section */
.subscription {
    padding: 4rem 0;
    background-color: white;
}

.subscription h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2C4A3B;
}

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

.plan {
    background-color: #F9F7F4;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.plan h3 {
    color: #2C4A3B;
    margin-bottom: 1rem;
}

.plan-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.plan-features span {
    color: #7C9885;
    font-size: 0.9rem;
}

/* How It Works */
.how-it-works {
    padding: 4rem 0;
    background-color: #F4F1E8;
}

.how-it-works h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2C4A3B;
}

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

.step {
    text-align: center;
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #E85A4F;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

/* Why Choose Us */
.why-choose-us {
    padding: 4rem 0;
    background-color: white;
}

.why-choose-us h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2C4A3B;
}

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

.reason {
    text-align: center;
    padding: 2rem;
}

/* Sustainability */
.sustainability {
    padding: 4rem 0;
    background-color: #F4F1E8;
}

.sustainability-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.sustainability-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #E85A4F;
}

.stat-label {
    font-size: 0.9rem;
    color: #7C9885;
}

.sustainability-image {
    height: 300px;
}

/* Testimonials */
.testimonials {
    padding: 4rem 0;
    background-color: white;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2C4A3B;
}

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

.testimonial {
    background-color: #F9F7F4;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 1rem;
    color: #2C4A3B;
}

.testimonial cite {
    font-size: 0.9rem;
    color: #7C9885;
}

/* Contact Section */
.contact {
    padding: 4rem 0;
    background-color: #F4F1E8;
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2C4A3B;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.contact-item {
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
}

.contact-item h3 {
    color: #2C4A3B;
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background-color: #2C4A3B;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #F4F1E8;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #B8C5BB;
}

.footer-section a:hover {
    color: #F4F1E8;
}

.footer-bottom {
    border-top: 1px solid #4A6B57;
    padding-top: 1rem;
    text-align: center;
    color: #B8C5BB;
}

/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2C4A3B;
    color: white;
    padding: 1rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-banner-text {
    flex: 1;
}

.cookie-banner-text p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.cookie-banner-text a {
    color: #B8C5BB;
    text-decoration: underline;
}

.cookie-banner-buttons {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.cookie-btn-accept {
    background-color: #7C9885;
    color: white;
}

.cookie-btn-accept:hover {
    background-color: #6A8373;
}

.cookie-btn-reject {
    background-color: transparent;
    color: #B8C5BB;
    border: 1px solid #B8C5BB;
}

.cookie-btn-reject:hover {
    background-color: #B8C5BB;
    color: #2C4A3B;
}

.cookie-btn-customize {
    background-color: #E85A4F;
    color: white;
}

.cookie-btn-customize:hover {
    background-color: #D64436;
}

/* Cookie Preferences Modal */
.cookie-preferences-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.cookie-preferences-modal.show {
    display: flex;
}

.cookie-preferences-content {
    background-color: white;
    border-radius: 12px;
    padding: 2rem;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-preferences-content h3 {
    color: #2C4A3B;
    margin-bottom: 1rem;
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid #D9E2DC;
    border-radius: 8px;
}

.cookie-category h4 {
    color: #2C4A3B;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cookie-category p {
    color: #5A5A5A;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 24px;
}

.cookie-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .cookie-slider {
    background-color: #7C9885;
}

input:checked + .cookie-slider:before {
    transform: translateX(26px);
}

input:disabled + .cookie-slider {
    background-color: #7C9885;
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-preferences-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #D9E2DC;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .sustainability-content {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .sustainability-stats {
        justify-content: center;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-banner-buttons {
        justify-content: center;
    }
    
    .cookie-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .cookie-preferences-content {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .cookie-preferences-buttons {
        flex-direction: column;
    }
}