

@font-face {
font-family: 'ArtinSharp-Bold';
src: url('/assets/fonts/persian/ArtinSharp-Bold.eot');
src: local('Artin Sharp Bold'), local('ArtinSharp-Bold'),
    url('/assets/fonts/persian/ArtinSharp-Bold.eot?#iefix') format('embedded-opentype'),
    url('/assets/fonts/persian/ArtinSharp-Bold.woff2') format('woff2'),
    url('/assets/fonts/persian/ArtinSharp-Bold.woff') format('woff'),
    url('/assets/fonts/persian/ArtinSharp-Bold.ttf') format('truetype'),
    url('/assets/fonts/persian/ArtinSharp-Bold.svg#ArtinSharp-Bold') format('svg');
font-display: swap;
}

@font-face {
font-family: 'ArtinSharp';
src: url('/assets/fonts/persian/ArtinSharp-Bold.eot');
src: local('Artin Sharp Bold'), local('ArtinSharp-Bold'),
    url('/assets/fonts/persian/ArtinSharp-Bold.eot?#iefix') format('embedded-opentype'),
    url('/assets/fonts/persian/ArtinSharp-Bold.woff2') format('woff2'),
    url('/assets/fonts/persian/ArtinSharp-Bold.woff') format('woff'),
    url('/assets/fonts/persian/ArtinSharp-Bold.ttf') format('truetype'),
    url('/assets/fonts/persian/ArtinSharp-Bold.svg#ArtinSharp-Bold') format('svg');
font-weight: bold;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'ArtinSharp';
src: url('/assets/fonts/persian/ArtinSharp.eot');
src: local('Artin Sharp'), local('ArtinSharp'),
    url('/assets/fonts/persian/ArtinSharp.eot?#iefix') format('embedded-opentype'),
    url('/assets/fonts/persian/ArtinSharp.woff2') format('woff2'),
    url('/assets/fonts/persian/ArtinSharp.woff') format('woff'),
    url('/assets/fonts/persian/ArtinSharp.ttf') format('truetype'),
    url('/assets/fonts/persian/ArtinSharp.svg#ArtinSharp') format('svg');
font-weight: normal;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'Kaghaz';
src: url('/assets/fonts/persian/KaghazAlef-Bold.eot');
src: url('/assets/fonts/persian/KaghazAlef-Bold.eot?#iefix') format('embedded-opentype'),
    url('/assets/fonts/persian/KaghazAlef-Bold.woff2') format('woff2'),
    url('/assets/fonts/persian/KaghazAlef-Bold.woff') format('woff'),
    url('/assets/fonts/persian/KaghazAlef-Bold.ttf') format('truetype'),
    url('/assets/fonts/persian/KaghazAlef-Bold.svg#KaghazAlef-Bold') format('svg');
font-weight: bold;
font-style: normal;
font-display: swap;

/* Arabic/Persian letters, marks, presentation forms, and Arabic math symbols */
unicode-range:
    U+0600-06FF,   /* Arabic */
    U+0750-077F,   /* Arabic Supplement */
    U+08A0-08FF,   /* Arabic Extended-A */
    U+FB50-FDFF,   /* Arabic Presentation Forms-A */
    U+FE70-FEFF,   /* Arabic Presentation Forms-B */
    U+1EE00-1EEFF, /* Arabic Mathematical Alphabetic Symbols */
    U+0660-0669,   /* Arabic-Indic digits ٠١٢٣٤٥٦٧٨٩ */
    U+06F0-06F9;   /* Eastern Arabic-Indic digits ۰۱۲۳۴۵۶۷۸۹ */

/* Scale this font only: 1.333x (133.3%) of computed size, Supported in 2023+ browsers */
/* size-adjust: 133.3%; */

/* Optional fine-tune metrics to reduce layout shift */
/* ascent-override: 90%; */
/* descent-override: 22%; */
/* line-gap-override: 0%; */
}

/* 
* ==========================================================================
* OMNIPRESENT STATIC FONT ARCHITECTURE
* ==========================================================================
* Unified under a single 'font-family: Peyda'.
* Full 5-format stack (.eot, .woff2, .woff, .ttf, .svg) for absolute 
* cross-browser dominance across time and space.
* Implemented Paul Irish's Bulletproof @font-face syntax.
*/

