
* {
   box-sizing: border-box
}

html,
    body {
      height: 100%
    }

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: #010101;
  color: white;
  font-family: "Inter", sans-serif;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: bgFade 25s infinite ease-in-out;
}
.none {
  display: none;
}
/* Анимация плавной смены изображений */
@keyframes bgFade {
  0% {
    background-image: url("../assets/img/bg-01.png");
  }
  33% {
    background-image: url("../assets/img/bg-main-02.png");
  }
  67% {
    background-image: url("../assets/img/bg-main-03.png");
  }
  100% {
    background-image: url("../assets/img/bg-01.png");
  }
}


/* Цветовые переменные */
:root {
  --bg-anim-duration: 14s;
  --bg-anim-ease: ease-in-out;
  --bg-anim-opacity: 0.28;
  --bg-anim-scale: 2.1;
  --bg-anim-color: 220, 230, 255;
  --white-clr: #ffffff;
  --grey-clr: #888888;
  --clr-up-ul: #f0f0f0;
  --black-for-txt: #000000;
  --font-inter: "Inter", sans-serif;
  --nun-sans: "Nunito Sans", sans-serif;
  --glass: #ffffff22;
  --muted: #9aa0a6;
  --container: 1200px;
  --text: #f2f2f2;
}

/* =======================================================
   WHY CLIENTS CHOOSE US (refined & optimized)
   ======================================================= */

#main-el-services-1 {
  max-width: 1280px;
  margin: 60px auto 100px;
  padding: 10px 20px;
  text-align: center;
  color: #fff;
}

/* ===== Заголовок секции ===== */
#main-el-services-1 .h2-test {
  font-family: var(--nun-sans);
  font-weight: 800;
  font-size: clamp(36px, 55px, 70px);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: -30px;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.15);
}

/* ===== Общий контейнер карточек ===== */
.services-row-1 {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

/* ===== Базовый стиль карточки ===== */
.service-card-1 {
  background: linear-gradient(180deg, rgba(8, 8, 8, 0.55), rgba(12, 12, 12, 0.45));
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 14px;
  padding: 20px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  color: #fff;
}

/* Hover */
.service-card-1:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.65);
  border-color: rgba(255, 255, 255, 0.12);
}

/* ===== Верхняя часть карточки (заголовок) ===== */
.service-header-1 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== Текст внутри карточек ===== */
.service-card-1 h1 {
  font-family: var(--nun-sans);
  font-weight: 700;
  font-size: 32px;
  text-transform: uppercase;
  margin-top: 50px;
  letter-spacing: 0.5px;
}

.service-card-1 h3 {
  font-family: var(--nun-sans);
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  margin: 0 0 8px;
  letter-spacing: 0.5px;
}

.service-card-1 p {
  font-family: var(--nun-sans);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

/* ===== Индивидуальные размеры ===== */
.services-row-1:first-of-type .service-card-1:nth-child(1),
.services-row-1:first-of-type .service-card-1:nth-child(3) {
  width: 280px;
}

.services-row-1:first-of-type .service-card-1:nth-child(2) {
  width: 600px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(12, 12, 12, 0.4));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.7);
}

.services-row-1:nth-of-type(2) .service-card-1 {
  width: 360px;
}

/* ===== Адаптивность ===== */
@media (max-width: 960px) {
  #main-el-services-1 {
    max-width: 90%;
  }
  .services-row-1 {
    gap: 12px;
  }
  .service-card-1 {
    width: 100% !important;
    text-align: center;
  }
  .service-header-1 {
    justify-content: center;
  }
  .service-card-1 h1 {
    font-size: 26px;
  }
}




header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 100px;
}

header nav a {
    font-family: var(--font-inter);
    font-style: Medium;
    font-size: 16.29px;
    line-height: 100%;
    letter-spacing: 1%;
    text-align: center;
    vertical-align: middle;
    margin: 0 25px;
    text-decoration: none;
    font-weight: bold;
    color: var(--white-clr);
    
}

header nav a.active {
    text-shadow: 0 0 14px #fff,
                 0 0 30px #fff,
                 0 0 10px #999;
}

