.single-solution {
  main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 64px;
    position: relative;
    overflow: hidden;
  }

  section:not(.questions-form-section) {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-inline: 128px;
  }

  .top-section {
    padding: 80px 128px 0;
  }

  .top-section__info-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 64px;
    z-index: 1;
    width: 100%;
    max-width: 1184px;
  }

  .top-section__info {
    max-width: 456px;
    min-width: 440px;
  }

  .top-section__info-title {
    display: flex;
    gap: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--blue-gray);
    opacity: 0;
    will-change: transform, opacity;

    h1 {
      font-family: "Poppins", serif;
      font-weight: 600;
      font-size: 38px;
      color: var(--dark-80);
    }
  }

  .top-section__info-description {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 25.6px;
    margin-top: 24px;
    color: var(--dark-100);

    ul {
      padding-left: 20px;
    }
  }

  .top-section__image {
    object-fit: contain;
    max-height: 300px;
    opacity: 0;
    will-change: transform, opacity;
  }

  .default-section__info-container {
    display: flex;
    gap: 64px;
    align-items: center;
    z-index: 1;
    width: 100%;
    max-width: 1104px;
  }

  .default-section__info-title {
    display: flex;
    gap: 12px;
    align-items: center;
    opacity: 0;
    will-change: transform, opacity;

    h2 {
      font-family: "Poppins", serif;
      font-weight: 600;
      font-size: 22px;
      color: var(--dark-80);
    }
  }

  .img-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border: 1.5px solid var(--blue-gray);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    background-color: var(--white-primary);
    transition: background-color 300ms;

    img {
      filter: none;
      transition: filter 300ms;
    }
  }

  .default-section__info-description {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 22.4px;
    margin-top: 16px;
    color: var(--dark-80);
    position: relative;

    b,
    p {
      opacity: 0;
      will-change: transform, opacity;
    }

    ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 16px;
      will-change: transform, opacity;
    }

    li {
      gap: 6px;
      text-indent: 20px;
      opacity: 0;
      position: relative;

      &::before {
        content: url(../../../images/icons/sso-checkmark-icon.svg);
        position: absolute;
        left: -20px;
        top: 2px;
      }
    }

    &::after {
      content: "";
      width: 64px;
      height: 1px;
      background-color: var(--green-primary);
      position: absolute;
      top: calc(100% + 24px);
    }
  }

  .default-section__image {
    object-fit: contain;
    max-height: 350px;
    min-width: 400px;
    opacity: 0;
    will-change: transform, opacity;
  }

  .default-section.reverse {
    .default-section__info-container {
      flex-direction: row-reverse;
    }
  }

  .mail-section {
    .default-section__info-description {
      ul {
        gap: 4px;
      }
    }
  }

  /* .crm-section__info-container {
    width: 100%;
    max-width: 1104px;
    background-color: var(--gray-25);
    display: flex;
    position: relative;
  }

  .crm-section__info-title {
    position: absolute;
    top: 32px;
    left: 32px;
  }

  .crm-section__image {
    object-fit: contain;
    height: 100%;
    max-height: 330px;
    display: block;
    margin-inline: auto;
  }

  .crm-section__text-block {
    position: absolute;
    max-width: 389px;
    background-color: var(--white-primary);
    box-shadow: 0px 12px 24px 0px #00000014;
    padding: 24px 32px;
    font-family: "Inter", sans-serif;
    color: var(--dark-80);
    font-weight: 400;
    font-size: 16px;
    line-height: 22.4px;

    &:first-of-type {
      top: 96px;
      left: 32px;
    }

    &:nth-of-type(2) {
      top: 35px;
      right: 32px;
    }

    &:nth-of-type(3) {
      bottom: 35px;
      right: 32px;
    }
  } */

  .vms-section__info-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
    max-width: 1104px;
    background-color: var(--gray-25);
    padding: 40px;
    font-family: "Inter", sans-serif;

    .default-section__info-title {
      opacity: 1;
    }
  }

  .terminal {
    width: 100%;
    box-shadow: 0px 2px 10px 0px #00000040;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-radius: 8px;
  }

  .terminal__header {
    display: flex;
    align-items: center;
    max-height: 40px;
    height: 100%;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    background-color: #f5f5f5;
    padding: 14px 16px;
    position: relative;
  }

  .terminal__header-circles {
    display: flex;
    gap: 6px;
  }

  .circle {
    width: 12px;
    height: 12px;
    border-radius: 50%;

    &:first-of-type {
      background-color: #d83b3b;
    }

    &:nth-of-type(2) {
      background-color: #e2c423;
    }
    &:nth-of-type(3) {
      background-color: #03ca0b;
    }
  }
  .terminal__header-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: #000;
    font-weight: 700;
    font-size: 12px;
    text-align: center;
  }

  .terminal__main {
    background-color: #131313;
    min-height: 260px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    color: #f9f9f9;
    font-weight: 500;
    font-size: 12px;
    line-height: 18px;
    padding: 14px 16px;

    p {
      white-space: pre-line;
    }
  }

  .vms-section__blocks-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
    gap: 30px 32px;
    color: var(--dark-80);
    font-weight: 400;
    font-size: 16px;
    line-height: 22.4px;
  }

  .vms-section__text-block {
    background-color: var(--white-primary);
    box-shadow: 0px 12px 24px 0px #00000014;
    padding: 24px 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    opacity: 0;
    will-change: transform, opacity;
  }

  .questions-form {
    margin-top: 24px;
  }
}

