/* FoodGem Marketing Website Styles */

/* ═══════════════════════════════════════════════════════════════
   CSS VARIABLES
   ═══════════════════════════════════════════════════════════════ */

:root {
    /* Colors - Blue Theme */
    --primary: #2196F3;
    --primary-dark: #1976D2;
    --primary-light: #E3F2FD;
    --secondary: #64B5F6;
    --accent: #f59e0b;
    
    /* Neutrals */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.15);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;
}

/* ═══════════════════════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════════════════════ */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background: #ffffff;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
}

/* ═══════════════════════════════════════════════════════════════
   UTILITIES
   ═══════════════════════════════════════════════════════════════ */

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

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding-bottom: 0.1em;
    display: inline;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: all var(--transition-normal);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.4);
}

.btn-large {
    padding: var(--space-lg) var(--space-2xl);
    font-size: 17px;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
}

.section-tag {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: var(--primary-light);
    color: var(--primary-dark);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-md);
}

.section-title {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) 0;
    transition: all var(--transition-normal);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

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

.logo {
    font-size: 24px;
    font-weight: 800;
}

.logo-food {
    color: var(--primary-dark);
}

.logo-gem {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    flex-shrink: 0;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-600);
}

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

/* Language Dropdown */
.lang-dropdown {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--primary-light);
    color: var(--primary-dark);
    border: none;
    padding: 6px 10px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

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

.lang-icon {
    font-size: 16px;
}

.lang-current {
    min-width: 24px;
}

.lang-arrow {
    transition: transform var(--transition-fast);
}

.lang-dropdown.open .lang-arrow {
    transform: rotate(180deg);
}

.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-fast);
    z-index: 1000;
    overflow: hidden;
}

.lang-dropdown.open .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    border: none;
    background: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    cursor: pointer;
    transition: background var(--transition-fast);
    text-align: left;
}

.lang-option:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.lang-option.active {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.lang-flag {
    font-size: 18px;
}

/* Mobile Language Options */
.lang-mobile-options {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.lang-mobile-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-light);
    color: var(--primary-dark);
    border: none;
    padding: 12px 20px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lang-mobile-btn:hover,
.lang-mobile-btn.active {
    background: var(--primary);
    color: white;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--gray-800);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

/* ═══════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 50%, #E1F5FE 100%);
    z-index: -1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 100%;
    background: radial-gradient(circle, rgba(33, 150, 243, 0.1) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-30px, 30px) rotate(5deg); }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

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

.hero-title {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: var(--space-lg);
    color: var(--gray-900);
    overflow: visible;
}

body.rtl .hero-title {
    line-height: 1.4;
    white-space: nowrap;
    font-size: clamp(32px, 5.5vw, 52px);
}

body.rtl .hero-title span {
    display: inline;
}

body.rtl .hero-content {
    max-width: 700px;
}

body.rtl .hero-container {
    grid-template-columns: 1.2fr 0.8fr;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--gray-600);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.hero-cta {
    margin-bottom: var(--space-2xl);
}

.hero-stats {
    display: flex;
    gap: var(--space-2xl);
    margin-top: var(--space-xl);
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-dark);
}

.stat-label {
    margin-top: 4px;
}

.stat-number-infinity {
    font-size: 60px;
    line-height: 10px;
    margin: auto;
    margin-bottom: 23px;
}

@media (max-width: 768px) {
    .stat-number-infinity {
        font-size: 48px;
        line-height: 8px;
        margin-bottom: 18px;
    }
}

@media (max-width: 480px) {
    .stat-number-infinity {
        font-size: 40px;
        line-height: 6px;
        margin-bottom: 14px;
    }
}

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

.hero-image {
    display: flex;
    justify-content: center;
}

/* Phone Mockup */
.phone-mockup {
    width: 280px;
    height: 580px;
    background: var(--gray-900);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-xl), 0 0 0 2px rgba(0,0,0,0.1);
    position: relative;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    background: var(--gray-800);
    border-radius: 20px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #E3F2FD 0%, #ffffff 100%);
    border-radius: 32px;
    overflow: hidden;
    padding: var(--space-xl) var(--space-md);
    padding-top: 50px;
}