header nav a:hover {
    cursor: pointer;
    text-shadow: 0 0 20px #9999998f,
                 0 0 20px #9999998f,
                 0 0 20px #9999998f;
}

header button {
    background-color: var(--white-clr);
    font-family: var(--font-inter);
    font-weight: 500;
    font-style: Medium;
    font-size: 15.68px;
    line-height: 100%;
    letter-spacing: 1%;
    text-align: center;
    vertical-align: middle;
    color: var(--black-for-txt);
    padding: 5px 20px;
    border: 2px solid var(--white-clr);
    border-radius: 8px;
    width: 120px !important;
    height: 40px !important;
}

header button:hover {
    background-color: #dddddd;
    border: 2px solid #dddddd;
    cursor: pointer;
}

#main-el-exchange {
    flex-direction: column;
    margin: 200px;
    padding: 10px 20px;
    margin-top: 80px;
}

#main-el-exchange .h10 {
    margin-top: -40px;
}

#main-el-exchange h1 {
  font-family: var(--nun-sans);
  font-weight: 400;
  font-style: Regular;
  font-size: 60px;
  line-height: 110.00000000000001%;
  letter-spacing: 0%;
  vertical-align: bottom;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 10px rgb(255, 255, 255), 0 0 20px rgb(194, 194, 194);
  animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% {
    text-shadow: 0 0 10px rgb(255, 255, 255), 0 0 20px rgb(219, 255, 255);
  }
  50% {
    text-shadow: 1px 1px 15px rgb(216, 216, 216), -1px -1px 25px rgb(255, 255, 255);
  }
}
#main-el-exchange h4 {
  font-family: var(--nun-sans);
  font-weight: 400;
  font-style: Regular;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: bottom;
  color: var(--grey-clr);
  margin-top: -30px;
}

#main-el-exchange button {
  font-family: var(--font-inter);
  font-weight: 800;
  font-style: Extra Bold;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
  color: var(--black-for-txt);
  padding: 15px 50px;
  border: 2px solid var(--white-clr);
  border-radius: 33px;
  text-transform: uppercase;
}
#main-el-exchange button:hover {
    background-color: #dddddd;
    border: 2px solid #dddddd;
    cursor: pointer;
}

#main-el-about {
    flex-direction: column;
    margin: 200px;
    padding: 10px 20px;
    margin-top: 80px;
}

#main-el-about h2 {
  font-family: var(--nun-sans);
  font-weight: 500;
  font-style: Medium;
  font-size: 48px;
  line-height: 100%;
  letter-spacing: 1%;
  vertical-align: middle;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 10px rgb(255, 255, 255), 0 0 20px rgb(194, 194, 194);
  animation: glowPulse 2s ease-in-out infinite;
}

#main-el-about h4 {
  font-family: var(--nun-sans);
  font-weight: 400;
  font-style: Regular;
  font-size: 20px;
  line-height: 150%;
  letter-spacing: 0%;
  vertical-align: bottom;
  color: var(--grey-clr);
  margin-top: -20px;
  margin-bottom: 30px;
}

#main-el-about .button {
  position: absolute;
  font-family: var(--font-inter);
  font-weight: 800;
  font-style: Extra Bold;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  vertical-align: middle;
  color: var(--black-for-txt);
  padding: 15px 50px;
  border: 2px solid var(--white-clr);
  background-color: var(--white-clr);
  border-radius: 33px;
  text-decoration: none;
  margin-top: 2px;
}

#main-el-about .button:hover {
    background-color: #dddddd;
    border: 2px solid #dddddd;
    cursor: pointer;
}


#main-el-services {
  max-width: 1280px;
  margin: 80px auto;
  padding: 10px;
  color: #fff;
  text-align: center;
}

#main-el-services h2 {
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 700;
  font-size: 74px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: -37px;
  color: #fff;
  text-shadow: 0 0 10px rgb(255, 255, 255), 0 0 20px rgb(194, 194, 194);
  animation: glowPulse 2s ease-in-out infinite;
}