/* 1. Thin (100) */
@font-face {
font-family: 'Peyda';
font-style: normal;
font-weight: 100;
font-display: swap;
src: url('/assets/fonts/Peyda/PeydaThin.eot'); /* IE9 Compat Modes */
src: local('Peyda Thin'), local('Peyda-Thin'),
        url('/assets/fonts/Peyda/PeydaThin.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('/assets/fonts/Peyda/PeydaThin.woff2') format('woff2'), /* Super Modern Browsers */
        url('/assets/fonts/Peyda/PeydaThin.woff') format('woff'), /* Modern Browsers */
        url('/assets/fonts/Peyda/PeydaThin.ttf') format('truetype'), /* Safari, Android, iOS */
        url('/assets/fonts/Peyda/PeydaThin.svg#PeydaThin') format('svg'); /* Legacy iOS */

/* Arabic/Persian letters, marks, presentation forms, and Arabic math symbols */
unicode-range:
    U+0600-06FF,   /* Arabic */
    U+0750-077F,   /* Arabic Supplement */
    U+08A0-08FF,   /* Arabic Extended-A */
    U+FB50-FDFF,   /* Arabic Presentation Forms-A */
    U+FE70-FEFF,   /* Arabic Presentation Forms-B */
    U+1EE00-1EEFF, /* Arabic Mathematical Alphabetic Symbols */
    U+0660-0669,   /* Arabic-Indic digits ٠١٢٣٤٥٦٧٨٩ */
    U+06F0-06F9;   /* Eastern Arabic-Indic digits ۰۱۲۳۴۵۶۷۸۹ */
}

/* 2. ExtraLight (200) */
@font-face {
font-family: 'Peyda';
font-style: normal;
font-weight: 200;
font-display: swap;
src: url('/assets/fonts/Peyda/Peydaextralight.eot');
src: local('Peyda ExtraLight'), local('Peyda-ExtraLight'),
        url('/assets/fonts/Peyda/Peydaextralight.eot?#iefix') format('embedded-opentype'),
        url('/assets/fonts/Peyda/Peydaextralight.woff2') format('woff2'),
        url('/assets/fonts/Peyda/Peydaextralight.woff') format('woff'),
        url('/assets/fonts/Peyda/Peydaextralight.ttf') format('truetype'),
        url('/assets/fonts/Peyda/Peydaextralight.svg#peydaextralight') format('svg');

/* Arabic/Persian letters, marks, presentation forms, and Arabic math symbols */
unicode-range:
    U+0600-06FF,   /* Arabic */
    U+0750-077F,   /* Arabic Supplement */
    U+08A0-08FF,   /* Arabic Extended-A */
    U+FB50-FDFF,   /* Arabic Presentation Forms-A */
    U+FE70-FEFF,   /* Arabic Presentation Forms-B */
    U+1EE00-1EEFF, /* Arabic Mathematical Alphabetic Symbols */
    U+0660-0669,   /* Arabic-Indic digits ٠١٢٣٤٥٦٧٨٩ */
    U+06F0-06F9;   /* Eastern Arabic-Indic digits ۰۱۲۳۴۵۶۷۸۹ */
}

/* 3. Light (300) */
@font-face {
font-family: 'Peyda';
font-style: normal;
font-weight: 300;
font-display: swap;
src: url('/assets/fonts/Peyda/Peydalight.eot');
src: local('Peyda Light'), local('Peyda-Light'),
        url('/assets/fonts/Peyda/Peydalight.eot?#iefix') format('embedded-opentype'),
        url('/assets/fonts/Peyda/Peydalight.woff2') format('woff2'),
        url('/assets/fonts/Peyda/Peydalight.woff') format('woff'),
        url('/assets/fonts/Peyda/Peydalight.ttf') format('truetype'),
        url('/assets/fonts/Peyda/Peydalight.svg#peydalight') format('svg');

/* Arabic/Persian letters, marks, presentation forms, and Arabic math symbols */
unicode-range:
    U+0600-06FF,   /* Arabic */
    U+0750-077F,   /* Arabic Supplement */
    U+08A0-08FF,   /* Arabic Extended-A */
    U+FB50-FDFF,   /* Arabic Presentation Forms-A */
    U+FE70-FEFF,   /* Arabic Presentation Forms-B */
    U+1EE00-1EEFF, /* Arabic Mathematical Alphabetic Symbols */
    U+0660-0669,   /* Arabic-Indic digits ٠١٢٣٤٥٦٧٨٩ */
    U+06F0-06F9;   /* Eastern Arabic-Indic digits ۰۱۲۳۴۵۶۷۸۹ */
}

/* 4. Regular (400) - The Base */
@font-face {
font-family: 'Peyda';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url('/assets/fonts/Peyda/PeydaRegular.eot');
src: local('Peyda Regular'), local('Peyda-Regular'),
        url('/assets/fonts/Peyda/PeydaRegular.eot?#iefix') format('embedded-opentype'),
        url('/assets/fonts/Peyda/PeydaRegular.woff2') format('woff2'),
        url('/assets/fonts/Peyda/PeydaRegular.woff') format('woff'),
        url('/assets/fonts/Peyda/PeydaRegular.ttf') format('truetype'),
        url('/assets/fonts/Peyda/PeydaRegular.svg#PeydaRegular') format('svg');

/* Arabic/Persian letters, marks, presentation forms, and Arabic math symbols */
unicode-range:
    U+0600-06FF,   /* Arabic */
    U+0750-077F,   /* Arabic Supplement */
    U+08A0-08FF,   /* Arabic Extended-A */
    U+FB50-FDFF,   /* Arabic Presentation Forms-A */
    U+FE70-FEFF,   /* Arabic Presentation Forms-B */
    U+1EE00-1EEFF, /* Arabic Mathematical Alphabetic Symbols */
    U+0660-0669,   /* Arabic-Indic digits ٠١٢٣٤٥٦٧٨٩ */
    U+06F0-06F9;   /* Eastern Arabic-Indic digits ۰۱۲۳۴۵۶۷۸۹ */
}

/* 5. Medium (500) */
@font-face {
font-family: 'Peyda';
font-style: normal;
font-weight: 500;
font-display: swap;
src: url('/assets/fonts/Peyda/PeydaMedium.eot');
src: local('Peyda Medium'), local('Peyda-Medium'),
        url('/assets/fonts/Peyda/PeydaMedium.eot?#iefix') format('embedded-opentype'),
        url('/assets/fonts/Peyda/PeydaMedium.woff2') format('woff2'),
        url('/assets/fonts/Peyda/PeydaMedium.woff') format('woff'),
        url('/assets/fonts/Peyda/PeydaMedium.ttf') format('truetype'),
        url('/assets/fonts/Peyda/PeydaMedium.svg#PeydaMedium') format('svg');

/* Arabic/Persian letters, marks, presentation forms, and Arabic math symbols */
unicode-range:
    U+0600-06FF,   /* Arabic */
    U+0750-077F,   /* Arabic Supplement */
    U+08A0-08FF,   /* Arabic Extended-A */
    U+FB50-FDFF,   /* Arabic Presentation Forms-A */
    U+FE70-FEFF,   /* Arabic Presentation Forms-B */
    U+1EE00-1EEFF, /* Arabic Mathematical Alphabetic Symbols */
    U+0660-0669,   /* Arabic-Indic digits ٠١٢٣٤٥٦٧٨٩ */
    U+06F0-06F9;   /* Eastern Arabic-Indic digits ۰۱۲۳۴۵۶۷۸۹ */
}

/* 6. SemiBold (600) */
@font-face {
font-family: 'Peyda';
font-style: normal;
font-weight: 600;
font-display: swap;
src: url('/assets/fonts/Peyda/PeydaSemiBold.eot');
src: local('Peyda SemiBold'), local('Peyda-SemiBold'),
        url('/assets/fonts/Peyda/PeydaSemiBold.eot?#iefix') format('embedded-opentype'),
        url('/assets/fonts/Peyda/PeydaSemiBold.woff2') format('woff2'),
        url('/assets/fonts/Peyda/PeydaSemiBold.woff') format('woff'),
        url('/assets/fonts/Peyda/PeydaSemiBold.ttf') format('truetype'),
        url('/assets/fonts/Peyda/PeydaSemiBold.svg#PeydaSemiBold') format('svg');

/* Arabic/Persian letters, marks, presentation forms, and Arabic math symbols */
unicode-range:
    U+0600-06FF,   /* Arabic */
    U+0750-077F,   /* Arabic Supplement */
    U+08A0-08FF,   /* Arabic Extended-A */
    U+FB50-FDFF,   /* Arabic Presentation Forms-A */
    U+FE70-FEFF,   /* Arabic Presentation Forms-B */
    U+1EE00-1EEFF, /* Arabic Mathematical Alphabetic Symbols */
    U+0660-0669,   /* Arabic-Indic digits ٠١٢٣٤٥٦٧٨٩ */
    U+06F0-06F9;   /* Eastern Arabic-Indic digits ۰۱۲۳۴۵۶۷۸۹ */
}

/* 7. Bold (700) */
@font-face {
font-family: 'Peyda';
font-style: normal;
font-weight: 700;
font-display: swap;
src: url('/assets/fonts/Peyda/PeydaBold.eot');
src: local('Peyda Bold'), local('Peyda-Bold'),
        url('/assets/fonts/Peyda/PeydaBold.eot?#iefix') format('embedded-opentype'),
        url('/assets/fonts/Peyda/PeydaBold.woff2') format('woff2'),
        url('/assets/fonts/Peyda/PeydaBold.woff') format('woff'),
        url('/assets/fonts/Peyda/PeydaBold.ttf') format('truetype'),
        url('/assets/fonts/Peyda/PeydaBold.svg#PeydaBold') format('svg');

/* Arabic/Persian letters, marks, presentation forms, and Arabic math symbols */
unicode-range:
    U+0600-06FF,   /* Arabic */
    U+0750-077F,   /* Arabic Supplement */
    U+08A0-08FF,   /* Arabic Extended-A */
    U+FB50-FDFF,   /* Arabic Presentation Forms-A */
    U+FE70-FEFF,   /* Arabic Presentation Forms-B */
    U+1EE00-1EEFF, /* Arabic Mathematical Alphabetic Symbols */
    U+0660-0669,   /* Arabic-Indic digits ٠١٢٣٤٥٦٧٨٩ */
    U+06F0-06F9;   /* Eastern Arabic-Indic digits ۰۱۲۳۴۵۶۷۸۹ */
}

/* 8. ExtraBold (800) */
@font-face {
font-family: 'Peyda';
font-style: normal;
font-weight: 800;
font-display: swap;
src: url('/assets/fonts/Peyda/PeydaExtraBold.eot');
src: local('Peyda ExtraBold'), local('Peyda-ExtraBold'),
        url('/assets/fonts/Peyda/PeydaExtraBold.eot?#iefix') format('embedded-opentype'),
        url('/assets/fonts/Peyda/PeydaExtraBold.woff2') format('woff2'),
        url('/assets/fonts/Peyda/PeydaExtraBold.woff') format('woff'),
        url('/assets/fonts/Peyda/PeydaExtraBold.ttf') format('truetype'),
        url('/assets/fonts/Peyda/PeydaExtraBold.svg#PeydaExtraBold') format('svg');

/* Arabic/Persian letters, marks, presentation forms, and Arabic math symbols */
unicode-range:
    U+0600-06FF,   /* Arabic */
    U+0750-077F,   /* Arabic Supplement */
    U+08A0-08FF,   /* Arabic Extended-A */
    U+FB50-FDFF,   /* Arabic Presentation Forms-A */
    U+FE70-FEFF,   /* Arabic Presentation Forms-B */
    U+1EE00-1EEFF, /* Arabic Mathematical Alphabetic Symbols */
    U+0660-0669,   /* Arabic-Indic digits ٠١٢٣٤٥٦٧٨٩ */
    U+06F0-06F9;   /* Eastern Arabic-Indic digits ۰۱۲۳۴۵۶۷۸۹ */
}

/* 9. Black (900) */
@font-face {
font-family: 'Peyda';
font-style: normal;
font-weight: 900;
font-display: swap;
src: url('/assets/fonts/Peyda/PeydaBlack.eot');
src: local('Peyda Black'), local('Peyda-Black'),
        url('/assets/fonts/Peyda/PeydaBlack.eot?#iefix') format('embedded-opentype'),
        url('/assets/fonts/Peyda/PeydaBlack.woff2') format('woff2'),
        url('/assets/fonts/Peyda/PeydaBlack.woff') format('woff'),
        url('/assets/fonts/Peyda/PeydaBlack.ttf') format('truetype'),
        url('/assets/fonts/Peyda/PeydaBlack.svg#PeydaBlack') format('svg');

/* Arabic/Persian letters, marks, presentation forms, and Arabic math symbols */
unicode-range:
    U+0600-06FF,   /* Arabic */
    U+0750-077F,   /* Arabic Supplement */
    U+08A0-08FF,   /* Arabic Extended-A */
    U+FB50-FDFF,   /* Arabic Presentation Forms-A */
    U+FE70-FEFF,   /* Arabic Presentation Forms-B */
    U+1EE00-1EEFF, /* Arabic Mathematical Alphabetic Symbols */
    U+0660-0669,   /* Arabic-Indic digits ٠١٢٣٤٥٦٧٨٩ */
    U+06F0-06F9;   /* Eastern Arabic-Indic digits ۰۱۲۳۴۵۶۷۸۹ */
}


.font-peyda {
font-family: 'Peyda', 'ArtinSharp', Tahoma, sans-serif;
}
.font-artin {
font-family: 'ArtinSharp', Tahoma, sans-serif;
}

.font-artin-bold {
font-family: 'ArtinSharp-Bold', Tahoma,  sans-serif;
}

.font-kaghaz {
font-family: 'Kaghaz', 'ArtinSharp', Tahoma, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 10% 5%, rgba(0, 183, 107, .09), transparent 24rem),
        radial-gradient(circle at 92% 9%, rgba(118, 70, 255, .10), transparent 25rem),
        radial-gradient(circle at 55% 44%, rgba(0, 140, 255, .05), transparent 33rem),
        var(--page);
    /*
        * [ HYPERDX AMBIENT LIGHT INJECTION ]
        * Updated radial gradients to use the new, highly vibrant color palette
        * with low opacity for an ambient, electric glow.
    */
    background:
        radial-gradient(circle at 10% 5%, rgba(88, 255, 179, .09), transparent 24rem), /* New --theme-navy */
        radial-gradient(circle at 92% 9%, rgba(204, 0, 255, .10), transparent 25rem), /* New --theme-blue */
        radial-gradient(circle at 55% 44%, rgba(118, 202, 255, .05), transparent 33rem), /* New --theme-green */
        var(--page);

            /* 
        * Ambient Light Injection: Using the hacked variables 
        * to create a moody, mysterious atmosphere over the light page.
        */
    background:
        radial-gradient(circle at 10% 5%, var(--theme-green-soft), transparent 24rem),   /* Toxic Green Ambient */
        radial-gradient(circle at 92% 9%, var(--theme-violet-soft), transparent 25rem),   /* Indigo Ambient */
        radial-gradient(circle at 55% 44%, var(--theme-blue-soft), transparent 33rem), /* Deep Teal Ambient */
        var(--page);

    color: var(--ink);
    font-family: "Peyda", "ArtinSharp", Tahoma, sans-serif;
    line-height: 1.85;
}

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

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

