.three-d-model {
  padding: 40px 120px 80px;
  background: var(--voka-section-bg);
}

.three-d-model__shell {
  overflow: hidden;
  border-radius: 2px;
}

.three-d-model__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 679px;
  column-gap: 40px;
  align-items: stretch;
  padding-left: 60px;
  background: linear-gradient(134deg, var(--voka-dark-surface-alt) 0.71%, var(--voka-dark-surface) 34.45%);
}

.three-d-model__details {
  display: flex;
  min-width: 0;
  min-height: 734px;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 80px;
  padding-bottom: 32px;
}

.three-d-model__content {
  display: flex;
  max-width: 620px;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
}

.three-d-model__copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.three-d-model__title {
  margin: 0;
  color: var(--voka-white);
  font-family: var(--voka-font-interface);
  font-size: 56px;
  font-weight: 450;
  line-height: 1.2;
  letter-spacing: 0;
}

.three-d-model__description {
  max-width: 781px;
  margin: 0;
  color: var(--voka-white);
  font-family: var(--voka-font-interface);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
}

.three-d-model__primary-button,
.three-d-model__view-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  border-radius: 2px;
  font-family: var(--voka-font-interface);
  line-height: 1.2;
  letter-spacing: 0;
  text-decoration: none;
}

.three-d-model__primary-button {
  min-height: 52px;
  color: var(--voka-white);
  background: var(--voka-teal-action);
  font-size: 18px;
  font-weight: 450;
}

@media (hover: hover) and (pointer: fine) {
  .three-d-model__primary-button:hover {
    background: #33adc1;
  }
}

.three-d-model__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-start;
}

.three-d-model__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 2.231px;
  background: var(--voka-white-08);
}

.three-d-model__badge:hover {
  background: #FFFFFF1A;

}

.three-d-model__badge-image {
  display: block;
  width: auto;
  height: 100%;
}

.three-d-model__visual {
  position: relative;
  min-height: 734px;
  overflow: hidden;
}

.three-d-model__view-button {
  position: absolute;
  top: 50%;
  left: calc(50% - 37px);
  min-height: 48px;
  transform: translate(-50%, -50%);
  color: var(--voka-white);
  background: var(--voka-overlay-dark);
  backdrop-filter: blur(6px);
  font-size: 18px;
  font-weight: 400;
}

.three-d-model__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.three-d-model__placeholder {
  position: absolute;
  inset: 0;
  background: center / cover no-repeat url('https://storage.googleapis.com/dev_resources_voka_io_303011/ai-voka/common/3d-bundle-plug.webp');
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.three-d-model__start-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 20px;
  border: 0;
  outline: 0;
  border-radius: 12px;
background: linear-gradient(180deg, rgba(59, 60, 67, 0.20) 0%, rgba(59, 60, 67, 0.20) 100%);
backdrop-filter: blur(6px);
  cursor: pointer;
  transition: background 0.3s;
}

.three-d-model__start-btn p {
  font-size: 18px;
  font-weight: 400;
  line-height: normal;
  color: #fff;
}

.three-d-model__start-btn svg {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: none;
}

.three-d-model__start-loader {
  display: none;
  animation: three-d-model-spin 1s linear infinite;
}

@keyframes three-d-model-spin {
  to { transform: rotate(360deg); }
}

.three-d-model__ios-unsupported {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 32px;
  border-radius: 12px;
  background: rgba(49, 78, 122, 0.50);
  backdrop-filter: blur(5px);
  text-align: center;
  max-width: 320px;
}

.three-d-model__ios-unsupported p {
  font-family: var(--voka-font-interface);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  color: #fff;
}

@media (hover: hover) and (pointer: fine) {
  .three-d-model__start-btn:hover {
    background: rgba(49, 78, 122, 0.60);
  }
}

.three-d-model__features {
  padding: 16px 32px;
  background: var(--voka-teal-action);
}

.three-d-model__features-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  width: 100%;
}

.three-d-model__feature {
  display: flex;
  align-items: center;
  gap: 10px;
}

.three-d-model__feature-mark {
  position: relative;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
}

.three-d-model__feature-mark::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 9px;
  width: 13px;
  height: 7px;
  border-bottom: 2px solid var(--voka-white);
  border-left: 2px solid var(--voka-white);
  transform: rotate(-45deg);
}

