/* ═══════════════════════════════════════════════════════ 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; } }