 /* CSS Variables */
:root {
    --primary-color: #20c997; /* A vibrant Teal */
    --primary-hover: #1baa80;
    --dark-color: #212529;
    --text-color: #495057;
    --light-gray: #f8f9fa;
    --white-color: #ffffff;
    --border-color: #dee2e6;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
    --font-main: 'Cairo', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--white-color);
    color: var(--text-color);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 90%;
    max-width: 1140px;
    margin: 0 auto;
}

h1, h2, h3 {
    color: var(--dark-color);
    font-weight: 700;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.2rem;
    font-weight: 800;
}

/* Header */
.main-header {
    padding: 20px 0;
    background: var(--white-color);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 12px;
}

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

.download-btn {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
}

.download-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

/* Hero Section */
#hero {
    padding: 60px 0;
    background-color: var(--light-gray);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.store-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.store-buttons a img {
    height: 55px;
    transition: transform 0.2s;
}

.store-buttons a:hover img {
    transform: scale(1.05);
}

.hero-image {
    text-align: center;
}

.hero-image img {
    max-width: 300px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.1));
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-top: 5px;
    flex-shrink: 0;
    width: 40px;
    text-align: center;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

/* Screenshots Section */
#screenshots {
    background-color: var(--light-gray);
}

.screenshots-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.screenshots-container::-webkit-scrollbar {
    display: none;
}

.screenshot-item img {
    height: 500px;
    width: auto;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.screenshot-item:hover img {
    transform: scale(1.02);
}

/* CTA Section */
#cta {
    text-align: center;
}

#cta h2 {
    margin-bottom: 30px;
}

/* Footer */
.main-footer {
    background-color: var(--dark-color);
    color: var(--light-gray);
    padding: 40px 0;
    text-align: center;
}

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

.footer-links a {
    color: var(--white-color);
    text-decoration: none;
    margin: 0 10px;
    font-weight: 600;
    transition: color 0.3s;
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        grid-row: 1;
        margin-bottom: 40px;
    }

    .store-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .screenshot-item img {
        height: 400px;
    }
}

@media (max-width: 576px) {
    .store-buttons {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .store-buttons a img {
        height: 48px;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .download-btn {
        padding: 8px 20px;
        font-size: 0.95rem;
    }

    .hero-image img {
        max-width: 250px;
    }

    .screenshots-container {
        padding: 0 10px 10px 10px;
        gap: 12px;
    }

    .screenshot-item img {
        height: 350px;
    }
}
