.crm-features-wrapper {
  padding: 0 3rem;
}

.crm-features-top-section {
  max-width: var(--max-screen-width);
  margin: 8rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.crm-features-top-section > div {
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-xxxxl);
  line-height: 4.0625rem;
  color: var(--blue);
  text-align: center;
}

.crm-features-top-section > h1 {
  font-weight: var(--font-weight-bolder);
  font-size: var(--font-size-extra-large);
  line-height: 6rem;
  color: var(--main-text-color);
  text-align: center;
  margin-block: 2rem 3rem;
}

.crm-features-channel-structure {
  margin-inline: auto;
  box-sizing: border-box;
  padding: 7.378rem 5.25rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-row-gap: 7rem;
  align-items: center;
  background-color: var(--blue);
  max-width: 93.5rem;
  margin-bottom: -60rem;
  position: relative;
  z-index: 2;
  background-image: url('/assets/loop.svg');
  background-repeat: no-repeat;
  background-size: contain;
  border-radius: var(--border-radius);
}

.crm-features-channel-structure .create-channel-card {
  max-width: 33.6875rem;
}

.crm-features-channel-structure .create-channel-card > p {
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-xxl);
  line-height: 2.625rem;
  color: var(--white);
  width: 100%;
}

.revenue-insights-img {
  display: block;
  margin: 0 auto;
  width: 100%;
}
.crm-features-channel-structure .create-channel-card > div {
  font-weight: var(--font-weight-bold);
  line-height: 4.0625rem;
  font-size: var(--font-size-xxxxl);
  color: var(--white);
}

.crm-features-channel-structure .create-channel-card:last-of-type {
  justify-self: end;
}

.invoice-software {
  background-color: var(--dark-purple);
  padding: 68rem 3rem 10rem 3rem;
  position: relative;
  z-index: 1;
}

.invoice-software-image-wrapper {
  display: flex;
}

.invoice-mock-wrapper {
  min-width: 40.5rem;
  background-color: var(--dark-purple-bg);
  width: 100%;
  padding-block: 6rem;
  padding-left: 6.75rem;
  min-height: 23rem;
  box-sizing: border-box;
}

.invoice-mock {
  height: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 3.2rem;
  max-width: 25rem;
}

.invoice-software-title {
  color: var(--light-green);
  font-size: var(--font-size-xxm);
  font-weight: var(--font-weight-bold);
  line-height: var(--font-size-xxm);
  display: flex;
  gap: 1rem;
}

.invoice-software-desc {
  position: relative;
  color: var(--white);
  font-size: var(--font-size-xxm);
  line-height: 1.8125rem;
  padding-left: 1.85rem;
  padding-top: 1.5rem;
  max-height: 6rem;
  transition: all 0.4s ease-in;
}

.invoice-software-desc > .divider {
  position: absolute;
  height: 100%;
  border-left: 2px solid var(--dark-purple-bg);
  left: -2px;
  top: 2.5px;
}

.invoice-software-desc.hidden {
  max-height: 0;
  overflow: hidden;
  padding-top: 0;
  transition: all 0.4s ease-in;
}

.crm-invoice-software-vector-image {

  margin-right: -1.5rem;
}

.invoice-software-content {
  max-width: var(--max-screen-width);
  margin: 0 auto;
  display: flex;
  gap: 4rem;
  align-items: center;
}

.invoice-software-card {
 max-width: 30rem;
  position: relative;
  z-index: 2;
}

.invoice-software-content .invoice-software-card div {
  font-size: var(--font-size-xxxxl);
  line-height: 4.0625rem;
  font-weight: var(--font-weight-bold);
  color: var(--white);
}

.invoice-software-content .invoice-software-card p {
  max-width: 30rem;
  font-size: var(--font-size-xxl);
  line-height: 2.625rem;
  font-weight: var(--font-weight-regular);
  color: var(--white);
}

.invoice-software-content .invoice-software-card:last-of-type {
  justify-self: end;
}

.crm-invoice-software-image {
  justify-self: end;
  width: 100%;
}

.email-integration {
  box-sizing: border-box;
  margin: 10rem auto 8.5rem;
  max-width: var(--max-screen-width);
  padding: 0 3rem;
}

.email-integration > h2 {
  font-weight: var(--font-weight-bold);
  line-height: 4.0625rem;
  font-size: var(--font-size-xxxxl);
  color: var(--blue);
  text-align: center;
  margin: 0 auto;
}

.email-integration > p {
  max-width: 74rem;
  line-height: 2.625rem;
  font-size: var(--font-size-xxl);
  font-weight: var(--font-weight-regular);
  text-align: center;
  color: var(--placeholder-color);
  margin: 2rem auto 3rem auto;
}

.email-integration > .crm-email-integration-img {
  margin: 0 auto;
  display: block;
}

