/* Стили для конкретных секций лендинга */

/* ==================== GLOWING ЭФФЕКТЫ ==================== */
.glowing-effect {
  pointer-events: none;
  overflow: visible;
}

.glowing-effect img {
  width: 100%;
  height: auto;
  display: block;
}

/* Glowing сверху-слева (в hero секции) - абсолютный */
.glowing-top-left {
  position: absolute;
  top: -400px;
  left: -500px;
  width: 1586px;
  z-index: 1;
  /* Хак для Chrome: включает GPU-ускорение и убирает banding */
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
}

/* Glowing справа (в секции преимуществ) - абсолютный */
.glowing-advantages {
  position: absolute;
  top: -300px;
  right: -400px;
  left: auto;
  width: 1200px;
  transform: scaleX(-1) translateZ(0);
  z-index: 1;
  /* Хак для Chrome: включает GPU-ускорение и убирает banding */
  will-change: transform;
  backface-visibility: hidden;
}

/* ==================== НАВИГАЦИЯ ==================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  /* background-color: rgba(40, 40, 40, 0.2); */
  /* backdrop-filter: blur(50px); */
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  padding: 24px;
}

.navbar.scrolled {
  /* background-color: rgba(40, 40, 40, 0.4); */
  /* backdrop-filter: blur(50px); */
}

