@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Fraunces:ital,opsz,wght@0,9..144,700;0,9..144,900;1,9..144,700&display=swap');

:root {
    --green: #059669;
    --green-dark: #064e3b;
    --green-mid: #10b981;
    --green-light: #d1fae5;
    --green-xlight: #f0fdf4;
    --amber: #f59e0b;
    --amber-light: #fef3c7;
    --purple: #7c3aed;
    --purple-light: #ede9fe;
    --teal: #0891b2;
    --teal-light: #e0f2fe;
    --text: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --bg: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --sidebar-w: 280px;
    --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    padding-left: var(--sidebar-w);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ─── SIDEBAR ─── */
.sidebar-nav {
    position: fixed;
    top: 0; left: 0;
    width: var(--sidebar-w);
    height: 100vh;
    background: var(--white);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    padding: 24px 16px;
    z-index: 1000;
    overflow-y: auto;
    transition: transform var(--transition);
}

.nav-top { margin-bottom: 24px; }

.nav-logo img {
    width: 140px;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    margin-bottom: 16px;
}

.meals-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--green-xlight);
    border: 1px solid var(--green-light);
    border-radius: 12px;
    padding: 10px 14px;
}

.meals-badge-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.85); }
}

.meals-badge-text { display: flex; flex-direction: column; }
.meals-label { font-size: 11px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.meals-count { font-size: 20px; font-weight: 800; color: var(--green); line-height: 1.1; }

.sidebar-section-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-light);
    padding: 20px 12px 8px;
}

.nav-links { display: flex; flex-direction: column; gap: 2px; }

.nav-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
}

.nav-links a i { width: 16px; height: 16px; opacity: 0.7; flex-shrink: 0; }
.nav-links a:hover { background: var(--green-xlight); color: var(--green-dark); }
.nav-links a:hover i { opacity: 1; color: var(--green); }
.nav-links a.active { background: var(--green); color: white; }
.nav-links a.active i { opacity: 1; color: white; }

.nav-cta {
    background: var(--green) !important;
    color: white !important;
    margin-top: 8px;
}
.nav-cta i { color: white !important; opacity: 1 !important; }
.nav-cta:hover { background: var(--green-dark) !important; transform: translateY(-1px); }

.management-section { display: none; }

/* Mobile toggle */
.menu-toggle {
    display: none;
    position: fixed;
    top: 16px; left: 16px;
    z-index: 1100;
    background: white;
    width: 44px; height: 44px;
    border-radius: 12px;
    border: 1px solid var(--border);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    color: var(--green);
    box-shadow: var(--shadow-md);
}
.menu-toggle i { width: 20px; height: 20px; }

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 900;
}

@media (max-width: 1024px) {
    body { padding-left: 0; }
    .sidebar-nav { transform: translateX(-100%); box-shadow: var(--shadow-lg); }
    .sidebar-nav.active { transform: translateX(0); }
    .menu-toggle { display: flex; }
    .sidebar-overlay.active { display: block; }
}

/* ─── CONTAINER ─── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; width: 100%; }

/* ─── HERO ─── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 80px 0;
    background: linear-gradient(145deg, #f0fdf9 0%, #f8fafc 60%, #fefce8 100%);
}

.hero-bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    pointer-events: none;
}
.blob-1 { width: 500px; height: 500px; background: var(--green-light); top: -100px; right: -100px; }
.blob-2 { width: 350px; height: 350px; background: var(--amber-light); bottom: 0; left: 30%; }

.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    border: 1px solid var(--green-light);
    color: var(--green-dark);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}
.hero-badge i { width: 14px; height: 14px; color: var(--green); }

.hero-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(2.8rem, 5vw, 4.2rem);
    font-weight: 900;
    line-height: 1.08;
    color: var(--text);
    margin-bottom: 20px;
    letter-spacing: -1px;
}
.hero-title em { font-style: italic; color: var(--green); }

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 500px;
    margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 14px; margin-bottom: 40px; flex-wrap: wrap; }

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green);
    color: white;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(5,150,105,0.3);
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(5,150,105,0.4); }

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: var(--text);
    font-weight: 700;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: 50px;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.btn-ghost:hover { border-color: var(--green); color: var(--green); background: var(--green-xlight); }

.hero-stats { display: flex; align-items: center; gap: 24px; }
.stat-item { display: flex; flex-direction: column; }
.stat-num { font-family: 'Fraunces', serif; font-size: 1.8rem; font-weight: 900; color: var(--text); line-height: 1; }
.stat-label { font-size: 12px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* Hero Image */
.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-img-frame { position: relative; display: inline-block; }

