/* =====================================================
   UNA EATS - GLOBAL STYLES (theme based on logo)
   Purple + Lime Green
   ===================================================== */
:root {
    --primary-purple: #9B22DC;
    --primary-purple-light: #B65CF0;
    --primary-purple-dark: #6A12A0;
    --purple-deep: #3E0A63;
    --secondary-green: #9AD93A;
    --green-dark: #7DB82A;
    --text-dark: #1B1030;
    --text-gray: #5B5470;
    --footer-bg: #1E0B33;
    --footer-bottom: #150824;
    --soft-purple: #F6EDFD;
    --soft-green: #F3FBE6;
    --font-main: 'Outfit', sans-serif;
    --shadow-purple: 0 20px 45px rgba(155, 34, 220, 0.18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.text-green { color: var(--secondary-green); }
.text-purple { color: var(--primary-purple); }

/* =====================================================
   SCROLL PROGRESS BAR
   ===================================================== */
.scroll-progress {
    position: fixed; top: 0; left: 0; height: 4px; width: 0;
    background: linear-gradient(90deg, var(--secondary-green), var(--primary-purple-light));
    z-index: 2000; transition: width 0.1s linear;
}

/* =====================================================
   NAVIGATION BAR
   ===================================================== */
.navbar {
    background-color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    padding: 18px 0;
    position: sticky; top: 0; z-index: 1000;
    border-bottom: 1px solid rgba(155, 34, 220, 0.1);
    transition: padding 0.3s, box-shadow 0.3s;
}
.navbar.scrolled { padding: 10px 0; box-shadow: 0 8px 30px rgba(62, 10, 99, 0.12); }

.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 24px;
    display: flex; justify-content: space-between; align-items: center;
}

.logo-container { display: flex; align-items: center; gap: 12px; }
.nav-logo { height: 40px; width: auto; object-fit: contain; }
.logo-text { font-size: 26px; font-weight: 800; color: var(--primary-purple); letter-spacing: -0.5px; }

.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links li a {
    font-weight: 500; color: var(--text-gray); font-size: 1rem;
    position: relative; transition: color 0.2s; padding: 6px 0;
}
.nav-links li a::after {
    content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 3px;
    background: var(--secondary-green); border-radius: 3px; transition: width 0.3s;
}
.nav-links li a:hover, .nav-links li a.active { color: var(--primary-purple); }
.nav-links li a:hover::after, .nav-links li a.active::after { width: 100%; }

.nav-buttons { display: flex; gap: 14px; align-items: center; }

.btn-outline {
    padding: 10px 24px; border: 2px solid var(--primary-purple); color: var(--primary-purple);
    border-radius: 10px; font-weight: 600; transition: all 0.25s;
}
.btn-outline:hover { background: var(--primary-purple); color: white; transform: translateY(-2px); }

.btn-solid {
    padding: 10px 24px; background: var(--primary-purple); color: white;
    border-radius: 10px; font-weight: 600; transition: all 0.25s; border: 2px solid var(--primary-purple);
}
.btn-solid:hover { background: var(--primary-purple-dark); border-color: var(--primary-purple-dark); box-shadow: 0 8px 20px rgba(155, 34, 220, 0.35); transform: translateY(-2px); }

.menu-toggle {
    display: none; background: none; border: none; font-size: 1.6rem;
    color: var(--primary-purple); cursor: pointer;
}

body.no-scroll { overflow: hidden; }

/* Mobile menu (FULL SCREEN overlay) */
.mobile-menu {
    position: fixed; inset: 0; width: 100%; height: 100vh; height: 100dvh; z-index: 3000;
    background: linear-gradient(160deg, #5A1D91 0%, var(--primary-purple) 55%, #B13BEB 100%);
    color: white; display: flex; flex-direction: column; gap: 8px;
    padding: 14px 22px max(18px, env(safe-area-inset-bottom)); overflow-x: hidden; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-20px);
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: none; }

.mm-head { display: flex; justify-content: space-between; align-items: center; }
.mm-head .logo-text { color: white; }
.mm-close {
    width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,0.15);
    border: none; color: white; font-size: 1.3rem; cursor: pointer; transition: all 0.3s;
}
.mm-close:hover { background: var(--secondary-green); color: var(--purple-deep); transform: rotate(90deg); }

