@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800;900&display=swap");

:root {
  --bg: #effaf5;
  --surface: #ffffff;
  --primary: #05b86b;
  --primary2: #18c979;
  --primary-dark: #047a4c;
  --purple: #4b35d3;
  --sky: #dff4ff;
  --ink: #202538;
  --muted: #626d7b;
  --line: #dfe8e3;
  --soft: #f1fbf6;
  --shadow: 0 28px 70px rgba(32, 37, 56, 0.12);
  --font-main: "Manrope", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shell: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin: 0; }
p { color: var(--muted); line-height: 1.68; font-weight: 500; }
ul { margin: 0; padding-left: 18px; color: var(--muted); }

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(223, 232, 227, 0.82);
}
.nav-shell {
  width: min(100% - 40px, var(--shell));
  height: 82px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0;
  min-width: 260px;
  width: 260px;
  height: 58px;
  background: none !important;
}
.brand-icon {
  width: 260px;
  height: 58px;
  flex: 0 0 260px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
.brand-icon img {
  width: 260px;
  height: auto;
  max-height: 58px;
  display: block;
  object-fit: contain;
}
.brand-text { display: none !important; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--ink);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
}
.nav-links a:hover, .login-link:hover { color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 20px; }
.login-link { font-weight: 700; color: var(--ink); font-size: 1rem; }
.nav-cta {
  padding: 14px 25px;
  border-radius: 999px;
  background: var(--primary);
  color: white;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 14px 28px rgba(5, 184, 107, 0.26);
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 154px 0 92px;
  overflow: hidden;
  background:
    radial-gradient(circle at 5% 18%, rgba(5, 184, 107, 0.13), transparent 28%),
    radial-gradient(circle at 95% 20%, rgba(223, 244, 255, 0.95), transparent 34%),
    var(--bg);
}
.hero-shell {
  position: relative;
  z-index: 2;
  width: min(100% - 40px, var(--shell));
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 72px;
  align-items: center;
}
.blob { position: absolute; z-index: 0; border-radius: 999px; filter: blur(84px); opacity: 0.45; }
.blob-green { width: 390px; height: 390px; background: #c8f7dc; top: 40px; left: -120px; }
.blob-blue { width: 480px; height: 480px; background: #dff4ff; right: -80px; bottom: 20px; }
.launch-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(5, 184, 107, 0.16);
  color: var(--primary-dark);
  font-size: 0.95rem;
  font-weight: 800;
}
.launch-badge span { width: 12px; height: 12px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 7px rgba(5, 184, 107, 0.12); }

h1 {
  max-width: 820px;
  color: var(--ink);
  font-size: clamp(3.2rem, 5.05vw, 5.45rem);
  line-height: 1.12;
  letter-spacing: -0.052em;
  font-weight: 800;
}
.hero-lead {
  max-width: 650px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.72;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }
.btn {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 0 30px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn-dark { background: var(--ink); color: white; box-shadow: 0 20px 40px rgba(32, 37, 56, 0.2); }
.btn-light { background: white; color: var(--ink); border: 1px solid var(--line); box-shadow: 0 14px 30px rgba(32, 37, 56, 0.08); }
.btn-white { background: white; color: var(--primary-dark); box-shadow: 0 18px 36px rgba(0, 0, 0, 0.16); }
.full { width: 100%; }
.promo-card {
  display: grid;
  gap: 8px;
  max-width: 520px;
  margin-top: 30px;
  padding: 18px 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  box-shadow: 0 18px 38px rgba(32, 37, 56, 0.08);
}
.promo-card strong { color: var(--ink); font-weight: 800; }
.promo-card span { color: var(--muted); font-weight: 500; }

.hero-mockup { position: relative; min-height: 680px; }
.phone-card {
  position: relative;
  z-index: 2;
  width: min(100%, 430px);
  margin-inline: auto;
  border: 8px solid var(--ink);
  border-radius: 56px;
  background: white;
  padding: 15px;
  box-shadow: 0 35px 80px rgba(32, 37, 56, 0.25);
  animation: float 4s ease-in-out infinite;
}
.phone-screen { height: 600px; border-radius: 42px; background: linear-gradient(180deg, #f1fbf6, #fff); padding: 28px; overflow: hidden; display: flex; flex-direction: column; }
.app-header { display: flex; justify-content: space-between; align-items: start; }
.app-header span { display: block; color: var(--muted); font-weight: 700; }
.app-header strong { display: block; color: var(--ink); font-size: 1.72rem; margin-top: 3px; letter-spacing: -0.04em; font-weight: 800; }
.app-header b { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--primary); color: white; }
.calorie-ring { position: relative; width: 246px; height: 246px; margin: 18px auto 26px; display: grid; place-items: center; }
.ring-svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.ring-track, .ring-progress { fill: none; stroke-width: 14; }
.ring-track { stroke: #edf2f7; }
.ring-progress { stroke: var(--primary2); stroke-linecap: round; stroke-dasharray: 74 100; filter: drop-shadow(0 6px 10px rgba(5, 184, 107, 0.2)); }
.ring-content { position: relative; z-index: 2; width: 126px; height: 126px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; border-radius: 50%; background: rgba(255, 255, 255, 0.78); }
.ring-content span { display: block; color: var(--ink); font-size: 2rem; line-height: 0.95; font-weight: 800; letter-spacing: -0.045em; }
.ring-content small { display: block; max-width: 88px; margin-top: 9px; color: var(--muted); font-size: 0.62rem; line-height: 1.15; font-weight: 800; letter-spacing: 0.08em; }
.macro-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.macro-grid article { padding: 14px 12px; border-radius: 18px; background: white; border: 1px solid var(--line); box-shadow: 0 8px 18px rgba(32, 37, 56, 0.05); text-align: center; }
.macro-grid span { display: block; color: var(--muted); font-size: 0.78rem; }
.macro-grid strong { display: block; margin-top: 5px; color: var(--ink); font-weight: 800; }
.bar { display: block; height: 4px; margin-top: 10px; border-radius: 99px; background: #f1f5f9; overflow: hidden; }
.bar b { display: block; height: 100%; border-radius: inherit; }
.bar.blue b { width: 72%; background: #3b82f6; }
.bar.green b { width: 56%; background: var(--primary); }
.bar.yellow b { width: 66%; background: #eab308; }
.recent-scan { margin-top: 32px; }
.recent-scan h3 { color: var(--ink); font-size: 1.04rem; margin-bottom: 12px; font-weight: 800; }
.meal-card { display: flex; align-items: center; gap: 14px; padding: 13px; border-radius: 20px; background: white; border: 1px solid var(--line); box-shadow: 0 8px 18px rgba(32, 37, 56, 0.05); }
.meal-photo { width: 62px; height: 62px; border-radius: 16px; background: linear-gradient(135deg, #dcfce7, #bbf7d0); }
.meal-card div { flex: 1; }
.meal-card small { display: block; margin-top: 4px; color: var(--muted); }
.meal-card em { font-style: normal; text-align: right; color: var(--primary-dark); font-weight: 800; }
.meal-card em small { font-size: 0.72rem; color: #94a3b8; }
.scan-button { width: 64px; height: 64px; margin: auto auto 0; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--primary); color: white; font-size: 2rem; box-shadow: 0 16px 32px rgba(5, 184, 107, 0.32); }

.float-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 15px 17px; border-radius: 22px; background: rgba(255, 255, 255, 0.92); border: 1px solid rgba(223, 232, 227, 0.8); box-shadow: 0 18px 38px rgba(32, 37, 56, 0.12); backdrop-filter: blur(10px); animation: float 4.5s ease-in-out infinite; }
.float-card span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: #eceaff; color: var(--purple); font-weight: 800; }
.float-card small { display: block; color: var(--muted); }
.float-card strong { display: block; color: var(--ink); font-weight: 800; }
.float-left { left: 0; top: 130px; }
.float-right { right: 0; bottom: 165px; }
.float-right span { background: #dcfce7; color: var(--primary-dark); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.section { padding: 96px 0; }
.white-section { background: white; }
.calculator-section, .pricing-section, .testimonials-section { background: var(--bg); }
.section-head { width: min(100% - 40px, 820px); margin: 0 auto 58px; text-align: center; }
.section-kicker { display: block; margin-bottom: 14px; color: var(--primary-dark); font-size: 0.82rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.16em; }
.section-head h2, .dark-copy h2, .final-cta h2 { color: var(--ink); font-size: clamp(2rem, 3.5vw, 3.1rem); line-height: 1.16; letter-spacing: -0.045em; font-weight: 800; }
.section-head p { margin-top: 18px; font-size: 1.05rem; }
.calculator-card { width: min(100% - 40px, 980px); margin: auto; padding: 30px; border-radius: 32px; background: white; border: 1px solid var(--line); box-shadow: var(--shadow); }
.pricing-free-card { width: min(100% - 40px, 640px); margin: auto; padding: 36px; border-radius: 32px; background: white; border: 1px solid var(--line); box-shadow: var(--shadow); text-align: center; }
.pricing-free-card ul { display: inline-grid; gap: 10px; margin: 0 0 26px; padding: 0; list-style: none; text-align: left; }
.pricing-free-card li { position: relative; padding-left: 28px; color: var(--ink); font-weight: 600; }
.pricing-free-card li:before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 800; }
.calc-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.calc-fields label { display: grid; gap: 8px; color: var(--muted); font-weight: 700; }
.calc-fields input { border: 1px solid var(--line); border-radius: 18px; padding: 15px 16px; background: #f8fafc; color: var(--ink); font-weight: 800; }
.calc-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 18px 0; }
.calc-results article { padding: 22px; border-radius: 22px; background: var(--soft); border: 1px solid rgba(5, 184, 107, 0.14); }
.calc-results span, .calc-results small { display: block; color: var(--muted); }
.calc-results strong { display: block; margin: 6px 0; color: var(--ink); font-size: 2rem; letter-spacing: -0.04em; font-weight: 800; }

.feature-grid { width: min(100% - 40px, var(--shell)); margin: auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature-grid article { padding: 32px; border-radius: 28px; background: #f8fafc; border: 1px solid #eef2f7; box-shadow: 0 14px 32px rgba(32, 37, 56, 0.05); }
.feature-grid article:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-icon { width: 58px; height: 58px; margin-bottom: 24px; border-radius: 20px; background: white; box-shadow: 0 8px 20px rgba(32, 37, 56, 0.06); position: relative; }
.feature-icon:before { content: ""; position: absolute; inset: 16px; border-radius: 10px; background: var(--primary2); }
.feature-icon.mobile:before { background: var(--purple); border-radius: 50%; }
.feature-icon.edit:before { background: #8b5cf6; }
.feature-grid h3 { color: var(--ink); font-size: 1.25rem; margin-bottom: 12px; font-weight: 800; }
.dark-section { background: var(--ink); color: white; position: relative; overflow: hidden; }
.dark-section:before, .dark-section:after { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; filter: blur(100px); opacity: 0.22; }
.dark-section:before { background: var(--primary2); right: 0; top: 0; }
.dark-section:after { background: var(--purple); left: 0; bottom: 0; }
.dark-shell { position: relative; z-index: 2; width: min(100% - 40px, var(--shell)); margin: auto; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: center; }
.dark-copy p { color: #c7cfda; margin-top: 22px; }
.dark-copy h2 { color: white; }
.section-kicker.light { color: #96f2bf; }
.steps-card { display: grid; gap: 16px; }
.steps-card article { display: grid; grid-template-columns: 58px 1fr; gap: 18px; padding: 22px; border-radius: 24px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); }
.steps-card span { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 16px; background: rgba(5, 184, 107, 0.16); color: #96f2bf; font-weight: 800; }
.steps-card h3 { color: white; }
.steps-card p { color: #c7cfda; margin-top: 6px; }
.faq-grid { width: min(100% - 40px, 980px); margin: auto; display: grid; gap: 14px; }
.faq-grid details { padding: 22px 24px; border-radius: 22px; background: white; border: 1px solid var(--line); box-shadow: 0 12px 28px rgba(32, 37, 56, 0.05); }
.faq-grid summary { cursor: pointer; font-weight: 800; color: var(--ink); }
.faq-grid p { margin-top: 12px; }
.final-cta { width: min(100% - 40px, var(--shell)); margin: 80px auto; padding: 54px; border-radius: 34px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); display: flex; align-items: center; justify-content: space-between; gap: 32px; color: white; box-shadow: 0 26px 60px rgba(5, 184, 107, 0.24); }
.final-cta p { margin-top: 14px; color: rgba(255, 255, 255, 0.78); }
.final-cta h2 { color: white; }

.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding: 44px 0 28px; }
.footer-shell { width: min(100% - 40px, var(--shell)); margin: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { height: 30px; width: auto; display: block; }
.footer-brand p { margin: 0; font-size: 0.85rem; max-width: 320px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 26px; font-weight: 700; font-size: 0.92rem; }
.footer-links a:hover { color: var(--primary); }
.footer-copy { width: 100%; margin-top: 6px; font-size: 0.78rem; color: var(--muted); }

.legal-main { padding: 150px 0 90px; background: var(--bg); }
.legal-shell { width: min(100% - 40px, 820px); margin: auto; background: white; border: 1px solid var(--line); border-radius: 32px; padding: clamp(28px, 5vw, 56px); box-shadow: var(--shadow); }
.legal-shell .eyebrow { display: block; margin-bottom: 10px; color: var(--primary-dark); font-size: 0.82rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.16em; }
.legal-shell h1 { font-size: clamp(1.9rem, 4vw, 2.5rem); line-height: 1.15; letter-spacing: -0.035em; color: var(--ink); font-weight: 800; }
.legal-updated { margin-top: 10px; color: var(--muted); font-size: 0.85rem; }
.legal-shell h2 { margin: 34px 0 12px; font-size: 1.25rem; letter-spacing: -0.02em; color: var(--ink); font-weight: 800; }
.legal-shell p, .legal-shell li { font-size: 0.98rem; line-height: 1.7; }
.legal-shell ul { margin: 10px 0; padding-left: 22px; }
.legal-shell li + li { margin-top: 6px; }
.legal-shell a { color: var(--primary-dark); font-weight: 700; text-decoration: underline; }
.legal-callout { margin: 28px 0; padding: 18px 20px; border-radius: 18px; background: var(--soft); border: 1px solid var(--line); }
.legal-callout p { margin: 0; color: var(--ink); font-weight: 600; }
.legal-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px; color: var(--muted); font-weight: 700; font-size: 0.9rem; }
.legal-back:hover { color: var(--primary); }

@media(max-width:980px){ .nav-links,.login-link{display:none}.hero-shell,.dark-shell{grid-template-columns:1fr}.hero{padding-top:124px}.hero-mockup{min-height:710px}.feature-grid,.calc-fields,.calc-results{grid-template-columns:1fr}.final-cta{flex-direction:column;align-items:flex-start} }
@media(max-width:620px){ .legal-main{padding:126px 0 60px} .footer-shell{flex-direction:column;align-items:flex-start} }
@media(max-width:620px){ .nav-shell,.hero-shell{width:min(100% - 28px,var(--shell))}.brand{min-width:210px;width:210px;height:48px}.brand-icon{width:210px;height:48px;flex-basis:210px}.brand-icon img{width:210px;max-height:48px}.nav-cta{padding:11px 16px}.hero{padding-bottom:60px}h1{font-size:clamp(2.8rem,12vw,4.2rem);line-height:1.08;letter-spacing:-.05em}.hero-lead{font-size:1.05rem;line-height:1.65}.hero-actions .btn{width:100%}.phone-card{width:100%;border-width:6px}.phone-screen{height:auto;min-height:560px;padding:22px}.calorie-ring{width:218px;height:218px}.ring-track,.ring-progress{stroke-width:13}.ring-content{width:112px;height:112px}.ring-content span{font-size:1.78rem}.ring-content small{font-size:.58rem}.macro-grid{gap:8px}.macro-grid article{padding:12px 8px}.float-card{display:none}.final-cta{padding:32px}.section{padding:72px 0} }
