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

:root {
  /* 2025 Color Palette - Sophisticated */
  --white: #ffffff;
  --black: #0a0a0a;
  --red: #ff3366;
  --blue: #3366ff;
  --gray: #666666;
  --light-gray: #f5f5f5;
  --accent-purple: #9333ea;
  --accent-cyan: #06b6d4;
  
  /* Typography - AWWWARDS Style */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Outfit', 'Space Grotesk', var(--font-main);
  
  /* Transitions - Smoother */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --fast: 0.3s;
  --medium: 0.6s;
  --slow: 1s;
  
  /* Spacing */
  --gap-xs: 0.5rem;
  --gap-sm: 1rem;
  --gap-md: 2rem;
  --gap-lg: 4rem;
  --gap-xl: 8rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

/* 모든 요소에서 기본 커서 숨김 */
*, *::before, *::after {
  cursor: none !important;
}

/* ========== CUSTOM CURSOR (Magnetic Circle - AWWWARDS Style) ========== */
.cursor-dot {
  width: 12px;
  height: 12px;
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  transition: transform 0.15s var(--ease);
  transform: translate(-50%, -50%);
  background: var(--white);
  border-radius: 50%;
  mix-blend-mode: difference;
}

.cursor-outline {
  width: 48px;
  height: 48px;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: all 0.25s var(--ease);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid var(--white);
  mix-blend-mode: difference;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cursor-outline::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--white);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.cursor-dot.hover {
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
}

.cursor-outline.hover {
  transform: translate(-50%, -50%) scale(2.5);
  border-color: rgba(255, 51, 102, 0.6);
  background: radial-gradient(circle, rgba(255, 51, 102, 0.1) 0%, transparent 70%);
}

.cursor-outline.hover::before {
  opacity: 1;
}

/* 텍스트 위에서 */
.cursor-outline.text {
  transform: translate(-50%, -50%) scale(0.5);
  border-width: 3px;
}

/* 클릭 가능한 요소 위에서 */
.cursor-outline.clickable {
  transform: translate(-50%, -50%) scale(1.8);
  border-color: var(--red);
  background: radial-gradient(circle, rgba(255, 51, 102, 0.15) 0%, transparent 70%);
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 51, 102, 0.4);
  }
  50% {
    box-shadow: 0 0 0 20px rgba(255, 51, 102, 0);
  }
}

/* ========== SIDE NAVIGATION (AWWWARDS Smart Color Inversion) ========== */
.side-nav {
  position: fixed;
  right: 50px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 35px;
  mix-blend-mode: difference;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  transition: all 0.4s var(--ease);
  position: relative;
}

.nav-line {
  width: 35px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.4);
  transition: all 0.4s var(--ease);
  position: relative;
  border-radius: 2px;
}

.nav-line::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #ff3366, #ff0055, #ff3366);
  background-size: 200% 100%;
  transition: width 0.4s var(--ease), background-position 0.8s ease;
  border-radius: 2px;
  box-shadow: 
    0 0 15px rgba(255, 51, 102, 0.6),
    0 0 30px rgba(255, 51, 102, 0.3);
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.nav-item.active .nav-line::after {
  width: 100%;
}

.nav-item:hover .nav-line {
  width: 50px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 
    0 0 10px rgba(255, 51, 102, 0.3),
    0 0 20px rgba(147, 51, 234, 0.2);
}

.nav-text {
  font-size: 13px;
  font-weight: 700;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.4s var(--ease);
  white-space: nowrap;
  color: #ffffff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 
    0 0 1px rgba(0, 0, 0, 0.1),
    0 0 20px rgba(255, 255, 255, 0.1);
  font-family: var(--font-display);
}

.nav-item:hover .nav-text,
.nav-item.active .nav-text {
  opacity: 1;
  transform: translateX(0);
  text-shadow: 
    0 0 20px rgba(255, 51, 102, 0.4),
    0 0 40px rgba(255, 51, 102, 0.2);
}

.nav-item.active .nav-line {
  animation: navPulseGradient 2.5s ease-in-out infinite;
}

@keyframes navPulseGradient {
  0%, 100% {
    box-shadow: 
      0 0 0 0 rgba(255, 51, 102, 0.6),
      0 0 0 0 rgba(147, 51, 234, 0);
  }
  50% {
    box-shadow: 
      0 0 0 8px rgba(255, 51, 102, 0),
      0 0 0 12px rgba(147, 51, 234, 0);
  }
}