code,
pre,
.font-code {
    direction: ltr;
    font-family: "Fira Code", monospace;
}

/*
Gradient Light (c) Samia Ali <samiaab1990@gmail.com>
*/
#code .code-shell > .code-head > .code-dots > span {
    /*, #code .code-shell > .code-head > .code-dots > .i-gradienter*/
    cursor: pointer;
    pointer-events: all;
}
#code .code-shell > .code-body > code.hljs.code-place.gradient-bg {
    background-color: #f9ccff;
    background-image: linear-gradient(295deg, #f9ccff 0%, #e6bbf9 11%, #9ec6f9 32%, #55e6ee 60%, #91f5d1 74%, #f9ffbf 98%);
}

::selection {
    color: #fff;
    background: var(--theme-blue);
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.section {
    position: relative;
    padding: 112px 0;
}

.section-heading {
    max-width: 820px;
    margin: 0 auto 56px;
    text-align: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 15px;
    color: var(--theme-green);
    font-family: "ArtinSharp", "ArtinSharp", sans-serif;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .07em;
}

.eyebrow::before,
.eyebrow::after {
    width: 24px;
    height: 2px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--theme-navy), var(--theme-green));
    content: "";
}

h1,
h2,
h3,
h4,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    color: var(--ink-strong);
    line-height: 1.32;
}

