@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');

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

body {
    font-family: 'Vazirmatn', 'Tahoma', 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    direction: rtl;
}


/* هدر */

.header {

    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

    padding: 1rem 0;

    position: fixed;

    width: 100%;

    top: 0;

    z-index: 1000;

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

}



.navbar {

    display: flex;

    justify-content: space-between;

    align-items: center;

    max-width: 1200px;

    margin: 0 auto;

    padding: 0 20px;

}



.logo h1 {

    color: white;

    font-size: 1.8rem;

}



.nav-links a {

    color: white;

    text-decoration: none;

    margin: 0 15px;

    transition: all 0.3s ease;

}



.nav-links a:hover {

    color: #f0f0f0;

    transform: translateY(-2px);

}



.btn-login {

    background: rgba(255,255,255,0.2);

    padding: 8px 20px;

    border-radius: 5px;

    border: 1px solid white;

}



.btn-login:hover {

    background: rgba(255,255,255,0.3);

}



/* بخش قهرمان */

.hero {

    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

    color: white;

    padding: 150px 20px 80px;

    text-align: center;

}



.hero-content h1 {

    font-size: 3rem;

    margin-bottom: 20px;

}



.hero-content p {

    font-size: 1.2rem;

    margin-bottom: 30px;

}



.hero-buttons a {

    display: inline-block;

    padding: 15px 30px;

    margin: 10px;

    border-radius: 5px;

    text-decoration: none;

    font-weight: bold;

    transition: all 0.3s ease;

}



.btn-primary {

    background: #ff6b6b;

    color: white;

}



.btn-secondary {

    background: transparent;

    color: white;

    border: 2px solid white;

}



.btn-primary:hover {

    background: #ff5252;

    transform: translateY(-2px);

}



.btn-secondary:hover {

    background: rgba(255,255,255,0.1);

    transform: translateY(-2px);

}



/* بخش پلن‌ها */

.plans-section {

    padding: 80px 20px;

    max-width: 1200px;

    margin: 0 auto;

}



.plans-section h2 {

    text-align: center;

    font-size: 2.5rem;

    margin-bottom: 50px;

    color: #333;

}



.plans-grid {

    display: grid;

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

    gap: 30px;

}



.plan-card {

    background: white;

    border-radius: 10px;

    padding: 30px;

    box-shadow: 0 5px 20px rgba(0,0,0,0.1);

    transition: all 0.3s ease;

    position: relative;

}



.plan-card:hover {

    transform: translateY(-10px);

    box-shadow: 0 10px 30px rgba(0,0,0,0.2);

}



.plan-card.popular {

    border: 2px solid #667eea;

    transform: scale(1.05);

}



.plan-card.popular:hover {

    transform: scale(1.05) translateY(-10px);

}



.popular-badge {

    position: absolute;

    top: 10px;

    left: 10px;

    background: #ff6b6b;

    color: white;

    padding: 5px 15px;

    border-radius: 20px;

    font-size: 0.9rem;

}



.plan-header {

    text-align: center;

    margin-bottom: 20px;

}



.plan-header h3 {

    font-size: 1.8rem;

    color: #333;

    margin-bottom: 10px;

}



.price {

    font-size: 2.5rem;

    color: #667eea;

    font-weight: bold;

}



.price span {

    font-size: 1rem;

    color: #666;

}



.plan-features ul {

    list-style: none;

    margin-bottom: 30px;

}



.plan-features li {

    padding: 10px 0;

    border-bottom: 1px solid #f0f0f0;

}



.plan-features i {

    color: #4CAF50;

    margin-left: 10px;

}



.btn-plan {

    display: block;

    text-align: center;

    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

    color: white;

    padding: 12px;

    border-radius: 5px;

    text-decoration: none;

    font-weight: bold;

    transition: all 0.3s ease;

}



.btn-plan:hover {

    transform: translateY(-2px);

    box-shadow: 0 5px 15px rgba(0,0,0,0.2);

}

/* بخش ویژگی‌ها */

.features-section {

    background: #f8f9fa;

    padding: 80px 20px;

}



.features-section h2 {

    text-align: center;

    font-size: 2.5rem;

    margin-bottom: 50px;

}



.features-grid {

    display: grid;

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

    gap: 30px;

    max-width: 1200px;

    margin: 0 auto;

}



.feature-card {

    text-align: center;

    padding: 30px;

    background: white;

    border-radius: 10px;

    box-shadow: 0 5px 20px rgba(0,0,0,0.1);

    transition: all 0.3s ease;

}



.feature-card:hover {

    transform: translateY(-5px);

}



.feature-card i {

    font-size: 2.5rem;

    color: #667eea;

    margin-bottom: 20px;

}



.feature-card h3 {

    margin-bottom: 10px;

    color: #333;

}



/* بخش سوالات متداول */

.faq-section {

    padding: 80px 20px;

    max-width: 800px;

    margin: 0 auto;

}



.faq-section h2 {

    text-align: center;

    font-size: 2.5rem;

    margin-bottom: 50px;

}



.faq-item {

    margin-bottom: 15px;

    border: 1px solid #e0e0e0;

    border-radius: 5px;

}



