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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #146aff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #ff7214;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1.5;
}

.btn-primary {
    background-color: #146aff;
    color: white;
}

.btn-primary:hover {
    background-color: #0f5acc;
    color: white;
}

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

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

.btn-outline {
    background-color: transparent;
    color: #146aff;
    border: 2px solid #146aff;
}

.btn-outline:hover {
    background-color: #146aff;
    color: white;
}

/* Header */
.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav {
    padding: 1rem;
}

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

.nav-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #146aff;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #333;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #146aff;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #146aff;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #146aff 0%, #ff7214 100%);
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Section Styles */
section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

/* Grid Layouts */
.about-grid,
.benefits-grid,
.recipes-grid,
.reviews-grid,
.values-grid,
.team-grid,
.cert-grid,
.plans-grid,
.principles-grid,
.tips-grid,
.mistakes-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.about-grid,
.benefits-grid,
.recipes-grid,
.reviews-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.values-grid,
.team-grid,
.cert-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.principles-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.tips-grid,
.mistakes-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Card Styles */
.about-card,
.benefit-card,
.recipe-card,
.review-card,
.value-card,
.team-member,
.cert-item,
.plan-card,
.principle-card,
.tip-card,
.mistake-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover,
.benefit-card:hover,
.recipe-card:hover,
.review-card:hover,
.value-card:hover,
.team-member:hover,
.cert-item:hover,
.plan-card:hover,
.principle-card:hover,
.tip-card:hover,
.mistake-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Recipe Cards */
.recipe-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.recipe-content h3 {
    margin-bottom: 0.5rem;
}

.recipe-description {
    color: #666;
    margin-bottom: 1rem;
}

.recipe-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #888;
}

.recipe-ingredients,
.recipe-instructions {
    margin-bottom: 1rem;
}

