html {
  background: rgba(5, 18, 13, 1);
  color: rgba(255, 255, 255, 1);
  scroll-behavior: smooth;
  font-family: Poppins;
}

:root {
  --accent-color: rgba(0, 255, 157, 1);
  --p-txt: rgba(255, 255, 255, 0.5);
  --main-border: rgba(26, 30, 24, 1);

}

.wrapper {
  min-height: 100%;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.container {
  max-width: 1350px;
  padding: 0 15px;
  margin: 0 auto;
  height: 100%;
}

/* COMP */
h1 {
  font-size: clamp(40px, 4vw, 64px);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.4;
}

h3 {
  font-size: clamp(20px, 4vw, 24px);
  line-height: 1.4;
  font-weight: 700;

}



p {
  font-size: clamp(16px, 4vw, 20px);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
}

.green {
  color: var(--accent-color);
}

.btn {
  padding: 24px 32px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  gap: 10px;

}

/* HERO */
.hero {
  background: url(../img/hero/bg.png);
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 100dvh;
}

header {
  padding: 15px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 24px;
  line-height: 1.4;
  font-weight: 700;

}

.nav-list {
  display: flex;
  align-items: center;
  gap: 24px;

}

.nav-item {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  transition: all .3s;
}

.nav-item:hover {
  color: rgb(255, 255, 255);
}

.header-btn {
  min-height: 40px;
  padding: 8px 16px;
  font-size: 16px;
  background: rgba(22, 167, 100, 1);
  transition: all .3s;
}

.header-btn:hover {
  background: rgba(22, 167, 99, 0.682);
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 60px;
  max-width: 675px;
  margin: 0 auto;
  min-height: 80dvh;
  justify-content: center;
}

.hero-txt {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  justify-content: center;

}

.hero-txt p {
  text-align: center;
}

.green-btn {
  background: rgba(22, 167, 100, 1);
  color: white;
  width: 100%;
  transition: all .3s;
}

.green-btn:hover {
  background: rgba(22, 167, 99, 0.76);
}

.bord-btn {
  border: 2px solid rgba(255, 255, 255, 1);
  width: 100%;
  transition: all .3s;
}

.bord-btn:hover {
  background: white;
  color: black;
  fill: black;
}

.hero-form {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.hero__form-inputs {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  max-width: 640px;
  margin: 0 auto;
}

.hero__form-inputs input {
  background: rgba(255, 255, 255, 0.15);
  padding: 16px 24px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 1);
  width: 100%;
  max-width: 308px;
  font-size: 20px;
  font-weight: 500;
  color: white;
  backdrop-filter: blur(10px);
}

.hero__form-inputs::placeholder {
  color: rgba(255, 255, 255, 0.9);
}

.hero__form-btns {
  display: flex;
  flex-direction: column;

  width: 100%;
  gap: 12px;
  max-width: 640px;
  margin: 0 auto;
}

.hero__form-btns .green-btn {
  max-width: 100%;
  white-space: nowrap;
}

.hero__form-btns .bord-btn {
  max-width: 100%;
  padding: 20px;
}

/* FUNZ */

.funz {
  padding-top: 80px;
  padding-bottom: 160px;
}

.funz-inner {
  display: flex;
  justify-content: space-between;
}

.funz-l {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 641px;
  width: 100%;
}

.funz-r {
  max-width: 567px;
  min-height: 534px;
}

.funz-r img {
  width: 100%;
  height: 100%;
}

.passiv {
  padding-bottom: 160px;

}

/* PASSIV */


.passiv-inner {
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: center;
  justify-content: center;
}

.passiv-inner h2 {
  text-align: center;
  max-width: 744px;
  margin: 0 auto;
}

.passiv-mid {
  display: flex;

}

.passiv-elem {
  padding: 24px;
  border: 1px solid rgba(21, 26, 26, 1);
  min-height: 320px;
  max-width: 330px;
  display: flex;
  flex-direction: column;
  gap: 26px;
  position: relative;
}

.passiv-elem p {
  font-size: clamp(14px, 5vw, 16px);
  line-height: 1.4;
}

.passiv__elem-fase {
  text-transform: uppercase;
  font-size: 14px;
  padding: 4px 8px;
  border-radius: 100px;
  min-height: 28px;
  width: fit-content;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 6%;
  right: 6%;
}

.passiv-bot {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  justify-content: center;
  max-width: 710px;

}

.passiv-bot p {
  text-align: center;
}

.passiv-bot .btn {
  max-width: 337px;

}

/* CHART */

.chartix {
  padding-bottom: 160px;
}

#chart {
  min-height: 520px;
  width: 100%;
  max-width: 866px;
  border: 1px solid rgba(26, 30, 24, 1);
  border-radius: 24px;
  overflow: hidden;
}