.three-d-model__feature-label {
  margin: 0;
  color: var(--voka-white);
  font-family: var(--voka-font-interface);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
  white-space: nowrap;
}

.three-d-model__visual .three-d-model__iframe[src]:not([src=""]) {
  position: absolute !important;
  z-index: 10 !important;
}
.three-d-model__visual .three-d-model__iframe[src]:not([src=""]) ~ .three-d-model__placeholder {
  display: none !important;
}

@media (max-width: 1919px) {
  .three-d-model {
    padding: 40px;
  }

  .three-d-model__hero {
    align-items: center;
    grid-template-columns: minmax(0, 1fr) 555px;
    padding-left: 40px;
  }

  .three-d-model__details {
    min-height: 500px;
    padding-bottom: 28px;
  }

  .three-d-model__content {
    max-width: 632px;
  }

  .three-d-model__title {
    font-size: 48px;
  }

  .three-d-model__description {
    max-width: 560px;
    font-size: 18px;
  }

  .three-d-model__badges {
    gap: 14.624px;
  }

  .three-d-model__badge {
    width: 159.032px;
    height: 53.011px;
    padding: 6.117px 12.233px 6.117px 6.117px;
    border-radius: 2.231px;
  }

  .three-d-model__visual {
    min-height: 600px;
  }

  .three-d-model__view-button {
    left: 50%;
    font-size: 16px;
  }

  .three-d-model__feature-label {
    font-size: 18px;
  }
}

@media (max-width: 1439px) {
  .three-d-model__title {
    font-size: 42px;
  }
}

@media (max-width: 1279px) {
  .three-d-model {
    padding: 0 0 104px;
  }

  .three-d-model__hero {
    grid-template-columns: 1fr;
    row-gap: 40px;
    padding: 64px 40px 0;
    background: linear-gradient(108deg, var(--voka-dark-surface-alt) 0.71%, var(--voka-dark-surface) 34.45%);
  }

  .three-d-model__details {
    min-height: 0;
    padding: 0;
    gap: 64px;
  }

  .three-d-model__content {
    max-width: 100%;
    gap: 24px;
    padding-right: 40px;
  }

  .three-d-model__copy {
    gap: 20px;
  }

  .three-d-model__title {
    font-size: 40px;
  }

  .three-d-model__description {
    max-width: 568px;
    font-size: 20px;
  }

  .three-d-model__visual {
    min-height: 600px;
    width: 634px;
    max-width: 100%;
    margin: 0 auto;
  }

  .three-d-model__view-button {
    top: calc(50% - 7px);
  }

  .three-d-model__features-list {
    max-width: 704px;
    flex-wrap: wrap;
    gap: 8px 40px;
    margin: 0 auto;
  }

  .three-d-model__feature-label {
    font-size: 18px;
  }
}

@media (max-width: 577px) {
  .three-d-model {
    padding: 0;
  }

  .three-d-model__hero {
    row-gap: 32px;
    padding: 40px 16px 0;
    background: var(--voka-dark-surface);
  }

  .three-d-model__details {
    gap: 32px;
  }

  .three-d-model__content {
    gap: 20px;
    padding-right: 0;
  }

  .three-d-model__copy {
    gap: 16px;
  }

  .three-d-model__title {
    font-size: 28px;
  }

  .three-d-model__description {
    max-width: none;
    font-size: 18px;
  }

  .three-d-model__badges {
    gap: 16px 15.077px;
  }

  .three-d-model__badge {
    width: 163.962px;
    height: 54.654px;
    padding: 6.306px 12.612px 6.306px 6.306px;
    border-radius: 2.102px;
  }

  .three-d-model__visual {
    min-height: 332px;
    width: 100%;
  }

  .three-d-model__view-button {
    display: none;
  }

  .three-d-model__features {
    padding: 16px;
  }

  .three-d-model__features-list {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .three-d-model__feature {
    gap: 8px;
  }

  .three-d-model__feature-mark {
    width: 24px;
    height: 24px;
  }

  .three-d-model__feature-mark::before {
    left: 6px;
    top: 6px;
    width: 10px;
    height: 6px;
  }

  .three-d-model__feature-label {
    font-size: 18px;
    white-space: normal;
  }
}
