/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --text-light: #9ca3af;
    --background: #ffffff;
    --background-light: #f9fafb;
    --border-light: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 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);
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--background);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Enhanced Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #4f46e5);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #64748b, #475569);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(100, 116, 139, 0.25);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(100, 116, 139, 0.3);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 16px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
}

.nav-brand h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Phone Mockup */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
}

/* Device.css iPhone customizations */
.device-iphone-14 {
    transform: rotate(-8deg) rotateY(-10deg);
    transition: all 0.6s ease;
    transform-style: preserve-3d;
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.3));
    position: relative;
}

.device-iphone-14:hover {
    transform: rotate(-2deg) rotateY(-3deg) scale(1.02);
}

.device-iphone-14::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, 
        rgba(37, 99, 235, 0.1) 0%, 
        rgba(59, 130, 246, 0.1) 25%,
        rgba(147, 51, 234, 0.1) 50%,
        rgba(236, 72, 153, 0.1) 75%,
        rgba(37, 99, 235, 0.1) 100%);
    border-radius: inherit;
    z-index: -1;
    animation: rainbow-glow 3s ease-in-out infinite;
}

@keyframes rainbow-glow {
    0% { opacity: 0.3; }
    100% { opacity: 0.6; }
}

.device-iphone-14 .device-screen {
    background: #000;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 0;
    position: relative;
}

.device-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.05) 25%, 
        transparent 50%, 
        rgba(255, 255, 255, 0.03) 75%, 
        transparent 100%);
    pointer-events: none;
    z-index: 10;
}

/* App interface styling for device screens */
.device-screen .app-interface {
    flex: 1;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    position: relative;
}

.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px 4px;
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    z-index: 100;
    position: relative;
}

.status-left .time {
    font-weight: 700;
    font-size: 15px;
}

.status-right {
    display: flex;
    gap: 6px;
    font-size: 12px;
}

.status-right i {
    opacity: 0.9;
}

.app-header {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 20px 20px 16px;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
    position: relative;
    overflow: hidden;
}

.app-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="white" opacity="0.1"><animate attributeName="opacity" values="0.1;0.3;0.1" dur="2s" repeatCount="indefinite"/></circle><circle cx="80" cy="60" r="1.5" fill="white" opacity="0.1"><animate attributeName="opacity" values="0.1;0.2;0.1" dur="3s" repeatCount="indefinite"/></circle></svg>') repeat;
    pointer-events: none;
}

.app-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.app-icon-container {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.app-icon {
    font-size: 16px;
    color: white;
}

.app-title h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.location-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 16px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.location-selector:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.search-bar {
    padding: 16px 20px;
    background: #fff;
    border-bottom: 1px solid #f1f5f9;
}

.search-input {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.search-input::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
    transition: left 0.5s ease;
}

.search-input:hover::before {
    left: 100%;
}

.search-input:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-1px);
}

.search-icon {
    font-size: 16px;
    color: #64748b;
    transition: color 0.3s ease;
}

.search-text {
    color: #64748b;
    font-size: 15px;
    flex: 1;
}

.voice-search {
    font-size: 16px;
    color: #2563eb;
    cursor: pointer;
    transition: all 0.3s ease;
}

.voice-search:hover {
    color: #1d4ed8;
    transform: scale(1.1);
}

.quick-filters {
    padding: 0 20px 16px;
    background: #fff;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.quick-filters::-webkit-scrollbar {
    display: none;
}

.filter-chip {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 25px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    color: #475569;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    overflow: hidden;
}

.filter-chip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.filter-chip span,
.filter-chip i {
    position: relative;
    z-index: 1;
}

.filter-chip.active::before {
    opacity: 1;
}

.filter-chip.active {
    color: white;
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
    transform: translateY(-2px);
}

.filter-chip:hover:not(.active) {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

.restaurant-cards {
    flex: 1;
    overflow-y: auto;
    padding: 8px 20px 80px;
    background: #f8fafc;
}

.restaurant-card {
    background: #fff;
    border-radius: 20px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    cursor: pointer;
}

.restaurant-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(59, 130, 246, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.restaurant-card:hover::before {
    opacity: 1;
}

.restaurant-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.restaurant-card.featured {
    border: 2px solid #2563eb;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.2);
    background: linear-gradient(135deg, #fff 0%, #f8faff 100%);
}

.restaurant-card.featured::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #1d4ed8, #7c3aed);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.restaurant-image {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.restaurant-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.restaurant-card:hover .restaurant-image img {
    transform: scale(1.08);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 16px;
}

.restaurant-card:hover .image-overlay {
    opacity: 1;
}

.restaurant-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 8px;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.5);
}

