/* إعدادات عامة */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* شريط التنقل */
.navbar {
    background-color: #0088cc;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    color: white;
    font-size: 24px;
    font-weight: bold;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: white;
    font-size: 18px;
    transition: 0.3s;
}

.nav-links a.active, .nav-links a:hover {
    color: #ffd700;
}

/* أزرار */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: bold;
    transition: 0.3s;
    text-align: center;
}

.primary {
    background-color: #0088cc;
    color: white;
}

.secondary {
    background-color: white;
    color: #0088cc;
    border: 2px solid #0088cc;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,136,204,0.3);
}

/* قسم البطل */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #e3f2fd 0%, #f8f9fa 100%);
    display: flex;
    align-items: center;
    min-height: 80vh;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    font-size: 42px;
    color: #0088cc;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #555;
    max-width: 600px;
}

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

.hero-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.download-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* قسم التحميل */
.download-section {
    padding: 80px 0;
    text-align: center;
}

.download-section h2 {
    font-size: 32px;
    color: #0088cc;
    margin-bottom: 50px;
}

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

.device-card {
    background-color: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.device-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.device-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 20px;
    object-fit: cover;
}

.device-card h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 10px;
}

.device-card p {
    color: #777;
    margin-bottom: 20px;
}

/* قسم لماذا تليجرام */
.why-telegram {
    padding: 80px 0;
    background-color: white;
    text-align: center;
}

.why-telegram h2 {
    font-size: 32px;
    color: #0088cc;
    margin-bottom: 40px;
}

.features-list {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.feature-item {
    max-width: 300px;
}

.feature-item h4 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.feature-item p {
    color: #777;
}

/* صفحة المميزات */
.features-header {
    padding: 60px 0;
    text-align: center;
    background-color: #e3f2fd;
}

.features-header h1 {
    font-size: 36px;
    color: #0088cc;
    margin-bottom: 15px;
}

.features-header p {
    font-size: 18px;
    color: #555;
}

.features-grid {
    padding: 80px 0;
}

.features-grid .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.feature-card h2 {
    padding: 20px 20px 10px;
    color: #0088cc;
    font-size: 22px;
}

.feature-card p {
    padding: 0 20px 25px;
    color: #666;
}

/* صفحة الدليل */
.guide-header {
    padding: 60px 0;
    text-align: center;
    background-color: #e3f2fd;
}

.guide-header h1 {
    font-size: 36px;
    color: #0088cc;
    margin-bottom: 15px;
}

.guide-header p {
    font-size: 18px;
    color: #555;
}

.guide-steps {
    padding: 80px 0;
}

.step-card {
    display: flex;
    align-items: center;
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    gap: 30px;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: #0088cc;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h2 {
    color: #0088cc;
    margin-bottom: 10px;
    font-size: 24px;
}

.step-content p {
    color: #666;
    margin-bottom: 15px;
}

.step-content img {
    max-width: 100%;
    border-radius: 10px;
}

.tips {
    padding: 60px 0;
    background-color: white;
}

.tips h2 {
    text-align: center;
    color: #0088cc;
    margin-bottom: 30px;
    font-size: 28px;
}

.tips ul {
    max-width: 800px;
    margin: 0 auto;
}

.tips li {
    background-color: #f8f9fa;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 10px;
    color: #333;
    font-size: 17px;
}

/* الفوتر */
.footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 40px 0;
    margin-top: 50px;
}

.footer p {
    margin-bottom: 10px;
    font-size: 16px;
}

/* استجابة للهواتف */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .nav-links {
        gap: 15px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .step-card {
        flex-direction: column;
        text-align: center;
    }

    .features-grid .container {
        grid-template-columns: 1fr;
    }
}