/* Roadmap Styles - Matching Main Site Design */

/* Persian Font */
@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;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #000000;
    --accent-color: #ef4444;
    --green-color: #10b981;
    --text-color: #000000;
    --text-light: #6b7280;
    --bg-color: #ffffff;
    --bg-dark: #f3f4f6;
    --shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Vazir', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--bg-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-spinner {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid rgba(37, 99, 235, 0.2);
    border-top-color: var(--primary-color);
    animation: spin 1s linear infinite;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.loading-spinner img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    animation: spin-reverse 1s linear infinite;
}

@keyframes spin-reverse {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(-360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Navigation - Matching Main Site */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1400px;
    background: #000000;
    border-radius: 60px;
    z-index: 1000;
    transition: var(--transition);
    padding: 10px 30px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled {
    box-shadow: 0 5px 40px rgba(0, 0, 0, 0.4);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-brand a {
    font-size: 1.6rem;
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-profile {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ff6b35;
}

.nav-brand a:hover {
    color: #10b981;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
    align-items: center;
}

.nav-item:first-child .nav-link {
    background: #ef4444;
    color: white;
    padding: 12px 35px;
    border-radius: 40px;
}

.nav-item:first-child .nav-link:hover {
    background: #dc2626;
    color: white;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 12px 25px;
    border-radius: 40px;
}

.nav-link:hover {
    color: #10b981;
    background: rgba(255, 255, 255, 0.05);
}

/* User Section */
.user-section {
    position: relative;
}

.login-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: #2563eb;
    color: white;
    border: 2px solid transparent;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.login-btn:hover {
    background: white;
    color: #2563eb;
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(37, 99, 235, 0.3);
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 16px 6px 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.user-profile:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid #2563eb;
    object-fit: cover;
}

.user-name {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
}

.profile-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    background: #1a1a1a;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.user-profile:hover .profile-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #2563eb;
    object-fit: cover;
}

.dropdown-info {
    flex: 1;
}

.dropdown-name {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.dropdown-username {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-family: 'Courier New', Courier, monospace;
}

.dropdown-id {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.id-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    font-weight: 600;
}

.id-value {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    font-family: 'Courier New', Courier, monospace;
    flex: 1;
}

.copy-id-btn {
    background: transparent;
    border: none;
    color: #2563eb;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.copy-id-btn:hover {
    background: rgba(37, 99, 235, 0.15);
    transform: scale(1.1);
}

.copy-id-btn:active {
    transform: scale(0.95);
}

.copy-id-btn.copied {
    color: #10b981;
}

.dropdown-admin-panel {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    background: transparent;
    border: none;
    color: #2563eb;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border-top: 1px solid #e5e7eb;
}

.dropdown-admin-panel:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
}

.dropdown-admin-panel i {
    font-size: 1rem;
    color: #2563eb;
}

.dropdown-user-panel {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    background: transparent;
    color: #10b981;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border-top: 1px solid #e5e7eb;
}

.dropdown-user-panel:hover {
    background: rgba(16, 185, 129, 0.1);
}

.dropdown-user-panel i {
    font-size: 1rem;
    color: #10b981;
}

.dropdown-logout {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 12px 16px;
    background: transparent;
    border: none;
    color: #ef4444;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-top: 1px solid #e5e7eb;
    border-radius: 0 0 14px 14px;
}

.dropdown-logout:hover {
    background: rgba(239, 68, 68, 0.1);
}

.dropdown-logout i {
    font-size: 1rem;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 150px 0 80px;
    text-align: center;
    background: linear-gradient(to bottom, #ffffff 0%, #f3f4f6 100%);
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.hero-title i {
    color: var(--primary-color);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    font-weight: 700;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--text-color);
    border-color: #e5e7eb;
    font-weight: 700;
}

.btn-secondary:hover {
    background: var(--bg-dark);
    border-color: var(--text-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Statistics Section */
.statistics {
    padding: 60px 0;
    background: var(--bg-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.2);
}

.stat-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.stat-info h3 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.stat-info p {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 600;
}

/* Filters Section */
.filters {
    padding: 40px 0;
    background: var(--bg-dark);
}

.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.sort-group {
    display: flex;
    gap: 0.75rem;
}

/* Tab System for Roadmap and Updates */
.roadmap-tabs {
    display: flex;
    gap: 10px;
    padding: 20px 0;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 12px 30px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 10px 10px 0 0;
    color: var(--text-color);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tab-btn:hover {
    background: #f9fafb;
    border-color: var(--primary-color);
}

.tab-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-content.active {
    display: block;
}

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

/* Latest Updates Section - Tab Content */
.latest-updates {
    padding: 40px 0;
    background: white;
}

.latest-updates .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.latest-updates .section-header h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.latest-updates .section-header h2 i {
    color: var(--primary-color);
}

.latest-updates .section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.update-timeline {
    max-width: 900px;
    margin: 0 auto;
}

.update-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.update-card.featured {
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 12px 45px rgba(37, 99, 235, 0.12);
}

.update-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.update-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.update-badge {
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.update-badge.version {
    background: var(--primary-color);
    color: white;
}

.update-date {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
}

.update-title {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 10px;
}

.update-description {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.features-grid-update {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 20px;
    background: white;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.feature-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.15);
    transform: translateY(-3px);
    background: #f9fafb;
}

/* Simple Feature Modal */
.feature-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.feature-modal.active {
    opacity: 1;
}

.feature-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    cursor: pointer;
}

.feature-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 16px;
    max-width: 800px;
    width: 90%;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.feature-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f3f4f6;
    border: none;
    color: var(--text-color);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 1;
}

.feature-modal-close:hover {
    background: #e5e7eb;
    transform: rotate(90deg);
}

.feature-modal-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    border-bottom: 2px solid #e5e7eb;
    background: white;
}

.feature-modal-icon {
    font-size: 40px;
    color: var(--primary-color);
}

.feature-modal-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
}

.feature-modal-body {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
}

.feature-modal-body p {
    margin-bottom: 20px;
    color: #4a5568;
    font-size: 16px;
    line-height: 1.8;
}

.feature-modal-body > p:first-child {
    font-size: 17px;
    color: #374151;
    line-height: 1.9;
    padding: 20px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-left: 4px solid var(--primary-color);
    border-radius: 12px;
    margin-bottom: 28px;
}

.feature-modal-body h3 {
    color: var(--text-color);
    margin-top: 32px;
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 700;
    padding-bottom: 12px;
    border-bottom: 2px solid #e5e7eb;
}

.feature-modal-body h4 {
    color: var(--primary-color);
    margin-top: 28px;
    margin-bottom: 18px;
    font-size: 19px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-modal-body h4::before {
    content: '▸';
    font-size: 20px;
    color: var(--primary-color);
}

.feature-modal-body ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.feature-modal-body ul li {
    padding: 18px 22px;
    margin-bottom: 12px;
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    border-left: 4px solid var(--primary-color);
    color: #4a5568;
    font-size: 15px;
    line-height: 1.7;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.feature-modal-body ul li:hover {
    background: #f9fafb;
    border-left-width: 6px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.feature-modal-body ul li strong {
    color: #1f2937;
    font-weight: 700;
    display: block;
    margin-bottom: 6px;
    font-size: 16px;
}

.feature-modal-body .feature-highlight {
    background: #fef3c7;
    padding: 16px 20px;
    border-radius: 10px;
    border-left: 4px solid #f59e0b;
    margin: 20px 0;
    font-size: 15px;
    color: #92400e;
}

.feature-modal-body .feature-note {
    background: #dbeafe;
    padding: 16px 20px;
    border-radius: 10px;
    border-left: 4px solid #3b82f6;
    margin: 20px 0;
    font-size: 15px;
    color: #1e40af;
}

.feature-modal-body .benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.feature-modal-body .benefit-card {
    padding: 20px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 12px;
    border: 1px solid #86efac;
    text-align: center;
}

.feature-modal-body .benefit-card i {
    font-size: 28px;
    color: #16a34a;
    margin-bottom: 12px;
    display: block;
}

.feature-modal-body .benefit-card strong {
    display: block;
    color: #166534;
    font-size: 15px;
    margin-bottom: 8px;
}

.feature-modal-body .benefit-card p {
    font-size: 14px;
    color: #15803d;
    margin: 0;
    line-height: 1.5;
}

.feature-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
    min-width: 24px;
    margin-top: 5px;
}

.feature-item h4 {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 5px;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

.update-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 2px solid #e5e7eb;
    flex-wrap: wrap;
    gap: 15px;
}

.status-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.status-badge.completed {
    background: #d1fae5;
    color: #065f46;
}

.update-stats {
    color: var(--text-light);
    font-weight: 500;
}

/* Old styles kept for compatibility */

.feature-details-body h4 {
    color: #667eea;
    margin-top: 28px;
    margin-bottom: 18px;
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-details-body h4::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 2px;
}

.feature-details-body ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-details-body ul li {
    padding: 18px 22px;
    margin-bottom: 12px;
    background: #f9fafb;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    color: #4a5568;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.feature-details-body ul li:hover {
    background: #f3f4f6;
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.feature-details-body ul li:last-child {
    border-bottom: none;
}

.feature-details-body ul li strong {
    color: #2d3748;
    font-weight: 700;
    display: block;
    margin-bottom: 6px;
    font-size: 17px;
    line-height: 1.4;
}

.feature-details-body ul li:not(:has(strong)) {
    color: #2d3748;
}

.feature-details-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #f3f4f6;
    border: 2px solid #e5e7eb;
    color: var(--text-color);
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.feature-details-close:hover {
    background: #e5e7eb;
    transform: rotate(90deg) scale(1.1);
    color: var(--primary-color);
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    font-size: 14px;
    color: var(--primary-color);
    opacity: 0;
    font-weight: 600;
    transition: all 0.3s ease;
    transform: translateX(-10px);
}

.feature-item:hover .read-more {
    opacity: 1;
    transform: translateX(0);
}

.filter-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    border-radius: 30px;
    border: 2px solid #e5e7eb;
    background: white;
    color: var(--text-color);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.2);
}

.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(37, 99, 235, 0.3);
}

.sort-select {
    padding: 12px 24px;
    border-radius: 30px;
    border: 2px solid #e5e7eb;
    background: white;
    color: var(--text-color);
    font-weight: 600;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
}

.sort-select:hover,
.sort-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.2);
    transition: all 0.3s ease;
}

.sort-select:hover,
.sort-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.2);
}