.services-row {
  display: flex;
  justify-content: center;
  gap: 4px; /* уменьшено с 40px */
  flex-wrap: wrap;
  margin-bottom: 10px; /* было 50px */
}

.service-card {
  background: linear-gradient(180deg, rgba(8,8,8,0.55), rgba(12,12,12,0.5));
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 6px 20px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.02);
  backdrop-filter: blur(6px);
  border-radius: 14px;
  padding: 20px;
  text-align: left;
  transition: 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.6);
  border-color: rgba(255,255,255,0.12);
}

/* Верхняя часть: иконка + заголовок */
.service-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.ellipse {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ellipse img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.service-card h3 {
  font-family: var(--nun-sans);
  font-weight: 700;
  font-style: Bold;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: bottom;
  text-transform: uppercase;
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}


.service-card p {
  font-family: var(--nun-sans);
  font-weight: 400;
  font-style: Regular;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: bottom;
  font-size: 14px;
  color: rgba(255,255,255,0.78);
  line-height: 1.45;
  margin: 0;
}

/* размеры по рядам */
.services-row:first-of-type .service-card { width: 500px; }
.services-row:nth-of-type(2) .service-card { width: 300px; }
.services-row:last-of-type .service-card { width: 800px; }


#main-el-money {
  display: flex;
  flex-direction: column;
  align-items: center;   /* центрирует по горизонтали */
  justify-content: center; /* центрирует по вертикали */
  text-align: center;
  gap: 20px; /* расстояние между блоком и кнопкой */
  height: 100vh; /* секция на всю высоту экрана */
  color: #fff;
  margin-top: -200px;
}

/* карточка с заголовками */
#main-el-money .h2 {
  background: linear-gradient(180deg, rgba(8,8,8,0.55), rgba(12,12,12,0.5));
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 6px 20px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.02);
  backdrop-filter: blur(6px);
  border-radius: 14px;
  font-family: var(--nun-sans);
  font-weight: 400;
  font-size: 24px;
  text-transform: uppercase;
  width: 600px;
  padding: 20px 0;
  display: flex; 
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#main-el-money .h2 h2 {
  margin: 4px 0; /* 👈 уменьшили расстояние между заголовками */
  line-height: 1.1; /* делает текст плотнее */
}

/* кнопка */
#main-el-money button {
  font-family: Inter, sans-serif;
  font-weight: 800;
  font-size: 21px;
  line-height: 100%;
  text-transform: uppercase;
  border: 2px solid var(--white-clr);
  background-color: var(--white-clr);
  color: #000;
  border-radius: 33px;
  padding: 16px 40px;
  cursor: pointer;
  transition: 0.3s;
}

/* hover-эффект для кнопки */
#main-el-money button:hover {
  background-color: transparent;
  color: var(--white-clr);
}

/* -------------------------- */
.process-step-main {
  display: flex;
  justify-content: center;
  text-align: center;
  gap: 20px;
}

.process-step {
  display: flex;
}

.process-step-main .process-step .ellipse1 {
  font-family: Montserrat;
  font-weight: 400;
  font-style: Regular;
  font-size: 37.5px;
  line-height: 100%;
  letter-spacing: 0%;
  color: var(--grey-clr);
}
/* -------------------------- */