.app-preview {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.preview-greeting {
    font-weight: 700;
    font-size: 18px;
    color: var(--gray-800);
}

.preview-calories {
    font-size: 13px;
    color: var(--primary-dark);
    background: var(--primary-light);
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

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

.preview-emoji {
    font-size: 28px;
}

.preview-meal {
    flex: 1;
    font-weight: 600;
    color: var(--gray-800);
}

.preview-kcal {
    font-size: 13px;
    color: var(--gray-500);
}

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

.hero-wave svg {
    width: 100%;
    height: 80px;
}

/* ═══════════════════════════════════════════════════════════════
   FEATURES SECTION
   ═══════════════════════════════════════════════════════════════ */

.features {
    padding: var(--space-4xl) 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.feature-card {
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    transition: all var(--transition-normal);
    border: 1px solid var(--gray-100);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    background: white;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-light) 0%, #BBDEFB 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    color: var(--primary-dark);
}

.feature-icon-3d {
    background: linear-gradient(145deg, #ffffff 0%, #f0f4f8 100%);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.1),
        0 1px 3px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.icon-3d {
    font-size: 36px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
    transition: transform var(--transition-fast);
}

.feature-card:hover .icon-3d {
    transform: scale(1.1) rotate(-5deg);
}

.feature-icon-lordicon {
    background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.08),
        0 2px 6px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(230, 235, 240, 0.8);
    width: 72px;
    height: 72px;
    border-radius: 18px;
    transition: all var(--transition-normal);
}

.feature-card:hover .feature-icon-lordicon {
    transform: translateY(-4px);
    box-shadow: 
        0 12px 35px rgba(0, 0, 0, 0.12),
        0 4px 10px rgba(0, 0, 0, 0.08);
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-sm);
}

.feature-desc {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════
   HOW IT WORKS SECTION
   ═══════════════════════════════════════════════════════════════ */

.how-it-works {
    padding: var(--space-4xl) 0;
    background: linear-gradient(180deg, var(--gray-50) 0%, white 100%);
}

.steps-container {
    max-width: 900px;
    margin: 0 auto;
}

.step {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: var(--space-xl);
    align-items: center;
    padding: var(--space-xl) 0;
}

.step-number {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
}

.step-content {
    max-width: 400px;
}

.step-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-sm);
}

.step-desc {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
}

.step-visual {
    width: 100px;
    display: flex;
    justify-content: center;
}

.step-icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--primary-light);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-emoji {
    font-size: 36px;
}

.step-connector {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, var(--primary-light) 0%, var(--primary) 100%);
    margin-left: 27px;
}

/* Cycle Layout (8-step workflow) */
.cycle-container {
    max-width: 1100px;
    margin: 0 auto;
}

.cycle-row {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.cycle-row-reverse {
    flex-direction: row-reverse;
}

.cycle-step {
    flex: 0 0 auto;
    width: 180px;
    text-align: center;
    padding: var(--space-lg);
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
}

.cycle-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.cycle-number {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: white;
}

.cycle-icon {
    font-size: 36px;
    margin-bottom: var(--space-sm);
}

.cycle-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-xs);
}

.cycle-desc {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.5;
}

.cycle-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    padding: var(--space-xl) var(--space-xs);
    font-weight: bold;
}

.cycle-connector {
    display: flex;
    justify-content: flex-end;
    padding: var(--space-md) 0;
    padding-right: 90px;
}

.cycle-arrow-down {
    font-size: 32px;
    color: var(--primary);
    font-weight: bold;
}

.cycle-loop {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-xl);
    padding: var(--space-lg);
    background: var(--primary-light);
    border-radius: var(--radius-full);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cycle-loop-arrow {
    font-size: 32px;
    color: var(--primary-dark);
}

