/* ==================== ЧТО ТАКОЕ 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;
}

/* Mobile layout - скрыт на desktop */
.what-is-mobile {
  display: none;
}

/* ==================== RESPONSIVE: TABLET (768px - 1024px) ==================== */
@media (min-width: 768px) and (max-width: 1024px) {
  .what-is-showyou {
    padding: 80px 0;
  }

  /* Скрываем desktop версию, показываем mobile */
  .what-is-desktop {
    display: none !important;
  }

  .what-is-mobile {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  /* Introduction Container */
  .what-is-intro {
    backdrop-filter: blur(12.5px);
    background-color: #1a1a1a;
    border-radius: 32px;
    padding: 32px;
    height: 440px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .what-is-intro h2 {
    font-size: 48px;
    font-weight: 500;
    line-height: 60px;
    letter-spacing: -0.96px;
    background: linear-gradient(136deg, #FFFFFF 0%, #FFFFFF 36.92%, #FFFFFF 61.53%, #C9C9C9 86.15%, #979797 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; /* Firefox fix */
    margin: 0;
  }

  .what-is-intro-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

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

  /* Контейнер с карточками - сетка 2x2 */
  .what-is-cards-wrapper {
    overflow: visible;
    position: relative;
  }

  .what-is-cards-track {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    overflow: visible;
    padding: 0;
  }

  /* Карточка */
  .what-is-card {
    backdrop-filter: blur(12.5px);
    background-color: #1a1a1a;
    border-radius: 32px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    height: auto;
    width: 100%;
    min-width: unset;
    flex-shrink: unset;
    scroll-snap-align: unset;
  }

  .what-is-card-title {
    font-size: 24px;
    font-weight: 400;
    line-height: 32px;
    letter-spacing: -0.48px;
    color: #FFFFFF;
    text-align: center;
    margin: 0;
  }

  .what-is-card-image {
    width: 100%;
    height: 188px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .what-is-card-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
  }

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

  .what-is-nav-arrows {
    display: none;
  }
}

/* ==================== RESPONSIVE: MOBILE (<768px) ==================== */
@media (max-width: 768px) {
  .what-is-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
  }

  /* What is ShowYou - Mobile */
  .what-is-desktop {
    display: none !important;
  }

  .what-is-mobile {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  /* Introduction Container (статичный) */
  .what-is-intro {
    backdrop-filter: blur(12.5px);
    background-color: #1a1a1a;
    border-radius: 24px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .what-is-intro h2 {
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
    letter-spacing: -0.48px;
    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;
    color: transparent; /* Firefox fix */
    margin: 0;
  }

  .what-is-intro-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .what-is-intro-content p {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -0.28px;
    color: #BFBFBF;
    margin: 0;
  }

  /* Скроллящийся контейнер с карточками */
  .what-is-cards-wrapper {
    overflow: hidden;
    position: relative;
  }

  .what-is-cards-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
    padding: 4px 0;
  }

  .what-is-cards-track::-webkit-scrollbar {
    display: none;
  }

  /* Карточка */
  .what-is-card {
    backdrop-filter: blur(12.5px);
    background-color: #1a1a1a;
    border-radius: 24px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
    min-width: calc(100% - 39px);
    width: calc(100% - 39px);
    flex-shrink: 0;
    scroll-snap-align: start;
  }

  .what-is-card-title {
    font-size: 20px;
    font-weight: 400;
    line-height: 30px;
    letter-spacing: -0.4px;
    color: #FFFFFF;
    text-align: center;
    margin: 0;
    width: 100%;
  }

  .what-is-card-image {
    width: 100%;
    height: 188px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .what-is-card-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

  .what-is-card-desc {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -0.28px;
    color: #BFBFBF;
    text-align: center;
    margin: 0;
  }

  /* Кнопки навигации */
  .what-is-nav-arrows {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
  }

  .what-is-nav-arrow {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    background-color: transparent;
    border: 1px solid #282828;
    color: #7E7E7E;
  }

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

  .what-is-nav-arrow.active {
    background-color: #282828;
    border-color: #282828;
    color: #FFFFFF;
  }

  .what-is-nav-arrow.active:hover {
    background-color: #3a3a3a;
  }

  .what-is-nav-arrow svg {
    width: 24px;
    height: 24px;
  }
}