.nav-item:hover .nav-text,
.nav-item.active .nav-text {
  opacity: 1;
  transform: translateX(0);
  text-shadow: 
    0 0 20px rgba(255, 51, 102, 0.6),
    0 0 40px rgba(147, 51, 234, 0.4),
    0 0 60px rgba(6, 182, 212, 0.2);
}

/* ========== SCROLL SNAP SECTIONS ========== */
.snap-section {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 60px;
  position: relative;
  opacity: 1;
  transform: translateY(0);
}

.snap-section.animate {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease);
}

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

.dark-section {
  background: var(--black);
  color: var(--white);
}

.regular-section {
  width: 100%;
  min-height: 100vh;
  padding: 100px 60px;
  position: relative;
  background: var(--white);
  color: var(--black);
  opacity: 1;
  transform: translateY(0);
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.container-full {
  width: 100%;
  max-width: 100%;
}

/* ========== HERO SECTION (Award-Winning Style) ========== */
#hero {
  background: #000000;
  color: var(--white);
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

/* Animated Gradient Orbs */
#hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 51, 102, 0.15) 0%, transparent 25%),
    radial-gradient(circle at 80% 50%, rgba(147, 51, 234, 0.12) 0%, transparent 25%),
    radial-gradient(circle at 50% 80%, rgba(6, 182, 212, 0.08) 0%, transparent 25%);
  animation: floatOrbs 20s ease-in-out infinite;
  pointer-events: none;
}

@keyframes floatOrbs {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(5%, -5%) scale(1.1); }
  66% { transform: translate(-5%, 5%) scale(0.95); }
}

/* Noise Texture Overlay */
#hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="4" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noiseFilter)" opacity="0.03"/></svg>');
  opacity: 0.5;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.hero-content-center {
  text-align: center;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  padding: 0 40px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 15vw, 13rem);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.08em;
  margin-bottom: 50px;
  position: relative;
}

.title-line {
  display: block;
  overflow: hidden;
  position: relative;
  padding: 0.05em 0;
  animation: titleSlideIn 1s var(--ease) backwards;
}

@keyframes titleSlideIn {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.title-line:nth-child(1) { 
  animation-delay: 0.1s;
  background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.3));
}

.title-line:nth-child(2) { 
  animation-delay: 0.3s;
  background: linear-gradient(135deg, #ff3366 0%, #ff6699 30%, #9333ea 70%, #c026d3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: titleSlideIn 1s var(--ease) 0.3s backwards, gradientFlow 4s ease infinite;
  position: relative;
  display: inline-block;
}

.title-line:nth-child(2)::after {
  content: 'WEB';
  position: absolute;
  left: 0;
  top: 0;
  background: linear-gradient(135deg, rgba(255, 51, 102, 0.4), rgba(147, 51, 234, 0.4));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: blur(20px);
  z-index: -1;
}

@keyframes gradientFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.title-line:nth-child(3) { 
  animation-delay: 0.5s;
  color: transparent;
  -webkit-text-stroke: 2.5px rgba(255, 255, 255, 0.3);
  position: relative;
  letter-spacing: -0.06em;
}

.title-line:nth-child(3)::before {
  content: 'PUBLISHER';
  position: absolute;
  left: 0;
  top: 0;
  background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 50%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  clip-path: polygon(0 0, 0% 0, 0% 100%, 0 100%);
  animation: revealTextSmooth 2.5s cubic-bezier(0.16, 1, 0.3, 1) 0.8s forwards;
}

@keyframes revealTextSmooth {
  to { 
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); 
  }
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.6rem);
  font-weight: 300;
  opacity: 0.6;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 30px;
  position: relative;
  display: inline-block;
}

.hero-subtitle::before,
.hero-subtitle::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.hero-subtitle::before {
  right: calc(100% + 20px);
}

.hero-subtitle::after {
  left: calc(100% + 20px);
}

.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  letter-spacing: 0.3em;
  font-weight: 600;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-10px); }
}


/* ========== SECTION TITLES (AWWWARDS Style) ========== */
.section-title {
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  font-family: var(--font-display);
  margin-bottom: 60px;
  position: relative;
  display: inline-block;
  letter-spacing: -0.03em;
  line-height: 0.9;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--accent-purple));
  border-radius: 2px;
  animation: expandLine 1s ease-out forwards;
}

