:root {
    --primary: #10b981;
    --primary-soft: #ecfdf5;
    --secondary: #3b82f6;
    --dark: #0f172a;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.7);
    --shadow-pro: 0 20px 40px -15px rgba(0, 0, 0, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body { 
    font-family: 'Inter', sans-serif; 
    color: var(--text-main); 
    line-height: 1.6; 
    overflow-x: hidden;
    background-color: #fafafa;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.text-center { text-align: center; }
.hidden { display: none; }
.w-full { width: 100%; }

/* Background Decorations */
.bg-blob {
    position: fixed;
    width: 500px;
    height: 500px;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.4;
    border-radius: 50%;
}
.blob-1 { background: var(--primary-soft); top: -100px; right: -100px; }
.blob-2 { background: #dbeafe; bottom: -100px; left: -100px; }

/* Navbar */
.navbar { 
    padding: 1.25rem 0; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    background: var(--glass); 
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.nav-content { display: flex; justify-content: space-between; align-items: center; }
.logo { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    text-decoration: none; 
    font-weight: 800; 
    font-size: 1.5rem; 
    color: var(--dark);
}
.logo-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-icon svg { width: 24px; }
.logo span { color: var(--primary); }

.nav-links { display: flex; align-items: center; gap: 2.5rem; }
.nav-links a { text-decoration: none; color: var(--text-muted); font-weight: 600; font-size: 0.95rem; transition: 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.btn-nav { background: var(--dark); color: white !important; padding: 0.6rem 1.25rem; border-radius: 12px; }

/* Buttons */
.btn { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center;
    gap: 10px;
    padding: 1rem 2rem; 
    border-radius: 16px; 
    font-weight: 700; 
    text-decoration: none; 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: none;
}
.btn-primary { background: linear-gradient(135deg, var(--primary), #059669); color: white; box-shadow: 0 10px 20px -10px rgba(16, 185, 129, 0.5); }
.btn-secondary { background: var(--white); color: var(--dark); border: 1px solid #e2e8f0; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 15px 30px -10px rgba(0,0,0,0.1); }

/* Hero Section */
.hero { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; padding: 5rem 0; }
.hero-badge { display: inline-block; padding: 0.5rem 1rem; background: var(--primary-soft); color: var(--primary); border-radius: 100px; font-weight: 700; font-size: 0.85rem; margin-bottom: 1.5rem; }
h1 { font-size: 4.5rem; font-weight: 900; line-height: 1.1; margin-bottom: 1.5rem; letter-spacing: -2px; }
.gradient-text { background: linear-gradient(to right, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 1.25rem; color: var(--text-muted); margin-bottom: 2.5rem; max-width: 500px; }
.cta-group { display: flex; gap: 1rem; margin-bottom: 3rem; }

/* Phone Visual */
.phone-frame {
    width: 300px;
    height: 600px;
    background: #1e293b;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 50px 100px -20px rgba(0,0,0,0.25);
    margin: 0 auto;
    border: 8px solid #334155;
}
.phone-screen { background: #f1f5f9; height: 100%; border-radius: 30px; overflow: hidden; position: relative; }
.screen-content { padding: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.stat-card { background: white; padding: 1.5rem; border-radius: 20px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); }
.stat-card strong { font-size: 1.75rem; display: block; margin: 0.5rem 0; color: var(--primary); }
.trend { font-size: 0.8rem; font-weight: 700; }
.trend.down { color: #ef4444; }
.chart-mock { flex: 1; background: white; border-radius: 20px; height: 150px; position: relative; overflow: hidden; }
.chart-mock::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 60%; background: linear-gradient(transparent, var(--primary-soft)); }

/* Features */
.features { padding: 8rem 0; }
.section-title h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 1rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 4rem; }
.f-card { background: var(--white); padding: 3rem 2rem; border-radius: 32px; transition: 0.4s; border: 1px solid rgba(0,0,0,0.03); box-shadow: var(--shadow-pro); }
.f-card:hover { transform: translateY(-10px); }
.f-icon { width: 60px; height: 60px; border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1.5rem; }
.f-icon.green { background: #ecfdf5; color: #10b981; }
.f-icon.blue { background: #eff6ff; color: #3b82f6; }
.f-icon.purple { background: #f5f3ff; color: #8b5cf6; }

/* Calculator */
.calc-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-top: 4rem; align-items: center; }
.glass-card { background: rgba(255, 255, 255, 0.8); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.5); padding: 3rem; border-radius: 32px; box-shadow: var(--shadow-pro); }
.pro-form .f-group { margin-bottom: 1.5rem; }
.pro-form label { display: block; font-size: 0.8rem; font-weight: 800; color: var(--text-muted); text-transform: uppercase; margin-bottom: 0.75rem; }
.pro-form input { width: 100%; padding: 1.25rem; border-radius: 16px; border: 1px solid #e2e8f0; background: #fff; font-size: 1rem; transition: 0.3s; }
.pro-form input:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 4px var(--primary-soft); }
.radio-group { display: flex; gap: 1rem; }
.radio-group label { text-transform: none; background: white; padding: 0.75rem 1.5rem; border-radius: 12px; border: 1px solid #e2e8f0; cursor: pointer; transition: 0.3s; }
.radio-group input { display: none; }
.radio-group input:checked + label { background: var(--primary); color: white; border-color: var(--primary); }

.big-kcal { font-size: 5rem; font-weight: 900; color: var(--primary); line-height: 1; margin: 1rem 0; }
.big-kcal span:last-child { font-size: 1.5rem; color: var(--text-muted); }

/* Footer */
.footer { background: var(--dark); color: white; padding: 6rem 0 3rem; margin-top: 8rem; }
.footer-content { display: flex; justify-content: space-between; margin-bottom: 4rem; }
.footer .logo { color: white; margin-bottom: 1.5rem; }
.footer-links { display: flex; gap: 5rem; }
.f-col h4 { margin-bottom: 1.5rem; font-size: 0.75rem; color: #475569; text-transform: uppercase; }
.f-col a { display: block; color: #94a3b8; text-decoration: none; margin-bottom: 0.75rem; font-size: 0.9rem; transition: 0.3s; }
.f-col a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 2.5rem; display: flex; justify-content: space-between; color: #64748b; font-size: 0.85rem; }

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-up { animation: fadeInUp 0.8s ease-out forwards; }
.animate-fade { animation: fadeIn 1.2s ease-out; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Mobile */
@media (max-width: 992px) {
    .hero, .calc-wrapper, .feature-grid { grid-template-columns: 1fr; }
    h1 { font-size: 3rem; }
    .hero-content { text-align: center; }
    .hero p { margin-left: auto; margin-right: auto; }
    .cta-group { justify-content: center; }
    .nav-links { display: none; }
    .footer-content { flex-direction: column; gap: 3rem; text-align: center; }
    .footer-links { justify-content: center; }
}