/* === WHY CLIENTS CHOOSE US === */
/* === PROCESS — как на примере (rail + notches + glare) === */
    .proc {
      padding: 64px 0 72px;
      position: relative
    }

    .proc-title {
      text-align: center;
      text-transform: uppercase;
      font: 800 clamp(22px, 4.8vw, 46px)/1.05 'Nunito Sans', Inter, sans-serif;
      letter-spacing: .02em;
      margin: 0 0 22px;
      text-shadow: 0 0 26px rgba(255, 255, 255, .35);
      position: relative;
      z-index: 2;
      top: 40px;
      color: #fff;
      text-shadow: 0 0 10px rgb(255, 255, 255), 0 0 20px rgb(194, 194, 194);
      animation: glowPulse 2s ease-in-out infinite;
    }

    /* мягкий блик под заголовком, перекрывающий рельс */
    .proc-title::after {
      content: "";
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      bottom: -16px;
      width: min(920px, 92vw);
      height: 44px;
      background: linear-gradient(180deg, rgba(255, 255, 255, .65), rgba(255, 255, 255, 0) 60%);
      filter: blur(8px);
      opacity: .45;
      pointer-events: none;
    }

  

    /* единый стеклянный «рельс», сегменты сверху */
    .steps {
      position: relative;
      z-index: 2;
      display: flex;
      gap: 0;
      width: min(1100px, 92%);
      margin: 0 auto;
      padding: 0 18px;
      /* внутренние отступы у круглых краёв */
    }

    .steps::before {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: 999px;
      border: 1px solid var(--glass);
      background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(0, 0, 0, .12));
      box-shadow: inset 0 0 80px rgba(35, 35, 35, .45);
      z-index: 1;
    }

    /* сами сегменты — прозрачные, только контент */
    .step {
      position: relative;
      z-index: 2;
      flex: 1 1 0;
      min-height: 46px;
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 10px 18px;
      border: 0;
      background: transparent;
      backdrop-filter: blur(6px);
      border-radius: 0;
      white-space: nowrap;
    }

    /* номера и текст */
    .step .n {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 30px;
      height: 30px;
      font-weight: 900;
      font-size: 12px;
      opacity: .95;
    }

    .step .label {
      font-weight: 800;
      letter-spacing: .02em;
      font-size: 12px;
      color: #f0f0f0;
      text-transform: uppercase
    }

    /* круглые «выемки» на стыках (над рельсом) */
    .step+.step::before {
      content: "";
      position: absolute;
      left: -14px;
      top: 0;
      width: 28px;
      height: 100%;
      z-index: 3;
      background:
        /* верхний полукруг — смотрит влево */
        radial-gradient(circle 14px at 90% 20%,
          transparent 13px, var(--glass) 13px 14px, transparent 14px) left top / 28px 15px no-repeat,
        radial-gradient(circle 14px at 30% 50%,
          transparent 13px, var(--glass) 15px 1px, transparent 14px) center / 28px 20px no-repeat,
        /* нижний полукруг — смотрит влево */
        radial-gradient(circle 14px at 90% 80%,
          transparent 13px, var(--glass) 13px 14px, transparent 14px) left bottom / 28px 15px no-repeat;
    }


    /* закруглённые края у первого/последнего сегмента (визуально — у рельса) */
    .step:first-child {
      padding-left: 24px
    }

    .step:last-child {
      padding-right: 24px
    }

    /* hover-подсветка сегмента */
    .step:hover .label {
      color: #ffffff
    }

    /* === SECOND SERVICES BLOCK (WHY CLIENTS CHOOSE US) - refined === */
    #main-el-services-1 {
      max-width: 1280px;
      margin: 40px auto 100px;
      padding: 12px 20px;
    }

    #main-el-services-1 h2 {
      font-family: var(--nun-sans);
      font-size: 56px;
      font-weight: 800;
      text-align: center;
      text-transform: uppercase;
      margin-bottom: 22px;
      letter-spacing: 1px;
      color: #fff;
      text-shadow: 0 0 0px #ffffff, 0 0 5px #c3c0ff, 0 0 6px #c9c6ff;
      animation: glowPulse 2s ease-in-out infinite;
    }

    .services-row-1 { display:flex; gap:20px; justify-content:center; flex-wrap:wrap; }

    .service-card-1 {
      background: linear-gradient(180deg, rgba(8,8,8,0.6), rgba(6,6,6,0.45));
      border: 1px solid rgba(255,255,255,0.05);
      box-shadow: 0 12px 36px rgba(0,0,0,0.65);
      backdrop-filter: blur(6px);
      -webkit-backdrop-filter: blur(6px);
      border-radius: 12px;
      padding: 18px 22px;
      color: #fff;
      min-height: 86px;
    }
    /* .login {
      background: linear-gradient(180deg, rgba(8,8,8,0.6), rgba(6,6,6,0.45));
      border: 1px solid rgba(255,255,255,0.05);
      box-shadow: 0 12px 36px rgba(0,0,0,0.65);
      backdrop-filter: blur(6px);
      -webkit-backdrop-filter: blur(6px);
      border-radius: 12px;
      padding: 18px 22px;
      color: #fff;
      min-height: 86px;
    } */
    /* top row sizing */
    .services-row-1:first-of-type .service-card-1:nth-child(1) { width: 280px; }
    .services-row-1:first-of-type .service-card-1:nth-child(2) { width: 600px; }
    .services-row-1:first-of-type .service-card-1:nth-child(3) { width: 280px; }

    .services-row-1:first-of-type .service-card-1 h1 {
      font-size: 20px; margin: 10px 0 0; font-weight:800; letter-spacing: .6px;
    }

    .services-row-1:first-of-type .service-card-1 p { margin-top:8px; color: rgba(255,255,255,0.7); font-size:13px }

    /* bottom row sizing */
    .services-row-1:nth-of-type(2) .service-card-1 { width: 360px; }
    .services-row-1:nth-of-type(2) .service-card-1 h3 { font-size:16px; margin:0 0 6px; font-weight:700; }

    /* emphasize center top tile slightly */
    .services-row-1:first-of-type .service-card-1:nth-child(2) {
      background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(12,12,12,0.4));
      border: 1px solid rgba(255,255,255,0.09);
      box-shadow: 0 18px 48px rgba(0,0,0,0.7);
    }

    .service-card-1:hover { transform: translateY(-6px); border-color: rgba(255,255,255,0.12); }

    @media (max-width: 900px) {
      .services-row-1:first-of-type .service-card-1,
      .services-row-1:nth-of-type(2) .service-card-1 { width: 100% !important; }
    }