.discount-badge {
    position: absolute;
    top: -4px;
    left: -4px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 8px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.5);
    animation: pulse 2s infinite;
}

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

.restaurant-info {
    flex: 1;
    min-width: 0;
    position: relative;
    z-index: 1;
}

.restaurant-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 6px;
}

.restaurant-header h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.2;
}

.rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #f59e0b;
    white-space: nowrap;
}

.rating i {
    font-size: 12px;
}

.restaurant-description {
    color: #64748b;
    font-size: 13px;
    margin: 4px 0 10px;
    line-height: 1.3;
}

.restaurant-meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 10px;
    font-weight: 500;
}

.delivery-time, .delivery-fee {
    display: flex;
    align-items: center;
    gap: 4px;
}

.restaurant-meta i {
    font-size: 11px;
    opacity: 0.8;
}

.certified-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(16, 185, 129, 0.3);
    letter-spacing: 0.2px;
}

.restaurant-actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.quick-add-btn {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.quick-add-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

.bottom-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(226, 232, 240, 0.5);
    padding: 8px 0 20px;
    display: flex;
    justify-content: space-around;
    z-index: 10;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 12px;
}

.nav-item.active {
    color: #2563eb;
    background: rgba(37, 99, 235, 0.1);
}

.nav-item:hover:not(.active) {
    color: #64748b;
    background: rgba(100, 116, 139, 0.1);
}

.nav-item i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.nav-item.active i {
    transform: scale(1.1);
}

.nav-item span {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.notification-dot {
    position: absolute;
    top: 6px;
    right: 8px;
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    border: 1px solid white;
    box-shadow: 0 0 0 1px #ef4444;
}

/* Demo device specific styling - REMOVED conflicting styles */

.app-title h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.location-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
}

.search-bar {
    padding: 20px 25px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(241, 245, 249, 0.5);
}

.search-input {
    background: rgba(241, 245, 249, 0.8);
    border-radius: 25px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.06),
        0 1px 3px rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(226, 232, 240, 0.5);
    backdrop-filter: blur(10px);
}

.search-icon {
    opacity: 0.6;
    font-size: 16px;
}

.search-text {
    color: var(--text-light);
    font-size: 15px;
    font-weight: 400;
}

.quick-filters {
    display: flex;
    gap: 10px;
    padding: 20px 25px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(241, 245, 249, 0.3);
    overflow-x: auto;
}

.filter-chip {
    padding: 10px 16px;
    background: rgba(248, 250, 252, 0.8);
    border: 1px solid rgba(226, 232, 240, 0.5);
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
}

.filter-chip.active {
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
    transform: scale(1.05);
}

.restaurant-cards {
    flex: 1;
    padding: 20px 25px 30px;
    overflow-y: auto;
    background: transparent;
}

.restaurant-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
    position: relative;
}

.restaurant-card.featured {
    border: 2px solid var(--primary-color);
    box-shadow: 
        0 12px 40px rgba(37, 99, 235, 0.2),
        0 4px 12px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transform: scale(1.02);
}

