/* Design Tokens */
:root {
    --primary-color: #e64a19;
    --primary-hover: #bf360c;
    --secondary-color: #2c3e50;
    --text-color: #3e4e5e;
    --bg-light: #fdfbf7;
    --bg-white: #ffffff;
    --accent-color: #81c784;
    --border-color: #eceff1;
    --container-width: 1200px;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --transition: all 0.3s ease-in-out;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--bg-light);
    line-height: 1.6;
}

body.no-scroll {
    overflow: hidden;
}


.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 100px 0;
}

.section--light {
    background-color: var(--bg-white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.section__title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.section__subtitle {
    text-align: center;
    max-width: 700px;
    margin: -1rem auto 3rem;
    font-size: 1.1rem;
    color: #607d8b;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.btn--primary {
    background-color: var(--primary-color);
    color: white;
}

.btn--cta {
    background-color: var(--primary-color);
    color: white;
    padding: 18px 36px;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(230, 74, 25, 0.3);
}

.btn--xl {
    background-color: var(--primary-color);
    color: white;
    padding: 24px 48px;
    font-size: 1.5rem;
    box-shadow: 0 4px 25px rgba(230, 74, 25, 0.4);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 74, 25, 0.5);
    background-color: var(--primary-hover);
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

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

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.logo-highlight {
    color: var(--primary-color);
}

.header__nav a {
    text-decoration: none;
    color: var(--secondary-color);
    margin-left: 2rem;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.header__nav a:hover {
    color: var(--primary-color);
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}


/* Hero Section */
.hero {
    padding: 80px 0;
    background: radial-gradient(circle at top right, #fff9f5 0%, #fdfbf7 100%);
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero__content {
    grid-column: 1 / -1;
    text-align: center;
    margin-bottom: 2rem;
}

.hero__image-wrapper {
    grid-column: 1;
}

.hero__details {
    grid-column: 2;
}


.hero__image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.hero__badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255,255,255,0.9);
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.hero__badge-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.hero__title {
    font-size: 3.5rem;
    line-height: 1.1;
}

.hero__subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.text-accent {
    color: var(--primary-color);
}

.rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.stars {
    color: #ffb300;
    font-size: 1.2rem;
}

.hero__features {
    list-style: none;
    margin-bottom: 2.5rem;
}

.hero__features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.check {
    color: var(--accent-color);
    font-weight: 900;
}

.hero__trust {
    display: flex;
    gap: 30px;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
}

.trust-item img {
    width: 24px;
    opacity: 0.7;
}

/* Benefits Grid (Brain Health) */
.grid--benefits {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-item {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    border-color: var(--primary-color);
}

.benefit-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-content h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.benefit-content p {
    font-size: 1rem;
    color: var(--text-color);
    opacity: 0.9;
}

/* Ingredient Image Placeholder */
.ingredient-img-placeholder {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Ingredients */
.grid--ingredients {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.ingredient-card {
    padding: 30px;
    background: var(--bg-light);
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
}

.ingredient-card h3 {
    margin-bottom: 1rem;
}

/* Comparison Section */
.grid--2col {
    grid-template-columns: 1fr 1fr;
    align-items: center;
}

.comparison__image-container {
    display: flex;
    gap: 15px;
    width: 100%;
}

.comparison__img {
    flex: 1;
    width: 0; /* Ensures images shrink in flex container */
    min-width: 0;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    object-fit: cover;
}

@media (max-width: 600px) {
    .comparison__image-container {
        flex-direction: column;
    }
    .comparison__img {
        width: 100%;
    }
}


.comparison__stats {
    margin-top: 2rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat__num {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
}

.stat__label {
    font-size: 1.1rem;
    font-weight: 500;
}

.disclaimer {
    font-size: 0.75rem;
    margin-top: 1rem;
    color: #90a4ae;
}

/* Progress Timeline */
.timeline {
    margin: 2rem 0;
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary-color), var(--bg-light));
    border-radius: 2px;
}

.timeline__item {
    margin-bottom: 2rem;
    position: relative;
}

.timeline__item::after {
    content: '';
    position: absolute;
    left: -34px;
    top: 6px;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 3px solid white;
}

/* CTA Banner */
.cta-banner {
    background: #0d1a26;
    color: white;
    padding: 100px 0;
    overflow: hidden;
}

.cta-banner__container {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cta-banner__image {
    position: relative;
}

.cta-banner__image img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
}

.cta-banner__image:hover img {
    transform: perspective(1000px) rotateY(0deg);
}

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

.cta-banner__title {
    color: white;
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.cta-banner__subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 500px;
}


/* FAQ Section */
.faq__grid {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq__item {
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.faq__question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
    text-align: left;
    cursor: pointer;
    font-family: var(--font-main);
}

.faq__icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq__item.active .faq__icon {
    transform: rotate(45deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    opacity: 0;
}

.faq__item.active .faq__answer {
    max-height: 200px;
    padding-bottom: 20px;
    opacity: 1;
}

.faq__answer p {
    font-size: 0.95rem;
    color: var(--text-color);
    opacity: 0.8;
}
.footer {
    background: #1a252f;
    color: #cfd8dc;
    padding: 80px 0 40px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer__brand .logo-text {
    color: white;
    display: block;
    margin-bottom: 1rem;
}

.footer h4 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer a {
    color: #cfd8dc;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer a:hover {
    color: var(--primary-color);
}

.footer__disclaimer {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 0.8rem;
}

.footer__disclaimer p {
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero__container, .grid--2col, .footer__grid {
        grid-template-columns: 1fr;
    }
    
    .hero__content {
        order: -1;
        text-align: center;
    }
    
    .hero__features li, .hero__trust {
        justify-content: center;
    }
    
    .hero__title {
        font-size: 2.2rem;
    }
    
    .section__title {
        font-size: 1.8rem;
    }
    
    .cta-banner__title {
        font-size: 2rem;
    }

    .hero__trust {
        flex-wrap: wrap;
        gap: 15px;
    }
}

@media (max-width: 600px) {
    .hero__title {
        font-size: 2rem;
    }
    
    .grid--2col {
        gap: 20px;
    }
    
    .stat__num {
        font-size: 2rem;
    }

    .header__nav {
        display: none;
    }
    
    .grid--body {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero__image-wrapper.fade-up {
    transform: translateX(-30px);
}

.hero__image-wrapper.visible {
    transform: translateX(0);
}

.hero__content.fade-up {
    transform: translateX(30px);
}

.hero__content.visible {
    transform: translateX(0);
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px;
    z-index: 999;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    display: none; /* Shown via JS */
    justify-content: center;
}

.sticky-cta .btn {
    width: 100%;
    max-width: 400px;
}

@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }

    .header__nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease-in-out;
        z-index: 1000;
        padding-bottom: 60px; /* Space for the bottom logo area */
    }

    .header__nav.active {
        right: 0;
    }

    .header__nav a {
        margin: 1.5rem 0;
        font-size: 1.5rem;
        width: 100%;
        text-align: center;
    }

    .header__nav .btn--primary {
        max-width: 250px;
        margin: 2rem auto;
    }
    .hero__container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    
    .hero__content, .hero__image-wrapper, .hero__details {
        grid-column: 1;
        text-align: center;
    }

    .hero__content {
        order: 1;
        margin-bottom: 1rem;
    }

    .hero__image-wrapper {
        order: 2;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero__details {
        order: 3;
    }

    .hero__features li {
        justify-content: center;
    }

    /* CTA Banner Mobile */
    .cta-banner__container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .cta-banner__content {
        text-align: center;
    }

    .cta-banner__subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .cta-banner__image img {
        transform: none;
    }
    
    .cta-banner__image {
        max-width: 400px;
        margin: 0 auto;
    }
}



