/* Base Styles */
:root {
    /* Main color palette */
    --mint-green: #a8e6cf;
    --light-lavender: #dcd6f7;
    --warm-beige: #f8edeb;
    --lime-accent: #b9f18c;
    --coral-accent: #ffb4a2;
    
    /* Secondary colors */
    --dark-mint: #7dcea0;
    --deep-lavender: #a6a0cb;
    --dark-beige: #e8d8c5;
    --dark-text: #333333;
    --light-text: #666666;
    --very-light-bg: #f8f9fa;
    
    /* Font families */
    --heading-font: 'Raleway', sans-serif;
    --body-font: 'Inter', sans-serif;
    
    /* Spacing */
    --section-spacing: 5rem;
    --element-spacing: 1.5rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-text);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 600;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: var(--section-spacing) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--light-text);
    font-weight: 400;
    margin-top: -0.5rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
    font-family: var(--heading-font);
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--mint-green), var(--dark-mint));
    color: #fff;
    box-shadow: 0 4px 15px rgba(168, 230, 207, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(168, 230, 207, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--dark-mint);
    border: 2px solid var(--mint-green);
}

.btn-secondary:hover {
    background: var(--mint-green);
    color: #fff;
    transform: translateY(-3px);
}

.btn-hero {
    background: linear-gradient(135deg, var(--coral-accent), #ff9a8d);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 180, 162, 0.4);
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 180, 162, 0.6);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Header Styles */
#header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

#header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    margin: 0 1rem;
}

.nav-menu a {
    color: var(--dark-text);
    font-weight: 500;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--mint-green);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-text);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, var(--light-lavender), var(--mint-green));
    padding-top: calc(var(--section-spacing) + 70px);
    color: #fff;
    overflow: hidden;
    position: relative;
}

#hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    padding-right: 2rem;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
    color: var(--dark-text);
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.5);
}

.hero-content .subheadline {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--dark-text);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    position: relative;
}

.hero-image img {
    max-width: 90%;
    animation: float 5s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

.wave-separator {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

/* About Section */
#about {
    background-color: #fff;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.7;
}

.about-features {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    min-width: 300px;
}

.feature {
    background-color: var(--warm-beige);
    padding: 1.5rem;
    border-radius: 10px;
    flex: 1 1 calc(50% - 1.5rem);
    min-width: 200px;
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    color: var(--dark-mint);
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* Benefits Section */
#benefits {
    background-color: var(--light-lavender);
    position: relative;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    color: var(--coral-accent);
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    margin-bottom: 1rem;
    color: var(--dark-text);
}

.benefit-card p {
    color: var(--light-text);
}

.benefits-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

/* How It Works Section */
#how-it-works {
    background-color: var(--very-light-bg);
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.step-number {
    background: linear-gradient(135deg, var(--mint-green), var(--dark-mint));
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

.step-image {
    flex: 0 0 150px;
    min-width: 150px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.step-image img {
    width: 100%;
    height: auto;
    display: block;
}

.step-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    flex: 1 1 calc(100% - 150px - 2rem);
}

.step-content p {
    color: var(--light-text);
    flex: 1 1 calc(100% - 150px - 2rem);
}

/* Sample Menu Section */
#sample-menu {
    background-color: var(--mint-green);
    padding-bottom: calc(var(--section-spacing) + 2rem);
}

.menu-container {
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    margin-bottom: 2rem;
}

.menu-tabs {
    display: flex;
    overflow-x: auto;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
}

.menu-tab {
    background: none;
    border: none;
    padding: 0.8rem 1.5rem;
    font-family: var(--heading-font);
    font-size: 1rem;
    font-weight: 600;
    color: var(--light-text);
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50px;
    white-space: nowrap;
}

.menu-tab.active {
    background-color: var(--mint-green);
    color: #fff;
}

.menu-content {
    position: relative;
}

.menu-day {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.menu-day.active {
    display: grid;
}

.meal-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.meal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.meal-card h4 {
    font-size: 1rem;
    text-transform: uppercase;
    color: var(--light-text);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.meal-info h5 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.meal-info p {
    font-size: 0.9rem;
    color: var(--light-text);
    margin-bottom: 1rem;
}

.meal-time {
    font-size: 0.8rem;
    color: var(--dark-mint);
    display: block;
}

.breakfast {
    border-top: 4px solid #ffc107;
}

.lunch {
    border-top: 4px solid #ff6b6b;
}

.dinner {
    border-top: 4px solid #6c5ce7;
}

.snack {
    border-top: 4px solid #a29bfe;
}

.menu-navigation {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.menu-nav {
    background: none;
    border: 2px solid var(--mint-green);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--dark-mint);
}

.menu-nav:hover {
    background-color: var(--mint-green);
    color: #fff;
}

/* Plans Section */
#plans {
    background-color: #fff;
}

.pricing-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.pricing-card {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card.featured {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(168, 230, 207, 0.2);
    border: 2px solid var(--mint-green);
    z-index: 1;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.featured:hover {
    transform: translateY(-10px) scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--coral-accent), #ff9a8d);
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(255, 180, 162, 0.4);
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-mint);
    display: flex;
    justify-content: center;
    align-items: baseline;
}

.currency, .period {
    font-size: 1rem;
    color: var(--light-text);
    font-weight: 400;
}

.period {
    margin-left: 0.3rem;
}

.pricing-features {
    margin-bottom: 2rem;
}

.pricing-features ul {
    list-style-type: none;
}

.pricing-features li {
    padding: 0.8rem 0;
    position: relative;
    padding-left: 1.8rem;
    color: var(--dark-text);
}

.pricing-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--dark-mint);
    font-weight: 700;
}

