/* تنسيق عام */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

/* الهيدر والتنقل */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo img {
    height: 50px;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav ul li a {
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #4285f4;
}

/* قسم البطل (Hero) */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 0;
    min-height: 80vh;
}

.hero-content {
    flex: 1;
    padding-left: 20px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #333;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #666;
}

/* أزرار التحميل */
.download-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#google-play {
    background-color: #4285f4;
    color: white;
}

#app-store {
    background-color: #000;
    color: white;
}

#amazon-store {
    background-color: #ff9900;
    color: white;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.download-btn i {
    font-size: 1.5rem;
}

/* قسم المميزات */
.features {
    padding: 80px 0;
    background-color: #fff;
    text-align: center;
}

.features h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    background-color: #fff;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #f0f7ff;
    color: #4285f4;
    font-size: 1.8rem;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* قسم التحميل */
.download-section {
    padding: 80px 0;
    text-align: center;
    background-color: #f8f9fa;
}

.download-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.download-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #666;
}

.store-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    min-width: 200px;
}

.store-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.store-btn i {
    font-size: 2rem;
}

#google-play-btn i {
    color: #4285f4;
}

#app-store-btn i {
    color: #000;
}

#amazon-store-btn i {
    color: #ff9900;
}

.store-btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.small-text {
    font-size: 0.8rem;
    color: #666;
}

.big-text {
    font-size: 1.2rem;
    font-weight: 700;
}

/* رموز QR */
.qr-codes {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.qr-code {
    text-align: center;
}

.qr-code img {
    width: 120px;
    height: 120px;
    margin-bottom: 10px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* قسم التواصل */
.contact {
    padding: 80px 0;
    text-align: center;
    background-color: #fff;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #666;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.contact-item i {
    font-size: 1.8rem;
    color: #4285f4;
}

.social-media {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #f0f7ff;
    color: #4285f4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s;
}

.social-icon:hover {
    background-color: #4285f4;
    color: #fff;
    transform: translateY(-5px);
}

/* الفوتر */
footer {
    padding: 30px 0;
    text-align: center;
    background-color: #f8f9fa;
    border-top: 1px solid #eee;
}

/* تجاوب الموقع */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }
    
    .hero-content {
        padding-left: 0;
    }
    
    .download-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .download-buttons, .store-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .qr-codes {
        flex-direction: column;
        align-items: center;
    }
}