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

body {
    font-family: 'Segoe UI', 'Tahoma', 'Vazirmatn', system-ui, sans-serif;
    background: #0a0a0f;
    min-height: 100vh;
    color: #eef2ff;
    overflow-x: hidden;
}

/* ========== افکت موس ========== */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(102,126,234,0.15) 0%, rgba(102,126,234,0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: 0.05s;
}

/* ========== سایدبار ========== */
.sidebar {
    position: fixed;
    right: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    background: rgba(10, 10, 20, 0.98);
    backdrop-filter: blur(12px);
    border-left: 1px solid rgba(102,126,234,0.3);
    transform: translateX(100%);
    transition: 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
}

.sidebar.open {
    transform: translateX(0);
}

.sidebar-header {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid rgba(102,126,234,0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.sidebar-close {
    background: none;
    border: none;
    color: #a0aec0;
    font-size: 1.3rem;
    cursor: pointer;
}

.sidebar-menu {
    flex: 1;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1.2rem;
    color: #a0aec0;
    text-decoration: none;
    border-radius: 12px;
    transition: 0.3s;
}

.sidebar-link i {
    width: 24px;
    font-size: 1.2rem;
}

.sidebar-link:hover, .sidebar-link.active {
    background: linear-gradient(135deg, #667eea20, #764ba220);
    color: white;
    border-right: 2px solid #667eea;
}

.sidebar-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(102,126,234,0.2);
}

.sidebar-social {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
}

.sidebar-social a {
    color: #a0aec0;
    font-size: 1.2rem;
    transition: 0.3s;
}

.sidebar-social a:hover {
    color: #667eea;
}

/* ========== محتوای اصلی ========== */
.main-content {
    margin-right: 0;
    transition: 0.3s;
    min-height: 100vh;
}

.top-bar {
    position: sticky;
    top: 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(12px);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    border-bottom: 1px solid rgba(102,126,234,0.2);
}

.menu-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.top-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #22c55e;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* بخش پروفایل */
.profile-section {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(102,126,234,0.05), rgba(118,75,162,0.05));
    margin-bottom: 2rem;
}

.profile-badge {
    position: relative;
    display: inline-block;
}

.profile-ring {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    padding: 3px;
}

.profile-ring img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: #0a0a0f;
}

.profile-badge-icon {
    position: absolute;
    bottom: 5px;
    right: -5px;
    background: #0a0a0f;
    border-radius: 50%;
    padding: 5px;
    color: #667eea;
}

.neon-title {
    font-size: 2.2rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 20px rgba(102,126,234,0.3);
}

.typewriter {
    font-size: 1rem;
    color: #a0aec0;
    margin: 0.8rem 0;
}

.quick-stats {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.stat {
    background: rgba(30, 30, 45, 0.8);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    color: #a0aec0;
}

.stat i {
    color: #667eea;
    margin-left: 0.3rem;
}

/* صفحه header */
.page-header {
    text-align: center;
    padding: 2rem;
    margin-bottom: 1rem;
}

.page-subtitle {
    color: #a0aec0;
    margin-top: 0.5rem;
}

/* گرید کارت‌ها */
.cards-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.card {
    background: rgba(20, 20, 30, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 1.5rem;
    border: 1px solid rgba(102,126,234,0.15);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(102,126,234,0.4);
    box-shadow: 0 10px 30px rgba(102,126,234,0.1);
}

.card-icon {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: white;
}

.card p {
    color: #cbd5e1;
    line-height: 1.7;
    font-size: 0.9rem;
}

/* مهارت‌ها */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.skill-tag {
    background: linear-gradient(135deg, #667eea20, #764ba220);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    color: #cbd5e1;
    border: 1px solid rgba(102,126,234,0.3);
}

/* لیست */
.list {
    list-style: none;
    margin: 1rem 0;
}

.list li {
    margin: 0.6rem 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: #cbd5e1;
}

.list li i {
    color: #667eea;
    width: 20px;
}

/* شبکه اجتماعی */
.social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.social-btn {
    background: rgba(30, 30, 45, 0.8);
    padding: 0.5rem;
    text-align: center;
    border-radius: 12px;
    color: #a0aec0;
    text-decoration: none;
    font-size: 0.8rem;
    transition: 0.3s;
}

.social-btn:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.email-box {
    text-align: center;
    padding: 0.8rem;
    background: rgba(30, 30, 45, 0.5);
    border-radius: 12px;
    margin-bottom: 1rem;
    color: #667eea;
    font-size: 0.8rem;
}

.call-btn-main {
    display: block;
    text-align: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    padding: 0.8rem;
    border-radius: 12px;
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.call-btn-main:hover {
    transform: scale(1.02);
}

/* فوتر */
.footer {
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(102,126,234,0.2);
    color: #64748b;
    font-size: 0.8rem;
    line-height: 1.8;
}

/* ========== موبایل ========== */
@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .neon-title {
        font-size: 1.6rem;
    }
    
    .profile-section {
        padding: 2rem 1rem;
    }
    
    .quick-stats {
        gap: 0.8rem;
    }
    
    .stat {
        font-size: 0.7rem;
    }
    
    .top-bar {
        padding: 0.8rem 1rem;
    }
}