Spaces:
Sleeping
Sleeping
File size: 39,376 Bytes
9b2830a | 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 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 | /* βββββββββββββββββββββββββββββββββββββββββββββββββββββββ
NutriVision β Redesigned Stylesheet
Theme: Soft Wellness β Sky Blue + Mint + White
Fonts: Plus Jakarta Sans (headings) + Nunito (body)
βββββββββββββββββββββββββββββββββββββββββββββββββββββββ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Nunito:wght@300;400;500;600;700&display=swap');
/* ββ DESIGN TOKENS ββ */
:root {
--bg: #f0f7ff;
--bg-white: #ffffff;
--bg-card: #ffffff;
--bg-card2: #f5faff;
--bg-section: #e8f4fd;
--blue: #3b9eff;
--blue-d: #1a7de0;
--blue-l: #e0f0ff;
--blue-g: linear-gradient(135deg, #3b9eff 0%, #5bc4f5 100%);
--mint: #2ecb8e;
--mint-l: #e0f9f0;
--mint-g: linear-gradient(135deg, #2ecb8e 0%, #3bdfaa 100%);
--peach: #ff7e5f;
--peach-l: #fff0ec;
--gold: #f59e0b;
--gold-l: #fef3c7;
--purple: #8b5cf6;
--purple-l: #ede9fe;
--text: #1a2332;
--text-2: #374151;
--sub: #6b7280;
--muted: #9ca3af;
--border: #e2ecf5;
--border2: #c8dff0;
--shadow-sm: 0 1px 3px rgba(59,158,255,.08), 0 1px 2px rgba(0,0,0,.04);
--shadow: 0 4px 16px rgba(59,158,255,.12), 0 2px 8px rgba(0,0,0,.06);
--shadow-lg: 0 12px 40px rgba(59,158,255,.18), 0 4px 16px rgba(0,0,0,.08);
--glow-blue: 0 0 32px rgba(59,158,255,.25);
--glow-mint: 0 0 32px rgba(46,203,142,.22);
--r-xs: 6px;
--r-sm: 10px;
--r-md: 14px;
--r-lg: 20px;
--r-xl: 28px;
--r-2xl: 36px;
--fh: 'Plus Jakarta Sans', sans-serif;
--fb: 'Nunito', sans-serif;
--ease: cubic-bezier(.4,0,.2,1);
}
/* ββ RESET ββ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
font-family: var(--fb);
background: var(--bg);
color: var(--text);
line-height: 1.65;
overflow-x: hidden;
-webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
input, select, button, textarea { font-family: inherit; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; opacity: .5; }
/* ββ CONTAINER ββ */
.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
/* ββββββββββββββββββββββββββββββββββ
NAVIGATION
ββββββββββββββββββββββββββββββββββ */
.nav {
position: sticky; top: 0; z-index: 900;
background: rgba(255,255,255,.92);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
border-bottom: 1px solid var(--border);
box-shadow: var(--shadow-sm);
}
.nav__inner {
max-width: 1180px; margin: 0 auto;
padding: .9rem 1.5rem;
display: flex; align-items: center; gap: 1.5rem;
}
.nav__logo { display: flex; align-items: center; gap: .55rem; flex-shrink: 0; }
.logo-icon {
font-size: 1.5rem; display: inline-block;
animation: float 3s ease-in-out infinite;
}
.logo-text {
font-family: var(--fh); font-size: 1.25rem; font-weight: 800;
background: var(--blue-g);
-webkit-background-clip: text; -webkit-text-fill-color: transparent;
background-clip: text;
}
.nav__links { display: flex; gap: 2rem; margin-left: auto; }
.nav__link {
font-family: var(--fh); font-size: .88rem; font-weight: 600;
color: var(--sub); transition: color .2s; position: relative; padding-bottom: 2px;
}
.nav__link::after {
content: ''; position: absolute; bottom: -4px; left: 0;
width: 0; height: 2px; background: var(--blue);
border-radius: 2px; transition: width .3s var(--ease);
}
.nav__link:hover, .nav__link--active { color: var(--blue); }
.nav__link:hover::after, .nav__link--active::after { width: 100%; }
.nav__cta { margin-left: 1.25rem; flex-shrink: 0; }
/* hamburger */
.hamburger {
display: none; flex-direction: column; gap: 5px;
background: none; border: none; cursor: pointer;
padding: .3rem; margin-left: auto;
}
.hamburger span {
display: block; width: 22px; height: 2px;
background: var(--text); border-radius: 2px; transition: .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* mobile menu */
.mobile-menu {
display: none; flex-direction: column;
background: var(--bg-white);
border-bottom: 1px solid var(--border);
padding: .75rem 1.5rem 1.25rem; gap: .15rem;
box-shadow: var(--shadow);
}
.mobile-menu.open { display: flex; }
.mobile-link {
padding: .75rem .9rem; color: var(--sub); font-weight: 600;
border-radius: var(--r-sm); transition: .2s; font-family: var(--fh); font-size: .9rem;
}
.mobile-link:hover { color: var(--blue); background: var(--blue-l); }
.mobile-link.highlight { color: var(--blue); font-weight: 700; }
/* ββββββββββββββββββββββββββββββββββ
BUTTONS
ββββββββββββββββββββββββββββββββββ */
.btn {
display: inline-flex; align-items: center; justify-content: center;
gap: .5rem; padding: .75rem 1.6rem;
border-radius: var(--r-md); font-family: var(--fh); font-weight: 700; font-size: .9rem;
cursor: pointer; border: none; transition: all .22s var(--ease);
white-space: nowrap; line-height: 1;
}
.btn--primary {
background: var(--blue-g); color: #fff;
box-shadow: 0 4px 14px rgba(59,158,255,.35);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(59,158,255,.45); }
.btn--outline { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn--outline:hover { background: var(--blue-l); }
.btn--ghost-sm {
background: transparent; color: var(--sub);
border: 1.5px solid var(--border2); font-size: .85rem; padding: .5rem 1rem;
}
.btn--ghost-sm:hover { color: var(--blue); border-color: var(--blue); background: var(--blue-l); }
.btn--sm { padding: .5rem 1.1rem; font-size: .82rem; }
.btn--lg { padding: 1rem 2.4rem; font-size: 1rem; border-radius: var(--r-lg); }
.btn--full { width: 100%; margin-top: 1.5rem; padding: 1rem; font-size: .95rem; border-radius: var(--r-md); }
.btn-spinner {
width: 17px; height: 17px;
border: 2.5px solid rgba(255,255,255,.3);
border-top-color: #fff;
border-radius: 50%;
animation: spin 1s linear infinite;
}
/* ββββββββββββββββββββββββββββββββββ
BACKGROUND / DECORATIVE BLOBS
ββββββββββββββββββββββββββββββββββ */
.orb {
position: absolute; border-radius: 50%;
filter: blur(80px); pointer-events: none;
}
.orb--a {
width: 500px; height: 500px; opacity: .18;
background: radial-gradient(circle, #3b9eff, transparent 70%);
top: -150px; right: 5%;
animation: drift 9s ease-in-out infinite alternate;
}
.orb--b {
width: 380px; height: 380px; opacity: .14;
background: radial-gradient(circle, #2ecb8e, transparent 70%);
bottom: -80px; left: -5%;
animation: drift 12s ease-in-out infinite alternate-reverse;
}
.orb--c {
width: 300px; height: 300px; opacity: .12;
background: radial-gradient(circle, #8b5cf6, transparent 70%);
top: 40%; left: 42%;
animation: drift 15s ease-in-out infinite alternate;
}
.grid-bg {
position: absolute; inset: 0;
background-image:
linear-gradient(rgba(59,158,255,.06) 1px, transparent 1px),
linear-gradient(90deg, rgba(59,158,255,.06) 1px, transparent 1px);
background-size: 52px 52px; opacity: .7;
}
/* ββββββββββββββββββββββββββββββββββ
HERO
ββββββββββββββββββββββββββββββββββ */
.hero {
position: relative; min-height: calc(100vh - 62px);
display: flex; align-items: center; overflow: hidden;
background: linear-gradient(160deg, #f0f8ff 0%, #e4f3fe 50%, #edfaf4 100%);
}
.hero__bg { position: absolute; inset: 0; }
.hero__body {
display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
align-items: center; padding: 4rem 0;
position: relative; z-index: 2;
}
.hero__badge {
display: inline-flex; align-items: center; gap: .5rem;
background: rgba(59,158,255,.1);
border: 1px solid rgba(59,158,255,.25);
color: var(--blue); font-size: .8rem; font-weight: 700;
font-family: var(--fh);
padding: .38rem 1rem; border-radius: 100px; margin-bottom: 1.5rem;
}
.pulse-dot {
width: 7px; height: 7px; background: var(--mint);
border-radius: 50%; flex-shrink: 0;
animation: pulse-ring 2s ease-in-out infinite;
}
.hero__title {
font-family: var(--fh);
font-size: clamp(2.3rem, 5vw, 3.6rem);
font-weight: 800; line-height: 1.1; letter-spacing: -.025em;
color: var(--text); margin-bottom: 1.25rem;
}
.hero__title em {
font-style: normal;
background: var(--blue-g);
-webkit-background-clip: text; -webkit-text-fill-color: transparent;
background-clip: text;
}
.hero__desc {
color: var(--sub); font-size: 1.05rem; line-height: 1.8;
margin-bottom: 2rem; max-width: 480px;
}
.hero__btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero__stats { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.hstat { display: flex; flex-direction: column; gap: .15rem; }
.hstat b {
font-family: var(--fh); font-size: 1.9rem; font-weight: 800;
color: var(--blue); line-height: 1;
}
.hstat sup { font-size: 1rem; color: var(--mint); font-weight: 700; }
.hstat span { font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .07em; font-weight: 600; }
.hstat-sep { width: 1px; height: 38px; background: var(--border2); }
/* ORBIT */
.hero__right { display: flex; justify-content: center; align-items: center; }
.orbit-wrap { position: relative; width: 340px; height: 340px; flex-shrink: 0; }
.orbit-core {
position: absolute; top: 50%; left: 50%;
transform: translate(-50%, -50%);
width: 80px; height: 80px; border-radius: 50%;
background: linear-gradient(135deg, #fff 0%, #e8f4ff 100%);
border: 2px solid var(--border2);
display: flex; align-items: center; justify-content: center;
font-size: 2rem; box-shadow: var(--shadow-lg); z-index: 2;
}
.orbit {
position: absolute; top: 50%; left: 50%;
border-radius: 50%; border: 1.5px dashed var(--border2);
}
.orbit--1 { width: 200px; height: 200px; transform: translate(-50%,-50%); animation: spin-cw 10s linear infinite; }
.orbit--2 { width: 320px; height: 320px; transform: translate(-50%,-50%); animation: spin-ccw 16s linear infinite; }
.orb-food { position: absolute; font-size: 1.65rem; top: 50%; left: 50%; }
/* ββ MARQUEE ββ */
.marquee-outer {
overflow: hidden;
border-top: 1px solid var(--border);
border-bottom: 1px solid var(--border);
background: var(--bg-white); padding: .65rem 0;
}
.marquee-inner { display: flex; }
.marquee-track {
display: flex; gap: 2.5rem; white-space: nowrap;
animation: marquee 30s linear infinite;
}
.marquee-track span {
color: var(--sub); font-size: .86rem; font-weight: 600;
font-family: var(--fh); padding: .1rem .4rem; flex-shrink: 0;
}
/* ββββββββββββββββββββββββββββββββββ
SECTIONS
ββββββββββββββββββββββββββββββββββ */
.section { padding: 5rem 0; }
.bg-card { background: var(--bg-white); }
.bg-section { background: var(--bg-section); }
.section-head { text-align: center; margin-bottom: 3.5rem; }
.tag {
display: inline-block;
background: var(--blue-l);
border: 1px solid rgba(59,158,255,.3);
color: var(--blue); font-family: var(--fh); font-size: .74rem; font-weight: 700;
letter-spacing: .08em; text-transform: uppercase;
padding: .28rem .9rem; border-radius: 100px; margin-bottom: .9rem;
}
.section-head h2 {
font-family: var(--fh);
font-size: clamp(1.7rem, 3.5vw, 2.5rem);
font-weight: 800; letter-spacing: -.02em; color: var(--text);
}
/* ββ HOW IT WORKS ββ */
.how-grid {
display: flex; align-items: center; justify-content: center;
gap: 1.5rem; flex-wrap: wrap;
}
.how-card {
background: var(--bg-white); border: 1.5px solid var(--border);
border-radius: var(--r-xl); padding: 2.1rem 1.75rem;
max-width: 250px; flex: 1; min-width: 190px; text-align: center;
transition: all .3s var(--ease); box-shadow: var(--shadow-sm);
}
.how-card:hover {
border-color: var(--blue); transform: translateY(-6px); box-shadow: var(--shadow-lg);
}
.how-num {
font-family: var(--fh); font-size: 2.6rem; font-weight: 800;
background: var(--blue-g);
-webkit-background-clip: text; -webkit-text-fill-color: transparent;
background-clip: text; line-height: 1; margin-bottom: .5rem;
}
.how-icon { font-size: 2.2rem; margin-bottom: .75rem; }
.how-card h3 { font-family: var(--fh); font-size: 1rem; font-weight: 700; margin-bottom: .45rem; color: var(--text); }
.how-card p { color: var(--sub); font-size: .87rem; line-height: 1.65; }
.how-arrow { font-size: 1.6rem; color: var(--blue); flex-shrink: 0; opacity: .5; }
/* ββ FEATURES ββ */
.feat-grid {
display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 1.4rem;
}
.feat-card {
background: var(--bg-white); border: 1.5px solid var(--border);
border-radius: var(--r-xl); padding: 1.8rem;
transition: all .3s var(--ease); box-shadow: var(--shadow-sm);
}
.feat-card:hover { border-color: var(--blue); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feat-card--big { grid-column: span 2; }
.feat-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.feat-card h3 { font-family: var(--fh); font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; color: var(--text); }
.feat-card p { color: var(--sub); font-size: .88rem; line-height: 1.68; }
.feat-tags { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1rem; }
.feat-tags span {
background: var(--blue-l); color: var(--blue);
font-size: .74rem; font-weight: 700; font-family: var(--fh); padding: .25rem .7rem;
border-radius: 100px; border: 1px solid rgba(59,158,255,.25);
}
/* ββ MODEL CARDS ββ */
.model-grid {
display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.4rem;
}
.model-card {
background: var(--bg-white); border: 1.5px solid var(--border);
border-radius: var(--r-xl); padding: 1.8rem; text-align: center;
transition: all .3s var(--ease); box-shadow: var(--shadow-sm);
}
.model-card:hover { border-color: var(--blue); transform: translateY(-4px); box-shadow: var(--shadow); }
.model-card--gold { border-color: rgba(245,158,11,.3); background: linear-gradient(135deg, #fffbeb, #fff9e8); }
.model-card--gold:hover { border-color: var(--gold); box-shadow: 0 8px 28px rgba(245,158,11,.18); }
.model-badge {
display: inline-block; background: var(--blue-l); color: var(--blue);
font-family: var(--fh); font-size: .72rem; font-weight: 700; padding: .22rem .75rem;
border-radius: 100px; margin-bottom: 1rem; letter-spacing: .04em;
}
.model-badge--gold { background: var(--gold-l); color: var(--gold); }
.model-icon { font-size: 2.4rem; margin-bottom: .75rem; }
.model-card h4 { font-family: var(--fh); font-size: .98rem; font-weight: 700; margin-bottom: .45rem; color: var(--text); }
.model-card p { color: var(--sub); font-size: .86rem; line-height: 1.6; }
.model-pill {
display: inline-block; margin-top: 1rem;
background: var(--bg-section); border: 1px solid var(--border2);
color: var(--sub); font-family: var(--fh); font-size: .76rem; font-weight: 700;
padding: .25rem .8rem; border-radius: 100px;
}
/* ββ CTA BLOCK ββ */
.cta-block {
background: linear-gradient(135deg, #3b9eff 0%, #2ecb8e 100%);
border-radius: var(--r-2xl); padding: 4.5rem 2rem;
text-align: center; position: relative; overflow: hidden;
box-shadow: 0 16px 48px rgba(59,158,255,.3);
}
.cta-glow {
position: absolute; top: 50%; left: 50%;
transform: translate(-50%, -50%);
width: 500px; height: 280px;
background: radial-gradient(ellipse, rgba(255,255,255,.18) 0%, transparent 70%);
pointer-events: none;
}
.cta-block h2 {
font-family: var(--fh); font-size: 2.2rem; font-weight: 800;
margin-bottom: .75rem; position: relative; color: #fff;
}
.cta-block p { color: rgba(255,255,255,.85); font-size: 1.05rem; margin-bottom: 2rem; position: relative; }
.cta-block .btn--primary {
background: #fff; color: var(--blue);
box-shadow: 0 4px 18px rgba(0,0,0,.15);
}
.cta-block .btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.2); }
/* ββββββββββββββββββββββββββββββββββ
FOOTER
ββββββββββββββββββββββββββββββββββ */
.footer { background: var(--text); border-top: 1px solid rgba(255,255,255,.07); padding: 3.5rem 0 1.5rem; }
.footer-grid {
display: grid; grid-template-columns: 2fr 1fr 1fr;
gap: 3rem; margin-bottom: 2.5rem;
}
.footer .logo-text {
background: var(--blue-g);
-webkit-background-clip: text; -webkit-text-fill-color: transparent;
background-clip: text;
}
.footer-links { display: flex; flex-direction: column; gap: .6rem; }
.footer-links h5 {
font-family: var(--fh); font-size: .76rem; text-transform: uppercase;
letter-spacing: .09em; color: rgba(255,255,255,.4); margin-bottom: .5rem;
}
.footer-links a { color: rgba(255,255,255,.55); font-size: .88rem; transition: color .2s; }
.footer-links a:hover { color: var(--blue); }
.footer-links span { color: rgba(255,255,255,.35); font-size: .85rem; }
.footer-bottom {
border-top: 1px solid rgba(255,255,255,.08); padding-top: 1.5rem;
display: flex; justify-content: space-between;
align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { color: rgba(255,255,255,.3); font-size: .82rem; }
/* ββββββββββββββββββββββββββββββββββ
PAGE HERO
ββββββββββββββββββββββββββββββββββ */
.page-hero {
position: relative; overflow: hidden;
padding: 4rem 0 3rem;
background: linear-gradient(160deg, #f0f8ff 0%, #e6f4fe 100%);
}
.page-title {
font-family: var(--fh);
font-size: clamp(1.9rem, 4.5vw, 2.9rem);
font-weight: 800; margin-bottom: .75rem; color: var(--text);
}
.page-sub { color: var(--sub); font-size: 1rem; max-width: 580px; margin: 0 auto; line-height: 1.7; }
/* ββββββββββββββββββββββββββββββββββ
ANALYZER PAGE
ββββββββββββββββββββββββββββββββββ */
.page-wrap { min-height: calc(100vh - 62px); display: flex; flex-direction: column; }
.analyzer-layout {
display: grid; grid-template-columns: 1fr 1fr;
gap: 2.5rem; padding: 2.5rem 0 5rem;
align-items: start;
}
/* FORM CARD */
.form-card {
background: var(--bg-white);
border: 1.5px solid var(--border);
border-radius: var(--r-2xl);
padding: 2rem;
position: sticky; top: 80px;
box-shadow: var(--shadow);
}
/* UPLOAD ZONE */
.upload-zone {
border: 2px dashed var(--border2);
border-radius: var(--r-xl);
min-height: 190px;
display: flex; align-items: center; justify-content: center;
cursor: pointer; position: relative; overflow: hidden;
transition: all .25s var(--ease);
background: var(--bg-section);
}
.upload-zone:hover, .upload-zone.dragover {
border-color: var(--blue);
background: var(--blue-l);
}
.upload-placeholder { text-align: center; padding: 2rem; pointer-events: none; }
.upload-icon-wrap { font-size: 2.6rem; margin-bottom: .6rem; }
.upload-placeholder h3 {
font-family: var(--fh); font-size: 1.05rem;
font-weight: 700; margin-bottom: .4rem; color: var(--text);
}
.upload-placeholder p { color: var(--muted); font-size: .83rem; }
.upload-preview {
width: 100%; padding: 1rem;
display: flex; align-items: center; justify-content: center; position: relative;
}
.upload-preview img {
max-height: 250px; object-fit: contain;
border-radius: var(--r-lg); margin: 0 auto; box-shadow: var(--shadow-sm);
}
.remove-btn {
position: absolute; top: .75rem; right: .75rem;
width: 30px; height: 30px; border-radius: 50%;
background: #ff6b6b; color: #fff;
border: none; font-size: .9rem; cursor: pointer;
display: flex; align-items: center; justify-content: center;
transition: transform .2s, box-shadow .2s;
box-shadow: 0 2px 8px rgba(255,107,107,.35);
}
.remove-btn:hover { transform: scale(1.15); box-shadow: 0 4px 14px rgba(255,107,107,.45); }
/* PROFILE BLOCK */
.profile-block { margin-top: 1.75rem; }
.block-title {
font-family: var(--fh); font-size: .95rem; font-weight: 700;
margin-bottom: 1.2rem; color: var(--text);
display: flex; align-items: center; gap: .5rem;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label {
font-family: var(--fh); font-size: .75rem; font-weight: 700; color: var(--sub);
text-transform: uppercase; letter-spacing: .06em;
}
.field input, .field select {
background: var(--bg-section);
border: 1.5px solid var(--border);
border-radius: var(--r-sm);
padding: .62rem .9rem;
color: var(--text); font-size: .92rem; font-family: var(--fb);
transition: border-color .2s, box-shadow .2s;
-webkit-appearance: none; appearance: none;
}
.field input:focus, .field select:focus {
outline: none;
border-color: var(--blue);
box-shadow: 0 0 0 3px rgba(59,158,255,.14);
background: var(--bg-white);
}
.field select {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239ca3af' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
background-repeat: no-repeat; background-position: right .85rem center;
padding-right: 2.4rem; background-color: var(--bg-section);
}
.field input[type=number] { -moz-appearance: textfield; }
.field input[type=number]::-webkit-inner-spin-button,
.field input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; }
/* ββββββββββββββββββββββββββββββββββ
RESULTS PANEL
ββββββββββββββββββββββββββββββββββ */
.results-panel { display: flex; flex-direction: column; gap: 1.1rem; }
/* DETECTED FOOD BANNER */
.result-banner {
background: linear-gradient(135deg, #3b9eff 0%, #2ecb8e 100%);
border-radius: var(--r-xl);
padding: 1.6rem 1.85rem;
display: flex; align-items: center; gap: 1.4rem;
box-shadow: 0 8px 28px rgba(59,158,255,.28);
}
.result-banner__icon { font-size: 2.6rem; flex-shrink: 0; }
.result-banner__label {
font-size: .72rem; text-transform: uppercase; letter-spacing: .08em;
color: rgba(255,255,255,.75); font-family: var(--fh); font-weight: 700; margin-bottom: .2rem;
}
.result-banner h2 {
font-family: var(--fh); font-size: 1.6rem; font-weight: 800;
color: #fff; margin: .1rem 0 .55rem; line-height: 1.2;
}
.result-banner__meta { display: flex; gap: .5rem; flex-wrap: wrap; }
.confidence-chip, .source-chip {
font-size: .74rem; font-weight: 700; font-family: var(--fh);
padding: .22rem .65rem; border-radius: 100px;
background: rgba(255,255,255,.22); color: #fff;
}
/* BMI STRIP */
.bmi-strip {
background: var(--bg-white); border: 1.5px solid var(--border);
border-radius: var(--r-lg); padding: 1.1rem 1.5rem;
display: flex; align-items: center; gap: 1.5rem;
box-shadow: var(--shadow-sm);
}
.bmi-item { display: flex; flex-direction: column; gap: .15rem; }
.bmi-label {
font-family: var(--fh); font-size: .72rem; font-weight: 700; color: var(--muted);
text-transform: uppercase; letter-spacing: .06em;
}
.bmi-val { font-family: var(--fh); font-size: 1.55rem; font-weight: 800; color: var(--blue); line-height: 1; }
.bmi-cat { font-family: var(--fh); font-size: .92rem; font-weight: 700; color: var(--text); }
.bmi-sep { width: 1px; height: 38px; background: var(--border); }
/* RESULT CARDS */
.result-card {
background: var(--bg-white); border: 1.5px solid var(--border);
border-radius: var(--r-xl); padding: 1.4rem 1.6rem;
animation: slide-up .35s var(--ease) both;
box-shadow: var(--shadow-sm);
}
.result-card--amber { border-left: 3px solid var(--gold); background: linear-gradient(to right, #fffbeb, var(--bg-white)); }
.result-card--pink { border-left: 3px solid var(--peach); background: linear-gradient(to right, #fff5f3, var(--bg-white)); }
.result-card--teal { border-left: 3px solid var(--mint); background: linear-gradient(to right, #f0fdf8, var(--bg-white)); }
.result-card__title {
font-family: var(--fh); font-size: .95rem; font-weight: 700; color: var(--text);
margin-bottom: 1rem; display: flex; align-items: center; gap: .45rem;
}
/* NUTRITION GRID */
.nutrition-grid {
display: grid; grid-template-columns: repeat(auto-fit, minmax(115px, 1fr)); gap: .65rem;
}
.nutri-item {
background: var(--bg-section); border: 1.5px solid var(--border);
border-radius: var(--r-md); padding: .85rem .8rem;
text-align: center; transition: all .2s;
}
.nutri-item:hover { border-color: var(--blue); background: var(--blue-l); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.nutri-val { font-family: var(--fh); font-size: 1rem; font-weight: 800; color: var(--blue); margin-bottom: .2rem; }
.nutri-label { font-family: var(--fh); font-size: .7rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
/* HEALTH BENEFITS */
.benefits-list { display: flex; flex-direction: column; gap: .5rem; }
.benefits-list li {
display: flex; align-items: flex-start; gap: .65rem;
padding: .65rem .9rem;
background: var(--mint-l);
border-radius: var(--r-sm);
border: 1px solid rgba(46,203,142,.2);
color: var(--text-2); font-size: .9rem; line-height: 1.55;
}
.benefits-list li::before { content: "β"; color: var(--mint); font-weight: 800; flex-shrink: 0; }
/* PORTION */
.portion-text { color: var(--text-2); font-size: .93rem; line-height: 1.7; padding: .3rem 0; }
/* HEALTH CONTEXT */
.result-card--pink p { color: var(--text-2); font-size: .92rem; line-height: 1.72; }
/* ALTERNATIVES */
.alt-intro { color: var(--muted); font-size: .84rem; margin-bottom: 1rem; font-style: italic; }
.alt-list { display: flex; flex-direction: column; gap: .8rem; }
.alt-item {
background: var(--bg-section); border: 1.5px solid var(--border);
border-radius: var(--r-lg); padding: 1.05rem 1.2rem;
transition: border-color .22s, transform .22s, box-shadow .22s;
}
.alt-item:hover { border-color: var(--mint); transform: translateX(4px); box-shadow: var(--shadow-sm); }
.alt-name { font-family: var(--fh); font-weight: 700; color: var(--text); font-size: .95rem; margin-bottom: .2rem; }
.alt-reason { color: var(--sub); font-size: .85rem; margin-bottom: .7rem; line-height: 1.55; }
.alt-buy { display: flex; align-items: center; gap: .45rem; flex-wrap: wrap; }
.buy-label { font-family: var(--fh); font-size: .74rem; font-weight: 700; color: var(--muted); }
.buy-link {
display: inline-flex; align-items: center; gap: .3rem;
background: var(--blue-l); color: var(--blue);
font-family: var(--fh); font-size: .74rem; font-weight: 700;
padding: .22rem .65rem; border-radius: 6px;
border: 1px solid rgba(59,158,255,.25);
transition: all .2s;
}
.buy-link:hover { background: var(--blue); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
/* RESULT ACTIONS */
.result-actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; padding-top: .5rem; }
/* ββββββββββββββββββββββββββββββββββ
LOADING OVERLAY
ββββββββββββββββββββββββββββββββββ */
.loading-overlay {
position: fixed; inset: 0; z-index: 9999;
background: rgba(240,248,255,.95);
backdrop-filter: blur(14px);
-webkit-backdrop-filter: blur(14px);
display: none; align-items: center; justify-content: center;
}
.loading-overlay.active { display: flex; }
.loading-box { text-align: center; max-width: 360px; padding: 2rem; }
.loading-spinner {
width: 64px; height: 64px; margin: 0 auto 2rem;
border: 4px solid rgba(59,158,255,.15);
border-top-color: var(--blue);
border-radius: 50%; animation: spin 1s linear infinite;
}
.loading-box h3 { font-family: var(--fh); font-size: 1.3rem; font-weight: 800; margin-bottom: .4rem; color: var(--text); }
.loading-box > p { color: var(--sub); font-size: .88rem; margin-bottom: 1.5rem; }
.loading-steps { display: flex; flex-direction: column; gap: .45rem; }
.lstep {
padding: .5rem 1rem; border-radius: var(--r-sm);
color: var(--muted); font-size: .85rem; font-family: var(--fh); font-weight: 600;
transition: all .4s; opacity: .35;
}
.lstep.active {
background: var(--blue-l); color: var(--blue);
opacity: 1; border: 1px solid rgba(59,158,255,.25);
}
/* ββββββββββββββββββββββββββββββββββ
ABOUT PAGE
ββββββββββββββββββββββββββββββββββ */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.team-card {
background: var(--bg-white); border: 1.5px solid var(--border);
border-radius: var(--r-2xl); padding: 2.25rem; text-align: center;
transition: all .3s var(--ease); box-shadow: var(--shadow-sm);
}
.team-card:hover { border-color: var(--blue); transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-avatar {
width: 92px; height: 92px; border-radius: 50%;
display: flex; align-items: center; justify-content: center;
font-family: var(--fh); font-size: 2.3rem; font-weight: 800;
color: #fff; margin: 0 auto 1.4rem;
}
.av--purple { background: linear-gradient(135deg, #8b5cf6, #6d44e8); box-shadow: 0 6px 20px rgba(139,92,246,.3); }
.av--pink { background: linear-gradient(135deg, #f472b6, #e04e9a); box-shadow: 0 6px 20px rgba(244,114,182,.3); }
.av--gold { background: linear-gradient(135deg, #f59e0b, #f97316); box-shadow: 0 6px 20px rgba(245,158,11,.3); }
.team-card h3 { font-family: var(--fh); font-size: 1.2rem; font-weight: 800; margin-bottom: .3rem; color: var(--text); }
.team-role { color: var(--blue); font-weight: 700; font-size: .88rem; margin-bottom: 1rem; display: block; font-family: var(--fh); }
.team-bio { color: var(--sub); font-size: .87rem; line-height: 1.72; margin-bottom: 1.25rem; }
.skill-chips { display: flex; flex-wrap: wrap; gap: .45rem; justify-content: center; }
.skill-chips span {
background: var(--blue-l); color: var(--blue);
font-family: var(--fh); font-size: .74rem; font-weight: 700; padding: .26rem .7rem;
border-radius: 100px; border: 1px solid rgba(59,158,255,.2);
}
.mission-text { color: var(--sub); font-size: 1.02rem; line-height: 1.85; text-align: center; max-width: 720px; margin: 0 auto; }
.tech-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(195px, 1fr)); gap: 1.3rem; }
.tech-card {
background: var(--bg-white); border: 1.5px solid var(--border);
border-radius: var(--r-xl); padding: 1.65rem; text-align: center; transition: all .3s;
box-shadow: var(--shadow-sm);
}
.tech-card:hover { border-color: var(--blue); transform: translateY(-4px); box-shadow: var(--shadow); }
.tech-card--gold { border-color: rgba(245,158,11,.28); background: linear-gradient(135deg, #fffbeb, #fff9e8); }
.tech-card--gold:hover { border-color: var(--gold); box-shadow: 0 8px 24px rgba(245,158,11,.18); }
.tech-icon { font-size: 2.1rem; margin-bottom: .8rem; }
.tech-card h4 { font-family: var(--fh); font-size: .96rem; font-weight: 700; margin-bottom: .4rem; color: var(--text); }
.tech-card p { color: var(--sub); font-size: .85rem; line-height: 1.6; }
.diff-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.2rem; }
.diff-item {
display: flex; gap: 1.3rem; align-items: flex-start;
background: var(--bg-white); border: 1.5px solid var(--border);
border-radius: var(--r-xl); padding: 1.4rem; transition: border-color .3s;
box-shadow: var(--shadow-sm);
}
.diff-item:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.diff-num {
font-family: var(--fh); font-size: 2.3rem; font-weight: 800;
line-height: 1; flex-shrink: 0;
background: var(--blue-g);
-webkit-background-clip: text; -webkit-text-fill-color: transparent;
background-clip: text;
}
.diff-item h3 { font-family: var(--fh); font-size: 1rem; font-weight: 700; margin-bottom: .4rem; color: var(--text); }
.diff-item p { color: var(--sub); font-size: .87rem; line-height: 1.6; }
/* ββββββββββββββββββββββββββββββββββ
REVEAL ANIMATION
ββββββββββββββββββββββββββββββββββ */
.reveal {
opacity: 0; transform: translateY(22px);
transition: opacity .55s var(--ease), transform .55s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .07s; }
.d2 { transition-delay: .15s; }
.d3 { transition-delay: .23s; }
.d4 { transition-delay: .31s; }
.d5 { transition-delay: .39s; }
.d6 { transition-delay: .47s; }
/* ββββββββββββββββββββββββββββββββββ
KEYFRAMES
ββββββββββββββββββββββββββββββββββ */
@keyframes float {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-6px); }
}
@keyframes drift {
0% { transform: translate(0, 0); }
100% { transform: translate(24px, -24px); }
}
@keyframes marquee {
0% { transform: translateX(0); }
100% { transform: translateX(-50%); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-cw { to { transform: translate(-50%,-50%) rotate(360deg); } }
@keyframes spin-ccw { to { transform: translate(-50%,-50%) rotate(-360deg); } }
@keyframes pulse-ring {
0%, 100% { box-shadow: 0 0 0 0 rgba(46,203,142,.6); }
50% { box-shadow: 0 0 0 7px rgba(46,203,142,0); }
}
@keyframes slide-up {
from { opacity: 0; transform: translateY(12px); }
to { opacity: 1; transform: translateY(0); }
}
/* ββββββββββββββββββββββββββββββββββ
RESPONSIVE β TABLET (β€1040px)
ββββββββββββββββββββββββββββββββββ */
@media (max-width: 1040px) {
.analyzer-layout { grid-template-columns: 1fr; }
.form-card { position: static; }
.feat-card--big { grid-column: span 1; }
.footer-grid { grid-template-columns: 1fr 1fr; }
}
/* ββββββββββββββββββββββββββββββββββ
RESPONSIVE β MOBILE (β€768px)
ββββββββββββββββββββββββββββββββββ */
@media (max-width: 768px) {
.nav__links, .nav__cta { display: none; }
.hamburger { display: flex; }
.hero { min-height: auto; padding: 2rem 0; }
.hero__body { grid-template-columns: 1fr; text-align: center; gap: 2rem; padding: 2.5rem 0; }
.hero__right { display: none; }
.hero__btns { justify-content: center; }
.hero__stats { justify-content: center; }
.hero__desc { margin-left: auto; margin-right: auto; }
.section { padding: 3.5rem 0; }
.how-arrow { transform: rotate(90deg); }
.footer-grid { grid-template-columns: 1fr; gap: 2rem; }
.footer-bottom { flex-direction: column; text-align: center; gap: .4rem; }
.result-banner { flex-direction: column; text-align: center; }
.result-banner__meta { justify-content: center; }
.model-grid { grid-template-columns: 1fr 1fr; }
.page-title { font-size: 1.75rem; }
.cta-block { padding: 3rem 1.5rem; }
.cta-block h2 { font-size: 1.7rem; }
.diff-grid { grid-template-columns: 1fr; }
}
/* ββββββββββββββββββββββββββββββββββ
RESPONSIVE β SMALL MOBILE (β€520px)
ββββββββββββββββββββββββββββββββββ */
@media (max-width: 520px) {
.container { padding: 0 1rem; }
.form-grid { grid-template-columns: 1fr; }
.nutrition-grid { grid-template-columns: repeat(2, 1fr); }
.model-grid { grid-template-columns: 1fr; }
.result-banner h2 { font-size: 1.3rem; }
.bmi-strip { flex-wrap: wrap; gap: 1rem; }
.hero__title { font-size: 2rem; }
.hero__stats { gap: 1.25rem; }
.hstat b { font-size: 1.55rem; }
.team-grid { grid-template-columns: 1fr; }
.section-head h2 { font-size: 1.55rem; }
.feat-grid { grid-template-columns: 1fr; }
.tech-grid { grid-template-columns: 1fr 1fr; }
.footer-grid { grid-template-columns: 1fr; }
.btn--lg { padding: .85rem 1.6rem; font-size: .9rem; }
.result-actions { flex-direction: column; align-items: center; }
.result-actions .btn { width: 100%; max-width: 280px; }
.how-grid { flex-direction: column; align-items: stretch; }
.how-card { max-width: 100%; }
.how-arrow { align-self: center; transform: rotate(90deg); }
}
/* ββββββββββββββββββββββββββββββββββ
RESPONSIVE β VERY SMALL (β€380px)
ββββββββββββββββββββββββββββββββββ */
@media (max-width: 380px) {
.tech-grid { grid-template-columns: 1fr; }
.nutrition-grid { grid-template-columns: repeat(2, 1fr); }
.hero__title { font-size: 1.75rem; }
.hero__badge { font-size: .72rem; }
} |