/*------------------------------------------------------------------FONTS---------------------------------------------------------------------------------------*/
@import url('https://fonts.googleapis.com/css2?family=Lexend+Zetta:wght@100..900&family=Libre+Barcode+39+Text&family=Libre+Caslon+Display&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Libre+Barcode+128&display=swap');
/*------------------------------------------------------------------FONTS---------------------------------------------------------------------------------------*/



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    background-color: #000000;
    overflow: hidden; 
}




/* ------------------- SCROLL ANIM ------------------- */
.main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#particleCanvas {
    display: block;
    max-width: 100%;
    height: auto;
}


.main-down {
    position: absolute;
    bottom: 40px; 
    left: 50%; 
    transform: translateX(-50%); 
}

.main-down-text {
    font-family: "Lexend Zetta", sans-serif;
    font-weight: 100;
    font-size: 10px;
    color: whitesmoke; 
    text-align: center;
    letter-spacing: 2px; 
}

.slogan-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-title {
    font-family: "Lexend Zetta", sans-serif;
    font-weight: 300;
    font-size: 18px;
    color: #ffffff;
    text-align: center;
    letter-spacing: 2px;
    text-transform: none;
}
.scroll-container {
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background-color: #030303;
}

.slider-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide {
    height: 100vh; 
    width: 100vw;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: scale(0.92) translateY(8vh);
    filter: brightness(0.1);
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 1.5s cubic-bezier(0.16, 1, 0.3, 1),
                filter 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide.active {
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: brightness(1);
}

.slide .step-title,
.slide .main-title,
.slide .skills-title,
.slide .works-title,
.slide .step-desc,
.slide .final-subtitle {
    clip-path: inset(100% 0 0 0);
    transform: translateY(40px);
    opacity: 0;
    transition: clip-path 2.1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 2.1s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 2.1s ease;
}

.slide.active .step-title,
.slide.active .main-title,
.slide.active .skills-title,
.slide.active .works-title {
    clip-path: inset(0 0 0 0);
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.3s;
}

.slide.active .step-desc,
.slide.active .final-subtitle {
    clip-path: inset(0 0 0 0);
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.45s;
}




/* ------------------- HEADER ------------------- */
.top-header {
    position: absolute; 
    top: 40px;          
    left: 40px;         
    right: 40px;        
    
    display: flex;
    justify-content: space-between;
    align-items: flex-start; 
}

.top-header {
    position: absolute;
    top: 40px;
    left: 40px;
    right: 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.logo {
    font-family: 'Libre Caslon Display', serif; 
    font-size: 29px;
    color: #ffffff;
    letter-spacing: 2px;
}

.hire-btn {
    font-family: 'Libre Barcode 39 Text', sans-serif; 
    
    font-size: 39px; 
    
    color: #ffffff;
    text-decoration: none; 
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.hire-btn:hover {
    opacity: 0.6;
}


/* ------------------- HEADER ANIM ------------------- */

.logo {
    opacity: 0;
    transform: translateY(-100px); 
    transition: opacity 1.1s ease-out, transform 1.1s ease-out;
    
}

.hire-btn {
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 1.1s ease-out, transform 1.1s ease-out;
}


.slide.active .logo,
.slide.active .hire-btn {
    opacity: 1;
    transform: translateY(0); 
}


.slide.active .logo {
    transition-delay: 0.6s; 
}
.slide.active .hire-btn {
    transition-delay: 0.9s; 
}



/*--------------------CARDS--------------------------*/

.step-counter{
    font-family: 'Lexend Zetta';
    font-weight: 100;
    font-size: 125;
    color: whitesmoke;
}
.step-title{
    font-family: 'Lexend Zetta';
    font-weight: 500;
    color: white;
}
.step-desc{
    font-family: 'Lexend Zetta';
    font-weight: 200;
    color: grey;
}
/*--------------------CARDS --------------------------*/

.cards-stack-container {
    position: absolute;
    top: 50%;
    right: 15%; 
    transform: translateY(-50%);
    width: 350px; 
    height: 500px; 
    z-index: 10; 
    pointer-events: none; 
    perspective: 1500px;
}

.stacked-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    border-radius: 15px; 
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7); 
    opacity: 0;
    transform: translateY(200px) scale(0.6) rotateX(-30deg);
    z-index: 1;
}

.stacked-card.active-card {
    z-index: 2;
    animation: riseFromAshes 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.stacked-card.burned {
    z-index: 5;
    animation: burnAway 1.4s cubic-bezier(0.55, 0.055, 0.675, 0.19) forwards;
}

@keyframes riseFromAshes {
    0% {
        opacity: 0;
        transform: translateY(150px) scale(0.8) rotateX(-20deg);
        filter: brightness(0) blur(20px) sepia(1) hue-rotate(-30deg);
    }
    50% {
        opacity: 0.6;
        filter: brightness(1.5) blur(8px) sepia(0.8) hue-rotate(-15deg) saturate(3);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0deg);
        filter: brightness(1) blur(0) sepia(0) hue-rotate(0) saturate(1);
    }
}

@keyframes burnAway {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0deg);
        filter: brightness(1) blur(0) sepia(0) hue-rotate(0) saturate(1);
    }
    30% {
        opacity: 1;
        transform: translateY(-20px) scale(1.05) rotateX(5deg);
        filter: brightness(2) contrast(1.5) sepia(1) hue-rotate(-15deg) saturate(5) blur(3px);
    }
    100% {
        opacity: 0;
        transform: translateY(-150px) scale(1.1) rotateX(25deg);
        filter: brightness(3) contrast(2) sepia(1) hue-rotate(-30deg) saturate(0) blur(20px);
    }
}
.content-split {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
}
.text-col {
    width: 45%; 
}