.navbar-content {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(40, 40, 40, 0.2);
  backdrop-filter: blur(50px);
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar-left {
  display: flex;
  align-items: center;
  gap: 60px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: var(--font-text-l-size);
  font-weight: 500;
  color: var(--color-white);
  height: 24px;
}

.logo img {
  height: 24px;
  width: auto;
  flex-shrink: 0;
  display: block;
}

.logo svg {
  flex-shrink: 0;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar-menu a {
  font-size: var(--font-text-m-size);
  font-weight: 500;
  color: #DDDDDD;
  line-height: 20px;
  letter-spacing: -0.28px;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.navbar-menu a:hover {
  opacity: 0.7;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.auth-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-selector {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lang-icon img,
.lang-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.lang-text {
  display: flex;
  align-items: center;
}

.lang-text span {
  font-size: var(--font-text-m-size);
  font-weight: 400;
  color: #DDDDDD;
  line-height: 20px;
  letter-spacing: -0.28px;
}

.lang-dropdown {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lang-dropdown svg {
  width: 24px;
  height: 24px;
}

.btn-login {
  height: 36px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-family: 'Onest', sans-serif;
  font-size: var(--font-text-m-size);
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.28px;
  color: var(--color-white);
  background: transparent;
  border: 1px solid #7E7E7E;
  border-radius: 32px;
  cursor: pointer;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.btn-login:hover {
  opacity: 0.7;
}

.btn-signup {
  height: 36px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-family: 'Onest', sans-serif;
  font-size: var(--font-text-m-size);
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.28px;
  border-radius: 32px;
  white-space: nowrap;
  background-color: var(--color-white);
  color: #101010;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
  text-decoration: none;
}

.btn-signup:hover {
  opacity: 0.8;
}

/* ==================== HERO СЕКЦИЯ ==================== */
.hero {
  background-color: var(--color-black);
  color: var(--color-white);
  padding-top: 160px;
  padding-bottom: 80px;
  position: relative;
  overflow: visible;
}

.hero-background-pattern {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 632px;
  height: 632px;
  background-image: url('../images/hero-background-pattern.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.1;
  pointer-events: none;
  z-index: 0;
}

/* ==================== КЛИЕНТЫ ==================== */
.clients {
  background-color: var(--color-black);
  padding: var(--spacing-3xl) 0;
  position: relative;
  overflow: hidden;
}

.clients-content {
  display: flex;
  align-items: center;
  gap: 64px;
}

.clients-label {
  color: #7E7E7E;
  font-family: 'Onest', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.28px;
  flex-shrink: 0;
  width: 208px;
}

.clients-logos-wrapper {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.clients-logos-wrapper::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 150px;
  background: linear-gradient(90deg, #101010 0%, #101010 20%, rgba(16, 16, 16, 0) 100%);
  z-index: 2;
  pointer-events: none;
}

.clients-logos-wrapper::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 150px;
  background: linear-gradient(270deg, #101010 0%, #101010 20%, rgba(16, 16, 16, 0) 100%);
  z-index: 2;
  pointer-events: none;
}

.clients-logos-track {
  display: flex;
  animation: scroll-logos 30s linear infinite;
  width: max-content;
}

.clients-logos-track:hover {
  animation-play-state: paused;
}

.clients-logos {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-shrink: 0;
  padding-right: 32px;
}

@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.client-logo {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity 0.3s ease;
}

.client-logo img {
  height: 100%;
  width: auto;
}

.client-logo:hover {
  opacity: 0.7;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-5xl);
  align-items: center;
}

.hero-text {
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.hero-text-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-title {
  font-size: 36px;
  font-weight: 500;
  line-height: 44px;
  letter-spacing: -0.72px;
  background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

.hero-subtitle {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.32px;
  color: #BFBFBF;
  margin: 0;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.32px;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
}

.hero-btn-primary {
  background-color: var(--color-white);
  color: var(--color-black);
  border-radius: 1000px;
  border: none;
}

.hero-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(255, 255, 255, 0.2);
}

.hero-btn-outline {
  background-color: transparent;
  color: var(--color-white);
  border: 1px solid var(--color-dark-gray);
  border-radius: 32px;
}

.hero-btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
}

.hero-phone-container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.hero-phone-frame {
  position: relative;
  flex-shrink: 0;
  max-width: 280px;
  width: 100%;
}

.hero-phone-frame::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 632px;
  height: 632px;
  background-image: url('../images/hero-background-pattern.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.1;
  pointer-events: none;
  z-index: -1;
  /* animation: rotate 20s linear infinite; */
}

.phone-frame-img {
  position: relative;
  width: 100%;
  height: auto;
  z-index: 2;
  display: block;
}

.hero-phone-content {
  position: absolute;
  top: 2%;
  left: 2%;
  right: 2%;
  bottom: 2%;
  overflow: hidden;
  border-radius: 40px;
  z-index: 1;
}

.hero-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.hero-screen.active {
  opacity: 1;
  visibility: visible;
}

.hero-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-side-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 24px 24px 0;
  border-right: 1px solid #282828;
  align-items: flex-end;
  justify-content: center;
  width: 220px;
  flex-shrink: 0;
}

.side-nav-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px;
  border-radius: 32px;
  background-color: rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
}

.side-nav-item img {
  width: 20px;
  height: 20px;
  display: block;
  flex-shrink: 0;
  transition: all 0.3s ease;
  filter: brightness(0);
}

.side-nav-item span {
  font-family: 'Onest', sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: -0.24px;
  color: var(--color-black);
  white-space: nowrap;
  display: none;
  transition: all 0.3s ease;
}

.side-nav-item.active {
  background-color: var(--color-white);
}

.side-nav-item.active span {
  display: block;
}

.side-nav-item:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

@keyframes rotate {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* ==================== ЧТО ТАКОЕ SHOWYOU ==================== */
.what-is-showyou {
  padding: 120px 0;
  background-color: var(--color-black);
  color: var(--color-white);
}

.what-is-content {
  display: grid;
  grid-template-columns: 600px 396px;
  gap: 12px;
  margin-bottom: 12px;
  align-items: start;
  justify-content: center;
}

.what-is-left {
  backdrop-filter: blur(12.5px);
  background-color: rgba(26, 26, 26, 1);
  border-radius: 32px;
  padding: 32px;
  height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.what-is-left > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.what-is-left h2 {
  font-size: 48px;
  font-weight: 500;
  line-height: 60px;
  letter-spacing: -0.96px;
  margin: 0;
}

.what-is-left p {
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
  letter-spacing: -0.4px;
  color: #BFBFBF;
  margin: 0;
}

.what-is-left .btn-primary {
  background-color: var(--color-white);
  color: var(--color-black);
  padding: 16px 24px;
  border-radius: 1000px;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.32px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  margin-top: 0;
}

.what-is-right {
  backdrop-filter: blur(12.5px);
  background-color: rgba(26, 26, 26, 1);
  border-radius: 32px;
  padding: 32px;
  height: 440px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.what-is-right > p:first-child {
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: -0.48px;
  text-align: center;
  color: var(--color-white);
  width: 100%;
  margin: 0;
}

.what-is-right > p:last-child {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.32px;
  text-align: center;
  color: #BFBFBF;
  margin: 0;
}

.website-preview {
  width: 332px;
  height: 248px;
  background-color: transparent;
  border-radius: 0;
  padding: 0;
  overflow: visible;
  position: relative;
}

.website-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 328px);
  gap: 12px;
  margin-top: 0;
  justify-content: center;
}

.feature-card-item {
  backdrop-filter: blur(12.5px);
  background-color: rgba(26, 26, 26, 1);
  border-radius: 32px;
  padding: 32px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 380px;
  gap: 24px;
  align-items: center;
}

.feature-card-item:hover {
  background-color: rgba(26, 26, 26, 0.9);
  transform: translateY(-4px);
}

.feature-card-item > h3 {
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: -0.48px;
  text-align: center;
  color: var(--color-white);
  margin: 0;
  order: 1;
}

.feature-card-item > p {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.32px;
  text-align: center;
  color: #BFBFBF;
  margin: 0;
  order: 3;
}

.feature-card-image {
  width: 264px;
  height: 188px;
  border-radius: 0;
  overflow: visible;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  order: 2;
}

.feature-card-image img {
  width: 264px;
  height: 188px;
  object-fit: contain;
}

/* ==================== ФУНКЦИИ СЕКЦИЯ ==================== */
.functions-section {
  background-color: var(--color-black);
  color: var(--color-white);
  padding: var(--spacing-6xl) 0;
}

.section-badge {
  display: inline-block;
  padding: 8px 16px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-2xl);
  font-size: var(--font-text-m-size);
  font-weight: 500;
  margin: 0 auto var(--spacing-xl);
  text-align: center;
  width: fit-content;
  display: block;
}

.mb-5xl {
  margin-bottom: var(--spacing-6xl);
}

.function-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-5xl);
  align-items: center;
  margin-top: var(--spacing-5xl);
}

.function-image {
  position: relative;
}

.function-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-2xl);
}

.function-content {
  padding-left: var(--spacing-3xl);
}

.function-number {
  font-size: var(--font-display-2xl-size);
  font-weight: 600;
  color: var(--color-white);
  opacity: 0.1;
  margin-bottom: var(--spacing-l);
  line-height: 1;
}

/* ==================== ИКОНКИ ВОЗМОЖНОСТЕЙ ==================== */
.capabilities-icons {
  padding: var(--spacing-5xl) 0;
  background-color: var(--color-black);
}

.icons-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--spacing-3xl);
  max-width: 1200px;
  margin: 0 auto;
}

.capability-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-m);
}

.capability-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.capability-icon svg {
  width: 100%;
  height: 100%;
}