.pricing-features li.not-included {
    color: var(--light-text);
    text-decoration: line-through;
    opacity: 0.7;
}

.pricing-features li.not-included::before {
    content: "✕";
    color: var(--light-text);
}

.pricing-footer {
    text-align: center;
}

/* FAQ Section */
#faq {
    background-color: var(--warm-beige);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #fff;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question h3 {
    font-size: 1.2rem;
    margin-bottom: 0;
    flex: 1;
    padding-right: 1rem;
}

.toggle-icon {
    font-size: 1.5rem;
    color: var(--dark-mint);
    transition: all 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--light-text);
}

.faq-item.active .toggle-icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* Contact Section */
#contact {
    background-color: #fff;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.contact-form-container {
    flex: 1;
    min-width: 300px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    font-family: var(--body-font);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--mint-green);
    box-shadow: 0 0 0 3px rgba(168, 230, 207, 0.2);
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.info-item {
    margin-bottom: 2rem;
}

.info-icon {
    color: var(--coral-accent);
    margin-bottom: 1rem;
}

.info-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    margin-top: 2rem;
}

/* Newsletter Section */
#newsletter {
    background: linear-gradient(135deg, var(--coral-accent), #ff9a8d);
    padding: 4rem 0;
    color: #fff;
}

.newsletter-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

.newsletter-content {
    flex: 1;
    min-width: 300px;
}

.newsletter-content h2 {
    margin-bottom: 1rem;
}

.newsletter-form {
    flex: 1;
    min-width: 300px;
}

.newsletter-form .form-group {
    display: flex;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1.2rem;
    border: none;
    border-radius: 50px;
    font-family: var(--body-font);
    outline: none;
}

/* Footer */
#footer {
    background-color: var(--dark-text);
    color: #fff;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    flex: 1;
    min-width: 300px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-nav, .footer-legal {
    flex: 1;
    min-width: 200px;
}

.footer-links h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--mint-green);
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: #adb5bd;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--mint-green);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    color: #adb5bd;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-content, .hero-image {
        flex: 1 1 100%;
    }
    
    #hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .hero-image {
        justify-content: center;
    }
    
    .cta-button {
        display: none;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 2rem;
        transition: all 0.5s ease;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        margin: 1.5rem 0;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .step {
        flex-direction: column;
        gap: 1rem;
    }
    
    .step-number {
        margin-bottom: 1rem;
    }
    
    .step-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .step-image {
        width: 100%;
        max-width: none;
        flex-basis: auto;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-image img {
        max-width: 100%;
    }
    
    .newsletter-form .form-group {
        flex-direction: column;
    }
    
    .newsletter-form .btn {
        width: 100%;
    }
}

/* Cookie, Privacy, Terms Pages */
.policy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.policy-content h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f1f1;
}

.policy-content h2 {
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.policy-content p, .policy-content ul, .policy-content ol {
    margin-bottom: 1.5rem;
}

.policy-content ul, .policy-content ol {
    padding-left: 1.5rem;
}

.policy-content ul li, .policy-content ol li {
    margin-bottom: 0.5rem;
}

.policy-page {
    padding-top: calc(70px + 3rem);
    background-color: var(--very-light-bg);
    min-height: 100vh;
}

/* Success Page */
.success-page {
    padding-top: calc(70px + 3rem);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--very-light-bg);
}

.success-container {
    max-width: 600px;
    text-align: center;
    padding: 3rem;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.success-icon {
    color: var(--dark-mint);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.success-container h1 {
    margin-bottom: 1.5rem;
}

.success-container p {
    margin-bottom: 2rem;
}

.success-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}