body {
  font-family: "Montserrat";
  overflow-x: hidden;
  background-color: #1a1a1a;
  color: #ffffff;
}
p,
h1,
h2,
h3 {
  margin: 0;
  padding: 0;
}

header {
  margin-bottom: 64px;
}

/*Header*/

.top-bar {
  margin: 10px 45px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.cryptocoin {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.cryptocoin img {
  width: 30px;
  height: 30px;
}

.coin {
  font-family: "Montserrat";
  font-weight: 500;
  font-size: 16px;

  white-space: nowrap;
}

.procent {
  font-family: "Montserrat";
  font-weight: 500;
  font-size: 16px;
  color: #5dd662;

  white-space: nowrap;
}

.procent-down {
  font-family: "Montserrat";
  font-weight: 500;
  font-size: 16px;
  color: #caff33;

  white-space: nowrap;
}

.procent svg {
  width: 12px;
  height: 12px;
}

/*Menu*/

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;

  background-color: #1c1c1c;
  border: 1px solid #262626;
  border-radius: 100px;

  margin: 45px 160px 0;
  padding: 10px 60px;
}

.main-nav .logo img {
  width: 140px;
  height: auto;
}

.menu {
  font-family: "lexend";
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
}
.menu li a {
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  color: #ffffff;
  padding: 12px 24px;
  transition: all 0.3s;
}
.menu li a:hover {
  background-color: #caff33;
  padding: 12px 24px;
  border-radius: 82px;
  color: #000000;
}

.menu li a:focus {
  background-color: #262626;
  padding: 12px 24px;
  border-radius: 82px;
  color: #ffffff;
}

.menu-buttons {
  display: flex;
  gap: 12px;
}

/* Dropdown Menu Styles */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
}

.dropdown-toggle::after {
  content: "▼";
  font-size: 10px;
  transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: linear-gradient(180deg, rgba(38, 38, 38, 0.38) 0%, rgba(140, 140, 140, 0.38) 100%);
  box-shadow: -31px 22px 18.299999237060547px rgba(0, 0, 0, 0.21);
  border-radius: 20px;
  backdrop-filter: blur(4.5px);
  border: 1px solid #262626;
  list-style: none;
  padding: 8px 0;
  margin: 8px 0 0 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu li a {
  display: block;
  padding: 12px 20px;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  border-radius: 0;
  background: transparent;
  transition: all 0.3s ease;
}

.dropdown-menu li a:hover {
  background-color: #caff33;
  color: #000000;
  margin: 0 8px;
  border-radius: 15px;
}

.sign-up {
  outline: none;
  border: 0;
  background: transparent;
  padding: 14px 30px;

  font-family: "Lexend";
  font-size: 14px;
  font-weight: 400;
  color: #ffffff;
}

.sign-up:hover {
  background-color: #caff33;
  color: #000000;
  border-radius: 80px;
}

.sign-up:active {
  background-color: #262626;
  color: #ffffff;
  border-radius: 80px;
}

.login {
  background-color: #caff33;
  border: 0;
  padding: 14px 30px;
  border-radius: 80px;

  font-family: "Lexend";
  font-size: 14px;
  font-weight: 400;
}

.menu-toggle {
  display: none;
  background: none;
  cursor: pointer;
  background: #caff33;
  border-radius: 82px;
  padding: 6px 14px;
}

.menu-toggle img {
  width: 28px;
  height: 28px;
}

.burger-menu {
  position: fixed;
  right: 0;
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: hidden;
}

.burger-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, #262626, #8c8c8c);
  opacity: 0.65; /* Прозрачность градиента */
  z-index: -1;
}

.burger-menu.active {
  transform: translateX(0);
}

.hidden {
  display: none;
}