.restaurant-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 8px 16px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.restaurant-image {
    font-size: 36px;
    margin-bottom: 12px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.restaurant-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.restaurant-header h4 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

.rating {
    font-size: 13px;
    font-weight: 600;
    color: #f59e0b;
    background: rgba(254, 243, 199, 0.8);
    backdrop-filter: blur(10px);
    padding: 4px 8px;
    border-radius: 8px;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.restaurant-description {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.restaurant-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 12px;
    font-weight: 500;
}

.certified-badge {
    display: inline-block;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 
        0 4px 12px rgba(16, 185, 129, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    letter-spacing: 0.3px;
}

.home-indicator {
    height: 4px;
    width: 134px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    margin: 12px auto 8px;
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

/* Remove old phone mockup styles */
.phone-mockup,
.phone-screen {
    display: none;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: var(--background);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: rgba(99, 102, 241, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.feature-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 700;
}

/* How It Works Section */
.how-it-works {
    padding: 5rem 0;
    background: var(--background-light);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.step h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* Demo Section */
/* Demo Section */
.demo {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.demo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.demo-text {
    max-width: 500px;
}

.step-indicators {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.step-indicator.active {
    opacity: 1;
}

.step-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    transition: transform 0.3s ease;
}

.step-indicator.active .step-dot {
    transform: scale(1.3);
}

.step-indicator span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.demo-phone {
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-demo {
    position: relative;
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
}

.demo-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 1rem;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.5s ease;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.demo-screen.active {
    opacity: 1;
}

.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.status-icons {
    display: flex;
    gap: 0.3rem;
}

.app-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.app-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 0.25rem 0;
}

.app-header p {
    font-size: 0.8rem;
    color: #6b7280;
    margin: 0;
}

.search-section {
    margin-bottom: 1.5rem;
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: #f3f4f6;
    border-radius: 12px;
    font-size: 0.85rem;
    color: #9ca3af;
}

.restaurants-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.restaurant-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.restaurant-image {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.restaurant-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 0.25rem 0;
}

.restaurant-info p {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0 0 0.25rem 0;
}

.rating {
    font-size: 0.7rem;
    color: #059669;
}

.restaurant-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.restaurant-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.menu-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
}

.menu-item.selected {
    background: #fef3c7;
    border: 1px solid var(--primary);
}

.item-image {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.item-info h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 0.25rem 0;
}

.item-info p {
    font-size: 0.7rem;
    color: #6b7280;
    margin: 0 0 0.25rem 0;
}

.price {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
}

.add-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    margin-left: auto;
}

.checkout-header, .tracking-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.checkout-header h3, .tracking-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.order-summary {
    background: #ffffff;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.8rem;
    color: #6b7280;
    border-bottom: 1px solid #f3f4f6;
}

.order-item:last-child {
    border-bottom: none;
}

.order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1f2937;
    border-top: 1px solid #e5e7eb;
    margin-top: 0.5rem;
}

.payment-method {
    margin-bottom: 1rem;
}

.payment-card {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: #ffffff;
    border-radius: 12px;
    font-size: 0.8rem;
    color: #6b7280;
}

.place-order-btn {
    width: 100%;
    padding: 0.75rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}

.order-status {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    font-size: 0.8rem;
    color: #6b7280;
}

.status-item.completed {
    color: #059669;
}

.status-item.active {
    color: var(--primary);
    font-weight: 600;
}

.status-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.status-item.completed .status-icon {
    background: #059669;
    color: white;
}

.status-item.active .status-icon {
    background: var(--primary);
    color: white;
}

.delivery-info {
    background: #ffffff;
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
}

.delivery-info p {
    font-size: 0.8rem;
    color: #6b7280;
    margin: 0.25rem 0;
}

/* Responsive Demo */
@media (max-width: 768px) {
    .demo-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .demo-text {
        order: 2;
        text-align: center;
    }
    
    .demo-phone {
        order: 1;
    }
    
    .step-indicators {
        justify-content: center;
    }
}

/* Waitlist Section */
.waitlist {

.demo-location-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #1e293b;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f1f5f9;
}

.demo-location-option:last-child {
    border-bottom: none;
}

.demo-location-option:hover {
    background: #f8fafc;
}

.demo-location-option.active {
    background: #eff6ff;
    color: #2563eb;
}

.demo-location-option i:first-child {
    color: #6366f1;
}

.demo-location-option i:last-child {
    margin-left: auto;
    color: #10b981;
}

/* Demo Search */
.demo-search-container {
    padding: 12px 16px;
    background: #fff;
}

.demo-search-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 16px;
    transition: all 0.2s ease;
}

.demo-search-bar:hover {
    border-color: #cbd5e1;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.demo-search-bar:focus-within {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.demo-search-bar i:first-child {
    color: #64748b;
    font-size: 16px;
}

.demo-search-text {
    flex: 1;
    color: #64748b;
    font-size: 15px;
}

.demo-search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    color: #1e293b;
    font-size: 15px;
    font-family: inherit;
}

.demo-search-input::placeholder {
    color: #64748b;
}

.demo-search-input {
    flex: 1;
    border: none;
    background: transparent;
    color: #1e293b;
    font-size: 15px;
    outline: none;
    font-family: inherit;
}

.demo-search-input::placeholder {
    color: #64748b;
}

.demo-search-bar i:last-child {
    color: #6366f1;
    font-size: 16px;
}

/* Demo Filters */
.demo-filters {
    display: flex;
    gap: 8px;
    padding: 8px 16px;
    background: #fff;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.demo-filters::-webkit-scrollbar {
    display: none;
}

.demo-filter {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
}

.demo-filter.active {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
    border-color: #6366f1;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.demo-filter:hover:not(.active) {
    background: #e2e8f0;
    transform: translateY(-1px);
}

/* Demo Restaurants */
.demo-restaurants {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px 80px;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

/* Enhanced Visual Styling */
.demo-restaurant-card {
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.demo-restaurant-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.05), transparent);
    transition: left 0.6s ease;
}

.demo-restaurant-card:hover::before {
    left: 100%;
}

.demo-restaurant-card.featured {
    border: 2px solid #fbbf24;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.2);
    background: linear-gradient(135deg, #fffbeb 0%, #fff 100%);
}

.demo-restaurant-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: #e2e8f0;
}

.demo-restaurant-info h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.2;
}