.recipe-ingredients h4,
.recipe-instructions h4 {
    color: #146aff;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.recipe-ingredients ul,
.recipe-instructions ol {
    padding-left: 1.5rem;
}

.recipe-ingredients li,
.recipe-instructions li {
    margin-bottom: 0.25rem;
}

/* Review Cards */
.review-stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-author {
    font-weight: 600;
    color: #146aff;
    margin-top: 1rem;
}

/* Plan Cards */
.plans-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.plan-card {
    position: relative;
    text-align: center;
    border: 2px solid #f0f0f0;
}

.plan-card.featured {
    border-color: #146aff;
    transform: scale(1.05);
}

.plan-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ff7214;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.plan-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.plan-price {
    margin-bottom: 2rem;
}

.plan-price .price {
    font-size: 3rem;
    font-weight: 700;
    color: #146aff;
}

.plan-price .currency {
    font-size: 1rem;
    color: #666;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    text-align: left;
}

.plan-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-description {
    font-size: 0.9rem;
    color: #666;
    margin-top: 1rem;
}

/* Forms */
.form {
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #146aff;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background-color: #146aff;
    border-color: #146aff;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* Newsletter */
.newsletter {
    background: linear-gradient(135deg, #146aff 0%, #ff7214 100%);
    color: white;
}

.newsletter-content {
    text-align: center;
}

.newsletter-form {
    max-width: 500px;
    margin: 2rem auto 0;
}

.newsletter-form .form-group {
    margin-bottom: 1rem;
}

.newsletter-form input {
    background: rgba(255, 255, 255, 0.9);
    border: none;
}

.newsletter-form input::placeholder {
    color: #666;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item h3 {
    color: #146aff;
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background-color: #2c3e50;
    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,
.footer-section h4 {
    margin-bottom: 1rem;
}

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

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

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

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

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-block;
    padding: 0.5rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: #146aff;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2c3e50;
    color: white;
    padding: 1rem;
    z-index: 1001;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

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

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

.cookie-buttons .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Cookie Modal */
.cookie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1002;
    align-items: center;
    justify-content: center;
}

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

.cookie-modal-content {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

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

.cookie-category:last-of-type {
    border-bottom: none;
}

.cookie-category label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cookie-category p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.cookie-modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

/* Page Headers */
.page-header {
    background: linear-gradient(135deg, #146aff 0%, #ff7214 100%);
    color: white;
    padding: 8rem 0 4rem;
    text-align: center;
}

/* Legal Pages */
.legal-page {
    padding: 6rem 0 4rem;
}

.legal-section {
    margin-bottom: 3rem;
    padding: 0;
}

.legal-section h2,
.legal-section h3 {
    color: #146aff;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-section ul,
.legal-section ol {
    padding-left: 2rem;
    margin-bottom: 1rem;
}

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

.last-updated {
    color: #666;
    font-style: italic;
    margin-bottom: 2rem;
}

/* Thanks Page */
.thanks-page {
    padding: 6rem 0 4rem;
    text-align: center;
}

.thanks-content {
    max-width: 800px;
    margin: 0 auto;
}

.thanks-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 2rem;
}

.thanks-message {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

.thanks-info,
.thanks-contact,
.thanks-resources,
.thanks-social {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
    text-align: left;
}

.next-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.step-number {
    background: #146aff;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    color: #146aff;
    margin-bottom: 0.5rem;
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1rem 0;
}

.contact-option {
    display: block;
    padding: 1rem;
    background: white;
    border-radius: 0.5rem;
    border: 2px solid #e0e0e0;
    transition: border-color 0.3s ease;
}

.contact-option:hover {
    border-color: #146aff;
}

.business-hours {
    background: white;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 1rem;
}

.resource-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.thanks-social {
    text-align: center;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: 0.5rem;
    margin: 0.5rem;
    transition: background-color 0.3s ease;
}

.social-link:hover {
    background-color: #146aff;
    color: white;
}

.thanks-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Recipe Categories */
.recipe-categories {
    background: #f8f9fa;
}

.category-filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: #146aff;
    color: white;
    border-color: #146aff;
}

/* Nutrition Principles */
.nutrition-intro {
    background: #f8f9fa;
}

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

.intro-image {
    width: 100%;
    max-width: 300px;
}

.meal-planning {
    background: #f8f9fa;
}

.meal-schedule {
    max-width: 800px;
    margin: 0 auto;
}

.meal-item {
    display: flex;
    gap: 2rem;
    align-items: center;
    padding: 1.5rem;
    background: white;
    border-radius: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.meal-time {
    font-size: 1.2rem;
    font-weight: 700;
    color: #146aff;
    min-width: 80px;
}

.meal-content {
    flex: 1;
}

.meal-content h3 {
    margin-bottom: 0.5rem;
}

.meal-calories {
    color: #ff7214;
    font-weight: 600;
    font-size: 0.9rem;
}

.daily-summary {
    text-align: center;
    margin-top: 2rem;
    padding: 1rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Company Story */
.story-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.story-image {
    width: 100%;
    max-width: 400px;
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 1rem;
}

.faq-item h3 {
    color: #146aff;
    margin-bottom: 1rem;
}

/* CTA Sections */
.contact-cta,
.newsletter-cta,
.nutrition-cta {
    background: linear-gradient(135deg, #146aff 0%, #ff7214 100%);
    color: white;
    text-align: center;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        padding: 1rem;
        gap: 0;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-hamburger {
        display: flex;
    }

    .nav-hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .cookie-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }

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

    .meal-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .next-steps {
        gap: 1.5rem;
    }

    .step {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .resource-links {
        flex-direction: column;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.5rem;
    }

    .hero {
        padding: 6rem 0 3rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    section {
        padding: 3rem 0;
    }

    .about-grid,
    .benefits-grid,
    .recipes-grid,
    .reviews-grid,
    .values-grid,
    .team-grid,
    .cert-grid,
    .plans-grid,
    .principles-grid,
    .tips-grid,
    .mistakes-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .plan-card.featured {
        transform: none;
    }

    .thanks-icon {
        width: 80px;
        height: 80px;
    }

    .social-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    body {
        word-break: break-word;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

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

.text-right {
    text-align: right;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 2rem; }
.mt-4 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 2rem; }
.mb-4 { margin-bottom: 3rem; }

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cookie-banner,
    .cookie-modal {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    .container {
        max-width: none;
        padding: 0;
    }
}
