 html {
  scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    color: #111;
    position: relative;
    overflow-x: hidden;
}
.nav-dots {
  position: fixed;
  right: 2%;
  top: 40%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}


.dot {
  width: 9px;
  height: 9px;
  border: 2px solid #bbb;
  border-radius: 50%;
  background-color: transparent;
  transition: background-color 0.3s ease;
}
 input:invalid {
     border: 2px solid #e53935;
     background-color: #fddede;
 }
 input[type="text"],
 input[type="email"],
 input[type="tel"],
 textarea {
     background-color: #ffffff; /* белый фон */}
 input {
     background-color: #ffffff;
 }
 .error-input {
     border: 2px solid red !important;
     background-color: #ffe5e5;
 }
 /* Ошибка — красный фон и рамка */
 input.invalid {
     border-color: #e53935;
     background-color: #fddede;
 }

 /* Подсказка об ошибке (скрыта по умолчанию) */
 .error-tooltip {
     display: none;
     background-color: #fff3cd;
     color: #856404;
     border: 1px solid #ffeeba;
     padding: 8px;
     font-size: 14px;
     margin-top: 5px;
     border-radius: 4px;
 }

 /* Показываем подсказку */
 .error-tooltip.active {
     display: block;
 }

.dot:hover {
  background-color: #bbb;
  cursor: pointer;
}
.background-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2;
    pointer-events: none;
}

/* Подвижное изображение */
.background-image {
    position: absolute;
    top: -0px;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/08d90e_58045680a4dc45978a34d359341fc4e5~mv2.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 0;
    will-change: background-position;
    z-index: -2;
}


/* Центрированный Topbar */
.topbar {
    display: flex;
    justify-content: center;
    padding: 3.5svh;
    padding-bottom: 5svh;
}

.navbar-inner {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

/* Логотипы */
.logo-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 80px;
    max-width: 100%;
    object-fit: contain;
}

/* Меню + язык */
.menu-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
}

/* Язык */
.language-selector {
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 4px;
    border: none;
    background-color: white;
    color: black;
}

/* Ссылки */
.nav-links {
    list-style: none;
    display: flex;
    gap: 7.5svh;
    padding: 0;
    margin: 0;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: #ffc107;
}


.features .blue {
    background: rgb(26, 39, 85);
    color: white;
    padding: 20px;
    padding-left:15svh;
}

.white {
    background: rgba(255,255,255,1);
    color: black;
    padding: 20px;
}

.topbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 15px;
    padding: 0;
    margin: 0;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.hero {
    text-align: center;
}

.hero-overlay {
    display: inline-block;
    border-radius: 8px;
    color: white;
}

.consultation-form input,
.consultation-form button {
    padding: 16px;
    margin: 5px;
    border-radius: 5px;
    border: black;
    width: 13%;
}
.consultation-form input{
    border: 4px solid #FFFFFF;

}
.consultation-form button {
    background: red;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    font-size: 20px;
}
.consultation-form button:hover{
opacity: 0.9;
}
.consultation-form2 button:hover{
opacity: 0.6;
}
.consultation-form3 button:hover{
opacity: 0.9;}

.konsultation{
    margin-top: 20px;
    text-align: center;
}
.consultation2{
    max-width: 100svh;

}
.consultation-form2 input,
.consultation-form2 button {
    padding: 16px;
    margin: 5px;
    border: 4px solid #FFFFFF;
    width: 13%;
}
.consultation-form2 input{
    border: 2px solid #000000;

}
.consultation-form2 button {
    background: red;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    font-size: 20px;
}
.custom-list {
    list-style: none;
    padding: 0;
}

.custom-list li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 20px;
}

.custom-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    border: 4px solid #FFFFFF;
}

.custom-list li::after {
    content: "×";
    position: absolute;
    left: 9px;
    top: 7px;
    color: #2D3460;
    font-size: 24px;
    line-height: 24px;
}
.custom-list2 {
    list-style: none;
    padding: 0;
}

