/* ===== Resume Page ===== */
.resume-page {
  background: #f8fafc;
}

/* Hero */
.resume-hero {
  padding: 48px 0 32px;
  background: linear-gradient(160deg, #eff6ff 0%, #f8fafc 40%, #ecfdf5 100%);
  position: relative;
  overflow: hidden;
}
.resume-hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
}
.resume-hero-inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.resume-badge {
  display: inline-block;
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.resume-name {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 12px;
  color: #0f172a;
}
.resume-name span {
  background: linear-gradient(135deg, #2563eb, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.resume-subtitle {
  font-size: 16px;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 520px;
}
.resume-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.resume-tag {
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid #cbd5e1;
  color: #334155;
  background: #fff;
}
.resume-actions {
  display: flex;
  gap: 12px;
}
.resume-photo-wrap {
  display: flex;
  justify-content: center;
}
.resume-photo-frame {
  width: 280px;
  height: 350px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(37, 99, 235, 0.12), 0 4px 16px rgba(0, 0, 0, 0.06);
  border: 4px solid #fff;
}
.resume-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Stats */
.resume-stats-wrap {
  margin-top: -28px;
  position: relative;
  z-index: 2;
  padding-bottom: 24px;
}
.resume-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: #fff;
  padding: 24px 32px;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04), 0 10px 40px rgba(0, 0, 0, 0.08);
}
.resume-stat {
  display: flex;
  align-items: center;
  gap: 14px;
}
.resume-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex-shrink: 0;
}
.resume-stat-green { background: #ecfdf5; }
.resume-stat-blue { background: #eff6ff; }
.resume-stat-teal { background: #f0fdfa; }
.resume-stat-indigo { background: #eef2ff; }
.resume-stat strong {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
}
.resume-stat span {
  font-size: 13px;
  color: #64748b;
}

/* Sections */
.resume-section {
  padding: 64px 0;
}
.resume-section-alt {
  background: #f8fafc;
}
.resume-section-head {
  margin-bottom: 36px;
}
.resume-section-tag {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #2563eb;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.resume-section-head h2 {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  position: relative;
  display: inline-block;
}
.resume-section-head h2::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 40px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #2563eb, #10b981);
}

/* About */
.resume-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.resume-about-text p {
  font-size: 15px;
  color: #334155;
  margin-bottom: 16px;
  line-height: 1.85;
}
.resume-about-text strong {
  color: #0f172a;
  font-weight: 600;
}
.resume-info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.resume-info-card {
  background: #f8fafc;
  padding: 16px 18px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.25s;
}
.resume-info-card:hover {
  border-color: rgba(37, 99, 235, 0.15);
  background: rgba(37, 99, 235, 0.02);
}
.info-label {
  display: block;
  font-size: 12px;
  color: #94a3b8;
  font-weight: 500;
  margin-bottom: 2px;
}
.info-value {
  font-size: 15px;
  color: #0f172a;
  font-weight: 600;
}

/* Timeline */
.resume-timeline {
  position: relative;
  padding-left: 48px;
}
.resume-timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, #2563eb, #10b981, transparent);
  border-radius: 2px;
}
.resume-tl-item {
  position: relative;
  margin-bottom: 32px;
}
.resume-tl-item:last-child {
  margin-bottom: 0;
}
.resume-tl-dot {
  position: absolute;
  left: -48px;
  top: 24px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #2563eb;
  box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.08);
}
.resume-tl-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2563eb;
}
.resume-tl-card {
  background: #fff;
  padding: 24px 28px;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: all 0.3s;
}
.resume-tl-card:hover {
  transform: translateX(6px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04), 0 10px 40px rgba(0, 0, 0, 0.08);
}
.resume-tl-date {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.06);
  padding: 4px 12px;
  border-radius: 6px;
  margin-bottom: 10px;
}
.resume-tl-company {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}
.resume-tl-role {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 14px;
  font-weight: 500;
}
.resume-tl-card ul {
  list-style: none;
}
.resume-tl-card li {
  font-size: 14px;
  color: #334155;
  padding: 4px 0 4px 20px;
  position: relative;
  line-height: 1.7;
}
.resume-tl-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2563eb;
  opacity: 0.35;
}

/* Skills */
.resume-skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.resume-skill-card {
  background: #f8fafc;
  padding: 24px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.resume-skill-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #10b981);
  opacity: 0;
  transition: opacity 0.3s;
}
.resume-skill-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04), 0 10px 40px rgba(0, 0, 0, 0.08);
}
.resume-skill-card:hover::before {
  opacity: 1;
}
.resume-skill-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.resume-skill-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}
.ic-blue { background: #eff6ff; }
.ic-green { background: #ecfdf5; }
.ic-purple { background: #f5f3ff; }
.ic-orange { background: #fff7ed; }
.ic-red { background: #fef2f2; }
.ic-teal { background: #f0fdfa; }
.resume-skill-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}
.resume-skill-card p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.75;
}

/* Accounts */
.resume-accounts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.resume-account-card {
  background: #fff;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: all 0.3s;
}
.resume-account-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04), 0 10px 40px rgba(0, 0, 0, 0.08);
}
.account-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  gap: 12px;
}
.account-top h3 {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
}
.account-badge {
  font-size: 11px;
  font-weight: 600;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.07);
  padding: 4px 12px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}
.account-desc {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 20px;
  line-height: 1.75;
}
.account-stats {
  display: flex;
  gap: 28px;
}
.account-stat strong {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: #2563eb;
  line-height: 1;
}
.account-stat span {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 4px;
  display: block;
}

/* AI Tools */
.resume-ai-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.resume-ai-card {
  background: #f8fafc;
  padding: 24px 16px;
  border-radius: 16px;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.3s;
}
.resume-ai-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04), 0 10px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(37, 99, 235, 0.1);
}
.resume-ai-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}
.resume-ai-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.resume-ai-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}
.resume-ai-card p {
  font-size: 12px;
  color: #64748b;
  line-height: 1.6;
}

/* Contact */
.resume-contact-sub {
  font-size: 15px;
  color: #64748b;
  margin-bottom: 28px;
}
.resume-contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: #fff;
  padding: 36px 40px;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.06);
}
.resume-ci-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.resume-ci-row:last-child {
  margin-bottom: 0;
}
.resume-ci-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #eff6ff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ci-label {
  display: block;
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 2px;
}
.ci-value {
  font-size: 15px;
  color: #0f172a;
  font-weight: 600;
}
.resume-contact-tagline {
  font-size: 28px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.4;
  text-align: right;
  background: linear-gradient(135deg, #2563eb, #10b981);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Responsive */
@media (max-width: 1024px) {
  .resume-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .resume-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .resume-tags,
  .resume-actions {
    justify-content: center;
  }
  .resume-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .resume-about-grid {
    grid-template-columns: 1fr;
  }
  .resume-skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .resume-ai-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .resume-contact-wrap {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .resume-contact-tagline {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .resume-name {
    font-size: 32px;
  }
  .resume-photo-frame {
    width: 220px;
    height: 280px;
  }
  .resume-stats {
    grid-template-columns: 1fr 1fr;
    padding: 20px;
  }
  .resume-info-cards {
    grid-template-columns: 1fr;
  }
  .resume-skills-grid,
  .resume-accounts-grid {
    grid-template-columns: 1fr;
  }
  .resume-ai-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .resume-contact-tagline {
    font-size: 22px;
  }
}
