/* ========================================
   فونت‌ها و تنظیمات پایه
   ======================================== */
@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazir-font@v30.1.0/dist/font-face.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Vazir', Tahoma, Arial, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.8;
}


/* ========================================
   هدر و ناوبری
   ======================================== */
header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    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;
    font-size: 1.5rem;
    font-weight: bold;
    color: #8e44ad;
}

.logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* لینک‌های منو */
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #8e44ad;
}


/* ========================================
   بخش Hero (بالای صفحه اصلی)
   ======================================== */
.hero {
    background: linear-gradient(135deg, #f5f0f8 0%, #fff 100%);
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(142, 68, 173, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}


/* ========================================
   بخش دانلود اپلیکیشن
   ======================================== */
.download-section {
    background: #fff;
    padding: 4rem 2rem;
    text-align: center;
}

.download-section h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: 2px solid #8e44ad;
    background: #fff;
    color: #8e44ad;
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
    transition: all 0.3s ease;
    min-width: 200px;
    justify-content: center;
}

.download-btn:hover {
    background: #8e44ad;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(142, 68, 173, 0.3);
}

.download-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.app-showcase {
    max-width: 600px;
    margin: 3rem auto;
}

.app-showcase img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}


/* ========================================
   بخش ویژگی‌ها
   ======================================== */
.features {
    padding: 4rem 2rem;
    background: #f8f9fa;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-image {
    text-align: center;
}

.feature-image img {
    max-width: 250px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.feature-content h2 {
    font-size: 1.8rem;
    color: #8e44ad;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-content h2 img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.feature-content p {
    color: #555;
    line-height: 2;
    text-align: justify;
}


/* ========================================
   بخش خبرنامه
   ======================================== */
.newsletter {
    background: linear-gradient(135deg, #8e44ad 0%, #9b59b6 100%);
    padding: 2rem;
    text-align: center;
    color: #fff;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.newsletter input {
    flex: 1;
    min-width: 250px;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-family: inherit;
}

.newsletter button {
    padding: 1rem 2rem;
    background: #fff;
    color: #8e44ad;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.newsletter button:hover {
    transform: scale(1.05);
}


/* ========================================
   فوتر
   ======================================== */
footer {
    background: #fff;
    padding: 3rem 2rem 1rem;
    border-top: 1px solid #e0e0e0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #8e44ad;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #8e44ad;
}

.contact-info {
    color: #555;
    line-height: 2;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #8e44ad;
    color: #fff;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
}

.social-links svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
    color: #777;
}


/* ========================================
   طراحی واکنش‌گرا (Responsive)
   ======================================== */
@media (max-width: 768px) {
    /* منو */
    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    /* بخش ویژگی‌ها */
    .features-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* فوتر */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Hero */
    .hero h1 {
        font-size: 1.5rem;
    }
}