* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  background-color: #fff;
  color: #292929;
}

main {
  min-height: -webkit-fill-available;
}

.dropdown {
  position: relative;
  display: inline-block;
}
.breadcrumbs {
    font-size: 14px;
    padding-top: 15px;
    margin-bottom: 20px;
    margin-top: 20px;
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.breadcrumbs a {
    text-decoration: none;
    color: #007bff;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #292929;
  min-width: 200px;
  border-radius: 0 10px 10px 10px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
  right: 0;
}
.password-container {
    position: relative;
    display: flex;
    align-items: center;
}

.password-toggle {
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 40%;
    transform: translateY(-50%);
    padding: 0;
}

.password-toggle img {
    width: 20px;
    height: 20px;
}

.dropdown-content a {
  color: #969fb0;
  padding: 12px 16px;
  border-bottom: 1px solid #444;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dropdown-content a:hover {
  background-color: #575757;
}
.dropdown-toggle {
  cursor: pointer;
}
.page-container {
  width: 100%;
  height: auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards;
}
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.header {
  width: 100%;
  min-height: 90px;
  background-color: #292929;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
  box-shadow: 0px 5px 23px rgba(0, 0, 0, 0.3);
}

/* Скрыть телефон и выбор языка на мобильной версии в основной части заголовка */
.desktop-only {
  display: flex;
}

.mobile-only {
  display: none;
}

/* На мобильных устройствах */
@media (max-width: 1210px) {
  .desktop-only {
      display: none; /* Скрыть на мобильных */
  }

  .mobile-only {
      display: flex; /* Показать внутри бургер-меню */
      flex-direction: column; /* Вертикальное выравнивание */
      align-items: center; /* Центрирование по горизонтали */
      margin-top: 10px; /* Отступ сверху */
  }

  .nav {
      display: none;
  }
  
  .burger-menu {
      display: flex !important;
      position: absolute !important;
      right: 10px !important;
      top: 30px !important;
  }
  .header-right {
    display: none !important;
  }
  .auth-container {
    display: none !important;
  }
}

.header-content {
  width: 100%;
  max-width: none;
  display: flex;
  grid-template-columns: 1fr 3fr auto; /* Для ПК */
  align-items: center;
  z-index: 1000;
  transform: translateY(23px);
}
.header-divider {
  width: 2px;
  border-radius: 5px;
  max-height: 20px;
  height: 40px;
  background-color: #ccc;
  margin: 0 20px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.language-selector select {
  padding: 5px;
  font-size: 16px;
  background: none;
  border: none;
  color: white;
  font-weight: bold;
}

.phone-number a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  margin-left: 25px;
}

.phone-number a:hover {
  color: #98a1b2;
}
.logo-container {
  display: flex;
  align-items: center;
  margin-left: 20px;
}
.logo {
  opacity: 0;
  width: 200px;
  transform: translateX(-20px);
  animation: fadeInLeft 1s 0.5s forwards;
}
@keyframes fadeInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.nav {
  display: flex;
  margin-left: auto;
}
.nav-item {
  color: #fff;
  font-size: 20px;
  margin-right: 30px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeInDown 0s 0s forwards;
}
@keyframes fadeInDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.auth-container {
  display: flex;
  align-items: center;
  gap: 10px;
}
.auth-item {
  text-decoration: none;
  color: #98a1b2;
  font-size: 20px;
  opacity: 0;
  transform: translateY(0px);
  animation: fadeInDown 0s 0s forwards;
}
.auth-item:hover {
  cursor: pointer;
}
.main-content {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 20px;
}
.main-content-inner {
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  gap: 100px;
}
.text-container {
  max-width: 700px;
  text-align: left;
  opacity: 0;
  transform: translateX(-20px);
  animation: fadeInLeft 1s 1s forwards;
}
.main-heading {
  font-size: 42.48px;
  font-weight: 700;
  margin-bottom: 20px;
}
.main-description {
  font-size: 21.24px;
  color: #8a93a2;
  margin-bottom: 40px;
  font-weight: 400;
}
.button-container {
  display: flex;
  flex-direction: row;
  gap: 20px;
  width: 100%;
  opacity: 0;
  transform: translateX(-20px);
  animation: fadeInLeft 1s 1.2s forwards;
}
.btn {
  width: 100%; /* Make buttons take full width of the container */
  height: 60px;
  font-size: 21.24px;
  border-radius: 25px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  transition: box-shadow 0.3s ease;
  border: none; /* Ensure no border is applied */
}
.try-button {
  background-color: #8a93a2;
  color: #fff;
  box-shadow: 0 0 10px rgba(138, 147, 162, 0.5);
  border-color: transparent;
}
.try-button:hover {
  box-shadow: 0 0 20px rgba(138, 147, 162, 0.75);
}
.subscribe-button {
  background: linear-gradient(to right, rgba(100, 160, 254, 1), rgba(75, 220, 254, 1)); /* Change direction to right */
  color: #fff;
  box-shadow: 0 0 10px rgba(75, 220, 254, 0.5);
  border: none; /* Ensure no border is applied */
  outline: none; /* Remove any default outline */
}
.subscribe-button:hover {
  box-shadow: 0 0 20px rgba(75, 220, 254, 0.75);
}
.laptop-container {
  position: relative;
  width: 400px;
  height: 700px;
  overflow: hidden;
}
.background-element {
  position: absolute;
  width: 50%; /* Reduced size */
  height: auto;
  top: 50%;
  right: 0; /* Positioning to the right of the container */
  transform: translateY(-50%); /* Center vertically */
}
.laptop {
  position: absolute;
  top: 50%;
  left: -100%;
  width: 750px;
  transform: translate(100%, -50%);
  opacity: 0;
  animation: slideIn 2s forwards;
  filter: blur(0px);
  clip-path: inset(0); /* Initial state with no blur and full image visibility */
}
.laptop-blurred {
  filter: blur(10px);
  clip-path: inset(100% 10%); /* Apply blur to edges */
}
/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}
.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  border-radius: 15px;
  animation: slideDown 0.5s ease-out;
}
@keyframes slideDown {
  from {
    transform: translateY(-20%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  background-color: #ccc;
  border-radius: 50%;
  padding: 5px;
}
.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
.modal-heading {
  font-size: 24px;
  text-align: center;
  margin-bottom: 20px;
}
.modal-divider {
  height: 2px;
  background-color: #eee;
  margin-bottom: 20px;
}
.modal-input {
  width: 100%;
  padding: 15px;
  margin: 10px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 10px;
  box-sizing: border-box;
}
.captcha-placeholder {
  width: 100px;
  height: 100px;
  background-color: #ccc;
  margin: 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.modal-btn {
  width: 100%;
  background: linear-gradient(to right, rgba(100, 160, 254, 1), rgba(75, 220, 254, 1));
  color: #fff;
  padding: 15px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 25px;
  cursor: pointer;
}
.modal-btn:hover {
  box-shadow: 0 0 20px rgba(75, 220, 254, 0.75);
}
.modal-footer {
  text-align: center;
  color: #98a1b2;
  margin-top: 20px;
  cursor: pointer;
}
.modal-footer a {
  margin-left: 10px;
}
.modal-footer:hover {
  color: #000;
}
@keyframes slideIn {
  to {
    left: 0;
    opacity: 1;
    transform: translate(-10%, -50%);
  }
}
@media (max-width: 1210px) {
  .main-heading {
    font-size: 32px;
  }
  .hero-content {
    padding: 0 20px;
    width: inherit;
}
  .main-description {
    font-size: 18px;
  }
  .btn {
    width: 150px;
    height: 40px;
    font-size: 18px;
  }
  .laptop-container {
    width: 250px;
    height: 500px;
  }
  .laptop {
    width: 250px;
  }
  .footer-content {
    flex-direction: column;
    align-items: center !important;
  }
  .footer-column {
    align-items: center;
    margin-bottom: 20px;
  }
  .nav {
    display: none;
  }
  .burger-menu {
    display: flex;
    position: absolute;
    right: 10px;
    top: 30px;
    cursor: pointer;
  }
  .burger-menu span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 4px;
    transition: all 0.3s;
  }
  .burger-menu.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 10px);
  }
  .burger-menu.active span:nth-child(2) {
    opacity: 0;
  }
  .burger-menu.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -10px);
  }
  .burger-menu span {
    position: relative;
  }
  .nav.active {
    display: flex;
    flex-direction: column;
    background-color: #292929;
    position: absolute;
    top: 90px;
    right: 0;
    width: 100%;
    margin-top: -26px;
    text-align: center;
    z-index: 100;
  }
  .nav-item {
    padding: 0;
  }
  .auth-container-mobile {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
    width: 100%;
  }
  .auth-container-mobile a {
    text-decoration: none !important;
    color: #98a1b2 !important;
    font-size: 20px !important;
    background-color: #292929 !important;
    padding: 10px !important;
    border-radius: 5px !important;
    text-align: center !important;
  }
  .auth-container-mobile a:hover {
    background-color: #575757 !important;
  }
}
