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

:root {
    --primary-color: #005FA8;
    --secondary-color: #FF6F00;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --text-lighter: #999;
    --bg-light: #f8f9fa;
    --bg-lighter: #fbfcfd;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --transition: all 0.3s ease;
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, #0074CC 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, #FF8F33 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Arabic font support */
html[lang="ar"] body {
    font-family: 'Noto Sans Arabic', sans-serif;
}

/* RTL Support */
html[dir="rtl"] {
    text-align: right;
}

html[dir="rtl"] .container {
    direction: rtl;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Icons */
.icon {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.logo {
    width: 40px;
    height: 40px;
}

.brand-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.lang-toggle {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.lang-toggle:hover {
    background: var(--gradient-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    transition: var(--transition);
    font-size: 14px;
}

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

.restaurant-link {
    background: linear-gradient(135deg, var(--secondary-color), #ff8c00);
    color: var(--white) !important;
    font-weight: 600;
}

.restaurant-link:hover {
    background: linear-gradient(135deg, #ff8c00, var(--secondary-color));
    transformation: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Hero Section */
.hero {
    padding: 140px 0 100px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 50%, var(--bg-lighter) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    animation: heroFadeIn 1.2s ease-out;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(0, 95, 168, 0.05) 0%, transparent 50%);
    pointer-events: none;
    animation: backgroundShift 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(0, 95, 168, 0.03), transparent 30%);
    animation: rotate 30s linear infinite;
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
    animation: badgeSlideIn 0.8s ease-out 0.3s both, badgePulse 3s ease-in-out 2s infinite;
    position: relative;
    overflow: hidden;
}

.hero-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 25px;
    line-height: 1.1;
    animation: titleSlideUp 1s ease-out 0.5s both;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 35px;
    line-height: 1.6;
    max-width: 600px;
    animation: subtitleFadeIn 1.2s ease-out 0.7s both;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-trust {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.trust-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.trust-text {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 2px;
}

/* Buttons */
.btn {
    padding: 16px 32px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    animation: buttonFadeIn 1s ease-out 0.9s both;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow);
    background-size: 200% 200%;
    animation: buttonFadeIn 1s ease-out 0.9s both, gradientShift 4s ease-in-out infinite;
}

.btn-primary:hover {
    background: var(--gradient-secondary);
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-xl);
    background-position: 100% 0;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-weight: 600;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-secondary:hover::before {
    left: 0;
}

.btn-secondary:hover {
    color: var(--white);
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.btn.large {
    padding: 20px 40px;
    font-size: 18px;
    border-radius: var(--border-radius-lg);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.speed-indicator {
    position: relative;
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pulse-ring {
    position: absolute;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    width: 100px;
    height: 100px;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    opacity: 0.7;
}

.pulse-ring.delay-1 {
    animation-delay: 0.5s;
    width: 140px;
    height: 140px;
    border-color: var(--secondary-color);
    opacity: 0.5;
}

.pulse-ring.delay-2 {
    animation-delay: 1s;
    width: 180px;
    height: 180px;
    border-color: var(--primary-color);
    opacity: 0.3;
}

.timer-display {
    background: var(--gradient-primary);
    color: var(--white);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    z-index: 10;
    box-shadow: var(--shadow-lg);
}

.timer-number {
    font-size: 28px;
    line-height: 1;
}

.timer-unit {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 2px;
}

/* Floating Food Elements */
.floating-food {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.food-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    animation: float 8s ease-in-out infinite, glow 4s ease-in-out infinite alternate;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.food-icon:hover {
    transform: scale(1.2) rotate(360deg);
    animation-play-state: paused;
}

.food-icon.pizza {
    background: radial-gradient(circle, #FF6B6B 0%, #FF5252 100%);
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.food-icon.pizza::before {
    content: '🍕';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
}

.food-icon.burger {
    background: radial-gradient(circle, #4ECDC4 0%, #26A69A 100%);
    bottom: 30%;
    left: 15%;
    animation-delay: 2s;
}

.food-icon.burger::before {
    content: '🍔';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
}

.food-icon.drink {
    background: radial-gradient(circle, #45B7D1 0%, #2196F3 100%);
    top: 60%;
    right: 20%;
    animation-delay: 4s;
}

.food-icon.drink::before {
    content: '🥤';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255, 111, 0, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(30px);
    animation: sectionTitleFadeIn 0.8s ease-out 0.2s forwards;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(20px);
    animation: sectionSubtitleFadeIn 0.8s ease-out 0.4s forwards;
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 30px;
}

.step-card {
    background: var(--white);
    padding: 60px 30px 40px 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(0, 95, 168, 0.1);
    margin-top: 35px;
    opacity: 0;
    transform: translateY(50px);
    animation: slideInFromLeft 0.6s ease-out forwards;
}

.step-card:nth-child(1) {
    animation-delay: 0.1s;
}

.step-card:nth-child(2) {
    animation-delay: 0.3s;
}

.step-card:nth-child(3) {
    animation-delay: 0.5s;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 95, 168, 0.08), transparent);
    transition: left 0.6s ease;
    z-index: 1;
    border-radius: var(--border-radius-lg);
}

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

.step-card:hover {
    transform: translateY(-12px) rotateX(5deg) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 95, 168, 0.15);
    border-color: var(--primary-color);
}

.step-card:nth-child(2) {
    animation-delay: 0.1s;
}

.step-card:nth-child(3) {
    animation-delay: 0.2s;
}

.step-number {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 24px;
    box-shadow: 0 8px 25px rgba(0, 95, 168, 0.3);
    z-index: 100;
    border: 4px solid var(--white);
}

.step-icon {
    margin: 20px 0;
    color: var(--primary-color);
    position: relative;
    z-index: 2;
}

.step-icon .icon {
    width: 48px;
    height: 48px;
}

.step-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.step-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1.1rem;
    position: relative;
    z-index: 2;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 35px 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 95, 168, 0.05);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px) scale(0.9);
    animation: bounceIn 0.8s ease-out forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

.feature-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 95, 168, 0.03) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease;
}

.feature-card:hover::after {
    transform: scale(1);
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 95, 168, 0.12);
    border-color: var(--primary-color);
}

.feature-card:hover .feature-icon {
    transform: rotateY(360deg) scale(1.1);
    color: var(--secondary-color);
}



.feature-icon .icon {
    width: 48px;
    height: 48px;
}

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1rem;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 40px 30px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 95, 168, 0.1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px) rotateY(5deg);
    animation: slideInFromRight 0.7s ease-out forwards;
}

.testimonial-card:nth-child(1) { animation-delay: 0.2s; }
.testimonial-card:nth-child(2) { animation-delay: 0.4s; }
.testimonial-card:nth-child(3) { animation-delay: 0.6s; }

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(0, 95, 168, 0.02) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.testimonial-card:hover::before {
    transform: translateX(100%);
}

.testimonial-card:hover {
    transform: translateY(-8px) rotateY(2deg) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 95, 168, 0.1);
    border-color: var(--primary-color);
}

.testimonial-card:nth-child(even):hover {
    transform: translateY(-8px) rotateY(-2deg) scale(1.02);
}

.stars {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.testimonial-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author strong {
    color: var(--primary-color);
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background: var(--gradient-primary);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 30px 20px;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-icon {
    margin-bottom: 20px;
    opacity: 0.8;
}

.stat-icon .icon {
    width: 40px;
    height: 40px;
    stroke: var(--secondary-color);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: var(--bg-lighter);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 35px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-note {
    margin-top: 20px;
    color: var(--text-lighter);
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 50px 0 30px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo {
    width: 35px;
    height: 35px;
    filter: brightness(0) invert(1);
}

.footer-brand-name {
    font-size: 22px;
    font-weight: 600;
}

.footer-text p {
    opacity: 0.8;
    line-height: 1.6;
    font-size: 1.1rem;
    max-width: 500px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.6;
    font-size: 14px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    transition: var(--transition);
    font-size: 14px;
}

.footer-links a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.footer-restaurant-link {
    background: linear-gradient(135deg, var(--secondary-color), #ff8c00);
    color: var(--white) !important;
    font-weight: 600;
}

.footer-restaurant-link:hover {
    background: linear-gradient(135deg, #ff8c00, var(--secondary-color));
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Restaurant Partnership Page Styles */
.partner-hero {
    padding: 140px 0 100px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 50%, var(--bg-lighter) 100%);
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.partner-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 20%, rgba(255, 111, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

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

.partner-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-color), #ff8c00);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 25px;
    box-shadow: var(--shadow);
    animation: badgeSlideIn 0.8s ease-out 0.3s both;
}

.partner-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 25px;
    line-height: 1.1;
    animation: titleSlideUp 1s ease-out 0.5s both;
}

.partner-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 35px;
    line-height: 1.6;
    animation: subtitleFadeIn 1.2s ease-out 0.7s both;
}

.partner-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.partner-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128C7E, #25D366);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.whatsapp-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.benefits {
    padding: 100px 0;
    background: var(--white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.benefit-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    animation: bounceIn 0.8s ease-out both;
}

.benefit-card:nth-child(1) { animation-delay: 0.1s; }
.benefit-card:nth-child(2) { animation-delay: 0.2s; }
.benefit-card:nth-child(3) { animation-delay: 0.3s; }
.benefit-card:nth-child(4) { animation-delay: 0.4s; }
.benefit-card:nth-child(5) { animation-delay: 0.5s; }
.benefit-card:nth-child(6) { animation-delay: 0.6s; }

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

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

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.benefit-icon .icon {
    width: 40px;
    height: 40px;
    color: var(--white);
}

.benefit-card:hover .benefit-icon {
    transform: rotateY(360deg);
    background: var(--gradient-secondary);
}

.benefit-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.partnership-process {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.process-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    animation: slideInFromLeft 1s ease-out both;
}

.process-card:nth-child(1) { animation-delay: 0.2s; }
.process-card:nth-child(2) { animation-delay: 0.4s; }
.process-card:nth-child(3) { animation-delay: 0.6s; }

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.process-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--gradient-secondary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    z-index: 10;
}

.process-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto 25px;
    transition: var(--transition);
}

.process-icon .icon {
    width: 40px;
    height: 40px;
    color: var(--primary-color);
}

.process-card:hover .process-icon {
    background: var(--primary-color);
}

.process-card:hover .process-icon .icon {
    color: var(--white);
}

.process-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.process-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.partner-cta-section {
    padding: 100px 0;
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
}

.partner-cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.partner-cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.partner-cta-content .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 400px;
    margin: 0 auto 20px;
}

.btn-large {
    padding: 20px 40px;
    font-size: 18px;
    font-weight: 700;
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.7;
    }
    100% {
        transform: scale(0.95);
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(90deg);
    }
    50% {
        transform: translateY(-30px) rotate(180deg);
    }
    75% {
        transform: translateY(-15px) rotate(270deg);
    }
}

@keyframes glow {
    0% {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }
    100% {
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 107, 107, 0.3);
    }
}

@keyframes heroFadeIn {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes backgroundShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

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

@keyframes badgeSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes titleSlideUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes subtitleFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes buttonFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes sectionTitleFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes sectionSubtitleFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(-50px);
    }
    50% {
        opacity: 1;
        transform: scale(1.05) translateY(0);
    }
    70% {
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Tablet Styles */
@media (min-width: 768px) {
    .hero .container {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }
    
    .hero-title {
        font-size: 3.2rem;
    }
    
    .hero-trust {
        gap: 40px;
    }
    
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
    
    html[dir="rtl"] .footer-content {
        text-align: right;
    }
    
    .nav-controls {
        display: flex;
        align-items: center;
        gap: 15px;
    }
    
    .partner-title {
        font-size: 3.2rem;
    }
    
    .partner-subtitle {
        font-size: 1.3rem;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .partner-cta-content .btn {
        min-width: 350px;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
    
    .speed-indicator {
        width: 280px;
        height: 280px;
    }
    
    .pulse-ring {
        width: 120px;
        height: 120px;
    }
    
    .pulse-ring.delay-1 {
        width: 170px;
        height: 170px;
    }
    
    .pulse-ring.delay-2 {
        width: 220px;
        height: 220px;
    }
    
    .timer-display {
        width: 100px;
        height: 100px;
    }
    
    .timer-number {
        font-size: 32px;
    }
    
    .food-icon {
        width: 50px;
        height: 50px;
    }
}

/* Large Desktop */
@media (min-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hero-title {
        font-size: 4rem;
    }
}

/* Mobile adjustments for partnership CTA */
@media (max-width: 767px) {
    .partner-cta-content .btn {
        min-width: auto;
        max-width: 100%;
        width: auto;
        padding: 16px 32px;
    }
}

/* RTL Specific Adjustments */
html[dir="rtl"] .nav-brand {
    flex-direction: row-reverse;
}

html[dir="rtl"] .hero-cta {
    justify-content: flex-end;
}

html[dir="rtl"] .hero-trust {
    justify-content: flex-end;
}

html[dir="rtl"] .footer-brand {
    flex-direction: row-reverse;
}

html[dir="rtl"] .trust-item {
    align-items: flex-end;
}

/* Smooth transitions for language switching */
[data-en], [data-ar] {
    transition: opacity 0.3s ease;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus states for better accessibility */
button:focus-visible,
.btn:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 404 Error Page */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 0 100px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 50%, var(--bg-lighter) 100%);
    position: relative;
    overflow: hidden;
}

.error-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(0, 95, 168, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.error-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.error-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.error-number {
    font-size: 8rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    position: relative;
    z-index: 2;
    animation: errorPulse 3s ease-in-out infinite;
}

.error-visual .floating-food {
    position: absolute;
    width: 300px;
    height: 300px;
    pointer-events: none;
}

.error-visual .food-icon {
    position: absolute;
    animation: errorFloat 6s ease-in-out infinite;
}

.error-visual .food-icon.pizza {
    top: 10%;
    right: 20%;
    animation-delay: 0s;
}

.error-visual .food-icon.burger {
    bottom: 20%;
    left: 10%;
    animation-delay: 2s;
}

.error-visual .food-icon.drink {
    top: 60%;
    right: 5%;
    animation-delay: 4s;
}

.error-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    animation: slideInFromLeft 1s ease-out 0.3s both;
}

.error-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: slideInFromLeft 1s ease-out 0.5s both;
}

.error-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
    animation: slideInFromLeft 1s ease-out 0.7s both;
}

.error-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    animation: slideInFromLeft 1s ease-out 0.9s both;
}

.error-stats .stat-item {
    text-align: center;
    padding: 20px;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.error-stats .stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.error-stats .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.error-stats .stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

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

@keyframes errorFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-15px) rotate(120deg);
    }
    66% {
        transform: translateY(-8px) rotate(240deg);
    }
}

@media (min-width: 768px) {
    .error-content {
        grid-template-columns: 1fr 1fr;
        text-align: left;
        gap: 80px;
    }
    
    .error-title {
        font-size: 3rem;
    }
    
    .error-subtitle {
        margin-left: 0;
        margin-right: 0;
    }
    
    .error-actions {
        justify-content: flex-start;
    }
}

@media (min-width: 1024px) {
    .error-number {
        font-size: 10rem;
    }
    
    .error-visual .floating-food {
        width: 400px;
        height: 400px;
    }
} 