@keyframes expandLine {
  from { width: 0; }
  to { width: 60px; }
}

.section-title.center {
  display: block;
  text-align: center;
}

.section-title.center::after {
  left: 50%;
  transform: translateX(-50%);
}

.section-subtitle {
  font-size: 1.3rem;
  opacity: 0.5;
  margin-bottom: 80px;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.section-subtitle.center {
  text-align: center;
}

/* ========== ABOUT SECTION (Asymmetric & Interactive) ========== */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: start;
}

.big-text {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 40px;
  position: relative;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  color: var(--black);
}

.big-text::first-line {
  font-weight: 900;
  font-size: 1.1em;
  background: linear-gradient(135deg, var(--black) 0%, var(--red) 50%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-text p:last-child {
  font-size: 1.2rem;
  color: var(--gray);
  line-height: 1.8;
  opacity: 0.8;
}

.skills-cards {
  display: grid;
  gap: 25px;
  position: relative;
}

.skill-card {
  background: rgba(10, 10, 10, 0.5);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  color: var(--white);
  padding: 45px 35px;
  border-left: 3px solid transparent;
  border-radius: 16px;
  transition: all 0.5s var(--ease-bounce);
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.skill-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg, 
    rgba(255, 51, 102, 0.08), 
    rgba(147, 51, 234, 0.08),
    rgba(6, 182, 212, 0.05)
  );
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  z-index: 0;
  border-radius: 16px;
}

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

.skill-card:hover {
  border-left-color: var(--red);
  transform: translateX(15px) translateY(-5px) scale(1.02);
  box-shadow: 
    -20px 20px 60px rgba(255, 51, 102, 0.3),
    0 0 0 1px rgba(255, 51, 102, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.skill-card:nth-child(2) {
  margin-left: 40px;
}

.skill-card:nth-child(3) {
  margin-left: 20px;
}

.card-number {
  font-size: 5rem;
  font-weight: 900;
  background: linear-gradient(135deg, rgba(255, 51, 102, 0.4), rgba(147, 51, 234, 0.4));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 0.9;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
}

.skill-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.skill-card p {
  opacity: 0.7;
  position: relative;
  z-index: 1;
}

/* ========== WHY ME SECTION ========== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.why-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  padding: 50px 35px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.5s var(--ease-bounce);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.why-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 51, 102, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: all 0.8s var(--ease);
}

.why-card:hover::before {
  opacity: 1;
  transform: translate(-25%, -25%);
}

.why-card:hover {
  transform: translateY(-15px) scale(1.02);
  border-color: rgba(255, 51, 102, 0.5);
  box-shadow: 
    0 30px 80px rgba(255, 51, 102, 0.3),
    0 0 60px rgba(147, 51, 234, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.2);
}

.why-icon {
  font-size: 4rem;
  margin-bottom: 30px;
  display: inline-block;
  filter: drop-shadow(0 0 20px rgba(255, 51, 102, 0.3));
  transition: all 0.4s var(--ease-bounce);
}

.why-card:hover .why-icon {
  transform: scale(1.2) rotate(5deg);
  filter: drop-shadow(0 0 30px rgba(255, 51, 102, 0.6));
}

.why-card h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: var(--font-display);
  background: linear-gradient(135deg, var(--white) 0%, rgba(255, 255, 255, 0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.why-card p {
  font-size: 1rem;
  line-height: 1.8;
  opacity: 0.8;
  color: rgba(255, 255, 255, 0.85);
}

/* ========== SKILLS SECTION ========== */
.skills-list {
  max-width: 900px;
  margin: 0 auto;
}

.skill-row {
  margin-bottom: 50px;
  opacity: 0;
  transform: translateX(-50px);
  transition: all var(--medium) var(--ease);
}

.skill-row.visible {
  opacity: 1;
  transform: translateX(0);
}

.skill-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.skill-name {
  font-weight: 600;
}

.skill-value {
  color: var(--red);
  font-weight: 700;
}

.skill-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.skill-progress {
  height: 100%;
  background: linear-gradient(90deg, 
    var(--red) 0%, 
    var(--accent-purple) 50%, 
    var(--accent-cyan) 100%);
  border-radius: 10px;
  width: 0;
  transition: width 1.8s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  box-shadow: 
    0 0 20px rgba(255, 51, 102, 0.5),
    0 0 40px rgba(147, 51, 234, 0.3);
}

.skill-progress::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4));
  animation: shimmer 2.5s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(400%); }
}