.section-heading h2 {
    margin-bottom: 16px;
    font-size: clamp(1.9rem, 4vw, 3.15rem);
    font-weight: 900;
    letter-spacing: -.05em;
}

.section-heading p {
    margin-bottom: 0;
    color: var(--ink-muted);
    font-size: 1.02rem;
}

.neon-text {
    background: linear-gradient(100deg, var(--theme-navy), var(--theme-green) 43%, var(--theme-blue) 74%, var(--theme-violet));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.skip-link {
    position: fixed;
    z-index: 100;
    top: -100px;
    right: 20px;
    padding: 10px 16px;
    border-radius: 10px;
    color: #fff;
    background: var(--ink-strong);
    transition: top .2s ease;
}

.skip-link:focus {
    top: 20px;
}

/*
    * 1. The Magician's Aura
    * --------------------------------------------------------------------------
    * بهترین انتخاب برای متون گرادیانت‌دار در لایت‌مود.
    * از GPU-accelerated drop-shadow برای دور زدن محدودیت‌های background-clip استفاده می‌کند.
*/
.hyper-text-aura {
    background: linear-gradient(100deg, var(--theme-navy), var(--theme-green) 43%, var(--theme-blue) 74%, var(--theme-violet));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block; /* برای اجرای صحیح Transform و Filter الزامی است */
    
    /* افکت درخشندگی که روی متون Transparent اعمال می‌شود */
    filter: drop-shadow(0px 4px 15px rgba(118, 70, 255, 0.4))
            drop-shadow(0px 0px 35px rgba(0, 140, 255, 0.25));
            
    animation: hyper-aura-breathe 3.5s ease-in-out infinite alternate;
}

@keyframes hyper-aura-breathe {
    0% {
        filter: drop-shadow(0px 4px 10px rgba(118, 70, 255, 0.3)) 
                drop-shadow(0px 0px 20px rgba(0, 140, 255, 0.15));
    }
    100% {
        filter: drop-shadow(0px 6px 18px rgba(118, 70, 255, 0.6)) 
                drop-shadow(0px 0px 45px rgba(244, 46, 157, 0.4));
        transform: scale(1.005);
    }
}
/*
    * 2. The Rebel Core
    * --------------------------------------------------------------------------
    * ایجاد افکت تابلوی نئونی واقعی در روز روشن. 
    * داخل متن توخالی و لبه‌ها با stroke و shadow می‌درخشند.
*/
.hyper-text-rebel {
    color: #ffffff; /* رنگ هسته متن */
    -webkit-text-stroke: 1.5px var(--theme-green);
    text-shadow:
        0 0 5px rgba(0, 140, 255, 0.8),
        0 0 15px rgba(0, 140, 255, 0.5),
        0 4px 30px rgba(118, 70, 255, 0.4);
    animation: rebel-flicker 4s infinite alternate;
}

@keyframes rebel-flicker {
    0%, 18%, 22%, 25%, 53%, 57%, 100% {
        text-shadow:
            0 0 5px rgba(0, 140, 255, 0.8),
            0 0 15px rgba(0, 140, 255, 0.5),
            0 4px 30px rgba(118, 70, 255, 0.4);
        -webkit-text-stroke: 1.5px var(--theme-green);
    }
    20%, 24%, 55% {
        text-shadow: none;
        -webkit-text-stroke: 1px rgba(0, 140, 255, 0.2);
    }
}

/*
    * 3. The Sage's Phantom (Data-Attribute Glow)
    * --------------------------------------------------------------------------
    * حفظ خوانایی کامل متن اصلی (Ink) و ساطع کردن نور از لایه زیرین.
    * مناسب‌ترین روش برای لایت‌مود که کنتراست را فدای زیبایی نمی‌کند.
*/
.hyper-text-phantom {
    position: relative;
    display: inline-block;

    /* متن اصلی کاملاً خوانا و تیره می‌ماند */
    /*color: var(--ink-strong);*/

    z-index: 1;
}

.hyper-text-phantom::before {
    content: attr(data-text); /* استخراج متن از HTML */
    position: absolute;
    inset: 0;
    z-index: -1;
    
    /* اعمال گرادیانت رنگ‌های نئونی DevGX * /
    --phantom-navy: var(--theme-navy, #071f2b);
    --phantom-green: var(--theme-green, #00b76b);
    --phantom-blue: var(--theme-blue, #0b3041);
    background: linear-gradient(135deg, var(--phantom-navy), var(--phantom-green), var(--phantom-blue));
    */
    background: linear-gradient(135deg, #6100cb, #00B76B, #ff7200);

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    
    /* جادوی اصلی: پخش کردن رنگ از پشت متن اصلی */
    filter: blur(14px);
    opacity: 0.7; /* در لایت‌مود، اپسیتی زیر 0.8 بهترین نتیجه را می‌دهد */
    animation: phantom-glow 1s linear infinite alternate;
}

@keyframes phantom-glow {
    0% {
        filter: blur(5px);
        opacity: 0.65;
        transform: translateY(2px) scale(0.99);
    }
    100% {
        filter: blur(10px);
        opacity: 1.0;
        transform: translateY(0) scale(1.02);
    }
}

/* =========================
    ARSENAL / KRUBOT NEXUS
========================= */
.nexus-banner {
    width: 100%;
    max-width: 940px;
    margin: 0 auto;
    display: block;
    border-radius: 22px;
    box-shadow:
        0 0 40px rgba(46, 204, 113, 0.12),
        0 18px 40px rgba(0,0,0,0.32);
    border: 1px solid rgba(46, 204, 113, 0.25);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    object-fit: cover;
    background: rgba(8, 12, 18, 0.85);
}

.nexus-banner:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow:
        0 0 54px rgba(46, 204, 113, 0.22),
        0 24px 50px rgba(0,0,0,0.36);
}

.monolith-img {
    width: 100%;
    height: auto;
    border-radius: 25px;
    object-fit: contain;
    object-position: center;
}

/*
    |--------------------------------------------------------------------------
    | Ambient Light Effects
    |--------------------------------------------------------------------------
    */

.light-grid {
    position: fixed;
    z-index: -3;
    inset: 0;
    pointer-events: none;
    opacity: .42;
    background-image:
        linear-gradient(rgba(53, 104, 145, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(53, 104, 145, .06) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to bottom, #000, transparent 77%);
}

.orb {
    position: absolute;
    z-index: -1;
    width: 300px;
    aspect-ratio: 1;
    border-radius: 50%;
    filter: blur(12px);
    pointer-events: none;
    opacity: .45;
}

.orb-green {
    top: 620px;
    right: -160px;
    background: radial-gradient(circle, rgba(0, 183, 107, .23), transparent 69%);
}

.orb-orange {
    top: 1550px;
    left: -140px;
    background: radial-gradient(circle, rgba(255, 114, 0, .19), transparent 70%);
}

/*
    |--------------------------------------------------------------------------
    | Header
    |--------------------------------------------------------------------------
    */

.site-header {
    position: sticky;
    z-index: 30;
    top: 0;
    border-bottom: 1px solid rgba(30, 66, 94, .07);
    background: rgba(248, 251, 255, .78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 82px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
    font-family: "ArtinSharp", sans-serif;
    font-size: 1.47rem;
    font-weight: 900;
    letter-spacing: -.07em;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(118, 70, 255, .27);
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, var(--theme-green), var(--theme-blue));
    box-shadow: 0 8px 23px rgba(118, 70, 255, .28);
    transform: rotate(-8deg);
}

.brand-mark.key-edition {

    /* FA Duotone Variables Baseline */

    --fa-primary-color: bisque;
    --fa-secondary-color: var(--theme-violet);

}

.brand strong {
    color: var(--theme-violet);
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.main-nav a {
    position: relative;
    color: #31475d;
    font-size: .87rem;
    font-weight: 700;
    transition: color .2s ease;
}

.main-nav a::after {
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 0;
    height: 2px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--theme-navy), var(--theme-green));
    content: "";
    transition: width .2s ease;
}

.main-nav a:hover {
    color: var(--theme-blue);
}

.main-nav a:hover::after {
    right: auto;
    left: 0;
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.menu-toggle {
    display: none;
    width: 43px;
    height: 43px;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--ink);
    background: #fff;
}

/*
    |--------------------------------------------------------------------------
    | Buttons
    |--------------------------------------------------------------------------
    */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 47px;
    padding: 0 19px;
    /*border: 1px solid transparent;*/
    border: .768px solid var(--theme-green);
    border-radius: 14px;
    font-size: .88rem;
    font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    color: #fff;
    background: linear-gradient(125deg, var(--theme-blue), var(--theme-green));
    box-shadow: var(--shadow-neon-blue);
}

.btn-primary:hover {
    box-shadow: 0 17px 46px rgba(0, 140, 255, .35);
}

.btn-secondary {
    border-color: rgba(0, 140, 255, .2);
    color: var(--theme-violet);
    background: rgba(255, 255, 255, .74);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    border-color: var(--theme-green);
    box-shadow: var(--shadow-neon-blue);
}

.btn-compact {
    min-height: 42px;
    padding-inline: 15px;
}

/*
    |--------------------------------------------------------------------------
    | Hero
    |--------------------------------------------------------------------------
    */

.hero {
    position: relative;
    isolation: isolate;
    padding: 92px 0 76px;
    overflow: hidden;
}

.hero::before {
    position: absolute;
    z-index: -1;
    top: 4%;
    left: 50%;
    width: min(850px, 92vw);
    aspect-ratio: 1.8;
    border: 1px solid rgba(0, 140, 255, .12);
    border-radius: 50%;
    background:
        radial-gradient(ellipse at center, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .28) 44%, transparent 70%);
    box-shadow:
        0 0 90px rgba(0, 140, 255, .11),
        inset 0 0 90px rgba(118, 70, 255, .04);
    content: "";
    transform: translateX(-50%);
}