@media (max-width: 1440px) {
  header {
    margin-bottom: 16px;
  }
  .top-bar {
    margin: 10px 36px 0;
  }

  .cryptocoin {
    gap: 7px;
  }

  .cryptocoin img {
    width: 22px;
    height: 22px;
  }

  .coin,
  .procent,
  .procent-down {
    font-size: 12px;
  }

  .procent svg {
    width: 9px;
    height: 9px;
  }

  /*Menu*/

  .main-nav {
    border-radius: 75px;
    margin: 32px 120px 0;
  }

  .main-nav .logo img {
    width: 105px;
    height: auto;
  }

  .menu li a {
    font-size: 12px;
  }

  .menu-buttons {
    gap: 22px;
  }

  .sign-up,
  .login {
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  * {
    box-sizing: border-box;
  }
  header {
    margin-bottom: 40px;
  }

  .top-bar {
    display: none;
  }

  .main-nav {
    width: 100%;
    padding: 14px 24px;
    margin: 0 auto;
    gap: 0;
  }

  .main-nav .menu,
  .main-nav .menu-buttons {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hidden {
    display: block;
  }

  .menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 999; /* ниже чем .burger-menu (1000) */
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
  }

  .menu-overlay.active {
    opacity: 1;
    pointer-events: all;
  }

  .burger-menu {
    padding: 60px 40px;
  }

  .burger-menu .logo img {
    width: 140px;
    height: auto;
    margin-bottom: 24px;
  }

  .burger-menu .menu {
    display: block;
  }

  .burger-menu ul {
    margin: 0;
    padding: 0;
  }

  .burger-menu .menu li a {
    font-size: 20px;
    display: block; /* чтобы весь li реагировал */
    padding: 0 0 15px;
    margin: 0;
  }

  .burger-menu .menu li a:hover {
    background-color: #caff33;
    color: #000000;
    margin: 15px;
    padding: 12px 24px;
    text-align: center;
  }

  .burger-menu .menu li a:active {
    background-color: #caff33;
    color: #000000;
    margin-left: 15px;
    margin: 15px;
    padding: 12px 24px;
    text-align: center;
  }

  .menu-contact {
    margin-top: 30px;
    margin-bottom: 30px;
  }

  .menu-contact .phone,
  .menu-contact .email,
  .menu-contact .location {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 20px;
  }

  .menu-contact p {
    font-family: "Lexend";
    font-size: 16px;
    font-weight: 400;
  }

  .sign-up,
  .login {
    font-size: 18px;
  }

  /* Dropdown в burger-menu */
  .burger-menu .dropdown {
    position: relative;
  }

  .burger-menu .dropdown-menu {
    position: static;
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    margin-top: 10px;
    padding: 0;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
  }

  .burger-menu .dropdown-menu.show {
    max-height: 200px;
    padding: 10px 0;
  }

  .burger-menu .dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    transition: background-color 0.2s ease;
  }

  .burger-menu .dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
  }

  .burger-menu .dropdown-toggle::after {
    content: "▼";
    font-size: 12px;
    margin-left: 8px;
    transition: transform 0.3s ease;
  }

  .burger-menu .dropdown.show .dropdown-toggle::after {
    transform: rotate(180deg);
  }
}

/*Hero Section*/

/*Three Section*/
.three__section {
  position: relative;
  margin: 80px 160px 0;
  background: linear-gradient(#1c1c1c 100%, #1c1c1c 0%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 40px 60px 0;
  z-index: 0;
}

.three__section-content {
  display: flex;
  align-items: center;
  gap: 80px;
}

.three__section-text h2 {
  font-family: "Lexend";
  font-size: 39px;
  font-weight: 500;
  line-height: 150%;
}

.three__section-text span {
  color: #caff33;
}

.three__section-text p {
  font-family: "Lexend";
  font-size: 14px;
  font-weight: 300;
  line-height: 150%;
  color: #b3b3b3;
  margin: 14px 0 20px;
}

.three__section-text button {
  background-color: #caff33;
  border: 0;
  padding: 14px 22px;
  border-radius: 60px;

  font-family: "Lexend";
  font-size: 14px;
  font-weight: 400;
}

.three__section-text button:hover,
.three__section-text button:active {
  background-color: #fff;
}

.three__section-image img {
  width: 400px;
}

.three__section .abstract {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 30%;
  z-index: -1;
}

@media (max-width: 1440px) {
  .three__section {
    position: relative;
    margin: 100px 120px 0;
    border-radius: 14px;
    padding: 80px 60px;
    z-index: -2;
  }

  .three__section-content {
    gap: 40px;
  }

  .three__section-text h2 {
    font-size: 29px;
  }

  .three__section-text p {
    margin: 20px 0 30px;
  }

  .three__section-image img {
    width: 360px;
  }
}

@media (max-width: 768px) {
  .three__section {
    position: relative;
    margin: 20px 16px 0;
    border-radius: 14px;
    padding: 25px;
    z-index: -2;
  }

  .three__section-content {
    flex-direction: column-reverse;
    gap: 0;
  }

  .three__section-image img {
    width: 285px;
  }

  .three__section .abstract {
    width: 300px;
  }

  .three__section-text h2 {
    font-family: "Lexend";
    font-size: 36px;
    font-weight: 400;
    line-height: 150%;
    margin-top: 24px;
  }

  .three__section-text span {
    color: #caff33;
  }

  .three__section-text p {
    font-family: "Lexend";
    font-size: 14px;
    font-weight: 300;
    line-height: 150%;
    color: #b3b3b3;
    margin: 19px 0 20px;
  }

  .three__section-text button {
    background-color: #caff33;
    border: 0;
    padding: 18px 30px;
    border-radius: 80px;

    font-family: "Lexend";
    font-size: 14px;
    font-weight: 400;
  }
}

/*Search Section*/
.search-industry__section {
  margin: 80px 160px 0;
}

.search__industry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 100px;
}

.search__industry input {
  background: #1a1a1a;
  border: 1px solid #262626;
  border-radius: 88px;
  padding: 24px;
  color: #59595a;
  width: 100%;

  font-family: "Lexend";
  font-size: 14px;
  font-weight: 300;
  line-height: 150%;
}