.demo-restaurant-info p {
    margin: 4px 0 8px;
    font-size: 13px;
    color: #64748b;
    line-height: 1.4;
}

.demo-restaurant-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

.demo-certified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(34, 197, 94, 0.2);
    transition: all 0.2s ease;
}

.demo-restaurant-card:hover .demo-certified {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(34, 197, 94, 0.3);
}

/* Enhanced Badge Styling */
.demo-restaurant-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    z-index: 2;
}

.demo-discount-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    z-index: 2;
}

/* Enhanced Rating Styling */
.demo-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 600;
    color: #fbbf24;
}

.demo-rating span {
    color: #1e293b;
    font-weight: 700;
}

.demo-rating i {
    color: #fbbf24;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
}

.demo-restaurant-image {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.demo-restaurant-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.demo-restaurant-card:hover .demo-restaurant-image img {
    transform: scale(1.05);
}

.demo-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.demo-restaurant-card:hover .demo-image-overlay {
    opacity: 1;
}

.demo-restaurant-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.demo-discount-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 700;
}

.demo-restaurant-info {
    flex: 1;
    min-width: 0;
}

.demo-restaurant-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4px;
}

.demo-restaurant-header h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
}

.demo-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 600;
    color: #fbbf24;
}

.demo-rating span {
    color: #1e293b;
}

.demo-restaurant-info p {
    margin: 4px 0 8px;
    font-size: 13px;
    color: #64748b;
    line-height: 1.4;
}

.demo-restaurant-meta {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
}

.demo-restaurant-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #64748b;
}

.demo-restaurant-meta i {
    font-size: 11px;
}

.demo-certified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

/* Demo Bottom Navigation */
.demo-bottom-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #e2e8f0;
    display: flex;
    padding: 8px 0 12px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}

.demo-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.demo-nav-item.active {
    color: #6366f1;
}

.demo-nav-item i {
    font-size: 18px;
}

.demo-nav-item span {
    font-size: 11px;
    font-weight: 500;
}

.demo-notification-dot {
    position: absolute;
    top: 8px;
    right: 24px;
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    border: 2px solid #fff;
    animation: pulse 2s infinite;
}

/* Demo Controls */
.demo-controls {
    display: flex;
    gap: 8px;
    margin-top: 2rem;
    justify-content: center;
}

.demo-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 80px;
    position: relative;
    overflow: hidden;
}

.demo-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transition: left 0.6s ease;
}

.demo-step:hover::before {
    left: 100%;
}

