* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Vazir', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: var(--text);
    direction: rtl;
    padding: 20px;
}

/* Top Navigation Bar */
.top-nav {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    background: linear-gradient(to left, var(--secondary), var(--primary));
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 12px var(--shadow);
    height: 60px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 10px;
}

.nav-logo img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    border-radius: 6px;
}

.nav-logo span {
    font-size: 18px;
    font-weight: 600;
    background: var(--text);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

/* FIXED: Add missing .nav-btn styles */
.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--secondary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 1px 1px 1px var(--shadow);
}
.nav-btn i {
    line-height: 1;
    position: relative;
    top: 3px;
}



.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px var(--text);
}

.container {
    display: flex;
    margin-top: 80px;
    min-height: 100vh;
}

/* Sidebar Styles */
.sidebar {
    width: 260px;
    background: var(--accent);
    backdrop-filter: blur(10px);
    border-left: 1px solid var(--border);
    padding: 20px 0;
    z-index: 100;
    position: fixed;
    right: 0;
    top: 60px;
    height: calc(100vh - 60px);
    overflow-y: auto;
}

.sidebar-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-content h3 {
    color: var(--text);
    margin-bottom: 20px;
    text-align: center;
    font-size: 20px;
    border-bottom: 2px solid var(--text);
    padding-bottom: 10px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(76, 201, 240, 0.3);
}

.sidebar-link:hover {
    background: var(--primary);
    transform: translateX(-10px);
}

.sidebar-link i {
    width: 20px;
    text-align: center;
}

.main-content {
    flex: 1;
    margin-right: 260px;
    padding: 0 20px;
}

/* Header Styles */
.header {
    text-align: center;
    padding: 40px 0 20px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.logo img {
    width: 300px;
    height: 300px;
}

.logo h1 {
    font-size: 36px;
    font-weight: 700;
    background: var(--text);
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.tagline:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, var(--accent), var(--shadow));
    border-radius: 3px;
}

/* Accordion Styles */
#tabs {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
}

.accordion {
    background: var(--card);
    backdrop-filter: blur(10px);
    color: var(--text);
    cursor: pointer;
    padding: 20px;
    width: 100%;
    max-width: 800px;
    border: 1px solid var(--shadow);
    text-align: right;
    outline: none;
    font-size: 18px;
    transition: all 0.3s ease;
    border-radius: 12px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 10px 20px var(--shadow);
}

.accordion:hover {
    background: rgba(76, 201, 240, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px var(--shadow);
}

.accordion i {
    transition: transform 0.3s ease;
}

.accordion.active i {
    transform: rotate(180deg);
}

.panel {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 800px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    border-radius: 0 0 12px 12px;
    color: var(--text-gray);
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: none;
}

.panel-content {
    padding: 20px;
}

ul {
    padding-right: 20px;
}

li {
    margin-bottom: 10px;
    position: relative;
}

li:before {
    content: '•';
    color: var(--primary);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-right: -1em;
}

/* Footer */
.footer {
    margin-top: 60px;
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Floating Elements */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.floating-element {
    position: absolute;
    background: rgba(76, 201, 240, 0.1);
    border-radius: 50%;
    animation: float 15s infinite linear;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
    100% { transform: translateY(0) rotate(360deg); }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(100%);
        width: 280px;
        transition: transform 0.3s ease;
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .main-content {
        margin-right: 0;
        width: 100%;
    }
    
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        color: white;
        font-size: 24px;
        cursor: pointer;
        padding: 10px;
        z-index: 1001;
    }
    
    .sidebar-overlay {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 99;
        display: none;
    }
    
    .sidebar-overlay.active {
        display: block;
    }
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
}