.cycle-loop span {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-dark);
}

/* Coming Soon Badge */
.feature-coming-soon,
.benefit-coming-soon {
    position: relative;
    opacity: 0.85;
}

.coming-soon-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, var(--accent) 0%, #d97706 100%);
    color: white;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.feature-coming-soon .feature-icon,
.benefit-coming-soon .benefit-icon {
    opacity: 0.7;
}

/* ═══════════════════════════════════════════════════════════════
   PHILOSOPHY SECTION
   ═══════════════════════════════════════════════════════════════ */

.philosophy {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, var(--gray-900) 0%, #1e3a38 100%);
    color: white;
}

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

.philosophy .section-tag {
    background: rgba(255,255,255,0.1);
    color: var(--primary-light);
}

.philosophy-title {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 800;
    margin-bottom: var(--space-xl);
    text-shadow: 0 0 30px rgba(33, 150, 243, 0.5), 0 0 60px rgba(33, 150, 243, 0.3);
}

.philosophy-text {
    text-align: left;
}

.philosophy-text p {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255,255,255,0.85);
    margin-bottom: var(--space-lg);
}

.philosophy-text strong {
    color: var(--primary-light);
}

.philosophy-signature {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255,255,255,0.1);
}

.signature-text {
    font-size: 15px;
    color: rgba(255,255,255,0.6);
}

.signature-text:empty {
    display: none;
}

.signature-name {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin-top: var(--space-xs);
    text-shadow: 0 0 20px rgba(33, 150, 243, 0.6), 0 0 40px rgba(33, 150, 243, 0.4);
}

.signature-title {
    font-size: 14px;
    color: var(--primary);
}

/* ═══════════════════════════════════════════════════════════════
   BENEFITS SECTION
   ═══════════════════════════════════════════════════════════════ */

.benefits {
    padding: var(--space-4xl) 0;
    background: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

/* Handle 7 cards - 4 on first row, 3 centered on second */
.benefits-grid .benefit-card:nth-child(5),
.benefits-grid .benefit-card:nth-child(6),
.benefits-grid .benefit-card:nth-child(7) {
    /* These will naturally flow to second row */
}

@media (min-width: 1025px) {
    .benefits-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .benefits-grid .benefit-card {
        flex: 0 0 calc(25% - var(--space-lg));
        max-width: calc(25% - var(--space-lg));
    }
}

.benefit-card {
    text-align: center;
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, var(--gray-50) 0%, white 100%);
    border: 1px solid var(--gray-100);
    transition: all var(--transition-normal);
}

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

.benefit-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    font-size: 28px;
}

.benefit-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-sm);
}

.benefit-desc {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════════════ */

.cta {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 100%);
}

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

.cta-title {
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: var(--space-md);
}

.cta-subtitle {
    font-size: 18px;
    color: var(--gray-600);
    margin-bottom: var(--space-xl);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
}

.cta-download-text {
    font-size: 20px;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: var(--space-lg);
}

/* Store Buttons */
.store-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    direction: ltr;
}

.hero-store-buttons {
    direction: ltr;
}

.store-btn,
.store-btn-small {
    display: inline-block;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    border-radius: 8px;
    overflow: hidden;
    direction: ltr;
}

.store-btn:hover,
.store-btn-small:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.hero-store-buttons {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-lg);
    flex-wrap: wrap;
    justify-content: center;
}

