/* ==========================================================================
   Design System & Variable Definitions (Soft Pastels)
   ========================================================================== */
:root {
    /* Soft Pastel Hues */
    --color-bg: #FAF9F6;
    --color-surface: #FFFFFF;
    --color-text-dark: hsl(225, 18%, 24%);    /* Deep Slate Charcoal */
    --color-text-light: hsl(225, 8%, 48%);
    --color-primary: hsl(14, 60%, 75%);        /* Pastel Peach Terracotta */
    --color-primary-hover: hsl(14, 52%, 66%);
    --color-primary-light: hsl(14, 60%, 96%);
    --color-secondary: hsl(150, 26%, 82%);      /* Pastel Sage Green */
    --color-secondary-hover: hsl(150, 24%, 60%);
    --color-secondary-light: hsl(150, 26%, 95%);
    --color-gold: hsl(38, 80%, 85%);           /* Pastel Honey Gold */
    --color-gold-light: hsl(38, 80%, 97%);
    --color-border: rgba(45, 49, 66, 0.08);
    --color-white: #FFFFFF;
    
    /* Shadows */
    --shadow-sm: 0 4px 16px rgba(45, 49, 66, 0.02);
    --shadow-md: 0 12px 30px rgba(45, 49, 66, 0.04);
    --shadow-lg: 0 20px 50px rgba(45, 49, 66, 0.07);
    --shadow-primary: 0 10px 24px rgba(224, 122, 95, 0.15);
    
    /* Font Families */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Border Radii */
    --radius-sm: 8px;
    --radius-md: 18px;
    --radius-lg: 30px;
    --radius-round: 9999px;
    
    /* Transition Speeds */
    --transition-fast: 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-normal: 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text-dark);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    border: none;
    background: none;
    outline: none;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: var(--radius-round);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* ==========================================================================
   SVG Preloader Curtain
   ========================================================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.preloader-paw {
    stroke: var(--color-primary);
    stroke-width: 3;
    stroke-linecap: round;
    fill: none;
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
}

.preloader-text {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--color-text-dark);
}

.preloader-bar {
    width: 120px;
    height: 4px;
    background-color: var(--color-border);
    border-radius: var(--radius-round);
    overflow: hidden;
}

.bar-fill {
    width: 0%;
    height: 100%;
    background-color: var(--color-primary);
}

/* ==========================================================================
   Ambient Background Glowing Orbs
   ========================================================================== */
.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.18;
    pointer-events: none;
    z-index: -1;
    transition: transform 1.5s ease-out;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background-color: var(--color-primary);
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background-color: var(--color-secondary);
    top: 40%;
    right: -150px;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background-color: var(--color-gold);
    bottom: -100px;
    left: 20%;
}

/* ==========================================================================
   Utility Layouts
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.8rem;
}

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

/* Custom Cursor */
.custom-cursor {
    width: 18px;
    height: 18px;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: multiply;
    opacity: 0;
    transition: width 0.25s, height 0.25s, background-color 0.25s;
}

.custom-cursor.hover {
    width: 40px;
    height: 40px;
    background-color: rgba(224, 122, 95, 0.08);
}

@media (max-width: 1024px) {
    .custom-cursor { display: none !important; }
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: var(--radius-round);
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-text-dark);
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(224, 122, 95, 0.25);
}

.btn-secondary {
    background-color: var(--color-white);
    color: var(--color-text-dark);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background-color: var(--color-bg);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.1rem 2.2rem;
    font-size: 1.05rem;
}

.btn-small {
    padding: 0.6rem 1.2rem;
    font-size: 0.88rem;
}

