/* --- عمومی و ریست --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Vazirmatn', sans-serif;
    line-height: 1.6;
    background-color: #f4f7f6;
    color: #333;
    direction: rtl;
    text-align: right;
}

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

/* --- هدر و نویگیشن --- */
header {
    background-color: #ffffff;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-right: 25px;
}

nav ul li a {
    text-decoration: none;
    color: #555;
    font-weight: 700;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #1abc9c;
}

/* --- بخش Hero --- */
.hero {
    background: linear-gradient(to top, rgba(44, 62, 80, 0.8), rgba(26, 188, 156, 0.9)), url('https://via.placeholder.com/1920x1080.png/2c3e50/ffffff?text=Background') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 120px 0;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.cta-button {
    background-color: #1abc9c;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    transition: background-color 0.3s ease;
    display: inline-block;
}

.cta-button:hover {
    background-color: #16a085;
}

/* --- بخش نمایش ویجت --- */
.widget-showcase {
    padding: 80px 0;
    text-align: center;
}

.widget-showcase h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #2c3e50;
}

.widget-showcase p {
    max-width: 600px;
    margin: 0 auto 40px auto;
    color: #555;
}

.widget-container {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

/* این بخش برای نمایش جای خالی ویجت است، شما کد ویجت خود را جایگزین آن می‌کنید */
.widget-placeholder {
    border: 2px dashed #e0e0e0;
    border-radius: 8px;
    padding: 50px;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 1.2rem;
    font-weight: 700;
}

/* --- بخش ویژگی‌ها --- */
.features {
    padding: 80px 0;
    background-color: #ffffff;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #2c3e50;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 20px;
}

.feature-item h3 {
    font-size: 1.5rem;
    color: #1abc9c;
    margin-bottom: 10px;
}

/* --- فوتر --- */
footer {
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

/* --- واکنش‌گرایی برای موبایل --- */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    nav ul {
        display: none;
        /* در حالت ساده، منو را در موبایل مخفی می‌کنیم */
    }

    .logo {
        width: 100%;
        text-align: center;
    }
}