/* ========== PROJECTS SECTION ========== */
#projects {
  background: var(--white);
  color: var(--black);
}

.project-tabs {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 50px 0 80px 0;
}

.tab-button {
  padding: 18px 60px;
  background: transparent;
  border: 2px solid rgba(10, 10, 10, 0.2);
  color: var(--black);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--fast) var(--ease);
  font-family: var(--font-display);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.05em;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.tab-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--black) 0%, #2a2a2a 100%);
  transition: left var(--medium) var(--ease);
  z-index: 0;
}

.tab-button:hover::before {
  left: 0;
}

.tab-button:hover {
  color: var(--white);
  border-color: var(--black);
  transform: translateY(-3px);
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.2),
    0 0 40px rgba(255, 51, 102, 0.1);
}

/* PIZZA 탭 버튼 - 흰배경 + 검은글자로 호버 */
.tab-button[data-tab="pizza"]::before {
  background: linear-gradient(135deg, var(--white) 0%, #f5f5f5 100%);
}

.tab-button[data-tab="pizza"]:hover {
  color: var(--black);
  border-color: var(--black);
}

.tab-button span {
  position: relative;
  z-index: 1;
}

.tab-button.active {
  background: linear-gradient(135deg, var(--red) 0%, #ff4477 100%);
  border-color: var(--red);
  color: var(--white);
  box-shadow: 
    0 10px 40px rgba(255, 51, 102, 0.4),
    0 0 60px rgba(255, 51, 102, 0.2);
  transform: translateY(-3px);
}

.tab-button.active::before {
  display: none;
}

.project-content {
  display: none;
}

.project-content.active {
  display: block;
}

/* ========== 3D CAROUSEL CONTAINER ========== */
.mobile-project-grid {
  display: none;
}

.carousel-3d-container {
  perspective: 2000px;
  width: 100%;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
}

.carousel-3d {
  width: 400px;
  height: 500px;
  position: relative;
  transform-style: preserve-3d;
  animation: rotate3d 30s linear infinite;
}

.carousel-3d:hover {
  animation-play-state: paused !important;
}

@keyframes rotate3d {
  from {
    transform: rotateY(0deg);
  }
  to {
    transform: rotateY(360deg);
  }
}

@keyframes rotate3d-reverse {
  from {
    transform: rotateY(360deg);
  }
  to {
    transform: rotateY(0deg);
  }
}

/* Reverse rotation for second carousel */
#carousel-pizza {
  animation: rotate3d-reverse 30s linear infinite;
}

#carousel-pizza:hover {
  animation-play-state: paused !important;
}

.carousel-item {
  position: absolute;
  width: 380px;
  height: 480px;
  left: 50%;
  top: 50%;
  margin-left: -190px;
  margin-top: -240px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  transition: all var(--medium) var(--ease);
  backface-visibility: visible;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.carousel-item:hover {
  border-color: transparent;
  box-shadow: 
    0 40px 100px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 51, 102, 0.5);
  transform: translateY(-10px);
}

/* Position items in 3D space - circular arrangement */
.carousel-item:nth-child(1) { transform: rotateY(0deg) translateZ(600px); }
.carousel-item:nth-child(2) { transform: rotateY(60deg) translateZ(600px); }
.carousel-item:nth-child(3) { transform: rotateY(120deg) translateZ(600px); }
.carousel-item:nth-child(4) { transform: rotateY(180deg) translateZ(600px); }
.carousel-item:nth-child(5) { transform: rotateY(240deg) translateZ(600px); }
.carousel-item:nth-child(6) { transform: rotateY(300deg) translateZ(600px); }

.carousel-image {
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--light-gray);
  transition: transform var(--medium) var(--ease);
}

.carousel-item:hover .carousel-image {
  transform: scale(1.05);
}