.search__industry button {
  background-color: #caff33;
  color: #000000;
  padding: 18px 90px;
  border: none;
  border-radius: 80px;
  cursor: pointer;
  white-space: nowrap;

  font-family: "Lexend";
  font-size: 14px;
  font-weight: 400;
}

.search__industry button:hover,
.search__industry button:active {
  background-color: #fff;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 0 auto;
  width: 100%;
}

.grid-item {
  position: relative;
  border: 1px solid #bebebe;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1 / 1; /* Квадрат */
}

.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(55%);
}

.grid-item span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 16px;

  font-family: "Lexend", sans-serif;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 1440px) {
  .search-industry__section {
    margin: 80px 120px 0;
  }

  .search__industry {
    margin-bottom: 100px;
  }

  .search__industry input {
    border-radius: 64px;
    padding: 18px;
    font-size: 12px;
  }

  .search__industry button {
    padding: 14px 75px;
    border-radius: 46px;
    font-size: 12px;
  }

  .grid-container {
    gap: 20px;
  }

  .grid-item span {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .search-industry__section {
    margin: 30px 16px 0;
  }

  .search__industry {
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
  }

  .search__industry input {
    border-radius: 64px;
    padding: 18px;
    font-size: 14px;
  }

  .search__industry button {
    padding: 14px 75px;
    border-radius: 46px;
    font-size: 14px;
  }

  .grid-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .grid-item span {
    font-size: 10px;
  }
}

/*Offer Section*/
.offer__section {
  position: relative;
  display: flex;
  align-items: center;
  gap: 60px;
  margin: 80px 160px 0;
  background: linear-gradient(#1c1c1c 100%, #1c1c1c 0%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 80px;
  z-index: -2;
}

.offer__section .abstract {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 30%;
  z-index: -1;
  width: 298px;
}

.offer__section-text {
  width: 700px;
}

.title-2 {
  font-family: "Lexend";
  font-size: 39px;
  font-weight: 500;
  line-height: 150%;
}

.title-2 span {
  color: #caff33;
}

.offer__section-text p {
  font-family: "Lexend";
  font-size: 14px;
  font-weight: 300;
  line-height: 150%;
  color: #b3b3b3;
  margin-top: 14px;
}

.offer__section-button button {
  background-color: #caff33;
  border: 0;
  padding: 14px 24px;
  border-radius: 80px;

  font-family: "Lexend";
  font-size: 14px;
  font-weight: 400;
}

@media (max-width: 1440px) {
  .offer__section {
    gap: 60px;
    margin: 140px 120px 0;
    padding: 60px;
  }

  .offer__section .abstract {
    width: 221px;
  }

  .offer__section-text {
    width: auto;
  }

  .title-2 {
    font-size: 29px;
  }

  .offer__section-button button {
    padding: 14px 20px;
    white-space: nowrap;
  }
}

@media (max-width: 768px) {
  .offer__section {
    margin: 90px 16px 0;
    display: flex;
    flex-direction: column;
    gap: 50px;
    border-radius: 20px;
    padding: 30px 25px;
    z-index: -2;
  }

  .offer__section .abstract {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 30%;
    z-index: -1;
    width: 214px;
  }

  .offer__section-text {
    width: auto;
  }

  .offer__section-text h2 {
    text-align: center;
  }

  .offer__section-text p {
    text-align: center;
  }
}

/* Footer*/

footer {
  overflow: hidden;
  margin: 100px 160px;
  padding: 100px 0 50px;
}

.footer__section img {
  width: 155px;
  display: block;
  margin: 0 auto;
}

.footer__section .menu {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
}

.footer__section .menu li a {
  font-size: 14px;
  font-weight: 400;
}

.footer-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.footer-contact .email,
.footer-contact .phone,
.footer-contact .location {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-contact p {
  font-family: "Lexend";
  font-size: 14px;
  font-weight: 400;
  line-height: 150%;
}

.footer-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.social {
  display: flex;
  gap: 14px;
}

.footer-block p {
  font-size: 14px;
  font-weight: 300;
  line-height: 150%;
  color: #b3b3b3;
  text-align: center;
}

.policy {
  display: flex;
  align-items: center;

  font-size: 14px;
  font-weight: 300;
  line-height: 150%;
  color: #b3b3b3;
}

.policy a {
  font-size: 14px;
  font-weight: 300;
  line-height: 150%;
  color: #b3b3b3;
}

@media (max-width: 768px) {
  footer {
    overflow: hidden;
    margin: 60px 16px 0;
    padding: 50px 0 30px;
  }

  .footer__section img {
    width: 142px;
    margin-bottom: 24px;
  }

  .menu-mob {
    display: none;
  }

  ul.menu {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
  }

  .menu li a {
    font-size: 14px;
  }

  .footer-contact {
    flex-wrap: wrap;
  }

  .footer-block {
    flex-direction: column;
    gap: 20px;
  }

  .social img {
    width: 44px;
  }

  .PayOut2025 {
    margin-top: 10px;
  }
}