/* ==================== ПРЕЗЕНТАЦИЯ ПРОЕКТОВ ==================== */
.projects-presentation {
  padding: var(--spacing-6xl) 0;
  background-color: var(--color-black);
  color: var(--color-white);
}

.presentation-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-5xl);
  align-items: center;
}

.presentation-text {
  padding-right: var(--spacing-4xl);
}

.presentation-projects {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-l);
}

.project-card {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background-color: var(--color-background);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==================== РАСШИРЕННЫЕ ВОЗМОЖНОСТИ ==================== */
.extended-capabilities {
  padding: var(--spacing-6xl) 0;
  background-color: var(--color-white);
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
  margin-top: var(--spacing-4xl);
}

.capability-card {
  padding: var(--spacing-3xl);
  background-color: var(--color-background);
  border-radius: var(--radius-2xl);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.capability-card:hover {
  transform: translateY(-4px);
  background-color: var(--color-light-gray);
}

.capability-icon-lg {
  width: 48px;
  height: 48px;
  margin-bottom: var(--spacing-l);
  display: flex;
  align-items: center;
  justify-content: center;
}

.capability-icon-lg svg {
  width: 100%;
  height: 100%;
}

.mb-m {
  margin-bottom: var(--spacing-m);
}

.mb-4xl {
  margin-bottom: var(--spacing-4xl);
}

/* ==================== ГАЛЕРЕЯ ПРОЕКТОВ ==================== */
.projects-gallery {
  padding: var(--spacing-6xl) 0;
  background-color: var(--color-background);
}

.gallery-grid-full {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-l);
}

.gallery-item-full {
  aspect-ratio: 1;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-item-full:hover {
  transform: scale(1.05);
}

.gallery-item-full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==================== MOBILE SHOWCASE ==================== */
.mobile-showcase {
  background-color: var(--color-black);
  color: var(--color-white);
  padding: var(--spacing-6xl) 0;
}

.mobile-showcase-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-5xl);
  align-items: center;
}

.mobile-showcase-text {
  padding-right: var(--spacing-4xl);
}

.mobile-showcase-image {
  position: relative;
}

.mobile-showcase-image img {
  width: 100%;
  height: auto;
}

/* ==================== BENEFITS ==================== */
.benefits {
  padding: var(--spacing-6xl) 0;
  background-color: var(--color-white);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-xl);
  margin-top: var(--spacing-4xl);
}

.benefit-card {
  padding: var(--spacing-3xl);
  background-color: var(--color-background);
  border-radius: var(--radius-2xl);
  transition: background-color 0.3s ease;
}

.benefit-card:hover {
  background-color: var(--color-light-gray);
}

.benefit-number {
  font-size: var(--font-display-m-size);
  font-weight: 600;
  color: var(--color-black);
  margin-bottom: var(--spacing-l);
  opacity: 0.2;
}

.benefit-title {
  font-size: var(--font-display-xs-size);
  font-weight: 500;
  margin-bottom: var(--spacing-m);
}

.benefit-description {
  color: var(--color-dark-gray);
}

/* ==================== GALLERY ==================== */
.gallery {
  padding: var(--spacing-6xl) 0;
  background-color: var(--color-background);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-l);
  margin-top: var(--spacing-4xl);
}

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==================== CTA FUTURE ==================== */
.cta-future {
  background-color: var(--color-black);
  color: var(--color-white);
  padding: var(--spacing-6xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-future::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  margin-bottom: var(--spacing-l);
}

.cta-subtitle {
  color: var(--color-dark-gray);
  margin-bottom: var(--spacing-3xl);
}

/* ==================== FOOTER ==================== */
.footer {
  background-color: var(--color-black);
  color: var(--color-white);
  padding: var(--spacing-5xl) 0 var(--spacing-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--spacing-4xl);
  margin-bottom: var(--spacing-4xl);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-l);
}

.footer-logo {
  font-size: var(--font-text-xl-size);
  font-weight: 600;
}

.footer-description {
  color: var(--color-dark-gray);
  max-width: 320px;
}

.footer-column h3 {
  font-size: var(--font-text-l-size);
  font-weight: 500;
  margin-bottom: var(--spacing-l);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-s);
}

.footer-links a {
  color: var(--color-dark-gray);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--color-white);
}

.footer-bottom {
  padding-top: var(--spacing-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-dark-gray);
  font-size: var(--font-text-s-size);
}