/* Gradient backgrounds for PIZZA - Black/Red only */
.gradient-1 { background: linear-gradient(135deg, #1a1a1a, #000000); }
.gradient-2 { background: linear-gradient(135deg, var(--red), #991133); }
.gradient-3 { background: linear-gradient(135deg, #000000, var(--red)); }
.gradient-4 { background: linear-gradient(135deg, #2a2a2a, #0a0a0a); }
.gradient-5 { background: linear-gradient(135deg, var(--red), #1a1a1a); }
.gradient-6 { background: linear-gradient(135deg, #0a0a0a, #2a2a2a); }


/* ========== MOBILE PROJECT CARDS (기본 숨김) ========== */
.mobile-project-grid {
  display: none;
}

.mobile-project-card {
  background: var(--white);
  border: 3px solid var(--black);
  padding: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  margin-bottom: 30px;
}

.mobile-project-card:last-child {
  margin-bottom: 0;
}

.mobile-project-image {
  width: 100%;
  height: 200px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--light-gray);
}

.mobile-project-content {
  padding: 25px;
  background: var(--white);
}

.mobile-project-number {
  font-size: 3rem;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.05);
  line-height: 1;
  margin-bottom: 10px;
  font-family: var(--font-display);
}

.mobile-project-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--black);
  font-family: var(--font-display);
}

.mobile-project-card p {
  color: var(--gray);
  margin-bottom: 20px;
  line-height: 1.6;
  font-size: 1rem;
}

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

.mobile-project-tags span {
  padding: 8px 16px;
  background: var(--black);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 3px;
}

.mobile-project-card:nth-child(odd) .mobile-project-tags span {
  background: var(--red);
}

.carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, transparent 60%);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity var(--fast) var(--ease);
}

.carousel-item:hover .carousel-overlay {
  opacity: 1;
}

.carousel-number {
  font-size: 6rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: var(--font-display);
}

.carousel-overlay h3 {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.carousel-overlay p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
  font-size: 1rem;
}

.carousel-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.carousel-tags span {
  padding: 8px 20px;
  background: var(--white);
  color: var(--black);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--fast) var(--ease);
}

.carousel-item:hover .carousel-tags span {
  background: var(--red);
  color: var(--white);
}

/* ========== BEFORE/AFTER SECTION (2025 트렌드) ========== */
#before-after {
  padding: 100px 60px;
  background: var(--white);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
}

.before-after-section {
  padding: 0;
  max-width: 100%;
  width: 100%;
}

.ba-item {
  margin-bottom: 120px;
}

.ba-item:last-child {
  margin-bottom: 0;
}

.ba-case-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 40px;
  opacity: 0.6;
  letter-spacing: 0.1em;
  font-family: var(--font-display);
}

.before-after-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 40px 0;
}

.ba-card {
  position: relative;
  background: var(--white);
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.6s var(--ease-bounce);
  cursor: pointer;
  min-height: 600px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.ba-card:hover {
  transform: translateY(-20px) rotate(-1deg);
  box-shadow: 
    30px 30px 0 var(--red),
    0 40px 100px rgba(0, 0, 0, 0.3);
}

.ba-card.before {
  background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
  box-shadow: 
    -8px -8px 16px rgba(255, 255, 255, 0.8),
    8px 8px 16px rgba(0, 0, 0, 0.15),
    inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.ba-card.before:hover {
  box-shadow: 
    -12px -12px 24px rgba(255, 255, 255, 0.9),
    12px 12px 24px rgba(0, 0, 0, 0.2),
    20px 20px 0 rgba(200, 200, 200, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.ba-card.after {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.1);
}

.ba-card.after:hover {
  box-shadow: 
    30px 30px 0 var(--accent-purple),
    0 40px 100px rgba(147, 51, 234, 0.4);
}

.ba-label {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  padding: 15px 30px;
  background: var(--red);
  color: var(--white);
  z-index: 10;
  transform: rotate(3deg);
  box-shadow: 5px 5px 0 rgba(0,0,0,0.2);
}

.ba-content {
  padding: 80px 50px 50px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ba-screenshot {
  width: 100%;
  height: 300px;
  background: var(--light-gray);
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(0,0,0,0.1);
  border-radius: 12px;
  transition: all var(--medium) var(--ease);
}

.ba-card.before .ba-screenshot {
  filter: grayscale(100%);
  background: #f0f0f0;
  border: none;
  box-shadow: 
    inset 4px 4px 8px rgba(0, 0, 0, 0.1),
    inset -4px -4px 8px rgba(255, 255, 255, 0.8);
}

.ba-card.before:hover .ba-screenshot {
  filter: grayscale(0%);
  box-shadow: 
    inset 6px 6px 12px rgba(0, 0, 0, 0.12),
    inset -6px -6px 12px rgba(255, 255, 255, 0.9);
}

.ba-screenshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--medium) var(--ease);
}

.ba-card:hover .ba-screenshot img {
  transform: scale(1.05);
}

.ba-card.after .ba-screenshot {
  border-color: var(--red);
  box-shadow: 0 0 20px rgba(255, 51, 102, 0.3);
}

.ba-features {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.ba-features li {
  padding: 15px 0;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all var(--fast) var(--ease);
}

.ba-card.after .ba-features li {
  border-bottom-color: rgba(255,255,255,0.1);
}

.ba-card.before .ba-features li {
  border-bottom: none;
  padding: 12px 18px;
  margin-bottom: 12px;
  border-radius: 8px;
  background: transparent;
  box-shadow: 
    3px 3px 6px rgba(0, 0, 0, 0.08),
    -3px -3px 6px rgba(255, 255, 255, 0.8);
}

.ba-card.before .ba-features li:hover {
  box-shadow: 
    inset 2px 2px 4px rgba(0, 0, 0, 0.08),
    inset -2px -2px 4px rgba(255, 255, 255, 0.8);
}

.ba-features li::before {
  content: '×';
  color: var(--red);
  font-size: 1.5rem;
  font-weight: 900;
}

.ba-card.after .ba-features li::before {
  content: '✓';
  color: var(--red);
}

.ba-card:hover .ba-features li {
  padding-left: 10px;
}

.ba-title {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 20px;
  font-family: var(--font-display);
  line-height: 1.1;
}

.ba-description {
  font-size: 1.1rem;
  line-height: 1.8;
  opacity: 0.8;
  margin-bottom: 30px;
}

.ba-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.metric {
  text-align: center;
  padding: 20px;
  background: rgba(0,0,0,0.05);
  border-left: 3px solid var(--red);
  transition: all var(--fast) var(--ease);
  border-radius: 8px;
}

.ba-card.after .metric {
  background: rgba(255,255,255,0.05);
}

.ba-card.before .metric {
  background: transparent;
  border: none;
  box-shadow: 
    inset 3px 3px 6px rgba(0, 0, 0, 0.08),
    inset -3px -3px 6px rgba(255, 255, 255, 0.8);
}

.metric:hover {
  transform: translateY(-5px);
}

.ba-card.before .metric:hover {
  box-shadow: 
    inset 4px 4px 8px rgba(0, 0, 0, 0.1),
    inset -4px -4px 8px rgba(255, 255, 255, 0.9),
    0 5px 15px rgba(0, 0, 0, 0.1);
}

.metric-value {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--red);
  display: block;
  margin-bottom: 5px;
}

.metric-label {
  font-size: 0.9rem;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ========== TIMELINE ========== */
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, var(--red), var(--blue));
}

.timeline-block {
  position: relative;
  padding-left: 100px;
  margin-bottom: 80px;
  opacity: 0;
  transform: translateX(-30px);
  transition: all var(--medium) var(--ease);
}

.timeline-block.visible {
  opacity: 1;
  transform: translateX(0);
}

.timeline-year {
  position: absolute;
  left: -80px;
  top: 0;
  font-size: 5rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.05);
  font-family: var(--font-display);
}

.timeline-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-left: 4px solid var(--red);
  transition: all var(--fast) var(--ease);
}

.timeline-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-left-color: var(--blue);
  transform: translateX(10px);
}