.hero-img {
    width: 100%;
    max-width: 460px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
}

.hero-pill {
    position: absolute;
    background: white;
    border-radius: 14px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border: 1px solid var(--border);
    min-width: 170px;
    z-index: 2;
}
.hero-pill-top { top: 30px; right: -30px; transform: rotate(3deg); }
.hero-pill-bottom { bottom: 30px; left: -30px; transform: rotate(-3deg); }

.pill-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.pill-icon i { width: 20px; height: 20px; color: white; }
.pill-green { background: var(--green); }
.pill-amber { background: var(--amber); }

.pill-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-muted); }
.pill-value { font-size: 14px; font-weight: 800; color: var(--text); }

/* ─── TRUST BAR ─── */
.trust-bar {
    background: var(--green-dark);
    padding: 16px 0;
    overflow: hidden;
}
.trust-bar-inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}
.trust-item {
    display: flex; align-items: center; gap: 8px;
    color: rgba(255,255,255,0.85);
    font-size: 13px; font-weight: 600;
    white-space: nowrap;
}
.trust-item i { width: 15px; height: 15px; color: var(--green-mid); }
.trust-dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,0.3); }

/* ─── REVEAL ANIMATION ─── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* ─── TYPOGRAPHY SHARED ─── */
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--green);
    background: var(--green-xlight);
    border: 1px solid var(--green-light);
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 16px;
}
.section-eyebrow-white { color: rgba(255,255,255,0.9); background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.25); }

.section-heading {
    font-family: 'Fraunces', serif;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--text);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}
.section-heading em { font-style: italic; color: var(--green); }

.section-body { font-size: 1.05rem; color: var(--text-muted); line-height: 1.75; max-width: 520px; }

.section-header-center { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-sub-center { font-size: 1.05rem; color: var(--text-muted); margin-top: 12px; }

/* ─── SCIENCE SECTION ─── */
.science-section { padding: 100px 0; background: white; }

.science-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
}

.science-metrics {
    display: flex;
    gap: 20px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.metric-card {
    background: var(--green-xlight);
    border: 1px solid var(--green-light);
    border-radius: var(--radius);
    padding: 20px 24px;
    flex: 1;
    min-width: 100px;
}
.metric-num { font-family: 'Fraunces', serif; font-size: 1.8rem; font-weight: 900; color: var(--green); line-height: 1; }
.metric-label { font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 4px; }

.science-visual { position: relative; }
.science-visual img {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-height: 460px;
    object-fit: cover;
}

.science-float-card {
    position: absolute;
    bottom: -20px; right: -20px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-md);
}
.science-float-card i { width: 28px; height: 28px; color: var(--green); flex-shrink: 0; }
.float-title { font-size: 14px; font-weight: 700; color: var(--text); }
.float-sub { font-size: 12px; color: var(--text-muted); }

/* ─── PROCEDURE ─── */
.procedure-section { padding: 100px 0; background: var(--bg); }

.protocol-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.protocol-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
    border-top: 4px solid var(--green);
    transition: var(--transition);
}
.protocol-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.protocol-num {
    font-family: 'Fraunces', serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--green-light);
    line-height: 1;
    margin-bottom: 16px;
}

.protocol-icon {
    width: 44px; height: 44px;
    background: var(--green-xlight);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
}
.protocol-icon i { width: 22px; height: 22px; color: var(--green); }

.protocol-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 14px;
}

.protocol-card ul { display: flex; flex-direction: column; gap: 8px; }
.protocol-card li {
    font-size: 13.5px;
    color: var(--text-muted);
    padding-left: 16px;
    position: relative;
    line-height: 1.5;
}
.protocol-card li::before { content: "•"; position: absolute; left: 0; color: var(--green); font-weight: 700; }