.mm-links { display: flex; flex-direction: column; flex: 1 1 0; min-height: 0; text-align: center; padding: 4px 0; }
.mm-links a {
    flex: 1 1 0; min-height: 0; max-height: 66px; display: flex; align-items: center; justify-content: center;
    padding: 0; font-size: clamp(1rem, 3.3vh, 1.4rem); font-weight: 600; color: white;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    opacity: 0; transform: translateY(20px); transition: opacity 0.4s ease, transform 0.4s ease, color 0.2s;
}
.mobile-menu.open .mm-links a { opacity: 1; transform: none; }
.mobile-menu.open .mm-links a:nth-child(1) { transition-delay: 0.10s; }
.mobile-menu.open .mm-links a:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.open .mm-links a:nth-child(3) { transition-delay: 0.20s; }
.mobile-menu.open .mm-links a:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.open .mm-links a:nth-child(5) { transition-delay: 0.30s; }
.mobile-menu.open .mm-links a:nth-child(6) { transition-delay: 0.35s; }
.mobile-menu.open .mm-links a:nth-child(7) { transition-delay: 0.40s; }
.mm-links a:hover { color: var(--secondary-green); }

.mm-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mm-actions a { text-align: center; padding: clamp(10px, 1.8vh, 14px); font-size: 1rem; }
.mm-close { flex-shrink: 0; }
.mm-head .nav-logo { height: clamp(32px, 5vh, 40px); }

