/* ===== BONOAT BRAND TYPOGRAPHY & COLORS ===== */

/* @font-face declarations for custom brand fonts */
@font-face {
    font-family: 'Yellix';
    src: url('/fonts/Yellix-TRIAL-BOLD.otf') format('opentype'),
         url('/fonts/Yellix-TRIAL-BOLD.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Greed Narrow';
    src: url('/fonts/GreedNarrow-TRIAL-Medium.otf') format('opentype'),
         url('/fonts/GreedNarrow-TRIAL-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

/* ===== COLOR PALETTE ===== */
:root {
    /* Primary Colors */
    --primary-base: #F7ECDA;      /* Cream/background */
    --primary-inverted: #47262C;  /* Dark burgundy text/headers */

    /* Energising (Accent/CTA) */
    --energising-base: #FFD140;   /* Yellow accent */
    --energising-inverted: #863A20; /* Dark orange */

    /* Gut Health (Red Fruits) */
    --gut-health-base: #E8A9CC;   /* Pink */
    --gut-health-inverted: #6F1D46; /* Deep burgundy */

    /* Focus (Cocoa/Pecan) */
    --focus-base: #D0D0AA;        /* Sage/tan */
    --focus-inverted: #502C1E;    /* Dark brown */

    /* Calm (Banana/Walnut) */
    --calm-base: #C0DF88;         /* Green */
    --calm-inverted: #235B4E;     /* Deep teal */
}

/* ===== TYPOGRAPHY ===== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Greed Narrow', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--primary-inverted);
    background: var(--primary-base);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Headings use Yellix */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Yellix', 'Greed Narrow', sans-serif;
    letter-spacing: -0.02em;
}

h1 {
    font-weight: 700;
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 1.05;
    color: var(--primary-inverted);
    margin-bottom: 1.5rem;
}

h2 {
    font-weight: 700;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.2;
    color: var(--primary-inverted);
    margin-bottom: 1.5rem;
}

h3 {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-inverted);
    margin-bottom: 1rem;
}

p {
    color: var(--primary-inverted);
    font-weight: 400;
}

/* Links and CTAs */
a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

/* ===== NAVIGATION ===== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(20px);
    background: rgba(247, 236, 218, 0.85);
    border-bottom: 1px solid rgba(71, 38, 44, 0.1);
}

.logo {
    font-family: 'Yellix', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.03em;
    color: var(--primary-inverted);
}

.logo span {
    color: var(--energising-base);
}

.nav-tagline {
    font-size: 0.75rem;
    color: var(--primary-inverted);
    opacity: 0.7;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 500;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
}

.nav-links a {
    font-size: 0.85rem;
    color: var(--primary-inverted);
    text-decoration: none;
    letter-spacing: 0.01em;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--energising-base);
}

.nav-links .nav-cta {
    font-size: 0.8rem;
    color: var(--primary-base);
    background: var(--energising-base);
    padding: 0.6rem 1.3rem;
    border-radius: 100px;
    font-weight: 600;
    transition: background 0.2s, transform 0.2s;
}

.nav-links .nav-cta:hover {
    background: var(--energising-inverted);
    color: var(--primary-base);
    transform: translateY(-2px);
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
    background: var(--primary-base);
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -15%;
    width: 70vw;
    height: 70vw;
    max-width: 800px;
    max-height: 800px;
    background: radial-gradient(circle, var(--energising-base) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.08;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 40vw;
    height: 40vw;
    max-width: 500px;
    max-height: 500px;
    background: radial-gradient(circle, rgba(196, 223, 136, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero-label {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--focus-inverted);
    background: rgba(208, 208, 170, 0.15);
    padding: 0.6rem 1.2rem;
    border-radius: 100px;
    margin-bottom: 2rem;
    font-weight: 600;
}

.hero-sub {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--primary-inverted);
    max-width: 540px;
    font-weight: 400;
}

/* ===== DIVIDER ===== */
.divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--energising-base), transparent);
}

.divider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--energising-base);
}

/* ===== MANIFESTO SECTION ===== */
.manifesto {
    padding: 6rem 2rem;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    background: var(--primary-base);
}