.faq-question {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 20px;

    background: white;

    cursor: pointer;

}



.faq-question h3 {

    margin: 0;

    font-size: 1.1rem;

}



.faq-question i {

    transition: transform 0.3s ease;

}



.faq-answer {

    display: none;

    padding: 20px;

    background: #f8f9fa;

    border-top: 1px solid #e0e0e0;

}



/* فوتر */

.footer {

    background: #2c3e50;

    color: white;

    padding: 50px 20px 0;

}



.footer-content {

    display: grid;

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

    gap: 30px;

    max-width: 1200px;

    margin: 0 auto;

}



.footer-section h3 {

    margin-bottom: 20px;

    color: #667eea;

}



.footer-section ul {

    list-style: none;

}



.footer-section ul li {

    margin-bottom: 10px;

}



.footer-section a {

    color: #ecf0f1;

    text-decoration: none;

}



.footer-section a:hover {

    color: #667eea;

}



.social-links {

    display: flex;

    gap: 15px;

    margin-top: 20px;

}



.social-link {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 40px;

    height: 40px;

    border-radius: 50%;

    color: white;

    font-size: 1.2rem;

    transition: all 0.3s ease;

}



.whatsapp {

    background: #25D366;

}



.telegram {

    background: #0088cc;

}



.instagram {

    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);

}



.social-link:hover {

    transform: scale(1.1);

}



.footer-bottom {

    text-align: center;

    padding: 20px;

    margin-top: 50px;

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

}



/* فرم‌های احراز هویت */

.auth-container {

    display: flex;

    justify-content: center;

    align-items: center;

    min-height: 100vh;

    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

    padding: 20px;

}



.auth-box {

    background: white;

    padding: 40px;

    border-radius: 10px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.2);

    width: 100%;

    max-width: 400px;

}



.auth-box h1 {

    text-align: center;

    margin-bottom: 30px;

    color: #333;

}



.form-group {

    margin-bottom: 20px;

}



.form-group label {

    display: block;

    margin-bottom: 5px;

    color: #555;

}



.form-group input {

    width: 100%;

    padding: 10px;

    border: 1px solid #ddd;

    border-radius: 5px;

    font-size: 1rem;

}



.alert {

    padding: 15px;

    border-radius: 5px;

    margin-bottom: 20px;

}



.alert-error {

    background: #ffeaea;

    color: #d63031;

    border: 1px solid #fab1a0;

}



.alert-success {

    background: #eafaf1;

    color: #27ae60;

    border: 1px solid #a3e4bc;

}



.alert-info {

    background: #eaf2f8;

    color: #2980b9;

    border: 1px solid #aed6f1;

}



.auth-link {

    text-align: center;

    margin-top: 20px;

}



.auth-link a {

    color: #667eea;

    text-decoration: none;

}



/* داشبورد کاربری */

.dashboard-container {

    display: flex;

    min-height: 100vh;

}



.dashboard-sidebar {

    width: 250px;

    background: #2c3e50;

    color: white;

    padding: 30px 0;

}



.dashboard-sidebar h2 {

    padding: 0 20px;

    margin-bottom: 30px;

    color: #667eea;

}



.dashboard-sidebar ul {

    list-style: none;

}



.dashboard-sidebar ul li a {

    display: block;

    padding: 15px 20px;

    color: white;

    text-decoration: none;

    transition: all 0.3s ease;

}



.dashboard-sidebar ul li a:hover {

    background: rgba(255,255,255,0.1);

}



.dashboard-main {

    flex: 1;

    padding: 30px;

    background: #f8f9fa;

}



.dashboard-stats {

    display: grid;

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

    gap: 20px;

    margin-top: 30px;

}



.stat-card {

    background: white;

    padding: 20px;

    border-radius: 10px;

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

    text-align: center;

}



.stat-card h3 {

    color: #666;

    margin-bottom: 10px;

}



.stat-card p {

    font-size: 2rem;

    color: #667eea;

    font-weight: bold;

}



.payment-section {

    background: white;

    padding: 30px;

    border-radius: 10px;

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

    margin-bottom: 30px;

}



.card-number {

    background: #f8f9fa;

    padding: 15px;

    border-radius: 5px;

    font-size: 1.5rem;

    text-align: center;

    margin: 20px 0;

    letter-spacing: 5px;

    font-family: monospace;

}

/* پنل مدیریت */

.admin-container {

    display: flex;

    min-height: 100vh;

}



.admin-sidebar {

    width: 250px;

    background: #1a1a2e;

    color: white;

    padding: 30px 0;

}



.admin-sidebar h2 {

    padding: 0 20px;

    margin-bottom: 30px;

    color: #e94560;

}



.admin-sidebar ul {

    list-style: none;

}



.admin-sidebar ul li a {

    display: block;

    padding: 15px 20px;

    color: white;

    text-decoration: none;

    transition: all 0.3s ease;

}



.admin-sidebar ul li a:hover {

    background: rgba(255,255,255,0.1);

}



.admin-main {

    flex: 1;

    padding: 30px;

    background: #f8f9fa;

}