/* Very short screens (small phones / landscape): tighten so everything still fits */
@media (max-height: 560px) {
    .mobile-menu { padding-top: 10px; gap: 4px; }
    .mm-close { width: 38px; height: 38px; font-size: 1.1rem; }
    .mm-links a { font-size: 1rem; }
    .mm-actions a { padding: 9px; font-size: 0.92rem; }
}
.mm-actions .btn-outline { border-color: white; color: white; }
.mm-actions .btn-outline:hover { background: white; color: var(--primary-purple); }
.mm-actions .btn-solid { background: var(--secondary-green); border-color: var(--secondary-green); color: var(--purple-deep); }
.mm-actions .btn-solid:hover { background: #abe84d; border-color: #abe84d; box-shadow: 0 8px 20px rgba(154,217,58,0.4); }

@media (min-width: 769px) { .mobile-menu { display: none; } }

/* =====================================================
   AUTH MODAL (Log In / Sign Up)
   ===================================================== */
.auth-modal {
    position: fixed; inset: 0; z-index: 3500; background: rgba(30, 11, 51, 0.65); backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center; padding: 16px;
    opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.auth-modal.open { opacity: 1; visibility: visible; }

.auth-box {
    position: relative; width: 100%; max-width: 440px; max-height: 94vh; max-height: 94dvh; overflow-y: auto;
    background: white; border-radius: 28px; box-shadow: 0 40px 80px rgba(30, 5, 55, 0.5);
    transform: translateY(40px) scale(0.94); transition: transform 0.4s cubic-bezier(.2,.9,.3,1.2);
}
.auth-modal.open .auth-box { transform: none; }

.auth-close {
    position: absolute; top: 14px; right: 14px; z-index: 5; width: 38px; height: 38px; border-radius: 50%;
    border: none; background: rgba(255,255,255,0.2); color: white; font-size: 1.05rem; cursor: pointer; transition: all 0.3s;
}
.auth-close:hover { background: var(--secondary-green); color: var(--purple-deep); transform: rotate(90deg); }

.auth-head {
    background: linear-gradient(135deg, #7A14B8, var(--primary-purple) 55%, #B13BEB);
    padding: 34px 24px 54px; text-align: center; color: white; position: relative; overflow: hidden;
}
.auth-logo {
    position: relative; z-index: 1; height: 76px; width: auto; border-radius: 18px; object-fit: contain;
    box-shadow: 0 10px 25px rgba(30,5,55,0.35); margin-bottom: 12px;
}
.auth-logo-text { display: none; position: relative; z-index: 1; font-size: 2.2rem; font-weight: 800; margin-bottom: 8px; }
.auth-logo-text span { color: var(--secondary-green); }
.auth-head p { position: relative; z-index: 1; font-weight: 500; opacity: 0.92; }

.auth-tabs {
    display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--soft-purple);
    margin: -28px 24px 0; padding: 6px; border-radius: 16px; position: relative; z-index: 2;
    box-shadow: 0 10px 25px rgba(155,34,220,0.15);
}
.auth-tab {
    border: none; background: transparent; padding: 12px; border-radius: 12px; font-family: inherit;
    font-weight: 700; font-size: 0.98rem; color: var(--text-gray); cursor: pointer; transition: all 0.3s;
}
.auth-tab.active { background: var(--primary-purple); color: white; box-shadow: 0 6px 15px rgba(155,34,220,0.35); }

.auth-body { padding: 24px 24px 28px; }
.auth-form { display: none; }
.auth-form.active { display: block; animation: authIn 0.4s ease; }
@keyframes authIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.field { position: relative; margin-bottom: 14px; }
.field > i.fi { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--primary-purple-light); }
.field input {
    width: 100%; padding: 14px 44px 14px 44px; border: 2px solid #eadcf5; border-radius: 14px;
    font-family: inherit; font-size: 0.98rem; color: var(--text-dark); background: #fcf9fe; transition: all 0.25s;
}
.field input:focus { outline: none; border-color: var(--primary-purple); background: white; box-shadow: 0 0 0 4px rgba(155,34,220,0.12); }
.field .toggle-pass {
    position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: none;
    color: var(--text-gray); cursor: pointer; width: 36px; height: 36px; border-radius: 50%;
}
.field .toggle-pass:hover { color: var(--primary-purple); }

.auth-submit {
    width: 100%; margin-top: 6px; padding: 15px; border: none; border-radius: 14px; cursor: pointer;
    background: var(--primary-purple); color: white; font-family: inherit; font-weight: 700; font-size: 1.05rem;
    display: flex; align-items: center; justify-content: center; gap: 10px; transition: all 0.3s;
}
.auth-submit:hover { background: var(--primary-purple-dark); transform: translateY(-3px); box-shadow: 0 12px 25px rgba(155,34,220,0.35); }
.auth-error { display: none; color: #D92D4A; font-size: 0.88rem; font-weight: 500; margin-bottom: 10px; }
.auth-error.show { display: block; }
.auth-switch { text-align: center; margin-top: 16px; font-size: 0.92rem; color: var(--text-gray); }
.auth-switch a, .auth-switch button {
    background: none; border: none; font-family: inherit; font-size: inherit; cursor: pointer;
    color: var(--primary-purple); font-weight: 700;
}
.auth-switch a:hover, .auth-switch button:hover { text-decoration: underline; }
.auth-fullpage { display: block; text-align: center; margin-top: 8px; font-size: 0.82rem; color: var(--text-gray); }
.auth-fullpage:hover { color: var(--primary-purple); }

@media (max-width: 480px) {
    .auth-box { border-radius: 22px; }
    .auth-head { padding: 28px 20px 50px; }
    .auth-logo { height: 64px; }
    .auth-tabs { margin: -26px 18px 0; }
    .auth-body { padding: 20px 18px 24px; }
}

/* =====================================================
   BUTTONS (shared)
   ===================================================== */
.btn-primary {
    background: var(--secondary-green); color: var(--purple-deep); padding: 16px 36px; border-radius: 14px;
    font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    transition: all 0.3s; border: none; cursor: pointer; font-size: 1.1rem; font-family: inherit;
}
.btn-primary:hover { background: #abe84d; transform: translateY(-4px); box-shadow: 0 15px 30px rgba(154, 217, 58, 0.4); }
.btn-primary i { transition: transform 0.3s; }
.btn-primary:hover i { transform: translateX(5px); }

.btn-purple {
    background: var(--primary-purple); color: white; padding: 14px 30px; border-radius: 12px;
    font-weight: 600; display: inline-flex; align-items: center; gap: 10px; transition: all 0.3s;
}
.btn-purple:hover { background: var(--primary-purple-dark); transform: translateY(-3px); box-shadow: 0 12px 25px rgba(155, 34, 220, 0.3); }

.btn-play { display: flex; align-items: center; gap: 12px; font-weight: 600; color: white; transition: opacity 0.2s; }
.btn-play:hover { opacity: 0.85; }
.play-icon {
    width: 52px; height: 52px; background: rgba(255,255,255,0.15); border: 2px solid rgba(255,255,255,0.5);
    border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white;
    animation: pulse-ring 2s infinite;
}
@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.45); }
    70% { box-shadow: 0 0 0 16px rgba(255,255,255,0); }
    100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
    position: relative; padding: 90px 0 110px; overflow: hidden; color: white;
    background: linear-gradient(135deg, #7A14B8 0%, var(--primary-purple) 45%, #B13BEB 100%);
}
.hero-bg-shapes .shape { position: absolute; border-radius: 50%; filter: blur(70px); z-index: 0; }
.shape-1 { top: -15%; left: -5%; width: 450px; height: 450px; background: rgba(255,255,255,0.12); animation: drift 12s ease-in-out infinite; }
.shape-2 { bottom: -15%; right: -5%; width: 450px; height: 450px; background: rgba(154, 217, 58, 0.30); animation: drift 14s ease-in-out infinite reverse; }
.shape-3 { top: 35%; left: 45%; width: 300px; height: 300px; background: rgba(62, 10, 99, 0.35); animation: drift 10s ease-in-out infinite; }

@keyframes drift {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -25px); }
}

.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; line-height: 0; z-index: 2; }
.hero-wave svg { width: 100%; height: 70px; display: block; }

.hero-container {
    position: relative; z-index: 10;
    display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center;
}