/* ─── PRODUCTS ─── */
.products-section { padding: 100px 0; background: white; }

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
    flex-wrap: wrap;
    gap: 20px;
}

.btn-outline-green {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 50px;
    border: 1.5px solid var(--green);
    color: var(--green);
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
    background: transparent;
}
.btn-outline-green:hover { background: var(--green); color: white; }
.btn-outline-green i { width: 16px; height: 16px; }

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--green-light); }

.product-card-featured {
    border-color: var(--green);
    border-width: 2px;
    background: white;
}

.featured-label {
    position: absolute;
    top: 14px; left: 14px;
    background: var(--green);
    color: white;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 5px 12px;
    border-radius: 50px;
    z-index: 2;
    text-transform: uppercase;
}

.product-img-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--green-xlight);
}
.product-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-img-wrap img { transform: scale(1.06); }

.product-price-tag {
    position: absolute;
    bottom: 12px; right: 12px;
    background: white;
    color: var(--green);
    font-size: 14px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
}
.product-price-tag-custom { color: var(--text); }

.product-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }

.product-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }

.tag {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}
.tag-green { background: var(--green-xlight); color: var(--green-dark); }
.tag-teal { background: var(--teal-light); color: #0c5a72; }
.tag-amber { background: var(--amber-light); color: #92400e; }
.tag-purple { background: var(--purple-light); color: #4c1d95; }

.product-name { font-size: 1.1rem; font-weight: 800; color: var(--text); margin-bottom: 6px; }
.product-desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; margin-bottom: 14px; }

.nutrition-strip { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 16px; }
.n-pill {
    font-size: 11px; font-weight: 600; color: var(--text-muted);
    background: white; border: 1px solid var(--border);
    padding: 3px 8px; border-radius: 6px;
}

.product-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 16px;
    border-radius: 50px;
    background: var(--green);
    color: white;
    font-size: 13px;
    font-weight: 700;
    transition: var(--transition);
    margin-top: auto;
}
.product-cta:hover { background: var(--green-dark); transform: translateY(-1px); }
.product-cta i { width: 14px; height: 14px; }

.product-cta-custom { background: var(--text); }
.product-cta-custom:hover { background: #1e293b; }

/* ─── CONTACT ─── */
.contact-section {
    padding: 100px 0;
    background: var(--green-dark);
    margin-top: 80px;
    border-radius: 40px 40px 0 0;
}

.contact-inner { display: flex; flex-direction: column; align-items: center; gap: 48px; }

.contact-text { text-align: center; }
.contact-heading {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 900;
    color: white;
    line-height: 1.2;
    margin-bottom: 12px;
}
.contact-heading em { font-style: italic; color: var(--green-mid); }
.contact-sub { color: rgba(255,255,255,0.65); font-size: 1rem; }

.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; width: 100%; }

.contact-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.contact-card:hover { background: rgba(255,255,255,0.13); transform: translateY(-4px); }

.contact-card-icon {
    width: 52px; height: 52px;
    background: rgba(16,185,129,0.2);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
}
.contact-card-icon i { width: 24px; height: 24px; color: var(--green-mid); }
.contact-card-label { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 1px; }
.contact-card-value { font-size: 14px; font-weight: 600; color: white; line-height: 1.4; }

/* ─── FOOTER ─── */
.site-footer {
    background: #020c07;
    color: #ffffff;
    padding: 60px 0 28px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand img {
    width: 120px;
    border-radius: 10px;
    margin-bottom: 16px;
}
.footer-brand p { font-size: 13px; line-height: 1.65; max-width: 240px; color: rgba(255,255,255,0.85); }

.footer-col-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 14px;
}
.footer-links-col { display: flex; flex-direction: column; gap: 10px; }
.footer-links-col a { font-size: 14px; color: rgba(255,255,255,0.8); transition: var(--transition); }
.footer-links-col a:hover { color: var(--green-mid); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    flex-wrap: wrap;
    gap: 8px;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1200px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .protocol-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 48px; }
    .hero-desc { margin: 0 auto 36px; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-visual { display: none; }

    .science-grid { grid-template-columns: 1fr; gap: 40px; }
    .science-visual { display: none; }

    .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
    .contact-cards { grid-template-columns: 1fr; max-width: 420px; }
}

@media (max-width: 768px) {
    .product-grid { grid-template-columns: 1fr; }
    .protocol-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.4rem; }
    .trust-bar-inner { gap: 10px; justify-content: flex-start; }
    .trust-dot { display: none; }
    .footer-top { grid-template-columns: 1fr; }
    .products-header { flex-direction: column; align-items: flex-start; }
    .section-heading { font-size: 1.85rem; }
    .contact-section { border-radius: 24px 24px 0 0; padding: 60px 0; }
    .contact-cards { grid-template-columns: 1fr; width: 100%; max-width: 100%; }
    .hero-pill { display: none; }  /* prevent pills overflowing on mobile */
    .hero-stats { flex-wrap: wrap; gap: 16px; }
    .stat-divider { display: none; }
}