.custom-list2 li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 20px;
}
.custom-list li p,
.custom-list2 li p {
    font-size: 15px;
}
.custom-list li,
.custom-list2 li{
     font-size: 30px;
 }
.featuresH3{
    font-size: 36px;
}
.custom-list2 li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 24px;
    height: 24px;
    background: rgb(104 176 77);
    border-radius: 50%;
    border: 4px solid rgb(104 176 77);
}
.nepieciesama {
    text-align: center;
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto;
}

.nepieciesama tr {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.nepieciesama td {
    font-size: 18px;
    padding: 10px 20px;
    width: 45%;
    box-sizing: border-box;
}

.nepieciesama td img {
    width: 60%;
    max-width: 90px;
    height: auto;
    display: block;
    margin: 0 auto 10px;
}
.custom-list2 li::after {
    content: "+";
    position: absolute;
    left: 9px;
    top: 7px;
    color: white;
    font-size: 24px;
    line-height: 24px;
}
.parallax-section {
    position: relative;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    z-index: 5;
    margin-top: 0;
}


.parallax-content {
    z-index: 3;
    padding: 20px 40px;
    border-radius: 10px;
}

.benefits,
.how-it-works,
.partners,
.features {
    display: flex;
    justify-content: right;
    margin: auto;
    margin-top: 60px;
}

.features div {
    flex: 1;
    padding: 20px;
}

.features h3 {
    margin-top: 0;
}

.benefits {
    position: relative;
    display: flex;
    text-align: center;
    max-width: 105svh;
    z-index: 5;
    height: 400px;
}

 .card {
    flex: 1;
    color: white;
     position: relative;
     min-height: 300px; /* например */

 }
.card-content {
    position: relative;
    z-index: 3;
    padding: 20px;
      overflow: hidden;

}
.benefits-image1 {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('images/f20859b1bfc0466c83972a811ac3f569.jpg'); /* замените на свой путь */
    z-index: 1;
   background-size: cover; 
}
.benefits-image2 {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('images/a2f4f061185f7f9e362c1a648d2c9d6c2.avif'); /* замените на свой путь */
    z-index: 1;
   background-size: cover; 
}
.benefits-image3 {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('images/788538d7a33e40f0ac693a9a73251180.jpg'); /* замените на свой путь */
    z-index: 1;
    background-position: left ;
    background-repeat: no-repeat;
   background-size: cover; 

}
.coin-overlay{
    position: absolute;
    
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(242, 242, 242, 0.9);
    z-index: 2;
}
.lock-overlay{
    position: absolute;
    
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(228, 51, 55, 0.9);
    z-index: 2;
}
.stonks-overlay{
    position: absolute;
    
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(20, 91, 138, 0.9);
    z-index: 2;
}
.white-background{
    background: white;
    z-index: 1;
}
.card-content h3{
    font-size: 30px;
    font-weight: bold;
}
.Pbenefits{
    font-style: italic ;
    font-size: 16px;
    text-align: center;
    justify-content: center;

}

.how-it-works-box {
    max-width: 1000px;
    margin: 80px auto;
    margin-top: 20px;
    margin-bottom: 0;
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-template-rows: repeat(3, 300px);
    gap: 0;
}
.language-switcher {
  display: flex;
  padding-right: 20svh;
}

.language-switcher button {
  background-color: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 8px 14px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
}

.language-switcher button.active {
  background-color: red;
  border-color: red;
  color: white;
}

.language-switcher button:hover:not(.active) {
  background-color: red;
}

.step-num {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
 .step-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    padding-top: 5svh;
}
.step-text h3{
padding-bottom: 2svh;
}
.step-color,
.step-num ,
.step-text {
}
.step-color {
    display: flex;
    justify-content: center;
    align-items: center;

}

.step-num {
    background-color: rgba(255, 255, 255, 0.2);
    font-size: 48px;
    font-weight: bold;
    padding: 30px 40px;
    width: 100%;
    height: 80%;
}

.step-text h3 {
    margin: 0 0 10px 0;
    font-size: 20px;
}

.step-text p {
    margin: 5px 0;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

.s1 { background: rgb(153, 153, 153); }
.s2 { background: rgb(29, 203, 139); }
.s3 { background: rgb(33, 64, 106); }

.partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
     padding: 0 10px;
    max-width: 140svh;
}

.partners img {
    max-width: 120px;
    width: 100%;
    height: auto;
    margin: 10px;
    flex: 0 1 auto;
    padding-left:  10svh;
}
.partners img:hover{
    opacity: 0.2;
    transition: opacity 0.3s ease;

 }

.risinajumi{
    background-color: #1e2746;
    margin: 0%;
    text-align: left;
    color: white;
    display: flex; 
    justify-content: center;
}
.risinajumi h2{    margin: 0%;
}
.risinajumi-content{
    max-width: 105svh;
    position: relative;
    display: flex;

}
.risinajumi-left{
    max-width: 50%;
    justify-content: left;
}
.risinajumi-right{
    max-width: 50%;
    justify-content: right;
}
.contact-form {
  padding: 20px 20px;
  max-width: 105svh;
  margin: auto;
  color: white;
  font-family: Arial, sans-serif;
padding-bottom: 40px;
}

.contact-form h2 {
  margin-bottom: 30px;
}
footer{
    background-color: #1e2746;
}
.form-layout {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr; /* 25% + 25% + 50% */
  grid-template-rows: auto auto;
  gap: 20px 0px; /* между строками 20px, между колонками 5px */
  max-width: 90svh;
}

.form-layout input,
.form-layout textarea {
  background-color: transparent;
  border: none;
  border-bottom: 3px solid #ffffff;
  color: white;
  padding: 10px 5px;
  font-size: 16px;
  outline: none;
  width: 100%;
}

.form-layout input::placeholder,
.form-layout textarea::placeholder {
  color: white;
  opacity: 0.7;
}

.form-layout .message {
  grid-row: 1 / span 2; 
  grid-column: 3 / 4;
  resize: none;
  min-height: 77%;
  padding-left: 20px;
    font-family: 'Open Sans', sans-serif;
    margin-left: 5%;

}

.form-layout .half {
  width: 80%;
    padding-left: 20px;

}


.contact-form button {
  margin-top: 30px;
  padding: 12px 20px;
  background-color: #e74c3c;
  color: white;
  border: none;
  border-radius: 2px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
  display: flex;
  justify-content: center;
}

.contact-form button:hover {
  background-color: #cf3f31;
}
.BigText{
    font-size: 90px; margin-top:30px; margin-bottom: 0; font-weight: bold
}
.BigText2{
font-size: 40px; margin-bottom: 5px}
  .BigText3{
font-size: 40px; margin-top:5px; margin-bottom: 0; font-weight: bold  }


.menu-toggle {
  position: absolute; /*заменить на fixed если хотите что она прилипла к экрану*/
  top: 15px;
  left: 15px;
  z-index: 1100;
  background: none;
  border: none;
  border-radius: 100px;
  font-size: 32px;
  color: white;
  cursor: pointer;
  display: none; /* включим только для мобилок */
}


@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  .mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: #1e2746;
    transition: right 0.3s ease-in-out;
    z-index: 1000;
    padding-top: 60px;
  }

  .mobile-menu.active {
    right: 0;
  }

  .mobile-menu .nav-links {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 20px;
    gap: 20px;
  }

  .mobile-menu .nav-links li a {
    font-size: 20px;
    color: white;
  }
}
#imgFeutures{
margin-top: 2%;
text-align: left;
height: 35svh;
width: auto;
}