.admin-main h1 {

    margin-bottom: 30px;

    color: #333;

}



.admin-table-container {

    overflow-x: auto;

}



.admin-table {

    width: 100%;

    background: white;

    border-radius: 10px;

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

}



.admin-table th {

    background: #1a1a2e;

    color: white;

    padding: 15px;

    text-align: right;

}



.admin-table td {

    padding: 15px;

    border-bottom: 1px solid #f0f0f0;

}



.admin-table tr:hover {

    background: #f8f9fa;

}



.status {

    padding: 5px 10px;

    border-radius: 20px;

    font-size: 0.9rem;

}



.status.active {

    background: #d4edda;

    color: #155724;

}



.status.inactive {

    background: #f8d7da;

    color: #721c24;

}



.btn-edit, .btn-delete {

    padding: 5px 15px;

    border-radius: 5px;

    text-decoration: none;

    font-size: 0.9rem;

    margin: 0 5px;

}



.btn-edit {

    background: #007bff;

    color: white;

}



.btn-delete {

    background: #dc3545;

    color: white;

}



/* رسپانسیو */

@media (max-width: 768px) {

    .navbar {

        flex-direction: column;

    }

    

    .nav-links {

        margin-top: 20px;

    }

    

    .nav-links a {

        display: block;

        margin: 10px 0;

    }

    

    .hero-content h1 {

        font-size: 2rem;

    }

    

    .plans-grid,

    .features-grid {

        grid-template-columns: 1fr;

    }

    

    .plan-card.popular {

        transform: scale(1);

    }

    

    .plan-card.popular:hover {

        transform: translateY(-10px);

    }

    

    .footer-content {

        grid-template-columns: 1fr;

    }

    

    .dashboard-container,

    .admin-container {

        flex-direction: column;

    }

    

    .dashboard-sidebar,

    .admin-sidebar {

        width: 100%;

    }

}

/* حذف خط زیر لینک‌ها */
a {
    text-decoration: none !important;
}

a:hover {
    text-decoration: none !important;
}

.nav-links a {
    color: white;
    text-decoration: none !important;
    margin: 0 15px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    display: none !important;
}

.nav-links a:hover {
    color: #f0f0f0;
    transform: translateY(-2px);
    text-decoration: none !important;
}

/* حذف خط زیر همه لینک‌ها در کل سایت */
a:link, a:visited, a:hover, a:active {
    text-decoration: none !important;
}

/* ============================================ */
/* استایل‌های جدید و زیبا برای صفحه ورود */
/* ============================================ */

.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px;
    position: relative;
    overflow: hidden;
}

/* اضافه کردن شکل‌های پس‌زمینه */
.auth-container::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    animation: float 6s ease-in-out infinite;
}

.auth-container::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    bottom: -80px;
    left: -80px;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.auth-box {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 420px;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-box h1 {
    text-align: center;
    margin-bottom: 10px;
    color: #333;
    font-size: 2rem;
    font-weight: 700;
}

.auth-box .subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

/* آیکون بالای فرم */
.auth-icon {
    text-align: center;
    margin-bottom: 20px;
}

.auth-icon i {
    font-size: 3.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* استایل فرم گروه‌ها */
.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.form-group label i {
    margin-left: 8px;
    color: #667eea;
    width: 20px;
    text-align: center;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    padding-right: 45px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: 'Vazirmatn', sans-serif;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: white;
}

/* آیکون داخل اینپوت */
.form-group .input-icon {
    position: absolute;
    right: 15px;
    top: 42px;
    color: #999;
    transition: all 0.3s ease;
}

.form-group input:focus ~ .input-icon,
.form-group input:focus + .input-icon {
    color: #667eea;
}

/* دکمه ورود */
.btn-auth {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Vazirmatn', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}

.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.btn-auth:active {
    transform: translateY(0);
}

.btn-auth::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-auth:hover::before {
    left: 100%;
}

.btn-auth i {
    margin-left: 8px;
}

/* لینک ثبت نام */
.auth-link {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: #666;
}

.auth-link a {
    color: #667eea;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 5px;
}

.auth-link a:hover {
    background: rgba(102, 126, 234, 0.1);
    text-decoration: none !important;
}

/* پیام‌های خطا و موفقیت */
.alert {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert i {
    font-size: 1.2rem;
}

.alert-error {
    background: #fee;
    color: #c33;
    border: 1px solid #fcc;
}

.alert-success {
    background: #efe;
    color: #3a3;
    border: 1px solid #cfc;
}

.alert-info {
    background: #eef;
    color: #33c;
    border: 1px solid #ccf;
}

/* یادآوری رمز عبور */
.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
}

.remember-me input[type="checkbox"] {
    width: auto;
    accent-color: #667eea;
}

.forgot-password {
    color: #667eea;
    text-decoration: none !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.forgot-password:hover {
    color: #764ba2;
    text-decoration: none !important;
}

/* ریسپانسیو */
@media (max-width: 480px) {
    .auth-box {
        padding: 30px 20px;
        margin: 10px;
    }
    
    .auth-box h1 {
        font-size: 1.5rem;
    }
}