/* --- Global Variables & Resets --- */
:root {
    --primary-color: #1C4C4A;
    --bg-light: #F7F7F7;
    --text-dark: #333;
    --text-light: #FFFFFF;
    --font-family: 'Cairo', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--text-light);
    direction: rtl; /* Set Right-to-Left direction */
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 3rem; color: var(--primary-color); font-weight: 900; }
h2 { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 20px; }
h3 { font-size: 1.8rem; }
p { margin-bottom: 1rem; }
a { color: var(--primary-color); text-decoration: none; }
.text-center { text-align: center; }

section {
    padding: 60px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.lead {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 10px auto;
}

/* --- Header & Navigation --- */
header {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

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

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 700;
    transition: color 0.3s;
}

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

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 700;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}


/* --- Hero Section --- */
#hero {
    padding: 40px 0 80px 0;
}
.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-text h2 {
    font-size: 1.5rem;
    font-weight: 400;
    color: #555;
    margin-bottom: 25px;
}

.hero-text p {
    color: #666;
    margin-bottom: 25px;
}

.download-buttons a {
    margin-left: 15px;
}

.download-buttons img {
    height: 50px;
    transition: opacity 0.3s;
}

.download-buttons img:hover {
    opacity: 0.85;
}

.hero-image {
    flex: 1;
    max-width: 450px;
}

.hero-image img {
    width: 100%;
    border-radius: 15px;
}

/* --- Features Section --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    text-align: center;
    padding: 20px;
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.feature-card p {
    font-size: 0.95rem;
    color: #666;
}

/* --- Screenshots Section --- */
.screenshots-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.phone-mockup {
    background: #111;
    border: 10px solid #111;
    border-radius: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    width: 250px;
}

.phone-mockup img {
    width: 100%;
    display: block;
    border-radius: 30px;
}


/* --- About Us Section --- */
.about-us-container {
    display: flex;
    align-items: center;
    gap: 50px;
}
.about-us-logo {
    flex-basis: 150px;
}
.about-us-logo img {
    width: 100%;
}
.about-us-text {
    flex: 1;
}


/* --- Footer --- */
footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 30px 0;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.footer-links a {
    color: var(--text-light);
    margin: 0 10px;
    opacity: 0.8;
    transition: opacity 0.3s;
}
.footer-links a:hover {
    opacity: 1;
}

.footer-copyright p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.7;
}


/* --- Responsive Design --- */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    .hero-text {
        order: 2; /* Text comes after image on mobile */
    }
    .hero-image {
        order: 1;
        margin-bottom: 30px;
    }
    .download-buttons {
        justify-content: center;
        display: flex;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-us-container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .nav-links { display: none; } /* Simple hide on mobile, can be replaced by hamburger menu JS */
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}