:root {
    --primary: #047857;
    /* Emerald 700 */
    --primary-light: #10b981;
    /* Emerald 500 */
    --primary-dark: #064e3b;
    /* Emerald 900 */
    --gold: #c5a059;
    /* Premium Gold */
    --gold-light: #eecf8a;
    --bg-warm: #fdfbf7;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.6);
    --shadow-soft: 0 10px 30px -10px rgba(4, 120, 87, 0.15);
    --shadow-hover: 0 20px 40px -12px rgba(4, 120, 87, 0.25);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-warm);
    color: var(--text-main);
    overflow-x: hidden;
}

.brand-title {
    font-family: 'Teko', sans-serif;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.smooth-scroll {
    scroll-behavior: smooth;
}

/* --- Navigation --- */
.nav-link {
    position: relative;
    padding-bottom: 4px;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link.active {
    color: var(--primary-dark);
    font-weight: 600;
}

/* --- Utilities --- */
.text-gold {
    color: var(--gold);
}

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

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
}

/* --- Buttons --- */
.interactive-cta {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(4, 120, 87, 0.3);
}

.interactive-cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.interactive-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(197, 160, 89, 0.4);
    color: #fff;
    /* Ensure text stays white */
}

.interactive-cta:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* --- Header Scrolled State --- */
#site-header.header-scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* --- Hero Section --- */
.hero-bg {
    background: radial-gradient(circle at 10% 20%, rgba(16, 185, 129, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(197, 160, 89, 0.08) 0%, transparent 40%);
    position: relative;
    overflow: hidden;
}

/* Floating Elements */
.floating {
    animation: float 6s ease-in-out infinite;
}

.floating-slow {
    animation: float 8s ease-in-out infinite reverse;
}

/* Abstract Blobs */
.blob {
    position: absolute;
    filter: blur(80px);
    z-index: 0;
    opacity: 0.6;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(16, 185, 129, 0.2);
    animation: blobMove 20s infinite alternate;
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(197, 160, 89, 0.15);
    animation: blobMove 15s infinite alternate-reverse;
}

/* --- Animations --- */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes blobMove {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 30px) scale(1.1);
    }
}

@keyframes spinSlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Reveal Animations */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.2, 1, 0.3, 1), transform 1s cubic-bezier(0.2, 1, 0.3, 1);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Cards --- */
.feature-card {
    background: #fff;
    border-radius: 24px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

/* --- Ingredients --- */
.ingredient-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem 1rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.ingredient-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.ingredient-ring {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: var(--bg-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
}

.ingredient-ring::after {
    content: "";
    position: absolute;
    inset: -10px;
    border: 1px dashed var(--primary-light);
    border-radius: 50%;
    animation: spinSlow 20s linear infinite;
}

/* --- Slider --- */
.slider-container {
    position: relative;
    width: 100%;
    max-width: 700px;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.15);
}

.slider-img {
    display: none;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #f9fafb;
    animation: zoomIn 10s linear infinite alternate;
}

.slider-img.active {
    display: block;
}

@keyframes zoomIn {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

/* --- Slider Buttons --- */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.slider-btn.left {
    left: 16px;
}

.slider-btn.right {
    right: 16px;
}

/* --- Grid Systems --- */
.grid-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.ingredient-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

/* --- Loader --- */
.loader {
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* --- Mobile --- */
@media (max-width: 768px) {
    .hero-bg {
        text-align: center;
    }

    .slider-container {
        aspect-ratio: 3 / 4;
        max-width: 100%;
    }
}

/* --- New Utilities --- */
.font-display {
    font-family: 'Teko', sans-serif;
    letter-spacing: 0.5px;
}

.bg-hero-pattern {
    background-image: radial-gradient(#047857 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Blob Animation */
.animate-blob {
    animation: blob 7s infinite;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

@keyframes blob {
    0% {
        transform: translate(0px, 0px) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    100% {
        transform: translate(0px, 0px) scale(1);
    }
}

/* --- Thumbnail Gallery --- */
.thumbnail.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(4, 120, 87, 0.2);
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* --- New Animations --- */
@keyframes bounce-subtle {

    0%,
    100% {
        transform: translateY(-5%) scale(1);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }

    50% {
        transform: translateY(0) scale(1);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

.animate-bounce-subtle {
    animation: bounce-subtle 2s infinite;
}