.demo-step.active {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
    border-color: #6366f1;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.step-number {
    width: 24px;
    height: 24px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.demo-step.active .step-number {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.step-text {
    font-size: 12px;
    font-weight: 600;
}

/* Demo Indicators */
.demo-indicators {
    margin-top: 1rem;
    text-align: center;
}

.demo-tip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #f59e0b;
    animation: bounce 2s infinite;
}

.demo-tip i {
    color: #f59e0b;
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .demo-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .demo-device {
        transform: scale(0.6);
    }
    
    .video-container {
        max-width: 240px;
    }
    
    .demo-buttons {
        justify-content: center;
    }
    
    .demo-controls {
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .demo-step {
        min-width: 70px;
        padding: 10px 12px;
    }
}

.video-container {
    text-align: center;
}

.demo-phone {
    width: 320px;
    height: 640px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 25px;
    margin: 0 auto 2rem;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.demo-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 25px;
    overflow: hidden;
    position: relative;
}

.demo-app {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.demo-stage {
    display: none;
    height: 100%;
    flex-direction: column;
    animation: fadeIn 0.5s ease-in-out;
}

.demo-stage.active {
    display: flex;
}

.demo-header {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 20px 20px 16px;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.demo-header h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 8px;
}

.demo-location {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.demo-search {
    padding: 16px 20px;
    background: #fff;
}

.demo-search input {
    width: 100%;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 15px;
    color: #64748b;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.demo-search input:hover {
    border-color: #cbd5e1;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.demo-restaurants {
    flex: 1;
    overflow-y: auto;
    padding: 8px 20px 20px;
    background: #f8fafc;
}

.demo-restaurant-card {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #f1f5f9;
    transition: all 0.2s ease;
    cursor: pointer;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.demo-restaurant-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.demo-restaurant-card::before {
    content: '🍕';
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.demo-restaurant-card:nth-child(2)::before {
    content: '🍝';
}

.restaurant-info {
    flex: 1;
    min-width: 0;
}

.restaurant-info h5 {
    margin: 0 0 4px 0;
    color: #1e293b;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
}

.restaurant-info p {
    margin: 0 0 8px 0;
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.demo-next-btn {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin: 0 20px 20px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.demo-next-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}

.certified-badge {
    display: inline-block;
    background: #10b981;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.demo-next-btn {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.demo-next-btn:hover {
    background: var(--primary-hover);
}

.demo-controls {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.demo-step {
    padding: 8px 16px;
    border: 2px solid var(--border-light);
    background: white;
    color: var(--text-secondary);
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    font-weight: 500;
}

.demo-step.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

.demo-step:hover:not(.active) {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Video-style Demo Steps */
.demo-step {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s ease;
    background: #fff;
    overflow-y: auto;
}

.demo-step.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Step 1: Home Screen */
.demo-welcome {
    padding: 20px;
    text-align: center;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    margin: 20px;
    border-radius: 16px;
}

.demo-welcome h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
}

.demo-welcome p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
}

.demo-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 20px;
}

.category-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.category-card i {
    font-size: 24px;
    color: #6366f1;
    margin-bottom: 8px;
    display: block;
}

.category-card span {
    font-weight: 500;
    color: #1f2937;
}

/* Step 2: Restaurant List */
.demo-search-active {
    background: #f3f4f6;
    border-radius: 8px;
    padding: 8px 12px;
    flex: 1;
    margin: 0 8px;
    font-size: 14px;
    color: #6b7280;
}

.demo-restaurant-list {
    padding: 16px;
}

.restaurant-card {
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.restaurant-card.featured {
    border: 2px solid #6366f1;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.restaurant-card img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.restaurant-info h4 {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

.restaurant-info p {
    margin: 0 0 8px 0;
    font-size: 14px;
    color: #6b7280;
}

.restaurant-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: #9ca3af;
}

.restaurant-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.certified-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

/* Step 3: Restaurant Menu */
.demo-restaurant-header {
    position: relative;
    height: 120px;
    margin: -20px -20px 16px -20px;
}

.restaurant-banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
}

.restaurant-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 16px;
    border-radius: 0 0 16px 16px;
}

.restaurant-overlay h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
}

.restaurant-badges {
    display: flex;
    gap: 8px;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
}

.badge.certified {
    background: #10b981;
}

.demo-menu {
    padding: 0 20px;
}

.menu-item {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-item-info h4 {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

.menu-item-info p {
    margin: 0 0 8px 0;
    font-size: 14px;
    color: #6b7280;
}

.price {
    font-size: 16px;
    font-weight: 600;
    color: #6366f1;
}

.menu-item-image {
    position: relative;
    margin-left: 16px;
}

.menu-item-image img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.add-btn {
    position: absolute;
    bottom: -4px;
    right: -4px;
    background: #6366f1;
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-btn.active {
    background: #10b981;
    transform: scale(1.1);
}

/* Step 4: Order Confirmation */
.order-success {
    padding: 40px 20px;
    text-align: center;
}

.success-icon {
    font-size: 48px;
    color: #10b981;
    margin-bottom: 16px;
}

.order-success h4 {
    margin: 0 0 8px 0;
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
}

.order-success p {
    margin: 0 0 24px 0;
    color: #6b7280;
}

.order-details {
    background: #f9fafb;
    border-radius: 12px;
    padding: 16px;
    margin: 24px 0;
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
}

.order-item:last-child {
    border-bottom: none;
}

.order-total {
    font-weight: 600;
    font-size: 16px;
    color: #1f2937;
    border-top: 2px solid #e5e7eb;
    padding-top: 8px;
    margin-top: 8px;
}

.delivery-estimate {
    background: #eff6ff;
    color: #2563eb;
    padding: 12px;
    border-radius: 8px;
    margin: 16px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
}

.track-order-btn {
    background: #6366f1;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 auto;
    transition: background 0.3s ease;
}

.track-order-btn:hover {
    background: #5856f0;
}

/* Waitlist Section */
.waitlist {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.waitlist-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.waitlist-benefits {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
}

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

.waitlist-form {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    margin: 3rem 0;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-light);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.checkbox-group {
    margin: 2rem 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.checkbox-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-light);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: "✓";
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.waitlist-submit {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.button-loading {
    display: flex;
    align-items: center;
    gap: 8px;
}

.loading-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.waitlist-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.success-message {
    background: white;
    padding: 3rem 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    margin-top: 2rem;
    border: 2px solid #10b981;
}

.success-content {
    text-align: center;
}

.success-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.success-message h3 {
    color: #10b981;
    margin-bottom: 1rem;
}

.success-message p {
    color: var(--text-secondary);
    margin: 0;
}

/* Restaurant Partners */
.restaurants {
    padding: 5rem 0;
    background: var(--background);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.restaurant-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    align-items: center;
}

.restaurant-logo {
    background: var(--background-light);
    border: 1px solid var(--border-light);
    border-radius: var(--border-radius);
    padding: 2rem 1rem;
    text-align: center;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.restaurant-logo:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 3px solid var(--accent-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.25rem 0;
}

.footer-links a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.footer-links span {
    color: rgba(255, 255, 255, 0.4);
    font-weight: bold;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}

.footer-badges {
    display: flex;
    gap: 1rem;
}

.badge {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.footer-copyright p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
    }
    
    .footer-right {
        align-items: center;
    }
    
    .footer-badges {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero {
        padding: 6rem 0 3rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .iphone-mockup,
    .device-iphone-14 {
        transform: rotate(0deg) scale(0.8);
    }
    
    .device-iphone-14:hover {
        transform: rotate(0deg) scale(0.85);
    }
    
    .app-header {
        padding: 16px 20px;
    }
    
    .search-bar {
        padding: 16px 20px;
    }
    
    .quick-filters {
        padding: 16px 20px;
    }
    
    .restaurant-cards {
        padding: 16px 20px 25px;
    }
    
    .restaurant-card {
        padding: 16px;
        margin-bottom: 12px;
    }
    
    .phone-mockup {
        width: 240px;
        height: 420px;
    }
    
    .steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .demo-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .demo-phone {
        width: 280px;
        height: 560px;
    }
    
    .demo-controls {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .demo-step {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .restaurant-logos {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .iphone-mockup,
    .device-iphone-14 {
        transform: rotate(0deg) scale(0.5);
    }
    
    .device-iphone-14:hover {
        transform: rotate(0deg) scale(0.52);
    }
}

/* Loading and Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Legal Pages Styles (Privacy Policy & Terms & Conditions) */
.privacy-policy,
.legal-page {
    padding: 6rem 0 4rem;
    background: var(--background);
    min-height: calc(100vh - 80px);
}

.policy-header,
.legal-content h1 {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-light);
}

.policy-header h1,
.legal-content h1 {
    font-size: 3rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.policy-updated,
.last-updated {
    color: var(--text-secondary);
    font-size: 1rem;
    text-align: center;
}

.policy-content,
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.policy-section,
.legal-section {
    margin-bottom: 3rem;
}

.policy-section h2,
.legal-section h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.policy-section h3,
.legal-section h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin: 1.5rem 0 0.8rem;
}

.policy-section p,
.legal-section p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.policy-section ul,
.legal-section ul {
    margin: 1rem 0 1rem 2rem;
    color: var(--text-secondary);
}

.policy-section li,
.legal-section li {
    margin-bottom: 0.5rem;
}

.policy-section strong,
.legal-section strong {
    color: var(--text-primary);
    font-weight: 600;
}

.policy-footer {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

.back-link {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

.legal-section a {
    color: var(--primary-color);
    text-decoration: none;
}

.legal-section a:hover {
    text-decoration: underline;
}

/* Brand link styling */
.nav-brand a {
    text-decoration: none;
    color: inherit;
}

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

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Demo Video Element */
.demo-video-element {
    width: 100%;
    max-width: 400px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    display: block;
    margin: 0 auto;
}
