        @font-face {
            font-family: 'Yekan';
            src: url('fonts/iranyekanwebblackfanum.woff2') format('woff2');
            font-display: swap;
        }

        @font-face {
            font-family: 'IranSans';
            src: url('fonts/IRANSansWeb(FaNum).woff2') format('woff2');
            font-display: swap;
        }

        * {
            box-sizing: border-box;
        }
        :root {
            --glass-bg: rgba(255, 255, 255, 0.08);
            --glass-border: rgba(255, 255, 255, 0.12);
            --text-main: #f3f4f6;
            --text-muted: rgba(243, 244, 246, 0.65);
        }

        body {
            margin: 0;
            background: radial-gradient(circle at top right, #1e293b, #0f172a);
            color: var(--text-main);
             font-family: 'IranSans' ;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            box-sizing: border-box;
        }

        .legal-wrap {
            width: 100%;
            max-width: 900px;
            animation: fadeIn 0.8s ease-out;
        }

        .legal-card {
            background: var(--glass-bg);
            border: 1px solid var(--glass-border);
            border-radius: 28px;
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            padding: 40px;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
        }

        h1 {
            font-size: 1.85rem;
            margin-top: 0;
            margin-bottom: 10px;
            background: linear-gradient(to left, #fff, #94a3b8);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .legal-meta {
            font-size: 0.85rem;
            color: var(--text-muted);
            margin-bottom: 30px;
            padding-bottom: 15px;
            border-bottom: 1px solid var(--glass-border);
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .legal-content {
            line-height: 2.1;
            font-size: 1.05rem;
            color: #d1d5db;
            text-align: justify;
        }

        .legal-content img {
            max-width: 100%;
            height: auto;
            border-radius: 16px;
            margin: 20px 0;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        @media (max-width: 640px) {
            .legal-card { padding: 25px; border-radius: 20px; }
            h1 { font-size: 1.5rem; }
        }
        .legal-actions{
    display:flex;
    justify-content:flex-start;
    margin-bottom: 18px;
}

.btn-home{
    display:inline-flex;
    align-items:center;
    gap:10px;

    padding: 10px 14px;
    border-radius: 14px;

    text-decoration:none;
    color: rgba(255,255,255,.92);
    font-weight: 700;
    font-size: .95rem;

    background: linear-gradient(135deg,
        rgba(56,189,248,.20),
        rgba(99,102,241,.18),
        rgba(168,85,247,.16)
    );
    border: 1px solid rgba(255,255,255,.14);
    box-shadow:
        0 12px 30px rgba(0,0,0,.35),
        inset 0 1px 0 rgba(255,255,255,.08);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
    user-select:none;
}

.btn-home .btn-ico{
    width: 34px;
    height: 34px;
    display:inline-flex;
    align-items:center;
    justify-content:center;

    border-radius: 12px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);

    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
    transition: transform .18s ease;
}

/* Hover */
.btn-home:hover{
    transform: translateY(-2px);
    border-color: rgba(255,255,255,.22);
    box-shadow:
        0 18px 45px rgba(0,0,0,.45),
        inset 0 1px 0 rgba(255,255,255,.10);
}

.btn-home:hover .btn-ico{
    transform: translateX(-2px);
}

/* Active */
.btn-home:active{
    transform: translateY(0);
    box-shadow:
        0 10px 22px rgba(0,0,0,.35),
        inset 0 1px 0 rgba(255,255,255,.08);
}

/* Focus (Accessibility) */
.btn-home:focus-visible{
    outline: none;
    box-shadow:
        0 0 0 4px rgba(56,189,248,.18),
        0 18px 45px rgba(0,0,0,.45);
}

/* Mobile */
@media (max-width: 640px){
    .legal-actions{ justify-content: center; }
    .btn-home{ width: 100%; justify-content: center; }
}

    </style>