.start-btn {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 78px;
  width: 100%;
  max-width: 160px;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  color: white;
  gap: 10px;
  background: rgba(22, 167, 100, 1);
  border-radius: 12px;

}


.chart-inner {
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: center;
  justify-content: center;
}

.chart-inner h2 {
  max-width: 744px;
  text-align: center;
}

.chart-cc {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: center;
  justify-content: center;
}

/* TEMPO */


.tempo {
  padding-bottom: 160px;

}

.tempo-inner {
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: center;
  justify-content: center;
}

.tempo-txt {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  justify-content: center;
  max-width: 744px;
  text-align: center;
}

.tempo-txt p {
  max-width: 588px;
}

.tempo-table {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(21, 26, 26, 1);
}

.tempo-row {
  display: flex;


}

.chart-test {
  position: relative;
}

.overlay {
  position: absolute;
  top: 5%;
  left: 5%;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
}

.tempo-row div {
  border: 1px solid rgba(21, 26, 26, 1);
  min-width: 266px;
  width: 100%;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(16px, 5vw, 24px);
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
  padding: 24px;

}

.tempo__row-g {
  background: rgba(22, 167, 100, 1);

}



/* TESTI */


.testi {
  padding-bottom: 160px;
}

.testi-inner {
  display: flex;
  flex-direction: column;
  gap: 65px;

  width: 100%;
}

.testi-inner h2 {
  text-align: center;
  max-width: 919px;
  margin: 0 auto;
}

.testi-elem {
  display: flex;
  align-items: center;
  gap: 55px;

}

.testi__elem-r {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 481px;

}

.testi-c {
  width: 100%;
}

.testi__elem-r p {
  font-size: 16px;
  font-weight: 500;

}

.testi__elem-b {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testi-elem img {
  width: 100%;
  max-width: 340px;
}

.testi__elem-b p {
  font-size: 24px;
  font-weight: 700;
  color: white;
}

.testi__elem-b span {
  font-size: 16px;
  font-weight: 700;
}

.testi__elems-b {
  margin-top: -60px;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.testi__elems-b .btn {
  max-width: 337px;

}

.test-ww .testi__elem-r {
  max-width: 413px;
}

/* PERCHE */

.perche {
  padding-bottom: 120px;
}

.perche-c {
  display: flex;

}

.perche h2 {
  text-align: center;
  max-width: 641px;
  margin: 0 auto;
  margin-bottom: 60px;
}

.perche-elem {
  border: 1px solid rgba(21, 26, 26, 1);
  max-width: 330px;
  min-height: 320px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.perche-elem h3 {
  text-align: center;
}



/* oggi */
.oggi {
  padding-bottom: 160px;
}

.oggi-inner {
  display: flex;
  align-items: center;
  gap: 100px;

}

.oggi-l {
  display: flex;
  flex-direction: column;
  gap: 88px;
  max-width: 567px;
  width: 100%;
}

.oggi-l h2 {
  font-size: 40px;
}

.oggi-l p {
  font-size: 16px;

}

.oggi-r .oggi-form {
  display: flex;
  flex-direction: column;
  gap: 40px;

}

.oggi-inputs {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;

}

.iti__country-list {
  background: #00352a;
  max-width: 308px;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.spinner {
  width: 20px;
  height: 20px;
  border: 3px solid #fff;
  border-top: 3px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: none;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}




.modal {
  display: none;
  position: fixed;
  z-index: 999;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);

  align-items: center;
  justify-content: center;
}

.modal-content {
  background: #1c2c28;
  padding: 30px;
  max-width: 400px;
  margin: 15% auto;
  text-align: center;
  border-radius: 12px;
}

.modal button {
  margin-top: 15px;
  padding: 10px 20px;
  border: none;
  background: #1fb56c;
  color: #fff;
  border-radius: 8px;
}

.oggi-inputs input {
  font-size: 20px;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 1);
  background: rgba(255, 255, 255, 0.15);
  padding: 16px 24px;
  max-width: 308px;
  width: 100%;
  border-radius: 8px;
  color: white;
}

/* domande */


.domande {
  padding-bottom: 120px;
}

.domande-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.domande-inner h2 {
  text-align: center;
}

.domande-table {
  display: flex;
  flex-wrap: wrap;
  width: 100%;

}

.domande__table-elem {
  width: 100%;
  max-width: 660px;
  padding: 16px 24px;
  border: 1px solid rgba(21, 26, 26, 1);
  display: flex;
  flex-direction: column;
  gap: 16px;

}

.domande__table-elem p {
  font-size: 16px;

}

/* FOOTER */

footer {
  padding-bottom: 80px;
}

.footer-inner {
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-top: 1px solid rgba(21, 26, 26, 1);
}

.footer-col {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 223px;
}

.footer-col p {
  font-size: 14px;
}

.footer-link {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  transition: all .3s;
}

.footer-link:hover {
  color: white;
}

.footer-btns {
  display: flex;
  align-items: center;
  gap: 8px;

}

.footer-btns .btn {
  padding: 8px 16px;
  font-size: 16px;
  min-height: 40px;

}

.ttup {
  text-transform: uppercase;
}

.mob {
  display: none;
}

.top-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 20px 30px;
  border-radius: 10px;
  color: #9aa5a1;
  width: 80%;
}

.label {
  font-size: 14px;
  margin-bottom: 12px;
}

.value {
  color: #00e6a7;
  font-size: 18px;
  margin-bottom: 10px;
}

.left {
  width: 60%;
}

.right {
  text-align: left;
}

input[type="range"] {
  width: 100%;
  appearance: none;
  height: 6px;
  background: #1f3a32;
  border-radius: 10px;
  outline: none;
}

/* зелёная активная линия */
input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  background: linear-gradient(to right, #00e6a7 0%, #00e6a7 var(--progress), #1f3a32 var(--progress));
  border-radius: 10px;
}

/* ползунок */
input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  background: #00e6a7;
  border-radius: 4px;
  cursor: pointer;
  margin-top: -5px;
  border: none;
}

