:root {
  /* Toss Color System */
  --toss-blue: #3182f6;
  --toss-blue-light: #e8f3ff;
  --toss-gray-100: #f2f4f6;
  --toss-gray-200: #e5e8eb;
  --toss-gray-300: #d1d6db;
  --toss-gray-400: #b0b8c1;
  --toss-gray-500: #9da5b1;
  --toss-gray-600: #8b95a1;
  --toss-gray-700: #4e5968;
  --toss-gray-800: #333d4b;
  --toss-gray-900: #191f28;
  --white: #ffffff;

  /* Joffrey Spitzer Style */
  --bg-light: #f8f9fa;
  --text-dark: #1a1a1a;

  /* Spacing */
  --container-width: 1100px;
}

/* Reset & Base */
html {
  scroll-behavior: smooth;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--white);
  color: var(--toss-gray-900);
  font-family:
    "Pretendard",
    "Pretendard Variable",
    -apple-system,
    BlinkMacSystemFont,
    system-ui,
    Roboto,
    sans-serif;
  line-height: 1.6;
  word-break: keep-all;
  overflow-x: hidden;
}

li {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
  transition: 0.2s;
}
button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  transition: 0.2s;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Scroll Animation (Basic) */
.reveal,
.reveal-toss {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}

.reveal.active,
.reveal-toss.active {
  opacity: 1;
  transform: translateY(0);
}

/* Header styles moved to Tailwind classes in index.html */

/* Section Commons */
section {
  padding: 120px 0;
}

/* Hero Section */
#hero {
  background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
  height: 100vh;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to right, rgba(49, 130, 246, 0.05) 1px, transparent 1px), linear-gradient(to bottom, rgba(49, 130, 246, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: 0;
  mask-image: radial-gradient(circle at center, black 30%, transparent 90%);
  -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 90%);
}

@keyframes blob-float {
  0% {
    transform: translate(-50%, -50%) rotate(0deg) translateY(-180px);
    filter: blur(100px) hue-rotate(0deg) saturate(1);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg) translateY(-180px);
    filter: blur(100px) hue-rotate(-20deg) saturate(1.2);
  }
}

.hero-content {
  display: flex;
  justify-content: space-between;
  width: 100%;
  height: clamp(600px, 100vh, 900px);
  align-items: center;
}
.hero-text {
  flex: 1 1 60%;
  max-width: 60%;
}

.hero-text h1 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -1px;
  color: #1d1d1f;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.headline-line {
  overflow: hidden;
  padding-bottom: 4px;
  display: flex;
  align-items: baseline;
  gap: 15px;
  white-space: nowrap;
}

.hero-text h1 span.max {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
  text-transform: uppercase;
}

.hero-text h1 span.max .char {
  background: linear-gradient(270deg, #3182f6, #1b64da, #00c6ff, #3182f6);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient-shift 5s linear infinite;
}
@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

.hero-desc {
  font-size: 20px;
  color: #4e5968;
  margin-bottom: 48px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: -0.5px;
}

.hero-btns {
  display: flex;
  gap: 16px;
}

.btn {
  padding: 16px 36px;
  border-radius: 18px; /* 애플 특유의 부드러운 곡률 */
  font-size: 16px;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.2, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px); /* 유리 효과의 핵심 */
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary {
  background-color: rgba(49, 130, 246, 0.85); /* 투명도가 있는 토스 블루 */
  color: var(--white);
  box-shadow: 0 8px 20px rgba(49, 130, 246, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
  background-color: rgba(49, 130, 246, 1);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 28px rgba(49, 130, 246, 0.35);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.5); /* 반투명 화이트 */
  color: var(--toss-gray-800);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 25px rgba(49, 130, 246, 0.08);

}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 25px rgba(49, 130, 246, 0.2);
}
.hero-image-wrapper {
  position: relative;
  flex: 0 0 40%;
  height: 100%;
}
.lamp {
  position: absolute;
  background: url(../img/lightbulb.png) no-repeat;
  content: "";
  top: 0;
  left: 0;
  width: 200px;
  height: 300px;
  transform: translate(-100px, 150px) scale(.5);
  z-index: 99999;
}
.hero-mask-container {
  position: absolute;
  bottom: 0;
  left: 45%; /* Shifted left slightly to make room on the right */
  transform: translateX(-50%);
  width: 511px;
  height: 730px;
  mask-image: url("../img/mask.svg");
  mask-size: 618px 675px;
  mask-position: -60px -7px;
  mask-mode: revert;
  mask-repeat: no-repeat;
  -webkit-mask-image: url("../img/mask.svg");
  -webkit-mask-size: 618px 675px;
  -webkit-mask-position: -60px -7px;
  -webkit-mask-mode: revert;
  -webkit-mask-repeat: no-repeat;
  z-index: 10;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* Floating Elements */
.floating-capsule {
  position: absolute;
  background-color: var(--toss-blue);
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 14px;
  z-index: 20;
  box-shadow: 0 10px 25px rgba(49, 130, 246, 0.3);
  animation: float-animation 3s ease-in-out infinite;
}

.float-max {
  top: 20%;
  left: -50px;
}

.float-min {
  top: 30%;
  right: 30px;
  animation-delay: -1.5s;
}

@keyframes float-animation {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(2deg); }
}

