/* ==========================================
   FOODFAST LANDING PAGE CSS
   Professional CodeCanyon-Ready Design
   ========================================== */

/* CSS Custom Properties */
:root {
    /* Brand Colors */
    --primary: #ff5a5f;
    --primary-dark: #e0494f;
    --primary-light: #ff7b7f;
    --primary-gradient: linear-gradient(135deg, #ff5a5f 0%, #ff8c00 100%);
    
    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Semantic Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-primary: 0 10px 40px rgba(255, 90, 95, 0.3);
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    color: var(--gray-700);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */
.gradient-text {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 90, 95, 0.1);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.section-description {
    font-size: var(--font-size-lg);
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-family: var(--font-family);
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
    white-space: nowrap;
    line-height: 1.5;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    box-shadow: 0 15px 50px rgba(255, 90, 95, 0.5);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--gray-700);
    border-color: var(--gray-300);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn-lg {
    padding: 16px 32px;
    font-size: var(--font-size-base);
}

.btn-sm {
    padding: 8px 16px;
    font-size: var(--font-size-xs);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ==========================================
   NAVIGATION
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-md) var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
}

.brand-text {
    font-size: var(--font-size-xl);
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: var(--spacing-xl);
}

.nav-links a {
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 500;
    font-size: var(--font-size-sm);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition-normal);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: var(--spacing-sm);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    transition: all var(--transition-normal);
    border-radius: 2px;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 100px 0 0;
    background: linear-gradient(180deg, #fef2f2 0%, #fff5f5 50%, #ffffff 100%);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.bg-circle-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.bg-circle-2 {
    width: 400px;
    height: 400px;
    background: #f59e0b;
    bottom: -100px;
    left: -100px;
    animation: float 10s ease-in-out infinite reverse;
}

.bg-circle-3 {
    width: 300px;
    height: 300px;
    background: #3b82f6;
    top: 50%;
    left: 30%;
    animation: float 12s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.bg-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0,0,0,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 560px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: rgba(255, 90, 95, 0.1);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 500;
    margin-bottom: var(--spacing-xl);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: var(--gray-900);
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
}

.hero-description {
    font-size: var(--font-size-lg);
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: var(--spacing-xl);
}

.hero-features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-sm);
    color: var(--gray-600);
}

.hero-feature-item i {
    color: var(--success);
    font-size: var(--font-size-base);
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-2xl);
}

.hero-stats {
    display: flex;
    gap: var(--spacing-lg);
}

.stat-card {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.stat-icon {
    font-size: 1.5rem;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-weight: 700;
    color: var(--gray-900);
    font-size: var(--font-size-sm);
}

.stat-label {
    font-size: var(--font-size-xs);
    color: var(--gray-500);
}

/* Hero Mockup */
.hero-mockup {
    display: flex;
    justify-content: center;
}

.mockup-wrapper {
    position: relative;
}

.mockup-phone {
    width: 300px;
    background: var(--gray-900);
    border-radius: 40px;
    padding: 16px;
    box-shadow: var(--shadow-2xl);
    position: relative;
}

.mockup-notch {
    width: 120px;
    height: 30px;
    background: var(--gray-900);
    border-radius: 0 0 20px 20px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mockup-screen {
    background: #ffffff;
    border-radius: 28px;
    padding: 16px;
    min-height: 550px;
    overflow: hidden;
}

.mockup-app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.mockup-logo {
    font-weight: 700;
    font-size: 14px;
    color: var(--primary);
}

.mockup-header-icons {
    display: flex;
    gap: 8px;
}

.mockup-icon {
    width: 20px;
    height: 20px;
    background: #f0f0f0;
    border-radius: 50%;
}

.mockup-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 12px;
    font-size: 12px;
    color: #999;
    margin-bottom: 12px;
}

.mockup-categories {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
    overflow-x: auto;
}

.mockup-cat {
    padding: 6px 12px;
    background: #f5f5f5;
    border-radius: 20px;
    font-size: 11px;
    white-space: nowrap;
    font-weight: 500;
}

.mockup-cat.active {
    background: var(--primary);
    color: white;
}

.mockup-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 70px;
}

.mockup-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: #fafafa;
    border-radius: 14px;
}

.mockup-item-img {
    font-size: 32px;
}

.mockup-item-info {
    flex: 1;
}

.mockup-item-name {
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 2px;
}

.mockup-item-desc {
    font-size: 10px;
    color: #999;
    margin-bottom: 4px;
}

.mockup-item-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 14px;
}

.mockup-add-btn {
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
}

.mockup-cart-btn {
    position: absolute;
    bottom: 70px;
    left: 16px;
    right: 16px;
    background: var(--primary-gradient);
    color: white;
    padding: 10px 16px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    font-size: 13px;
    box-shadow: 0 4px 20px rgba(255, 90, 95, 0.4);
}

.mockup-cart-icon {
    position: relative;
}

.mockup-cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: white;
    color: var(--primary);
    font-size: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.mockup-bottom-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    padding: 8px 16px;
    background: white;
    border-top: 1px solid #f0f0f0;
}

.mockup-nav-item {
    font-size: 18px;
    padding: 4px 8px;
}

.mockup-nav-item.active {
    color: var(--primary);
}

.mockup-float {
    position: absolute;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--shadow-lg);
    animation: floatBubble 4s ease-in-out infinite;
}

.float-1 {
    top: 10%;
    right: -30px;
    color: #25d366;
    animation-delay: 0s;
}

.float-2 {
    bottom: 30%;
    left: -30px;
    color: #f59e0b;
    animation-delay: 1s;
}

.float-3 {
    top: 50%;
    right: -40px;
    color: #ef4444;
    animation-delay: 2s;
}

@keyframes floatBubble {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.hero-wave svg {
    display: block;
}

/* Continue with more sections... Due to length, I'll provide the remaining CSS in a separate file.
   The complete CSS is available in the project files. */