.kc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.kc-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 360px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kc-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 56px rgba(0,0,0,0.28);
}

.kc-card--blue   { background: linear-gradient(150deg, #0a1628 0%, #1a6fd4 100%); }
.kc-card--green  { background: linear-gradient(150deg, #022922 0%, #0d9e8d 100%); }
.kc-card--purple { background: linear-gradient(150deg, #1e0a40 0%, #7c3aed 100%); }

.kc-card::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -30%;
  width: 80%;
  height: 80%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.kc-card__body {
  position: relative;
  z-index: 1;
  padding: 36px 32px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.kc-card__icon {
  font-size: 52px;
  line-height: 1;
  display: block;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.kc-card:hover .kc-card__icon {
  transform: scale(1.12) rotate(-6deg);
}

.kc-card__title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 6px 0;
  letter-spacing: -0.3px;
}

.kc-card__sub {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin: 0 0 14px 0;
}

.kc-card__desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  margin: 0 0 24px 0;
  flex: 1;
}

.kc-card__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 10px 14px;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.kc-card:hover .kc-card__link {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.3);
}

.kc-card__link span:first-child {
  font-size: 0.79rem;
  color: rgba(255,255,255,0.72);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kc-card:hover .kc-card__link span:first-child {
  color: #ffffff;
}

.kc-card__arrow {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  flex-shrink: 0;
  display: inline-block;
  transition: transform 0.25s ease, color 0.25s ease;
}

.kc-card:hover .kc-card__arrow {
  transform: translate(3px, -3px);
  color: #ffffff;
}

.kc-card__footer {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
  padding: 14px;
  letter-spacing: 0.4px;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
}

.kc-card:hover .kc-card__footer {
  transform: translateY(0);
}

.kc-note {
  text-align: center;
  margin-top: 40px;
  color: #94a3b8;
  font-size: 0.86rem;
}

@media (max-width: 960px) {
  .kc-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
  }
  .kc-card {
    min-height: 300px;
  }
}

@media (max-width: 480px) {
  .kc-card__body {
    padding: 28px 22px 20px;
  }
  .kc-card__title {
    font-size: 1.25rem;
  }
  .kc-card__icon {
    font-size: 42px;
  }
}