@media (max-width: 1280px) {
  .single-solution {
    .top-section__info {
      min-width: 380px;
    }

    .top-section__info-container {
      gap: 32px;
    }

    .top-section__image,
    .default-section__image {
      min-width: 300px;
      height: auto;
    }

    section:not(.questions-form-section) {
      padding-inline: 48px;
    }

    .top-section {
      padding: 56px 48px 0;
    }

    .questions-form-section {
      padding: 0;
    }
  }
}

@media (max-width: 768px) {
  .single-solution {
    main {
      gap: 80px;
    }

    .default-section__info {
      width: 100%;
    }

    .top-section__info-container,
    .default-section__info-container {
      flex-direction: column-reverse !important;
      gap: 32px;
    }

    .top-section__info {
      max-width: none;
    }

    .top-section__info-title {
      h1 {
        font-size: 32px;
      }
    }

    .top-section__image {
      height: 250px;
    }

    .default-section__image {
      height: 300px;
    }

    .vms-section {
      padding-inline: 0;
    }

    .vms-section__blocks-container {
      grid-template-columns: 1fr;
    }
  }
}

@media (max-width: 560px) {
  .single-solution {
    section:not(.questions-form-section) {
      padding-inline: 16px;
    }

    .top-section,
    .vms-section__info-container {
      padding: 35px 16px;
    }

    .top-section__image,
    .default-section__image {
      height: 250px;
    }

    .top-section__info {
      min-width: auto;
    }

    .vms-section__text-block {
      padding: 12px 16px;
      gap: 8px;
    }
  }
}

/* Plugin/Product Template Specific Styles */
.single-solution {
  .plugin-top-section {
    padding: 80px 128px 0;
  }

  .plugin-top-section__container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 64px;
    z-index: 1;
    width: 100%;
    max-width: 1184px;
  }

  .plugin-top-section__content {
    max-width: 632px;
    width: 100%;
    padding-top: 64px;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .plugin-top-section__header {
    opacity: 0;
    will-change: transform, opacity;
  }

  .plugin-top-section__title {
    font-family: "Poppins", serif;
    font-weight: 600;
    font-size: 40px;
    line-height: 120%;
    letter-spacing: 0%;
    color: var(--dark-80);
    margin: 0;
  }

  .plugin-top-section__author {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: var(--dark-50);
  }

  .plugin-top-section__divider {
    width: 100%;
    height: 1px;
    background-color: var(--blue-gray);
    border: none;
    margin: 0;
  }

  .plugin-top-section__description {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 25.6px;
    color: var(--dark-100);
    opacity: 0;
    will-change: transform, opacity;

    p {
      margin: 0 0 16px;

      &:last-child {
        margin-bottom: 0;
      }
    }

    ul {
      padding-left: 20px;
      margin: 16px 0;
    }
  }

  .plugin-top-section__image-wrapper {
    opacity: 0;
    will-change: transform, opacity;
  }

  .plugin-top-section__image {
    object-fit: contain;
    max-height: 300px;
    width: auto;
  }

  .plugin-default-section:nth-of-type(3) .default-section__info-container {
    padding: 40px 40px 0 40px;
    background-color: var(--gray-25);
  }

  .plugin-default-section:nth-of-type(3) .default-section__info-container {
    flex-direction: column !important;
  }

  .plugin-default-section:nth-of-type(3) .default-section__info-title,
  .plugin-default-section:nth-of-type(3) .default-section__info-description p{
    justify-content: center;
    text-align: center;
  }

  .plugin-default-section:nth-of-type(3) .default-section__info-description::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .plugin-default-section:nth-of-type(6) .default-section__image {
    min-height: 600px;
  }

  @media (max-width: 1280px) {
    .plugin-top-section {
      padding: 56px 48px 0;
    }

    .plugin-top-section__container {
      gap: 32px;
    }

    .plugin-top-section__content {
      max-width: 500px;
      padding-top: 48px;
    }

    .plugin-top-section__image {
      max-height: 250px;
    }

    .plugin-default-section:nth-of-type(3) .default-section__image {
      width: 80%;
      height: auto;
      padding-top: 24px;
    }
  }

  @media (max-width: 768px) {
    .plugin-top-section__container {
      flex-direction: column-reverse;
      align-items: center;
      gap: 32px;
    }

    .plugin-top-section__content {
      max-width: none;
      width: 100%;
      padding-top: 32px;
      gap: 20px;
    }

    .plugin-top-section__title {
      font-size: 32px;
    }

    .plugin-top-section__image {
      max-height: 250px;
    }

    .plugin-default-section:nth-of-type(6) .default-section__image {
      min-height: 450px;
    }
  }

  @media (max-width: 560px) {
    .plugin-top-section {
      padding: 35px 16px;
    }

    .plugin-top-section__content {
      padding-top: 32px;
      gap: 16px;
    }

    .plugin-top-section__title {
      font-size: 28px;
    }

    .plugin-top-section__author {
      font-size: 13px;
    }

    .plugin-top-section__description {
      font-size: 14px;
      line-height: 22.4px;
    }
  }
}