/* Hero Info Boxes */
.hero-info-boxes {
  position: absolute;
  right: -60px;
  top: 55%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 25;
}

.info-box {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 28px;
  padding: 24px;
  width: 260px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
  transition: all 0.4s cubic-bezier(0.2, 0, 0.2, 1);
}

.info-box:hover {
  transform: translateX(-10px);
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 25px 50px rgba(49, 130, 246, 0.1);
}

.info-label {
  font-size: 10px;
  font-weight: 800;
  color: var(--toss-blue);
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 16px;
  opacity: 0.9;
}

.info-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.info-key {
  font-size: 14px;
  color: var(--toss-gray-600);
  font-weight: 500;
}

.info-value {
  font-size: 15px;
  color: var(--toss-gray-900);
  font-weight: 700;
}

/* Responsive adjustment */
@media (max-width: 1200px) {
  .hero-info-boxes {
    right: 0;
  }
}

@media (max-width: 1024px) {
  .hero-info-boxes {
    display: none; /* Hide on smaller screens to avoid clutter */
  }
}
.hero-image-wrapper::before,
.hero-image-wrapper::after {
  content: "";
  position: absolute;
  z-index: 1;
  opacity: 0.4;
  border-radius: 50%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(49, 130, 246, 1) 0%, rgba(49, 130, 246, 0) 70%);
  top: 50%;
  left: 50%;
}

.hero-image-wrapper::before {
  animation: blob-float 12s linear infinite;
}

.hero-image-wrapper::after {
  animation: blob-float 12s linear infinite;
  animation-delay: -6s;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0; /* GSAP will reveal */
}
.scroll-indicator .mouse {
  width: 26px;
  height: 40px;
  border: 2px solid var(--toss-gray-400);
  border-radius: 13px;
  position: relative;
}
.scroll-indicator .mouse::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 6px;
  background: var(--toss-gray-400);
  border-radius: 2px;
  animation: scroll-wheel 2s infinite;
}
@keyframes scroll-wheel {
  0% {
    transform: translate(-50%, 0);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, 12px);
    opacity: 0;
  }
}

.scroll-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--toss-gray-500);
  animation: scroll-bounce 3s infinite;
}
.scroll-indicator span {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: inherit;
}
.arrow-icon {
  color: inherit;
}
@keyframes scroll-bounce {
  0% {
    transform: translateY(0);
    opacity: 0.6;
  }
  50% {
    transform: translateY(5px);
    opacity: 1;
    color: var(--toss-blue);
  }
  100% {
    transform: translateY(0);
    opacity: 0.6;
  }
}

/* About Me */
#about {
  background-color: #f9fafb;
}
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.about-card {
  padding: 32px 40px;
  border-radius: 20px;
}
.about-card .label {
  font-size: 15px;
  font-weight: 600;
  color: var(--toss-blue);
  margin-bottom: 12px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.about-card .value {
  font-size: 22px; /* 크기 키움 */
  font-weight: 800;
  color: var(--toss-gray-900);
}

.career-section {
  margin-top: 80px; /* 여백 늘림 */
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px; /* 열 간격 넓힘 */
}

/* Timeline Layout */
.timeline-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--toss-gray-900);
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--toss-gray-200); /* 제목 밑줄 */
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 32px; /* 항목 간 간격 */
  position: relative;
}

