

        @import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');

        :root {
            --bg: #070A0F;
            --bg-2: #0B1017;
            --bg-3: #111823;
            --card: rgba(16, 23, 34, .72);
            --card-strong: rgba(18, 27, 40, .92);
            --card-soft: rgba(255, 255, 255, .045);
            --line: rgba(255, 255, 255, .095);
            --line-2: rgba(217, 188, 126, .22);
            --text: #F3F0E8;
            --text-2: #D8D2C4;
            --muted: #948F86;
            --muted-2: #6E7784;
            --gold: #C9A86A;
            --gold-2: #E1C384;
            --blue: #7B9AB7;
            --cyan: #86B9B2;
            --green: #92B68E;
            --danger: #D7837A;
            --shadow: 0 34px 100px rgba(0, 0, 0, .52);
            --shadow-soft: 0 18px 60px rgba(0, 0, 0, .32);
            --radius-xl: 34px;
            --radius-lg: 26px;
            --radius-md: 18px;
            --radius-sm: 14px;
            --container: min(1190px, calc(100% - 44px));
        }

        * {
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            margin: 0;
            font-family: 'Vazirmatn', 'YekanBakh', 'IRANSans', Tahoma, Arial, sans-serif;
            background:
                radial-gradient(circle at 10% -10%, rgba(201, 168, 106, .16), transparent 32rem),
                radial-gradient(circle at 92% 14%, rgba(123, 154, 183, .13), transparent 34rem),
                linear-gradient(135deg, #05070B 0%, #090D13 42%, #0D121A 100%);
            color: var(--text);
            line-height: 1.9;
            overflow-x: hidden;
        }

        body::before {
            content: '';
            position: fixed;
            inset: 0;
            pointer-events: none;
            z-index: -3;
            background-image:
                linear-gradient(rgba(255, 255, 255, .027) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 255, 255, .027) 1px, transparent 1px);
            background-size: 76px 76px;
            mask-image: radial-gradient(circle at center, black, transparent 74%);
        }

        body::after {
            content: '';
            position: fixed;
            inset: 0;
            z-index: -2;
            pointer-events: none;
            opacity: .38;
            background:
                linear-gradient(120deg, transparent 0 46%, rgba(201, 168, 106, .08) 47%, transparent 48% 100%),
                linear-gradient(70deg, transparent 0 58%, rgba(123, 154, 183, .055) 59%, transparent 60% 100%);
        }

        a {
            color: inherit;
            text-decoration: none;
        }

        img {
            max-width: 100%;
            display: block;
        }

        ::selection {
            background: rgba(201, 168, 106, .32);
            color: #fff;
        }

        .preloader {
            position: fixed;
            inset: 0;
            z-index: 9999;
            display: grid;
            place-items: center;
            background:
                radial-gradient(circle at 50% 0%, rgba(201, 168, 106, .16), transparent 30rem),
                #05070B;
            transition: opacity .72s ease, visibility .72s ease;
        }

        .preloader.is-hidden {
            opacity: 0;
            visibility: hidden;
        }

        .preloader-card {
            width: min(520px, calc(100% - 34px));
            padding: 28px;
            border: 1px solid rgba(255, 255, 255, .10);
            border-radius: 28px;
            background: linear-gradient(180deg, rgba(18, 25, 36, .92), rgba(8, 11, 17, .94));
            box-shadow: var(--shadow);
            position: relative;
            overflow: hidden;
        }

        .preloader-card::before {
            content: '';
            position: absolute;
            inset: -2px;
            background: linear-gradient(105deg, transparent, rgba(201, 168, 106, .2), transparent);
            transform: translateX(100%);
            animation: preShine 2.1s linear infinite;
        }

        @keyframes preShine {
            to {
                transform: translateX(-100%);
            }
        }

        .preloader-content {
            position: relative;
            z-index: 1;
        }

        .loader-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 18px;
            margin-bottom: 22px;
            direction: ltr;
        }

        .loader-mark {
            width: 66px;
            height: 66px;
            border-radius: 22px;
            display: grid;
            place-items: center;
            color: var(--gold-2);
            background: rgba(201, 168, 106, .10);
            border: 1px solid rgba(201, 168, 106, .22);
            font: 800 22px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
            box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .045);
            animation: loaderPulse 1.25s ease-in-out infinite alternate;
        }

        @keyframes loaderPulse {
            from {
                transform: scale(.96);
                opacity: .72;
            }

            to {
                transform: scale(1);
                opacity: 1;
            }
        }

        .loader-title {
            text-align: right;
            flex: 1;
        }

        .loader-title strong {
            display: block;
            font-size: 1.1rem;
            color: var(--text);
        }

        .loader-title span {
            display: block;
            color: var(--muted);
            font-size: .86rem;
            margin-top: 2px;
            direction: ltr;
        }

        .loader-line {
            height: 9px;
            border-radius: 20px;
            overflow: hidden;
            background: rgba(255, 255, 255, .075);
            border: 1px solid rgba(255, 255, 255, .08);
        }

        .loader-line span {
            display: block;
            height: 100%;
            width: 0%;
            border-radius: inherit;
            background: linear-gradient(90deg, var(--gold), var(--blue));
            transition: width .22s ease;
        }

        .loader-meta {
            display: flex;
            justify-content: space-between;
            gap: 18px;
            margin-top: 14px;
            color: var(--muted);
            direction: ltr;
            font: 500 .82rem ui-monospace, monospace;
        }

        .site-shell {
            position: relative;
        }

        .noise {
            position: fixed;
            inset: 0;
            pointer-events: none;
            z-index: -1;
            opacity: .08;
            background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
        }

        .orb {
            position: fixed;
            width: 420px;
            height: 420px;
            border-radius: 999px;
            filter: blur(78px);
            opacity: .14;
            z-index: -2;
            pointer-events: none;
            animation: floatOrb 10s ease-in-out infinite alternate;
        }

        .orb.one {
            right: -140px;
            top: 14%;
            background: var(--gold);
        }

        .orb.two {
            left: -180px;
            top: 42%;
            background: var(--blue);
            animation-delay: -3s;
        }

        .orb.three {
            right: 18%;
            bottom: -220px;
            background: var(--cyan);
            animation-delay: -6s;
        }

        @keyframes floatOrb {
            to {
                transform: translate3d(30px, -34px, 0) scale(1.08);
            }
        }

        .container {
            width: var(--container);
            margin: 0 auto;
        }

        .topbar {
            position: sticky;
            top: 16px;
            z-index: 100;
            width: var(--container);
            margin: 16px auto 0;
            border: 1px solid rgba(255, 255, 255, .095);
            border-radius: 24px;
            background: rgba(7, 10, 15, .72);
            backdrop-filter: blur(20px);
            box-shadow: 0 18px 60px rgba(0, 0, 0, .22);
        }

        .topbar-inner {
            min-height: 74px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 24px;
            padding: 0 20px;
        }

        .brand {
            display: flex;
            align-items: center;
            gap: 12px;
            min-width: 210px;
        }

        .brand-logo {
            width: 46px;
            height: 46px;
            border-radius: 16px;
            display: grid;
            place-items: center;
            background: rgba(255, 255, 255, .04);
            border: 1px solid rgba(255, 255, 255, .10);
            overflow: hidden;
            padding: 7px;
        }

        .brand-text strong {
            display: block;
            font-size: .98rem;
            color: var(--text);
            line-height: 1.5;
        }

        .brand-text span {
            display: block;
            font-size: .76rem;
            color: var(--muted);
            line-height: 1.4;
            direction: ltr;
            text-align: right;
        }

        .nav {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 2px;
            color: var(--text-2);
            font-size: .88rem;
        }

        .nav a {
            padding: 10px 13px;
            border-radius: 999px;
            transition: background .25s ease, color .25s ease, transform .25s ease;
        }

        .nav a:hover,
        .nav a.is-active {
            background: rgba(201, 168, 106, .11);
            color: var(--gold-2);
            transform: translateY(-1px);
        }

        .top-actions {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            min-height: 48px;
            padding: 0 20px;
            border-radius: 999px;
            border: 1px solid rgba(255, 255, 255, .11);
            color: var(--text);
            background: rgba(255, 255, 255, .045);
            transition: transform .28s ease, border-color .28s ease, background .28s ease, color .28s ease, box-shadow .28s ease;
            cursor: pointer;
            font-weight: 700;
            font-size: .9rem;
        }

        .btn:hover {
            transform: translateY(-3px);
            border-color: rgba(201, 168, 106, .34);
            background: rgba(201, 168, 106, .08);
            box-shadow: 0 16px 40px rgba(0, 0, 0, .24);
        }

        .btn-primary {
            color: #101010;
            background: linear-gradient(135deg, #C9A86A, #E3CA8E);
            border-color: rgba(255, 255, 255, .18);
            box-shadow: 0 22px 56px rgba(201, 168, 106, .18);
        }

        .btn-primary:hover {
            color: #090909;
            background: linear-gradient(135deg, #DAB774, #F0D99A);
        }

        .mobile-toggle {
            display: none;
            width: 46px;
            padding: 0;
            font-size: 1.2rem;
        }

        .hero {
            padding: 92px 0 64px;
            position: relative;
        }

        .hero-grid {
            display: grid;
            grid-template-columns: 1.06fr .94fr;
            gap: 34px;
            align-items: center;
        }

        .eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 8px 13px;
            border-radius: 999px;
            background: rgba(201, 168, 106, .09);
            border: 1px solid rgba(201, 168, 106, .2);
            color: var(--gold-2);
            font-size: .86rem;
            margin-bottom: 20px;
        }

        .eyebrow::before {
            content: '';
            width: 8px;
            height: 8px;
            border-radius: 999px;
            background: var(--gold-2);
            box-shadow: 0 0 0 6px rgba(201, 168, 106, .10);
        }

        .hero h1 {
            margin: 0;
            font-size: clamp(1.5rem, 4vw, 2.2rem);
            line-height: 1.08;
            letter-spacing: -2.8px;
            font-weight: 900;
            color: var(--text);
        }

        .hero h1 span {
            display: block;
            color: transparent;
            background: linear-gradient(90deg, var(--gold-2), #F2E5C4 42%, var(--blue));
            -webkit-background-clip: text;
            background-clip: text;
        }

        .hero-lead {
            max-width: 720px;
            margin: 24px 0 0;
            font-size: 1.08rem;
            color: var(--text-2);
            text-align: justify;
        }

        .hero-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin-top: 30px;
        }

        .hero-mini {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 12px;
            margin-top: 34px;
        }

        .mini-card {
            min-height: 112px;
            padding: 18px;
            border-radius: 22px;
            background: rgba(255, 255, 255, .045);
            border: 1px solid rgba(255, 255, 255, .09);
            box-shadow: var(--shadow-soft);
            position: relative;
            overflow: hidden;
        }

        .mini-card::after {
            content: '';
            position: absolute;
            inset: auto -22px -44px auto;
            width: 92px;
            height: 92px;
            border-radius: 999px;
            background: rgba(201, 168, 106, .10);
        }

        .mini-card b {
            display: block;
            font-size: 1.62rem;
            line-height: 1.1;
            color: var(--gold-2);
            direction: ltr;
            text-align: right;
        }

        .mini-card span {
            display: block;
            margin-top: 8px;
            color: var(--muted);
            font-size: .88rem;
        }

        .hero-visual {
            position: relative;
            min-height: 675px;
        }

        .profile-card {
            position: absolute;
            inset: 0 0 auto auto;
            width: min(500px, 100%);
            min-height: 645px;
            border-radius: 38px;
            padding: 16px;
            border: 1px solid rgba(255, 255, 255, .11);
            background: linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .032));
            box-shadow: var(--shadow);
            overflow: hidden;
        }

        .profile-card::before {
            content: '';
            position: absolute;
            inset: -1px;
            border-radius: inherit;
            padding: 1px;
            background: linear-gradient(140deg, rgba(201, 168, 106, .36), rgba(123, 154, 183, .12), rgba(255, 255, 255, .06));
            -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            pointer-events: none;
        }

        .profile-image-wrap {
            height: 438px;
            border-radius: 30px;
            overflow: hidden;
            position: relative;
            background: #111;
        }

        .profile-image-wrap img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: saturate(.88) contrast(1.03);
        }

        .profile-image-wrap::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, transparent 45%, rgba(5, 7, 11, .78));
        }

        .profile-info {
            position: relative;
            margin-top: -110px;
            padding: 0 18px 18px;
        }

        .profile-name {
            padding: 20px;
            border-radius: 26px;
            background: rgba(7, 10, 15, .72);
            border: 1px solid rgba(255, 255, 255, .095);
            backdrop-filter: blur(18px);
        }

        .profile-name h2 {
            margin: 0;
            font-size: 1.45rem;
        }

        .profile-name p {
            margin: 8px 0 0;
            color: var(--muted);
            direction: ltr;
            text-align: right;
            font-size: .92rem;
        }

        .profile-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-top: 14px;
        }

        .profile-tags span {
            padding: 7px 10px;
            border-radius: 999px;
            color: var(--text-2);
            background: rgba(255, 255, 255, .055);
            border: 1px solid rgba(255, 255, 255, .09);
            font-size: .78rem;
        }

        .terminal {
            position: absolute;
            left: -30px;
            bottom: 22px;
            width: min(450px, calc(100% - 30px));
            border-radius: 26px;
            overflow: hidden;
            background: rgba(4, 7, 10, .86);
            border: 1px solid rgba(255, 255, 255, .12);
            box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
            backdrop-filter: blur(16px);
            direction: ltr;
            text-align: left;
        }

        .terminal-head {
            height: 46px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 16px;
            border-bottom: 1px solid rgba(255, 255, 255, .08);
            background: rgba(255, 255, 255, .045);
        }

        .terminal-dots {
            display: flex;
            gap: 7px;
        }

        .terminal-dots span {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: #6b7280;
            opacity: .8;
        }

        .terminal-dots span:nth-child(1) {
            background: var(--danger);
        }

        .terminal-dots span:nth-child(2) {
            background: var(--gold);
        }

        .terminal-dots span:nth-child(3) {
            background: var(--green);
        }

        .terminal-title {
            color: var(--muted);
            font: 600 .78rem ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
        }

        .terminal-body {
            min-height: 212px;
            padding: 18px;
            color: #D7E4D3;
            font: 500 .84rem/1.75 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
            white-space: pre-wrap;
        }

        .terminal-body .cursor {
            display: inline-block;
            width: 8px;
            height: 1.05em;
            background: var(--gold-2);
            margin-left: 3px;
            vertical-align: -2px;
            animation: blink .85s steps(2) infinite;
        }

        @keyframes blink {
            50% {
                opacity: 0;
            }
        }

        .floating-chip {
            position: absolute;
            right: -8px;
            top: 72px;
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px 14px;
            border-radius: 999px;
            border: 1px solid rgba(201, 168, 106, .22);
            background: rgba(11, 16, 23, .74);
            backdrop-filter: blur(18px);
            box-shadow: var(--shadow-soft);
            color: var(--text-2);
            font-size: .85rem;
            animation: floatChip 4.4s ease-in-out infinite alternate;
        }

        .floating-chip i {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: var(--gold);
            box-shadow: 0 0 0 7px rgba(201, 168, 106, .12);
        }

        @keyframes floatChip {
            to {
                transform: translateY(-14px);
            }
        }

        .section {
            padding: 84px 0;
            position: relative;
        }

        .section-head {
            display: flex;
            align-items: end;
            justify-content: space-between;
            gap: 24px;
            margin-bottom: 28px;
        }

        .section-kicker {
            display: inline-flex;
            align-items: center;
            gap: 9px;
            color: var(--gold-2);
            font-size: .86rem;
            margin-bottom: 8px;
        }

        .section-kicker::before {
            content: '';
            width: 28px;
            height: 1px;
            background: var(--gold);
            opacity: .7;
        }

        .section-title {
            margin: 0;
            font-size: clamp(1.75rem, 3vw, 3rem);
            line-height: 1.35;
            font-weight: 900;
            letter-spacing: -.8px;
        }

        .section-subtitle {
            max-width: 560px;
            color: var(--muted);
            margin: 0;
            text-align: justify;
        }

        .about-grid {
            display: grid;
            grid-template-columns: .9fr 1.1fr;
            gap: 22px;
        }

        .panel {
            border-radius: var(--radius-xl);
            border: 1px solid rgba(255, 255, 255, .095);
            background: linear-gradient(180deg, rgba(255, 255, 255, .058), rgba(255, 255, 255, .032));
            box-shadow: var(--shadow-soft);
            position: relative;
            overflow: hidden;
        }

        .panel::before {
            content: '';
            position: absolute;
            inset: 0;
            pointer-events: none;
            background: radial-gradient(circle at 18% 0%, rgba(201, 168, 106, .12), transparent 26rem);
        }

        .panel-inner {
            position: relative;
            z-index: 1;
            padding: 28px;
        }

        .about-copy p {
            margin: 0 0 15px;
            color: var(--text-2);
            text-align: justify;
        }

        .quote-box {
            min-height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            gap: 26px;
        }

        .quote-mark {
            color: var(--gold);
            font-size: 3rem;
            line-height: 1;
            opacity: .9;
        }

        .quote-text {
            margin: 0;
            color: var(--text-2);
            font-size: 1.06rem;
            text-align: justify;
        }

        .quote-author {
            color: var(--muted);
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
        }

        .quote-author span {
            color: var(--gold-2);
        }

        .timeline {
            position: relative;
            display: grid;
            gap: 14px;
        }

        .timeline::before {
            content: '';
            position: absolute;
            right: 32px;
            top: 16px;
            bottom: 16px;
            width: 1px;
            background: linear-gradient(180deg, transparent, rgba(201, 168, 106, .26), transparent);
        }

        .timeline-item {
            position: relative;
            display: grid;
            grid-template-columns: 82px 1fr;
            gap: 18px;
            align-items: stretch;
            opacity: 0;
            transform: translateY(26px);
            transition: opacity .7s ease, transform .7s ease;
        }

        .timeline-item.is-visible {
            opacity: 1;
            transform: none;
        }

        .timeline-num {
            width: 64px;
            height: 64px;
            border-radius: 22px;
            display: grid;
            place-items: center;
            color: var(--gold-2);
            border: 1px solid rgba(201, 168, 106, .23);
            background: rgba(201, 168, 106, .075);
            font: 800 1rem ui-monospace, monospace;
            z-index: 1;
        }

        .timeline-card {
            padding: 22px 24px;
            border-radius: 26px;
            border: 1px solid rgba(255, 255, 255, .085);
            background: rgba(255, 255, 255, .043);
            transition: transform .28s ease, background .28s ease, border-color .28s ease;
        }

        .timeline-card:hover {
            transform: translateY(-3px);
            background: rgba(255, 255, 255, .06);
            border-color: rgba(201, 168, 106, .20);
        }

        .timeline-meta {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 18px;
            margin-bottom: 8px;
        }

        .timeline-meta h3 {
            margin: 0;
            font-size: 1.1rem;
            color: var(--text);
        }

        .timeline-meta span {
            color: var(--muted);
            font-size: .82rem;
            white-space: nowrap;
        }

        .timeline-card h4 {
            margin: 0 0 10px;
            color: var(--gold-2);
            font-size: .98rem;
        }

        .timeline-card p {
            margin: 0;
            color: var(--text-2);
            text-align: justify;
        }

        .timeline-card a {
            display: inline-flex;
            margin-top: 12px;
            color: var(--blue);
            font-weight: 700;
        }

        .skills-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 14px;
        }

        .skill-card {
            padding: 22px;
            min-height: 180px;
            border-radius: 26px;
            border: 1px solid rgba(255, 255, 255, .085);
            background: rgba(255, 255, 255, .043);
            position: relative;
            overflow: hidden;
            transition: transform .28s ease, border-color .28s ease, background .28s ease;
        }

        .skill-card:hover {
            transform: translateY(-5px);
            border-color: rgba(201, 168, 106, .22);
            background: rgba(255, 255, 255, .058);
        }

        .skill-card::after {
            content: attr(data-level);
            position: absolute;
            left: 16px;
            top: 15px;
            color: rgba(255, 255, 255, .18);
            font: 800 .78rem ui-monospace, monospace;
            direction: ltr;
        }

        .skill-icon {
            width: 42px;
            height: 42px;
            display: grid;
            place-items: center;
            border-radius: 16px;
            background: rgba(201, 168, 106, .09);
            border: 1px solid rgba(201, 168, 106, .18);
            color: var(--gold-2);
            margin-bottom: 18px;
            direction: ltr;
            font: 900 1rem ui-monospace, monospace;
        }

        .skill-card h3 {
            margin: 0 0 8px;
            font-size: 1.05rem;
            direction: ltr;
            text-align: right;
        }

        .skill-card p {
            margin: 0;
            color: var(--muted);
            font-size: .9rem;
            text-align: justify;
        }

        .clients-wrap {
            border-radius: var(--radius-xl);
            border: 1px solid rgba(255, 255, 255, .095);
            background: linear-gradient(180deg, rgba(255, 255, 255, .052), rgba(255, 255, 255, .028));
            padding: 20px;
            overflow: hidden;
            box-shadow: var(--shadow-soft);
        }

        .clients-grid {
            display: grid;
            grid-template-columns: repeat(9, minmax(110px, 1fr));
            gap: 12px;
        }

        .client-card {
            min-height: 110px;
            border-radius: 22px;
            display: grid;
            place-items: center;
            padding: 18px;
            background:
                radial-gradient(circle at 50% 0%, rgba(255, 255, 255, .08), transparent 70%),
                #cfb37b;
            border: 1px solid rgba(255, 255, 255, .10);
            box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18);
            transition: transform .28s ease, border-color .28s ease, background .28s ease;
        }

        .client-card:hover {
            transform: translateY(-5px);
            border-color: rgba(201, 168, 106, .26);
            background: #121B27;
        }

        .client-card img {
            max-height: 58px;
            width: auto;
            object-fit: contain;
            filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .34)) contrast(1.12) saturate(.98);
            opacity: .95;
        }

        .course-card {
            display: grid;
            grid-template-columns: 360px 1fr;
            gap: 24px;
            align-items: center;
            border-radius: var(--radius-xl);
            border: 1px solid rgba(255, 255, 255, .095);
            background: linear-gradient(135deg, rgba(201, 168, 106, .10), rgba(255, 255, 255, .035) 35%, rgba(123, 154, 183, .08));
            overflow: hidden;
            box-shadow: var(--shadow-soft);
        }

        .course-image {
            min-height: 280px;
            height: 100%;
            position: relative;
            background: #0B1017;
        }

        .course-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: saturate(.84) contrast(1.04);
        }

        .course-image::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(90deg, rgba(7, 10, 15, .5), transparent);
        }

        .course-content {
            padding: 32px 32px 32px 10px;
        }

        .course-content h3 {
            margin: 0;
            font-size: 1.7rem;
            line-height: 1.5;
        }

        .course-content p {
            margin: 12px 0 22px;
            color: var(--text-2);
            max-width: 640px;
            text-align: justify;
        }

        .course-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 24px;
        }

        .course-tags span {
            padding: 7px 10px;
            border-radius: 999px;
            background: rgba(255, 255, 255, .055);
            border: 1px solid rgba(255, 255, 255, .08);
            color: var(--muted);
            font-size: .82rem;
        }

        .contact-grid {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 14px;
        }

        .contact-card {
            min-height: 188px;
            padding: 24px;
            border-radius: 28px;
            border: 1px solid rgba(255, 255, 255, .095);
            background: rgba(255, 255, 255, .043);
            transition: transform .28s ease, border-color .28s ease;
        }

        .contact-card:hover {
            transform: translateY(-4px);
            border-color: rgba(201, 168, 106, .24);
        }

        .contact-card .icon {
            width: 46px;
            height: 46px;
            border-radius: 16px;
            display: grid;
            place-items: center;
            background: rgba(201, 168, 106, .09);
            border: 1px solid rgba(201, 168, 106, .18);
            color: var(--gold-2);
            margin-bottom: 18px;
            font-size: 1.15rem;
        }

        .contact-card h3 {
            margin: 0 0 8px;
        }

        .contact-card p {
            margin: 0 0 12px;
            color: var(--muted);
        }

        .contact-card a,
        .contact-card span {
            color: var(--text-2);
            direction: ltr;
            unicode-bidi: plaintext;
        }

        .footer {
            padding: 34px 0 46px;
            color: var(--muted);
            border-top: 1px solid rgba(255, 255, 255, .075);
        }

        .footer-inner {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 18px;
        }

        .footer code {
            color: var(--gold-2);
            direction: ltr;
            font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
        }

        .reveal {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity .76s ease, transform .76s ease;
        }

        .reveal.is-visible {
            opacity: 1;
            transform: none;
        }

        @media (max-width: 1080px) {

            .hero-grid,
            .about-grid {
                grid-template-columns: 1fr;
            }

            .hero-visual {
                min-height: 710px;
            }

            .profile-card {
                position: relative;
                margin: 0 auto;
            }

            .terminal {
                left: 20px;
            }

            .skills-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .clients-grid {
                grid-template-columns: repeat(3, 1fr);
            }

            .course-card {
                grid-template-columns: 1fr;
            }

            .course-content {
                padding: 30px;
            }

            .course-image {
                min-height: 240px;
            }

            .nav {
                display: none;
                position: absolute;
                top: calc(100% + 10px);
                right: 0;
                left: 0;
                flex-direction: column;
                align-items: stretch;
                padding: 14px;
                border-radius: 22px;
                background: rgba(7, 10, 15, .94);
                border: 1px solid rgba(255, 255, 255, .09);
                backdrop-filter: blur(18px);
                box-shadow: var(--shadow-soft);
            }

            .nav.is-open {
                display: flex;
            }

            .nav a {
                text-align: center;
            }

            .mobile-toggle {
                display: inline-flex;
            }

            .top-actions .btn-primary {
                display: none;
            }
        }

        @media (max-width: 760px) {
            :root {
                --container: min(100% - 28px, 1190px);
            }

            .topbar {
                top: 10px;
                margin-top: 10px;
                border-radius: 20px;
            }

            .topbar-inner {
                min-height: 64px;
                padding: 0 12px;
            }

            .brand {
                min-width: unset;
            }

            .brand-text span {
                display: none;
            }

            .hero {
                padding-top: 64px;
            }

            .hero h1 {
                letter-spacing: -1px;
            }

            .hero-mini {
                grid-template-columns: 1fr;
            }

            .hero-visual {
                min-height: auto;
            }

            .profile-card {
                min-height: auto;
                padding: 12px;
                border-radius: 28px;
            }

            .profile-image-wrap {
                height: 360px;
                border-radius: 22px;
            }

            .terminal {
                position: relative;
                left: auto;
                bottom: auto;
                margin: 16px auto 0;
                width: 100%;
            }

            .floating-chip {
                display: none;
            }

            .section {
                padding: 58px 0;
            }

            .section-head {
                flex-direction: column;
                align-items: flex-start;
            }

            .timeline::before {
                display: none;
            }

            .timeline-item {
                grid-template-columns: 1fr;
                gap: 10px;
            }

            .timeline-num {
                width: auto;
                height: auto;
                min-height: 46px;
                border-radius: 16px;
            }

            .timeline-meta {
                align-items: flex-start;
                flex-direction: column;
                gap: 4px;
            }

            .skills-grid,
            .clients-grid,
            .contact-grid {
                grid-template-columns: 1fr;
            }

            .footer-inner {
                flex-direction: column;
                text-align: center;
            }
        }

        @media (prefers-reduced-motion: reduce) {

            *,
            *::before,
            *::after {
                animation-duration: .01ms !important;
                animation-iteration-count: 1 !important;
                scroll-behavior: auto !important;
                transition-duration: .01ms !important;
            }
        }

        .terminal-section {
            margin-top: 34px;
            width: 100%;
            max-width: 820px;
            /* یا هر پهنای دلخواه */
            margin-left: auto;
            margin-right: auto;
        }

        .terminal {
            position: relative;
            /* جایگزین absolute */
            width: 100%;
            border-radius: 26px;
            overflow: hidden;
            background: rgba(4, 7, 10, .86);
            border: 1px solid rgba(255, 255, 255, .12);
            box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
            backdrop-filter: blur(16px);
            direction: ltr;
            text-align: left;
        }
