* {
  box-sizing: border-box;
}

.hero-slider {
  position: relative;
  min-height: 750px;
  height: 100vh;
  overflow: hidden;
  color: #ffffff;
  background: #07144b;
}

.hero-nav {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  height: 76px;
  padding: 12px 40px;
  display: grid;
  grid-template-columns: 230px 1fr auto;
  align-items: center;
  gap: 28px;
}

.hero-logo {
  color: #ffffff;
  text-decoration: none;
  display: inline-grid;
  gap: 0;
  line-height: 1;
}

.hero-logo span {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-logo small {
  justify-self: end;
  font-size: 12px;
  font-weight: 700;
}

.hero-menu {
  display: flex;
  align-items: center;
  gap: 26px;
}

.hero-menu a {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
}

.hero-menu a::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-3px);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sales-btn,
.demo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  color: #ffffff;
  background: #1f7cf2;
  font-weight: 700;
  text-decoration: none;
}

.sales-btn {
  width: 188px;
  height: 51px;
  font-size: 16px;
}

.language-btn,
.menu-btn {
  border: 0;
  color: #ffffff;
  background: transparent;
  cursor: pointer;
}

.language-btn {
  width: 30px;
  height: 30px;
  font-size: 28px;
  line-height: 1;
}

.menu-btn {
  display: none;
  width: 44px;
  height: 38px;
  border-radius: 6px;
  background: rgba(18, 97, 215, 0.36);
}

.menu-btn span {
  display: block;
  width: 24px;
  height: 3px;
  margin: 4px auto;
  border-radius: 99px;
  background: #2389ff;
}

.slides,
.slide {
  position: absolute;
  inset: 0;
}

.slide {
  display: grid;
  place-items: center;
  padding: 96px 0 64px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 700ms ease, visibility 700ms ease;
}

.slide.active {
  opacity: 1;
  visibility: visible;
}

.slide-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-overlay {
  position: absolute;
  inset: 0;
}

.slide-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  text-align: center;
}

.slide-content h1,
.slide-content h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(54px, 5.1vw, 90px);
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: 0;
}

.slide-content strong,
.slide-content span {
  display: block;
}

.slide-content strong {
  font-weight: 800;
}

.slide-content span {
  font-weight: 300;
}

.slide-content p {
  width: min(960px, 100%);
  margin: 28px auto 26px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 22px;
  line-height: 1.4;
}

.demo-btn {
  min-width: 184px;
  height: 55px;
  padding: 0 30px;
  border-radius: 28px;
  font-size: 20px;
}

.sales-btn:hover,
.sales-btn:focus-visible,
.demo-btn:hover,
.demo-btn:focus-visible {
  background: #116ee6;
}

.slider-dots {
  position: absolute;
  z-index: 9;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.slider-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.slider-dots button.active {
  width: 28px;
  border-radius: 99px;
  background: #ffffff;
}

@media (max-width: 1100px) {
  .hero-nav {
    grid-template-columns: 210px 1fr auto;
    padding-inline: 32px;
  }

  .hero-menu {
    gap: 16px;
  }

  .hero-menu a {
    font-size: 14px;
  }
}

@media (max-width: 860px) {
  .hero-slider {
    min-height: 695px;
    height: 100vh;
  }

  .slide {
    place-items: center;
    padding: 90px 0 70px;
  }

  .hero-nav {
    height: 90px;
    padding: 20px 34px;
    grid-template-columns: 1fr auto;
  }

  .hero-menu,
  .sales-btn,
  .language-btn {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .hero-logo span {
    font-size: 26px;
  }

  .slide-content {
    width: min(560px, calc(100% - 32px));
    margin: 0 auto;
    transform: translateY(-28px);
  }

  .slide-content h1,
  .slide-content h2 {
    font-size: clamp(48px, 10vw, 58px);
    line-height: 1.03;
  }

  .slide-content p {
    margin-top: 22px;
    font-size: 22px;
    line-height: 1.35;
  }

  .demo-btn {
    min-width: 184px;
    height: 55px;
    margin-top: 4px;
  }
}

@media (max-width: 520px) {
  .hero-slider {
    min-height: 640px;
  }

  .hero-nav {
    padding-inline: 32px;
  }

  .slide-content {
    margin: 0 auto;
    transform: translateY(-34px);
  }

  .slide-content h1,
  .slide-content h2 {
    font-size: 51px;
  }

  .slide-content p {
    font-size: 22px;
  }
}



.cert-section {
  padding: 80px 20px;
  background: #fff;
}

.cert-container {
  max-width: 1240px;
  margin: 0 auto;
  text-align: center;
}

.cert-container h2 {
  margin: 0 0 48px;
  color: #2b2528;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.15;
  font-weight: 700;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.cert-card {
  min-height: 230px;
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f3fa;
  border: 14px solid #f1e2f1;
  border-radius: 6px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.cert-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(40, 25, 55, 0.12);
}

.cert-card img {
  max-width: 100%;
  max-height: 120px;
  object-fit: contain;
  display: block;
}

@media (max-width: 900px) {
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .cert-section {
    padding: 56px 16px;
  }

  .cert-container h2 {
    margin-bottom: 30px;
  }

  .cert-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .cert-card {
    min-height: 170px;
    padding: 24px;
    border-width: 10px;
  }
}



.demo-footer {
  padding: 14px 28px 20px;
  background: #ffffff;
}

.demo-footer-btn {
  width: min(560px, 100%);
  height: 50px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  color: #ffffff;
  background: #237ff2;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}

.demo-footer-btn:hover {
  background: #176ee0;
}

@media (max-width: 700px) {
  body {
    padding-bottom: 82px;
  }

  .demo-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    padding: 12px 28px 20px;
    background: #ffffff;
    box-shadow: 0 -8px 18px rgba(0, 0, 0, 0.16);
  }

  .demo-footer-btn {
    width: 100%;
    height: 50px;
    font-size: 20px;
  }
}