/* ─── SMALL MOBILE (≤ 480px) ─── */
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero { padding: 70px 0 40px; min-height: auto; }
    .hero-title { font-size: clamp(1.8rem, 8vw, 2.2rem); }
    .hero-desc { font-size: 0.95rem; }
    .hero-badge { font-size: 10px; padding: 6px 12px; }
    .btn-primary, .btn-ghost {
        font-size: 14px;
        padding: 12px 20px;
        width: 100%;
        justify-content: center;
    }
    .hero-actions { flex-direction: column; gap: 10px; }
    .hero-stats { gap: 12px; justify-content: space-around; }
    .stat-num { font-size: 1.4rem; }
    .stat-label { font-size: 10px; }

    .section-heading { font-size: clamp(1.5rem, 6vw, 1.85rem); }
    .section-body { font-size: 0.95rem; }

    .science-section, .procedure-section, .products-section { padding: 60px 0; }
    .science-metrics { gap: 12px; }
    .metric-card { padding: 14px 16px; }
    .metric-num { font-size: 1.4rem; }

    .protocol-card { padding: 20px; }
    .protocol-num { font-size: 1.8rem; }

    .product-grid { grid-template-columns: 1fr; gap: 16px; }
    .product-img-wrap { height: 180px; }

    .contact-section { padding: 48px 0; margin-top: 40px; border-radius: 20px 20px 0 0; }
    .contact-heading { font-size: 1.5rem; }
    .contact-cards { gap: 12px; }
    .contact-card { padding: 20px 16px; }

    .footer-top { gap: 24px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 4px; }
    .site-footer { padding: 40px 0 20px; }

    .trust-bar-inner { gap: 8px; padding: 0 12px; }
    .trust-item { font-size: 11px; }

    .live-banner-body { padding: 16px 16px 16px 24px; gap: 12px; }
    .live-title { font-size: 1rem; }

    .app-download-grid { grid-template-columns: 1fr; gap: 12px; }
    .app-card { padding: 16px; gap: 14px; }
    .app-card-icon { width: 48px; height: 48px; }
    .app-card-title { font-size: 1rem; }
    .app-card-text { font-size: 0.82rem; }

    .section-header-center { margin-bottom: 32px; }
}

/* ─── EXTRA SMALL (≤ 360px) ─── */
@media (max-width: 360px) {
    .container { padding: 0 12px; }
    .hero-title { font-size: clamp(1.6rem, 9vw, 1.9rem); }
    .hero-desc { font-size: 0.9rem; }
    .btn-primary, .btn-ghost { font-size: 13px; padding: 11px 16px; }
    .section-heading { font-size: clamp(1.35rem, 7vw, 1.65rem); }
    .live-title { font-size: 0.95rem; }
    .live-subtitle { font-size: 0.82rem; }
    .contact-card-value { font-size: 12px; word-break: break-all; }
    .protocol-card { padding: 16px; }
    .nav-logo img { width: 120px; }
}