#simple-translate {
  display: none !important;
}

/* AI Cloud Solution Template Specific Styles */
.single-solution {
  .ai-cloud-top-section {
    padding: 80px 128px 0;
  }

  .ai-cloud-top-section__container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 64px;
    z-index: 1;
    width: 100%;
    max-width: 1184px;
  }

  .ai-cloud-top-section__content {
    max-width: 632px;
    width: 100%;
    padding-top: 64px;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .ai-cloud-top-section__header {
    opacity: 0;
    will-change: transform, opacity;
  }

  .ai-cloud-top-section__title {
    font-family: "Poppins", serif;
    font-weight: 600;
    font-size: 40px;
    line-height: 120%;
    letter-spacing: 0%;
    color: var(--dark-80);
    margin: 0;
  }

  .ai-cloud-top-section__divider {
    width: 100%;
    height: 1px;
    background-color: var(--blue-gray);
    border: none;
    margin: 0;
  }

  .ai-cloud-top-section__description {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 25.6px;
    color: var(--dark-100);
    opacity: 0;
    will-change: transform, opacity;

    p {
      margin: 0 0 16px;

      &:last-child {
        margin-bottom: 0;
      }
    }

    ul {
      padding-left: 20px;
      margin: 16px 0;
    }
  }

  .ai-cloud-top-section__image-wrapper {
    opacity: 0;
    will-change: transform, opacity;
  }

  .ai-cloud-top-section__image {
    object-fit: contain;
    max-height: 300px;
    width: auto;
  }

  /* Set fixed width for text content block to match Figma design */
  .ai-cloud-default-section .default-section__info {
    max-width: 640px;
  }

  /* Hide empty title sections that don't have h2 heading */
  .ai-cloud-default-section .default-section__info-title:not(:has(h2)) {
    display: none;
  }

  /* Fix typography spacing for AI Cloud template */
  .ai-cloud-default-section .default-section__info-description {
    gap: 0;

    p {
      margin-bottom: 16px;

      &:last-child {
        margin-bottom: 0;
      }

      /* Remove bottom margin for paragraphs that come right before lists */
      &:has(+ ul) {
        margin-bottom: 0;
      }
    }

    strong, b {
      display: inline;
      margin: 0;
    }

    ul {
      list-style: disc;
      padding-left: 20px;
      gap: 0;
      margin-bottom: 16px;

      &:last-child {
        margin-bottom: 0;
      }
    }

    li {
      text-indent: 0;

      &::before {
        content: none;
      }
    }
  }

  @media (max-width: 1280px) {
    .ai-cloud-top-section {
      padding: 56px 48px 0;
    }

    .ai-cloud-top-section__container {
      gap: 32px;
    }

    .ai-cloud-top-section__content {
      max-width: 500px;
      padding-top: 48px;
    }

    .ai-cloud-top-section__image {
      max-height: 250px;
    }
  }

  @media (max-width: 768px) {
    .ai-cloud-top-section__container {
      flex-direction: column-reverse;
      align-items: center;
      gap: 32px;
    }

    .ai-cloud-top-section__content {
      max-width: none;
      width: 100%;
      padding-top: 32px;
      gap: 20px;
    }

    .ai-cloud-top-section__title {
      font-size: 32px;
    }

    .ai-cloud-top-section__image {
      max-height: 250px;
    }
  }

  @media (max-width: 560px) {
    .ai-cloud-top-section {
      padding: 35px 16px;
    }

    .ai-cloud-top-section__content {
      padding-top: 32px;
      gap: 16px;
    }

    .ai-cloud-top-section__title {
      font-size: 28px;
    }

    .ai-cloud-top-section__description {
      font-size: 14px;
      line-height: 22.4px;
    }
  }
}
