.resume-container {
  display: flex;
  gap: 0;
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.resume-left {
  width: 320px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #fff;
  padding: 40px 30px;
  position: relative;
}

.resume-right {
  flex: 1;
  padding: 40px 50px;
}

.resume-photo {
  text-align: center;
  margin-bottom: 20px;
}

.photo-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 48px;
  color: rgba(255,255,255,0.5);
}

.resume-name {
  text-align: center;
  font-size: 28px;
  margin: 10px 0 5px;
}

.resume-title {
  text-align: center;
  font-size: 14px;
  color: #a0a0a0;
  margin-bottom: 30px;
}

.resume-contact {
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  color: #e0e0e0;
}

.contact-item i {
  width: 20px;
  color: #4facfe;
}

.resume-section {
  margin-bottom: 30px;
}

.resume-section h2 {
  font-size: 16px;
  border-bottom: 2px solid #4facfe;
  padding-bottom: 8px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.resume-section h2 i {
  color: #4facfe;
}

.resume-section h3 {
  font-size: 18px;
  margin-bottom: 5px;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-tag {
  background: rgba(79, 172, 254, 0.2);
  color: #4facfe;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 12px;
  border: 1px solid rgba(79, 172, 254, 0.3);
}

.exp-item {
  margin-bottom: 20px;
}

.exp-period {
  color: #666;
  font-size: 14px;
}

.exp-period i {
  margin-right: 5px;
}

.exp-detail {
  margin-left: 20px;
  margin-bottom: 20px;
}

.exp-detail h4 {
  font-size: 15px;
  color: #333;
  margin-bottom: 10px;
}

.exp-detail h4 .period {
  font-weight: normal;
  color: #888;
  font-size: 13px;
  margin-left: 10px;
}

.exp-detail ul {
  margin: 0;
  padding-left: 20px;
}

.exp-detail li {
  margin-bottom: 8px;
  line-height: 1.6;
  color: #555;
}

.edu-item h3 {
  font-size: 16px;
  margin-bottom: 5px;
}

.edu-item p {
  color: #666;
  font-size: 14px;
}

.advantage-list {
  list-style: none;
  padding: 0;
}

.advantage-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  color: #555;
}

.advantage-list li i {
  color: #4facfe;
  margin-top: 3px;
}

.patent-item {
  margin-bottom: 18px;
  padding-left: 15px;
  border-left: 3px solid #4facfe;
}

.patent-item h3 {
  font-size: 15px;
  color: #333;
  margin-bottom: 5px;
}

.patent-name {
  color: #555;
  font-size: 14px;
  margin-bottom: 3px;
}

.patent-info {
  color: #888;
  font-size: 12px;
}

/* ===== 技能熟练度条 ===== */
.skill-bars {
  margin-top: 5px;
}

.skill-bar-item {
  margin-bottom: 14px;
}

.skill-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #e0e0e0;
  margin-bottom: 6px;
}

.skill-bar-pct {
  color: #4facfe;
  font-weight: bold;
}

.skill-bar-track {
  width: 100%;
  height: 8px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #4facfe, #00f2fe);
  border-radius: 4px;
}

/* ===== PDF下载按钮 ===== */
.resume-pdf-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #4facfe, #00f2fe);
  color: #1a1a2e;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  margin-top: 5px;
}

.resume-pdf-btn:hover {
  opacity: 0.85;
}

/* ===== 项目卡片 ===== */
.project-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 5px;
}

.project-card {
  background: #f9f9f9;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #eee;
  transition: transform 0.2s, box-shadow 0.2s;
}

.project-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.project-cover {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-cover-text {
  color: rgba(255,255,255,0.9);
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 2px;
}

.project-info {
  padding: 16px;
}

.project-info h3 {
  font-size: 15px;
  color: #333;
  margin-bottom: 8px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.project-tag {
  background: rgba(79, 172, 254, 0.15);
  color: #4facfe;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 11px;
}

.project-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 10px;
}

.project-stats {
  display: flex;
  gap: 15px;
  font-size: 12px;
  color: #888;
}

.project-stats span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.project-stats i {
  color: #4facfe;
}

@media (max-width: 768px) {
  .resume-container {
    flex-direction: column;
  }
  .resume-left {
    width: 100%;
    padding: 30px 20px;
  }
  .resume-right {
    padding: 30px 20px;
  }
  .project-cards {
    gap: 12px;
  }
}