.hero-content {
    max-width: 980px;
    margin: auto;
    text-align: center;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 7px 13px;
    border: 1px solid rgba(0, 183, 107, .21);
    border-radius: 999px;
    color: #087c51;
    background: rgba(255, 255, 255, .81);
    box-shadow: 0 9px 25px rgba(0, 183, 107, .09);
    font-family: "ArtinSharp", "ArtinSharp", sans-serif;
    font-size: .76rem;
    font-weight: 800;
}

.hero-kicker i {
    color: var(--theme-orange);
}

.hero h1 {
    max-width: 935px;
    margin: 0 auto 22px;
    font-size: clamp(2.55rem, 6.5vw, 5.85rem);
    font-weight: 900;
    letter-spacing: -.0369em;
    line-height: 1.14;
}

.hero h1 .line-two {
    display: block;
    margin-top: 4px;
}

.hero-lead {
    max-width: 760px;
    margin: 0 auto;
    color: #41576e;
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 2;
}

.hero-lead strong {
    color: var(--theme-blue);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 34px;
}

.tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #436078;
    background: rgba(255, 255, 255, .76);
    box-shadow: 0 7px 20px rgba(18, 62, 92, .05);
    font-family: "ArtinSharp", "ArtinSharp", sans-serif;
    font-size: .74rem;
    font-weight: 800;
}

/* .tech-badge i {
    color: var(--theme-green);
} */

.hero-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 28px;
    color: #688095;
    font-size: .77rem;
    font-weight: 700;
}

.pulse {
    width: 9px;
    height: 9px;
    border-radius: 99px;
    background: var(--theme-green);
    box-shadow: 0 0 0 0 rgba(0, 183, 107, .65);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    70% {
        box-shadow: 0 0 0 9px rgba(0, 183, 107, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 183, 107, 0);
    }
}

/*
    |--------------------------------------------------------------------------
    | Rebellion / Pain
    |--------------------------------------------------------------------------
    */

.problem-section {
    padding-top: 78px;
}

.rebellion-panel {
    position: relative;
    display: grid;
    grid-template-columns: .93fr 1.07fr;
    gap: 25px;
    padding: clamp(25px, 4vw, 48px);
    overflow: hidden;
    border: 1px solid rgba(255, 114, 0, .19);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(130deg, rgba(255, 255, 255, .97), rgba(255, 249, 241, .92));
    box-shadow: var(--shadow-md);
}

.rebellion-panel::after {
    position: absolute;
    top: -90px;
    left: -75px;
    width: 230px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 114, 0, .19), transparent 70%);
    content: "";
}

.rebellion-title {
    position: relative;
    z-index: 1;
}

.rebellion-title .icon-frame {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    margin-bottom: 20px;
    border-radius: 20px;
    color: var(--theme-orange);
    background: var(--theme-orange-soft);
    font-size: 1.65rem;
}

.rebellion-title h2 {
    margin-bottom: 14px;
    font-size: clamp(1.75rem, 3vw, 2.65rem);
    font-weight: 900;
    letter-spacing: -.055em;
}

.rebellion-title p {
    max-width: 470px;
    margin-bottom: 0;
    color: var(--ink-muted);
}

.chaos-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    align-content: center;
}

.chaos-item {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 74px;
    padding: 14px;
    border: 1px solid rgba(255, 114, 0, .14);
    border-radius: 16px;
    color: #5e493b;
    background: rgba(255, 255, 255, .76);
    font-size: .88rem;
    font-weight: 700;
}

.chaos-item i {
    color: var(--theme-orange);
    font-size: 1.05rem;
}

/*
    |--------------------------------------------------------------------------
    | StoryCasting
    |--------------------------------------------------------------------------
    */

