.features {
  padding: 4rem 0;

  h1 {
    font-size: 56px;
    font-weight: 600;
    line-height: 1.3;
    color: #332c5c;
    text-align: center;
  }

  .feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1000px;
    margin: 0 auto;
    gap: 0 !important;

    text-align: center;

    .icon {
      width: 32px;
      aspect-ratio: 1;
      color: var(--bs-primary);
    }

    .hitech-logo {
      max-height: 3rem;
    }

    div {
      padding: 0.25rem 0.5rem;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: bold;
      width: 100% !important;
    }

    .table-heading {
      font-size: 20px;
      font-weight: bold;
    }

    .primary-col {
      background-color: var(--bs-primary);
      color: white;

      &.table-heading {
        padding-top: 1rem;
        border-radius: 2rem 2rem 0 0;
      }

      &.c2a {
        padding-top: 0.5rem;
        padding-bottom: 1rem;
        border-radius: 0 0 2rem 2rem;

        button {
          color: var(--bs-primary);
          font-weight: bold;
          font-size: 1rem;
        }
      }

      .icon {
        color: white;
      }
    }
  }
}

@media (max-width: 768px) {
  .features {
    padding: 4rem 1rem;
    
    h1 {
      font-size: 32px;
    }

    .stat-block {
      border: none;
    }

    .feature-grid {
      grid-template-columns: auto repeat(2, min(1fr, 33vw));
      .icon {
        width: 16px;
      }

      .hitech-logo {
        max-height: 1rem;
      }

      div {
        padding: 0;
        font-weight: normal;
        font-size: 12px;
      }

      .table-heading {
        font-size: 12px;
        font-weight: bold;
      }

      .primary-col {
        &.c2a {
          button {
            font-weight: normal;
            font-size: .75rem;
          }
        }
      }
    }
  }
}