.manifesto h2 {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    line-height: 1.35;
    margin-bottom: 2rem;
}

.manifesto p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--primary-inverted);
    font-weight: 400;
}

.manifesto .strike {
    text-decoration: line-through;
    opacity: 0.5;
}

.manifesto .highlight {
    color: var(--energising-inverted);
    font-weight: 600;
}

/* ===== PRODUCTS SECTION ===== */
.products {
    padding: 4rem 2rem 6rem;
    background: linear-gradient(180deg, var(--primary-base) 0%, rgba(247, 236, 218, 0.8) 100%);
}

.products-header {
    text-align: center;
    margin-bottom: 4rem;
}

.products-header h2 {
    color: var(--primary-inverted);
    margin-bottom: 0.75rem;
}

.products-header p {
    color: var(--primary-inverted);
    font-weight: 400;
    font-size: 1rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 960px;
    margin: 0 auto;
}

.product-card {
    background: var(--primary-base);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(71, 38, 44, 0.08);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(71, 38, 44, 0.1);
}

/* Top border bar with flavor-specific colors */
.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
}

/* Focus (Cocoa/Pecan) - 1st card */
.product-card:nth-child(1)::before {
    background: linear-gradient(90deg, var(--focus-base), var(--focus-inverted));
}

/* Gut Health (Red Fruits) - 2nd card */
.product-card:nth-child(2)::before {
    background: linear-gradient(90deg, var(--gut-health-base), var(--gut-health-inverted));
}

/* Calm (Banana/Walnut) - 3rd card */
.product-card:nth-child(3)::before {
    background: linear-gradient(90deg, var(--calm-base), var(--calm-inverted));
}

.product-emoji {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
    display: block;
}

.product-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: var(--primary-inverted);
}

.product-card .ingredients {
    font-size: 0.9rem;
    color: var(--primary-inverted);
    font-weight: 400;
    line-height: 1.7;
}

.product-card .tag {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.4rem 0.9rem;
    border-radius: 100px;
    font-weight: 600;
}

/* Tag colors match flavor themes */
.product-card:nth-child(1) .tag {
    background: rgba(208, 208, 170, 0.2);
    color: var(--focus-inverted);
}

.product-card:nth-child(2) .tag {
    background: rgba(232, 169, 204, 0.2);
    color: var(--gut-health-inverted);
}

.product-card:nth-child(3) .tag {
    background: rgba(192, 223, 136, 0.2);
    color: var(--calm-inverted);
}

/* ===== VALUES SECTION ===== */
.values {
    padding: 6rem 2rem;
    background: var(--primary-inverted);
    color: var(--primary-base);
}