.footer-social {
  display: flex;
  gap: var(--spacing-m);
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.social-link:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* ==================== NEW FOOTER ==================== */
.footer-new {
  background-color: var(--color-black);
  color: var(--color-white);
  padding: 80px 0 40px;
}

.footer-main-content {
  display: flex;
  gap: 287px;
  align-items: flex-start;
  justify-content: space-between;
}

/* Левая часть: Присоединяйся к нам */
.footer-join-us {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 337px;
  flex-shrink: 0;
}

.footer-join-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-join-title {
  font-family: 'Onest', sans-serif;
  font-size: 32px;
  font-weight: 500;
  line-height: 40px;
  letter-spacing: -0.64px;
  margin: 0;
  background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-join-subtitle {
  font-family: 'Onest', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.28px;
  color: #7E7E7E;
  margin: 0;
}

.footer-join-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-btn-primary {
  background-color: var(--color-white);
  color: var(--color-black);
  padding: 8px 16px 8px 16px;
  border-radius: 32px;
  font-family: 'Onest', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.28px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  height: 36px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-btn-primary:hover {
  opacity: 0.9;
}

.footer-btn-icon {
  width: 24px;
  height: 24px;
  background-color: var(--color-black);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-btn-secondary {
  background-color: transparent;
  color: var(--color-white);
  padding: 0 16px;
  border: 1px solid #7E7E7E;
  border-radius: 32px;
  font-family: 'Onest', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-btn-secondary:hover {
  opacity: 0.7;
}

/* Правая часть: Ресурсы */
.footer-resources {
  display: flex;
  flex-direction: column;
  gap: 120px;
  width: 592px;
  flex-shrink: 0;
}

.footer-sections {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 176px;
  flex-shrink: 0;
}

.footer-section-title {
  font-family: 'Onest', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.32px;
  color: #7E7E7E;
  margin: 0;
  height: 22px;
}

.footer-section .footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-section .footer-links a {
  font-family: 'Onest', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.28px;
  color: var(--color-white);
  text-decoration: none;
  transition: opacity 0.2s ease;
  height: 22px;
  display: block;
}

.footer-section .footer-links a:hover {
  opacity: 0.7;
}

/* Нижняя часть футера */
.footer-bottom-wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background-color: #DDDDDD;
  opacity: 0.2;
}

.footer-bottom-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.footer-logo-lang {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 165.436px;
  flex-shrink: 0;
}

.footer-logo-container {
  width: 165.436px;
  height: 24px;
  display: flex;
  align-items: center;
}

.footer-logo-img {
  height: 24px;
  width: auto;
  display: block;
}

.footer-lang-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 16px;
  height: 36px;
  border: 1px solid #7E7E7E;
  border-radius: 32px;
}

.footer-lang-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-lang-text {
  font-family: 'Onest', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.28px;
  color: var(--color-white);
}

.footer-lang-arrow {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.footer-copyright {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 230px;
  flex-shrink: 0;
}

.footer-copyright-text {
  font-family: 'Onest', sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: -0.24px;
  color: var(--color-white);
  margin: 0;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-legal-links a {
  font-family: 'Onest', sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 18px;
  letter-spacing: -0.24px;
  color: #7E7E7E;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-legal-links a:hover {
  opacity: 0.7;
}

/* Адаптивность для нового футера */
@media (max-width: 1200px) {
  .footer-main-content {
    gap: 80px;
  }

  .footer-join-us {
    width: 300px;
  }

  .footer-resources {
    width: auto;
    flex: 1;
  }
}

@media (max-width: 768px) {
  .footer-new {
    padding: 48px 0 32px;
  }

  .footer-main-content {
    flex-direction: column;
    gap: 48px;
  }

  .footer-join-us {
    width: 100%;
  }

  .footer-resources {
    width: 100%;
  }

  .footer-sections {
    flex-direction: column;
    gap: 32px;
  }

  .footer-section {
    width: 100%;
  }

  .footer-resources {
    gap: 60px;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 32px;
  }

  .footer-logo-lang,
  .footer-copyright {
    width: 100%;
  }
}

/* ==================== АДАПТИВНОСТЬ ==================== */
@media (max-width: 1200px) {
  .hero-content,
  .mobile-showcase-content {
    gap: var(--spacing-3xl);
  }

  .icon-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .navbar-content {
    padding: var(--spacing-m) var(--spacing-l);
    grid-template-columns: 1fr auto;
    gap: var(--spacing-l);
  }

  .navbar-menu {
    display: none;
  }

  .navbar-actions {
    gap: var(--spacing-m);
  }

  .btn-text {
    display: none;
  }

  .hero {
    padding-top: 80px;
    min-height: auto;
  }

  .clients-content {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-xl);
  }

  .clients-logos {
    gap: var(--spacing-l);
  }

  .client-logo {
    height: 32px;
  }

  .hero-content,
  .mobile-showcase-content,
  .what-is-content,
  .function-item {
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
  }

  .hero-text {
    gap: var(--spacing-3xl);
  }

  .hero-phone-container {
    order: -1;
  }

  .hero-side-nav {
    display: none;
  }

  .hero-title {
    font-size: 32px;
    line-height: 40px;
  }

  .hero-subtitle {
    font-size: 14px;
    line-height: 20px;
  }

  .hero-btn {
    padding: 12px 20px;
    font-size: 14px;
  }

  .hero-background-pattern {
    width: 100%;
  }

  .clients-logos {
    gap: var(--spacing-2xl);
  }

  .what-is-content {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .what-is-left {
    height: auto;
    min-height: 300px;
  }

  .what-is-right {
    height: auto;
    min-height: 300px;
  }

  .website-preview {
    width: 100%;
    height: auto;
    max-width: 332px;
  }

  .feature-cards {
    grid-template-columns: 1fr;
  }

  .feature-card-item {
    height: auto;
    min-height: 300px;
  }

  .feature-card-image {
    width: 100%;
    max-width: 264px;
    height: auto;
    min-height: 188px;
  }

  .feature-card-image img {
    width: 100%;
    max-width: 264px;
    height: auto;
  }

  .function-content {
    padding-left: 0;
  }

  .function-number {
    font-size: var(--font-display-l-size);
  }
}

/* ==================== PAGESPEED КОМПОНЕНТ ==================== */
.pagespeed-container {
  backdrop-filter: blur(12.5px);
  background-color: rgba(26, 26, 26, 1);
  border-radius: 32px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 80px;
  max-width: 864px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.pagespeed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.pagespeed-title-container {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 24px;
  background-color: #282828;
  border-radius: 1000px;
}

.pagespeed-icon {
  width: 14.554px;
  height: 20.002px;
  flex-shrink: 0;
}

.pagespeed-title {
  font-family: 'Onest', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.32px;
  color: #FFFFFF;
  margin: 0;
}

.pagespeed-link {
  font-family: 'Onest', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: -0.28px;
  color: #7E7E7E;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.pagespeed-link:hover {
  opacity: 0.7;
}

.pagespeed-divider-horizontal {
  width: 100%;
  height: 1px;
  background-color: #DDDDDD;
  opacity: 0.2;
}

.pagespeed-divider-img {
  display: none;
}

.pagespeed-content {
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
}

.pagespeed-logo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-shrink: 0;
}

.google-logo {
  width: 72.904px;
  height: 24px;
  flex-shrink: 0;
}

.pagespeed-logo-text {
  font-family: 'Onest', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.32px;
  color: #FFFFFF;
  text-align: center;
  margin: 0;
}

.pagespeed-divider-vertical-container {
  width: 1px;
  height: 92px;
  background-color: #DDDDDD;
  opacity: 0.2;
  flex-shrink: 0;
}

.pagespeed-divider-vertical {
  display: none;
}

.pagespeed-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.pagespeed-metric-value {
  width: 68px;
  height: 68px;
  border: 3px solid #32D35D;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: border-box;
}

.metric-number {
  font-family: 'Onest', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: -0.32px;
  color: #32D35D;
  margin: 0;
}

.metric-unit {
  font-family: 'Onest', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 14px;
  letter-spacing: -0.28px;
  color: #32D35D;
  margin: 0;
}

.pagespeed-metric-value-simple {
  width: 68px;
  height: 68px;
  border: 3px solid #32D35D;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: border-box;
}

.metric-percentage {
  font-family: 'Onest', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.32px;
  color: #32D35D;
  text-align: center;
  margin: 0;
}

.pagespeed-metric-label {
  font-family: 'Onest', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.32px;
  color: #FFFFFF;
  text-align: center;
  margin: 0;
}

/* PageSpeed Circle Animation */
.pagespeed-circle-container {
  position: relative;
  width: 68px;
  height: 68px;
  flex-shrink: 0;
}

.pagespeed-circle {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.pagespeed-circle-bg {
  fill: none;
  stroke: rgba(50, 211, 93, 0.15);
  stroke-width: 3;
}

.pagespeed-circle-progress {
  fill: none;
  stroke: #32D35D;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 194.78; /* 2 * PI * 31 */
  stroke-dashoffset: 194.78;
  transition: stroke-dashoffset 1.5s ease-out;
}

.pagespeed-circle-container.animated .pagespeed-circle-progress {
  stroke-dashoffset: 0;
}

.pagespeed-circle-value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Onest', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.32px;
  color: #32D35D;
  text-align: center;
}

/* Адаптивность для PageSpeed компонента */
@media (max-width: 1200px) {
  .pagespeed-content {
    flex-wrap: wrap;
    gap: 20px;
  }

  .pagespeed-metric {
    flex: 0 0 calc(50% - 10px);
  }
}

@media (max-width: 768px) {
  .pagespeed-container {
    padding: 24px;
    margin-top: 48px;
  }

  .pagespeed-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .pagespeed-title-container {
    padding: 6px 16px;
  }

  .pagespeed-title {
    font-size: 14px;
    line-height: 20px;
  }

  .pagespeed-content {
    flex-direction: column;
    gap: 24px;
  }

  .pagespeed-divider-vertical-container {
    display: none;
  }

  .pagespeed-metric {
    width: 100%;
    flex: 1;
  }

  .icons-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
  }
}

/* ==================== НОВЫЕ ВОЗМОЖНОСТИ ==================== */
.new-features-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 80px;
  margin-bottom: 40px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 16px;
  background-color: transparent;
  border: 1px solid #282828;
  border-radius: 100px;
  font-family: 'Onest', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.32px;
  color: #DDDDDD;
}

.new-features-title {
  font-family: 'Onest', sans-serif;
  font-size: 48px;
  font-weight: 500;
  line-height: 60px;
  letter-spacing: -0.96px;
  color: var(--color-white);
  text-align: center;
  margin: 0;
  background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==================== КАРУСЕЛЬ ВОЗМОЖНОСТЕЙ ==================== */
.features-carousel-section {
  background-color: var(--color-black);
  padding: 40px 0;
  overflow: hidden;
}

.features-carousel {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 0 4px calc((100vw - var(--container-max-width)) / 2 + 24px);
}

.features-carousel::-webkit-scrollbar {
  display: none;
}

.feature-carousel-card {
  backdrop-filter: blur(12.5px);
  background-color: rgba(26, 26, 26, 1);
  border-radius: 32px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-width: 400px;
  width: 400px;
  height: 372px;
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-carousel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.feature-carousel-image {
  width: 100%;
  aspect-ratio: 336/188;
  background-color: #1a1a1a;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.feature-carousel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature-carousel-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}

.feature-carousel-content h3 {
  font-family: 'Onest', sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: -0.48px;
  color: var(--color-white);
  margin: 0;
}

.feature-carousel-content p {
  font-family: 'Onest', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.32px;
  color: #BFBFBF;
  margin: 0;
}

/* Карточка 8: точки для "Делитесь" */
.feature-carousel-image-share {
  position: relative;
}

.share-dots {
  position: absolute;
  left: 156.61px;
  top: 88px;
  display: grid;
  grid-template-columns: repeat(2, 12.696px);
  grid-template-rows: repeat(2, 12.696px);
  gap: 0.004px;
  width: fit-content;
  height: fit-content;
}

.share-dot {
  width: 12.696px;
  height: 12.696px;
  display: block;
}

/* Карточка 9: градиент для "Создайте бесплатно!" */
.feature-carousel-image-gradient::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 26, 26, 0) 73.381%, #1a1a1a 83.273%);
  pointer-events: none;
}

/* Новая пагинация с прогресс-баром */
.carousel-pagination {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
}

.pagination-progress-container {
  display: flex;
  align-items: center;
  height: 1px;
  flex: 1;
  min-width: 0;
  position: relative;
}

.pagination-progress-filled {
  height: 1px;
  background-color: #DDDDDD;
  opacity: 0.5;
  transition: width 0.3s ease;
  width: 0%;
}

.pagination-progress-empty {
  height: 1px;
  background-color: #DDDDDD;
  opacity: 0.2;
  flex: 1;
  min-width: 0;
}

.pagination-numbers {
  font-family: 'Onest', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.32px;
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}

.pagination-numbers #currentPage {
  color: var(--color-white);
}

.pagination-separator,
.pagination-numbers #totalPages {
  color: #7E7E7E;
}

.pagination-arrows {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.pagination-arrow {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.pagination-arrow:hover {
  background-color: rgba(40, 40, 40, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
}

.pagination-arrow-active {
  background-color: var(--color-white);
  border-color: var(--color-white);
}

.pagination-arrow-active:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

.pagination-arrow img {
  width: 56px;
  height: 56px;
  display: block;
}

/* Адаптивность для новых возможностей */
@media (max-width: 1200px) {
  .feature-carousel-card {
    min-width: 350px;
    width: 350px;
    height: auto;
  }

  .new-features-title {
    font-size: 40px;
    line-height: 50px;
  }
}

@media (max-width: 768px) {
  .new-features-header {
    margin-top: 48px;
    margin-bottom: 24px;
  }

  .new-features-title {
    font-size: 32px;
    line-height: 40px;
  }

  .features-carousel {
    padding: 4px 0 4px 24px;
  }

  .feature-carousel-card {
    min-width: 300px;
    width: 300px;
    padding: 24px;
  }

  .carousel-pagination {
    gap: 16px;
  }

  .pagination-arrow {
    width: 48px;
    height: 48px;
  }

  .pagination-arrow img {
    width: 48px;
    height: 48px;
  }

  .pagination-arrows {
    gap: 8px;
  }

  .presentation-content {
    grid-template-columns: 1fr;
  }

  .presentation-text {
    padding-right: 0;
  }

  .presentation-projects {
    grid-template-columns: 1fr;
  }

  .capabilities-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid-full {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--spacing-l);
    text-align: center;
  }
}

/* ==================== ПРЕИМУЩЕСТВА ==================== */
.advantages-section {
  background-color: var(--color-black);
  color: var(--color-white);
  padding: var(--spacing-6xl) 0;
  position: relative;
  overflow: visible;
}

.advantages-content {
  display: flex;
  flex-direction: column;
  gap: 80px;
  align-items: center;
}

.advantages-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.advantages-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 16px;
  background-color: transparent;
  border: 1px solid #282828;
  border-radius: 100px;
  font-family: 'Onest', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.32px;
  color: #DDDDDD;
}

.advantages-title {
  font-family: 'Onest', sans-serif;
  font-size: 48px;
  font-weight: 500;
  line-height: 60px;
  letter-spacing: -0.96px;
  color: var(--color-white);
  text-align: center;
  margin: 0;
  background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.advantages-features {
  display: flex;
  flex-direction: column;
  gap: 120px;
  width: 100%;
}

.advantages-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px;
  width: 100%;
}

.advantage-card {
  backdrop-filter: blur(12.5px);
  background-color: rgba(26, 26, 26, 0);
  border-radius: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.advantage-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.advantage-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.advantage-text h3 {
  font-family: 'Onest', sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: -0.48px;
  color: var(--color-white);
  margin: 0;
}

.advantage-text p {
  font-family: 'Onest', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.32px;
  color: #BFBFBF;
  margin: 0;
}

.advantages-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  background-color: var(--color-white);
  border-radius: 1000px;
  font-family: 'Onest', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.32px;
  color: var(--color-black);
  text-decoration: none;
}

.cta-dots {
  display: grid;
  grid-template-columns: repeat(2, 10px);
  grid-template-rows: repeat(2, 10px);
  gap: 0;
  width: 20px;
  height: 20px;
}

.cta-dot {
  width: 10px;
  height: 10px;
  display: block;
}

/* Адаптивность для секции преимуществ */
@media (max-width: 1200px) {
  .advantages-row {
    gap: 40px;
  }

  .advantages-features {
    gap: 80px;
  }
}

@media (max-width: 768px) {
  .advantages-title {
    font-size: 32px;
    line-height: 40px;
  }

  .advantages-row {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .advantages-features {
    gap: 48px;
  }

  .advantages-content {
    gap: 48px;
  }
}

/* ==================== ЦЕЛЬ SHOWYOU ==================== */
.goal-section {
  background-color: var(--color-black);
  color: var(--color-white);
  padding: var(--spacing-6xl) 0;
}

.goal-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.goal-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.goal-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 16px;
  background-color: transparent;
  border: 1px solid #282828;
  border-radius: 100px;
  font-family: 'Onest', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.32px;
  color: #DDDDDD;
}

.goal-title {
  font-family: 'Onest', sans-serif;
  font-size: 48px;
  font-weight: 500;
  line-height: 60px;
  letter-spacing: -0.96px;
  color: var(--color-white);
  text-align: center;
  margin: 0;
  background: linear-gradient(121.27deg, #FFFFFF 0%, #FFFFFF 36.92%, #FFFFFF 61.53%, #C9C9C9 86.15%, #979797 123.06%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.goal-video-container {
  width: 100%;
  max-width: 800px;
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  background-color: #1a1a1a;
  aspect-ratio: 16/9;
}

.goal-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Адаптивность для секции "Цель ShowYOU" */
@media (max-width: 768px) {
  .goal-title {
    font-size: 32px;
    line-height: 40px;
  }
}

/* ==================== ДОВОЛЬНЫЕ ПОЛЬЗОВАТЕЛИ ==================== */
.happy-users-section {
  background-color: var(--color-black);
  color: var(--color-white);
  padding: var(--spacing-6xl) 0;
}

.happy-users-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 80px;
}

.happy-users-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 16px;
  background-color: transparent;
  border: 1px solid #282828;
  border-radius: 100px;
  font-family: 'Onest', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.32px;
  color: #DDDDDD;
}

.happy-users-title {
  font-family: 'Onest', sans-serif;
  font-size: 36px;
  font-weight: 500;
  line-height: 44px;
  letter-spacing: -0.72px;
  text-align: center;
  margin: 0;
  max-width: 904px;
  background: linear-gradient(143deg, #FFFFFF 0%, #FFFFFF 36.92%, #FFFFFF 61.53%, #C9C9C9 86.15%, #979797 123.06%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.happy-users-carousel-wrapper {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  /* overflow: hidden; */
  position: relative;
}

.happy-users-carousel {
  display: flex;
  gap: 20px;
  animation: scroll-users 60s linear infinite;
  width: fit-content;
}

.happy-users-carousel:hover {
  animation-play-state: paused;
}

@keyframes scroll-users {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.happy-user-device {
  flex-shrink: 0;
  position: relative;
  transition: transform 0.3s ease;
}

.happy-user-device:hover {
  transform: scale(1.02);
}

/* MacBook размеры */
.happy-user-device-laptop {
  width: 432px;
  height: 333px;
}

/* iPhone размеры */
.happy-user-device-mobile {
  width: 155.35px;
  height: 320px;
}

/* Изображение устройства */
.happy-user-device img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Адаптивность для довольных пользователей */
@media (max-width: 768px) {
  .happy-users-title {
    font-size: 28px;
    line-height: 36px;
    max-width: 90%;
  }

  .happy-users-header {
    margin-bottom: 40px;
  }

  .happy-user-device-mobile {
    width: 120px;
    height: 248px;
  }

  .happy-user-device-laptop {
    width: 335px;
    height: 258px;
  }

  @keyframes scroll-users {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }
}

/* ==================== ДОБРО ПОЖАЛОВАТЬ В БУДУЩЕЕ ==================== */
.welcome-future-section {
  background-color: var(--color-black);
  color: var(--color-white);
  padding: 120px 0 0;
  position: relative;
  overflow: hidden;
}

.welcome-future-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-bottom: 120px;
}

.welcome-hero-image {
  position: relative;
}

/* Свечение под картинкой - CSS градиент */
.welcome-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 9000px;
  height: 9000px;
  pointer-events: none;
  z-index: 5;
  background: radial-gradient(
    circle,
    rgba(60, 60, 60, 0.8) 0%,
    rgba(45, 45, 45, 0.5) 25%,
    rgba(30, 30, 30, 0.3) 50%,
    rgba(20, 20, 20, 0.1) 75%,
    transparent 100%
  );
  filter: blur(400px);
}

.welcome-hand-img {
  position: relative;
  max-width: 6 00px;
  height: auto;
  z-index: 3;
}

.welcome-hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 1008px;
  text-align: center;
}

.welcome-hero-title {
  font-family: 'Onest', sans-serif;
  font-size: 60px;
  font-weight: 500;
  line-height: 72px;
  letter-spacing: -1.2px;
  margin: 0;
  background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.welcome-hero-subtitle {
  font-family: 'Onest', sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: -0.48px;
  color: #7E7E7E;
  margin: 0;
}

.welcome-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  background-color: var(--color-white);
  border-radius: 32px;
  font-family: 'Onest', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.32px;
  color: var(--color-black);
  text-decoration: none;
  transition: all 0.3s ease;
}

.welcome-hero-btn:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

.welcome-btn-icon {
  width: 24px;
  height: 24px;
  background-color: var(--color-black);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.welcome-btn-icon img {
  width: 9px;
  height: 9px;
  display: block;
}

/* Адаптивность для "Добро пожаловать в будущее" */
@media (max-width: 1200px) {
  .welcome-future-section {
    padding: 120px 0 0;
  }

  .welcome-hero-title {
    font-size: 48px;
    line-height: 60px;
  }

  .welcome-hero-subtitle {
    font-size: 20px;
    line-height: 28px;
  }
}

@media (max-width: 768px) {
  .welcome-future-section {
    padding: 80px 0 0;
  }

  .welcome-future-hero {
    gap: 32px;
    margin-bottom: 80px;
  }

  .welcome-hero-image {
    width: 360px;
    height: 470px;
  }

  .welcome-hero-image img {
    width: 240px;
    height: 360px;
    top: 80px;
  }

  .welcome-hero-title {
    font-size: 32px;
    line-height: 40px;
    letter-spacing: -0.64px;
  }

  .welcome-hero-subtitle {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.32px;
  }

  .welcome-hero-btn {
    padding: 12px 20px;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.28px;
  }

  .bg-ellipse-main,
  .bg-subtract,
  .bg-ellipse-bottom,
  .bg-ellipse-container {
    display: none;
  }
}

/* ==================== FUNCTION SCROLL ANIMATION ==================== */
.function-scroll-section {
  min-height: 400vh; /* Высокая секция для скролла */
  position: relative;
  background-color: var(--color-black);
}

.function-scroll-container {
  position: sticky;
  top: 80px;
  height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 40px;
  gap: 60px;
  max-width: 1216px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.function-header {
  width: 100%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 0;
}

.function-header .section-badge {
  margin: 0;
  background-color: transparent;
  border: 1px solid #282828;
  padding: 4px 16px;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.32px;
  color: #DDDDDD;
}

.function-scroll-content {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 150px;
  height: 671px;
  width: 100%;
}

/* Левая часть: телефон */
.function-scroll-left {
  order: 2;
  display: flex;
  gap: 109px;
  align-items: flex-start;
  flex: 0 0 auto;
}

/* Правая часть теперь слева: телефон */
.function-scroll-right {
  order: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex: 0 0 auto;
}

/* Свечение под телефоном */
.phone-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.06) 25%,
    rgba(255, 255, 255, 0.02) 50%,
    transparent 70%
  );
  filter: blur(40px);
}