.timeline-list::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  bottom: 0;
  width: 2px;
  background-color: var(--toss-gray-200); /* 타임라인 세로선 */
}

.timeline-item {
  position: relative;
  padding-left: 28px; /* 선과 내용 사이 간격 */
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--white);
  border: 3px solid var(--toss-blue); /* 타임라인 닷(Dot) */
  box-shadow: 0 0 0 4px #f9fafb; /* 배경색과 맞춰 선을 덮음 */
}

.timeline-date {
  font-size: 14px;
  font-weight: 700;
  color: var(--toss-blue);
  margin-bottom: 6px;
  display: block;
  letter-spacing: 0.5px;
}

.timeline-content {
  padding: 20px;
  border-radius: 16px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.timeline-content:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.timeline-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--toss-gray-900);
  margin-bottom: 6px;
  line-height: 1.4;
}

.timeline-desc {
  font-size: 15px;
  color: var(--toss-gray-600);
  line-height: 1.5;
}

/* ==============================================================
   Portfolio Section (Sticky Stacking Cards - scrool.md)
   ============================================================== */
#portfolio {
  background-color: #f8f9fa;
  padding: 60px 0 120px 0; /* 상단 여백 축소 */
  position: relative;
}

.pf-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
}

.pf-section-title {
  text-align: center;
  font-family: "Pretendard", sans-serif;
  margin-bottom: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px; /* 서브 캡션과의 간격 확장 */
  letter-spacing: -0.03em;
}

.pf-section-title .pf-main-text {
  font-size: 32px; /* 가독성 최적화 사이즈 */
  font-weight: 700;
  color: #191f28;
  line-height: 1.6;
  max-width: 900px;
  display: block;
  word-break: keep-all;
}

/* 강조하고 싶은 키워드 외에는 연하게 처리 */
.dimmed {
  color: #8b95a1;
  font-weight: 500;
}

/* 칩 디자인 강화 - 글래스모피즘 및 플로팅 적용 */
.pf-section-title .highlight-chip {
  background: rgba(49, 130, 246, 0.7); /* 반투명 블루 */
  backdrop-filter: blur(10px); /* 글래스모피즘 블러 */
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  font-size: 28px;
  font-weight: 800;
  padding: 8px 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  margin: 0 12px;
  position: relative;
  top: -3px;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.2);

  /* 글로우 효과 및 입체감 */
  box-shadow:
    0 8px 20px rgba(49, 130, 246, 0.2),
    0 0 15px rgba(49, 130, 246, 0.1);

  /* 플로팅 애니메이션 적용 */
  animation: chip-float 3s ease-in-out infinite;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: default;
  clip-path: inset(-10px -10px -10px -10px);
}

