/* Core Premium Variables */
:root {
    --primary: #043462; /* Navy */
    --primary-light: #0d4a85; /* Light Navy */
    --primary-dark: #021a33; /* Deep Navy */
    --accent: #df2822; /* Red */
    --accent-hover: #b81c17; 
    
    --bg-base: #fcfdfd; /* Off-white pure */
    --bg-slate: #f8fafc; /* Slate 50 */
    --surface: #ffffff;
    
    --text-main: #0f172a; /* Slate 900 */
    --text-muted: #64748b; /* Slate 500 */
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --shadow-sm: 0 1px 2px 0 rgba(4, 52, 98, 0.05);
    --shadow-md: 0 4px 12px -2px rgba(4, 52, 98, 0.05), 0 2px 6px -1px rgba(4, 52, 98, 0.03);
    --shadow-lg: 0 20px 40px -10px rgba(4, 52, 98, 0.06), 0 10px 15px -5px rgba(4, 52, 98, 0.02);
    
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    display: flex;
}
.marquee-content {
    display: flex;
    animation: marquee 30s linear infinite;
    min-width: 100%;
    flex-shrink: 0;
    justify-content: space-around;
}

@keyframes blink-cursor { from, to { opacity: 1; } 50% { opacity: 0; } }
.typing-cursor { 
    display: inline-block; 
    width: 3px; 
    height: 1.1em; 
    background-color: var(--accent); 
    vertical-align: middle; 
    animation: blink-cursor 0.9s step-end infinite; 
    margin-left: 2px; 
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }

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

h1, h2, h3, h4, .font-outfit { 
    font-family: var(--font-heading); 
    color: var(--text-main); 
    line-height: 1.15; 
}

/* Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-muted { color: var(--text-muted); }
.text-white { color: #ffffff !important; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-navy { color: var(--primary); }
.text-gray-300 { color: #cbd5e1 !important; }
.text-gray-400 { color: #94a3b8; }
.text-gray-600 { color: #475569; }
.text-gray-900 { color: #0f172a; }

.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; letter-spacing: -0.02em; }

.font-bold { font-weight: 700; }
.font-inter { font-family: var(--font-body); }

.relative { position: relative; }
.z-10 { z-index: 10; }
.overflow-hidden { overflow: hidden; }

.w-100 { width: 100%; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-6xl { max-width: 72rem; }

.mx-auto { margin-left: auto; margin-right: auto; }
.ml-2 { margin-left: 0.5rem; }

.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-16 { margin-bottom: 4rem; }
.mb-24 { margin-bottom: 6rem; }

.mt-4 { margin-top: 1rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }

.pb-20 { padding-bottom: 5rem; }
.pt-8 { padding-top: 2rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }

.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.inline-block { display: inline-block; }

.border-t { border-top: 1px solid; }
.border-y { border-top: 1px solid rgba(4,52,98,0.06); border-bottom: 1px solid rgba(4,52,98,0.06); }
.border-slate-800 { border-color: #1e293b; }
.rounded-xl { border-radius: var(--radius-xl); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 1.5rem; }
section { padding: 7rem 0; position: relative; }

.bg-slate-50 { background-color: var(--bg-slate); }
.bg-navy { background-color: var(--primary); }
.bg-red { background-color: var(--accent); }
.bg-slate { background-color: #64748b; }

.bg-navy-50 { background-color: #f0f7ff; }
.bg-red-50 { background-color: #fef2f2; }
.text-red-600 { color: #dc2626; }
.bg-green-50 { background-color: #f0fdf4; }
.text-green-600 { color: #16a34a; }
.text-green-700 { color: #15803d; }
.bg-purple-50 { background-color: #faf5ff; }
.text-purple-600 { color: #9333ea; }
.text-purple-700 { color: #7e22ce; }


/* Typography */
.section-title { font-size: 2.75rem; font-weight: 800; margin-bottom: 1rem; letter-spacing: -0.03em; color: var(--primary); }
.section-title.text-white { color: #ffffff; }
.h2-sm { font-size: 2.25rem; }
.section-subtitle { font-size: 1.125rem; color: var(--text-muted); max-width: 600px; margin: 0 auto; line-height: 1.7; font-weight: 400; }

/* Reveal Animation */
.reveal-up { opacity: 0; transform: translateY(20px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-up.active { opacity: 1; transform: translateY(0); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.75rem 1.75rem; border-radius: 99px;
    font-weight: 600; font-family: var(--font-body);
    font-size: 0.95rem; cursor: pointer; transition: all 0.2s ease; 
    text-decoration: none; border: 2px solid transparent;
}
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }
.btn-lg { padding: 0.875rem 2.25rem; font-size: 1.05rem; }

.btn-primary { 
    background-color: var(--primary); 
    color: #fff; 
    box-shadow: var(--shadow-md); 
}
.btn-primary:hover { 
    background-color: var(--primary-light); 
    transform: translateY(-2px); 
    box-shadow: 0 8px 20px rgba(4, 52, 98, 0.15); 
}

.btn-accent {
    background-color: var(--accent);
    color: #fff;
    box-shadow: 0 4px 12px rgba(223, 40, 34, 0.2);
}
.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(223, 40, 34, 0.3);
}

.btn-outline { 
    border-color: rgba(4, 52, 98, 0.2); 
    color: var(--primary); 
    background: transparent; 
}
.btn-outline:hover { 
    border-color: var(--primary); 
    background: transparent; 
}

.btn-outline-light {
    border-color: rgba(255,255,255,0.3);
    color: #ffffff;
    background: transparent;
}
.btn-outline-light:hover {
    background: #ffffff;
    color: var(--primary);
}

/* Badges */
.badge { 
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.35rem 1rem; border-radius: 99px; 
    font-size: 0.8rem; font-weight: 700; letter-spacing: 0.05em; 
    text-transform: uppercase; margin-bottom: 1.25rem; 
    font-family: var(--font-heading); 
}
.badge-accent { background: rgba(223, 40, 34, 0.08); color: var(--accent); border: 1px solid rgba(223, 40, 34, 0.15); }
.badge-light { background: rgba(255, 255, 255, 0.1); color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.feature-tag { display: inline-block; padding: 0.25rem 0.75rem; border-radius: 6px; font-size: 0.75rem; font-weight: 600; font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.05em; }

/* Header */
.glass-header {
    background: rgba(252, 253, 253, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(4, 52, 98, 0.06);
    position: fixed; top: 0; width: 100%; z-index: 1000;
}
.navbar { display: flex; justify-content: space-between; align-items: center; height: 100px; }
.logo { display: flex; align-items: center; height: 100%; }
.nav-logo { max-height: 75px; width: auto; filter: contrast(1.1); }
.navbar nav { display: flex; align-items: center; gap: 2rem; }
.nav-link { font-size: 0.95rem; font-weight: 500; color: var(--text-muted); transition: color 0.2s; text-decoration: none;}
.nav-link:hover { color: var(--primary); }

/* Clean Card Component */
.clean-card {
    background: var(--surface);
    border: 1px solid rgba(4, 52, 98, 0.06);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.clean-card:hover { 
    transform: translateY(-4px); 
    box-shadow: 0 25px 50px -12px rgba(4, 52, 98, 0.1); 
}

/* Hero Section */
.hero { 
    display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 95vh; position: relative;
}
.bg-grid {
    background-image: 
        linear-gradient(rgba(4, 52, 98, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(4, 52, 98, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center center;
}
.hero-title { font-size: 4.5rem; font-weight: 800; letter-spacing: -0.04em; margin-bottom: 1.5rem; color: #021a33; }
.hero-title span { display: inline; }
.hero-subtitle { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 2.5rem; max-width: 600px; margin-left: auto; margin-right: auto; line-height: 1.8; }
.hero-buttons { display: flex; gap: 1rem; }

/* Reality Stats Section */
.reality { border-bottom: 1px solid rgba(255,255,255,0.05); }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 3rem; }
.stat-card { border-left: 2px solid rgba(255, 255, 255, 0.1); padding-left: 2rem; transition: border-color 0.3s ease; }
.stat-card:hover { border-left-color: var(--accent); }
.stat-number { font-size: 4rem; font-family: var(--font-heading); font-weight: 800; line-height: 1; margin-bottom: 0.75rem; letter-spacing: -0.04em; }
.stat-card h4 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; color: #fff; }

/* About Grid */
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 4rem; }
.icon-box { 
    display: inline-flex; align-items: center; justify-content: center; 
    width: 64px; height: 64px; border-radius: 16px; 
    font-size: 2rem; margin-bottom: 1.5rem; 
}
.icon-navy { background: #f0f7ff; color: var(--primary); }
.icon-red { background: #fef2f2; color: var(--accent); }
.icon-slate { background: #f1f5f9; color: #475569; }
.about-grid h3 { font-size: 1.5rem; margin-bottom: 1rem; color: var(--primary); }
.about-grid p { color: var(--text-muted); }

/* Pillars Grid */
.pillars-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 4rem; }
.pillar-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.pillar-image { height: 140px; display: flex; align-items: center; justify-content: center; }
.pillar-icon { font-size: 3.5rem; display: flex; line-height: 1; opacity: 0.9; }
.pillar-content { padding: 2rem; flex-grow: 1; border-top: 1px solid rgba(4,52,98,0.04); }
.pillar-content h3 { font-size: 1.5rem; margin-bottom: 1.25rem; color: var(--primary); }
.clean-list { list-style: none; }
.clean-list li { 
    padding: 0.75rem 0; position: relative; padding-left: 1.75rem; 
    color: var(--text-muted); border-bottom: 1px solid #f1f5f9; 
    font-size: 0.95rem;
}
.clean-list li:last-child { border-bottom: none; }
.clean-list li::before { 
    content: ''; position: absolute; left: 0; top: 1.15rem; 
    width: 6px; height: 6px; border-radius: 50%; 
    background: var(--accent); 
}

/* Timeline Pipeline */
.align-center { text-align: left; }
.timeline { position: relative; padding-left: 2rem; margin-top: 4rem; }
.timeline-line { 
    position: absolute; left: 0; top: 0; bottom: 0; width: 2px; 
    background: rgba(4, 52, 98, 0.08); margin-left: -1px; 
}
.timeline-item { position: relative; margin-bottom: 2rem; display: flex; align-items: flex-start; }
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot { 
    position: absolute; left: -2rem; width: 36px; height: 36px; 
    border-radius: 50%; font-family: var(--font-heading); font-weight: 700; 
    font-size: 1rem; display: flex; align-items: center; justify-content: center; 
    z-index: 2; transform: translateX(-50%); box-shadow: 0 0 0 4px var(--bg-base);
}
.timeline-content { width: 100%; }

/* Calculator UI */
.calculator-wrapper { display: flex; gap: 3rem; align-items: stretch; padding: 3rem; }
@media (max-width: 900px) { .calculator-wrapper { flex-direction: column; } }
.calculator-content { flex: 1.5; }
.clean-form { background: transparent; }
.form-row { display: flex; gap: 1.5rem; }
.form-group { flex: 1; margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 600; font-size: 0.875rem; margin-bottom: 0.5rem; color: var(--text-main); font-family: var(--font-heading); }
.form-control { 
    width: 100%; padding: 0.875rem 1.25rem; 
    border: 1px solid #e2e8f0; border-radius: var(--radius-md); 
    font-family: var(--font-body); font-size: 0.95rem; 
    transition: all 0.2s ease; background: #f8fafc; 
}
.form-control:focus { 
    outline: none; border-color: var(--primary); 
    box-shadow: 0 0 0 3px rgba(4, 52, 98, 0.1); 
    background: #fff; 
}

.calculator-result-pane { 
    flex: 1; position: relative; display: flex; flex-direction: column; 
    justify-content: center; align-items: center; text-align: center; 
    padding: 3rem 2rem; background: #ffffff; border-radius: var(--radius-lg); 
    border: 1px solid rgba(4,52,98,0.06); box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}
.pane-bg { 
    position: absolute; top: 1rem; right: 1rem; 
    font-size: 6rem; color: rgba(4,52,98,0.02); line-height: 1; 
}
.result-number { font-size: 4rem; font-weight: 800; line-height: 1; margin-top: 1rem; }

/* Everyday Food Section */
.food-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 2rem; margin-top: 3rem; }
@media (max-width: 768px) { .food-grid { grid-template-columns: 1fr; } }
.food-card { padding: 2rem; }
.food-card h4 { display: flex; align-items: center; gap: 0.75rem; font-size: 1.25rem; font-weight: 700; margin-bottom: 1rem; color: var(--text-main); }
.food-card p { line-height: 1.7; color: var(--text-muted); font-size: 0.95rem; }

/* Transformation Area Layout */
.transforms-wrapper { display: flex; gap: 2rem; margin-top: 2rem; align-items: stretch; max-width: 1600px; width: 100%; margin-left: auto; margin-right: auto; }
@media (max-width: 1024px) { .transforms-wrapper { flex-direction: column; } }

/* Sidebar */
.food-choices-sidebar { width: 300px; flex-shrink: 0; background: #2f363c; border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; color: white; border: 1px solid rgba(4,52,98,0.06); box-shadow: var(--shadow-xl); }
@media (max-width: 1200px) { .food-choices-sidebar { width: 220px; } }
@media (max-width: 1024px) { .food-choices-sidebar { width: 100%; margin-bottom: 2rem; } }
.food-choices-title { text-align: center; font-family: var(--font-heading); font-weight: 800; padding: 1.5rem 1rem; font-size: 1.25rem; letter-spacing: 0.05em; border-bottom: 2px solid rgba(255,255,255,0.1); }
.choice-panel { padding: 1.5rem; flex: 1; }
.choice-panel.good { background-color: #2e6027; }
.choice-panel.poor { background-color: #a42125; }
.choice-heading { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-family: var(--font-heading); margin-bottom: 1rem; font-size: 1.1rem; text-transform: uppercase; }
.choice-icon { background: white; border-radius: 50%; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.choice-icon.good-icon { color: #16a34a; }
.choice-icon.poor-icon { color: #dc2626; }
.choice-list { list-style: none; padding-left: 0.5rem; }
.choice-list li { font-size: 0.95rem; margin-bottom: 0.75rem; position: relative; padding-left: 1.25rem; opacity: 1; font-weight: 500; }
.choice-list li::before { content: '•'; position: absolute; left: 0; }

/* Food Impacts Grid (Contiguous Flex) */
.impact-grid { flex: 1; display: flex; align-items: stretch; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-xl); }
@media (max-width: 768px) { .impact-grid { flex-direction: column; } }

.impact-card { flex: 1; display: flex; flex-direction: column; transition: all 0.2s ease; border: none; color: white; border-right: 1px solid rgba(255,255,255,0.15); }
.impact-card:last-child { border-right: none; }
.impact-card:hover { filter: brightness(1.1); z-index: 10; }

.impact-card-header { padding: 1.5rem 0.5rem; text-align: center; color: white; font-family: var(--font-heading); font-weight: 800; font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.05em; background: rgba(0,0,0,0.2); border-bottom: 1px solid rgba(255,255,255,0.2); }
.impact-card-body { padding: 2rem 1.25rem; background: transparent; text-align: center; font-size: 1rem; color: rgba(255,255,255,1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; line-height: 1.6; font-weight: 600; text-shadow: 0 1px 3px rgba(0,0,0,0.5); border-left: none; border-right: none; }
.impact-card-results { padding: 2rem 1.25rem; color: white; font-size: 0.95rem; border-radius: 0; flex-grow: 1; background: rgba(0,0,0,0.3); border-top: 1px solid rgba(255,255,255,0.1); }
.impact-card-results h5 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; opacity: 1; margin-bottom: 1rem; color: white; font-weight: 800; font-family: var(--font-heading); }
.impact-card-results ul { list-style: none; padding-left: 0.25rem; text-align: left; }
.impact-card-results li { margin-bottom: 0.75rem; position: relative; padding-left: 1.25rem; line-height: 1.4; color: white; font-weight: 600; }
.impact-card-results li::before { content: '•'; position: absolute; left: 0; opacity: 0.9; }

/* Colors for Impact Cards Gradients */
.impact-healthy { background: linear-gradient(180deg, #16a34a, #14532d); }
.impact-fat { background: linear-gradient(180deg, #d97706, #92400e); }
.impact-thin { background: linear-gradient(180deg, #2563eb, #1e3a8a); }
.impact-builder { background: linear-gradient(180deg, #7c3aed, #312e81); }
.impact-sick { background: linear-gradient(180deg, #dc2626, #7f1d1d); }

/* Trust Badges */
.trust-badges { padding: 2.5rem 0; background: #ffffff; border-bottom: 1px solid rgba(4,52,98,0.06); }
.tracking-wide { letter-spacing: 0.05em; }
.opacity-60 { opacity: 0.6; }
.mr-2 { margin-right: 0.5rem; }
.text-slate-400 { color: #94a3b8; }
.uppercase { text-transform: uppercase; }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.avatar { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; font-weight: 700; }
.leading-tight { line-height: 1.2; }
.italic { font-style: italic; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 1rem; }
.faq-item { padding: 1.5rem 0; border-bottom: 1px solid rgba(4,52,98,0.06); }
.faq-item:last-child { border-bottom: none; }

/* Final CTA */
.final-cta { 
    border: 1px solid rgba(4,52,98,0.08); 
    box-shadow: var(--shadow-lg); 
    max-width: 72rem;
    margin: 0 auto;
    border-radius: var(--radius-xl);
}
.cta-bg-pattern { 
    position: absolute; inset: 0; opacity: 0.05; 
    background-image: linear-gradient(rgba(255,255,255,1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,1) 1px, transparent 1px); 
    background-size: 20px 20px; z-index: 1;
}

/* Premium Dark Footer Structure */
.footer-premium { background: var(--bg-base); border-top: 1px solid rgba(4,52,98,0.06); padding-top: 6rem; padding-bottom: 2rem; }
.footer-grid { display: grid; grid-template-columns: 2.5fr 1fr 1fr 2.5fr; gap: 4rem; }
.footer-logo { max-height: 80px; width: auto; object-fit: contain; object-position: left center; }
.footer-links h4 { color: var(--primary); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.05em; margin-bottom: 1.5rem; text-transform: uppercase; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.85rem; }
.footer-links a { color: var(--text-muted); font-size: 0.95rem; text-decoration: none; transition: all 0.2s ease; }
.footer-links a:hover { color: var(--primary); }

.social-btn { 
    display: flex; align-items: center; justify-content: center; 
    width: 36px; height: 36px; border-radius: 50%; 
    background: #f1f5f9; color: var(--primary); text-decoration: none; 
    font-size: 1.1rem; transition: all 0.2s ease; 
}
.social-btn:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }

/* Newsletter */
.clean-newsletter { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: var(--radius-md); padding: 1.5rem; }
.clean-newsletter h4 { color: var(--primary); font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
.clean-newsletter p { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 1.25rem; line-height: 1.5; }

.newsletter-form { display: flex; margin-bottom: 0; }
.newsletter-form input { 
    flex-grow: 1; min-width: 0; background: #fff; border: 1px solid #e2e8f0; 
    color: var(--text-main); padding: 0.6rem 1rem; border-radius: var(--radius-md) 0 0 var(--radius-md); 
    font-size: 0.85rem; transition: all 0.2s ease; 
}
.newsletter-form input:focus { outline: none; border-color: var(--primary); }
.btn-accent-sm { 
    background: var(--accent); color: #fff; border: none; 
    padding: 0.6rem 1.2rem; border-radius: 0 var(--radius-md) var(--radius-md) 0; 
    font-weight: 600; cursor: pointer; transition: all 0.2s ease; font-size: 0.85rem;
}
.btn-accent-sm:hover { background: var(--accent-hover); }

/* Footer Bottom Bar */
.footer-bottom-bar { display: flex; justify-content: space-between; align-items: center; color: var(--text-muted); font-size: 0.85rem; }
.footer-legal-links { display: flex; gap: 1.5rem; }
.footer-legal-links a { color: var(--text-muted); text-decoration: none; transition: color 0.2s ease; }
.footer-legal-links a:hover { color: var(--primary); }

/* Mobile Menu Toggle */
.menu-toggle { display: none; flex-direction: column; justify-content: space-between; width: 24px; height: 18px; background: transparent; border: none; cursor: pointer; z-index: 1001; }
.menu-toggle span { display: block; width: 100%; height: 2px; background-color: var(--text-main); border-radius: 2px; transition: all 0.3s; }

/* ============================================================
   Responsive adjustments
   ============================================================ */

@media (max-width: 992px) {
    .calculator-wrapper { padding: 2rem; }
    .hero-title { font-size: 3.5rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }

    /* Transforms - collapse sidebar to full width */
    .transforms-wrapper { flex-direction: column; gap: 1.5rem; }
    .food-choices-sidebar { width: 100%; flex-direction: row; border-radius: var(--radius-lg); }
    .food-choices-title { writing-mode: horizontal-tb; padding: 1rem 1.5rem; border-bottom: none; border-right: 2px solid rgba(255,255,255,0.1); width: auto; min-width: 120px; justify-content: center; display: flex; align-items: center; }
    .choice-panel { padding: 1rem 1.5rem; }
    
    /* Impact grid - 3 cols on tablet */
    .impact-grid { flex-wrap: wrap; }
    .impact-card { flex: 1; min-width: calc(33.333% - 0.75rem); }
}

@media (max-width: 768px) {
    .section-title { font-size: 2rem; }
    
    /* Nav */
    .menu-toggle { display: flex; }
    .navbar nav { 
        position: fixed; top: 0; right: -100%; width: 100%; max-width: 320px; height: 100vh;
        background: #ffffff; border-left: 1px solid rgba(4,52,98,0.06);
        flex-direction: column; justify-content: center; align-items: center; gap: 2rem;
        box-shadow: -10px 0 30px rgba(0,0,0,0.05); transition: right 0.3s ease; padding: 2rem;
    }
    .navbar nav.active { right: 0; display: flex; }
    
    section { padding: 4rem 0; }
    
    /* Hero */
    .hero { min-height: 80vh; }
    .hero-title { 
        font-size: clamp(1.75rem, 7vw, 3rem); 
        word-break: break-word; 
        overflow-wrap: break-word;
    }
    .hero-subtitle { font-size: 1rem; padding: 0 0.5rem; }
    .hero-buttons { flex-direction: column; width: 100%; max-width: 320px; }
    .hero-buttons .btn { width: 100%; text-align: center; }
    
    /* Marquee - reduce font size */
    .marquee-container { font-size: 0.75rem !important; letter-spacing: 1px !important; }
    
    /* Transforms section */
    .transforms-wrapper { flex-direction: column; gap: 1rem; width: 95%; }
    .food-choices-sidebar { width: 100%; flex-direction: column; }
    .food-choices-title { font-size: 1rem; padding: 1rem; }
    .choice-panel { padding: 1rem 1.25rem; }
    .choice-list li { font-size: 0.85rem; margin-bottom: 0.5rem; }
    
    /* Impact grid - stack on mobile */
    .impact-grid { flex-direction: column; border-radius: var(--radius-lg) !important; }
    .impact-card { flex: none; width: 100%; border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.15); }
    .impact-card:last-child { border-bottom: none; }
    .impact-card-header { font-size: 1rem; padding: 1rem; }
    .impact-card-body { padding: 1.25rem; font-size: 0.9rem; }
    .impact-card-results { padding: 1.25rem; }
    
    /* Footer CTA banner */
    .footer-bottom-bar { flex-direction: column; gap: 1rem; text-align: center; }
    .footer-legal-links { flex-wrap: wrap; justify-content: center; gap: 1rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 3rem; }
    .footer-logo { margin-left: 0; }
}

@media (max-width: 480px) {
    .navbar { padding: 0.75rem 1rem; }
    .nav-logo { max-height: 55px !important; }
    
    .hero-title { font-size: clamp(1.5rem, 8vw, 2.25rem); }
    .hero-subtitle { font-size: 0.9rem; }
    
    .section-title { font-size: 1.75rem; }
    .section-subtitle { font-size: 0.95rem; }
    
    .transforms-wrapper { width: 100%; }
    
    .btn-lg { padding: 0.875rem 1.5rem; font-size: 0.95rem; }
}