.crm-direct-payment-img,
.crm-channel-structure-img {
  max-width: 40.2rem;
  width: 100%;
  height: 27.125rem;
}

/* Responsive */
@media only screen and (max-width: 1366px) {
  .crm-features-top-section {
    margin: 5rem auto;
  }

  .crm-features-channel-structure {
    grid-template-columns: 100%;
    grid-row-gap: 5.5rem;
  }

  .crm-features-channel-structure .create-channel-card {
    max-width: 100%;
  }

  .crm-channel-structure-img {
    margin: 0 auto 10rem auto;
  }

  .crm-direct-payment-img {
    margin: 0 auto;
    order: 4;
  }

  .crm-features-top-section > h1 {
    font-size: 4.5rem;
    line-height: 5.5rem;
  }

  .invoice-mock-wrapper {
    max-width: 30rem;
    min-width: unset;
    padding: 3.25rem 5.5rem;
  }
}

@media only screen and (max-width: 1200px) {
  .crm-features-wrapper {
    padding: 0 1.5rem;
  }

  .email-integration {
    padding: 0 1.5rem;
  }

  .crm-features-channel-structure {
    padding: 8rem 1.5rem;
  }

  .invoice-software {
    padding-inline: 3rem;
  }

  .invoice-software-image-wrapper {
    width: 100%;
  }

  .invoice-mock-wrapper {
    width: 100%;
    max-width: 100%;
    padding: 3.25rem 0 3.25rem 5.5rem;
  }

  .invoice-software-card {
    max-width: 23.375rem;
  }
}

@media only screen and (max-width: 1080px) {
  .crm-channel-structure-img {
    margin-bottom: 5rem;
  }

  .invoice-software-content {
    gap: 0;
  }

  .invoice-software-content .invoice-software-card p {
    max-width: unset;
  }

  .invoice-mock-wrapper {
    padding: 2rem;
  }

  .invoice-software-card-image {
    order: 4;
    margin: 0 auto;
    max-width: 32rem;
  }

  .crm-invoice-software-vector-image {
    left: 3rem;
  }

  .gdpr-compliant-img {
    max-width: 25rem;
    width: 100%;
  }

}

@media only screen and (max-width: 960px) {
  .crm-features-channel-structure {
    grid-row-gap: 3rem;
  }



  .crm-direct-payment-img > img,
  .crm-channel-structure-img > img{
    width: 100%;
  }
  .crm-invoice-software-vector-image {
    margin: 0;
  }

  .invoice-software-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .invoice-mock-wrapper {
    margin-bottom: 0;
  }

  .invoice-software-image-wrapper {
    flex-direction: row-reverse;
    gap: 1rem;
  }

  .invoice-software-card {
    max-width: 100%;
  }
}

@media only screen and (max-width: 767px) {
  .crm-features-top-section {
    margin: 4rem auto;
  }

  .crm-features-top-section > div {
    font-size: 2.5rem;
    line-height: 3rem;
  }

  .crm-features-top-section > h1 {
    font-size: 3rem;
    line-height: 3.5rem;
  }

  .crm-features-channel-structure {
    padding: 5rem 1.5rem;
    grid-row-gap: 1rem;
  }

  .crm-channel-structure-img {
    margin-bottom: 2rem;
  }

  .crm-invoice-software-vector-image {
    display: none;
  }

  .invoice-mock-wrapper {
    padding: 4rem 2rem;
    margin: 0 auto;
    width: 100%;
  }

  .invoice-mock {
    width: 100%;
  }

  .crm-features-channel-structure .create-channel-card > div,
  .invoice-software-content .invoice-software-card div,
  .email-integration > h2 {
    font-size: 2.5rem;
    line-height: 3rem;
  }

  .crm-features-channel-structure {
    background-image: none;
  }
}

@media only screen and (max-width: 480px) {
  .crm-features-wrapper {
    padding: 0 1rem;
  }

  .email-integration {
    margin: 4rem auto;
    padding: 0 1rem;
  }

  .crm-features-channel-structure {
    padding: 4rem 1rem;
  }

  .invoice-software {
    padding: 64rem 1rem 4rem 1rem;
  }

  .invoice-mock-wrapper {
    width: 100%;
    margin: 0;
  }

  .invoice-mock {
    width: 100%;
    margin:0;
  }

  .invoice-software-content {
    gap: 2rem;
  }

  .crm-channel-structure-img,
  .crm-direct-payment-img {
    width: 100%;
    height: auto;
  }
}



@media only screen and (max-width: 400px) {

  .invoice-software-card  {
    padding: 0 1rem;
  }

  .invoice-software {
    padding: 64rem 0 0 0;
  }

  .invoice-mock-wrapper {
    padding: 3rem 1rem;
    margin-bottom: 0;
  }
}