/* 카드 및 타임라인 글래스모피즘 적용 */
.about-card,
.timeline-content {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.pf-card {
  background: #ffffff;
  
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.about-card:hover,
.timeline-content:hover {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

/* 플로팅 애니메이션 키프레임 */
@keyframes chip-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media (max-width: 768px) {
  .pf-section-title .pf-main-text {
    font-size: 28px;
    padding: 0 20px;
  }
}

.portfolio-list {
  display: flex;
  flex-direction: column;
  position: relative;
  max-width: 1450px;
  margin: 0 auto;
  padding: 0 24px;
}

.pf-card {
  position: sticky;
  top: 100px;
  width: 100%;
  height: 640px;
  border-radius: 32px;
  display: flex;
  margin-bottom: 60px;
  overflow: hidden;
  will-change: transform, opacity;
}

.pf-left {
  padding: 60px 72px;
  width: 45%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.pf-title-wrap {
  margin-bottom: 28px;
}

.pf-title {
  font-family: "Pretendard", sans-serif;
  font-weight: 800;
  font-size: 36px;
  color: #191f28;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin-bottom: 6px;
  word-break: keep-all;
}

.pf-subtitle {
  font-size: 18px;
  color: var(--toss-gray-700); /* 명도 대비를 높여 선명하게 */
  font-weight: 600;
  display: block;
}

.pf-specs {
  display: flex;
  flex-direction: column;
  margin-bottom: 32px;
  border-top: 1px solid var(--toss-gray-200); /* 영역 시작선 */
}

.pf-spec-row {
  display: flex;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--toss-gray-100); /* 항목별 구분선 */
}

.pf-label {
  font-family: "Pretendard", sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--toss-gray-600);
  width: 100px;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pf-val {
  font-family: "Pretendard", sans-serif;
  font-weight: 700; /* 중요 정보 굵게 강조 */
  font-size: 16px;
  color: var(--toss-gray-900); /* 완전 진한 색상으로 가독성 극대화 */
  line-height: 1.5;
}

.pf-spec-row--troubleshoot {
  align-items: flex-start;
}

.pf-val--troubleshoot {
  font-size: 16px;
  line-height: 1.5;
}

.pf-links {
  display: flex;
  gap: 12px;
  margin-top: auto;
  padding-top: 8px;
}

.pf-link-btn {
  background: #f2f4f6;
  color: #4e5968;
  border-radius: 12px;
  height: 48px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Pretendard", sans-serif;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
}

.pf-link-btn:hover {
  background: #3182f6;
  color: #ffffff;
}

.pf-link-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  transition: transform 0.3s ease;
}

.pf-right {
  width: 55%;
  position: relative;
  overflow: hidden;
  background: #f2f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pf-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.portfolio-list .pf-card:nth-child(4) .pf-right img {
  object-position: center left;
}

/* 카드별 배경 톤 매칭 — 이미지 자체 배경과 자연스럽게 연결되도록 */
.portfolio-list .pf-card:nth-child(1) .pf-right {
  background: linear-gradient(135deg, #eef2f6 0%, #d8deea 100%);
}

.portfolio-list .pf-card:nth-child(2) .pf-right {
  background: #fde0bf;
}

.portfolio-list .pf-card:nth-child(4) .pf-right {
  background: #0f0f1a;
}

.pf-right--video {
  background: #0b0b0b;
}

.pf-right--video img {
  filter: brightness(0.85) saturate(1.05);
  transition: filter 0.4s ease;
}

.pf-right--video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 45%,
    rgba(0, 0, 0, 0.55) 100%
  );
  pointer-events: none;
}

.pf-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease;
  z-index: 2;
}

.pf-video-play::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  animation: pulse-ring 2s ease-out infinite;
  opacity: 0;
  transition: opacity 0.3s ease 0.1s;
}

.pf-video-play svg {
  width: 36px;
  height: 36px;
  color: #0b0b0b;
  margin-left: 4px;
}

.pf-right--video:hover img {
  filter: brightness(0.9) saturate(1.1);
}

.pf-right--video:hover .pf-video-play {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
  background: #ffffff;
}

.pf-right--video:hover .pf-video-play::before {
  opacity: 1;
}