#main-el-constant {
  display: flex;
  flex-direction: column;
  align-items: center;   /* центрирует по горизонтали */
  justify-content: center; /* центрирует по вертикали */
  text-align: center;
  gap: 3px;
  height: 100vh;
  color: #fff;
  margin-top: -200px;
}

#main-el-constant h2 {
  background: linear-gradient(180deg, rgba(8,8,8,0.55), rgba(12,12,12,0.5));
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 6px 20px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.02);
  backdrop-filter: blur(6px);
  border-radius: 14px;
  font-family: var(--nun-sans);
  font-weight: 400;
  font-size: 34px;
  text-transform: uppercase;
  width: 600px;
  padding: 20px 0;
  display: flex; 
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#main-el-constant button {
  font-family: Inter, sans-serif;
  font-weight: 800;
  font-size: 21px;
  line-height: 100%;
  text-transform: uppercase;
  border: 2px solid var(--white-clr);
  background-color: var(--white-clr);
  color: #000;
  border-radius: 33px;
  padding: 16px 40px;
  cursor: pointer;
  transition: 0.3s;
}

/* hover-эффект для кнопки */
#main-el-constant button:hover {
  background-color: transparent;
  color: var(--white-clr);
}


#main-el-reviews {
  display: flex;
  flex-direction: column;
  align-items: center;   /* центрирует по горизонтали */
  justify-content: center; /* центрирует по вертикали */
  text-align: center;
  height: 100vh;
  color: #fff;
  margin-top: -10px;
}

#main-el-reviews h2 {
  background: linear-gradient(180deg, rgba(8,8,8,0.55), rgba(12,12,12,0.5));
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 6px 20px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.02);
  backdrop-filter: blur(6px);
  border-radius: 14px;
  font-family: var(--nun-sans);
  font-weight: 400;
  font-size: 34px;
  text-transform: uppercase;
  width: 600px;
  padding: 20px 0;
  display: flex; 
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#main-el-reviews button {
  font-family: Inter, sans-serif;
  font-weight: 800;
  font-size: 21px;
  line-height: 100%;
  text-transform: uppercase;
  border: 2px solid var(--white-clr);
  background-color: var(--white-clr);
  color: #000;
  border-radius: 33px;
  padding: 16px 40px;
  cursor: pointer;
  transition: 0.3s;
  margin-top: -10px;
}

#main-el-reviews button:hover {
  background-color: transparent;
  color: var(--white-clr);
}










/* === PLATFORMS === */

.platforms {
  padding: 60px 0;
  text-align: center;
}