.features .blue .textFeutures{
margin-top: 5%; 
font-size: 34px; 
text-align: left; 
margin-left: 20px;
}
.textFeutures3{
  text-align: left; margin-bottom: 0; font-size: 16px;
            line-height: 1.3;

}
.risinajumi-right-photo{
  margin-top: 30%; margin-left: 50%;
}

@media (max-width: 768px) {
  .features .blue{
    padding-left: 0;
  }
    .features {
        flex-direction: column;
        align-items: stretch;
    }

    .features h3 {
        font-size: 22px;
    }

    .features .blue .textFeutures {
        font-size: 22px;
        margin-left: 0;
        text-align: center;
    }

    .textFeutures3 {
        font-size: 15px;
        padding: 2% 10%;
          line-height: 1.7;
    }
    .consultation-form2 input{
      margin-left: 2px;
    }
    .consultation-form input{
      margin-left: 2px;
    }

    table.nepieciesama tr {
        flex-direction: column;
        margin-bottom: 10px;
    }

    #imgFeutures {
        width: 80%;
        height: auto;
        margin-top: 20px;
        padding-left: 12%;
    }
        .nepieciesama tr {
        flex-direction: column;
        align-items: center;
        margin-bottom: 20px;
    }

    .nepieciesama td img {
        width: 50%;
        max-width: 80px;
        margin-bottom: 8px;
    }
}
.white div h3{
  font-size: 40px; font-weight: normal; text-align:right;
}
@media (max-width: 768px) {
  .partners img {
    max-width: 45%; /* Два логотипа в строку */
    margin: 10px auto;
  }
}
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
  }
  .white div h3{
    text-align: center;
  }