.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-top: 5px;
  color: #6c7a76;
}

.strategies {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.strategies button {
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid #2f4a42;
  background: transparent;
  color: #9aa5a1;
  cursor: pointer;
  transition: 0.2s;
}

.strategies button.active {
  background: #00e6a7;
  color: #00352a;
  border: none;
}

.strategies button:hover {
  border-color: #00e6a7;
}




.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 100dvh;
  background: rgba(128, 128, 128, 0.316);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-modal {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  justify-content: center;
  background: rgba(10, 22, 17, 1);
  padding: 40px;
  border-radius: 16px;
  max-width: 628px;
  width: 100%;

}

.popup-modal h3 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
}

.modal-m {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.modal-b {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.modal-b .btn {
  font-size: 16px;
  padding: 18px;
  width: 100%;
  max-width: 100%;
  max-width: 267px;
  border-radius: 12px;
  min-height: 62px;
  color: white;
}

.modal-m p {
  font-size: 24px;
  color: rgba(0, 255, 157, 1);
  line-height: 1.4;
}

.modal-m h4 {
  font-size: 40px;
  font-weight: 700;
  color: rgba(0, 255, 157, 1);
}





.iti__country-list {

  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
  min-width: 305px;
}

.iti__country {
  white-space: nowrap;
}

.iti {
  width: 100%;
  max-width: 308px;
}


@media(max-width:767px) {
  .btn {
    font-size: 16px;
    padding: 20px;
    border-radius: 8px;
  }


  .logo {
    font-size: 20px;
  }

  .header-nav {
    display: none;
  }

  .header-btn {
    font-size: 13px;
    min-height: 36px;
    padding: 8px 16px;
  }

  .hero {

    min-height: 0;
  }

  .hero-inner {
    min-height: 0;
    padding-top: 50px;
    gap: 36px;
  }

  .hero__form-inputs input {
    width: 100%;
    max-width: 100%;
    padding: 12px 16px;
    font-size: 14px;
  }

  .hero__form-btns {
    flex-direction: column;
    gap: 8px;
  }

  .hero__form-btns .btn {
    max-width: 100%;
    width: 100%;
    font-size: 16px;
    padding: 20px;
    max-height: 60px;
    min-height: 0;
  }

  .funz-inner {
    flex-direction: column-reverse;
    gap: 40px;

  }

  .funz {
    padding-bottom: 120px;
  }

  .funz-r {
    min-height: 0;
  }

  .funz-l {
    gap: 16px;

  }

  .passiv-mid {
    flex-direction: column;
  }

  .passiv-elem {
    max-width: 100%;
    min-height: 260px;
  }

  .passiv {
    padding-bottom: 120px;
  }

  .chartix {
    padding-bottom: 120px;
  }

  .tempo {
    padding-bottom: 120px;
  }

  .tempo-row div {
    border: 1px solid rgba(21, 26, 26, 1);
    min-width: 110px;
    width: 100%;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(16px, 4vw, 24px);
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    padding: 24px;
  }

  .tempo-inner {
    gap: 40px;
  }

  .tempo-table {
    max-width: 330px;
  }

  .testi {
    padding-bottom: 120px;
  }

  .testi-inner {
    gap: 40px;

  }

  .testi-c {
    flex-direction: column;
  }

  .desk {
    display: none;
  }

  .testi-elem {
    flex-direction: column;
    gap: 0;
  }

  .testi__elems-b {
    margin-top: 40px;
    margin-bottom: 40px;
  }

  .testi-elem img {
    max-width: 120px;
    align-self: flex-end;
    margin-bottom: -30px;
  }

  .testi__elem-r p {
    font-size: 14px;
  }

  .testi__elem-b p {
    font-size: 20px;
  }

  .testi__elem-b span {
    font-size: 14px;
  }

  .test-ww .testi__elem-r svg {
    align-self: flex-end;
  }

  .test-ww img {
    align-self: flex-start;
  }

  .mob {
    display: flex;

  }

  .perche {
    padding-bottom: 120px;
  }

  .perche-c {
    flex-wrap: wrap;
  }

  .perche-elem {
    max-width: 50%;
    min-height: 220px;
  }

  .perche-elem h3 {
    font-size: 14px;
  }

  .oggi {
    padding-bottom: 120px;
  }

  .oggi-inner {
    gap: 40px;
    flex-direction: column;

  }

  .oggi-l {
    max-width: 100%;
    gap: 16px;

  }

  .oggi-inputs input {
    max-width: 100%;
    padding: 12px 16px;
    font-size: 14px;

  }

  .domande {
    padding-bottom: 100px;
  }

  .domande__table-elem p {
    font-size: 14px;
  }

  footer {
    padding-bottom: 60px;
  }

  .footer-inner {
    flex-wrap: wrap;
    row-gap: 40px;
    column-gap: 16px;
  }

  .footer-link {
    line-height: 1.5;
  }

  .footer-btns {
    width: 100%;

  }

  .footer-col:nth-child(1) {
    max-width: 100%;
  }

  .footer-col:nth-child(2) {
    max-width: 40%;
  }

  .footer-col:nth-child(3) {
    max-width: 49%;
  }

  .footer-col:nth-child(4) {
    flex-direction: row;
    width: 100%;
    max-width: 100%;
    gap: 16px;
  }

  .footer-btns .btn {
    font-size: 13px;
    min-height: 36px;
    padding: 8px 16px;
  }

  .oggi-l h2 {
    font-size: 32px;
  }

  .oggi-l p {
    font-size: 14px;
  }

  .hero-txt {
    gap: 16px;
  }

  .top-panel {
    flex-direction: column;
    gap: 40px;
    width: 100%;
    padding: 0;
  }

  .left {
    width: 100%;
  }

  .chart-inner {
    gap: 40px;
  }

  #chart {
    min-height: 400px;
    width: 100%;
  }

  .chart-test {
    width: 100%;
  }

  .start-btn {
    font-size: 16px;
    padding: 20px 24px;
    min-height: 64px;
    width: 100%;
    max-width: 126px;

  }

  .popup-modal {
    padding: 40px 24px;
    margin: 0 16px;
  }

  .popup-modal h3 {
    font-size: 24px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 1);
  }

  .modal-m p {
    font-size: 16px;

  }

  .modal-m h4 {
    font-size: 32px;

  }

  .modal-b {
    flex-direction: column;
    gap: 14px;
  }

  .modal-b .btn {
    max-width: 100%;
    padding: 20px;
    font-size: 13px;
    max-height: 50px;
    min-height: 0;
  }

  .iti {
    width: 100%;
    max-width: 100%;
  }

  .hero {
    background: url(../img/hero/bg-mob.png);
    background-size: cover;
    background-repeat: no-repeat;
  }

  input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 25px;
    height: 25px;
    background: #00e6a7;
    border-radius: 4px;
    cursor: pointer;
    margin-top: -10px;
    border: none;
  }

  .iti__country-list {
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
    min-width: 340px;
  }
}
/* popup-refresh-20260613 */
.modal-content {
  background: #1c2c28;
  width: min(720px, calc(100vw - 32px));
  max-width: none;
  padding: 56px 48px 48px;
  margin: 0 auto;
  text-align: center;
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.modal-content h2 {
  margin: 0 0 26px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.08;
  color: #fff;
}

.modal-content p {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.25;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
}

.modal button {
  min-width: 132px;
  margin-top: 34px;
  padding: 15px 34px;
  border: none;
  background: #22b873;
  color: #fff;
  border-radius: 12px;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
}

/* popup-mobile-fix-20260613 */
@media (max-width: 767px) {
  .modal-content {
    width: min(360px, calc(100vw - 40px));
    padding: 34px 24px 30px;
    border-radius: 16px;
  }

  .modal-content h2 {
    margin-bottom: 18px;
    font-size: 34px;
    line-height: 1.12;
  }

  .modal-content p {
    font-size: 22px;
    line-height: 1.22;
  }

  .modal button {
    min-width: 126px;
    margin-top: 28px;
    padding: 14px 28px;
    font-size: 20px;
  }
}

/* popup-bottom-air-20260613 */
.modal-content {
  padding-bottom: 66px;
}

@media (max-width: 767px) {
  .modal-content {
    padding-bottom: 44px;
  }
}