.floating-food {
    position: absolute; font-size: 2.2rem; opacity: 0.35; z-index: 1;
    animation: float 6s ease-in-out infinite; color: white;
}
.food-1 { top: 8%; left: 3%; color: var(--secondary-green); opacity: 0.7; }
.food-2 { top: 14%; right: 6%; animation-delay: 1s; }
.food-3 { bottom: 14%; left: 8%; animation-delay: 2s; color: #FFD166; opacity: 0.7; }
.food-4 { bottom: 20%; right: 4%; animation-delay: 3s; color: var(--secondary-green); opacity: 0.6; }

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-22px) rotate(10deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

.badge {
    display: inline-block; background: rgba(255,255,255,0.15); color: white;
    padding: 8px 20px; border-radius: 30px; font-weight: 600; font-size: 0.9rem; margin-bottom: 24px;
    border: 1px solid rgba(255,255,255,0.3); backdrop-filter: blur(6px);
}

.hero-logo-title { font-size: 5.2rem; font-weight: 800; color: white; letter-spacing: -2px; line-height: 1; margin-bottom: 10px; }
.hero-title { font-size: 2.8rem; font-weight: 800; line-height: 1.15; margin-bottom: 20px; letter-spacing: -1px; }
.hero-subtitle { font-size: 1.15rem; color: rgba(255,255,255,0.88); margin-bottom: 36px; max-width: 540px; }

.hero-actions { display: flex; align-items: center; gap: 28px; margin-bottom: 50px; flex-wrap: wrap; }

.hero-stats { display: flex; gap: 50px; border-top: 1px solid rgba(255,255,255,0.2); padding-top: 28px; }
.stat-item h4 { font-size: 2.1rem; color: var(--secondary-green); font-weight: 800; margin-bottom: 2px; }
.stat-item p { font-size: 0.9rem; color: rgba(255,255,255,0.8); font-weight: 500; }

/* Hero visual: phone mock */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone-mock {
    width: 290px; background: white; border-radius: 38px; padding: 14px;
    box-shadow: 0 40px 80px rgba(30, 5, 55, 0.5); color: var(--text-dark);
    animation: float 7s ease-in-out infinite; position: relative;
}
.phone-notch { width: 90px; height: 6px; background: #E7DDF0; border-radius: 6px; margin: 0 auto 14px; }
.phone-screen { background: var(--soft-purple); border-radius: 26px; padding: 18px; }
.phone-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.phone-head strong { color: var(--primary-purple); font-size: 1.1rem; }
.phone-head span { font-size: 0.75rem; color: var(--text-gray); }
.phone-card {
    background: white; border-radius: 16px; padding: 12px; margin-bottom: 10px;
    display: flex; align-items: center; gap: 12px; box-shadow: 0 4px 12px rgba(155,34,220,0.08);
}
.phone-card .pc-icon {
    width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
    background: var(--soft-green); color: var(--green-dark); font-size: 1.2rem;
}
.phone-card:nth-child(3) .pc-icon { background: #FFF1D6; color: #E59A00; }
.phone-card h5 { font-size: 0.9rem; line-height: 1.2; }
.phone-card p { font-size: 0.75rem; color: var(--text-gray); }
.phone-track { margin-top: 14px; background: var(--primary-purple); color: white; border-radius: 16px; padding: 14px; }
.phone-track small { opacity: 0.8; font-size: 0.72rem; }
.phone-track strong { display: block; font-size: 0.95rem; margin-bottom: 8px; }
.track-bar { height: 8px; background: rgba(255,255,255,0.25); border-radius: 8px; overflow: hidden; }
.track-bar span { display: block; height: 100%; width: 70%; background: var(--secondary-green); border-radius: 8px; animation: track 3.5s ease-in-out infinite; }
@keyframes track { 0% { width: 20%; } 60% { width: 80%; } 100% { width: 20%; } }

.float-chip {
    position: absolute; background: white; color: var(--text-dark); padding: 10px 16px;
    border-radius: 14px; font-weight: 600; font-size: 0.85rem; display: flex; align-items: center; gap: 10px;
    box-shadow: 0 15px 35px rgba(30,5,55,0.3);
}
.float-chip i { color: var(--primary-purple); }
.chip-1 { top: 8%; left: -6%; animation: float 5s ease-in-out infinite; }
.chip-2 { bottom: 12%; right: -4%; animation: float 6s ease-in-out infinite 1s; }
.chip-2 i { color: var(--green-dark); }

/* =====================================================
   MARQUEE (categories ticker)
   ===================================================== */
.marquee { background: var(--secondary-green); padding: 16px 0; overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 48px; animation: marquee 28s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-weight: 700; color: var(--purple-deep); font-size: 1.05rem; display: inline-flex; align-items: center; gap: 12px; }
.marquee-track span i { font-size: 0.9rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =====================================================
   GENERAL SECTIONS
   ===================================================== */
.section { padding: 100px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--soft-purple) 0%, #ffffff 100%); }

.section-header { text-align: center; margin-bottom: 60px; max-width: 700px; margin-left: auto; margin-right: auto; }
.section-label {
    display: inline-block; color: var(--primary-purple); background: var(--soft-purple);
    font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 0.8rem;
    margin-bottom: 14px; padding: 6px 16px; border-radius: 30px;
}
.section-title { font-size: 2.6rem; font-weight: 800; color: var(--text-dark); letter-spacing: -0.5px; line-height: 1.15; }
.section-desc { color: var(--text-gray); font-size: 1.1rem; margin-top: 14px; }

/* =====================================================
   SCROLL REVEAL ANIMATIONS
   ===================================================== */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-left { opacity: 0; transform: translateX(-60px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-right { opacity: 0; transform: translateX(60px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-zoom { opacity: 0; transform: scale(0.85); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible, .reveal-left.visible, .reveal-right.visible, .reveal-zoom.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* =====================================================
   HOW IT WORKS
   ===================================================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; }
.steps::before {
    content: ''; position: absolute; top: 45px; left: 12%; right: 12%; height: 3px;
    background: repeating-linear-gradient(90deg, var(--primary-purple-light) 0 10px, transparent 10px 20px);
    opacity: 0.5; z-index: 0;
}
.step { text-align: center; position: relative; z-index: 1; }
.step-num {
    width: 90px; height: 90px; margin: 0 auto 22px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-purple-light));
    color: white; font-size: 2rem; display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-purple); border: 6px solid white; position: relative; transition: transform 0.4s;
}
.step:hover .step-num { transform: scale(1.1) rotate(-6deg); }
.step-num b {
    position: absolute; top: -6px; right: -6px; width: 30px; height: 30px; border-radius: 50%;
    background: var(--secondary-green); color: var(--purple-deep); font-size: 0.85rem;
    display: flex; align-items: center; justify-content: center; border: 3px solid white;
}
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--text-gray); font-size: 0.97rem; }

/* =====================================================
   ABOUT
   ===================================================== */
.about-container { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.about-image { position: relative; }
.image-placeholder {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-purple-dark));
    border-radius: 28px; height: 460px; display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: white; position: relative; overflow: hidden; box-shadow: var(--shadow-purple);
}
.image-placeholder::before {
    content: ''; position: absolute; width: 300px; height: 300px; border-radius: 50%;
    background: rgba(154, 217, 58, 0.25); top: -80px; right: -80px;
}
.image-placeholder::after {
    content: ''; position: absolute; width: 220px; height: 220px; border-radius: 50%;
    background: rgba(255,255,255,0.08); bottom: -60px; left: -60px;
}
.image-placeholder i { font-size: 5rem; margin-bottom: 16px; color: var(--secondary-green); position: relative; z-index: 1; animation: float 5s ease-in-out infinite; }
.image-placeholder p { font-size: 1.5rem; font-weight: 700; position: relative; z-index: 1; }

.about-badge {
    position: absolute; bottom: -24px; right: -20px; background: var(--secondary-green); color: var(--purple-deep);
    padding: 18px 26px; border-radius: 18px; box-shadow: 0 15px 35px rgba(125,184,42,0.4); text-align: center;
    animation: float 6s ease-in-out infinite;
}
.about-badge strong { display: block; font-size: 1.9rem; line-height: 1; }
.about-badge span { font-size: 0.85rem; font-weight: 600; }

.about-text p { color: var(--text-gray); font-size: 1.08rem; margin-bottom: 20px; }
.about-text strong { color: var(--text-dark); }
.about-text .section-title { margin-bottom: 20px; }

.about-list { margin-top: 28px; }
.about-list li { font-size: 1.05rem; font-weight: 500; margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
.about-list li i { font-size: 1.2rem; }

.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.mission-card { background: white; border: 1px solid #efe3f8; border-radius: 16px; padding: 18px; transition: all 0.3s; }
.mission-card:hover { border-color: var(--primary-purple-light); box-shadow: var(--shadow-purple); transform: translateY(-4px); }
.mission-card i { color: var(--primary-purple); font-size: 1.4rem; margin-bottom: 8px; }
.mission-card h4 { font-size: 1rem; margin-bottom: 4px; }
.mission-card p { font-size: 0.9rem; margin: 0; }

/* =====================================================
   FEATURES
   ===================================================== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.feature-card {
    background: white; padding: 38px 34px; border-radius: 22px; position: relative; overflow: hidden;
    box-shadow: 0 10px 30px rgba(155, 34, 220, 0.06); border: 1px solid #f3eaf9;
    transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
}
.feature-card::before {
    content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 5px;
    background: linear-gradient(90deg, var(--primary-purple), var(--secondary-green));
    transform: scaleX(0); transform-origin: left; transition: transform 0.4s;
}
.feature-card:hover { transform: translateY(-10px); box-shadow: 0 25px 50px rgba(155, 34, 220, 0.18); border-color: var(--primary-purple-light); }
.feature-card:hover::before { transform: scaleX(1); }

.icon-wrapper {
    width: 64px; height: 64px; background: var(--soft-purple); color: var(--primary-purple);
    border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
    margin-bottom: 24px; transition: all 0.4s;
}
.feature-card:hover .icon-wrapper { background: var(--primary-purple); color: white; transform: rotate(-8deg) scale(1.08); }
.feature-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.feature-card p { color: var(--text-gray); }

/* =====================================================
   CATEGORIES
   ===================================================== */
.category-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.category-card {
    background: white; border-radius: 20px; padding: 28px 12px; text-align: center; cursor: pointer;
    border: 1px solid #f0e6f8; transition: all 0.35s;
}
.category-card i {
    font-size: 2rem; color: var(--primary-purple); margin-bottom: 12px; display: block; transition: transform 0.35s;
}
.category-card h4 { font-size: 0.98rem; }
.category-card:hover { background: var(--primary-purple); transform: translateY(-8px); box-shadow: var(--shadow-purple); }
.category-card:hover i { color: var(--secondary-green); transform: scale(1.25) rotate(8deg); }
.category-card:hover h4 { color: white; }

/* =====================================================
   STATS BAND (animated counters)
   ===================================================== */
.stats-band {
    background: linear-gradient(135deg, var(--purple-deep), var(--primary-purple-dark));
    padding: 70px 0; color: white; position: relative; overflow: hidden;
}
.stats-band::before {
    content: ''; position: absolute; width: 400px; height: 400px; border-radius: 50%;
    background: rgba(154,217,58,0.12); top: -150px; left: -100px;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; position: relative; }
.stats-grid .num { font-size: 3.2rem; font-weight: 800; color: var(--secondary-green); line-height: 1; }
.stats-grid p { margin-top: 8px; color: rgba(255,255,255,0.85); font-weight: 500; }

/* =====================================================
   PARTNERS (business section)
   ===================================================== */
.partner-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 36px; }
.partner-card {
    border-radius: 26px; padding: 46px; position: relative; overflow: hidden; transition: transform 0.4s, box-shadow 0.4s;
}
.partner-card:hover { transform: translateY(-8px); }
.partner-card.merchant { background: linear-gradient(135deg, var(--primary-purple), var(--primary-purple-dark)); color: white; box-shadow: var(--shadow-purple); }
.partner-card.rider { background: var(--soft-green); color: var(--text-dark); border: 1px solid #dff0bf; }
.partner-card .p-icon {
    width: 70px; height: 70px; border-radius: 20px; display: flex; align-items: center; justify-content: center;
    font-size: 1.9rem; margin-bottom: 22px;
}
.merchant .p-icon { background: rgba(255,255,255,0.15); color: var(--secondary-green); }
.rider .p-icon { background: var(--secondary-green); color: var(--purple-deep); }
.partner-card h3 { font-size: 1.8rem; margin-bottom: 12px; }
.partner-card > p { margin-bottom: 22px; opacity: 0.9; }
.partner-card ul li { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-weight: 500; }
.merchant ul li i { color: var(--secondary-green); }
.rider ul li i { color: var(--primary-purple); }
.partner-card .btn-link {
    display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font-weight: 700;
    padding: 13px 28px; border-radius: 12px; transition: all 0.3s;
}
.merchant .btn-link { background: var(--secondary-green); color: var(--purple-deep); }
.rider .btn-link { background: var(--primary-purple); color: white; }
.partner-card .btn-link:hover { transform: translateX(6px); }

/* =====================================================
   PAYMENTS
   ===================================================== */
.payments-box {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
    background: var(--soft-purple); border-radius: 30px; padding: 60px;
}
.payments-box h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 14px; line-height: 1.2; }
.payments-box p { color: var(--text-gray); }
.pay-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pay-item {
    background: white; border-radius: 18px; padding: 24px 10px; text-align: center; font-weight: 700;
    box-shadow: 0 8px 20px rgba(155,34,220,0.08); transition: transform 0.3s;
}
.pay-item:hover { transform: translateY(-6px) scale(1.04); }
.pay-item i { display: block; font-size: 1.8rem; margin-bottom: 8px; color: var(--primary-purple); }
.pay-item.gcash i { color: #007DFE; }
.pay-item.maya i { color: #16A34A; }
.pay-item.cod i { color: #E59A00; }

/* =====================================================
   FAQ
   ===================================================== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: white; border: 1px solid #efe3f8; border-radius: 16px; margin-bottom: 14px; overflow: hidden; transition: border-color 0.3s, box-shadow 0.3s; }
.faq-item.open { border-color: var(--primary-purple-light); box-shadow: var(--shadow-purple); }
.faq-q {
    width: 100%; background: none; border: none; text-align: left; font-family: inherit;
    padding: 22px 26px; font-size: 1.08rem; font-weight: 600; cursor: pointer; color: var(--text-dark);
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q i { color: var(--primary-purple); transition: transform 0.3s; }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-a p { padding: 0 26px 22px; color: var(--text-gray); }

/* =====================================================
   CTA BANNER
   ===================================================== */
.cta-section { padding: 0 0 100px 0; }
.cta-box {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-purple-dark) 100%);
    border-radius: 28px; padding: 64px; display: flex; justify-content: space-between; align-items: center; gap: 30px;
    box-shadow: 0 25px 50px rgba(155, 34, 220, 0.3); position: relative; overflow: hidden;
}
.cta-box::before {
    content: ''; position: absolute; width: 320px; height: 320px; border-radius: 50%;
    background: rgba(154, 217, 58, 0.25); right: -90px; top: -120px;
}
.cta-box::after {
    content: ''; position: absolute; width: 200px; height: 200px; border-radius: 50%;
    background: rgba(255,255,255,0.08); left: 35%; bottom: -100px;
}
.cta-content { position: relative; z-index: 1; }
.cta-content h2 { color: white; font-size: 2.3rem; margin-bottom: 12px; font-weight: 800; }
.cta-content p { color: rgba(255,255,255,0.9); font-size: 1.1rem; max-width: 500px; }
.cta-btn { position: relative; z-index: 1; }

/* =====================================================
   FOOTER
   ===================================================== */
.footer { background-color: var(--footer-bg); color: #B7A8C9; padding-top: 80px; }
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px;
    padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .footer-desc { margin: 20px 0; font-size: 0.95rem; max-width: 300px; }

.social-links { display: flex; gap: 12px; }
.social-links a {
    width: 42px; height: 42px; background: rgba(255,255,255,0.07); border-radius: 10px;
    display: flex; align-items: center; justify-content: center; color: white; transition: all 0.3s;
}
.social-links a:hover { background: var(--secondary-green); color: var(--purple-deep); transform: translateY(-4px); }

.footer-links h4, .footer-contact h4 { color: white; font-size: 1.1rem; margin-bottom: 24px; font-weight: 600; }
.footer-links ul li { margin-bottom: 16px; }
.footer-links ul li a { color: #B7A8C9; transition: all 0.3s; display: inline-block; }
.footer-links ul li a:hover { color: var(--secondary-green); transform: translateX(5px); }

.footer-contact ul li { display: flex; gap: 16px; margin-bottom: 20px; }
.footer-contact ul li i { color: var(--secondary-green); font-size: 1.2rem; margin-top: 4px; }
.footer-contact ul li a { color: #B7A8C9; transition: color 0.3s; }
.footer-contact ul li a:hover { color: white; }

.footer-bottom { background: var(--footer-bottom); padding: 24px 0; text-align: center; font-size: 0.9rem; }
.footer-bottom strong { color: white; }

/* Back to top */
.to-top {
    position: fixed; right: 24px; bottom: 24px; width: 50px; height: 50px; border-radius: 50%;
    background: var(--primary-purple); color: white; border: none; cursor: pointer; font-size: 1.1rem;
    box-shadow: 0 10px 25px rgba(155,34,220,0.4); opacity: 0; visibility: hidden; transform: translateY(20px);
    transition: all 0.3s; z-index: 1500;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--secondary-green); color: var(--purple-deep); }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-actions, .hero-stats { justify-content: center; }
    .hero-visual { margin-top: 20px; }
    .about-container { grid-template-columns: 1fr; gap: 50px; }
    .steps { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
    .steps::before { display: none; }
    .category-grid { grid-template-columns: repeat(3, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
    .payments-box { grid-template-columns: 1fr; padding: 40px; }
    .cta-box { flex-direction: column; text-align: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; text-align: center; justify-items: center; }
    .footer-brand { display: flex; flex-direction: column; align-items: center; }
    .footer-brand .footer-desc { margin-left: auto; margin-right: auto; }
    .footer-brand .logo-container { justify-content: center; }
    .social-links { justify-content: center; }
    .footer-links h4, .footer-contact h4 { margin-bottom: 18px; }
    .footer-contact ul li { flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; }
    .footer-contact ul li i { margin-top: 0; }
    .footer-links ul li a:hover { transform: none; }
}

@media (max-width: 768px) {
    .nav-links, .nav-buttons { display: none; }
    .menu-toggle { display: block; }
    .hero { padding: 60px 0 90px; }
    .hero-logo-title { font-size: 3.5rem; }
    .hero-title { font-size: 2rem; }
    .hero-actions { flex-direction: column; }
    .hero-stats { flex-wrap: wrap; gap: 24px; }
    .floating-food, .float-chip { display: none; }
    .section { padding: 70px 0; }
    .section-title { font-size: 2rem; }
    .grid-3, .partner-grid, .mission-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .partner-card { padding: 32px; }
    .pay-list { grid-template-columns: 1fr; }
    .cta-box { padding: 40px 28px; }
    .about-badge { right: 10px; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-bottom: 40px; }
    .footer { padding-top: 60px; }
    .footer-bottom { padding-bottom: 80px; } /* space so back-to-top button won't cover text */
}

/* Small phones */
@media (max-width: 480px) {
    .container, .nav-container { padding: 0 18px; }
    .logo-text { font-size: 22px; }
    .hero-logo-title { font-size: 2.8rem; letter-spacing: -1px; }
    .hero-title { font-size: 1.7rem; }
    .hero-subtitle { font-size: 1rem; }
    .hero-stats { justify-content: space-between; gap: 16px; }
    .stat-item h4 { font-size: 1.6rem; }
    .btn-primary { width: 100%; padding: 15px 24px; }
    .phone-mock { width: 260px; }
    .section-title { font-size: 1.7rem; }
    .section-desc { font-size: 1rem; }
    .section-header { margin-bottom: 40px; }
    .image-placeholder { height: 340px; }
    .about-badge { right: 8px; bottom: -18px; padding: 12px 18px; }
    .about-text { text-align: center; }
    .about-list li { justify-content: flex-start; text-align: left; }
    .category-grid { gap: 12px; }
    .stats-grid .num { font-size: 2.3rem; }
    .partner-card { padding: 26px; }
    .partner-card h3 { font-size: 1.4rem; }
    .payments-box { padding: 28px 20px; }
    .payments-box h2 { font-size: 1.6rem; }
    .faq-q { padding: 18px; font-size: 1rem; }
    .faq-a p { padding: 0 18px 18px; }
    .cta-box { padding: 36px 22px; }
    .cta-content h2 { font-size: 1.6rem; }
    .to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}

/* =====================================================
   NO SIDE-SCROLL + FLUID SIZING (works on any phone size)
   ===================================================== */
body { max-width: 100%; }
.hero, .section, .stats-band, .marquee, .footer, .cta-section { overflow-x: clip; }

/* allow grid/flex children to shrink instead of pushing the page wider */
.hero-container > *, .about-container > *, .grid-3 > *, .partner-grid > *, .payments-box > *,
.footer-grid > *, .steps > *, .stats-grid > *, .category-grid > *, .pay-list > *, .mission-grid > *,
.cta-box > *, .nav-container > * { min-width: 0; }

/* long text (emails, titles) wraps instead of overflowing */
.footer-contact a, .footer-contact span, .footer-desc, .section-desc, .about-text p, .faq-q,
.hero-subtitle, .partner-card li, .cta-content p { overflow-wrap: anywhere; }

/* fluid sizes: scale smoothly with the screen width */
.phone-mock { width: min(290px, 100%); }
.hero-logo-title { font-size: clamp(2.6rem, 13vw, 5.2rem); }
.hero-title { font-size: clamp(1.55rem, 6.4vw, 2.8rem); }
.section-title { font-size: clamp(1.6rem, 6.5vw, 2.6rem); }
.cta-content h2 { font-size: clamp(1.4rem, 6vw, 2.3rem); }
.payments-box h2 { font-size: clamp(1.4rem, 5.5vw, 2.2rem); }
.stats-grid .num { font-size: clamp(1.8rem, 8vw, 3.2rem); }
.partner-card h3 { font-size: clamp(1.3rem, 5vw, 1.8rem); }

/* slide-in animations: vertical only on mobile (sideways ones push the page wider) */
@media (max-width: 768px) {
    .reveal-left, .reveal-right { transform: translateY(40px); }
    .about-badge { right: 10px; }
}

@media (max-width: 480px) {
    .feature-card { padding: 30px 24px; }
    .payments-box, .cta-box { border-radius: 22px; }
}

/* Very small phones (320px - 360px) */
@media (max-width: 360px) {
    .container, .nav-container { padding: 0 14px; }
    .logo-text { font-size: 20px; }
    .nav-logo { height: 34px; }
    .badge { font-size: 0.8rem; padding: 7px 14px; }
    .hero-stats { gap: 10px; }
    .stat-item h4 { font-size: 1.4rem; }
    .stat-item p { font-size: 0.78rem; }
    .phone-screen { padding: 14px; }
    .partner-card { padding: 22px; }
    .feature-card { padding: 26px 20px; }
    .step-num { width: 76px; height: 76px; font-size: 1.7rem; }
    .category-card { padding: 22px 8px; }
    .btn-primary { padding: 14px 18px; font-size: 1rem; }
    .auth-body { padding: 18px 14px 22px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal, .reveal-left, .reveal-right, .reveal-zoom { opacity: 1; transform: none; }
}