/* Startup detail page (/startups/{slug}) - matches landing palette:
   primary blue #496AFD, violet #8230CA, text #09090C, Inter font (loaded by main.css) */

.startup-detail {
  padding: 40px 0 96px 0;
}

/* back link */

.startup-detail__back {
  display: inline-block;
  margin: 0 0 24px 0;
  font-weight: 500;
  color: #496AFD;
}

.startup-detail__back:hover {
  color: #2040CD;
}

.startup-detail__back:active {
  color: #0F2791;
}

/* title + status badge */

.startup-detail__head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.startup-detail__title {
  font-weight: 700;
  font-size: 48px;
  line-height: 60px;
  margin: 0;
}

.startup-detail__status {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 32px;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
}

.startup-detail__status--active {
  background: #E7EEFD;
  color: #2040CD;
}

.startup-detail__status--archived {
  background: #F4FFC2;
  color: #5F6F12;
}

.startup-detail__status--closed {
  background: #ECEEF5;
  color: #6B6F82;
}

/* label chip + dates */

.startup-detail__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin: 20px 0 0 0;
}

.startup-detail__label {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 32px;
  background: #E2D3FE;
  color: #8230CA;
  font-weight: 500;
}

.startup-detail__date {
  color: #6B6F82;
  font-size: 14px;
  line-height: 20px;
}

/* description */

.startup-detail__description {
  margin: 24px 0 0 0;
  max-width: 760px;
  font-size: 18px;
  line-height: 28px;
}

/* owner */

.startup-detail__owner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 32px 0 0 0;
  padding: 24px 28px;
  max-width: 420px;
  border: 2px solid #E7EEFD;
  border-radius: 24px;
}

.startup-detail__owner-label {
  color: #6B6F82;
  font-size: 14px;
  line-height: 20px;
}

.startup-detail__owner-name {
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  color: #496AFD;
}

.startup-detail__owner-name:hover {
  color: #2040CD;
}

/* sections */

.startup-detail__subtitle {
  margin: 48px 0 16px 0;
  font-weight: 700;
  font-size: 28px;
  line-height: 36px;
}

/* members */

.startup-detail__members {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.startup-detail__members-item {
  display: flex;
}

.startup-detail__member {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: 560px;
  padding: 14px 20px;
  border: 2px solid #E5E7F2;
  border-radius: 16px;
}

.startup-detail__member:hover {
  border-color: #496AFD;
}

.startup-detail__member-name {
  font-weight: 500;
}

.startup-detail__member-role {
  color: #6B6F82;
  font-size: 14px;
  line-height: 20px;
}

/* "who is needed" chips */

.startup-detail__needed {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.startup-detail__needed-chip {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 32px;
  background: #EDE5FD;
  color: #8230CA;
  font-weight: 500;
}

.startup-detail__needed-empty {
  margin: 0;
  color: #6B6F82;
}

/* join button */

.startup-detail__join {
  display: inline-block;
  margin: 48px 0 0 0;
  padding: 14px 36px;
  border-radius: 12px;
  background: #496AFD;
  color: #fff;
  font-weight: 500;
  font-size: 18px;
  line-height: 28px;
}

.startup-detail__join:hover {
  background: #2040CD;
}

.startup-detail__join:active {
  background: #0F2791;
}

.startup-detail__join:disabled {
  background: #B9C8FA;
  cursor: default;
}

/* not found */

.startup-detail__notfound {
  padding: 48px 0 32px 0;
}

.startup-detail__notfound-title {
  margin: 0 0 16px 0;
  font-weight: 700;
  font-size: 40px;
  line-height: 52px;
}

.startup-detail__notfound-text {
  margin: 0 0 32px 0;
  color: #6B6F82;
  font-size: 18px;
  line-height: 28px;
}

/* responsive */

@media screen and (max-width: 768px) {
  .startup-detail {
    padding: 24px 0 64px 0;
  }

  .startup-detail__title {
    font-size: 32px;
    line-height: 40px;
  }

  .startup-detail__subtitle {
    margin-top: 32px;
    font-size: 22px;
    line-height: 30px;
  }

  .startup-detail__join {
    width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .startup-detail__title {
    font-size: 28px;
    line-height: 36px;
  }

  .startup-detail__head {
    gap: 12px;
  }

  .startup-detail__description {
    font-size: 16px;
    line-height: 24px;
  }

  .startup-detail__member {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
}