.platforms-title {
  font-family: var(--nun-sans);
  font-size: 48px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 40px;
}

@media (max-width: 491px) {
  .platforms-title {
    font-size: 33px;
    margin-bottom: 24px;
  }
}

.plat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: center;
}

.plat-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(8,8,8,0.6), rgba(6,6,6,0.45));
  border: 1px solid rgba(255,255,255,0.05);
  transition: 0.3s ease;
  min-height: 40px;
}

.plat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,0.15);
}

/* Все логотипы */
.plat-card img,
.plat-card svg {
  max-width: 100%;
  height: 32px;
  width: auto;
}


    .plat-grid {
      position: relative;
      z-index: 2;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 12px;
      width: min(980px, 92%);
      margin: 0 auto;
    }

    .plat-card {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 20px 50px;
      height: 52px;
      border-radius: 14px;
      border: 1px solid var(--glass);
      background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(0, 0, 0, .14));
      box-shadow: inset 0 0 60px rgba(35, 35, 35, .45);
      text-decoration: none;
      color: #f0f0f0;
      font-weight: 800;
      letter-spacing: .02em;
    }

    .plat-card svg {
      width: 22px;
      height: 22px;
      flex: 0 0 110px;
    }

    .plat-card img[alt="Gate.io"] {
      margin-left: 25%;
    }
    .plat-card img[alt="Bitget"] {
      width: 110px;
      height: 40px;
    }
    .plat-card img[alt="HTX"] {
      margin-left: 20%;
    }

    .plat-card:hover {
      box-shadow: inset 0 0 80px rgba(45, 45, 45, .5)
    }

    /* фикс ширины для красивых рядов: 4 сверху + 3 снизу */
    .plat-card {
      width: 220px;
      justify-content: flex-start
    }

    /* брендовые акценты (минимально) */
    .icon-binance .a {
      fill: #F0B90B
    }

    .icon-htx .a {
      fill: url(#gHTX)
    }

    .icon-bitget .a {
      fill: #32B7F1
    }

    .icon-bybit .y {
      fill: #F2A900
    }

    .icon-kucoin .a {
      fill: #2ED4A7
    }

    .icon-gate .a {
      fill: #00E085
    }

    .icon-okx .a {
      fill: #ffffff
    }


.faq2 {
      position: relative;
      /* constrain and center the FAQ block so it doesn't span full viewport */
      max-width: 980px;
      margin: 56px auto 60px;
      padding: 56px 16px 60px;
      width: calc(100% - 32px);
      box-sizing: border-box;
      border-top: 1px solid rgba(255, 255, 255, .06);
    }

    .faq2 .title {
      margin: 0 0 14px;
      text-transform: uppercase;
      font: 800 clamp(18px, 3.2vw, 28px)/1.15 'Nunito Sans', Inter, sans-serif
    }

    .faq-grid {
      display: grid;
      /* don't let each card grow excessively wide on large screens */
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 12px 14px;
      align-items: start;
      justify-content: center;
      max-width: 980px;
      margin: 0 auto;
      padding: 0 8px;
    }

    .faq-item {
      border-radius: 12px;
      border: 1px solid var(--glass);
      background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(0, 0, 0, .12));
      box-shadow: inset 0 0 60px rgba(35, 35, 35, .45);
      overflow: hidden
    }

    .faq-item summary {
      display: flex;
      align-items: center;
      justify-content: space-between;
      cursor: pointer;
      list-style: none;
      padding: 12px 14px;
      color: #eaeaea;
      font-weight: 600
    }

    .faq-item summary::-webkit-details-marker {
      display: none
    }

    .faq-item summary::after {
      content: "▾";
      font-size: 12px;
      opacity: .8;
      transition: transform .2s ease
    }

    .faq-item[open] summary::after {
      transform: rotate(180deg)
    }

    .faq-item .answer {
      padding: 0 14px 12px;
      color: var(--muted);
      font-size: 14px;
      line-height: 1.55
    }

    /* мобилка */
    @media (max-width:900px) {
      .faq-grid {
        grid-template-columns: 1fr
      }

      .reviews {
        padding: 36px 0
      }
    }


