/* ═══════════════════════════════════════════
   مطمئن | استایل پایه (index.css)
   پالت: آبی | فونت: وزیرمتن
   ═══════════════════════════════════════════ */

/* ─── متغیرهای طراحی ─── */
@charset "UTF-8";

:root {
    /* پالت آبی */
    --primary:        #1565d8;
    --primary-dark:   #0d4fb3;
    --primary-darker: #0a3d8f;
    --primary-light:  #e8f1fd;
    --primary-soft:   #d0e2fa;

    /* رنگ‌های خنثی */
    --dark:       #1a2b4a;
    --text:       #37455e;
    --text-light: #6b7a95;
    --border:     #e3e9f2;
    --bg:         #ffffff;
    --bg-soft:    #f5f8fc;

    /* وضعیت */
    --success: #16a06a;
    --warning: #f2a600;

    /* تایپوگرافی */
    --font-main: 'Vazirmatn', 'Tahoma', sans-serif;

    /* اندازه‌ها */
    --container: 1200px;
    --radius:    12px;
    --radius-lg: 18px;

    /* سایه */
    --shadow-sm: 0 2px 8px  rgba(21, 101, 216, 0.07);
    --shadow-md: 0 6px 20px rgba(21, 101, 216, 0.10);
    --shadow-lg: 0 12px 36px rgba(26, 43, 74, 0.14);

    /* انیمیشن */
    --transition: 0.25s ease;
}

/* ─── ریست ─── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
    background: var(--bg);
    direction: rtl;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

img,
svg {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

ul,
ol {
    list-style: none;
}

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
}

/* ─── تایپوگرافی ─── */
h1, h2, h3, h4 {
    color: var(--dark);
    line-height: 1.5;
    font-weight: 800;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.2rem; }

/* اعداد فارسی */
.fa-num {
    font-feature-settings: "ss01";
}

/* ─── کانتینر ─── */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 20px;
}

.main-content {
    flex: 1;
}

/* ─── دکمه‌ها (سراسری) ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary-soft);
}

.btn-ghost:hover {
    background: var(--primary-light);
    border-color: var(--primary);
}

/* ─── سرتیتر سکشن‌ها (سراسری) ─── */
.section {
    padding-block: 64px;
}

.section-header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 40px;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 12px;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 48px;
    height: 4px;
    border-radius: 4px;
    background: var(--primary);
    margin: 10px auto 0;
}

.section-header p {
    color: var(--text-light);
    font-size: 0.98rem;
}

/* ─── محتوای موقت ─── */
.temp-placeholder {
    padding-block: 100px;
    text-align: center;
    background: var(--bg-soft);
}

.temp-placeholder p {
    color: var(--text-light);
    margin-top: 10px;
}

/* ─── ریسپانسیو پایه ─── */
@media (max-width: 768px) {
    body { font-size: 15px; }
    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.35rem; }
    .section { padding-block: 48px; }
}
