:root {
  --bg: #080b16;
  --bg-soft: #101629;
  --card: rgba(255, 255, 255, 0.075);
  --card-strong: rgba(255, 255, 255, 0.12);
  --line: rgba(255, 255, 255, 0.14);
  --text: #f7f8ff;
  --muted: #aab2cf;
  --primary: #78a7ff;
  --secondary: #9c7bff;
  --accent: #46e6c2;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), transparent 85%);
}

.bg-orb {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.45;
  z-index: -2;
}

.orb-1 {
  top: -120px;
  left: -80px;
  background: #276dff;
}

.orb-2 {
  right: -120px;
  bottom: 120px;
  background: #8b4dff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(8, 11, 22, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.logo-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 10px 30px rgba(120, 167, 255, 0.28);
}

.logo-text {
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav-links a {
  transition: color 0.25s ease;
}

.nav-links a:hover {
  color: var(--text);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
  border-radius: 999px;
}

section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 100px 0;
}

.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 56px;
  padding-top: 80px;
}

.eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(52px, 8vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.07em;
  margin-bottom: 28px;
}

.hero h1 span {
  background: linear-gradient(135deg, #ffffff, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  color: transparent;
}

.hero-description {
  max-width: 690px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
  word-break: keep-all;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 14px 40px rgba(120, 167, 255, 0.28);
}

.btn.ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.hero-card,
.glass-card,
.project-card,
.future-card,
.activity-card,
.certificate-card,
.contact-card {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.045));
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.hero-card {
  border-radius: 34px;
  padding: 34px;
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: radial-gradient(circle at top right, rgba(120, 167, 255, 0.33), transparent 38%);
  z-index: -1;
}

.profile-ring {
  width: 132px;
  height: 132px;
  padding: 3px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
  margin-bottom: 24px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.profile-ring:hover {
  transform: scale(1.045);
  box-shadow: 0 0 34px rgba(120, 167, 255, 0.42);
}

.profile-avatar {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #f7f8ff;
  font-size: 54px;
  font-weight: 900;
  overflow: hidden;
}

.profile-avatar img {
  width: 80%;
  height: 80%;
  display: block;
  border-radius: inherit;
  object-fit: contain;
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.profile-avatar img.fade-out {
  opacity: 0;
  transform: scale(0.96);
}

.hero-card h2 {
  font-size: 32px;
  margin-bottom: 8px;
}

.hero-card > p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 28px;
}

.status-list {
  display: grid;
  gap: 12px;
}

.status-list div {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.status-list strong {
  display: block;
  color: var(--primary);
  margin-bottom: 6px;
}

.status-list span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.section-heading.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-heading h2 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.04em;
  word-break: keep-all;
}

.section-subtitle {
  margin-top: 16px;
  color: var(--muted);
  font-size: 17px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 18px;
}

.glass-card {
  border-radius: 28px;
  padding: 28px;
}

.about-main {
  grid-row: span 2;
}

.about-main p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
  word-break: keep-all;
}

.about-main p + p {
  margin-top: 18px;
}

.card-number {
  color: var(--accent);
  font-weight: 900;
  font-size: 13px;
}

.mini-card h3 {
  margin: 16px 0 10px;
  font-size: 22px;
}

.mini-card p {
  color: var(--muted);
  line-height: 1.7;
  word-break: keep-all;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.project-card {
  min-height: 430px;
  border-radius: 30px;
  padding: 28px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(120, 167, 255, 0.48);
}

.project-card.highlight {
  background: linear-gradient(145deg, rgba(120, 167, 255, 0.18), rgba(156, 123, 255, 0.12), rgba(255, 255, 255, 0.055));
}

.project-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 38px;
  gap: 12px;
}