.btn-icon-only {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-link {
    color: var(--color-text-light);
    text-decoration: underline;
    font-weight: 500;
}
.btn-link:hover {
    color: var(--color-primary-hover);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 1rem;
    background-color: var(--color-primary-light);
    color: var(--color-text-dark);
    border: 1px solid rgba(224, 122, 95, 0.2);
    border-radius: var(--radius-round);
    font-size: 0.85rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

/* ==========================================================================
   Header Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(250, 249, 246, 0.75);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(45, 49, 66, 0.04);
    transition: var(--transition-normal);
}

.header.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4.8rem;
    transition: var(--transition-normal);
}
.header.scrolled .header-container {
    height: 3.8rem;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo-icon {
    width: 2.1rem;
    height: 2.1rem;
    background-color: var(--color-primary);
    color: var(--color-text-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--color-text-dark);
    letter-spacing: -0.5px;
}

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

.nav-link {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-text-light);
    transition: var(--transition-fast);
    position: relative;
    padding: 0.4rem 0;
    font-size: 0.95rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2.5px;
    background-color: var(--color-primary);
    transition: var(--transition-fast);
}

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

.nav-link:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle .bar {
    width: 22px;
    height: 2.5px;
    background-color: var(--color-text-dark);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--color-surface);
    z-index: 999;
    padding: 6rem 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
}

.mobile-nav.active {
    right: 0;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border);
}

/* ==========================================================================
   Hero Section (Line Masking & Parallax)
   ========================================================================== */
.hero-section {
    padding: 9.5rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}

/* Headline Masking Reveal */
.mask-line {
    display: block;
    overflow: hidden;
    line-height: 1.2;
}

.mask-line span {
    display: block;
    transform: translateY(100%);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.4rem;
    font-weight: 800;
    color: var(--color-text-dark);
    letter-spacing: -1px;
}

.highlight-text {
    color: var(--color-text-dark);
    position: relative;
    display: inline-block;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: var(--color-gold);
    z-index: -1;
    border-radius: var(--radius-round);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

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

.stat-numberCount {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--color-text-dark);
    line-height: 1;
}

.stat-label {
    font-size: 0.88rem;
    color: var(--color-text-light);
    margin-top: 0.2rem;
}

.stat-item-divider {
    width: 1px;
    height: 2.2rem;
    background-color: var(--color-border);
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image-bg {
    position: absolute;
    width: 105%;
    height: 105%;
    background-color: var(--color-primary-light);
    border: 1px solid rgba(224, 122, 95, 0.15);
    border-radius: 40% 60% 70% 30% / 50% 60% 40% 50%;
    z-index: -1;
    top: -2.5%;
    left: -2.5%;
}

.hero-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    width: 100%;
    aspect-ratio: 1;
    transform: rotate(1.5deg);
    transition: var(--transition-slow);
}

.hero-img:hover {
    transform: rotate(0) scale(1.02);
}

/* Floating Live Testimonial Card */
.feed-card {
    position: absolute;
    bottom: 1.5rem;
    left: -1.5rem;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-md);
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: var(--shadow-lg);
    max-width: 260px;
}

.card-avatar {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-info {
    display: flex;
    flex-direction: column;
}

.card-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
}

.card-desc {
    font-size: 0.78rem;
    color: var(--color-text-light);
    font-style: italic;
}

/* Wave Divider */
.wave-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(130% + 1.3px);
    height: 45px;
    transform: rotateY(180deg);
}

/* Parallax floating shapes */
.floating-shape {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    opacity: 0.5;
}

.shape-1 { top: 15%; left: 4%; }
.shape-1 img { border-radius: 12px; transform: rotate(-10deg); }
.shape-2 { top: 22%; right: 46%; color: var(--color-primary); transform: scale(1.3); }
.shape-3 { bottom: 18%; left: 44%; color: var(--color-secondary); transform: scale(1.2); }
.shape-4 { top: 48%; right: 4%; color: var(--color-gold); }

/* ==========================================================================
   Section Header Styling
   ========================================================================== */
.section-header {
    max-width: 600px;
    margin: 0 auto 3.5rem;
}

.section-subtitle {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--color-primary-hover);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 0.8rem;
    letter-spacing: -0.5px;
}

.section-description {
    font-size: 1rem;
    color: var(--color-text-light);
}

/* ==========================================================================
   Section 2: The Fresh Advantage (Philosophy + Ingredients Combined)
   ========================================================================== */
.advantage-section {
    padding: 6rem 0;
    background-color: var(--color-bg);
}

.advantage-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.ingredient-selectors {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.8rem;
}

.ingredient-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.1rem;
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-round);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.ingredient-pill .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-text-light);
}

.ingredient-pill.active {
    background-color: var(--color-primary-light);
    color: var(--color-text-dark);
    border-color: var(--color-primary);
}

.ingredient-pill.active .dot {
    background-color: var(--color-primary-hover);
}

/* Detail Box (Glassmorphic) */
.ingredient-details-box {
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    box-shadow: var(--shadow-sm);
}

.ingredient-details-box h3 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
}