/* Features Section */
.features {
    padding: 60px 0;
    background: var(--bg-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--primary-color);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(37, 99, 235, 0.2);
}

.feature-card.status-pending {
    border-left-color: #f59e0b;
}

.feature-card.status-approved {
    border-left-color: var(--primary-color);
}

.feature-card.status-in-progress {
    border-left-color: #3b82f6;
}

.feature-card.status-completed {
    border-left-color: var(--green-color);
}

.feature-card.status-rejected {
    border-left-color: var(--accent-color);
}

.feature-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.feature-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-pending { background: #fef3c7; color: #92400e; }
.status-approved { background: #dbeafe; color: #1e40af; }
.status-in-progress { background: #e0e7ff; color: #3730a3; }
.status-completed { background: #d1fae5; color: #065f46; }
.status-rejected { background: #fee2e2; color: #991b1b; }

.feature-category {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    background: var(--bg-dark);
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.feature-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.feature-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--bg-dark);
}

.feature-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.85rem;
}

.feature-date {
    color: var(--text-light);
    font-size: 0.85rem;
}

.feature-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--bg-dark);
}

.vote-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.vote-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 25px;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.vote-button:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.vote-button.voted {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.3);
}

.vote-button.downvote {
    border-color: #ef4444;
    color: #ef4444;
}

