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

:root {
    --primary: #FF6B00;
    --primary-dark: #E55B00;
    --primary-light: #FF8533;
    --dark: #1a1a2e;
    --dark-light: #16213e;
    --text: #333;
    --text-light: #666;
    --white: #fff;
    --gray: #f5f5f5;
    --gray-dark: #e0e0e0;
}

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

header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    font-size: 2rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s;
}

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

.lang-switcher {
    display: flex;
    gap: 0.25rem;
    margin-left: 1rem;
    border: 1px solid var(--gray-dark);
    border-radius: 8px;
    overflow: hidden;
}

.lang-btn {
    background: var(--white);
    border: none;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--text-light);
    transition: all 0.3s;
}

.lang-btn:hover {
    background: var(--gray);
}

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

[dir="rtl"] .lang-switcher {
    margin-left: 0;
    margin-right: 1rem;
}

[dir="rtl"] .nav-links {
    flex-direction: row-reverse;
}

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

[dir="rtl"] .feature-card,
[dir="rtl"] .step,
[dir="rtl"] .faq-item,
[dir="rtl"] .contact-card {
    text-align: right;
}

[dir="rtl"] .app-buttons {
    flex-direction: row-reverse;
}

[dir="rtl"] .footer-content {
    direction: rtl;
}

main {
    padding-top: 80px;
}

.hero {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    color: var(--white);
    padding: 6rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    min-height: 90vh;
}

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

.hero h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero .highlight {
    color: var(--primary);
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.app-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.app-button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    color: var(--white);
    transition: transform 0.3s, box-shadow 0.3s;
}

.app-button.ios {
    background: linear-gradient(135deg, #000 0%, #333 100%);
}

.app-button.android {
    background: linear-gradient(135deg, #00C853 0%, #00A043 100%);
}

.app-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

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

.button-text small {
    display: block;
    font-size: 0.75rem;
    opacity: 0.8;
}

.button-text strong {
    font-size: 1.1rem;
}

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

.phone-mockup {
    width: 280px;
    height: 560px;
    background: #000;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 30px;
    overflow: hidden;
}

.app-preview {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.preview-header {
    background: var(--primary);
    color: var(--white);
    padding: 3rem 1rem 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    text-align: center;
}

.preview-map {
    flex: 1;
    background: linear-gradient(135deg, #e8f4e8 0%, #d4e8d4 100%);
    position: relative;
}

.preview-map::before {
    content: '📍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
}

.preview-button {
    background: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 1.25rem;
    font-weight: 600;
    font-size: 1.1rem;
}

section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--dark);
}

.features {
    background: var(--gray);
    max-width: 100%;
    padding: 5rem calc((100% - 1200px) / 2 + 2rem);
}

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

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.feature-card p {
    color: var(--text-light);
}

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

.step {
    text-align: center;
    padding: 2rem;
}

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

.step h3 {
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.step p {
    color: var(--text-light);
}

.services {
    background: var(--dark);
    color: var(--white);
    max-width: 100%;
    padding: 5rem calc((100% - 1200px) / 2 + 2rem);
}

.services h2 {
    color: var(--white);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.service-item {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.3s;
}

.service-item:hover {
    background: rgba(255,255,255,0.15);
}

.service-icon {
    font-size: 2rem;
}

.faq {
    background: var(--gray);
    max-width: 100%;
    padding: 5rem calc((100% - 800px) / 2 + 2rem);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-item h3 {
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.7;
}

.contact {
    padding: 5rem 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-card {
    background: var(--gray);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.contact-card a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.contact-card a:hover {
    text-decoration: underline;
}

.contact-card span {
    color: var(--text);
    font-weight: 500;
}

footer {
    background: var(--dark);
    color: var(--white);
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-section .logo {
    margin-bottom: 1rem;
}

.footer-section p {
    opacity: 0.8;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.footer-section a {
    display: block;
    color: var(--white);
    opacity: 0.8;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: opacity 0.3s;
}

.footer-section a:hover {
    opacity: 1;
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    opacity: 0.6;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 4rem 1.5rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-image {
        order: -1;
    }
    
    .phone-mockup {
        width: 220px;
        height: 440px;
    }
    
    .app-buttons {
        justify-content: center;
    }
    
    section h2 {
        font-size: 1.75rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        grid-template-columns: 1fr 1fr;
    }
}
