-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
392 lines (375 loc) Β· 20 KB
/
Copy pathindex.html
File metadata and controls
392 lines (375 loc) Β· 20 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CalcuBite AI β Know what's really in your food</title>
<meta name="description" content="Scan barcodes, snap meal photos, search 3M+ foods. CalcuBite AI gives you instant nutrition insights, a personal food diary and weekly AI reports. No signup needed.">
<meta name="keywords" content="food analysis, nutrition, AI, food scanner, barcode scanner, calorie counter, food diary, health, diet">
<meta property="og:title" content="CalcuBite AI β Know what's really in your food">
<meta property="og:description" content="Scan barcodes, snap meal photos, search 3M+ foods. Instant nutrition insights with zero signup.">
<meta property="og:type" content="website">
<meta property="og:url" content="https://calcubite.vercel.app">
<meta property="og:image" content="/logo.png">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="CalcuBite AI β Know what's really in your food">
<meta name="twitter:description" content="Scan barcodes, snap meal photos, search 3M+ foods. Instant nutrition insights with zero signup.">
<meta name="twitter:image" content="/logo.png">
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<link rel="manifest" href="/manifest.json">
<meta name="theme-color" content="#16a34a">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="apple-mobile-web-app-title" content="CalcuBite">
<link rel="apple-touch-icon" href="/6233209994745069536_120.jpg">
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap" rel="stylesheet">
<style>
:root {
--primary: #16a34a;
--primary-dark: #15803d;
--secondary: #facc15;
--bg-primary: #f6efe2;
--bg-secondary: #ffffff;
--bg-tertiary: #ece2cd;
--text-primary: #141414;
--text-secondary: #2b2b2b;
--text-tertiary: #525252;
--border-color: #141414;
--border-w: 2px;
--shadow-sm: 3px 3px 0 0 #141414;
--shadow-md: 4px 4px 0 0 #141414;
--shadow-lg: 6px 6px 0 0 #141414;
--radius-md: 0.65rem;
--radius-lg: 0.8rem;
--radius-xl: 0.9rem;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
font-family: 'Inter', system-ui, sans-serif;
background: var(--bg-primary);
color: var(--text-primary);
line-height: 1.6;
-webkit-font-smoothing: antialiased;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
/* Header */
.site-header {
position: sticky; top: 0; z-index: 100;
background: var(--bg-primary);
border-bottom: var(--border-w) solid var(--border-color);
}
.header-inner {
display: flex; align-items: center; justify-content: space-between;
padding: 0.9rem 0;
}
.logo-wrap { display: flex; align-items: center; gap: 0.7rem; }
.logo-wrap img {
width: 42px; height: 42px; border-radius: var(--radius-md);
border: var(--border-w) solid var(--border-color);
}
.logo-wrap strong { font-size: 1.15rem; font-weight: 900; letter-spacing: -0.02em; }
.logo-wrap strong span { color: var(--primary); }
/* Buttons */
.btn {
display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
padding: 0.8rem 1.6rem;
font-family: inherit; font-size: 1rem; font-weight: 800;
border: var(--border-w) solid var(--border-color);
border-radius: var(--radius-md);
box-shadow: var(--shadow-sm);
cursor: pointer; text-decoration: none;
transition: transform 150ms ease, box-shadow 150ms ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 0 var(--border-color); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 0 var(--border-color); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-secondary { background: var(--bg-secondary); color: var(--text-primary); }
.btn-big { padding: 1rem 2.2rem; font-size: 1.1rem; box-shadow: var(--shadow-md); }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.9rem; }
/* Hero */
.hero { padding: 4.5rem 0 3.5rem; text-align: center; }
.hero-badge {
display: inline-flex; align-items: center; gap: 0.45rem;
padding: 0.4rem 1rem; margin-bottom: 1.5rem;
font-size: 0.85rem; font-weight: 800;
background: var(--secondary);
border: var(--border-w) solid var(--border-color);
border-radius: 9999px;
box-shadow: var(--shadow-sm);
}
.hero h1 {
font-size: clamp(2.2rem, 6vw, 3.8rem);
font-weight: 900; letter-spacing: -0.03em; line-height: 1.1;
max-width: 800px; margin: 0 auto 1.25rem;
}
.hero h1 em { font-style: normal; color: var(--primary); }
.hero p.sub {
font-size: clamp(1rem, 2.5vw, 1.2rem);
color: var(--text-tertiary);
max-width: 620px; margin: 0 auto 2rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; margin-bottom: 1.75rem; }
.trust-row {
display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; justify-content: center;
font-size: 0.85rem; font-weight: 700; color: var(--text-tertiary);
}
.trust-row span { display: inline-flex; align-items: center; gap: 0.4rem; }
.trust-row i { color: var(--primary); }
/* Mock preview card */
.preview {
max-width: 420px; margin: 3rem auto 0;
background: var(--bg-secondary);
border: var(--border-w) solid var(--border-color);
border-radius: var(--radius-xl);
box-shadow: var(--shadow-lg);
padding: 1.25rem; text-align: left;
transform: rotate(-1deg);
}
.preview-head { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; }
.preview-head .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--primary); border: 1.5px solid var(--border-color); }
.preview-head strong { font-size: 0.9rem; font-weight: 800; }
.preview-row {
display: flex; align-items: center; gap: 0.75rem;
padding: 0.65rem 0.75rem; margin-bottom: 0.6rem;
background: var(--bg-primary);
border: 1.5px solid var(--border-color);
border-radius: var(--radius-md);
font-size: 0.88rem; font-weight: 600;
}
.preview-row i { color: var(--primary); width: 20px; text-align: center; }
.preview-row .kcal { margin-left: auto; font-weight: 800; color: var(--primary-dark); }
.preview-ring {
display: flex; align-items: center; gap: 0.9rem;
padding: 0.75rem;
background: var(--bg-tertiary);
border: var(--border-w) solid var(--border-color);
border-radius: var(--radius-md);
}
.preview-ring svg { width: 54px; height: 54px; flex: 0 0 auto; }
.preview-ring text { font-size: 9px; font-weight: 800; fill: var(--text-primary); }
.preview-ring .pr-info strong { display: block; font-size: 1.05rem; font-weight: 800; }
.preview-ring .pr-info small { font-size: 0.75rem; color: var(--text-tertiary); }
/* Sections */
section { padding: 3.5rem 0; }
.section-title { text-align: center; margin-bottom: 2.5rem; }
.section-title h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 900; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.section-title p { color: var(--text-tertiary); max-width: 560px; margin: 0 auto; }
/* Features grid */
.features-grid {
display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 1.25rem;
}
.feature-card {
background: var(--bg-secondary);
border: var(--border-w) solid var(--border-color);
border-radius: var(--radius-lg);
box-shadow: var(--shadow-sm);
padding: 1.5rem;
transition: transform 150ms ease, box-shadow 150ms ease;
}
.feature-card:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 0 var(--border-color); }
.feature-icon {
width: 52px; height: 52px;
display: flex; align-items: center; justify-content: center;
font-size: 1.4rem;
background: var(--secondary);
border: var(--border-w) solid var(--border-color);
border-radius: var(--radius-md);
box-shadow: 2px 2px 0 0 var(--border-color);
margin-bottom: 1rem;
}
.feature-card:nth-child(2n) .feature-icon { background: var(--primary); color: #fff; }
.feature-card h3 { font-size: 1.08rem; font-weight: 800; margin-bottom: 0.4rem; }
.feature-card p { font-size: 0.9rem; color: var(--text-tertiary); }
/* How it works */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.step {
position: relative;
background: var(--bg-secondary);
border: var(--border-w) solid var(--border-color);
border-radius: var(--radius-lg);
box-shadow: var(--shadow-sm);
padding: 1.75rem 1.5rem 1.5rem;
}
.step-num {
position: absolute; top: -18px; left: 1.25rem;
width: 38px; height: 38px;
display: flex; align-items: center; justify-content: center;
font-weight: 900; font-size: 1.05rem;
background: var(--primary); color: #fff;
border: var(--border-w) solid var(--border-color);
border-radius: var(--radius-md);
box-shadow: 2px 2px 0 0 var(--border-color);
}
.step h3 { font-size: 1.05rem; font-weight: 800; margin: 0.5rem 0 0.4rem; }
.step p { font-size: 0.9rem; color: var(--text-tertiary); }
/* Final CTA */
.final-cta {
text-align: center;
background: var(--primary);
border-top: var(--border-w) solid var(--border-color);
border-bottom: var(--border-w) solid var(--border-color);
padding: 4rem 0;
}
.final-cta h2 { color: #fff; font-size: clamp(1.7rem, 4.5vw, 2.6rem); font-weight: 900; letter-spacing: -0.02em; margin-bottom: 0.75rem; text-shadow: 2px 2px 0 rgba(0,0,0,0.25); }
.final-cta p { color: rgba(255,255,255,0.92); margin-bottom: 1.75rem; font-size: 1.05rem; }
.final-cta .btn-secondary { box-shadow: var(--shadow-md); }
/* Footer */
footer { padding: 2rem 0; text-align: center; font-size: 0.85rem; color: var(--text-tertiary); }
footer a { color: var(--primary-dark); font-weight: 700; text-decoration: none; }
footer .foot-links { display: flex; gap: 1.25rem; justify-content: center; margin-bottom: 0.75rem; }
@media (max-width: 560px) {
.hero { padding: 3rem 0 2.5rem; }
.preview { transform: none; }
.btn-big { width: 100%; }
}
</style>
</head>
<body>
<header class="site-header">
<div class="container header-inner">
<div class="logo-wrap">
<img src="/6233209994745069536_120.jpg" alt="CalcuBite logo">
<strong>Calcu<span>Bite</span> AI</strong>
</div>
<a href="/app.html" class="btn btn-primary btn-sm">Launch App <i class="fa-solid fa-arrow-right"></i></a>
</div>
</header>
<main>
<!-- Hero -->
<section class="hero">
<div class="container">
<div class="hero-badge"><i class="fa-solid fa-bolt"></i> 100% free Β· No signup needed</div>
<h1>Know what's <em>really</em> in your food</h1>
<p class="sub">Scan any barcode, snap a photo of your meal, or just type what you ate. CalcuBite AI breaks down calories, macros and ingredients in seconds β and keeps a smart food diary for you.</p>
<div class="hero-cta">
<a href="/app.html" class="btn btn-primary btn-big"><i class="fa-solid fa-camera"></i> Start scanning β it's free</a>
<a href="#features" class="btn btn-secondary btn-big"><i class="fa-solid fa-circle-info"></i> See features</a>
</div>
<div class="trust-row">
<span><i class="fa-solid fa-user-slash"></i> No account required</span>
<span><i class="fa-solid fa-box-open"></i> 3M+ barcode products</span>
<span><i class="fa-solid fa-wifi"></i> Works offline</span>
<span><i class="fa-solid fa-microphone"></i> Voice search</span>
</div>
<!-- Mock app preview -->
<div class="preview" aria-hidden="true">
<div class="preview-head">
<span class="dot"></span>
<strong>Today Β· 1,480 / 2,100 kcal</strong>
</div>
<div class="preview-row"><i class="fa-solid fa-barcode"></i> Oats & honey granola <span class="kcal">380 kcal</span></div>
<div class="preview-row"><i class="fa-solid fa-camera"></i> Dal + 2 chapatis <span class="kcal">520 kcal</span></div>
<div class="preview-row"><i class="fa-solid fa-mug-hot"></i> Masala chai <span class="kcal">120 kcal</span></div>
<div class="preview-ring">
<svg viewBox="0 0 42 42">
<circle cx="21" cy="21" r="15.9" fill="none" stroke="#ece2cd" stroke-width="5"></circle>
<circle cx="21" cy="21" r="15.9" fill="none" stroke="#16a34a" stroke-width="5" stroke-dasharray="70 30" stroke-dashoffset="25"></circle>
<text x="21" y="21" text-anchor="middle" dominant-baseline="central">70%</text>
</svg>
<div class="pr-info">
<strong>On track πͺ</strong>
<small>Protein 62/90g Β· Carbs 180/240g Β· Fat 38/60g</small>
</div>
</div>
</div>
</div>
</section>
<!-- Features -->
<section id="features">
<div class="container">
<div class="section-title">
<h2>Everything you need to eat smarter</h2>
<p>Six tools in one tiny app β no login wall, no paywall, no nonsense.</p>
</div>
<div class="features-grid">
<div class="feature-card">
<div class="feature-icon"><i class="fa-solid fa-camera"></i></div>
<h3>AI meal photo analysis</h3>
<p>Snap your plate. Our vision AI identifies the food, estimates calories and macros, and flags anything worth knowing about.</p>
</div>
<div class="feature-card">
<div class="feature-icon"><i class="fa-solid fa-barcode"></i></div>
<h3>Barcode scanner</h3>
<p>Point your camera at any packaged food. We pull verified nutrition data from Open Food Facts β 3 million+ products with Nutri-Score and NOVA ratings.</p>
</div>
<div class="feature-card">
<div class="feature-icon"><i class="fa-solid fa-magnifying-glass"></i></div>
<h3>Search anything</h3>
<p>Type "2 chapatis and dal" or search packaged products by name. Can't type? Use one-tap voice search.</p>
</div>
<div class="feature-card">
<div class="feature-icon"><i class="fa-solid fa-book-open"></i></div>
<h3>Personal food diary</h3>
<p>Log every meal to breakfast, lunch, dinner or snacks. Your diary syncs to your daily calorie and macro targets automatically.</p>
</div>
<div class="feature-card">
<div class="feature-icon"><i class="fa-solid fa-bullseye"></i></div>
<h3>Smart daily goals</h3>
<p>Tell us your age, weight and activity level once β we compute your personal calorie, protein, carb and fat targets with real science (Mifflin-St Jeor).</p>
</div>
<div class="feature-card">
<div class="feature-icon"><i class="fa-solid fa-chart-line"></i></div>
<h3>Weekly AI report</h3>
<p>Get a 7-day trend chart plus an AI-written weekly summary of your eating patterns β and share any result as a beautiful card.</p>
</div>
</div>
</div>
</section>
<!-- How it works -->
<section id="how">
<div class="container">
<div class="section-title">
<h2>Up and running in 30 seconds</h2>
<p>No forms, no email verification. Open the app and go.</p>
</div>
<div class="steps">
<div class="step">
<div class="step-num">1</div>
<h3>Open CalcuBite</h3>
<p>Launch the app β you're already in. Optionally set your health profile for personalized targets (takes 15 seconds, skippable).</p>
</div>
<div class="step">
<div class="step-num">2</div>
<h3>Scan, snap or search</h3>
<p>Barcode a product, photograph your meal, or type/say what you ate. Instant breakdown: calories, protein, carbs, fats and ingredient insights.</p>
</div>
<div class="step">
<div class="step-num">3</div>
<h3>Log & track</h3>
<p>Tap "Add to Diary" and pick the meal. Watch your daily ring fill up, check the weekly chart, and read your AI report every Sunday.</p>
</div>
</div>
</div>
</section>
<!-- Final CTA -->
<section class="final-cta">
<div class="container">
<h2>Your food has secrets. Let's find them.</h2>
<p>Free forever. No account. Install it like a native app.</p>
<a href="/app.html" class="btn btn-secondary btn-big"><i class="fa-solid fa-utensils"></i> Open CalcuBite AI</a>
</div>
</section>
</main>
<footer>
<div class="container">
<div class="foot-links">
<a href="/app.html">App</a>
<a href="#features">Features</a>
<a href="#how">How it works</a>
</div>
<p>Β© 2026 CalcuBite AI Β· Product data from <a href="https://world.openfoodfacts.org" target="_blank" rel="noopener">Open Food Facts</a> Β· Made with <i class="fa-solid fa-heart" style="color:#ef4444"></i> for healthier eating</p>
</div>
</footer>
<script>
// Register service worker (same as app)
if ('serviceWorker' in navigator) {
window.addEventListener('load', () => {
navigator.serviceWorker.register('/sw.js').catch(() => {});
});
}
</script>
</body>
</html>