.timeline-date {
  color: var(--red);
  font-size: 0.9rem;
  font-weight: 700;
  display: block;
  margin-bottom: 15px;
}

.timeline-card h3 {
  font-size: 1.8rem;
  margin-bottom: 5px;
}

.timeline-card h4 {
  font-size: 1.2rem;
  opacity: 0.7;
  margin-bottom: 15px;
  font-weight: 500;
}

.timeline-card p {
  opacity: 0.8;
  line-height: 1.8;
}

/* ========== CONTACT SECTION (2025 Trendy Redesign) ========== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 60px auto 0;
}

.contact-box {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  color: var(--white);
  padding: 80px 50px;
  text-align: center;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 28px;
  transition: all 0.6s var(--ease-bounce);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.4),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

/* Animated gradient border effect */
.contact-box::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(
    135deg, 
    var(--red), 
    var(--accent-purple), 
    var(--accent-cyan),
    var(--red)
  );
  background-size: 300% 300%;
  border-radius: 28px;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  z-index: 0;
  animation: gradientRotate 4s ease infinite;
}

@keyframes gradientRotate {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.contact-box::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  border-radius: 26px;
  z-index: 0;
}

.contact-box:hover::before {
  opacity: 1;
}

.contact-box:hover {
  transform: translateY(-20px) scale(1.03);
  box-shadow: 
    0 40px 100px rgba(255, 51, 102, 0.5),
    0 0 80px rgba(147, 51, 234, 0.3),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  border-color: transparent;
}