.vote-button.downvote:hover {
    background: #ef4444;
    color: white;
    box-shadow: 0 5px 15px rgba(239, 68, 68, 0.3);
}

.vote-button.downvote.disliked {
    background: #ef4444;
    color: white;
    box-shadow: 0 3px 10px rgba(239, 68, 68, 0.3);
}

.vote-count,
.dislike-count {
    font-weight: 700;
    min-width: 20px;
    text-align: center;
}

.delete-button {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 25px;
    border: 2px solid #ef4444;
    background: white;
    color: #ef4444;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.delete-button:hover {
    background: #ef4444;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(239, 68, 68, 0.3);
}

.pin-button-small {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 2px solid #f59e0b;
    background: white;
    color: #f59e0b;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.pin-button-small:hover {
    background: #f59e0b;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.pin-button-small.pinned {
    background: #f59e0b;
    color: white;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.pin-button-small.pinned i {
    transform: rotate(45deg);
}

/* Admin Note */
.admin-note {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-left: 4px solid #2563eb;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
}

.admin-note-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #2563eb;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.admin-note-header i {
    font-size: 1rem;
}

.admin-note-text {
    color: #1e40af;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* Pinned Badge */
.feature-card.pinned {
    border: 2px solid #f59e0b;
    background: linear-gradient(to bottom, rgba(245, 158, 11, 0.05) 0%, white 100%);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.2);
}