/* =========================================================
   MOBILE ADAPTATION — ADD THIS AT THE END OF YOUR CSS
   ========================================================= */

/* ===== GLOBAL FIXES ===== */

html, body {
  overflow-x: hidden;
}

img, svg {
  max-width: 100%;
  height: auto;
}

/* =========================================================
   TABLETS AND PHONES
   ========================================================= */

@media (max-width: 1024px) {

  header {
    margin: 0 20px;
  }

  #main-el-exchange,
  #main-el-about {
    margin: 60px 20px;
  }

}

/* Apply process-section stacking and centering for wider tablets up to 1022px */
@media (max-width: 1022px) {
  .proc-title {
    font-size: 28px;
    top: 0;
    margin-bottom: 10px;
  }

  /* remove neon/glow band under title on tablets and smaller */
  .proc-title::after { display: none !important; }
  /* reduce title glow so it doesn't create a neon line */
  .proc-title { text-shadow: none !important; }



  .steps {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
    width: 70%;
    padding: 8px 12px;
  }

  .steps::before { display: none; }

  .step {
    white-space: normal;
    flex: none;
    width: 100%;
    padding: 12px 14px;
    justify-content: center;
    text-align: center;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.06));
    border: 1px solid rgba(255,255,255,0.03);
    font-size: 15px;
  }

  .step+.step::before { display: none; }

  .step .label { display: block; font-size: 15px; }
  .step .n { margin-bottom: 8px; }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

  /* ===== HEADER ===== */


  header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center; /* keep logo centered */
    margin: 10px 15px;
    padding: 8px 0;
    text-align: center;
    z-index: 3000;
  }

  header img {
    width: 80px;
    height: auto;
    display: block;
  }
  header img[alt="logo"] {
    margin-top: -20px;
    margin-right: 80%;
    width: 75px;
    height: auto;
  }

  /* center logo, place burger top-right using absolute positioning */
  .burger {
    display: block; /* ensure visible on mobile */
    position: absolute;
    margin-left: 110%;
    margin-top: -30px !important;
    z-index: 4000;
    background: transparent;
    border: 0;
    padding: 6px;
    cursor: pointer;
  }

  .burger img { width: 25px; height: auto; display: block;}

  /* keep nav hidden by default (panel rules are defined later) */
  header nav { visibility: visible; }

  header nav a {
    margin: 0;
    font-size: 14px;
  }

  header button {
    font-size: 14px;
    padding: 6px 18px;
  }


  /* ===== HERO SECTION ===== */

  #main-el-exchange {
    margin: 40px 20px;
    text-align: center;
  }

  #main-el-exchange h1 {
    font-size: 36px;
  }

  #main-el-exchange .h10 {
    margin-top: -10px;
  }

  #main-el-exchange h4 {
    font-size: 16px;
    margin-top: 5px;
  }

  #main-el-exchange button {
    font-size: 18px;
    padding: 12px 28px;
  }


  /* ===== ABOUT ===== */

  #main-el-about {
    margin: 60px 20px;
    text-align: center;
  }

  #main-el-about h2 {
    font-size: 32px;
  }

  #main-el-about h4 {
    font-size: 16px;
  }

  #main-el-about .button {
    position: static;
    display: inline-block;
    font-size: 18px;
    padding: 12px 26px;
    margin-top: 10px;
  }


  /* ===== SERVICES ===== */

  #main-el-services h2 {
    font-size: 36px;
    margin-bottom: 10px;
  }

  .services-row {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .service-card {
    width: 100% !important;
    max-width: 80%;
  }


  /* ===== WHY CLIENTS CHOOSE US ===== */

  #main-el-services-1 .h2-test {
    font-size: 32px;
    margin-bottom: 20px;
  }

  .services-row-1 {
    flex-direction: column;
    align-items: center;
  }

  .service-card-1 {
    width: 100% !important;
    max-width: 420px;
    text-align: center;
  }


  /* ===== MONEY SECTION ===== */

  #main-el-money {
    text-align: center;
    padding: 40px 20px;
  }

  #main-el-money h2 {
    font-size: 21px;
  }

  #main-el-money-button {
    font-size: 18px !important;
    text-align: center;
    justify-content: center;
    align-items: center;
    /* padding: 70px 16px; */
    width: 80%;
    height: 10%;
  }


  /* ===== PROCESS ===== */
  /* .proc-title {
    font-size: 26px;
    top: 0;
    margin-bottom: 8px;
  }

  .steps {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
    width: 100%;
    padding: 6px 8px;
  }

  .steps::before { display: none; }

  .step {
    font-size: 14px;
    white-space: normal;
    flex: none;
    width: 100%;
    padding: 12px 14px;
    justify-content: center;
    text-align: center;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(0,0,0,0.06));
    border: 1px solid rgba(255,255,255,0.03);
  }

  .step+.step::before { display: none; } */


  /* ===== PLATFORMS ===== */
