:root {
    --primary: #10b981;
    --primary-dark: #059669;
    --accent: #34d399;
    --accent-light: #6ee7b7;
    --bg-light: #f0fdf4;
    --bg-white: #ffffff;
    --bg-section: #ecfdf5;
    --text: #064e3b;
    --text-dark: #022c22;
    --text-muted: #6b7280;
    --success: #22c55e;
    --warning: #f59e0b;
    --gradient: linear-gradient(135deg, var(--primary), #22d3ee);
    --gradient-soft: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(34, 211, 238, 0.1));
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 12px 40px rgba(16, 185, 129, 0.15);
    --radius: 20px;
    --radius-sm: 12px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-dark);
    text-decoration: none;
}

.logo-icon {
    font-size: 1.75rem;
}

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

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

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

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    width: 24px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: 0.3s;
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(16, 185, 129, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(34, 211, 238, 0.1) 0%, transparent 50%);
}

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

.hero-badge {
    display: inline-block;
    padding: 10px 24px;
    background: var(--gradient);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
    margin-bottom: 24px;
    animation: fadeUp 0.6s ease-out;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-dark);
    animation: fadeUp 0.6s ease-out 0.1s both;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    animation: fadeUp 0.6s ease-out 0.2s both;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
    animation: fadeUp 0.6s ease-out 0.3s both;
}

.trust-badges {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeUp 0.6s ease-out 0.4s both;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--text-muted);
}

.trust-icon {
    color: var(--success);
    font-weight: 800;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.125rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-muted);
}

/* Categories Section */
.categories-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
}

.category-card {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary);
}

.category-icon {
    font-size: 3.5rem;
    margin-bottom: 16px;
}

.category-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.category-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Products Section */
.products-section {
    padding: 80px 0;
}

.filter-tabs {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.tab-btn {
    padding: 12px 24px;
    background: white;
    border: 2px solid transparent;
    border-radius: 50px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--primary);
    color: white;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.product-card {
    position: relative;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

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

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    z-index: 1;
}

.product-badge.top { background: var(--gradient); }
.product-badge.new { background: #3b82f6; }
.product-badge.sale { background: #ef4444; }

.product-image {
    height: 160px;
    background: var(--gradient-soft);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-emoji {
    font-size: 4.5rem;
}

.product-info {
    padding: 24px;
}

.product-brand {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 8px 0 12px;
    color: var(--text-dark);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.stars {
    color: var(--warning);
}

.score {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary);
}

.product-highlights {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.highlight {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.product-pricing {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 16px;
}

.price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
}

.per-serving {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.original-price {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

/* Finder Section */
.finder-section {
    padding: 60px 0;
}

.finder-card {
    background: var(--gradient);
    border-radius: var(--radius);
    padding: 60px 40px;
    text-align: center;
    color: white;
}

.finder-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.finder-card h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.finder-card p {
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

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

.finder-card .btn-primary:hover {
    background: var(--text-dark);
    color: white;
}

/* Ingredients Section */
.ingredients-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.ingredient-card {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    transition: all 0.3s;
}

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

.ingredient-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
}

.ingredient-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.ingredient-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.learn-link {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

.learn-link:hover {
    text-decoration: underline;
}

/* Guides Section */
.guides-section {
    padding: 80px 0;
}

.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.guide-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

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

.guide-image {
    height: 140px;
    background: var(--gradient-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.guide-content {
    padding: 24px;
}

.guide-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.guide-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.guide-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.guide-link {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

.guide-link:hover {
    text-decoration: underline;
}

/* Newsletter */
.newsletter-section {
    padding: 60px 0;
    background: var(--bg-white);
}

.newsletter-card {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 60px 40px;
    text-align: center;
}

.newsletter-card h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.newsletter-card > p {
    color: var(--text-muted);
    margin-bottom: 32px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto 16px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    background: white;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    color: var(--text-dark);
    font-size: 1rem;
    font-family: inherit;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.newsletter-note {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background: var(--text-dark);
    color: white;
}

.footer .logo {
    color: white;
}

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

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 16px;
    max-width: 300px;
}

.footer-links h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-toggle { display: flex; }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand p {
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ===== ENHANCED SECTIONS ===== */

/* Testimonials */
.testimonials-section { padding: 80px 0; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.testimonial-card { background: var(--bg-card); border: 1px solid var(--glass-border); border-radius: var(--radius); padding: 32px; transition: all 0.3s; }
.testimonial-card:hover { background: var(--bg-card-hover); transform: translateY(-4px); }
.testimonial-stars { color: var(--warning); font-size: 1.25rem; margin-bottom: 16px; }
.testimonial-text { font-style: italic; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 48px; height: 48px; background: var(--gradient); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; color: white; }
.author-name { font-weight: 600; }
.author-title { font-size: 0.8rem; color: var(--text-muted); }

/* Social Proof */
.social-proof { padding: 48px 0; background: var(--bg-card); }
.proof-items { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 32px; }
.proof-item { text-align: center; }
.proof-number { display: block; font-size: 2.5rem; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.proof-label { font-size: 0.875rem; color: var(--text-muted); }

/* Deal Banner */
.deal-banner { padding: 40px 0; background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(34, 197, 94, 0.1)); border: 1px solid var(--glass-border); }
.deal-content { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.deal-badge { display: inline-block; padding: 6px 14px; background: var(--success); color: #000; border-radius: 50px; font-size: 0.75rem; font-weight: 700; }
.deal-countdown { display: flex; gap: 16px; }
.countdown-item { text-align: center; padding: 16px 20px; background: var(--glass); border-radius: 8px; }
.countdown-value { display: block; font-size: 2rem; font-weight: 800; color: var(--accent); }
.countdown-label { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; }

/* Glow button */
.btn-glow { animation: glow 2s ease-in-out infinite; }
@keyframes glow {
  0%, 100% { box-shadow: 0 0 20px rgba(16, 185, 129, 0.3); }
  50% { box-shadow: 0 0 40px rgba(16, 185, 129, 0.5); }
}

/* Floating animation for top pick products */
.product-card[data-type="protein"]:first-of-type { animation: float 4s ease-in-out infinite; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