.pin-badge {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 8px 8px 0 0;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: -1.5rem -1.5rem 1rem -1.5rem;
}

.pin-badge i {
    transform: rotate(45deg);
}

/* Submit Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(37, 99, 235, 0.3) 100%);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    max-width: 550px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f3f4f6;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-title i {
    color: var(--primary-color);
}

.modal-close {
    display: none;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-family: 'Vazir', 'Segoe UI', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.2s ease;
    outline: none;
    background: #f9fafb;
    color: var(--text-color);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.5;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    background: white;
}

.form-group small {
    display: block;
    margin-top: 0.4rem;
    color: var(--text-light);
    font-size: 0.8rem;
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-light);
    font-size: 0.85rem;
}

.form-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

.form-actions .btn {
    padding: 12px 28px;
    font-size: 0.95rem;
    border-radius: 8px;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: white;
    padding: 16px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast.success {
    border-left: 4px solid var(--green-color);
}

.toast.error {
    border-left: 4px solid var(--accent-color);
}

.toast.warning {
    border-left: 4px solid #f59e0b;
}

.toast.info {
    border-left: 4px solid var(--primary-color);
}

.toast i {
    font-size: 1.25rem;
}

.toast.success i { color: var(--green-color); }
.toast.error i { color: var(--accent-color); }
.toast.warning i { color: #f59e0b; }
.toast.info i { color: var(--primary-color); }

/* Footer - Matching Main Site */
.footer {
    background: #000000;
    color: white;
    padding: 80px 0 20px;
    margin-top: 60px;
}

.footer-top {
    margin-bottom: 40px;
}

.footer-cta {
    text-align: center;
}

.footer-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 800;
}

.btn-hire {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-hire:hover {
    background: #1d4ed8;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 40px 0;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-about {
    max-width: 400px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-profile {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.footer-brand span {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.footer-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

/* Delete Modal */
.delete-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.delete-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.delete-modal {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    max-width: 420px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideUp 0.3s ease;
}

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

.delete-modal-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: #ef4444;
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.2);
}

.delete-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.delete-modal-text {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.delete-modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.delete-modal-btn {
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.delete-cancel {
    background: #f3f4f6;
    color: var(--text-color);
}

.delete-cancel:hover {
    background: #e5e7eb;
    transform: translateY(-2px);
}

.delete-confirm {
    background: #ef4444;
    color: white;
}

.delete-confirm:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
}

/* Logout Modal */
.logout-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.logout-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.logout-modal {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.logout-modal-overlay.active .logout-modal {
    transform: scale(1);
}

.logout-modal-icon {
    width: 60px;
    height: 60px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: var(--accent-color);
}

.logout-modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.logout-modal-text {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.logout-modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.logout-modal-btn {
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logout-cancel {
    background: var(--bg-dark);
    color: var(--text-color);
}

.logout-cancel:hover {
    background: #e5e7eb;
}

.logout-confirm {
    background: var(--accent-color);
    color: white;
}

.logout-confirm:hover {
    background: #dc2626;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 10px 20px;
        border-radius: 30px;
    }

    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-buttons {
        justify-content: center;
    }

    .roadmap-tabs {
        flex-wrap: wrap;
        gap: 8px;
    }

    .tab-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .latest-updates {
        padding: 30px 15px;
    }

    .latest-updates .section-header h2 {
        font-size: 2rem;
    }

    .latest-updates .section-header p {
        font-size: 1rem;
    }

    .update-card {
        padding: 25px;
    }

    .features-grid-update {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .feature-modal-content {
        width: 95%;
        max-height: 90vh;
        border-radius: 12px;
    }

    .feature-modal-header {
        padding: 20px;
        gap: 15px;
    }

    .feature-modal-icon {
        font-size: 32px;
    }

    .feature-modal-header h2 {
        font-size: 20px;
    }

    .feature-modal-body {
        padding: 20px;
    }

    .feature-modal-close {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
    }


}
