* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}



body {

    font-family: 'Vazirmatn', sans-serif;

    line-height: 1.8;

    color: #333;

}



.container {

    max-width: 1200px;

    margin: 0 auto;

    padding: 0 20px;

}



a {

    text-decoration: none !important;

    border-bottom: none !important;

}



/* هدر */

.header {

    background: linear-gradient(135deg, #1a237e, #0d47a1);

    color: white;

    padding: 20px 0;

    box-shadow: 0 2px 10px rgba(0,0,0,0.1);

}



.header .container {

    display: flex;

    justify-content: space-between;

    align-items: center;

}



.logo h1 {

    font-size: 28px;

    font-weight: 900;

}



.nav ul {

    display: flex;

    list-style: none;

    gap: 30px;

}



.nav a {

    color: white;

    font-weight: 500;

    transition: color 0.3s;

}



.nav a:hover {

    color: #ffd700;

}



/* ویژگی‌ها */

.features {

    padding: 60px 0;

    background: #f5f5f5;

}



.features-grid {

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;

}



.feature-item {

    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;

}



.feature-item:hover {

    transform: translateY(-5px);

}



.feature-item i {

    font-size: 40px;
    color: #1a237e;
    margin-bottom: 15px;

}



.feature-item h3 {

    margin-bottom: 10px;

    color: #1a237e;

}



/* تصویر محصول */

.product-image-section {

    padding: 40px 0;

}



.product-image img {

    margin: 2px 0;
    border-radius: 5px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);

}



/* پلن‌ها */
.plans {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a237e, #0d47a1);
    color: white;
}

.plans h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 36px;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.plan-card {
    background: white;
    color: #333;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

.plan-card:hover {
    transform: translateY(-10px);
}

.plan-card.featured {
    background: linear-gradient(135deg, #ffd700, #ffab00);
    color: #333;
    transform: scale(1.05);
}

.plan-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #1a237e;
}

.plan-price {
    font-size: 32px;
    font-weight: 900;
    color: #1a237e;
    margin-bottom: 30px;
}

.plan-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: right;
}

.plan-features li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.btn-buy {
    display: inline-block;
    padding: 12px 40px;
    background: linear-gradient(135deg, #1a237e, #0d47a1);
    color: white;
    border-radius: 30px;
    font-weight: 700;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    text-decoration: none !important;
    border-bottom: none !important;
}

.btn-buy:hover {
    background: linear-gradient(135deg, #0d47a1, #1a237e);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* واکنش‌گرایی برای پلن‌ها */
@media (max-width: 1200px) {
    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
    }
    
    .plan-card.featured {
        transform: scale(1);
    }
}


/* سوالات متداول */

.faq {

    padding: 80px 0;

}



.faq h2 {

    text-align: center;

    margin-bottom: 50px;

}



.faq-list {

    max-width: 800px;

    margin: 0 auto;

}



.faq-item {

    margin-bottom: 15px;

    border: 1px solid #e0e0e0;

    border-radius: 10px;

    overflow: hidden;

}



.faq-question {

    padding: 20px;

    background: #f9f9f9;

    cursor: pointer;

    display: flex;

    justify-content: space-between;

    align-items: center;

    font-weight: 700;

}



.faq-question i {

    transition: transform 0.3s;

}



.faq-item.active .faq-question i {

    transform: rotate(180deg);

}



.faq-answer {

    max-height: 0;

    overflow: hidden;

    transition: max-height 0.3s ease-out;

}



.faq-item.active .faq-answer {

    max-height: 500px;

}



.faq-answer p {

    padding: 20px;

    text-align: justify;

}



/* درباره ما */

.about {

    padding: 60px 0;

    background: #f5f5f5;

}



.about h4 {

    text-align: center;

    margin-bottom: 30px;

    font-size: 24px;

    color: #1a237e;

}



.about-content {

    max-width: 800px;

    margin: 0 auto;

}



.about-content p {

    text-align: justify;

}



/* فوتر */

.footer {

    background: #1a237e;

    color: white;

    padding: 60px 0 20px;

}



.footer-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));

    gap: 40px;

    margin-bottom: 40px;

}



.footer-section h4 {

    margin-bottom: 20px;

    font-size: 18px;

}



.footer-section ul {

    list-style: none;

}



.footer-section ul li {

    margin-bottom: 10px;

}



.footer-section ul li a {

    color: #ccc;

    text-decoration: none !important;

}



.footer-section ul li a:hover {

    color: #ffd700;

}



.social-icons {

    display: flex;

    gap: 20px;

}



.social-icons a {

    color: white;

    font-size: 24px;

    transition: color 0.3s;

    text-decoration: none !important;

}



.social-icons a:hover {

    color: #ffd700;

}



.footer-bottom {

    text-align: center;

    padding-top: 20px;

    border-top: 1px solid rgba(255,255,255,0.1);

}



/* واکنش‌گرا */

@media (max-width: 768px) {

    .header .container {

        flex-direction: column;

        gap: 20px;

    }

    

    .nav ul {

        flex-wrap: wrap;

        justify-content: center;

        gap: 15px;

    }

    

    .plan-card.featured {

        transform: scale(1);

    }

}

/* بخش اخبار */
.news-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.news-section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 32px;
    color: #1a237e;
    font-weight: 700;
    position: relative;
}

.news-section h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: #ffd700;
    margin: 15px auto 0;
    border-radius: 2px;
}

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

.post-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.post-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}

.post-card:hover img {
    transform: scale(1.05);
}

.post-card-body {
    padding: 20px;
}

.post-card-badge {
    display: inline-block;
    background: #ffd700;
    color: #333;
    padding: 3px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 10px;
}

.post-card-date {
    color: #999;
    font-size: 12px;
    margin-right: 10px;
}

.post-card h3 {
    margin-bottom: 12px;
    font-size: 18px;
    line-height: 1.6;
}

.post-card h3 a {
    color: #1a237e;
    text-decoration: none;
    font-weight: 700;
}

.post-card h3 a:hover {
    color: #0d47a1;
}

.post-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 15px;
}

.btn-read-more {
    display: inline-block;
    padding: 10px 25px;
    background: linear-gradient(135deg, #1a237e, #0d47a1);
    color: white;
    border-radius: 25px;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-read-more:hover {
    transform: translateX(-5px);
    box-shadow: 0 5px 15px rgba(26, 35, 126, 0.3);
}

/* واکنش‌گرایی */
@media (max-width: 768px) {
    .posts-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}