* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
img {
  max-width: 100%;
}
.modal-overlay {
  display: none;
}
@font-face {
  font-family: Inter;
  src: url(../fonts/Inter-Regular.woff2);
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url(../fonts/Inter-Bold.woff2);
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root {
  --primary: #212529ff;
  --primary-500: 33, 37, 41;
  --black: #000000;
  --hover-btn: #363543;
  --green: #00c84f;
  --primary-foreground: #ffffff;
  --background: #ffffff;
  --border: #e5e7eb;
  --accent: #f3f4f6;
  --muted-foreground: rgb(113, 113, 130);
}
html {
  font-size: 14px;
}
body {
  font-family: Inter, system-ui;
  padding-top: 4rem;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.flex {
  display: flex;
}
.items-center {
  align-items: center;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.2);
}

.container {
  width: 100%;
  max-width: 1536px;
  margin: 0 auto;
  padding: 0 1rem;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

/* Логотип */
.logo {
  display: flex;
  color: var(--primary);
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: transform 0.2s ease-out;
  text-decoration: none;
}

.logo-icon {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;

  transition: transform 0.6s ease-out;
  transform: rotate(0deg);
}
.logo-icon svg {
  width: 100%;
}

.logo-icon span {
  color: var(--primary-foreground);
  font-weight: bold;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: bold;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  border-radius: 0.375rem;
  height: 2rem;
  padding: 0 0.75rem;
  gap: 0.375rem;
}

.button-primary {
  background: linear-gradient(
    90deg,
    var(--black) 0%,
    var(--hover-btn) 50%,
    var(--primary) 100%
  );
  background-size: 200% 100%;
  transition: background-position 1.2s ease;

  color: var(--primary-foreground);
  border: none;
  height: 2.25rem;
  padding: 0 1rem;
}

.button svg {
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
  pointer-events: none;
}

/* Мобильное меню */
/* Стили для анимированной кнопки бургера */
.mobile-nav__box {
  display: flex;
  align-items: center;
  display: none;
  gap: 15px;
}
.mobile-nav__box .button-primary {
  height: 2rem;
}
.burger-button {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 18px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 1001;
}

.burger-button__line {
  display: block;
  height: 3px;
  width: 18px;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}
.mobile-menu {
  visibility: hidden;
}
.mobile-menu__content {
  display: none;
}
/* Адаптивность */
@media (max-width: 768px) {
  .nav-desktop,
  .buttons-desktop {
    display: none;
  }

  .burger-button,
  .mobile-nav__box {
    display: flex;
  }
}

@media (min-width: 769px) {
  .burger-button {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }
}

/* Hero  */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 1rem;
  padding-bottom: 0;
  position: relative;
  overflow: hidden;
  min-height: calc(100dvh - 84px - 56px);
}

.hero-container {
  max-width: 1536px;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
  z-index: 10;
}

.hero-content {
  max-width: 51rem;
  margin: 0 auto;
  text-align: center;
  padding-bottom: 4rem;
}

.hero-title {
  font-size: 2.25rem;
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

.hero-title .highlight {
  color: var(--primary);
}

.hero-description {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
}

.benefits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--background);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}

.benefit-icon {
  color: var(--green);
  width: 1.25rem;
  height: 1.25rem;
}

.benefit-text {
  font-size: 0.875rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  border-radius: 0.375rem;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  border: none;
}
.btn-primary__box {
  display: flex;
  justify-content: center;
  grid-column: span 1;
}
.btn-primary__box .btn-primary {
  background-color: transparent;
  color: black;
  border: 1px solid black;
}

.btn-outline {
  background-color: transparent;
  border: 1px solid var(--border);
  color: inherit;
}

.arrow-icon {
  margin-left: 0.5rem;
}

.fast-start {
  margin-top: 3rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Responsive */
@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
    margin-bottom: 1.5rem;
  }
}

.hero-title .highlight {
  opacity: 0;
  animation: fadeInUp 0.5s ease-out forwards;
}
.hero-title .highlight:nth-child(1) {
  animation-delay: 0.1s;
}
.hero-title .highlight:nth-child(2) {
  animation-delay: 0.3s;
}
.hero-title .highlight:nth-child(3) {
  animation-delay: 0.5s;
}

.hero-description {
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.benefits {
  opacity: 0;
  animation: scaleIn 0.8s ease-out 0.6s forwards;
}

.cta-buttons {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.7s forwards;
}

.fast-start {
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeInUp 0.8s ease-out 0.8s forwards;
}

.marquee-text {
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.9s forwards;
}
.marquee-text.secondary {
  animation: fadeInUp 0.8s ease-out 1.1s forwards;
}

.marquee-container {
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeInUp 0.8s ease-out 0.9s forwards;
}
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
