/* ================= Fonts ================= */

@font-face {
    font-family: 'DaysOne';
    src: url('../fonts/days-one-v19-cyrillic_latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/inter-v20-cyrillic_latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}


/* ================= Base Settings ================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #0E0F11; 
    color: #ffffff;
    font-family: sans-serif;
    width: 100%;        
    position: relative;
}

body, html {
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6{
    font-family: 'DaysOne', sans-serif;
    font-weight: 400;
}

p {
    font-family: 'Inter';
    color: #8F92A3;
    font-size: clamp(16px, 1.5vw, 19px); 
}

/* ================= Flexbox ================= */
.flex-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.flex-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

/* ================= Btn ================= */
.btn {
    padding: 14px 24px;
    border-radius: 30px;
    text-transform: uppercase;
    text-decoration: none;
    font-family: 'DaysOne';
    font-weight: 400;
    display: inline-block;
    text-align: center;
}

.btn--primary {
    background-color: #02CC9C;
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 229, 160, 0.4);

}

.btn--primary:hover{
    background-color: #ffffff;
    color: #02CC9C;
    transition: 0.5s;
}

.btn--outline {
    background-color: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
}

.btn--outline:hover{
    background-color: #ffffff;
    border: 1px solid #ffffff;
    color: #000000;
    transition: 0.5s;
}

.btn-card{
    font-family: 'Inter';
    font-size: 15px;
    font-weight: 500;
}

.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
/* ================= Header ================= */
.header {
    width: 100%;
}

.header__container {
    padding: 50px 90px; 
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__logo {
    display: flex;
    align-items: center;
    margin-right: 70px;
}

.logo-link {
    display: inline-block;
    line-height: 0; 
}

.logo-img {
    width: 100%;
    max-width: 170px;
    min-width: 100px;
    height: auto;
    display: block;
}

.header__btn {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    margin-left: 70px;
}

/* ================= Cards ================= */

.card {
    border: 1px solid transparent;
    border-radius: 43px;
    padding: 24px;
    display: flex;
    box-sizing: border-box;
}

.card-right{
background: 
        linear-gradient(145deg, #000000, #0E0F11) padding-box,
        linear-gradient(135deg, #1F2022, #026C53) border-box;
}

.card-left{
    background: 
        linear-gradient(145deg, #0E0F11, #000000) padding-box,
        linear-gradient(135deg, #026C53, #1F2022) border-box;
}

.card--flex {
    display: flex;
    flex-direction: row;
    align-items: stretch; 
    gap: 40px; 
    height: 100%; 
}

.card--reverse {
    flex-direction: row-reverse;
}

.card__image-wrapper {
    position: relative; 
    flex: 0 0 40%; 
    height: 100%; 
    overflow: hidden; 
    border-radius: 35px;
}

.card__image {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
}

.card__content {
    flex: 1; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 20px;
}

.card__title {
    font-size: clamp(24px, 2.6vw, 32px);
    font-weight: 400; 
    color: #ffffff;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    text-transform: uppercase; 
}

.card__text {
    line-height: 1.6;
    color: #8F92A3; 
    margin-bottom: 40px; 
}

.card__actions {
    display: flex;
    flex-direction: row;
    gap: 15px; 
}

.card__image-wrapper--glow-tr::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    border-radius: inherit;
    box-shadow: 
        inset -1.5px 1.5px 1px rgba(255, 255, 255, 0.95), 
        inset -4px 4px 20px rgba(255, 255, 255, 0.5);   
    -webkit-mask-image: radial-gradient(circle at right top, black 0%, transparent 140px);
    mask-image: radial-gradient(circle at right top, black 0%, transparent 140px);
    pointer-events: none; 
    z-index: 2; 
}

/* ================= Promo ================= */

.hero {
    margin-bottom: 50px;
}

.hero__wrapper {
    display: flex;
    position: relative;
    background: 
        radial-gradient(circle at left center, #39EDC1 0%, rgba(57, 237, 193, 0.6) 0%, #000000 35%) padding-box,
        linear-gradient(135deg, #1F2022, #026C53) border-box;   
    overflow: hidden; 
    min-height: 570px;
    align-items: center;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 650px; 
    padding: 60px 0 60px 60px;
}

.hero__title {
    font-size: clamp(28px, 3.8vw, 46px);
    color: #ffffff;
    line-height: 1.2;
}

.text-highlight {
    display: block; 
    color: #39EDC1;
    font-size: clamp(46px, 5.9vw, 71px); 
    font-weight: 400; 
    line-height: 1.05;
    margin-top: 15px;
    text-transform: uppercase;
}

.hero__image-wrapper {
    position: absolute;
    right: 0;
    top: 0;
    width: 60%;
    height: 100%;
    z-index: 1;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 40%);
    mask-image: linear-gradient(to right, transparent 0%, black 40%);
}

.hero__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}

/* ================= Info ================= */

.info-block {
    position: relative;
    padding: 100px 20px;
    margin: 50px 0;
    background-image:
        linear-gradient(to bottom, #0E0F11 0%, rgba(7, 9, 10, 0) 20%, rgba(7, 9, 10, 0) 80%, #0E0F11 100%),
        linear-gradient(to right, rgba(57, 237, 193, 0.2) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(57, 237, 193, 0.2) 1px, transparent 1px);
    background-size: 
        100% 100%,
        110px 110px,
        110px 110px;
    background-position: center center;
}

.info-block__container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.info-block__text {
    max-width: 900px;
    text-align: center;
    position: relative;
    z-index: 2;
    font-size: clamp(15px, 1.5vw, 18px);
    color: #ADADAD;
    line-height: 1.6;
    margin-bottom: 40px;
}

.info-block__text::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 180%;
    background: radial-gradient(ellipse at center, rgba(57, 237, 193, 0.4) 0%, transparent 75%);
    z-index: -1;
    pointer-events: none;
}

/* ================= Badges ================= */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 30px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: 'Inter', sans-serif;
    font-size: clamp(14px, 1.4vw, 17px);
    font-weight: 400;
    color: #ffffff;
    position: relative; 
    margin-bottom: 20px;

}

.badge::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #39EDC1;
}

.badge::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    
    width: 50%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #39EDC1, transparent);
    box-shadow: 0px -4px 12px rgba(57, 237, 193, 0.6);
}


/* ================= About Partners ================= */
.about-partners {
    padding: 80px 0;
    position: relative;
}

.about__header {
    text-align: center;
    max-width: 800px;
}

.about__title {
    font-size: clamp(28px, 4vw, 52px);
    color: #ffffff;
    margin: 24px 0 16px;
    text-transform: uppercase;
}

.about__desc {
    font-size: clamp(16px, 1.9vw, 23px);
    line-height: 1.6;
    color: #9499A1;
}

.partners-logos {
    width: 100%;
    border-top: 1px solid rgba(57, 237, 193, 0.2);
    justify-content: space-around;
    flex-wrap: wrap;
}

.partner-logo {
    height: 50px;
    object-fit: contain;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.partner-logo:hover {
    opacity: 1;
}

.steps-section {
    padding: 60px 0 100px;
}

.steps__header {
    text-align: center;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center
}

.steps__title {
    font-size: clamp(20px, 2vw, 25px);
    margin-bottom: 20px;
}

.steps__desc {
    max-width: 700px;
    font-size: clamp(16px, 1.6vw, 20px);
    line-height: 1.5;
    color: #ADADAD;
    margin: 0 auto;
}

.steps__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    width: 100%;
}


.steps__grid { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 40px;
    position: relative;
    z-index: 1; 
} 

.steps__grid::before { 
    content: ''; 
    position: absolute; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    width: 90%; 
    height: 90%; 
    background: radial-gradient(circle, rgba(57, 237, 193, 0.5) 0%, rgba(0, 0, 0, 0) 70%); 
    filter: blur(60px); 
    z-index: -1;
    pointer-events: none; 
} 

.step-card { 
    background: transparent; 
    display: flex; 
    flex-direction: column; 
    align-items: center;
    text-align: center;
} 



.step-card__image-placeholder {
    width: 100%;
    max-width: 500px;
    background-color: #0b0f12;
    border-radius: 50px;
    margin-bottom: 35px;
    position: relative;
    border: 1px solid transparent;
    background:
        linear-gradient(135deg, #026C53, #1F2022) border-box;
    box-shadow: 
        0 0 0 12px rgba(57, 237, 192, 0.027);
    transition: all 0.3s ease;
}

.step-card__title { 
    font-family: 'Inter', sans-serif; 
    font-size: clamp(14px, 1.5vw, 17px);
    color: #ffffff; 
    margin-bottom: 10px; 
    text-transform: uppercase; 
} 

.step-card__text { 
    font-size: clamp(14px, 1.4vw, 17px); 
    line-height: 1.5; 
    color: #8F92A3; 
} 

.step-card--text-only { 
    justify-content: center; 
    align-items: center; 
    padding: 20px; 
} 

.step-card--text-only .step-card__title { 
    font-family: 'DaysOne', sans-serif; 
    font-size: clamp(20px, 2.5vw, 30px); 
    line-height: 1.3;
    letter-spacing: 0.7px; 
    padding: 0 30px;
    margin-bottom: 30px; 
    text-transform: uppercase; 
}

/* ================= Partners ================= */

.partners{
    align-items:flex-start;
    padding: 0 50px;
}

/* ================= Full Width Card ================= */
.about-partners {
    padding: 60px 20px;
    font-family: 'Arial', sans-serif;
    color: #ffffff;
}

.flex-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about__header {
    text-align: center;
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
}


.about__title {
    font-size: 36px;
    font-weight: 900;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about__desc {
    color: #8a9399;
    font-size: 23px;
    line-height: 1.6;
    max-width: 700px;
    margin: 0;
}

.partners-divider {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 800px;
    margin-bottom: 20px;
}

.divider-text {
    color: #8a9399;
    font-size: clamp(10px, 1vw, 12px);
    letter-spacing: 2px;
    padding: 0 20px;
    text-transform: uppercase;
}

.about-partners .partner-line {
    height: 1px;
    flex-grow: 1;
    border: none;
    margin: 0;
}

.about-partners .left-line {
    background: linear-gradient(to left, #026C53, transparent);
}

.about-partners .right-line {
    background: linear-gradient(to right, #026C53, transparent);
}

.about-partners .carousel-container {
    width: 100%;
    overflow: hidden;
    border: none;
    box-shadow: none;
    background: transparent;
    padding: 5px 0;
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.about-partners .carousel-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: scroll 25s linear infinite;
    border: none;

}

.about-partners .carousel-track:hover {
    animation-play-state: paused;
}

.about-partners .carousel-container {
    width: 100%;
    overflow: hidden;
    border: none;
    box-shadow: none;
    background: transparent;
    padding: 5px 0; 
    -webkit-mask-image: linear-gradient(
        to right, 
        transparent 0%, 
        rgba(0, 0, 0, 0.1) 25%, 
        rgba(0, 0, 0, 1) 50%, 
        rgba(0, 0, 0, 0.1) 75%, 
        transparent 100%
    );
    mask-image: linear-gradient(
        to right, 
        transparent 0%, 
        rgba(0, 0, 0, 0.1) 25%, 
        rgba(0, 0, 0, 1) 50%, 
        rgba(0, 0, 0, 0.1) 75%, 
        transparent 100%
    );
}

.about-partners .carousel-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: scroll 25s linear infinite;
    border: none;
}

.about-partners .carousel-track:hover {
    animation-play-state: paused;
}

.about-partners .partner-logo {
    font-family: 'DaysOne', sans-serif;
    font-size: clamp(28px, 3.8vw, 46px);
    margin: 0 40px;
    text-transform: uppercase;
    white-space: nowrap; 
    display: block; 
    line-height: 1;     
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 50%, #6e757c 85%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; 
    position: relative;
    z-index: 1;
    transform: translateZ(0);
    opacity: 1 !important; 
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* ================= For Partners ================= */
.for-partners{
    align-items:flex-start;
    padding: 40px 90px;
    margin-bottom: 70px;
}

.sections-wrapper {
    position: relative;
    z-index: 1;
}

.sections-wrapper::before {
    content: '';
    position: absolute;
    width: clamp(600px, 80vw, 1400px); 
    aspect-ratio: 1 / 1;
    top: 50%;
    right: 0;
    transform: translate(50%, -50%); 
    background: radial-gradient(circle, rgba(57, 237, 193, 0.5) 10%, rgba(0, 0, 0, 0) 80%);
    filter: blur(80px);
    z-index: -1; 
    pointer-events: none; 
}

/* ================= Footer ================= */

.footer__container {
    padding: 100px 0; 
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.footer__title {
    font-size: clamp(24px, 3.3vw, 40px);
    line-height: 1.3;
    color: #ffffff;
}

.footer__btn {
    padding: 15px 40px;
}


/* =========== MEDIA QUERIES =========== */

@media (max-width: 1200px) {
    .steps__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }
}

@media (max-width: 992px) {
    .header__container { padding: 40px 25px 70px 25px; }
    .header__logo { margin-right: auto; }
    .header__btn { margin-left: 0; padding: 15px 12px; font-size: 14px; }
    .logo-img { max-width: 150px; }
    .hero__wrapper {
        flex-direction: column-reverse;
        min-height: auto;
        padding: 0;
        background: radial-gradient(circle at bottom left, rgba(57, 237, 193, 0.4) 0%, #000000 60%) padding-box, linear-gradient(135deg, #1F2022, #026C53) border-box;
    }
    .hero__content {align-self: flex-start; padding:0 20px 50px 50px; text-align: left; position: relative; z-index: 5; }
    .hero__image-wrapper {
        position: relative; width: 100%; aspect-ratio: 1 / 1; max-height: 400px; 
        -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 95%) !important;
        mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 40%, rgba(0,0,0,0) 95%) !important;
    }
    .hero__image { object-position: center 35%; }
    .card--flex, .card--reverse { flex-direction: column; gap: 20px; padding: 40px 25px 25px 20px; }
    .card__image-wrapper { flex: none; border-radius: 25px; }
    .card__content { padding-right: 0; align-items: flex-start; text-align: left; padding-top: 30px; }
    .card__title { font-size: 28px; margin-bottom: 15px; }
    .card__text{ font-size: 17px; }
    .card__actions { flex-direction: row; width: 100%; justify-content: space-between; gap: 10px; }
    .card__actions .btn { flex: 1; padding: 14px 10px; font-size: 12px; white-space: nowrap; }
    .steps__grid::before, .sections-wrapper::before{ background:none; }
    .info-block { padding: 60px 20px; margin: 30px 0; }
    .info-block__text { font-size: 15px; }
    .card__content.partners{ background: none; border: none; padding: 20px 40px 20px 20px; align-items: center; }
    .partners-divider{ margin-bottom: 0; }
    .partners .btn--primary{ margin-top: 20px; }
    .for-partners { padding: 30px 20px; align-items: flex-start; margin-bottom: 40px; }
    .for-partners .card__text { text-align: left; }
    .steps__grid { grid-template-columns: 1fr; gap: 40px; }
    .steps-section{ padding-top: 0px; }
    .step-card { text-align: center; }
    .step-card__image-placeholder { aspect-ratio: 1.5 / 1; }
    .step-card--text-only { padding: 20px 0; }
    .step-card--text-only .step-card__title { padding: 0 10px; font-size: 22px; }
    .step-card__title{ font-family: 'DaysOne'; font-size: 30px; }
    .step-card__text{ font-size: 15px; }
    .footer__container { flex-direction: column; text-align: center; gap: 30px; padding: 60px 20px; }
    .footer__title { font-size: 22px; }
}

@media (max-width: 768px) {
    .header__container { padding: 25px 20px 40px 20px; }
    .hero__image-wrapper { max-height: 350px; }
    .hero__content { margin-top: -80px; }
    .info-block { padding: 40px 15px; }
    .about-partners { padding: 40px 10px; }
}

@media (max-width: 576px) {
    .hero__image-wrapper { max-height: 300px; }
    .hero__content { margin-top: -60px; padding: 0 15px 30px 30px; }
    .card--flex, .card--reverse, .for-partners { padding: 25px 15px; }
    .step-card__title { font-size: 24px; }
}

@media (max-width: 480px) {
    .header__btn{ font-size: 12px; margin-left: 10px; padding: 12px 10px; }
    .logo-img { max-width: 120px; }
    .for-partners{padding: 35px 20px 20px;}
    .text-highlight { font-size: 38px; }
    .hero__title { font-size: 24px; }
    .about__title { font-size: 28px; }
    .card__title { font-size: 22px; }
    .about__desc { font-size: 16px; }
    .card__actions { flex-direction: column; gap: 15px; }
    .card__actions .btn { width: 100%; } 
}

@media (max-width: 360px) {
    .header__container { flex-direction: column; gap: 15px; align-items: center; padding: 20px 15px; }
    .header__logo { margin-right: 0; }
    .header__btn { width: 50%; justify-content: center; margin-left: 0; }
    .text-highlight { font-size: 32px; }
    .step-card__title { font-size: 20px; }
    .footer__btn { width: 100%; padding: 15px 0; }
}

