/* ============================================ GrubFlip Landing Page Mobile-first ยท Brand tokens from Ava ============================================ */ /* --- Tokens (from design system) --- */ :root { --gf-primary: #FF6B35; --gf-primary-light: #FF8F66; --gf-primary-dark: #D94E1F; --gf-primary-bg: #FFF3ED; --gf-secondary: #2D6A4F; --gf-secondary-light: #40916C; --gf-secondary-dark: #1B4332; --gf-secondary-bg: #EDF5F0; --gf-accent: #FFBA08; --gf-accent-light: #FFD166; --gf-accent-bg: #FFF8E1; --gf-neutral-50: #FAFAFA; --gf-neutral-100: #F5F5F5; --gf-neutral-200: #E5E5E5; --gf-neutral-400: #A3A3A3; --gf-neutral-500: #737373; --gf-neutral-600: #525252; --gf-neutral-700: #404040; --gf-neutral-800: #262626; --gf-neutral-900: #171717; --gf-font-heading: 'Plus Jakarta Sans', sans-serif; --gf-font-body: 'Inter', sans-serif; --gf-shadow-sm: 0 1px 2px rgba(0,0,0,0.05); --gf-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1); --gf-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); --gf-shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1); --gf-radius-sm: 0.375rem; --gf-radius-md: 0.5rem; --gf-radius-lg: 0.75rem; --gf-radius-xl: 1rem; --gf-radius-2xl: 1.5rem; --gf-radius-full: 9999px; } /* --- Reset --- */ *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; } body { font-family: var(--gf-font-body); color: var(--gf-neutral-800); background: #fff; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; } img { max-width: 100%; display: block; } a { text-decoration: none; color: inherit; } .container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; } /* --- Buttons --- */ .btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font-family: var(--gf-font-body); font-weight: 600; border: none; border-radius: var(--gf-radius-full); cursor: pointer; transition: all 0.2s ease; text-decoration: none; line-height: 1; white-space: nowrap; } .btn--sm { padding: 0.5rem 1rem; font-size: 0.875rem; } .btn--lg { padding: 0.875rem 1.75rem; font-size: 1rem; } .btn--primary { background: var(--gf-primary); color: #fff; } .btn--primary:hover { background: var(--gf-primary-dark); transform: translateY(-1px); box-shadow: var(--gf-shadow-md); } .btn--outline { background: transparent; color: var(--gf-neutral-700); border: 2px solid var(--gf-neutral-200); } .btn--outline:hover { border-color: var(--gf-primary); color: var(--gf-primary); } .btn--dark { background: var(--gf-neutral-900); color: #fff; } .btn--dark:hover { background: var(--gf-neutral-700); transform: translateY(-1px); box-shadow: var(--gf-shadow-md); } /* --- Navigation --- */ .nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(255,255,255,0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(0,0,0,0.06); } .nav__inner { display: flex; align-items: center; justify-content: space-between; max-width: 1120px; margin: 0 auto; padding: 0.875rem 1.25rem; } .nav__logo { font-family: var(--gf-font-heading); font-weight: 800; font-size: 1.375rem; color: var(--gf-neutral-900); } .nav__logo span { color: var(--gf-primary); } .nav__links { display: flex; align-items: center; gap: 1.25rem; } .nav__link { font-size: 0.875rem; font-weight: 500; color: var(--gf-neutral-600); transition: color 0.2s; } .nav__link:hover { color: var(--gf-primary); } .hide-mobile { display: none; } /* --- Hero --- */ .hero { padding: 7rem 0 3rem; background: linear-gradient(180deg, var(--gf-primary-bg) 0%, #fff 100%); } .hero .container { display: flex; flex-direction: column; gap: 2.5rem; } .hero__badge { display: inline-block; background: #fff; border: 1px solid var(--gf-neutral-200); border-radius: var(--gf-radius-full); padding: 0.375rem 0.875rem; font-size: 0.8125rem; font-weight: 600; color: var(--gf-neutral-700); margin-bottom: 0.75rem; } .hero__title { font-family: var(--gf-font-heading); font-weight: 800; font-size: 2.25rem; line-height: 1.15; color: var(--gf-neutral-900); letter-spacing: -0.02em; } .hero__highlight { color: var(--gf-primary); } .hero__sub { margin-top: 1rem; font-size: 1.0625rem; color: var(--gf-neutral-600); line-height: 1.65; max-width: 480px; } .hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; } .hero__social-proof { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.75rem; font-size: 0.875rem; color: var(--gf-neutral-500); } .hero__avatars { display: flex; } .hero__avatar { display: flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 50%; font-size: 0.875rem; border: 2px solid #fff; margin-right: -0.5rem; } .hero__avatar:last-child { margin-right: 0; } .hero__social-text strong { color: var(--gf-neutral-800); } /* Phone Mockup */ .hero__visual { display: flex; justify-content: center; } .phone-mockup { width: 260px; background: var(--gf-neutral-900); border-radius: 2rem; padding: 0.5rem; box-shadow: var(--gf-shadow-xl), 0 0 0 1px rgba(0,0,0,0.1); transform: rotate(2deg); } .phone-mockup__screen { background: #fff; border-radius: 1.625rem; padding: 1rem; min-height: 380px; display: flex; flex-direction: column; gap: 0.625rem; } .phone-mockup__header { text-align: center; padding: 0.5rem 0 0.75rem; } .phone-mockup__logo { font-family: var(--gf-font-heading); font-weight: 800; font-size: 1rem; color: var(--gf-neutral-900); } .phone-mockup__logo span { color: var(--gf-primary); } .phone-mockup__card { display: flex; align-items: center; gap: 0.625rem; background: var(--gf-neutral-50); border: 1px solid var(--gf-neutral-200); border-radius: var(--gf-radius-lg); padding: 0.75rem; animation: cardSlideIn 0.6s ease both; } .phone-mockup__card:nth-child(3) { animation-delay: 0.2s; } .phone-mockup__card:nth-child(4) { animation-delay: 0.4s; } .phone-mockup__card--alt { background: var(--gf-secondary-bg); border-color: rgba(45,106,79,0.15); } .phone-mockup__food-emoji { font-size: 1.75rem; flex-shrink: 0; } .phone-mockup__card-text { display: flex; flex-direction: column; gap: 0.125rem; flex: 1; min-width: 0; } .phone-mockup__card-text strong { font-size: 0.8125rem; font-weight: 600; color: var(--gf-neutral-800); } .phone-mockup__card-text small { font-size: 0.6875rem; color: var(--gf-neutral-400); } .phone-mockup__badge { flex-shrink: 0; background: var(--gf-primary); color: #fff; font-size: 0.6875rem; font-weight: 700; padding: 0.25rem 0.625rem; border-radius: var(--gf-radius-full); } .phone-mockup__badge--green { background: var(--gf-secondary); } @keyframes cardSlideIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } } /* --- How It Works --- */ .how-it-works { padding: 4rem 0; } .section-title { font-family: var(--gf-font-heading); font-weight: 800; font-size: 1.75rem; color: var(--gf-neutral-900); text-align: center; letter-spacing: -0.02em; } .section-sub { text-align: center; color: var(--gf-neutral-500); margin-top: 0.5rem; font-size: 1rem; } .steps { display: flex; flex-direction: column; gap: 2rem; margin-top: 2.5rem; } .step { text-align: center; position: relative; padding: 1.5rem; } .step__icon { font-size: 2.5rem; margin-bottom: 0.75rem; } .step__num { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--gf-primary); color: #fff; font-weight: 700; font-size: 0.875rem; margin-bottom: 0.75rem; } .step__title { font-family: var(--gf-font-heading); font-weight: 700; font-size: 1.125rem; color: var(--gf-neutral-800); margin-bottom: 0.5rem; } .step__desc { color: var(--gf-neutral-500); font-size: 0.9375rem; line-height: 1.6; max-width: 320px; margin: 0 auto; } /* --- Features --- */ .features { padding: 4rem 0; background: var(--gf-neutral-50); } .features__grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-top: 2.5rem; } .feature-card { background: #fff; border: 1px solid var(--gf-neutral-200); border-radius: var(--gf-radius-xl); padding: 1.5rem; transition: transform 0.2s, box-shadow 0.2s; } .feature-card:hover { transform: translateY(-2px); box-shadow: var(--gf-shadow-md); } .feature-card__icon { font-size: 2rem; margin-bottom: 0.75rem; } .feature-card__title { font-family: var(--gf-font-heading); font-weight: 700; font-size: 1.0625rem; color: var(--gf-neutral-800); margin-bottom: 0.375rem; } .feature-card__desc { color: var(--gf-neutral-500); font-size: 0.9375rem; line-height: 1.55; } /* --- Testimonial --- */ .testimonial { padding: 4rem 0; text-align: center; } .testimonial__quote { font-family: var(--gf-font-heading); font-size: 1.25rem; font-weight: 600; line-height: 1.5; color: var(--gf-neutral-800); max-width: 600px; margin: 0 auto; font-style: italic; } .testimonial__author { display: flex; align-items: center; justify-content: center; gap: 0.75rem; margin-top: 1.5rem; } .testimonial__avatar { display: flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; background: var(--gf-accent-bg); border-radius: 50%; font-size: 1.25rem; } .testimonial__author strong { display: block; font-size: 0.9375rem; color: var(--gf-neutral-800); } .testimonial__author span { font-size: 0.8125rem; color: var(--gf-neutral-500); } /* --- Download CTA --- */ .download { padding: 4rem 0; background: linear-gradient(135deg, var(--gf-primary) 0%, var(--gf-primary-dark) 100%); text-align: center; color: #fff; } .download__title { font-family: var(--gf-font-heading); font-weight: 800; font-size: 2rem; letter-spacing: -0.02em; } .download__sub { margin-top: 0.75rem; font-size: 1.0625rem; opacity: 0.9; max-width: 400px; margin-left: auto; margin-right: auto; } .download__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 2rem; } .download__store-btn { min-width: 160px; } .download__store-icon { width: 20px; height: 20px; flex-shrink: 0; } .download__note { margin-top: 1.5rem; font-size: 0.875rem; opacity: 0.75; } .download__note a { color: #fff; text-decoration: underline; text-underline-offset: 2px; } .download__note a:hover { opacity: 0.8; } /* --- Footer --- */ .footer { padding: 2.5rem 0 1.5rem; background: var(--gf-neutral-900); color: var(--gf-neutral-400); } .footer__inner { display: flex; flex-direction: column; gap: 1.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); } .footer__logo { font-family: var(--gf-font-heading); font-weight: 800; font-size: 1.25rem; color: #fff; } .footer__logo span { color: var(--gf-primary); } .footer__tagline { font-size: 0.875rem; margin-top: 0.25rem; } .footer__links { display: flex; flex-wrap: wrap; gap: 1.25rem; } .footer__links a { font-size: 0.875rem; color: var(--gf-neutral-400); transition: color 0.2s; } .footer__links a:hover { color: #fff; } .footer__copy { text-align: center; font-size: 0.8125rem; padding-top: 1.5rem; color: var(--gf-neutral-500); } /* ============================================ Tablet+ (640px) ============================================ */ @media (min-width: 640px) { .hide-mobile { display: inline; } .hero__title { font-size: 2.75rem; } .steps { flex-direction: row; gap: 1.5rem; } .step { flex: 1; } .features__grid { grid-template-columns: 1fr 1fr; } .footer__inner { flex-direction: row; align-items: center; justify-content: space-between; } } /* ============================================ Desktop (960px) ============================================ */ @media (min-width: 960px) { .hero .container { flex-direction: row; align-items: center; gap: 4rem; } .hero__content { flex: 1; } .hero__visual { flex: 0 0 auto; } .hero__title { font-size: 3.25rem; } .hero { padding: 8rem 0 5rem; } .section-title { font-size: 2.25rem; } .how-it-works, .features, .testimonial { padding: 5rem 0; } .features__grid { grid-template-columns: repeat(4, 1fr); } .testimonial__quote { font-size: 1.5rem; } .download { padding: 5rem 0; } .download__title { font-size: 2.5rem; } .phone-mockup { width: 300px; } .phone-mockup__screen { min-height: 440px; } }