.phone-glow img {
  display: none;
}

/* Прогресс индикатор */
.function-progress-indicator {
  position: relative;
  width: 22px;
  height: 671px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.progress-dot {
  position: absolute;
  top: 0;
  width: 22px;
  height: 22px;
  background-color: #282828;
  border: 0.2px solid white;
  border-radius: 11px;
  transition: top 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  box-sizing: border-box;
}

.progress-dot::before {
  content: '';
  position: absolute;
  inset: -0.2px;
  border-radius: 11px;
  box-shadow: inset 0px 0px 13px 3px rgba(255, 255, 255, 0.5);
  pointer-events: none;
}

.progress-dot::after {
  content: '';
  width: 14px;
  height: 14px;
  background-color: white;
  border-radius: 50%;
  position: relative;
  z-index: 1;
  box-shadow: 0px 0px 8px 2px rgba(255, 255, 255, 0.8),
              0px 0px 16px 4px rgba(255, 255, 255, 0.4);
}

.progress-line {
  width: 4px;
  height: calc(100% - 22px);
  background: linear-gradient(180deg, #DDDDDD 0%, rgba(221, 221, 221, 0.2) 100%);
  border-radius: 2px;
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
}

/* Текстовые блоки */
.function-text-blocks {
  position: relative;
  width: 384px;
  min-height: 671px;
  display: flex;
  align-items: flex-start;
}

.function-text-block {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.function-text-block.active {
  opacity: 1;
  visibility: visible;
}

.function-text-block .function-number {
  font-family: 'Onest', sans-serif;
  font-size: 72px;
  font-weight: 600;
  line-height: 90px;
  letter-spacing: -1.44px;
  color: white;
  opacity: 0.1;
  margin: 0;
}

.function-text-block .display-m {
  font-family: 'Onest', sans-serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 44px;
  letter-spacing: -0.72px;
  color: white;
  margin: 0;
}

.function-text-block .text-xl {
  font-family: 'Onest', sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 30px;
  letter-spacing: -0.4px;
  color: #bfbfbf;
  margin: 0;
}

.function-text-block .btn {
  align-self: flex-start;
  margin-top: 40px;
  background-color: var(--color-white);
  color: var(--color-black);
  border-radius: 1000px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  font-family: 'Onest', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: -0.32px;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}

.function-text-block .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(255, 255, 255, 0.2);
}

.function-text-block .btn img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.function-phone-frame {
  position: relative;
  width: 267px;
  height: 550px;
  flex-shrink: 0;
}

.phone-frame-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.phone-scrollable-content {
  position: absolute;
  top: 9px;
  left: 10.5px;
  width: 246px;
  height: 532px;
  overflow: hidden;
  border-radius: 36.36px;
  z-index: 1;
  background-color: #f2f2f2;
}

#showroomScreenshot {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  min-height: 100%;
  object-fit: cover;
  object-position: top;
  will-change: transform;
  transition: transform 0.1s linear;
}

/* Адаптивность для function scroll */
@media (max-width: 1400px) {
  .function-scroll-container {
    gap: 60px;
    max-width: 1100px;
  }

  .function-text-blocks {
    width: 350px;
  }

  .function-scroll-left {
    gap: 80px;
  }
}

@media (max-width: 1200px) {
  .function-scroll-container {
    gap: 40px;
    max-width: 960px;
  }

  .function-text-blocks {
    width: 320px;
    padding: 60px 24px;
  }

  .function-text-block {
    top: 60px;
    left: 24px;
    right: 24px;
  }

  .function-scroll-left {
    gap: 60px;
  }

  .function-progress-indicator {
    height: 600px;
  }
}

@media (max-width: 768px) {
  .function-scroll-section {
    min-height: auto;
    padding: var(--spacing-4xl) 0;
  }

  .function-scroll-container {
    position: relative;
    top: 0;
    flex-direction: column;
    gap: var(--spacing-3xl);
    height: auto;
  }

  .function-scroll-right {
    order: 1;
  }

  .function-scroll-left {
    order: 2;
    flex-direction: column;
    gap: var(--spacing-2xl);
  }

  .function-progress-indicator {
    display: none;
  }

  .function-text-blocks {
    width: 100%;
    max-width: 384px;
    padding: 60px 32px;
  }

  .function-text-block {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .function-text-block:not(.active) {
    display: none;
  }

  .function-phone-frame {
    width: 200px;
    height: 412px;
  }

  .phone-scrollable-content {
    top: 7px;
    left: 8px;
    width: 184px;
    height: 398px;
  }
}