/* 
  .plat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    justify-content: center;
    align-items: center;
  }

  .plat-card {
    padding: 12px;
    justify-content: center;
    align-items: center;
  } */


  /* ===== CONSTANT SUPPORT ===== */

  #main-el-constant {
    text-align: center;
    padding: 40px 20px;
  }

  #main-el-constant h2 {
    font-size: 18px;
  }

  #main-el-constant-button {
    font-size: 17px !important;
    width: 75%;
    height: 40px;
    padding-bottom: 30px !important;
    justify-content: center;
    text-align: center;
    align-items: center;
  }


  /* ===== REVIEWS ===== */

  #main-el-reviews {
    text-align: center;
    padding: 40px 20px;
  }

  #main-el-reviews h2 {
    font-size: 25px !important;
  }

  #main-el-reviews-button {
    font-size: 15px !important;
    padding: 9px 18px;
    max-width: 68%;
    max-height: 50px;
  }

  @media (max-width: 398px) {
    #main-el-reviews {
      gap: 12px;
    }
    #main-el-reviews-button {
      font-size: 14px !important;
      padding: 19px 18px;
      max-width: 88%;
      max-height: 46px;
    }
  }

  /* ===== FAQ ===== */

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .faq-item summary {
    font-size: 15px;
  }



  /* ===== DISABLE HEAVY BACKGROUND ANIMATION ON MOBILE ===== */

  body {
    animation: none;
    background-size: cover;
  }


  /* ===== BURGER MENU (mobile) ===== */

  .nav-overlay { display: none; }

  /* slide-in panel for mobile */
  header nav {
    display: flex;
    gap: 18px;
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 82%;
    max-width: 320px;
    background: rgba(51, 51, 51, 0.98);
    color: #fff;
    flex-direction: column;
    padding: 64px 20px;
    transform: translateX(100%);
    transition: transform 260ms ease;
    z-index: 3010;
    overflow: auto;
  }

  header nav a {
    color: #fff;
    text-decoration: none;
    padding: 12px 0;
    font-size: 18px;
  }

  header .login { display: none; }

  header.nav-open nav { transform: translateX(0); }

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 3005;
    opacity: 0;
    transition: opacity .25s ease;
    pointer-events: none;
  }

  header.nav-open + .nav-overlay { opacity: 1; pointer-events: auto; }

  .nav-close { position: absolute; top: 18px; right: 18px; background: transparent; border: 0; padding: 8px; }
  .nav-close img { width: 22px; height: 22px; display: block; filter: invert(1); }

}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 480px) {

  #main-el-exchange h1 {
    font-size: 28px;
  }

  #main-el-exchange h4 {
    font-size: 14px;
  }

  #main-el-about h2 {
    font-size: 26px;
  }

  #main-el-services h2 {
    font-size: 28px;
  }

  .proc-title {
    font-size: 22px;
  }

  /* .plat-grid {
    grid-template-columns: 1fr;
  } */

}

/* Main El Money Class Button update for smaller sizes */
@media (max-width: 302px) {
  #main-el-money-button {
    font-size: 14px !important;
    text-align: center;
    justify-content: center;
    align-items: center;
    /* padding: 70px 16px; */
    width: 80%;
    height: 10%;
  }
}
