/* --- CSS Variables & Resets --- */
:root {
    /* Colors */
    --clr-cream: #faf8f2;
    --clr-dark-green: #1e6032;
    --clr-primary-green: #27793e;
    --clr-accent-yellow: #e1b12c;
    --clr-text-dark: #1a202c;
    --clr-text-light: #ffffff;
    --clr-text-muted: #4a5568;

    /* Nutrition Grid Backgrounds */
    --bg-light-green: #e6f4ea;
    --bg-light-orange: #fff4e6;
    --bg-light-purple: #f3e8ff;
    --bg-light-blue: #e6f7ff;
    --bg-light-orange-alt: #fffaf0;
    --bg-light-red: #ffebe6;

    /* Typography */
    --font-sans: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;

    /* Spacing & Layout */
    --max-width: 1200px;
    --section-padding: 5rem 2rem;
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    color: var(--clr-text-dark);
    background-color: var(--clr-cream);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

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

/* --- Utilities --- */
.text-center {
    text-align: center;
}

.text-green {
    color: var(--clr-dark-green);
}

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

.text-light {
    color: var(--clr-text-light);
}

.text-red {
    color: #e53e3e;
}

.text-purple {
    color: #805ad5;
}

.bg-cream {
    background-color: var(--clr-cream);
}

.bg-dark-green {
    background-color: var(--clr-dark-green);
}

.italic-serif {
    font-family: var(--font-serif);
    font-style: italic;
}

.section-padding {
    padding: var(--section-padding);
}

.bold {
    font-weight: 700;
}

.small-text {
    font-size: 0.85rem;
    line-height: 1.4;
    color: var(--clr-text-muted);
}

/* --- Typography --- */
h1,
h2,
h3,
h4 {
    color: var(--clr-text-dark);
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

h2.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.bg-dark-green h1,
.bg-dark-green h2,
.bg-dark-green h3,
.bg-dark-green h4 {
    color: var(--clr-text-light);
}

.section-subtitle {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--clr-dark-green);
    color: var(--clr-text-light);
}

.btn-primary:hover {
    background-color: var(--clr-primary-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 96, 50, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--clr-dark-green);
    border: 1px solid var(--clr-dark-green);
}

.btn-outline:hover {
    background-color: var(--clr-dark-green);
    color: var(--clr-text-light);
}

.btn-icon i {
    margin-right: 8px;
}

/* --- Navbar --- */
.navbar {
    background-color: var(--clr-cream);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 80px;
    width: auto;
}

.hero-product-img {
    max-height: 400px;
    width: auto;
    object-fit: contain;
    z-index: 2;
    position: relative;
    transform: rotate(2deg);
    transition: transform 0.5s ease;
}

.hero-product-img:hover {
    transform: rotate(0deg) scale(1.05);
}

.logo-icon {
    font-size: 2rem;
    color: var(--clr-accent-yellow);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-brand {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--clr-dark-green);
    letter-spacing: 1px;
}

.logo-sub {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--clr-text-muted);
}

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

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

.nav-links a {
    font-weight: 500;
    color: var(--clr-text-dark);
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--clr-dark-green);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--clr-dark-green);
    cursor: pointer;
}

/* --- Hero Section --- */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
    min-height: 80vh;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: rgba(225, 177, 44, 0.15);
    color: var(--clr-dark-green);
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(225, 177, 44, 0.3);
}

.hero-text {
    font-size: 1.2rem;
    color: var(--clr-text-muted);
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.trust-icons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.trust-icon-group {
    display: flex;
    gap: 0.2rem;
    font-size: 1.5rem;
}

.trust-text {
    font-size: 0.9rem;
    line-height: 1.2;
}

.trust-text strong {
    color: var(--clr-text-dark);
}

.trust-text span {
    color: var(--clr-text-muted);
}

.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 500px;
}

.abstract-shape {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #e1c485 0%, #b8914c 100%);
    border-radius: 50%;
    right: 50px;
    z-index: 1;
    box-shadow: inset -20px -20px 40px rgba(0, 0, 0, 0.2), 10px 10px 30px rgba(0, 0, 0, 0.1);
}

.abstract-shape::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 30px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    bottom: -40px;
    left: 50px;
    filter: blur(10px);
}

.product-packet-mockup {
    position: relative;
    z-index: 2;
    background-color: white;
    width: 280px;
    height: 400px;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: rotate(2deg);
    transition: transform 0.5s ease;
}

