*{
    margin: 0;
    padding: 0;
    box-sizing: border-box; 
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

.sticky{
    position: sticky;
    top: 120px;
    height: max-content;
}

.nda{
    width: 100%;
    height: calc(100vh - 88px);
    position: fixed;
    bottom: 0;
    z-index: 300;
    background: rgba(0, 0, 12, .8);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    padding: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.need-password{
    border: #65656D 1px solid;
    border-radius: 40px;
    padding: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 80px;
}

/* visually hidden label */
.sr-only{
  position:absolute; 
  padding:0; 
}

.field{ 
    max-width: 560px; 
}

.pill{
    width: 100%;
    border-radius: 999px;
    border: #65656D 1px solid;
    background-color: #00000C;
    display: flex;   
    align-items: center;
    gap: 20px;
    justify-content: space-between;
    padding: 20px 20px 20px 40px;
    transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.pill input{
  flex: 1 1 auto;
  height: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: #fff;
}

.pill input::placeholder{ color: #65656D; }

/* кнопка-стрелка */
.pill-btn{
  width: 64px;
  height: 64px;
  border-radius: 999px;
  border: 1px solid #65656D;
  background: #111116;
  cursor: pointer;

  display: flex;
  justify-content: center;
  align-items: center;

  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.pill-btn img{
    height: 20px;
}

.pill-btn:hover{ 
    border-color: #fff;
}

/* focus state */

/* filled state: делаем кнопку синей, когда есть значение */
.field.is-filled input{
  color: #fff;

}

.field.is-filled .pill-btn{
    background-color: #1E90FF;
}

/* error state */
.field.is-error .pill{
  border-color: #CB0205;
}

.field.is-error .pill-btn{
  background: #1E90FF;
  border-color: transparent;
}

.hint{
  margin: 10px 0 0;
  display: none;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  background: #CB0205;
  color: #fff;
  font-size: 13px;
  line-height: 1;
}

.field.is-error .hint{ display: inline-block; }

.system-icon{
    height: 48px;
}

button{
    cursor: pointer;
    appearance: none;
}

a{
    text-decoration: none;
}

body{
    font-family: 'Urbanist', sans-serif;
    background-color: #111116;
}

.page{
    width: 100%;
    background-color: #00000C;
    z-index: 1;
    position: relative;
    box-shadow: 0px 16px 40px 0px rgba(0,0,0,0.25);
}

.mobile-only{
    display: none;
}

.tablet-only{
    display: none;
}

.desktop-only{
    display: none;
}

.footer-sentinel{
  height: 1px;
}

.horizontal-flex {
    display: flex;
    flex-direction: row;
    gap: 80px;
    flex-wrap: wrap;
}

.case-content{
    display: flex;
    flex-direction: row;
    gap: 80px;
    flex-wrap: wrap;
    width: 100%;
    align-items: flex-start;
}

.footer{
  transform: translateY(-240px);
  position: fixed;
  bottom: 0;
  z-index: 0;
  opacity: 0.5;
  transition: transform 900ms ease, opacity 900ms ease;
  width: 100%;
  background-color: #111116;
  padding-left: 100px;
  padding-right: 100px;
  padding-bottom: 100px;
  padding-top: 240px;
    display: flex;
    flex-direction: column;
    gap: 80px;

}

.page{
    margin-bottom: 800px;
}

.footer.is-revealed{
  transform: translateY(0);
  opacity: 1;
}




.burger{
    width: 44px;
    padding: 10px;
    border: 0;
    background: transparent;
    cursor: pointer;

    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;

    position: absolute;  /* если у вас бургер стоит справа в шапке */
    top: 10px;
    right: 20px;
    height: 44px;   
    z-index: 220;     /* выше меню */
}

.burger span{
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: rgba(255,255,255,.92);
  transition: transform 220ms ease, opacity 180ms ease;
  transform-origin: center;
}

/* Крестик */
header.is-open .burger span:nth-child(1){
  transform: translateY(9px) rotate(45deg);
}
header.is-open .burger span:nth-child(2){
  opacity: 0;
}
header.is-open .burger span:nth-child(3){
  transform: translateY(-9px) rotate(-45deg);
}





header{
    width: 100%;
    position: fixed;
    top: 0%;
    display: flex;
    flex-direction: column;
    z-index: 200;
    background: rgba(0, 0, 12, .8);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

header.is-open{
    height: 100vh;
    transition: height 400ms ease;
}

header .horizontal-container-auto{
    height: 88px;
    padding: 20px 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    vertical-align: middle;
}

header.is-open .mobile-menu{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
    height: 100vh;
  transition: opacity 220ms ease, transform 400ms ease, visibility 0s;

}

.mobile-menu{
    position: fixed;
    left: 0;
    right: 0;
    top: 64px;                 
    z-index: 199;

    display: flex;             
    flex-direction: column;
    align-items: center;
    gap: 40px;

    padding: 40px 0 0 0 ;  

    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    visibility: hidden;
}

.mobile-menu-button{
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    position: absolute;
    bottom: 80px;
    left: 50%;
    width: 100%;
    transform: translateX(-50%);
}

header .border{
    display: block;
    bottom: 0;
    width: 100%;
    height: 1px;
}

.mobile-menu .nav-link{
    padding-left: 40px;
    padding-right: 40px;
    width: 100%;
    text-align: start;
}


.mobile-menu .fourth-cta{
    display: block;
}

.nav-link{
    color: #ffffff;
    opacity: 0.8;
    transition: opacity 0.1s;
}

.nav-link:hover{
    opacity: 1;
}

.logo{
    height: 18px;
}

.hero-block{
    display: flex;
    gap: 80px;
    flex-direction: column;
    padding: 100px;
    padding-top: 200px;
}

.block-container{
    display: block;
    padding: 100px;
}

.vertical-container{
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.horizontal-container{
    display: flex;
    flex-direction: row;
    gap: 80px;
}

.horizontal-container-auto{
    display: flex;
    flex-direction: row;
    gap: 80px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.case-preview{
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 40px;
    overflow: hidden;
    position: relative;
    
}

.img-ratio-16-10{
    aspect-ratio: 16 / 10;
}

.img-ratio-16-9{
    aspect-ratio: 16 / 9;
}

.img-ratio-1-1{
    aspect-ratio: 1 / 1;
}

.img-ratio-2-1{
    aspect-ratio: 2 / 1;
}

.spacer{
    width: 100%;
    height: 1px;
    background: #fff;

}

.case-image{
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transform: scale(1);
    transition: transform 200ms ease;
}

.case-preview--stroke::after{
  content:"";
  position:absolute;
  inset: 0;
  padding: 1px;                 /* толщина stroke */
  border-radius: inherit;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), rgba(255,255,255,0.1)); /* градиент для stroke */
  pointer-events: none;         /* чтобы hover работал по контейнеру */

  /* вырезаем центр, оставляем только “ободок” */
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;

  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
}

.case-button{
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0 , 0, 12, 0.2);
    border: solid 1px rgba(255, 255, 255, 0.4);
    rotate: -45deg;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    transition: border-color 0.3s, background-color 0.3s, rotate 0.3s;
    
}


.tags{
    display: flex;
    flex-direction: row;
    gap: 5px;
    position: absolute;
    top: 0px;
    left: 20px;
    z-index: 100;
    opacity: 0;
    transition: top 0.3s, opacity 0.3s;
}

.tag-nda{
    position: absolute;
    top: 20px;
    right: 20px;
    height: 24px;
    z-index: 100;
    opacity: 0.5;
    transition: top 0.3s, opacity 0.3s;
}

.case:hover .tag-nda{
    opacity: 1;
}

.case:hover .tags{
    top: 20px;
    opacity: 1;
}

.tag{
    padding: 5px 10px;
    color: #000;
    background-color: #fff;
    border-radius: 20px;
    border: #EEE solid 1px;
    font-size: 14px;
    font-weight: 500;  
}

.case:hover .case-button{
    background-color: #1E90FF;
    border: solid 1px rgba(255, 255, 255, 0.8);
    rotate: 0deg;
}

.case{
    display: flex;
    flex-direction: column;
    gap: 40px;
}


.case:hover .case-image{
    transform: scale(1.05);
}

.case-tags{
    position: relative;
    display: flex;
    flex-direction: row;
    gap: 5px;
}

.case-tags .tag{
    padding: 5px 10px;
    color: #fff;
    background-color: #111116;
    border-radius: 20px;
    border: #EEE solid 1px;
    font-size: 14px;
    font-weight: 500;
}

.vertical-40{
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.vertical-20{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.vertical-10{
    display: flex;
    flex-direction: column;
    gap: 10px;
}


.wrapper{
    width: calc(100%);
    padding: 100px;
    display: flex;
    flex-direction: row;
    gap: 80px;
    flex-wrap: wrap;
}

.block{
    display: block;
    height: 400px;
    background-color: #191924;
    border-radius: 20px;
    overflow: hidden;
}

.service-control{
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    justify-content: space-between;

}

.service-description{
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-6px);
    transition: max-height 320ms ease, opacity 300ms ease, transform 300ms ease;
    will-change: max-height;
}

.service-control img { transition: transform 200ms ease; }

.service--opened .service-description{
    opacity: 1;
    transform: translateY(0);
    display: block;
}

.service--opened img{
    transform: rotate(180deg);
}

.copyright{
    font-size: 12px;
    color: #aaaab4;
    font-weight: 300;
    text-align: start;
}

.footer-nav{
    transition: color 0.3s;
    text-align: end;
}

.footer-nav:hover{
    color: #1E90FF;
}

.services{
    gap: 40px;
    margin-top: 20px;
}

@media (min-width: 1920px) {
    .col12-desktop{
        width: 1920px;
    }

    .wrapper{
        padding-left: calc((100% - 1920px)/2);
        padding-right: calc((100% - 1920px)/2);
    }

    .hero-block{
        padding-left: calc((100% - 1920px)/2);
        padding-right: calc((100% - 1920px)/2);
    }

    header .horizontal-container-auto{
        padding-left: calc((100% - 1920px)/2);
        padding-right: calc((100% - 1920px)/2);
    }

    .footer{
        padding-left: calc((100% - 1920px)/2);
        padding-right: calc((100% - 1920px)/2);
    }
    
}

@media (min-width: 1280px) {

    .mobile-menu{
        display: none;
    }

    .desktop-only{
        display: block;
    }

    .col12-desktop{
        width: 100%;
    }
    .col10-desktop{
        width: calc(100% / 12 * 10 - 60px)
    }
    .col8-desktop{
        width: calc(100% / 12 * 8 - 60px)
    }
    .col6-desktop{
        width: calc(100% / 2 - 40px)
    }

    .col4-desktop{
        width: calc(100% / 3 - 60px);
    }

    .col3-desktop{
        width: calc(100% / 4 - 60px);
    }

    .col2-desktop{
        width: calc(100% / 6 - 80px);
    }

    header .burger{
        display: none;
    }

    

    
    
}

@media (min-width: 960px) and (max-width: 1280px) {

    .nda{
        padding: 40px;
    }

    .mobile-menu{
        display: none;
    }

    .case-content{
        gap: 40px;
    }

    .tablet-only{
        display: block;
    }

    .horizontal-flex {
        gap: 40px;
    }

    .horizontal-container-auto{
        gap: 40px;
        flex-direction: row;
        flex-wrap: wrap;
    }

    header .horizontal-container-auto {
        padding: 20px 60px;
        gap: 20px;
        flex-direction: row;
        vertical-align: middle;
    }

    .col8-tablet{
        width: 100%;
    }
    .col6-tablet{
        width: calc(100% / 8 * 6 - 40px);
    }
    .col4-tablet{
        width: calc(100% / 8 * 4 - 40px);
    }
    .col2-tablet{
        width: calc(100% / 8 * 2 - 40px);  
    }

    .wrapper{
        padding: 60px;
        gap: 40px;
    }

    .hero-block{
        padding: 60px;
        padding-top: 160px;
    }

    header .burger{
        display: none;
    }

    .footer{
        padding-left: 60px;
        padding-right: 60px;
        padding-top: 180px;
        padding-bottom: 60px;
        gap: 80px;
    }
}

@media (min-width: 640px) and (max-width: 960px) {

    .nda{
        height: calc(100vh - 64px);
        padding: 40px;
    }

    .need-password{
        gap: 40px;
        padding: 40px;
    }

    .sticky{
        position: relative;
        height: fit-content;
        top: 0;
    }

    .tags{
        top: 20px;
        opacity: 1;
    }

    .horizontal-flex {
        gap: 40px;
    }

    .case-content{
        gap: 40px;
    }

    .horizontal-container-auto{
        gap: 40px;
        flex-direction: row;
        flex-wrap: wrap;
    }r

    .tablet-only{
        display: block;
    }

    header .horizontal-container-auto {
        height: 64px;
        padding: 20px 40px;
        gap: 20px;
        flex-direction: row;
        vertical-align: middle;
        justify-content: start;
    }

    header .horizontal-container{
        display: none;
    }

    header .fourth-cta{
        display: none;
    }

    .col8-tablet{
        width: 100%;
    }
    .col6-tablet{
        width: 100%;
    }
    .col4-tablet{
        width: 100%
    }
    .col2-tablet{
        width: calc(100% / 2 - 40px);  
    }

    .wrapper{
        padding: 40px;
        gap: 80px;
    }
    .hero-block{
        padding: 40px;
        padding-top: 120px;
    }

    .burger{
        right: 40px;
    }

    .footer{
        padding-left: 60px;
        padding-right: 60px;
        padding-top: 180px;
        padding-bottom: 60px;
        gap: 80px;
    }

    .service img{
        width: 40px;
        height: 40px;
    }

    .tablet-only{
        display: block;
    }

    
}

@media (max-width: 640px) {

    .nda{
        height: calc(100vh - 64px);
        padding: 20px;
    }

    .need-password{
        gap: 40px;
        padding: 40px 20px 40px 20px;
    }

    .pill{
        padding: 10px 10px 10px 20px;
        max-width: 100%;
    }

    .pill-btn{
        height: 44px;
        width: 44px;
    }

    .pill-btn img{
        height: 12px;
    }

    .pill input{
        max-width: 120px;
    }

    .system-icon{
        height: 32px;
    }

    .sticky{
        position: relative;
        height: fit-content;
        top: 0;
    }

    .case-content{
        gap: 20px;
    }

    .horizontal-flex {
        gap: 20px;
    }

    .tags{
        top: 10px;
        left: 10px;
        opacity: 1;
    }

    .tag-nda{
        top: 10px;
        right: 10px;
        height: 20px;
        opacity: 1;
    }

    .case:hover .tags{
        top: 10px;
    }

    .tag{
        padding: 3px 8px;
        font-size: 12px;
    }

    .case-button{
        width: 48px;
        height: 48px;
        padding: 0;
        left: auto;
        right: 10px;
        bottom: 10px;
    }

    .mobile-only{
        display: block;
    }

    .case{
        gap: 20px;
    }

    .vertical-10{
        gap: 5px;
    }

    .vertical-20{
        gap: 10px;
    }
    
    .vertical-40{
        gap: 20px;
    }   

    .horizontal-container-auto{
        gap: 40px;
        flex-direction: column;
    }

    .col4-mobile{
        width: 100%;
    }
    .col2-mobile{
        width: calc(100% / 4 * 2 - 20px);
    }
    .col1-mobile{
        width: calc(100% / 4 * 1 - 20px);
    }

    .wrapper{
        padding: 40px 20px;
        gap: 40px;
    }
    .hero-block{
        padding: 20px;
        padding-top: 120px;
        gap: 40px  ;
    }

    .mobile-menu .nav-link{
        padding-left: 20px;
        padding-right: 20px;
        width: 100%;
        text-align: start;
    }


    header .horizontal-container-auto {

        height: 64px;
        padding: 20px 20px;
        gap: 20px;
        flex-direction: row;
        vertical-align: start;
        justify-content: left;
    }

    header .logo{
        height: 16px;
    }

    header .horizontal-container{
        display: none;
    }

    header .fourth-cta{
        display: none;
    }

    .burger{
        right: 20px;
    }

    .page{
        margin-bottom: 0px;
    }

    .footer{
        position: relative;
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 100px;
        padding-bottom: 20px;
        gap: 40px;
        transform: translateY(-100px);
    }

    .case-preview{
        border-radius: 20px;
    }

    .service img{
        width: 40px;
        height: 40px;
    }

    .copyright{
        text-align: center;
        font-size: 10px;
    }

    .footer-nav{
        text-align: start;
    }
}


.service{
    gap: 0;
}

.service--opened{
    gap: 20px;
}

/* Typography styles */

.title-h1 {
  font-family: "Urbanist", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-size: 64px;
  line-height: 110%;
  font-style: normal;
}

.title-h2 {
  font-family: "Urbanist", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-size: 48px;
  line-height: 120%;
  font-style: normal;
}

.title-h3 {
  font-family: "Urbanist", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-size: 32px;
  line-height: 125%;
  font-style: normal;
}

.title-h4 {
  font-family: "Urbanist", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-size: 24px;
  line-height: 145%;
  font-style: normal;
}

.big-caption {
  font-family: "Urbanist", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: 32px;
  line-height: 125%;
  font-style: normal;
}

.medium-caption {
  font-family: "Urbanist", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-size: 24px;
  line-height: 145%;
  font-style: normal;
}

.small-caption {
  font-family: "Urbanist", sans-serif;
  font-optical-sizing: auto;
  font-weight: 200;
  font-size: 18px;
  line-height: 155%;
  font-style: normal;
}

@media (max-width: 1280px) {
    .title-h1 {
        font-size: 48px;
    }
    .title-h2 {
        font-size: 32px; 
    }
    .title-h3 {
        font-size: 24px; 
    }
     .title-h4 {
        font-size: 18px;
    }
    .big-caption {
        font-size: 24px;
    }
    .medium-caption {
        font-size: 18px;
    }
    .small-caption {
        font-size: 16px;
    }
}

.white-100{
    color: #ffffff;
}

.white-60{
    color: #aaaab4
}

/* CTA's styles */

.primary-cta{
    width: fit-content;
    display: flex;
    background-color: #1E90FF;
    padding: 20px 40px;
    cursor: pointer;
    border: 1px solid transparent; /* Set border to transparent */
    border-radius: 40px; /* Works with rounded corners */
    /* Two backgrounds: solid white for inner, gradient for border area */
    background: 
        linear-gradient(#1E90FF, #1E90FF) padding-box, /* Inner background color */
        linear-gradient(to bottom, #77BCFF, #359BFF) border-box; /* Gradient for border */
    background-origin: border-box;
    background-clip: padding-box, border-box;
    overflow: hidden;
    transition: background 0.3s, filter 0.3s;
}

.primary-cta:hover{
    background: 
        linear-gradient(#1E90FF, #1E90FF) padding-box, /* Inner background color */
        linear-gradient(to bottom, #fff, #fff) border-box; /* Gradient for border */
    filter: brightness(110%);
}

.primary-cta:active{
    background: 
        linear-gradient(#1E90FF, #1E90FF) padding-box, /* Inner background color */
        linear-gradient(to bottom, #fff, #fff) border-box; /* Gradient for border */
    filter: brightness(90%);
}

.secondary-cta{
    width: fit-content;
    display: flex;
    background-color: transparent;
    padding: 20px 40px;
    cursor: pointer;
    border: 1px solid transparent; /* Set border to transparent */
    border-radius: 40px; /* Works with rounded corners */
    /* Two backgrounds: solid white for inner, gradient for border area */
    background: 
        linear-gradient(#00000C, #00000C) padding-box, /* Inner background color */
        linear-gradient(to bottom, #65656D, #191924) border-box; /* Gradient for border */
    background-origin: border-box;
    background-clip: padding-box, border-box;
    overflow: hidden;
    transition: background 0.3s, filter 0.3s;
}

.secondary-cta:hover{
    
    background: 
        linear-gradient(#00000C, #00000C) padding-box, /* Inner background color */
        linear-gradient(to bottom, #fff, #fff) border-box; /* Gradient for border */
    filter: brightness(200%);
}

.secondary-cta:active{
    background: 
        linear-gradient(#00000C, #00000C) padding-box, /* Inner background color */
        linear-gradient(to bottom, #fff, #fff) border-box; /* Gradient for border */
    filter: brightness(90%);
}

.third-cta{
    width: fit-content;
    height: fit-content;
    display: flex;
    flex-direction: row;
    vertical-align: middle;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #fff;
    cursor: pointer;
    transition: border-color 0.3s, filter 0.3s, color 0.3s ease; 
}

.icon-arrow-link{
    transition: rotate 0.3s ease;
}

.third-cta:hover span{
    color: #1E90FF;
}

.third-cta:hover .icon-arrow-link{
    rotate: 45deg;
}

.fourth-cta{
    width: fit-content;
     height: fit-content;
    display: flex;
    background-color: transparent;
    padding: 10px 20px;
    cursor: pointer;
    border: 1px solid transparent; /* Set border to transparent */
    border-radius: 40px; /* Works with rounded corners */
    /* Two backgrounds: solid white for inner, gradient for border area */
    background: 
        linear-gradient(#00000C, #00000C) padding-box, /* Inner background color */
        linear-gradient(to bottom, #65656D, #191924) border-box; /* Gradient for border */
    background-origin: border-box;
    background-clip: padding-box, border-box;
    overflow: hidden;
    transition: linear-gradient 0.3s, filter 0.3s;
}

.fourth-cta:hover{
    
    background: 
        linear-gradient(#00000C, #00000C) padding-box, /* Inner background color */
        linear-gradient(to bottom, #fff, #fff) border-box; /* Gradient for border */
    filter: brightness(200%);
}

.tab-container{
    display: flex;
    gap: 12px;
    flex-wrap: nowrap;        /* не переносить */
    overflow-x: auto;         /* скролл по X */
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 25px 50px 25px 0;    /* чтобы не липло к краям + место под скролл */
    scrollbar-width: none;    /* Firefox */
    height: fit-content;
}

.tab-container::-webkit-scrollbar{
  display: none;            /* Chrome/Safari */
}

.tab-link{
    flex: 0 0 auto;
    white-space: nowrap;
    color: #aaaab4;
    transition: color 0.3s;
    font-weight: 500;
    font-size: 16px;
    font-family: "Urbanist", sans-serif;
    width: fit-content;
    padding: 10px 20px;
    background-color: transparent;
    border: 1px solid transparent; /* Set border to transparent */
    border-radius: 10px; /* Works with rounded corners */
    /* Two backgrounds: solid white for inner, gradient for border area */
    background:
        linear-gradient(#00000C, #00000C) padding-box, /* Inner background color */
        linear-gradient(to bottom, #65656D, #191924) border-box; /* Gradient for border */
    background-origin: border-box;
    background-clip: padding-box, border-box;
    overflow: hidden;
    cursor: pointer;
    transition: background 0.3s, filter 0.3s;
}

.tab-link:hover{
    color: #fff;
    background:
        linear-gradient(#00000C, #00000C) padding-box, /* Inner background color */
        linear-gradient(to bottom, #fff, #fff) border-box; /* Gradient for border */
}

.tab-link.is-active{
    color: #fff;
    background:
        linear-gradient(#1E90FF, #1E90FF) padding-box, /* Inner background color */
        linear-gradient(to bottom, #77BCFF, #359BFF) border-box; /* Gradient for border */
}

.tab{
    flex: 0 0 auto;           /* не сжимать */
}


.tab input[type="radio"]{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tab label{
    white-space: nowrap;  
    color: #aaaab4;
    transition: color 0.3s;
    font-weight: 500;
    font-size: 16px;
    font-family: "Urbanist", sans-serif;
    width: fit-content;
    padding: 10px 20px;
    background-color: transparent;
    border: 1px solid transparent; /* Set border to transparent */
    border-radius: 10px; /* Works with rounded corners */
    /* Two backgrounds: solid white for inner, gradient for border area */
    background: 
        linear-gradient(#00000C, #00000C) padding-box, /* Inner background color */
        linear-gradient(to bottom, #65656D, #191924) border-box; /* Gradient for border */
    background-origin: border-box;
    background-clip: padding-box, border-box;
    overflow: hidden;
    cursor: pointer;
    transition: background 0.3s, filter 0.3s;
}

.tab:hover label{
    color: #fff;
    background: 
        linear-gradient(#00000C, #00000C) padding-box, /* Inner background color */
        linear-gradient(to bottom, #fff, #fff) border-box; /* Gradient for border */
}

.tab input[type="radio"] {
    display: none;
}

.tab input[type="radio"]:checked + label {
    color: #fff;
    background: 
        linear-gradient(#1E90FF, #1E90FF) padding-box, /* Inner background color */
        linear-gradient(to bottom, #77BCFF, #359BFF) border-box; /* Gradient for border */
}

input[type="radio"]:checked .tab {
     
    filter: brightness(200%);
}

/* Animation Fade In */
/* стартовое состояние */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 420ms ease, transform 420ms ease;
  will-change: opacity, transform;
}

/* показано */
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* уважение к reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    transition: none;
    transform: none;
    opacity: 1;
  }
}

.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }
.reveal[data-delay="4"] { transition-delay: 320ms; }
.reveal[data-delay="5"] { transition-delay: 400ms; }
.reveal[data-delay="6"] { transition-delay: 480ms; }
.reveal[data-delay="7"] { transition-delay: 560ms; }
.reveal[data-delay="8"] { transition-delay: 640ms; }
.reveal[data-delay="9"] { transition-delay: 720ms; }
.reveal[data-delay="10"] { transition-delay: 800ms; }
.reveal[data-delay="11"] { transition-delay: 880ms; }
.reveal[data-delay="12"] { transition-delay: 960ms; }