.story-grid {
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 44px;
    align-items: center;
}

.story-copy h2 {
    margin-bottom: 18px;
    font-size: clamp(2rem, 3.8vw, 3.35rem);
    font-weight: 900;
    letter-spacing: -.065em;
}

.story-copy > p {
    color: var(--ink-muted);
    font-size: 1.02rem;
}

.story-points {
    display: grid;
    gap: 13px;
    margin-top: 25px;
}

.story-point {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
}

.story-point:last-child {
    border-bottom: 0;
}

.story-point i {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 35px;
    height: 35px;
    border-radius: 11px;
    color: var(--theme-blue);
    background: var(--theme-blue-soft);
}

.story-point strong {
    display: block;
    margin-bottom: 2px;
    color: var(--ink-strong);
    font-size: .93rem;
}

.story-point span {
    color: var(--ink-muted);
    font-size: .85rem;
}

.casting-visual {
    position: relative;
    min-height: 440px;
    border: 1px solid rgba(0, 140, 255, .16);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 77% 13%, rgba(0, 183, 107, .18), transparent 9rem),
        radial-gradient(circle at 19% 81%, rgba(118, 70, 255, .18), transparent 12rem),
        linear-gradient(135deg, #fff, #edf8ff);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.casting-visual::before {
    position: absolute;
    inset: 0;
    opacity: .6;
    background-image:
        linear-gradient(rgba(0, 140, 255, .08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 140, 255, .08) 1px, transparent 1px);
    background-size: 28px 28px;
    content: "";
}

.orbit-core {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 123px;
    aspect-ratio: 1;
    border: 1px solid rgba(118, 70, 255, .38);
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, var(--theme-blue), var(--theme-green));
    box-shadow: 0 0 0 15px rgba(118, 70, 255, .07), 0 0 47px rgba(0, 140, 255, .34);
    font-size: 2.6rem;
    transform: translate(-50%, -50%);
}

#storycasting .casting-visual > .orbit-core {
    /* body */
    --fa-primary-color: #191970;
    /* wings */
    --fa-secondary-color: #c0ff00; /* #b4ff00; */
}

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px dashed rgba(0, 140, 255, .28);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.orbit-one {
    width: 255px;
    aspect-ratio: 1;
    animation: spin 16s linear infinite;
}

.orbit-two {
    width: 385px;
    aspect-ratio: 1;
    border-color: rgba(0, 183, 107, .24);
    animation: spin-reverse 23s linear infinite;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes spin-reverse {
    to { transform: translate(-50%, -50%) rotate(-360deg); }
}

.orbit-tag {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 11px;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 12px;
    color: #35536b;
    background: rgba(255, 255, 255, .83);
    box-shadow: 0 10px 25px rgba(10, 54, 88, .13);
    backdrop-filter: blur(10px);
    font-family: "ArtinSharp", "ArtinSharp", sans-serif;
    font-size: .73rem;
    font-weight: 800;
}

.casting-visual > .tag-one { top: 17%; right: 10%; color: var(--theme-green); }
.casting-visual > .tag-one > i { color: var(--theme-orange); }
.casting-visual > .tag-two { bottom: 17%; left: 8%; color: var(--theme-navy); }
.casting-visual > .tag-three { bottom: 11%; right: 15%; color: var(--theme-violet); }

/*
    |--------------------------------------------------------------------------
    | Archetypes
    |--------------------------------------------------------------------------
    */

.archetypes-section {
    background: linear-gradient(180deg, transparent, rgba(236, 247, 255, .74), transparent);
}

.archetype-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.archetype-card {
    position: relative;
    padding: 29px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, .82);
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease;
}

.archetype-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-7px);
}

.archetype-card::after {
    position: absolute;
    top: -58px;
    left: -55px;
    width: 155px;
    aspect-ratio: 1;
    border-radius: 50%;
    content: "";
    opacity: .75;
}

.arch-rebel::after { background: radial-gradient(circle, rgba(255, 114, 0, .20), transparent 70%); }
.arch-sage::after { background: radial-gradient(circle, rgba(118, 70, 255, .20), transparent 70%); }
.arch-magician::after { background: radial-gradient(circle, rgba(0, 140, 255, .18), transparent 70%); }

.archetype-icon {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 53px;
    height: 53px;
    margin-bottom: 19px;
    border-radius: 17px;
    font-size: 1.4rem;
}

.arch-rebel .archetype-icon { color: var(--theme-orange); background: var(--theme-orange-soft); }
.arch-sage .archetype-icon { color: var(--theme-violet); background: var(--theme-blue-soft); }
.arch-magician .archetype-icon { color: var(--theme-green); background: var(--theme-green-soft); }

.archetype-card h3 {
    margin-bottom: 10px;
    font-size: 1.23rem;
    font-weight: 900;
}

.archetype-card p {
    margin-bottom: 0;
    color: var(--ink-muted);
    font-size: .89rem;
}

/*
    |--------------------------------------------------------------------------
    | Product Split
    |--------------------------------------------------------------------------
    */

.product-stack {
    display: grid;
    gap: 23px;
}

.product-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 24px;
    align-items: center;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .86);
    box-shadow: var(--shadow-sm);
}

.product-symbol {
    display: grid;
    place-items: center;
    width: 71px;
    height: 71px;
    border-radius: 22px;
    font-size: 1.85rem;
}

.product-krubik .product-symbol {
    color: var(--theme-blue);
    background: var(--theme-blue-soft);
    box-shadow: inset 0 0 0 1px rgba(118, 70, 255, .12);
}

.product-krubot .product-symbol {
    color: var(--theme-navy);
    background: var(--theme-navy-soft);
    box-shadow: inset 0 0 0 1px rgba(0, 183, 107, .13);
}

.product-card h3 {
    margin-bottom: 7px;
    font-size: 1.48rem;
    font-weight: 900;
}

.product-card p {
    max-width: 800px;
    margin-bottom: 0;
    color: var(--ink-muted);
    font-size: .91rem;
}

.product-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    border-radius: 999px;
    color: #31516b;
    background: #eef6fb;
    font-family: "ArtinSharp", "ArtinSharp", sans-serif;
    font-size: .7rem;
    font-weight: 800;
    white-space: nowrap;
}

/*
    |--------------------------------------------------------------------------
    | Multi Platform
    |--------------------------------------------------------------------------
    */

.platform-banner {
    position: relative;
    padding: clamp(28px, 5vw, 58px);
    overflow: hidden;
    border: 1px solid rgba(0, 183, 107, .22);
    border-radius: var(--radius-lg);
    color: #fff;
    background:
        radial-gradient(circle at 87% 18%, rgba(0, 183, 107, .55), transparent 15rem),
        radial-gradient(circle at 5% 98%, rgba(0, 140, 255, .48), transparent 18rem),
        linear-gradient(130deg, #071f2b, #0b3041 55%, #12354f);
    box-shadow: 0 23px 60px rgba(4, 48, 66, .24);
}

.platform-banner::before {
    position: absolute;
    inset: 0;
    opacity: .13;
    background-image:
        linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px);
    background-size: 32px 32px;
    content: "";
}

