html, body, main, header, footer {
  padding: 0;
  margin: 0;
}

div#app {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 16px;
}

/* Header */
.header-info {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 960px;
  margin: 20px auto;
  padding: 24px;
  background: linear-gradient(135deg, #e8f4fd 0%, #ffffff 100%);
  border-radius: 12px;
  border: 1px solid #d0e7f9;
}

.avatar-area {
  flex-shrink: 0;
}

.avatar-placeholder {
  width: 110px;
  height: 140px;
  background: #b3d9f2;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
}

.basic-info {
  flex: 1;
}

#name-title {
  margin: 0 0 8px;
  font-size: 26px;
  color: #1a5276;
}

.job-target {
  margin: 0 0 10px;
  font-size: 16px;
  color: #2980b9;
}

.job-target strong {
  color: #1a5276;
}

.info-list, .contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.info-list li, .contact-list li {
  font-size: 14px;
  color: #555;
}

.contact-list li {
  color: #2980b9;
  font-weight: 500;
}

/* Section Cards */
.section-card {
  background: #fff;
  border-radius: 10px;
  padding: 24px;
  margin-bottom: 20px;
  border: 1px solid #e8eef3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.section-title {
  margin: 0 0 16px;
  font-size: 20px;
  color: #1a5276;
  padding-bottom: 10px;
  border-bottom: 2px solid #e8f4fd;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 50px;
  height: 2px;
  background: #2980b9;
}

/* Intro */
.intro-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  text-indent: 2em;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 28px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #d0e7f9;
}

.timeline-item {
  position: relative;
  margin-bottom: 24px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -24px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #2980b9;
  border: 2px solid #e8f4fd;
}

.timeline-period {
  font-size: 13px;
  color: #2980b9;
  font-weight: 600;
  margin-bottom: 4px;
}

.timeline-title {
  margin: 0 0 2px;
  font-size: 17px;
  color: #1a5276;
}

.timeline-org {
  margin: 0 0 6px;
  font-size: 14px;
  color: #888;
}

.timeline-desc {
  margin: 0;
  font-size: 14px;
  color: #555;
  line-height: 1.7;
}

/* Education */
.education-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.edu-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.edu-period {
  font-size: 13px;
  color: #2980b9;
  font-weight: 600;
  min-width: 100px;
  padding-top: 2px;
}

.edu-title {
  margin: 0 0 2px;
  font-size: 16px;
  color: #1a5276;
}

.edu-major {
  margin: 0;
  font-size: 14px;
  color: #888;
}

/* Tags */
.courses-tags, .skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  display: inline-block;
  padding: 6px 14px;
  background: #e8f4fd;
  color: #1a5276;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
}

.skill-tag {
  background: #d4edda;
  color: #1e7e34;
}

/* Certificates & Awards */
.certificates-list, .awards-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.certificates-list li, .awards-list li {
  padding: 8px 0 8px 28px;
  font-size: 15px;
  color: #555;
  position: relative;
  border-bottom: 1px solid #f0f4f8;
}

.certificates-list li:last-child, .awards-list li:last-child {
  border-bottom: none;
}

.certificates-list li::before {
  content: '📜';
  position: absolute;
  left: 0;
  top: 8px;
  font-size: 14px;
}

.awards-list li::before {
  content: '🏆';
  position: absolute;
  left: 0;
  top: 8px;
  font-size: 14px;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px 0;
}

.page-info {
  font-size: 13px;
  color: #aaa;
}

.page-info a {
  color: #2980b9;
  text-decoration: none;
}

.page-info a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .header-info {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .avatar-placeholder {
    width: 90px;
    height: 115px;
    margin: 0 auto;
  }

  .info-list, .contact-list {
    justify-content: center;
  }

  .section-card {
    padding: 16px;
  }

  .section-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .timeline {
    padding-left: 22px;
  }

  .edu-item {
    flex-direction: column;
    gap: 4px;
  }
}

@media (max-width: 480px) {
  #name-title {
    font-size: 22px;
  }

  .tag {
    font-size: 12px;
    padding: 5px 10px;
  }
}