/* ─── GLOBAL RESPONSIVE OVERRIDES ─── */
/* Safe max-width: applies to block containers, NOT svg/td/th/icons */
div, section, article, header, footer, main, nav, aside,
p, h1, h2, h3, h4, h5, h6,
ul, ol, li, form, fieldset, figure,
.container, .hero, .hero-inner, .hero-text,
.trust-bar-inner, .science-grid, .protocol-grid,
.product-grid, .contact-inner, .footer-top {
    max-width: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, .btn, .btn-primary, .btn-ghost, .btn-outline-green, .product-cta, .btn-select, .btn-submit, .pay-btn {
    max-width: 100% !important;
    white-space: normal !important;
    word-break: break-word !important;
}

.table-wrapper,
.nutrition-table-wrapper,
.dash-card > div {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 1024px) {
    body {
        padding-left: 0 !important;
    }
}

@media (max-width: 768px) {
    main.container {
        padding: 80px 16px 40px !important;
    }
}

/* ─── APP DOWNLOAD SECTION ─── */
.app-download-section {
    padding: 30px 16px 10px 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.app-download-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 992px) {
    .app-download-grid {
        grid-template-columns: 1fr;
    }
}

.app-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    text-decoration: none;
    color: var(--text);
    position: relative;
    overflow: hidden;
}

.app-card.android-card {
    cursor: pointer;
}

.app-card.android-card:hover, .app-card.android-card:focus {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--green-mid);
    outline: none;
}

.app-card.ios-card {
    opacity: 0.9;
    cursor: default;
}

.app-card.ios-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.app-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.android-card .app-card-icon {
    background: var(--green-xlight);
    color: var(--green);
}

.ios-card .app-card-icon {
    background: var(--bg);
    color: var(--text-muted);
}

.app-card-content {
    flex: 1;
}

.app-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text);
}

.app-card-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.android-card .app-card-text {
    color: var(--green-dark);
    font-weight: 600;
}

.app-card-status {
    margin-top: 6px;
    margin-bottom: 6px;
}

.status-badge {
    background: var(--amber-light);
    color: #b45309;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-block;
}

.ios-card .note {
    font-size: 0.8rem;
    font-style: italic;
}

.app-card-action {
    color: var(--green);
    background: var(--green-xlight);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.android-card:hover .app-card-action, .android-card:focus .app-card-action {
    background: var(--green);
    color: var(--white);
}

@media (max-width: 600px) {
    .app-download-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ─── LIVE ANNOUNCEMENT BANNER ─── */
.live-announcement-section {
    padding: 0 16px 20px 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.live-banner {
    position: relative;
    background: linear-gradient(120deg, #f0fdf4 0%, #ecfdf5 40%, #f0fdfa 100%);
    border: 1.5px dashed var(--green-mid);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(5,150,105,0.08);
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s cubic-bezier(0.4,0,0.2,1), border-color 0.3s ease;
    cursor: default;
}

.live-banner:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(5,150,105,0.14);
    border-color: var(--green);
    border-style: solid;
}

.live-banner-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--green), var(--green-mid));
    border-radius: 4px 0 0 4px;
}

.live-banner-body {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 28px 20px 32px;
    flex-wrap: wrap;
}

/* Pulsing Live badge */
.live-pulse-wrap {
    flex-shrink: 0;
}

.live-text-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    border: 1.5px solid var(--green-light);
    color: var(--green-dark);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 6px 14px 6px 10px;
    border-radius: 100px;
    box-shadow: 0 2px 8px rgba(5,150,105,0.1);
    white-space: nowrap;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
    animation: livePulse 1.8s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(34,197,94,0.4);
}

@keyframes livePulse {
    0%   { box-shadow: 0 0 0 0 rgba(34,197,94,0.55); }
    60%  { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
    100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

/* Text content */
.live-content {
    flex: 1;
    min-width: 0;
}

.live-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.15rem, 3vw, 1.55rem);
    font-weight: 900;
    color: var(--text);
    margin: 0 0 4px;
    line-height: 1.25;
    background: linear-gradient(90deg, var(--green-dark) 0%, var(--green) 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.live-subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

/* CTA button */
.live-cta {
    flex-shrink: 0;
}

.live-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--green);
    color: white;
    font-size: 0.85rem;
    font-weight: 800;
    padding: 10px 20px;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.25s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 12px rgba(5,150,105,0.25);
    white-space: nowrap;
}

