@font-face {
    font-family: "Vazirmatn";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../webFonts/Vazirmatn-Regular.woff2") format("woff2");
}

@font-face {
    font-family: "Vazirmatn";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../webFonts/Vazirmatn-Medium.woff2") format("woff2");
}

@font-face {
    font-family: "Vazirmatn";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../webFonts/Vazirmatn-SemiBold.woff2") format("woff2");
}

@font-face {
    font-family: "Vazirmatn";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../webFonts/Vazirmatn-Bold.woff2") format("woff2");
}

@font-face {
    font-family: "Vazirmatn";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("../webFonts/Vazirmatn-ExtraBold.woff2") format("woff2");
}

@font-face {
    font-family: "Vazirmatn";
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url("../webFonts/Vazirmatn-Black.woff2") format("woff2");
}

:root {
    --primary: #0f766e;
    --primary-light: #14b8a6;
    --dark: #0f172a;
    --text: #334155;
    --muted: #64748b;
    --line: rgba(148, 163, 184, .25);
    --card: rgba(255, 255, 255, .84);
    --shadow: 0 24px 70px rgba(15, 23, 42, .10);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    font-family: Vazirmatn, Tahoma, Arial, sans-serif;
    background:
        radial-gradient(circle at top right, rgba(20, 184, 166, .18), transparent 32%),
        radial-gradient(circle at 10% 30%, rgba(124, 58, 237, .12), transparent 27%),
        #f6f8fc;
}

a {
    color: inherit;
    text-decoration: none;
}

i {
    line-height: 1;
}

.container {
    width: min(1140px, calc(100% - 32px));
    margin: 0 auto;
}

.nav {
    position: sticky;
    top: 14px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 14px;
    padding: 11px 15px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 12px 32px rgba(15, 23, 42, .07);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark);
    font-size: 17px;
    font-weight: 950;
}

.brand-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: #fff;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    box-shadow: 0 12px 25px rgba(15, 118, 110, .24);
}

.brand-icon i {
    font-size: 20px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 850;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 13px;
    border-radius: 999px;
    transition: .2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    background: rgba(20, 184, 166, .10);
}

.page-header {
    position: relative;
    overflow: hidden;
    margin: 32px 0 25px;
    padding: 38px;
    color: #fff;
    border-radius: 38px;
    background: linear-gradient(135deg, #0f172a, #0f766e);
    box-shadow: var(--shadow);
}

.page-header::after {
    position: absolute;
    top: -140px;
    left: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    content: "";
    background: rgba(255, 255, 255, .11);
}

.page-header > * {
    position: relative;
    z-index: 1;
}

.eyebrow {
    color: #99f6e4;
    font-size: 13px;
    font-weight: 950;
}

h1 {
    margin: 9px 0;
    font-size: clamp(30px, 5vw, 50px);
    letter-spacing: -1px;
}

.page-header p {
    max-width: 700px;
    margin: 0;
    color: rgba(255, 255, 255, .82);
    font-weight: 600;
    line-height: 2;
}

.card {
    padding: 25px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: var(--card);
    box-shadow: 0 16px 45px rgba(15, 23, 42, .06);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.footer {
    margin-top: 30px;
    padding: 30px 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 20px, 1140px);
    }

    .nav {
        align-items: flex-start;
        border-radius: 24px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 2px;
        font-size: 11px;
    }

    .nav-links a {
        padding: 8px;
    }

    .page-header {
        padding: 25px;
        border-radius: 30px;
    }
}