.form-layout .nomargin{
  margin-left: 0;
}
.risinajumi-right-photo{
    margin-top: 0%; margin-left: 13%; margin-bottom: 5%;

}
  .language-switcher{
    padding-left: auto;
    padding-right: 0%;
  }

  .BigText{
    font-size: 6.7svh;
  }
  .BigText3{
    font-size: 3svh;
  }
  .BigText2{
    font-size: 3svh;
  }
  .imgFeutures{
margin-top: 5%
}

  .topbar,
  .navbar-inner,
  .menu-group,
  .logo-group,
  .nav-links,
  .form-layout {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .logo {
  }

  .nav-links {
    flex-direction: column;
    gap: 10px;
  }

  .language-selector {
    width: 100%;
    margin-top: 10px;
  }

  .consultation-form input,
  .consultation-form button,
  .consultation-form2 input,
  .consultation-form2 button {
    width: 90%;
    font-size: 16px;
  }

  .custom-list li,
  .custom-list2 li {
    font-size: 20px;
  }

  .custom-list li::before,
  .custom-list2 li::before {
    width: 20px;
    height: 20px;
  }

  .custom-list li::after {
    top: 4px;
    font-size: 16px;
  }

  .custom-list2 li::after {
    left: 9px;
    top: 4px;
    font-size: 16px;
  }

  .benefits,
  .how-it-works {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 100%;
    padding: 15px;
  }

  .how-it-works-box {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    display:table;

  }

  .step-num {
    font-size: 36px;
  }

  .step-text h3 {
    font-size: 18px;
  }

  .step-text p {
    font-size: 14px;
  }

  .risinajumi-content {
    flex-direction: column;
  }

  .risinajumi-left,
  .risinajumi-right {
    max-width: 100%;
  }

  .form-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .form-layout .message {
    grid-column: 1 / -1;
    grid-row: auto;
    padding-left: 0;
    margin-left: 0;
  }

  .form-layout .half {
    width: 100%;
    padding-left: 0;
  }

.risinajumi-left{
  margin-left: 3%;
}

  .Pbenefits {
    font-size: 14px;
  }

  .parallax-content {
    padding: 10px;
    margin-bottom: 40px;
  }

  .partners img{
    padding-left: 0;
  }
  .nav-dots {
    display: none; /* отключаем на мобильных */
  }
  .benefits{
    height: auto;
  }
  .consultation{
    padding-top: 7%;
  }
  .nepieciesama tr{
    display: block;
  }
  .nepieciesama tr img{
    min-width: 60px;
    min-height: auto;
  }
}