.values-inner {
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.values h2 {
    color: var(--primary-base);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
}

.values h2 em {
    font-style: normal;
    color: var(--energising-base);
    font-weight: 700;
}

.values-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.values-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.values-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    background: rgba(255, 209, 64, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.values-list h4 {
    font-family: 'Yellix', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--primary-base);
}

.values-list p {
    font-size: 0.9rem;
    color: rgba(247, 236, 218, 0.85);
    font-weight: 400;
    line-height: 1.6;
}

/* ===== FIBER SECTION ===== */
.fiber {
    padding: 6rem 2rem;
    text-align: center;
    background: var(--primary-base);
    position: relative;
}

.fiber::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    max-width: 600px;
    max-height: 600px;
    background: radial-gradient(circle, rgba(255, 209, 64, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.fiber-inner {
    position: relative;
    max-width: 640px;
    margin: 0 auto;
    z-index: 1;
}

.fiber-number {
    font-family: 'Yellix', sans-serif;
    font-weight: 700;
    font-size: clamp(4rem, 10vw, 7rem);
    letter-spacing: -0.04em;
    color: var(--energising-base);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.fiber-number span {
    font-size: 0.4em;
    vertical-align: super;
    color: var(--energising-inverted);
}

.fiber-stat {
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary-inverted);
    margin-bottom: 2rem;
    font-weight: 600;
}

.fiber p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--primary-inverted);
    font-weight: 400;
}

/* ===== CLOSING SECTION ===== */
.closing {
    padding: 6rem 2rem 4rem;
    text-align: center;
    background: linear-gradient(180deg, var(--primary-base) 0%, rgba(247, 236, 218, 0.9) 100%);
}

.closing h2 {
    color: var(--primary-inverted);
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.closing p {
    font-size: 1rem;
    color: var(--primary-inverted);
    font-weight: 400;
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.8;
}

.closing a {
    display: inline-block;
    padding: 0.85rem 1.75rem;
    border-radius: 100px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Greed Narrow', sans-serif;
    transition: all 0.2s;
    margin: 0.5rem;
}

.closing a:first-of-type {
    background: var(--energising-base);
    color: var(--primary-inverted);
}

.closing a:first-of-type:hover {
    background: var(--energising-inverted);
    color: var(--primary-base);
    transform: translateY(-2px);
}

.closing a:last-of-type {
    background: transparent;
    color: var(--primary-inverted);
    border: 2px solid var(--primary-inverted);
}

.closing a:last-of-type:hover {
    background: var(--primary-inverted);
    color: var(--primary-base);
    border-color: var(--primary-inverted);
}

.origin {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2.5rem;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary-inverted);
    opacity: 0.6;
    font-weight: 500;
}

/* ===== FOOTER ===== */
footer {
    padding: 2rem;
    text-align: center;
    background: rgba(247, 236, 218, 0.6);
    border-top: 1px solid rgba(71, 38, 44, 0.1);
}

footer p {
    font-size: 0.75rem;
    color: var(--primary-inverted);
    opacity: 0.6;
    font-weight: 400;
}

/* ===== CONTACT FORM STYLES ===== */
.contact-section {
    padding: 4rem 2rem;
    max-width: 600px;
    margin: 0 auto;
    background: var(--primary-base);
}

.contact-section h1 {
    text-align: center;
    margin-bottom: 1rem;
}

.contact-section p {
    text-align: center;
    color: var(--primary-inverted);
    margin-bottom: 3rem;
    font-weight: 400;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

label {
    font-weight: 600;
    color: var(--primary-inverted);
    font-size: 0.95rem;
    display: block;
    margin-bottom: 0.5rem;
}

input, select, textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(71, 38, 44, 0.2);
    border-radius: 8px;
    font-family: 'Greed Narrow', sans-serif;
    font-size: 0.95rem;
    color: var(--primary-inverted);
    background: rgba(255, 209, 64, 0.03);
    transition: border-color 0.2s, background 0.2s;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--energising-base);
    background: rgba(255, 209, 64, 0.08);
    box-shadow: 0 0 0 3px rgba(255, 209, 64, 0.1);
}

input::placeholder, textarea::placeholder {
    color: rgba(71, 38, 44, 0.4);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

button {
    background: var(--energising-base);
    color: var(--primary-inverted);
    padding: 0.9rem 1.5rem;
    border: none;
    border-radius: 100px;
    font-family: 'Greed Narrow', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

button:hover {
    background: var(--energising-inverted);
    color: var(--primary-base);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 209, 64, 0.3);
}

.form-success {
    background: rgba(192, 223, 136, 0.15);
    color: var(--calm-inverted);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--calm-base);
    font-weight: 500;
}

.form-error {
    background: rgba(232, 169, 204, 0.15);
    color: var(--gut-health-inverted);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--gut-health-base);
    font-weight: 500;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    nav {
        padding: 1rem 1.25rem;
    }

    .nav-tagline {
        display: none;
    }

    .nav-links {
        gap: 1.25rem;
    }

    .nav-links li:first-child {
        display: none;
    }

    .hero {
        padding: 7rem 1.5rem 3rem;
        min-height: 85vh;
    }

    .hero-sub {
        font-size: 1.1rem;
    }

    .manifesto {
        padding: 4rem 1.5rem;
    }

    .products {
        padding: 3rem 1.5rem 4rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 400px;
    }

    .product-card {
        padding: 2rem 1.5rem;
    }

    .values {
        padding: 4rem 1.5rem;
    }

    .values-inner {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .fiber {
        padding: 4rem 1.5rem;
    }

    .closing {
        padding: 4rem 1.5rem 3rem;
    }

    .contact-section {
        padding: 3rem 1.5rem;
    }
}