.project-tag {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.project-year {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.project-card h3 {
  font-size: 28px;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.project-card p {
  color: var(--muted);
  line-height: 1.75;
  word-break: keep-all;
}

.project-card ul {
  margin-top: 24px;
  display: grid;
  gap: 10px;
}

.project-card li {
  position: relative;
  padding-left: 18px;
  color: #dbe2ff;
  font-size: 14px;
}

.project-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

.future-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.future-card {
  min-height: 360px;
  border-radius: 30px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.future-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(120, 167, 255, 0.18), transparent 38%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.future-card:hover {
  transform: translateY(-8px);
  border-color: rgba(120, 167, 255, 0.48);
  background: linear-gradient(145deg, rgba(120, 167, 255, 0.15), rgba(156, 123, 255, 0.1), rgba(255, 255, 255, 0.055));
}

.future-card:hover::before {
  opacity: 1;
}

.future-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(70, 230, 194, 0.12);
  color: var(--accent);
  border: 1px solid rgba(70, 230, 194, 0.2);
  box-shadow: 0 12px 30px rgba(70, 230, 194, 0.08);
  position: relative;
}

.future-icon svg {
  width: 28px;
  height: 28px;
}

.future-card h3 {
  margin: 24px 0 14px;
  font-size: 24px;
  line-height: 1.28;
  letter-spacing: -0.03em;
  position: relative;
}

.future-card p {
  color: var(--muted);
  line-height: 1.75;
  word-break: keep-all;
  position: relative;
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.activity-card {
  border-radius: 30px;
  padding: 30px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.activity-card:hover {
  transform: translateY(-8px);
  border-color: rgba(120, 167, 255, 0.48);
  background: linear-gradient(145deg, rgba(120, 167, 255, 0.14), rgba(156, 123, 255, 0.1), rgba(255, 255, 255, 0.055));
}

.activity-card-header {
  margin-bottom: 24px;
}

.activity-label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(70, 230, 194, 0.12);
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.activity-card h3 {
  margin-top: 18px;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.activity-timeline {
  display: grid;
  gap: 14px;
}

.activity-item {
  position: relative;
  padding: 16px 18px 16px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.activity-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(var(--primary), var(--secondary));
}

.activity-item.featured {
  background: linear-gradient(145deg, rgba(120, 167, 255, 0.18), rgba(156, 123, 255, 0.12), rgba(255, 255, 255, 0.06));
  border-color: rgba(156, 123, 255, 0.52);
  box-shadow: 0 16px 46px rgba(120, 167, 255, 0.12);
}

.activity-item.featured::before {
  background: linear-gradient(var(--accent), var(--secondary));
}

.activity-year {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.activity-item h4 {
  color: #f7f8ff;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.activity-item p {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.65;
  word-break: keep-all;
}

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

.skill-wrap span {
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.055);
  color: #dde5ff;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
}

.certificate-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.certificate-card {
  border-radius: 30px;
  padding: 30px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.certificate-card:hover {
  transform: translateY(-8px);
  border-color: rgba(120, 167, 255, 0.48);
  background: linear-gradient(145deg, rgba(120, 167, 255, 0.14), rgba(156, 123, 255, 0.1), rgba(255, 255, 255, 0.055));
}

.certificate-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(70, 230, 194, 0.12);
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.certificate-card h3 {
  margin: 18px 0 22px;
  font-size: 28px;
  letter-spacing: -0.03em;
}

.certificate-list {
  display: grid;
  gap: 12px;
}

.certificate-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.certificate-item span {
  color: #dbe2ff;
  font-weight: 800;
}

.certificate-item time {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.timeline-list {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
}

.timeline-list::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--primary), var(--secondary));
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 22px;
  padding: 0 0 34px;
}

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

.dot {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--bg);
  border: 7px solid var(--primary);
  z-index: 1;
  box-shadow: 0 0 0 8px rgba(120, 167, 255, 0.12);
}

.timeline-item div:last-child {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
}

time {
  color: var(--accent);
  font-weight: 900;
  font-size: 13px;
}

.timeline-item h3 {
  margin: 10px 0 8px;
  font-size: 22px;
}

.timeline-item p {
  color: var(--muted);
  line-height: 1.65;
}

.contact-card {
  border-radius: 36px;
  padding: clamp(32px, 6vw, 68px);
  text-align: center;
  background:
    radial-gradient(circle at top, rgba(120, 167, 255, 0.24), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
}

.contact-card h2 {
  max-width: 760px;
  margin: 0 auto 18px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.16;
  letter-spacing: -0.04em;
  word-break: keep-all;
}

.contact-card p:not(.eyebrow) {
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.75;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

.social-chip {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-height: 54px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.social-chip:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(156, 123, 255, 0.5);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
}

.social-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 22px;
  color: var(--accent);
}

.social-icon svg {
  width: 22px;
  height: 22px;
}

.social-chip.disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.footer {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 46px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.section-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.section-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .future-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 76px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border-radius: 20px;
    background: rgba(13, 18, 35, 0.96);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 12px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 58px;
  }

  .hero-card {
    max-width: 560px;
  }

  .about-grid,
  .project-grid,
  .future-grid,
  .activity-grid,
  .certificate-grid {
    grid-template-columns: 1fr;
  }

  .about-main {
    grid-row: auto;
  }
}

@media (max-width: 560px) {
  .navbar,
  section,
  .footer {
    width: min(100% - 28px, 1120px);
  }

  section {
    padding: 72px 0;
  }

  .hero h1 {
    font-size: 50px;
  }

  .hero-description,
  .about-main p {
    font-size: 16px;
  }

  .hero-card,
  .glass-card,
  .project-card,
  .future-card,
  .activity-card,
  .certificate-card {
    padding: 22px;
    border-radius: 24px;
  }

  .project-card,
  .future-card {
    min-height: auto;
  }

  .hero-actions,
  .contact-links {
    flex-direction: column;
    align-items: stretch;
  }

  .btn,
  .social-chip {
    width: 100%;
  }

  .social-chip {
    justify-content: center;
  }
}
