@font-face {
    font-family: 'Iransans';
    src: url('../font/Iransans.ttf') format('truetype'), url('../font/Iransans.woff') format('woff');
}

* {
    font-family: 'Vazirmatn', 'Iransans';
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-primary-rgb: 15, 118, 200;
    --color-primary: #4fb0ff;
    --color-primary-dark: #0a4a8a;
    --color-bg: #000000;
    --color-surface: #0a0a0a;
    --color-primary-r: 56;
    --color-primary-g: 189;
    --color-primary-b: 248;
}

html,
body {
    height: 100%;
    margin: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background: var(--color-bg);
    color: #f0f0f0;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-surface);
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary-dark);
}

.hero-section {
    min-height: 320px;
    position: relative;
    overflow: hidden;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeUp 0.6s ease forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) translateX(0);
        opacity: 0.4;
    }

    50% {
        transform: translateY(-80px) translateX(20px);
        opacity: 0.1;
    }
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 50%;
    opacity: 0.4;
    animation: float 6s infinite ease-in-out;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: scale(1.05);
}

.glow-card {
    box-shadow: 0 0px 0px rgba(var(--color-primary-rgb), 0);
    transition: box-shadow 0.4s ease;
}

.card-border {
    border: 1px solid rgba(var(--color-primary-rgb), 0.1);
    transition: border-color 0.3s ease;
}

.card-border:hover {
    border-color: rgba(var(--color-primary-rgb), 0.25);
}

/* ========| Policy Article |======== */
.policy-toc a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.9rem;
    border-radius: 0.75rem;
    color: #9ca3af;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.policy-toc a:hover {
    color: #fff;
    background: rgba(var(--color-primary-rgb), 0.08);
    border-color: rgba(var(--color-primary-rgb), 0.2);
}

.policy-part {
    scroll-margin-top: 6.5rem;
}

.policy-part h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.policy-part h2 .policy-part-num {
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: #fff;
    font-size: 0.95rem;
}

.policy-clause {
    padding: 1.35rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.policy-clause:first-of-type {
    border-top: none;
    padding-top: 0;
}

.policy-clause h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.6rem;
}

.policy-clause p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 2.1;
}

.policy-clause ul {
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.policy-clause li {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.9;
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
}

.policy-clause li::before {
    content: '';
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    margin-top: 0.55rem;
    border-radius: 50%;
    background: var(--color-primary);
}
