@font-face {
    font-family: 'IRANSans';
    src: url('IRANSansWeb.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary: #20C997;
    --primary-glow: rgba(32, 201, 151, 0.45);
    --secondary: #0f172a;
    --accent2: #38bdf8;
    --text: #1e293b;
    --text-muted: #64748b;
    --radius: 16px;
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'IRANSans', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text);
    background: #f8fafc;
    line-height: 1.75;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.78) 100%);
    border-bottom: 1px solid rgba(32, 201, 151, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    padding-bottom: 14px;
    gap: 16px;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.35rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary) 0%, #5eead4 50%, var(--accent2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 8px 22px;
    flex-wrap: wrap;
    align-items: center;
}

nav a {
    color: #cbd5e1;
    font-weight: 600;
    font-size: 0.92rem;
    transition: color 0.25s;
}

nav a:hover {
    color: #fff;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #0d9488 45%, #14b8a6 100%);
    color: #fff;
    box-shadow: 0 8px 28px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
    border-color: var(--primary);
}

.page-hero {
    background: linear-gradient(165deg, #020617 0%, #0f172a 50%, #1e293b 100%);
    color: #fff;
    padding: 48px 0 56px;
    border-bottom: 1px solid rgba(32, 201, 151, 0.2);
}

.page-hero h1 {
    font-size: clamp(1.65rem, 3.5vw, 2.35rem);
    font-weight: 900;
    line-height: 1.35;
    margin-bottom: 14px;
}

.page-hero .lead {
    color: #94a3b8;
    font-size: 1.05rem;
    max-width: 720px;
}

.breadcrumb {
    font-size: 0.88rem;
    color: #94a3b8;
    margin-bottom: 18px;
}

.breadcrumb a {
    color: #99f6e4;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.article-list-section {
    padding: 56px 0 72px;
}

.section-label {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
    letter-spacing: 0.02em;
}

.section-title {
    font-size: clamp(1.45rem, 2.8vw, 1.95rem);
    font-weight: 900;
    color: var(--secondary);
    margin-bottom: 28px;
}

.article-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.article-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius);
    padding: 26px;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
    transition: box-shadow 0.25s, border-color 0.25s;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    border-color: rgba(32, 201, 151, 0.45);
    box-shadow: 0 16px 48px rgba(32, 201, 151, 0.12);
}

.article-card h2 {
    font-size: 1.12rem;
    margin-bottom: 10px;
    color: var(--secondary);
}

.article-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    flex: 1;
    margin-bottom: 16px;
}

.article-card .read-more {
    font-weight: 800;
    color: #0d9488;
    font-size: 0.9rem;
}

.article-body-wrap {
    padding: 40px 0 72px;
}

.article-prose {
    max-width: 760px;
    margin: 0 auto;
    background: #fff;
    padding: 36px 32px 44px;
    border-radius: var(--radius);
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.05);
}

.article-prose h2 {
    font-size: 1.25rem;
    margin: 28px 0 12px;
    color: var(--secondary);
}

.article-prose h2:first-of-type {
    margin-top: 0;
}

.article-prose p {
    margin-bottom: 14px;
    color: var(--text);
}

.article-prose ul {
    margin: 12px 0 16px 1.25rem;
    color: var(--text);
}

.article-prose li {
    margin-bottom: 8px;
}

.article-prose strong {
    color: var(--secondary);
}

.article-meta {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.cta-inline {
    margin-top: 28px;
    padding: 20px 22px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(32, 201, 151, 0.12) 0%, rgba(56, 189, 248, 0.08) 100%);
    border: 1px solid rgba(32, 201, 151, 0.25);
}

.cta-inline p {
    margin-bottom: 12px;
    font-weight: 700;
    color: var(--secondary);
}

footer {
    background: #020617;
    color: #94a3b8;
    padding: 48px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.footer-logo {
    font-size: 1.35rem;
    font-weight: 900;
    background: linear-gradient(135deg, #fff, var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 12px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #94a3b8;
    transition: color 0.25s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 22px;
    text-align: center;
    font-size: 0.88rem;
}

@media (max-width: 768px) {
    header .container {
        justify-content: center;
    }

    nav ul {
        justify-content: center;
    }

    .article-prose {
        padding: 24px 18px 32px;
    }
}
