/* Why Hashcodex: Jokko wallet partner value section. */

#problem .problem-card {
  padding: 16px 23px 22px;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  box-shadow: none;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

#problem .problem-card::before {
  content: none;
}

#problem .problem-card:hover {
  border-color: #ff9ac1;
  box-shadow: 0 8px 22px rgba(253, 70, 142, 0.08);
  transform: translateY(-3px);
}

#problem .problem-number {
  display: block;
  margin-bottom: 6px;
  color: #dedede;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
  transition: color 0.25s ease;
}

#problem .problem-card:hover .problem-number {
  color: #fd468e;
}

#problem .problem-card h3 {
  margin: 0 0 12px;
}

#problem .problem-card p {
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  #problem .problem-card,
  #problem .problem-number {
    transition: none;
  }
}

#whyhashcodex.jokko-why-section {
  padding: 82px 5% 46px;
  background: #0e0f13;
  color: #f7f6fb;
}

.jokko-why-heading h2 {
  color: #f8f7fb;
}

.jokko-why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 19px 14px;
  max-width: 950px;
  margin: 0 auto;
}

.jokko-why-card {
  min-height: 176px;
  padding: 14px 19px 16px;
  border-top: 0.8px solid #7c3aed1a;
  border-radius: 7px;
  background: #7c3aed0d;
}

.jokko-why-card .problem-imageicon img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: cover;
}

.jokko-why-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
  color: #f7f6fb;
  font-weight: 500;
  letter-spacing: 0.045em;
  line-height: 1.4;
}

.jokko-why-card p {
  margin: 0;
  font-size: 14px;
  color: #eeedf2;
  line-height: 1.55;
}

@media (max-width: 700px) {
  #whyhashcodex.jokko-why-section {
    padding: 64px 6% 38px;
  }

  .jokko-why-heading {
    margin-bottom: 38px;
  }

  .jokko-why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .jokko-why-grid {
    grid-template-columns: 1fr;
  }

  .jokko-why-card {
    min-height: 0;
    padding: 17px 18px;
  }
}

#integration {
  background-color: #faf9fc;
}

#integration .jokko-integrations-table-wrap {
  width: min(100%, 950px);
  margin: 36px auto 0;
  border: 1px solid #eeebf2;
  border-radius: 17px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

#integration .jokko-integrations-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  color: #17151d;
  font-size: 13px;
  letter-spacing: 0.055em;
  line-height: 1.6;
}

#integration .jokko-integrations-table th,
#integration .jokko-integrations-table td {
  padding: 17px 28px;
  text-align: left;
  vertical-align: middle;
  border-right: 1px solid #f0edf2;
  border-bottom: 1px solid #e9e6ed;
}

#integration .jokko-integrations-table tr > :last-child {
  border-right: 0;
}

#integration .jokko-integrations-table tbody tr:last-child > * {
  border-bottom: 0;
}

#integration .jokko-integrations-table thead {
  background: #fff;
}

#integration .jokko-integrations-table thead th {
  padding-top: 21px;
  padding-bottom: 21px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

#integration .jokko-integrations-table tbody {
  background: #faf8fc;
}

#integration .jokko-integrations-table tbody th {
  font-weight: 400;
}

#integration .jokko-integrations-table tr > :nth-child(2) {
  width: 39%;
}

#integration .jokko-partner-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

#integration .jokko-partner-list span {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid #e8d9ff;
  border-radius: 999px;
  background: #f1e8ff;
  color: #8741f7;
  font-size: 11px;
  letter-spacing: 0;
  line-height: 1.3;
  white-space: nowrap;
}

#integration .jokko-partner-list .jokko-partner-built {
  border-color: #ffd5e8;
  background: #ffeaf3;
  color: #f34387;
}

@media (max-width: 950px) {
  #integration .jokko-integrations-table-wrap {
    margin-top: 28px;
  }

  #integration .jokko-integrations-table {
    min-width: 950px;
  }
}

/* Show scrollbar on mobile for the integration table */
#integration .jokko-integrations-table-wrap {
  scrollbar-width: thin;
  scrollbar-color: #c4b5fd #f0edf6;
}

#integration .jokko-integrations-table-wrap::-webkit-scrollbar {
  height: 6px;
}

#integration .jokko-integrations-table-wrap::-webkit-scrollbar-track {
  background: #f0edf6;
  border-radius: 999px;
}

#integration .jokko-integrations-table-wrap::-webkit-scrollbar-thumb {
  background-color: #c4b5fd;
  border-radius: 999px;
}