.ingredient-details-box p {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.ing-nutrients {
    display: flex;
    gap: 2.5rem;
    border-top: 1px solid var(--color-border);
    padding-top: 1.5rem;
}

.nutr-item {
    display: flex;
    flex-direction: column;
}

.nutr-value {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-primary-hover);
    line-height: 1.1;
}

.nutr-label {
    font-size: 0.8rem;
    color: var(--color-text-light);
    font-weight: 600;
}

.advantage-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.visual-glow {
    position: absolute;
    width: 85%;
    height: 85%;
    background-color: var(--color-secondary);
    border-radius: 50%;
    top: 7.5%;
    left: 7.5%;
    z-index: 1;
    opacity: 0.15;
    filter: blur(35px);
}

.advantage-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1.15;
    z-index: 2;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.ing-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.ing-img.active {
    opacity: 1;
}

/* ==========================================================================
   Section 3: Nutrition Calculator (Interactive Card Layout)
   ========================================================================== */
.calculator-section {
    padding: 6rem 0;
    background-color: var(--color-white);
}

.calculator-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.calc-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.8rem;
}

.benefit-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.benefit-icon {
    color: var(--color-secondary-hover);
    width: 1.2rem;
    height: 1.2rem;
}

/* Card Design (Glassmorphic look) */
.calc-card {
    background-color: var(--color-bg);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-lg);
    padding: 2.8rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    min-height: 460px;
    display: flex;
    flex-direction: column;
}

.calc-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.step-dot {
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    background-color: var(--color-white);
    border: 1.5px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

.step-dot.active {
    background-color: var(--color-primary);
    color: var(--color-text-dark);
    border-color: var(--color-primary);
}

.step-line {
    flex-grow: 0.15;
    height: 2px;
    background-color: var(--color-border);
}

.calc-step-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex-grow: 1;
}

.step-heading {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.2px;
}

/* Inputs & Form styling */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-label {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--color-text-dark);
}

.form-control {
    width: 100%;
    padding: 0.8rem 1.1rem;
    border: 1px solid var(--color-border);
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    transition: var(--transition-fast);
}

.form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(224, 122, 95, 0.1);
}

.gender-toggle-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.gender-btn {
    border: 1px solid var(--color-border);
    background-color: var(--color-white);
    padding: 0.75rem;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.gender-btn.active {
    background-color: var(--color-primary-light);
    color: var(--color-text-dark);
    border-color: var(--color-primary);
}

.range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 5px;
    border-radius: var(--radius-round);
    background: var(--color-border);
    outline: none;
    margin: 0.8rem 0;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-primary);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.5rem;
}

/* Result Panel styling */
.calc-results {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    text-align: center;
}

.success-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--color-secondary-light);
    color: var(--color-secondary-hover);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.success-icon svg {
    width: 1.8rem;
    height: 1.8rem;
    stroke-width: 3px;
}

.result-heading {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
}

.result-calories-box {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
}

.cal-label {
    font-size: 0.8rem;
    color: var(--color-text-light);
    font-weight: 700;
}

.cal-val {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 800;
    color: var(--color-primary-hover);
    line-height: 1.1;
    margin: 0.2rem 0;
}

.cal-unit {
    font-size: 0.85rem;
    font-weight: 700;
}

.recommended-recipe {
    background-color: var(--color-gold-light);
    border: 1px dashed var(--color-gold);
    border-radius: var(--radius-md);
    padding: 1.2rem;
    text-align: left;
}

.recipe-badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    background-color: var(--color-gold);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.7rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.4rem;
    color: var(--color-text-dark);
}

.recipe-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 0.3rem;
}

.recipe-desc {
    font-size: 0.82rem;
    color: var(--color-text-light);
    margin-bottom: 0.8rem;
}

.macro-distribution {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.macro-bar-group {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.macro-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    font-weight: 700;
}

.macro-bar {
    height: 4px;
    background-color: var(--color-border);
    border-radius: var(--radius-round);
    overflow: hidden;
}

.macro-fill {
    height: 100%;
    border-radius: var(--radius-round);
}

.macro-fill.protein { background-color: var(--color-primary-hover); }
.macro-fill.fat { background-color: var(--color-secondary-hover); }
.macro-fill.carbs { background-color: hsl(38, 70%, 60%); }

.result-cta-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

/* ==========================================================================
   Section 4: The Breed & Wag Hub (Breed Explorer + Reviews Combined)
   ========================================================================== */
.breed-explorer-section {
    padding: 6rem 0;
    background-color: var(--color-bg);
}

.hub-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
}