.platform-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: center;
}

.platform-content h2 {
    max-width: 670px;
    margin-bottom: 13px;
    color: #fff;
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: -.06em;
}

.platform-content p {
    max-width: 720px;
    margin-bottom: 0;
    color: rgba(238, 250, 255, .77);
}

.platform-nodes {
    display: flex;
    align-items: center;
    gap: 10px;
}

.platform-node {
    display: grid;
    place-items: center;
    width: 67px;
    height: 67px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 19px;
    background: rgba(255, 255, 255, .12);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .15);
    backdrop-filter: blur(9px);
    font-family: "ArtinSharp", sans-serif;
    font-size: .72rem;
    font-weight: 900;
}

.platform-node i {
    margin-bottom: 2px;
    color: #58ffb3;
    font-size: 1.15rem;
}

.platform-arrow {
    color: #76caff;
    font-size: 1.05rem;
}

/*
    |--------------------------------------------------------------------------
    | Capabilities
    |--------------------------------------------------------------------------
    */

.capability-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.capability {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 15px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 19px;
    background: rgba(255, 255, 255, .8);
    box-shadow: 0 8px 25px rgba(21, 55, 80, .045);
    transition: border-color .2s ease, transform .2s ease;
}

.capability:hover {
    border-color: #7646ff;
    /*border-color: #00B76B;*/
    transform: translateY(-4px);
}

.capability i {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 15px;
    color: var(--theme-green);
    background: var(--theme-green-soft);
    font-size: 1.25rem;
}

.capability:nth-child(3n + 2) i {
    color: var(--theme-navy);
    background: var(--theme-navy-soft);
}

.capability:nth-child(3n) i {
    color: var(--theme-blue);
    background: var(--theme-blue-soft);
}

.capability h3 {
    margin-bottom: 5px;
    font-size: 1rem;
    font-weight: 900;
}

.capability p {
    margin-bottom: 0;
    color: var(--ink-muted);
    font-size: .84rem;
    line-height: 1.75;
}

/*
    |--------------------------------------------------------------------------
    | Code Section
    |--------------------------------------------------------------------------
    */

.code-section {
    background: linear-gradient(180deg, transparent, rgba(239, 247, 252, .82), transparent);
}

.code-shell {
    overflow: hidden;
    border: 1px solid rgba(0, 140, 255, .16);
    border-radius: var(--radius-lg);
    background: #fafdff;
    box-shadow: var(--shadow-md);
}

.code-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 14px 19px;
    border-bottom: 1px solid #dcecf6;
    background: #f0f8fd;
}

.code-dots {
    display: flex;
    gap: 7px;
}