.live-cta-btn:hover {
    background: var(--green-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(5,150,105,0.3);
}

@media (max-width: 768px) {
    .live-banner-body {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 20px 20px 20px 28px;
    }
    .live-title {
        font-size: 1.1rem;
    }
    .live-cta-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ─── TRIAL MEAL CARD ─── */
.app-card.trial-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    border: 1.5px solid #FFE082; /* Light Yellow border */
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    position: relative;
    overflow: hidden;
    height: 100%;
    cursor: pointer;
    animation: gentle-float 4s ease-in-out infinite, golden-border-glow 4s ease-in-out infinite;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.app-card.trial-card:hover {
    animation: golden-border-glow 4s ease-in-out infinite; /* Stops floating */
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(255, 202, 40, 0.25), var(--shadow-lg);
    border-color: #FFB300;
}

/* Shine Sweep Effect */
.app-card.trial-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.55) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    animation: shine-sweep 6s infinite ease-in-out;
    pointer-events: none;
}

@keyframes shine-sweep {
    0% { left: -150%; }
    10% { left: 150%; }
    100% { left: 150%; }
}

/* Sparkles */
.trial-card .sparkle-star {
    position: absolute;
    color: #FFC107;
    font-size: 14px;
    opacity: 0;
    pointer-events: none;
    line-height: 1;
}

.trial-card .star-1 {
    top: 20px;
    left: 20px;
    animation: sparkle-anim-1 3.5s infinite ease-in-out;
}

.trial-card .star-2 {
    bottom: 24px;
    right: 24px;
    animation: sparkle-anim-2 4s infinite ease-in-out;
}

@keyframes sparkle-anim-1 {
    0%, 100% { opacity: 0; transform: scale(0.5) rotate(0deg); }
    30%, 55% { opacity: 0.9; transform: scale(1.2) rotate(90deg); }
    75% { opacity: 0; transform: scale(0.5) rotate(180deg); }
}

@keyframes sparkle-anim-2 {
    0%, 100% { opacity: 0; transform: scale(0.5) rotate(0deg); }
    40%, 65% { opacity: 0.9; transform: scale(1) rotate(-60deg); }
    80% { opacity: 0; transform: scale(0.5) rotate(-120deg); }
}

/* Animations */
@keyframes gentle-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@keyframes golden-border-glow {
    0%, 100% {
        border-color: #FFE082;
        box-shadow: 0 4px 16px rgba(255, 224, 130, 0.15), var(--shadow-sm);
    }
    50% {
        border-color: #FFCA28;
        box-shadow: 0 4px 20px rgba(255, 202, 40, 0.35), var(--shadow-sm);
    }
}

/* Badge */
.trial-card-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--green);
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 5px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    z-index: 2;
}

/* Card Content Styling */
.trial-card-main-content {
    width: 100%;
}

.trial-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.trial-emoji {
    font-size: 1.35rem;
}

.trial-card-subtitle {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--green);
    margin-bottom: 12px;
}

.trial-card-description {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 16px;
}

/* Features List */
.trial-card-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 8px;
    padding: 0;
    list-style: none;
}

.trial-card-features li {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.4;
}

.feature-emoji {
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* Button & Pulsing */
.trial-card-cta-wrap {
    width: 100%;
    margin-top: auto;
}

.trial-card .btn-trial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: var(--green);
    color: white;
    font-size: 0.9rem;
    font-weight: 800;
    padding: 12px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(5,150,105,0.2);
    animation: button-pulse 5s ease-in-out infinite;
    transition: background var(--transition), transform 0.2s, box-shadow 0.2s;
}

.trial-card:hover .btn-trial {
    background: var(--green-dark);
}

@keyframes button-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(5,150,105,0.2);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 0 6px 18px rgba(5,150,105,0.35);
    }
}

/* WhatsApp section inside trial card */
.trial-whatsapp-section {
    width: 100%;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed #FFE082;
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: opacity var(--transition);
}

.trial-whatsapp-section:hover {
    opacity: 0.85;
}

.trial-whatsapp-section:hover .trial-whatsapp-number-wrap {
    text-decoration: underline;
}

.trial-whatsapp-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 6px;
}

.trial-whatsapp-instructions {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.trial-whatsapp-number-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #25D366; /* WhatsApp Green */
    font-size: 0.95rem;
    font-weight: 800;
}

.trial-whatsapp-icon {
    width: 18px;
    height: 18px;
    fill: #25D366;
    display: inline-block;
    vertical-align: middle;
}