/* Stack buttons vertically on mobile */
@media (max-width: 480px) {
    .hero-store-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .store-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Nav download link highlight */
.nav-download {
    color: var(--primary) !important;
    font-weight: 600 !important;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */

.footer {
    padding: var(--space-3xl) 0 var(--space-xl);
    background: var(--gray-900);
    color: white;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo {
    margin-bottom: var(--space-sm);
    text-shadow: 0 0 20px rgba(33, 150, 243, 0.6), 0 0 40px rgba(33, 150, 243, 0.4);
}

.footer-tagline {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: var(--space-3xl);
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-column a {
    display: block;
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    margin-bottom: var(--space-sm);
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: var(--space-xl);
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE MENU
   ═══════════════════════════════════════════════════════════════ */

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.98);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xl);
}

.mobile-menu-content a {
    font-size: 24px;
    font-weight: 600;
    color: var(--gray-800);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 1100px) {
    .nav-links {
        gap: var(--space-md);
    }
    
    .nav-links a {
        font-size: 14px;
    }
    
    .lang-icon {
        display: none;
    }
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits-grid .benefit-card {
        flex: none;
        max-width: none;
    }
    
    /* Cycle layout responsive */
    .cycle-row {
        flex-direction: column;
        align-items: center;
    }
    
    .cycle-row-reverse {
        flex-direction: column;
    }
    
    .cycle-step {
        width: 100%;
        max-width: 280px;
    }
    
    .cycle-arrow {
        transform: rotate(90deg);
        padding: var(--space-sm);
    }
    
    .cycle-arrow-left {
        transform: rotate(90deg);
    }
    
    .cycle-connector {
        justify-content: center;
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .step {
        grid-template-columns: auto 1fr;
        gap: var(--space-md);
    }
    
    .step-visual {
        display: none;
    }
    
    .step:nth-child(even) {
        grid-template-columns: 1fr auto;
    }
    
    .step:nth-child(even) .step-content {
        text-align: right;
    }
    
    .benefits-grid {
        display: grid;
        grid-template-columns: 1fr;
    }
    
    .benefits-grid .benefit-card {
        flex: none;
        max-width: none;
    }
    
    .cycle-step {
        width: 100%;
        max-width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .phone-mockup {
        width: 240px;
        height: 500px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   RTL SUPPORT (Arabic)
   ═══════════════════════════════════════════════════════════════ */

body.rtl {
    font-family: 'IBM Plex Sans Arabic', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Flip arrows for RTL */
body.rtl .cycle-arrow {
    transform: scaleX(-1);
}

body.rtl .hero-cta .btn svg {
    transform: scaleX(-1);
}

/* Reverse the cycle rows for RTL */
body.rtl .cycle-row {
    flex-direction: row-reverse;
}

body.rtl .cycle-row:last-of-type {
    flex-direction: row;
}

/* Adjust connector position for RTL */
body.rtl .cycle-connector {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 90px;
}

/* Text alignment */
body.rtl .philosophy-text {
    text-align: right;
}

body.rtl .step-content {
    text-align: right;
}

body.rtl .step:nth-child(even) .step-content {
    text-align: left;
}

/* Footer adjustments */
body.rtl .footer-content {
    flex-direction: row-reverse;
}

body.rtl .footer-links {
    flex-direction: row-reverse;
}

/* Hero stats spacing */
body.rtl .hero-stats {
    flex-direction: row-reverse;
}

/* Benefits and Features grid flip */
body.rtl .benefits-grid,
body.rtl .features-grid {
    direction: rtl;
}

/* Mobile menu */
body.rtl .mobile-menu-content {
    text-align: center;
}

/* Navbar */
body.rtl .nav-links {
    flex-direction: row-reverse;
}

/* Language dropdown RTL */
body.rtl .lang-menu {
    right: auto;
    left: 0;
}

body.rtl .lang-option {
    text-align: right;
    flex-direction: row-reverse;
}

/* Coming soon badge position */
body.rtl .coming-soon-badge {
    right: auto;
    left: 12px;
}

/* Hero title order fix for RTL */
body.rtl .hero-title {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

@media (max-width: 768px) {
    body.rtl .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    body.rtl .hero-content {
        max-width: 100%;
    }
    
    body.rtl .hero-stats {
        flex-direction: column;
        align-items: center;
    }
    
    body.rtl .footer-content {
        flex-direction: column;
    }
    
    body.rtl .footer-links {
        flex-direction: row;
        flex-wrap: wrap;
    }
}