.code-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.code-dots span:nth-of-type(1) { background: #ff6d5f; }
.code-dots span:nth-of-type(2) { background: #ffba3b; }
.code-dots span:nth-of-type(3) { background: #00b76b; }

.code-file {
    color: #4b657a;
    font-family: "Fira Code", monospace;
    font-size: .76rem;
    font-weight: 700;
}

.copy-code {
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid #cfe3f1;
    border-radius: 9px;
    color: #28608d;
    background: #fff;
    font-size: .72rem;
    font-weight: 800;
}

.code-body {
    direction: ltr;
    /*max-height: 630px;*/
    margin: 0;
    padding: 24px;
    overflow: auto;
    color: #254054; /* This will be overridden by Prism.js */
    background:
        linear-gradient(90deg, rgba(0, 140, 255, .035) 1px, transparent 1px);
    background-size: 38px 100%;
    font-family: "Fira Code", monospace;
    font-size: clamp(.68rem, 1.5vw, .86rem);
    line-height: 1.8;
    tab-size: 4;
    text-align: left;
}

/* These custom highlighting rules will be mostly overridden by Prism.js */
.code-body .keyword { color: #7c3aed; font-weight: 700; }
.code-body .class-name { color: #006fc9; }
.code-body .method { color: #d75a00; }
.code-body .string { color: #00965d; }
.code-body .comment { color: #8194a5; font-style: italic; }
.code-body .attribute { color: #c20074; }

.code-footnote {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 17px;
    color: var(--theme-navy);
    font-size: .84rem;
    padding-inline-start: 2rem;
    padding-bottom: 1rem;
}

.code-footnote i {
    color: var(--theme-green);
}

/*
    |--------------------------------------------------------------------------
    | Before / After
    |--------------------------------------------------------------------------
    */

.compare-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    align-items: stretch;
}

.compare-card {
    padding: 30px;
    border-radius: 23px;
}

.compare-before {
    border: 1px solid rgba(255, 114, 0, .18);
    background: linear-gradient(145deg, #fffdfa, #fff4e9);
}

.compare-after {

    /* border: 1px solid rgba(0, 183, 107, .19);
    background: linear-gradient(145deg, #fbfffd, #eafff3); */

    border: 1px solid var(--theme-green-border-soft);
    background: linear-gradient(
        145deg,
        var(--theme-green-surface-start),
        var(--theme-green-surface-end)
    );

}

.compare-card h3 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 19px;
    font-size: 1.3rem;
    font-weight: 900;
}

.compare-before h3 i { color: var(--theme-orange); }
.compare-after h3 i { color: var(--theme-navy); }

.compare-card ul {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.compare-card li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #506477;
    font-size: .89rem;
}

.compare-before li i { color: var(--theme-orange); }
.compare-after li i { color: var(--theme-navy); }

.compare-arrow {
    display: grid;
    place-items: center;
    color: var(--theme-blue);
    font-size: 1.8rem;
}

/*
    |--------------------------------------------------------------------------
    | Manifesto
    |--------------------------------------------------------------------------
    */

.manifesto {
    position: relative;
    overflow: hidden;
}

.manifesto-box {
    position: relative;
    padding: clamp(31px, 6vw, 76px);
    overflow: hidden;
    border: 1px solid rgba(118, 70, 255, .19);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 8% 11%, rgba(244, 46, 157, .14), transparent 15rem),
        radial-gradient(circle at 89% 86%, rgba(0, 140, 255, .13), transparent 20rem),
        #fff;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.manifesto-symbol {
    display: grid;
    place-items: center;
    width: 67px;
    height: 67px;
    margin: 0 auto 20px;
    border-radius: 22px;
    color: #fff;
    background: linear-gradient(135deg, var(--theme-violet), var(--theme-blue), var(--theme-green));
    box-shadow: 0 13px 31px rgba(118, 70, 255, .25);
    font-size: 1.6rem;
}

.manifesto-box h2 {
    max-width: 860px;
    margin: 0 auto 20px;
    font-size: clamp(1.9rem, 4vw, 3.3rem);
    font-weight: 900;
    letter-spacing: -.065em;
}

.manifesto-box > p {
    max-width: 815px;
    margin: 0 auto;
    color: var(--ink-muted);
    font-size: 1.03rem;
}

.manifesto-lines {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.manifesto-lines span {
    padding: 8px 12px;
    border: 1px solid rgba(118, 70, 255, .15);
    border-radius: 999px;
    color: #4a3e73;
    background: rgba(118, 70, 255, .055);
    font-size: .79rem;
    font-weight: 800;
}

/*
    |--------------------------------------------------------------------------
    | FAQ
    |--------------------------------------------------------------------------
    */

.faq-list {
    max-width: 900px;
    margin: auto;
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 21px 4px;
    color: var(--ink-strong);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 900;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary i {
    color: var(--theme-blue);
    transition: transform .2s ease;
}

.faq-item[open] summary i {
    transform: rotate(45deg);
}

.faq-item p {
    max-width: 800px;
    margin: -2px 4px 20px;
    color: var(--ink-muted);
    font-size: .91rem;
}

/*
    |--------------------------------------------------------------------------
    | Community CTA
    |--------------------------------------------------------------------------
    */

.community-box {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 40px;
    align-items: center;
    padding: clamp(28px, 5vw, 60px);
    border: 1px solid rgba(0, 140, 255, .17);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 90% 10%, rgba(0, 140, 255, .15), transparent 16rem),
        radial-gradient(circle at 3% 88%, rgba(0, 183, 107, .13), transparent 17rem),
        #fff;
    box-shadow: var(--shadow-md);
}

.community-copy h2 {
    margin-bottom: 14px;
    font-size: clamp(1.85rem, 3.5vw, 2.8rem);
    font-weight: 900;
    letter-spacing: -.06em;
}

.community-copy p {
    max-width: 490px;
    margin-bottom: 0;
    color: var(--ink-muted);
}

#contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
}

.form-field {
    width: 100%;
    min-height: 51px;
    padding: 0 14px;
    border: 1px solid #d6e5ef;
    border-radius: 13px;
    outline: none;
    color: var(--ink);
    background: rgba(252, 254, 255, .89);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.form-field:focus {
    border-color: var(--theme-green);
    box-shadow: 0 0 0 4px rgba(0, 140, 255, .1);
}

.form-field::placeholder {
    color: #91a3b1;
}

.form-full {
    grid-column: 1 / -1;
}

#contact-form .btn {
    width: 100%;
    border: 0;
}

.form-result {
    display: none;
    grid-column: 1 / -1;
    padding: 10px 13px;
    border-radius: 11px;
    color: #087c51;
    background: var(--theme-navy-soft);
    font-size: .82rem;
    font-weight: 700;
}

.form-result.is-visible {
    display: block;
}

/*
    |--------------------------------------------------------------------------
    | Footer
    |--------------------------------------------------------------------------
    */

.site-footer {
    margin-top: 96px;
    padding: 64px 0 26px;
    border-top: 1px solid var(--line);
    background: #f1f8fc;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr repeat(3, 1fr);
    gap: 35px;
}

.footer-brand p {
    max-width: 300px;
    margin: 16px 0 0;
    color: var(--ink-muted);
    font-size: .86rem;
}

.footer-title {
    margin-bottom: 13px;
    color: #173148;
    font-size: .88rem;
    font-weight: 900;
}

.footer-links {
    display: grid;
    gap: 8px;
}

.footer-links a {
    width: fit-content;
    color: #547086;
    font-size: .82rem;
    transition: color .2s ease, transform .2s ease;
}

.footer-links a:hover {
    color: var(--theme-blue);
    transform: translateX(-4px);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 48px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: #6b8294;
    font-size: .75rem;
}

.footer-bottom strong {
    color: var(--theme-blue);
}

.socials {
    display: flex;
    gap: 9px;
}

.socials a {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid #d2e1eb;
    border-radius: 10px;
    color: #496b82;
    background: rgba(255, 255, 255, .7);
    transition: transform .2s ease, color .2s ease, border-color .2s ease;
}

.socials a:hover {
    border-color: var(--theme-blue);
    color: var(--theme-blue);
    transform: translateY(-3px);
}

/*
    |--------------------------------------------------------------------------
    | Responsive Rules
    |--------------------------------------------------------------------------
    */

@media (max-width: 1024px) {
    .main-nav {
        gap: 16px;
    }

    .main-nav a {
        font-size: .8rem;
    }

    .story-grid,
    .community-box {
        grid-template-columns: 1fr;
    }

    .casting-visual {
        min-height: 390px;
        max-width: 700px;
        width: 100%;
        margin-inline: auto;
    }

    .footer-grid {
        grid-template-columns: 1.25fr 1fr 1fr;
    }

    .footer-grid > :first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 820px) {
    .site-header {
        backdrop-filter: blur(13px);
    }

    .header-inner {
        min-height: 71px;
    }

    .menu-toggle {
        display: grid;
        place-items: center;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 9px);
        right: 20px;
        left: 20px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 3px;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 17px;
        background: rgba(255, 255, 255, .96);
        box-shadow: var(--shadow-md);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a {
        padding: 10px;
    }

    .main-nav a::after {
        display: none;
    }

    .header-actions .btn {
        display: none;
    }

    .rebellion-panel,
    .platform-content {
        grid-template-columns: 1fr;
    }

    .archetype-grid {
        grid-template-columns: 1fr;
    }

    .product-card {
        grid-template-columns: auto 1fr;
    }

    .product-label {
        grid-column: 1 / -1;
        width: fit-content;
    }

    .platform-nodes {
        justify-content: flex-start;
    }

    .compare-grid {
        grid-template-columns: 1fr;
    }

    .compare-arrow {
        height: 30px;
        transform: rotate(270deg);
    }
}

@media (max-width: 640px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .section {
        padding: 78px 0;
    }

    .hero {
        padding-top: 65px;
    }

    .hero h1 {
        font-size: clamp(2.28rem, 12vw, 3.4rem);
    }

    .hero-actions .btn {
        width: 100%;
    }

    .chaos-list,
    .capability-list,
    #contact-form {
        grid-template-columns: 1fr;
    }

    .form-full {
        grid-column: auto;
    }

    .casting-visual {
        min-height: 330px;
    }

    .orbit-two {
        width: 315px;
    }

    .orbit-one {
        width: 210px;
    }

    .orbit-tag {
        font-size: .64rem;
    }

    .tag-one {
        top: 11%;
        right: 6%;
    }

    .tag-two {
        bottom: 11%;
        left: 4%;
    }

    .tag-three {
        bottom: 7%;
        right: 5%;
    }

    .product-card {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .platform-nodes {
        gap: 6px;
    }

    .platform-node {
        width: 58px;
        height: 58px;
        border-radius: 16px;
        font-size: .63rem;
    }

    .platform-arrow {
        font-size: .8rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px 18px;
    }

    .footer-grid > :first-child {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 410px) {
    .brand {
        font-size: 1.25rem;
    }

    .brand-mark {
        width: 34px;
        height: 34px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
