@font-face {
    font-family: 'Peyda';
    src: url('/fonts/peyda/PeydaFaNumWeb-Regular.woff2') format('woff2'),
         url('/fonts/peyda/PeydaFaNumWeb-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --brand-primary: #3f1085;
    --brand-secondary: #ff1493;
    --brand-surface: #f4f0fa;

    --bg-base: #fcfcfd;
    --bg-surface: #ffffff;

    --text-main: #111827;
    --text-muted: #6b7280;
    --text-light: #9ca3af;

    --border-light: rgba(0, 0, 0, 0.06);
    --border-strong: rgba(0, 0, 0, 0.1);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 24px 48px rgba(63, 16, 133, 0.08);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 999px;

    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);

    --danger-color: #ef4444;
    --success-color: #10b981;
}

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

body {
    font-family: 'Peyda', 'Vazirmatn', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Tahoma, Arial, sans-serif;
    background-color: var(--bg-base);
    color: var(--text-main);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    font-family: inherit;
    outline: none;
}

.btn-primary {
    background-color: var(--brand-primary);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(63, 16, 133, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(63, 16, 133, 0.35);
}

.btn-outline {
    background-color: transparent;
    border: 1.5px solid var(--border-strong);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

/* --- Page Header (shared across sub-pages) --- */
.page-header {
    padding: 160px 0 60px;
    text-align: center;
    background: radial-gradient(circle at top, rgba(63, 16, 133, 0.03) 0%, rgba(255, 255, 255, 0) 70%);
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-main);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.page-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Section Header --- */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* --- Responsive Shared --- */
@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }

    .page-header {
        padding: 120px 0 40px;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}
