/* Reset و تنظیمات پایه */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c5aa0;
    --secondary-color: #8b5cf6;
    --accent-color: #f59e0b;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --background: #ffffff;
    --background-light: #f8fafc;
    --background-dark: #1e293b;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Vazirmatn', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.8;
    color: var(--text-dark);
    background: var(--background-light);
    direction: rtl;
    text-align: right;
}

/* هدر و نویگیشن */
.header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo h1 {
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* بخش اصلی */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* بخش قهرمان */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 6rem 0;
    text-align: center;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    margin-bottom: 4rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    font-weight: 300;
}

/* بخش‌های محتوا */
.content-section {
    padding: 4rem 0;
    border-bottom: 1px solid var(--border-color);
}

.dark-section {
    background: var(--background-dark);
    color: white;
    margin: 0 -2rem;
    padding: 4rem 2rem;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    color: inherit;
}

/* فوتر */
.footer {
    background: var(--text-dark);
    color: white;
    text-align: center;
    padding: 3rem 2rem;
    margin-top: 4rem;
}

.footer-content p {
    margin-bottom: 1rem;
}

.copyright {
    opacity: 0.7;
    font-size: 0.9rem;
}