:root {
color-scheme: light;
font-family: "Vazirmatn", "IRANSans", "Tahoma", sans-serif;
--bg-light: #f7f8ff;
--bg-section: #ffffff;
--accent: #5b6bff;
--accent-soft: rgba(91, 107, 255, 0.1);
--text-dark: #14213d;
--text-muted: #55607a;
--border-radius: 18px;
}

* {
box-sizing: border-box;
}

body {
margin: 0;
padding: 0;
background: radial-gradient(circle at top, #edf2ff, var(--bg-light));
color: var(--text-dark);
font-size: 16px;
line-height: 1.6;
}

.wrapper {
max-width: 1100px;
margin: 0 auto;
padding: 60px 24px 96px;
}

header {
text-align: center;
margin-bottom: 48px;
}

header h1 {
font-size: clamp(2.25rem, 4vw, 3.25rem);
margin: 0;
color: var(--accent);
}

header p {
margin: 12px auto 0;
max-width: 680px;
color: var(--text-muted);
font-size: 1.05rem;
}

.hero {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
gap: 24px;
margin-bottom: 56px;
}

.hero-card {
background: var(--bg-section);
border-radius: var(--border-radius);
padding: 28px;
box-shadow: 0 24px 48px rgba(20, 33, 61, 0.08);
border: 1px solid rgba(20, 33, 61, 0.06);
}

.hero-card h2 {
margin-top: 0;
font-size: 1.6rem;
}

.section {
background: var(--bg-section);
border-radius: 26px;
padding: 36px;
margin-bottom: 32px;
border: 1px solid rgba(20, 33, 61, 0.08);
box-shadow: 0 30px 60px rgba(20, 33, 61, 0.06);
position: relative;
overflow: hidden;
}

/* .section::before,
.section::after {
content: "";
position: absolute;
border-radius: 50%;
z-index: 0;
} */

.section::before {
inset-inline-start: -40px;
inset-block-start: -40px;
width: 160px;
height: 160px;
background: var(--accent-soft);
}

.section::after {
inset-inline-end: -60px;
inset-block-end: -60px;
width: 220px;
height: 220px;
background: rgba(42, 182, 152, 0.08);
}

.section .content {
position: relative;
z-index: 1;
display: grid;
gap: 26px;
align-items: center;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.section figure {
margin: 0;
padding: 16px;
border-radius: 22px;
background: #f8f9ff;
border: 1px solid rgba(20, 33, 61, 0.08);
box-shadow: inset 0 0 0 1px rgba(91, 107, 255, 0.06);
}

.section figure img {
display: block;
width: 100%;
border-radius: 16px;
}

.section figure figcaption {
margin-top: 12px;
font-size: 0.9rem;
color: var(--text-muted);
text-align: center;
}

.section h3 {
margin-top: 0;
font-size: 1.5rem;
position: relative;
z-index: 1;
}

.section h4 {
margin: 8px 0 12px;
font-size: 1.15rem;
color: var(--accent);
}

.section .tagline {
font-size: 0.95rem;
color: var(--accent);
background: var(--accent-soft);
padding: 6px 14px;
border-radius: 999px;
display: inline-block;
margin-bottom: 18px;
}

.section .notes {
font-size: 0.92rem;
color: var(--text-muted);
background: rgba(91, 107, 255, 0.08);
padding: 14px 18px;
border-radius: 14px;
border-inline-start: 4px solid var(--accent);
}

.section p,
.section ul {
position: relative;
z-index: 1;
margin: 0;
color: var(--text-muted);
}

.section ul {
padding-inline-start: 18px;
margin-block: 12px 0;
}

.section ul li {
margin-bottom: 8px;
}

footer {
text-align: center;
color: var(--text-muted);
font-size: 0.9rem;
margin-top: 64px;
}

@media (max-width: 640px) {
    .wrapper {
        padding: 36px 18px 72px;
    }

    .section {
        padding: 28px 22px;
        border-radius: 22px;
    }
}