 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;
    margin-left: 20%;
    top: -0px;
    left: 0;
    width: 80%;
    height: 110%;
    background-image: url('images/bgbg.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 0;
    will-change: background-position;
    z-index: -2;
    filter: blur(0.5px);
    transform: scale(1.00); /* слегка увеличиваем, чтобы не появились края размытия */
}

/* Полупрозрачная плёнка поверх */
.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 39, 70, 0.7);
    z-index: 0;
}
/* Центрированный Topbar */
.topbar {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.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: 20px;
    padding: 0;
    margin: 0;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: #ffc107;
}


.blue {
    background: rgb(26, 39, 85);
    color: white;
    padding: 20px;
}

.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 tr td{
    font-size: 19px;

    padding: 40px;
}
.nepieciesama tr td img{
        width: 50%;
}
.nepieciesama{
    min-width: 60%;
    text-align: center;
    justify-content: center;
    display: flex;
}
.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-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/dbd7c5a2bd5b423698d856a1ac1db2bf_1.jpg'); /* замените на свой путь */
    background-size: cover;
    will-change: transform;
    z-index: 1;
    background-repeat: no-repeat;
    background-position: center -100px; /* сдвигаем вверх */

}
.paralax-overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(22, 23, 27, 0.7);
    z-index: 2;
}
.parallax-content {
    z-index: 3;
    padding: 20px 40px;
    border-radius: 10px;
}

.benefits,
.how-it-works,
.partners,
.features {
    display: flex;
    justify-content: space-between;
    max-width: 105svh;
    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;
}
.benefits-image1 {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('images/cf14467f94044a94b01d12f30cf1ab4b_1.jpg'); /* замените на свой путь */
    z-index: 1;
    background-position: center -100%;

}
.benefits-image2 {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('images/08d90e_a3bb94fc0bd54d838f5eb64764ed790b~mv2.jpg'); /* замените на свой путь */
    z-index: 1;
    background-position: center -50%;


}
.benefits-image3 {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('images/dbd7c5a2bd5b423698d856a1ac1db2bf.jpg'); /* замените на свой путь */
    z-index: 1;
    background-position: left ;


}
.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;
}

.step-num, .step-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.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); }

.blueline{
    background-color: #1e2746;
    min-height: 500px;
    justify-content: center;
    position: absolute;
    min-width: 100%;
    z-index: -1;
    margin-top: 300px;

}
.partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 0 10px;
}

.partners img {
    max-width: 120px;
    width: 100%;
    height: auto;
    margin: 10px;
    flex: 0 1 auto;
}
.partners img:hover{
    opacity: 0.2;
    

 }

.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: 30%
}

.features .blue .textFeutures{
margin-top: 30%; 
font-size: 34px; 
text-align: left; 
margin-left: 20px;
}
.textFeutures3{
  text-align: left; margin-bottom: 30%
}
.risinajumi-right-photo{
  margin-top: 30%; margin-left: 50%;
}
@media (max-width: 768px) {
  .partners img {
    max-width: 45%; /* Два логотипа в строку */
    margin: 10px auto;
  }
}
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
  }
.form-layout .nomargin{
  margin-left: 0;
}
.risinajumi-right-photo{
    margin-top: 0%; margin-left: 13%; margin-bottom: 5%;

}


  .BigText{
    font-size: 6.7svh;
  }
  .BigText3{
    font-size: 3svh;
  }
  .BigText2{
    font-size: 3svh;
  }
  .imgFeutures{
margin-top: 5%
}
  .features .blue .textFeutures{
    margin-top: 10%; 
  }
    .features .blue .textFeutures3{
      line-height: 1.8; /* нормой считается 1.4–1.8 */
      margin-bottom: 0
  }
  .nav-links a{
    
  }

  .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;
  }

  .features,
  .benefits,
  .how-it-works {
    flex-direction: column;
    align-items: center;
  }

  .card,
  .features div {
    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%;
}

  .featuresH3 {
    font-size: 24px;
  }

  .features h3 {
    font-size: 22px;
  }

  .Pbenefits {
    font-size: 14px;
  }

  .parallax-content {
    padding: 10px;
  }

  .nav-dots {
    display: none; /* отключаем на мобильных */
  }
  .benefits{
    height: auto;
  }
  .consultation{
    padding-top: 7%;
  }
}