.hub-inputs-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.8rem;
}

.select-wrapper {
    position: relative;
}

.select-custom {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232D3142' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.1rem center;
    background-size: 1.1rem;
    padding-right: 3rem;
    background-color: var(--color-bg);
}

.breed-facts {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}

.fact-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed var(--color-border);
    padding-bottom: 0.5rem;
}

.fact-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.fact-label {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--color-text-light);
}

.fact-value {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
}

/* Display testimonial Card */
.hub-display-card {
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
}

.gallery-image-wrapper {
    width: 100%;
    aspect-ratio: 1.5;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.breed-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Spinner Loader */
.gallery-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.gallery-loader.active {
    opacity: 1;
    pointer-events: all;
}

.spinner {
    width: 2.5rem;
    height: 2.5rem;
    border: 3px solid var(--color-border);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 0.8s infinite linear;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.hub-testimonial-body {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    border-top: 1px solid var(--color-border);
    padding-top: 1.2rem;
}

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

.client-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
}

.client-breed-tag {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    background-color: var(--color-secondary-light);
    color: var(--color-text-dark);
    padding: 0.15rem 0.5rem;
    border: 1px solid rgba(129, 178, 154, 0.25);
    border-radius: var(--radius-round);
    font-weight: 700;
}

.client-quote {
    font-size: 0.88rem;
    color: var(--color-text-light);
    font-style: italic;
    line-height: 1.5;
}

.client-rating {
    display: flex;
    gap: 2px;
    color: var(--color-primary);
}

.star-icon {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* ==========================================================================
   Section 5: Action CTA Banner
   ========================================================================== */
.cta-banner {
    padding: 4rem 0;
    background-color: var(--color-bg);
}

.cta-container {
    background-color: var(--color-gold-light);
    border: 1px solid var(--color-gold);
    border-radius: 40px;
    padding: 3.5rem 4.5rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.cta-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.2rem;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 850;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.cta-subtitle {
    font-size: 1rem;
    color: var(--color-text-light);
}

.cta-image {
    position: relative;
}

.cta-image img {
    border-radius: var(--radius-lg);
    transform: rotate(-2deg);
    box-shadow: var(--shadow-md);
    width: 100%;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-main {
    background-color: var(--color-text-dark);
    color: rgba(255, 255, 255, 0.65);
    padding: 5rem 0 2.5rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 1.6fr 1.2fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-brand .logo-text {
    color: var(--color-white);
}

.footer-description {
    font-size: 0.85rem;
    line-height: 1.6;
}

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

.social-link {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-link:hover {
    background-color: var(--color-primary);
    transform: translateY(-2px);
}

.footer-links-group {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-col h4 {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
}

.footer-col a {
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

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

.contact-info-text {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
}

.contact-info-text svg {
    width: 1rem;
    height: 1rem;
}

.footer-newsletter {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-newsletter h4 {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form .form-control {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
}

.newsletter-form .form-control:focus {
    border-color: var(--color-primary);
    background-color: rgba(255, 255, 255, 0.08);
}

.newsletter-success {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--color-secondary-hover);
    font-weight: 700;
    font-size: 0.82rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2.2rem;
    font-size: 0.75rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.2rem;
}

.footer-bottom-links a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-subtitle {
        margin: 0 auto;
    }
    
    .hero-image-wrapper {
        max-width: 440px;
        margin: 0 auto;
    }
    
    .feed-card {
        left: -1rem;
    }
    
    .advantage-layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .advantage-visual {
        max-width: 440px;
        margin: 0 auto;
        order: -1;
    }
    
    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .calc-intro {
        text-align: center;
    }
    
    .calc-benefits {
        align-items: center;
    }
    
    .hub-container {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-newsletter {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .btnHeaderCta {
        display: none !important;
    }
    
    .hero-title {
        font-size: 2.6rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .cta-container {
        grid-template-columns: 1fr;
        padding: 2.5rem 1.8rem;
    }
    
    .cta-image {
        display: none;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .footer-newsletter {
        grid-column: span 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.2rem;
        text-align: center;
    }
}