.contact-icon {
  font-size: 4.5rem;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
  display: inline-block;
  filter: drop-shadow(0 0 30px rgba(255, 51, 102, 0.4));
  transition: all 0.5s var(--ease-bounce);
}

.contact-box:hover .contact-icon {
  transform: scale(1.15) rotate(-5deg);
  filter: 
    drop-shadow(0 0 50px rgba(255, 51, 102, 0.8))
    drop-shadow(0 0 80px rgba(147, 51, 234, 0.6));
}

.contact-box h3 {
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--white) 0%, rgba(255, 255, 255, 0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.4s var(--ease);
}

.contact-box:hover h3 {
  background: linear-gradient(135deg, var(--red) 0%, var(--accent-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transform: translateY(-3px);
}

.contact-box p {
  opacity: 0.6;
  font-size: 1rem;
  position: relative;
  z-index: 1;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.4s var(--ease);
}

.contact-box:hover p {
  opacity: 1;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 0 20px rgba(255, 51, 102, 0.3);
}

/* 개별 박스 특별 효과 */
.contact-box:nth-child(1):hover {
  box-shadow: 
    0 40px 100px rgba(255, 51, 102, 0.6),
    0 0 80px rgba(255, 51, 102, 0.4),
    inset 0 0 0 1px rgba(255, 51, 102, 0.2);
}

.contact-box:nth-child(2):hover {
  box-shadow: 
    0 40px 100px rgba(147, 51, 234, 0.6),
    0 0 80px rgba(147, 51, 234, 0.4),
    inset 0 0 0 1px rgba(147, 51, 234, 0.2);
}

/* Floating particles effect */
.contact-box:hover::after {
  animation: floatParticles 3s ease-in-out infinite;
}

@keyframes floatParticles {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}


/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .side-nav {
    right: 20px;
    gap: 20px;
  }
  
  .nav-line {
    width: 30px;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  
  .before-after-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .ba-item {
    margin-bottom: 80px;
  }
  
  #before-after {
    padding: 80px 40px;
  }
}

@media (max-width: 768px) {
  body {
    cursor: auto;
  }
  
  .cursor-dot,
  .cursor-outline {
    display: none;
  }
  
  .side-nav {
    display: none;
  }
  
  .snap-section {
    padding: 80px 24px;
  }
  
  #before-after {
    padding: 80px 24px;
  }
  
  .before-after-section {
    padding: 0;
  }
  
  .ba-item {
    margin-bottom: 60px;
  }
  
  .ba-case-title {
    font-size: 1.1rem;
    letter-spacing: 0.2em;
  }
  
  /* 모바일 HERO - 더 임팩트있게 */
  .hero-title {
    font-size: clamp(2.5rem, 15vw, 5rem);
    line-height: 0.9;
    letter-spacing: -0.04em;
    margin-bottom: 30px;
  }
  
  .hero-subtitle {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
  }
  
  .hero-subtitle::before,
  .hero-subtitle::after {
    width: 40px;
  }
  
  /* 모바일 섹션 타이틀 */
  .section-title {
    font-size: clamp(2rem, 10vw, 3.5rem);
    margin-bottom: 30px;
  }
  
  .section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 50px;
  }
  
  /* 모바일 ABOUT */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .big-text {
    font-size: clamp(1.5rem, 8vw, 2.5rem);
    margin-bottom: 25px;
  }
  
  .skill-card:nth-child(2),
  .skill-card:nth-child(3) {
    margin-left: 0;
  }
  
  .skill-card {
    padding: 35px 25px;
    border-radius: 12px;
  }
  
  .card-number {
    font-size: 3.5rem;
  }
  
  /* 모바일 WHY ME */
  .why-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
  }
  
  .why-card {
    padding: 40px 30px;
  }
  
  .why-icon {
    font-size: 3rem;
    margin-bottom: 20px;
  }
  
  .why-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }
  
  .why-card p {
    font-size: 0.95rem;
    line-height: 1.7;
  }
  
  /* 모바일 프로젝트 탭 */
  .project-tabs {
    flex-direction: row;
    gap: 12px;
    margin: 30px 0 50px 0;
    padding: 0 10px;
  }
  
  .tab-button {
    padding: 14px 30px;
    font-size: 0.95rem;
    border-radius: 30px;
    flex: 1;
  }
  
  /* 모바일 프로젝트 섹션 - 카드 스타일 */
  .carousel-3d-container {
    display: none !important;
  }
  
  .mobile-project-grid {
    display: block !important;
    padding: 0;
  }
  
  .mobile-project-card {
    display: block !important;
    background: var(--white);
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    margin-bottom: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s var(--ease);
  }
  
  .mobile-project-card:active {
    transform: translateY(-4px) scale(0.98);
    box-shadow: 
      0 12px 40px rgba(0, 0, 0, 0.15),
      8px 8px 0 var(--red);
  }
  
  .mobile-project-image {
    height: 180px;
    background-color: #fafafa;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }
  
  .mobile-project-content {
    padding: 24px;
  }
  
  .mobile-project-number {
    font-size: 2.5rem;
    background: linear-gradient(135deg, rgba(255, 51, 102, 0.15), rgba(147, 51, 234, 0.15));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
  }
  
  .mobile-project-card h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
  }
  
  .mobile-project-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
    opacity: 0.7;
  }
  
  .mobile-project-tags {
    gap: 6px;
  }
  
  .mobile-project-tags span {
    padding: 6px 14px;
    font-size: 0.7rem;
    border-radius: 20px;
    background: rgba(10, 10, 10, 0.08);
    color: var(--black);
    font-weight: 600;
    letter-spacing: 0.02em;
  }
  
  .mobile-project-card:nth-child(odd) .mobile-project-tags span {
    background: linear-gradient(135deg, var(--red), #ff4477);
    color: var(--white);
  }
  
  .mobile-project-card:nth-child(even) .mobile-project-tags span {
    background: linear-gradient(135deg, var(--accent-purple), #a855f7);
    color: var(--white);
  }
  
  /* 모바일 SKILLS */
  .skills-list {
    padding: 0 10px;
  }
  
  .skill-row {
    margin-bottom: 35px;
  }
  
  .skill-info {
    font-size: 1rem;
    margin-bottom: 12px;
  }
  
  .skill-track {
    height: 5px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
  }
  
  /* 모바일 CONTACT (2개 박스 최적화) */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 500px;
    margin: 40px auto 0;
  }
  
  .contact-box {
    padding: 60px 40px;
    border-radius: 24px;
  }
  
  .contact-icon {
    font-size: 3.5rem;
    margin-bottom: 24px;
  }
  
  .contact-box h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
  }
  
  .contact-box p {
    font-size: 0.95rem;
  }
  
  /* 모바일 TIMELINE */
  .timeline-year {
    display: none;
  }
  
  .timeline-block {
    padding-left: 40px;
    margin-bottom: 50px;
  }
  
  .timeline-card {
    padding: 24px;
    border-radius: 12px;
  }
  
  .timeline-card h3 {
    font-size: 1.4rem;
  }
  
  .timeline-card h4 {
    font-size: 1rem;
  }
  
  /* 모바일 BEFORE/AFTER */
  .ba-metrics {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .ba-card {
    min-height: auto;
    border-radius: 16px;
    padding: 0;
  }
  
  .ba-content {
    padding: 50px 30px 35px;
  }
  
  .ba-title {
    font-size: 1.8rem;
    line-height: 1.1;
  }
  
  .ba-description {
    font-size: 0.95rem;
    line-height: 1.7;
  }
  
  .ba-screenshot {
    height: 200px;
    border-radius: 8px;
  }
  
  .ba-label {
    font-size: 0.85rem;
    padding: 10px 20px;
    top: 20px;
    right: 20px;
  }
  
  .metric {
    padding: 16px;
    border-radius: 8px;
  }
  
  .metric-value {
    font-size: 1.5rem;
  }
  
  .metric-label {
    font-size: 0.75rem;
  }
}