.product-packet-mockup:hover {
    transform: rotate(0deg) scale(1.05);
}

.mockup-header {
    background-color: #f1f1f1;
    height: 100px;
    position: relative;
    border-bottom: 4px solid var(--clr-dark-green);
}

.mockup-tag {
    position: absolute;
    top: 10px;
    right: -30px;
    background-color: var(--clr-accent-yellow);
    color: var(--clr-text-dark);
    font-weight: bold;
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.mockup-body {
    padding: 20px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-image: url('data:image/svg+xml;utf8,<svg opacity="0.05" xmlns="http://www.w3.org/2000/svg" width="10" height="10"><circle cx="5" cy="5" r="1"/></svg>');
}

.mockup-body h2 {
    font-size: 1.5rem;
    color: var(--clr-dark-green);
    margin-bottom: 5px;
    line-height: 1.1;
}

.mockup-body h3 {
    font-size: 1rem;
    background-color: var(--clr-dark-green);
    color: white;
    padding: 5px;
    margin-bottom: 10px;
}

.mockup-features {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 0.8rem;
    text-align: left;
}

.mockup-features span i {
    color: var(--clr-dark-green);
}

/* --- Trust Banner --- */
.trust-banner {
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background-color: var(--clr-cream);
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--clr-dark-green);
}

.trust-item i {
    color: var(--clr-accent-yellow);
    font-size: 1.2rem;
}

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

.highlight-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.icon-wrapper {
    width: 50px;
    height: 50px;
    background-color: rgba(30, 96, 50, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.icon-wrapper i {
    color: var(--clr-dark-green);
    font-size: 1.5rem;
}

.highlight-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.highlight-card p {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
}

/* --- Mission --- */
.mission-container {
    max-width: 800px;
}

.mission p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.mission-quote {
    font-size: 1.5rem;
    margin-top: 3rem;
}

/* --- Nutrition Section --- */
.nutrition-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.nutrition-visual {
    flex: 1.2;
}

.label-mockup {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.label-left {
    flex: 1;
}

.label-right {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.nutrition-table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
    font-size: 0.8rem;
}

.nutrition-table th,
.nutrition-table td {
    border-bottom: 1px solid #e2e8f0;
    padding: 6px 2px;
    text-align: left;
}

.nutrition-table th {
    font-weight: 600;
    color: var(--clr-text-muted);
}

.total-protein {
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
}

.label-claims {
    margin-top: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.8;
}

.label-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #e2e8f0;
    padding-top: 15px;
}

.brand-info .logo-text {
    transform: scale(0.8);
    transform-origin: left top;
}

.contact-info {
    font-size: 0.75rem;
    margin-top: 5px;
}

.product-info {
    font-size: 0.75rem;
    text-align: right;
}

.product-info p {
    margin-bottom: 4px;
}

.nutrition-content {
    flex: 1;
}

.section-desc {
    color: var(--clr-text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.protein-box {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.protein-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.protein-badge {
    background-color: var(--clr-dark-green);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

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

.ingredient-card {
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
}

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

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

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

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

.bg-light-orange-alt {
    background-color: var(--bg-light-orange-alt);
}

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

.ing-value {
    font-weight: 700;
}

.footnote {
    font-size: 0.8rem;
    color: var(--clr-text-muted);
    text-align: center;
}

/* --- Footer --- */
.footer {
    padding: 4rem 2rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    margin: 1.5rem 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--clr-accent-yellow);
    color: var(--clr-dark-green);
    transform: translateY(-3px);
}

.footer h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--clr-accent-yellow);
}

.footer-promise ul li {
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-promise i {
    font-size: 0.5rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* --- Floating Chat --- */
.floating-chat {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 100;
    transition: var(--transition);
}

.floating-chat:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.floating-chat i {
    font-size: 1.2rem;
}

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

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .nutrition-container {
        flex-direction: column;
    }

    .nutrition-visual {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 1rem;
    }

    .label-mockup {
        min-width: 800px;
    }
}

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 2rem;
        gap: 3rem;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .trust-icons {
        justify-content: center;
    }

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

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background-color: var(--clr-cream);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-links {
        flex-direction: column;
        gap: 1.5rem;
    }

    .trust-banner {
        flex-direction: column;
        gap: 1.5rem;
    }

    .ingredients-grid {
        grid-template-columns: 1fr;
    }

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