:root {
  --bg: #0b1020;
  --surface: rgba(15, 23, 42, 0.82);
  --text: #f3f4f6;
  --muted: #94a3b8;
  --line: rgba(148, 163, 184, 0.18);
  --accent: #60a5fa;
  --accent-soft: rgba(96, 165, 250, 0.14);
  --accent-2: #e5eefb;
  --shadow: 0 18px 50px rgba(2, 6, 23, 0.42);
  --radius-xl: 28px;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Noto Sans KR', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(96, 165, 250, 0.13), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(30, 41, 59, 0.45), transparent 24%),
    linear-gradient(180deg, #0b1120 0%, #0a1020 100%);
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.page-shell {
  padding: 34px 0 48px;
}

.capture-target {
  position: relative;
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  gap: 30px;
  padding: 42px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.78));
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.hero::before {
  width: 360px;
  height: 360px;
  top: -180px;
  right: -120px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.16), transparent 66%);
}

.hero::after {
  width: 280px;
  height: 280px;
  bottom: -140px;
  left: -100px;
  background: radial-gradient(circle, rgba(30, 41, 59, 0.55), transparent 68%);
}

.hero-copy,
.hero-media {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.hero h1 span {
  display: block;
  margin-top: 8px;
  color: var(--accent);
}

.hero-intro {
  margin: 22px 0 0;
  max-width: 620px;
  color: #cbd5e1;
  font-size: 17px;
}

.hero-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 30px;
  margin-bottom: 2px;
}

.hero-actions {
  display: flex;
  gap: 12px;
}

.download-btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #60a5fa, #3b82f6);
  color: #eff6ff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(59, 130, 246, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.download-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(59, 130, 246, 0.28);
}

.download-btn:active {
  transform: translateY(0);
  opacity: 0.92;
}

.download-btn:disabled {
  cursor: wait;
  opacity: 0.7;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.meta-card {
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid var(--line);
}

.meta-label {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.meta-value {
  font-weight: 700;
  font-size: 15px;
  color: var(--accent-2);
}

.hero-media {
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.profile-wrap {
  width: 100%;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.profile-card {
  width: min(100%, 390px);
  border-radius: 28px;
  padding: 18px;
  background: rgba(15, 23, 42, 0.76);
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: 0 24px 48px rgba(2, 6, 23, 0.36);
}

.profile-image {
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.18), rgba(96, 165, 250, 0.14)),
    url('https://images.unsplash.com/photo-1494790108377-be9c29b29330?auto=format&fit=crop&w=900&q=80') center/cover;
  position: relative;
  overflow: hidden;
}

.profile-image::after {
  content: "Product Designer & Frontend Marketer";
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.78);
  border: 1px solid rgba(148, 163, 184, 0.16);
  font-size: 12px;
  font-weight: 700;
  color: #e2e8f0;
}

.resume-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.4fr);
  gap: 24px;
  margin-top: 26px;
  align-items: start;
}

.column {
  display: grid;
  gap: 24px;
}

.card {
  background: var(--surface);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.section-title {
  margin: 0;
  font-size: 22px;
}

.section-sub {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.info-list,
.cert-list,
.skill-list,
.timeline,
.activity-list,
.career-list {
  display: grid;
  gap: 16px;
}

.info-item,
.cert-item,
.timeline-item,
.activity-item,
.career-item {
  position: relative;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.info-item:first-child,
.cert-item:first-child,
.timeline-item:first-child,
.activity-item:first-child,
.career-item:first-child {
  padding-top: 0;
  border-top: 0;
}

.label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 6px;
}

.value {
  font-size: 16px;
  font-weight: 600;
  color: var(--accent-2);
}

.muted {
  color: var(--muted);
  font-size: 14px;
}

.cert-badge {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  color: #cbd5e1;
}

.timeline-item,
.activity-item,
.career-item {
  padding-left: 24px;
}

.timeline-item::before,
.activity-item::before,
.career-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(96, 165, 250, 0.12);
}

.period {
  display: inline-block;
  margin-bottom: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.item-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.item-subtitle {
  margin: 6px 0 0;
  color: #cbd5e1;
  font-weight: 600;
  font-size: 14px;
}

.bullet-list {
  margin: 12px 0 0;
  padding-left: 18px;
  color: #94a3b8;
  font-size: 14px;
}

.bullet-list li + li {
  margin-top: 6px;
}

.skill-list {
  gap: 14px;
}

.skill-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.64);
  border: 1px solid var(--line);
}

.skill-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--accent-2);
}

.skill-bar {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: rgba(51, 65, 85, 0.9);
  overflow: hidden;
}

.skill-fill {
  position: absolute;
  inset: 0 auto 0 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #60a5fa, #93c5fd);
}

.skill-icons {
  display: inline-flex;
  gap: 5px;
}

.skill-icons span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #334155;
}

.skill-icons span.active {
  background: var(--accent);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.tag {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid var(--line);
  color: #dbe7f6;
  font-size: 13px;
  font-weight: 700;
}

.footer-note {
  margin-top: 24px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 1080px) {
  .hero,
  .resume-grid {
    grid-template-columns: 1fr;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .profile-card {
    width: min(100%, 460px);
  }
}

@media (max-width: 720px) {
  .page-shell {
    padding: 18px 0 28px;
  }

  .container {
    width: min(calc(100% - 24px), var(--max));
  }

  .hero,
  .card {
    padding: 22px;
    border-radius: 24px;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .skill-row {
    grid-template-columns: 1fr;
  }
}