/*--------SKILLS-------------*/

.skills-slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.skills-title {
    font-family: 'Lexend Zetta', sans-serif;
    font-size: 14px;
    letter-spacing: 4px;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 50px;
    margin-top: -50px; 
}


.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 450px; 
    display: flex;
    justify-content: center;
    align-items: center;
}

/*----------------ENDING---------------*/
.final-slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.final-center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.final-subtitle {
    font-family: 'Lexend Zetta', sans-serif;
    font-size: 14px;
    letter-spacing: 2px;
    color: grey;
    margin-bottom: 20px;
}

.final-hire-btn {
    font-family: 'Libre Barcode 39 Text', sans-serif; 
    font-size: 80px; 
    color: #ffffff;
    text-decoration: none;
    line-height: 1; 
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.final-hire-btn:hover {
    opacity: 0.7;
    transform: scale(1.05); 
}


.final-footer {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.final-footer p {
    font-family: 'Exo 2', sans-serif;
    font-size: 10px;
    color: #4d4d4d; 
    letter-spacing: 2px;
    font-weight: 300;
}



/*-----------------Contact-------------------*/
.contact-corner-btn {
    position: absolute;
    bottom: 40px;
    right: 40px;
    font-family: 'Lexend Zetta', sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 2px;
    
    /* Робимо з тексту кнопку-капсулу */
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 24px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.contact-corner-btn:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

/* ------------------- WORKS SLIDE ------------------- */
.works-slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.works-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.works-barcode {
    font-family: 'Libre Barcode 39 Text', sans-serif;
    font-size: 60px;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: -15px;
}

.works-title {
    font-family: 'Lexend Zetta', sans-serif;
    font-size: 4vw; /* Розмір адаптується під ширину екрана */
    font-weight: 700;
    letter-spacing: 5px;
    color: #ffffff;
    text-transform: uppercase;
}

.works-btn-large {
    display: inline-block;
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 20px 50px;
    font-family: 'Lexend Zetta', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 3px;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.works-btn-large:hover {
    background: #ffffff;
    color: #000000;
    border-color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

/* =========================================
   CUSTOM CYBER SCROLLBAR
   ========================================= */

/* Загальна ширина смуги прокрутки */
::-webkit-scrollbar {
    width: 6px; /* Робимо її дуже тонкою та елегантною */
}

/* Трек (фон, по якому їздить повзунок) */
::-webkit-scrollbar-track {
    background: #030303; /* Глибокий чорний колір */
    border-left: 1px solid rgba(255, 255, 255, 0.05); /* Тонка ледь помітна лінія розділення */
}

/* Сам повзунок (який ми тягнемо) */
::-webkit-scrollbar-thumb {
    background: #333333; /* Темно-сірий колір у спокійному стані */
    border-radius: 0px; /* Ніяких заокруглень! Строгі, різкі системні кути */
    border-left: 1px solid #000000; /* Мікро-відступ від краю */
}

/* Повзунок при наведенні мишки */
::-webkit-scrollbar-thumb:hover {
    background: #ffffff; /* Спалахує чистим білим кольором, коли берешся за нього */
}

/* =========================================
   ПЕРЕМИКАЧ МОВИ (LANG SWITCHER)
   ========================================= */
.lang-switch {
    display: flex;
    gap: 8px;
    align-items: center;
    font-family: 'Lexend Zetta', sans-serif;
    font-size: 10px;
    letter-spacing: 2px;
    color: #4d4d4d;
    z-index: 1000;
}

.lang-btn {
    cursor: pointer;
    transition: color 0.3s ease;
}

.lang-btn:hover {
    color: #808080;
}

.lang-btn.active {
    color: #ffffff;
    pointer-events: none; 
}

.lang-divider {
    color: #333333;
}
/* =========================================
   ПРОГРАМОВАНІ КАРТКИ НАВИЧОК (OUR SKILLS)
   ========================================= */


.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    height: 520px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
}

.skill-card {
    position: absolute;
    width: 320px;
    height: 470px;
    border-radius: 24px;
    background: linear-gradient(145deg, #1f1f1f, #0a0a0a);
    border: 1px solid #333;
    display: flex;
    flex-direction: column;
    padding: 2px;
    box-sizing: border-box;
    cursor: pointer;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
                filter 1.2s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
}

.skill-card.center-card {
    transform: translateX(0) translateZ(50px) scale(1) rotateY(0deg);
    z-index: 3;
    opacity: 1;
    filter: brightness(1) blur(0px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.9), 0 0 40px rgba(255,255,255,0.05);
}

.skill-card.left-card {
    transform: translateX(-70%) translateZ(-150px) scale(0.85) rotateY(25deg);
    z-index: 2;
    opacity: 0.6;
    filter: brightness(0.2) blur(6px);
    box-shadow: none;
}

.skill-card.right-card {
    transform: translateX(70%) translateZ(-150px) scale(0.85) rotateY(-25deg);
    z-index: 2;
    opacity: 0.6;
    filter: brightness(0.2) blur(6px);
    box-shadow: none;
}

.skill-card.left-card:hover {
    filter: brightness(0.4) blur(3px);
    transform: translateX(-75%) translateZ(-120px) scale(0.88) rotateY(20deg);
}

.skill-card.right-card:hover {
    filter: brightness(0.4) blur(3px);
    transform: translateX(75%) translateZ(-120px) scale(0.88) rotateY(-20deg);
}

.skill-card.center-card:hover {
    transform: translateX(0) translateZ(80px) scale(1.02) rotateY(0deg);
    box-shadow: 0 40px 80px rgba(0,0,0,1), 0 0 60px rgba(255,255,255,0.08);
}

.skill-icon {
    width: 48px;
    height: 48px;
    color: #aaa;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.skill-card.center-card:hover .skill-icon {
    transform: scale(1.15) translateY(-5px);
    color: #ffffff;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.5));
}

.skill-card-inner {
    width: 100%; height: 100%; background: #111; border-radius: 22px;
    padding: 35px 28px; 
    display: flex; flex-direction: column; box-sizing: border-box;
}
.skill-header { display: flex; justify-content: space-between; align-items: flex-start; }

.skill-title { 
    font-family: 'Lexend Zetta';
    font-weight: 900;
    font-size: 18px; 
    line-height: 1.3; 
    color: #fff; margin: 0; letter-spacing: 1px; 
}
.skill-icon { 
    width: 48px; 
    height: 48px; 
    color: #fff; 
}
.barcode-text
{
    font-family: 'Libre Barcode 39 Text', sans-serif; 
    
    font-size: 39px; 
    
    color: #ffffff;
    text-decoration: none; 
    cursor: pointer;
    transition: opacity 0.3s ease;
}
.skill-icon svg { width: 100%; height: 100%; }

.skill-body {
    background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px; padding: 24px 20px; margin-top: 30px;
    flex-grow: 1; display: flex; align-items: center;
    font-family: 'Lexend Zetta';
    font-weight: 200;
}
.skill-body p { 
    font-size: 12px; 
    line-height: 1.7; 
    color: #a0a0a0; text-align: center; margin: 0; 
}

.skill-footer { display: flex; flex-direction: column; align-items: center; margin-top: 30px; }
.barcode-text {
    font-family: 'Lexend Zetta';
    font-size: 11px;
    color: #ffffff;
    letter-spacing: 8px; 
    font-weight: 300;
    text-transform: uppercase;
    margin-top: 5px;

}
/* =========================================
   Ukrainian Fonts
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&display=swap');
@font-face {
    font-family: 'KyivTypeVar';

    src: url('fonts/KyivTypeSans-VarGX.ttf') format('truetype');
    
    font-weight: 100 900; 
    font-style: normal;
    font-display: swap; 
}
@font-face {
    font-family: 'KyivTypeVarSerif';
    src: url('fonts/KyivTypeSerif-VarGX.ttf') format('truetype');

    font-weight: 100 900; 
    font-style: normal;
    font-display: swap; 
}
@font-face {
    font-family: 'KyivTypeVarTitle';

    src: url('fonts/KyivTypeTitling-VarGX.ttf') format('truetype');

    font-weight: 100 900; 
    font-style: normal;
    font-display: swap; 
}


body.ua-lang {
    font-family: 'Manrope', sans-serif !important;
}


body.ua-lang h1,  
body.ua-lang h4, 
body.ua-lang h5, 
body.ua-lang h6,  
body.ua-lang .btn-text, 
body.ua-lang .lang-switch,
body.ua-lang .step-title,
body.ua-lang .skills-title,
body.ua-lang .main-title,
body.ua-lang .link-label,
body.ua-lang .service-name,
body.ua-lang .works-btn-large,
body.ua-lang .step-desc,

body.ua-lang label {
    font-family: 'KyivTypeVar', sans-serif !important;
    font-weight: 100; 
}
body.ua-lang .main-title{
    font-family: 'KyivTypeVarSerif', sans-serif !important;
    font-weight: 400;
    letter-spacing: 6px;
}
body.ua-lang .step-title{
    font-weight: 700;
    letter-spacing: 4.2px;
}
body.ua-lang .step-desc{
    font-weight: 100;
    letter-spacing: 2.5px;
    font-size: 20px;
}
body.ua-lang .skills-title{
    font-family: 'KyivTypeVar', sans-serif !important;
    font-weight: 900;
    font-size: 20px;
    letter-spacing: 2px;
}
body.ua-lang .works-btn-large{
    font-family: 'KyivTypeVar', sans-serif !important;
    font-weight: 700;
    letter-spacing: 0.4px;
}
body.ua-lang .service-price{
    font-family: 'KyivTypeVar', sans-serif !important;
    font-weight: 900;
    font-size: 26px;
    letter-spacing: 2px;
}
body.ua-lang .service-name{
    font-family: 'KyivTypeVar', sans-serif !important;
    font-weight: 500;
    letter-spacing: 2px;
}
body.ua-lang .price-barcode{
    font-family: 'KyivTypeVar', sans-serif !important;
    font-weight: 900;
    font-size: 50px;
    letter-spacing: 2px;
}
body.ua-lang .hero-title{
    font-family: 'KyivTypeVar', sans-serif !important;
    font-weight: 800;
    letter-spacing: 17px;
}
body.ua-lang #hero-design{
    font-family: 'KyivTypeVar', sans-serif !important;
    font-weight: 800;
    letter-spacing: 2px;
}
body.ua-lang .hero-desc{
    font-family: 'KyivTypeVar', sans-serif !important;
    font-weight: 200;
    letter-spacing: 2px;
}
body.ua-lang .feature-item{
    font-family: 'KyivTypeVar', sans-serif !important;
    font-weight: 100;
    color: black;
}
body.ua-lang h3{
    font-family: 'KyivTypeVar', sans-serif !important;
    font-weight: 900;
    letter-spacing: 4px;
    color: #ffffff;
}
body.ua-lang .section-title{
    font-family: 'KyivTypeVar', sans-serif !important;
    font-weight: 400;
    letter-spacing: 2px;
    letter-spacing: 5px;
}
body.ua-lang p{
    font-family: 'KyivTypeVar', sans-serif !important;
    font-weight: 200;
    letter-spacing: 2px;
    color: grey;
}
body.ua-lang .works-title{
    font-weight: 700;
    letter-spacing: 0.2px;
}

body.ua-lang .final-subtitle{
    font-family: 'KyivTypeVar', sans-serif !important;
    font-size: 15px;
    font-weight: 500;
    color:grey;
}
body.ua-lang .store-title{
    font-family: 'KyivTypeVar', sans-serif !important;
    font-size: 25px;
    font-weight: 400;
    letter-spacing: 5px;
}
body.ua-lang .buy-btn-large{
    font-family: 'KyivTypeVar', sans-serif !important;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.7px;
}
body.ua-lang h2{
    font-family: 'KyivTypeVar', sans-serif !important;
    font-weight: 500;
    letter-spacing: 5px;
    color: #ffffff;
}
body.ua-lang .main-down-text{
    font-family: 'KyivTypeVar', sans-serif !important;
    font-weight: 100;
    color: rgba(221, 219, 219, 0.986);
    letter-spacing: 4px;
}
body.ua-lang .barcode-text{
    font-family: 'KyivTypeVar', sans-serif !important;
    font-weight: 300;
    font-size: 8px;
    letter-spacing: 5px;
}
body.ua-lang .step-counter{
    font-family: 'KyivTypeVar', sans-serif !important;
    font-weight: 100;
    letter-spacing: 3px;
}
body.ua-lang .buy-btn{
    font-family: 'KyivTypeVar', sans-serif !important;
    font-weight: 400;
}




#skillbtn{
    transform: none;
}
body.ua-lang .typed-text {
    font-family: 'KyivTypeVar', sans-serif !important;
    font-weight: 900;
    font-size: 20px;
}
body.ua-lang .card-text{
    font-family: 'KyivTypeVar', sans-serif !important;
    font-weight: 500;
    letter-spacing: 3px;
}
/* =========================================
   ШТРИХКОД КНОПКА (ЧИСТИЙ ВАРІАНТ БЕЗ БАГІВ)
   ========================================= */
/* =========================================
   ШТРИХКОД КНОПКА (З АНІМАЦІЄЮ ВИЛЬОТУ)
   ========================================= */

.hire-btn-barcode {
    display: inline-flex;
    flex-direction: column; 
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    
    /* Задаємо початкову позицію */
    transform: translateX(0) scale(1);
    
    /* Додаємо плавність для руху та прозорості (така ж як у перемикача мови) */
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease;
}

/* Анімація при наведенні */
.hire-btn-barcode:hover {
    transform: translateX(0) scale(1.05); /* Зберігаємо позицію, але збільшуємо */
    opacity: 0.8;
}

/* Стан "вилетів вправо" (цей клас буде додавати JS під час гортання) */
.hire-btn-barcode.fly-out-right {
    opacity: 0;
    transform: translateX(40px) scale(1); /* Відкидаємо вправо на 40 пікселів */
    pointer-events: none; /* Щоб кнопка не реагувала на мишку, поки зникає */
}

.barcode-lines {
    position: relative;
    font-family: 'Libre Barcode 128', cursive; 
    font-size: 30px; 
    color: #ffffff; 
    font-weight: normal;
    letter-spacing: 0px;
    line-height: 0.2;
}

.barcode-lines::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1.5px; 
    background: #b06f7e; 
    box-shadow: 0 0 8px #ff003c, 0 0 15px #ff003c; 
    opacity: 0; 
    z-index: 10;
    pointer-events: none; 
}


.hire-btn-barcode:hover .barcode-lines::after {
    animation: scannerSwipe 1.2s infinite ease-in-out;
}


@keyframes scannerSwipe {
    0% { 
        top: -150%; 
        opacity: 0; 
    }
    15% { 
        opacity: 1; 
    }
    85% { 
        opacity: 1; 
    }
    100% { 
        top: 100%; 
        opacity: 0; 
    }
}


.noclick{
    pointer-events: none; /* Prevents all mouse click, hover, and tap interactions */
    cursor: default;     /* Reverts the pointer cursor back to the default arrow */
    text-decoration: none; /* Optional: removes the standard hyperlink underline */
    color: inherit; 
}
#lastHire
{
    font-size: 50px;
}
#lastHireBar{
    font-size: 90px;
    margin-top: 35px;
}

body.ua-lang #lastHire
{
    font-size: 50px;
    letter-spacing: 0px;
}
body.ua-lang #lastHireBar
{
    font-size: 100px;
    margin-top: 35px;
}
body.ua-lang .creationbarcodetext
{
    font-size: 25px;
    letter-spacing: 18px;

}
body.ua-lang .cta-title
{
    font-size: 20px;
    letter-spacing: 10px;

}
.storebarcode{
    font-size: 50px;
}
.barstoreback
{
    font-size: 13px;
    letter-spacing: 15px;
    margin-left: 10px;
}
body.ua-lang .storebarcodetext
{
    font-size: 13px;
    letter-spacing: 13px;

}
body.ua-lang .barstoreback
{
    font-size: 13px;
    letter-spacing: 13px;

}
.creationbarcode
{
    margin-top: 15px;
    font-size: 90px;
}
.creationbarcodetext
{
    font-size: 20px;
    letter-spacing: 15px;
}
.contacttext{
    margin-bottom: 10px;
    color: rgba(131, 125, 125, 0.229);
}
.conactbar{
    color: rgba(131, 125, 125, 0.229);
}
.portfoliobar
{
    color: rgba(131, 125, 125, 0.598);
    font-size: 90px;
    letter-spacing: 0px;
}
.portfoliotext
{
    color: rgba(131, 125, 125, 0.598);
}
.legal-links {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.legal-links a {
    font-family: 'Lexend Zetta', sans-serif;
    font-size: 8px;
    color: #4d4d4d;
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

body.ua-lang .legal-links a {
    font-family: 'KyivTypeVar', sans-serif !important;
    font-weight: 400;
    letter-spacing: 1.5px;
}

.legal-divider {
    font-family: 'Lexend Zetta', sans-serif;
    font-size: 8px;
    color: #333333;
}

.legal-links a:hover {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}
body.legal-page {
    overflow-y: auto;
    overflow-x: hidden;
    background-color: #000000;
    color: #ffffff;
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 180px 5% 50px 5%;
}

.legal-title {
    font-family: 'Lexend Zetta', sans-serif;
    font-size: 3vw;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 60px;
    letter-spacing: 2px;
}

.legal-content {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-bottom: 80px;
}

.legal-section h2 {
    font-family: 'Lexend Zetta', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.legal-section p, 
.legal-section li {
    font-family: 'Lexend Zetta', sans-serif;
    font-size: 12px;
    font-weight: 200;
    color: #888;
    line-height: 1.8;
}

.legal-section ul {
    list-style-type: none;
    padding-left: 0;
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.legal-section li {
    position: relative;
    padding-left: 20px;
}

.legal-section li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 1px;
    background-color: #ffffff;
}

body.ua-lang .legal-title {
    font-family: 'KyivTypeVar', sans-serif !important;
    font-weight: 600;
    letter-spacing: 4px;
}

body.ua-lang .legal-section h2 {
    font-family: 'KyivTypeVar', sans-serif !important;
    font-weight: 500;
    letter-spacing: 2px;
}

body.ua-lang .legal-section p,
body.ua-lang .legal-section li {
    font-family: 'KyivTypeVar', sans-serif !important;
    font-weight: 200;
    letter-spacing: 1.5px;
}

@media (max-width: 768px) {
    .legal-title {
        font-size: 24px !important;
    }
    body.ua-lang .legal-title {
        font-size: 20px !important;
    }
    .legal-container {
        padding: 120px 20px 40px 20px !important;
    }
    .legal-content {
        gap: 35px;
    }
}
.top-header.static-header {
    z-index: 1000;
}

.legal-page .back-btn {
    font-family: 'Lexend Zetta', sans-serif;
    font-size: 10px;
    font-weight: 300;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 5px;
    transition: border-color 0.3s ease, color 0.3s ease;
}

body.ua-lang .legal-page .back-btn {
    font-family: 'KyivTypeVar', sans-serif !important;
    font-weight: 400;
    letter-spacing: 2px;
}

.legal-page .back-btn:hover {
    border-color: #ffffff;
    color: #aaaaaa;
    
}
/* =========================================
   ВИРІВНЮВАННЯ ШАПКИ
   ========================================= */
.top-header {
    position: absolute;
    top: 40px;
    left: 40px;
    right: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.top-header .logo {
    position: absolute;
    left: 50%;

    font-family: 'Libre Caslon Display', serif;
    font-size: 29px;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 2px;
}

.back-btn {
    font-family: 'Lexend Zetta', sans-serif;
    font-size: 10px;
    font-weight: 300;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 5px;
    transition: all 0.3s ease;
    z-index: 10;
}

body.ua-lang .back-btn {
    font-family: 'KyivTypeVar', sans-serif !important;
    font-weight: 400;
}

.back-btn:hover {
    border-color: #ffffff;
    color: #aaaaaa;
}

/* =========================================
   ШРИФТИ ЮРИДИЧНИХ СТОРІНОК
   ========================================= */
.legal-title { font-family: 'Lexend Zetta', sans-serif !important; font-size: 30px; font-weight: 700; margin-bottom: 50px; letter-spacing: 2px; }
.legal-section h2 { font-family: 'Lexend Zetta', sans-serif !important; font-size: 16px; font-weight: 500; color: #ffffff; margin-bottom: 20px; letter-spacing: 2px; }
.legal-section p, .legal-section li { font-family: 'Lexend Zetta', sans-serif !important; font-size: 12px; font-weight: 200; color: #888; line-height: 1.8; margin-bottom: 10px; }

body.ua-lang .legal-title { font-family: 'KyivTypeVar', sans-serif !important; font-weight: 600; letter-spacing: 4px; }
body.ua-lang .legal-section h2 { font-family: 'KyivTypeVar', sans-serif !important; font-weight: 500; letter-spacing: 2px; }
body.ua-lang .legal-section p, body.ua-lang .legal-section li { font-family: 'KyivTypeVar', sans-serif !important; font-weight: 200; letter-spacing: 1.5px; }

/* =========================================
   ФУТЕР
   ========================================= */
.legal-page .relative-footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 80px;
    padding-bottom: 30px;
}

.legal-page .relative-footer p {
    font-family: 'Lexend Zetta', sans-serif !important;
    font-size: 10px !important;
    color: #888 !important;
    letter-spacing: 2px !important;
    margin-bottom: 15px !important;
    text-transform: uppercase;
}

body.ua-lang .legal-page .relative-footer p {
    font-family: 'KyivTypeVar', sans-serif !important;
    font-weight: 300 !important;
}

/* Ховаємо сині посилання якщо CSS ефектів не підвантажився вчасно */
.mobile-menu {
    display: none;
}
.mobile-menu.open {
    display: flex;
}
/* =========================================
   ІДЕАЛЬНЕ ВИРІВНЮВАННЯ ФУТЕРІВ
   ========================================= */
.final-footer, 
.relative-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.final-footer {
    width: max-content; /* Блок стискається по ширині найбільшого рядка */
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.final-footer p, 
.relative-footer p {
    margin: 0 0 10px 0 !important; /* Прибираємо зайві відступи і робимо рівний відступ знизу */
    text-align: center;
    width: 100%;
}

.legal-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 0 !important;
    width: 100%;
}
.top-header {
    position: absolute !important;
    top: 40px !important;
    left: 0 !important;
    right: auto !important;
    width: 100% !important;
    padding: 0 40px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    z-index: 1000 !important;
    box-sizing: border-box !important;
}

.logo {
    font-family: 'Libre Caslon Display', serif !important;
    font-size: 29px !important;
    color: #ffffff !important;
    letter-spacing: 2px !important;
    text-decoration: none !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -150px) !important;
    margin: 0 !important;
    opacity: 0;
    transition: opacity 1.1s ease-out, transform 1.1s ease-out !important;
}

.slide.active .logo,
.static-header .logo {
    opacity: 1 !important;
    transform: translate(-50%, -50%) !important;
}

.static-header .logo {
    transition: none !important;
}

@media (max-width: 768px) {
    .top-header {
        top: 20px !important;
        padding: 0 20px !important;
    }
    .logo {
        font-size: 20px !important;
    }
}

@media (max-width: 480px) {
    .top-header {
        top: 15px !important;
        padding: 0 15px !important;
    }
    .logo {
        font-size: 18px !important;
    }
}