@font-face {
    font-family: 'Titer';
    src: url('/assets/fonts/paeez.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

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

body {
    font-family: 'Vazirmatn', sans-serif;
    background: linear-gradient(135deg, #f8faff 0%, #f2f5fc 100%);
    color: #1e293b;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #e2e8f0;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    background: #3b82f6;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #2563eb;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}
.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.5px;
}
.logo span {
    font-size: 1.2rem;
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
    color: #3b82f6;
}
.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}
.nav-links a {
    text-decoration: none;
    font-weight: 500;
    color: #334155;
    transition: 0.2s;
    font-size: 1rem;
}
.nav-links a:hover {
    color: #3b82f6;
    transform: translateY(-2px);
}
.mobile-menu-btn {
    display: none;
    font-size: 1.6rem;
    background: none;
    border: none;
    color: #1e293b;
    cursor: pointer;
}

footer {
    background: #ffffffd9;
    backdrop-filter: blur(4px);
    padding: 2rem 0;
    border-top: 1px solid #eef2ff;
    margin-top: 2rem;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}
.footer-copy {
    color: #4b5563;
}
.social i {
    font-size: 1.4rem;
    margin-right: 1rem;
    color: #4b5563;
    transition: 0.2s;
}
.social i:hover {
    color: #3b82f6;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background: white;
        position: absolute;
        top: 70px;
        right: 0;
        left: 0;
        padding: 1.5rem;
        gap: 1.2rem;
        box-shadow: 0 20px 30px rgba(0,0,0,0.05);
        border-radius: 0 0 28px 28px;
        backdrop-filter: blur(12px);
        background: rgba(255,255,255,0.97);
    }
    .nav-links.active {
        display: flex;
    }
    .mobile-menu-btn {
        display: block;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .container {
        padding: 0 1.2rem;
    }
    .section-header h2 {
        font-size: 1.7rem;
    }
}