.pf-right--video:focus-within .pf-video-play {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* Portfolio Card Responsive */
@media (max-width: 1200px) {
  .pf-card {
    height: 560px;
  }
  .pf-left {
    padding: 48px 52px;
  }
  .pf-title {
    font-size: 32px;
  }
}

@media (max-width: 1024px) {
  .pf-card {
    height: auto;
    min-height: 520px;
    flex-direction: column;
    position: relative;
    top: auto;
    margin-bottom: 40px;
  }
  .pf-left,
  .pf-right {
    width: 100%;
  }
  .pf-left {
    padding: 44px 44px 40px;
  }
  .pf-right {
    height: 360px;
  }
  .pf-video-play {
    width: 72px;
    height: 72px;
  }
  .pf-video-play svg {
    width: 30px;
    height: 30px;
  }
  .pf-title-wrap {
    margin-bottom: 24px;
  }
  .pf-title {
    font-size: 28px;
  }
  .pf-subtitle {
    font-size: 16px;
  }
  .pf-specs {
    margin-bottom: 28px;
  }
}

@media (max-width: 768px) {
  .portfolio-list {
    padding: 0 16px;
  }
  .pf-card {
    min-height: 0;
    border-radius: 24px;
    margin-bottom: 28px;
  }
  .pf-left {
    padding: 32px 24px 28px;
  }
  .pf-right {
    height: 240px;
  }
  .pf-video-play {
    width: 60px;
    height: 60px;
  }
  .pf-video-play svg {
    width: 26px;
    height: 26px;
  }
  .pf-title {
    font-size: 24px;
  }
  .pf-subtitle {
    font-size: 15px;
  }
  .pf-spec-row {
    padding: 10px 0;
    font-size: 14px;
  }
  .pf-label {
    width: 84px;
    font-size: 12px;
  }
  .pf-val,
  .pf-val--troubleshoot {
    font-size: 14px;
  }
  .pf-val--troubleshoot br {
    display: none;
  }
  .pf-links {
    flex-wrap: wrap;
    gap: 8px;
  }
  .pf-link-btn {
    height: 42px;
    padding: 0 16px;
    font-size: 14px;
  }
}

/* Skills Section - Editorial List Design */
#skills {
  padding: 160px 0;
  background-color: #fff;
  position: relative;
  z-index: 100;
}

.skills-layout {
  display: flex;
  flex-direction: column;
  gap: 60px;
  max-width: 900px;
  margin: 0 auto;
}

.skill-category {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: start;
  border-top: 1px solid var(--toss-gray-200);
  padding-top: 40px;
}

.skill-category:first-child {
  border-top: none;
  padding-top: 0;
}

.category-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--toss-gray-900);
  position: sticky;
  top: 120px;
}

.category-right {
  display: flex;
  flex-direction: column;
}

.skill-row {
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  position: relative;
}

.skill-row:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

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

.skill-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.skill-brand .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.skill-brand .name {
  font-size: 20px;
  font-weight: 700;
  color: var(--toss-gray-900);
}

.skill-top .percent {
  font-size: 16px;
  font-weight: 700;
  color: var(--toss-blue);
  font-family: "Montserrat", sans-serif;
}

.skill-row .desc {
  font-size: 16px;
  color: var(--toss-gray-600);
  line-height: 1.6;
  margin-bottom: 20px;
  padding-left: 22px;
}

.progress-line {
  width: calc(100% - 22px);
  margin-left: 22px;
  height: 3px;
  background-color: var(--toss-gray-100);
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background-color: var(--toss-blue);
  border-radius: 2px;
  width: 0;
  transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Footer - Elegant & Minimalist */
.elegant-footer {
  padding: 140px 0 30px;
  background-color: var(--white);
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  position: relative;
}

.footer-top {
  text-align: center;
  margin-bottom: 80px;
}

.footer-heading {
  font-family: "Montserrat", "Pretendard", sans-serif;
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--toss-blue);
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

.footer-sub {
  font-size: 18px;
  color: var(--toss-gray-600);
  line-height: 1.6;
  font-weight: 500;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  margin-bottom: 120px;
}

.footer-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.link-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--toss-gray-500);
}

.link-text {
  font-size: 20px;
  font-weight: 600;
  color: var(--toss-gray-900);
  position: relative;
  padding-bottom: 4px;
}

.link-text::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--toss-gray-900);
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer-link:hover .link-text::after {
  width: 100%;
}

.link-divider {
  width: 1px;
  height: 40px;
  background-color: var(--toss-gray-200);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.footer-bottom .copyright {
  font-size: 14px;
  color: var(--toss-gray-500);
  font-weight: 500;
}

.back-to-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--toss-gray-800);
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 0;
  transition: color 0.3s;
}

.back-to-top:hover {
  color: var(--toss-blue);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  .hero-text {
    max-width: 100%;
    flex: 0 0 auto;
  }
  .hero-image-wrapper {
    width: 100%;
    height: 400px;
    flex: 0 0 auto;
  }
  .hero-btns {
    justify-content: center;
  }
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
  .portfolio-list {
    gap: 80px;
  }
  .career-section {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 40px;
  }
  .hero-text h1 span.max {
    font-size: 60px;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
}
