body { font-family: 'Pretendard', 'Segoe UI', Arial, sans-serif; margin:0; background: #181a20; color: #fff; }
body::before {
	content: '';
	position: fixed;
	inset: 0;
	background:
		radial-gradient(circle at top left, rgba(127,156,245,0.16), transparent 34%),
		radial-gradient(circle at top right, rgba(89,212,180,0.12), transparent 28%),
		linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
	pointer-events: none;
	z-index: -1;
}
header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background: rgba(24,26,32,0.97);
	z-index: 100;
	height: 64px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.07);
	border-bottom: 1px solid #23263a;
}
.header-inner {
	width: 100%;
	max-width: 900px;
	height: 100%;
	margin: 0 auto;
	padding: 0 24px;
	box-sizing: border-box;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.logo { font-size:1.5rem; font-weight:700; letter-spacing:1px; color:#7f9cf5; }
nav {
	display: flex;
	align-items: center;
	height: 100%;
}
nav a {
	color: #fff;
	margin-left: 32px;
	text-decoration: none;
	font-weight: 500;
	font-size: 1.1rem;
	transition: color 0.2s;
	padding: 18px 0 16px 0;
	display: inline-block;
}
nav a:first-child { margin-left: 0; }
nav a:hover { color: #7f9cf5; }
.section {
	padding: 100px 24px 60px 24px;
	max-width: 900px;
	margin: 0 auto;
	box-sizing: border-box;
}
.intro-section { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap: 32px; min-height:72vh; }
.intro-left { flex:1 1 320px; }
.intro-right { flex:1 1 320px; display:flex; align-items:center; justify-content:center; }
.intro-eyebrow {
	display: inline-flex;
	align-items: center;
	padding: 8px 14px;
	margin-bottom: 18px;
	border-radius: 999px;
	background: rgba(127,156,245,0.14);
	border: 1px solid rgba(127,156,245,0.28);
	color: #9db2ff;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.04em;
}
.intro-rocket {
	width: 220px;
	height: 220px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 36px;
	background:
		linear-gradient(145deg, rgba(127,156,245,0.18), rgba(76,99,210,0.3)),
		radial-gradient(circle at 30% 20%, rgba(255,255,255,0.22), transparent 30%),
		#23263a;
	border: 1px solid rgba(127,156,245,0.3);
	box-shadow: 0 24px 60px rgba(7, 10, 20, 0.45);
	font-size: 6rem;
	animation: float 3s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-24px);} }
.intro-left h1 { font-size:3.2rem; line-height: 1.18; font-weight:800; margin-bottom:18px; }
.intro-left p { font-size:1.16rem; line-height: 1.8; color:#b0b0b0; max-width: 560px; }
.projects-section h2, .stack-section h2, .contact-section h2 { font-size:2rem; font-weight:700; margin-bottom:32px; color:#7f9cf5; }
.section-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 28px;
}
.section-kicker {
	font-size: 0.88rem;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	color: #8ba7ff;
	margin-bottom: 10px;
}
.project-controls {
	display: flex;
	gap: 10px;
	flex-shrink: 0;
}
.project-control-btn {
	width: 46px;
	height: 46px;
	border-radius: 14px;
	border: 1px solid rgba(127,156,245,0.28);
	background: rgba(35,38,58,0.92);
	color: #dce5ff;
	font-size: 1.15rem;
	cursor: pointer;
	transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.project-control-btn:hover {
	transform: translateY(-2px);
	border-color: #7f9cf5;
	background: rgba(52,59,96,0.95);
}
.project-carousel {
	position: relative;
	overflow: hidden;
	padding: 8px 0 20px;
}
.project-list {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(300px, 420px);
	gap: 22px;
	overflow-x: auto;
	padding: 12px 4px 18px;
	scroll-padding-inline: 4px;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}
.project-list::-webkit-scrollbar { display: none; }
.project-card {
	position: relative;
	background:
		linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.01)),
		linear-gradient(145deg, #2b2f4b, #202335);
	border: 1px solid rgba(127,156,245,0.22);
	border-radius: 28px;
	box-shadow: 0 18px 36px rgba(0,0,0,0.22);
	display:flex;
	flex-direction: column;
	align-items:flex-start;
	padding: 28px;
	min-height: 360px;
	scroll-snap-align: start;
	scroll-snap-stop: always;
	transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s, opacity 0.25s;
	transform: scale(0.94) rotate(-1.2deg);
	opacity: 0.64;
}
.project-card::before {
	content: '';
	position: absolute;
	inset: 14px;
	border-radius: 22px;
	border: 1px solid rgba(255,255,255,0.05);
	pointer-events: none;
}
.project-card.is-active,
.project-card:hover {
	border-color: rgba(127,156,245,0.5);
	box-shadow: 0 24px 56px rgba(31, 43, 95, 0.34);
	transform: scale(1) rotate(0deg) translateY(-4px);
	opacity: 1;
}
.project-logo {
	width: 92px;
	height: 92px;
	border-radius: 24px;
	margin-bottom: 22px;
	object-fit: cover;
	background:#eee;
	box-shadow: 0 10px 24px rgba(0,0,0,0.26);
}
.project-info { flex:1; display: flex; flex-direction: column; }
.project-title { font-size:1.3rem; font-weight:700; margin-bottom:8px; }
.project-desc { color:#b0b0b0; font-size:1rem; line-height: 1.7; margin-bottom:18px; }
.project-btns {
	margin-top: auto;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.project-btn {
	display:inline-flex;
	align-items: center;
	justify-content: center;
	padding:10px 16px;
	border-radius: 12px;
	background:#7f9cf5;
	color:#fff;
	font-weight:600;
	text-decoration:none;
	transition:background 0.2s, transform 0.2s ease;
}
.project-btn:hover { opacity:0.95; transform: translateY(-1px); }
.policy-btn { background:#23263a; border:1px solid #7f9cf5; color:#7f9cf5; }
.policy-btn:hover { background:#7f9cf5; color:#fff; }
.stack-list { display:grid; grid-template-columns:1fr 1fr; gap:32px; }
.stack-group { background:#23263a; border-radius:14px; padding:24px; }
.stack-title { font-size:1.1rem; font-weight:600; margin-bottom:12px; color:#7f9cf5; }
.stack-items { display:flex; flex-wrap:wrap; gap:10px; }
.stack-item { background:#353a50; border-radius:8px; padding:7px 14px; color:#fff; font-size:0.98rem; margin-bottom:6px; }
.contact-section p { font-size:1.1rem; margin-bottom:18px; }
.mail-btn { display:inline-block; padding:10px 20px; border-radius:8px; background:#7f9cf5; color:#fff; font-weight:600; text-decoration:none; transition:background 0.2s; }
.mail-btn:hover { background:#4c63d2; }
footer {
	background:#181a20;
	color:#b0b0b0;
	font-size:1rem;
	margin-top:60px;
	padding: 0 24px 36px;
}
.footer-inner {
	max-width: 900px;
	margin: 0 auto;
	padding: 28px 0 0;
	border-top: 1px solid rgba(127,156,245,0.16);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
footer a { color:#7f9cf5; margin:0 8px; text-decoration:none; font-weight:500; }
footer a:hover { text-decoration:underline; }
@media (max-width: 1100px) {
	.section { max-width: 98vw; }
}
@media (max-width: 900px) {
	.section { padding:80px 8px 40px 8px; }
	.header-inner { padding: 0 12px; }
	.project-list { grid-auto-columns: minmax(280px, 84%); }
}
@media (max-width: 600px) {
	header { height:54px; }
	.header-inner { padding:0 4vw; }
	.logo { font-size:1.1rem; }
	nav a { margin-left:12px; font-size:0.98rem; padding: 14px 0 12px 0; }
	.section { padding:60px 4vw 24px 4vw; }
	.intro-section { flex-direction:column; }
	.intro-left, .intro-right { flex:1 1 100%; }
	.intro-left h1 { font-size: 2.2rem; }
	.intro-left p { font-size: 1rem; }
	.intro-rocket { width:140px; height:140px; font-size: 3.8rem; border-radius: 28px; }
	.section-heading { align-items: stretch; flex-direction: column; }
	.project-controls { justify-content: flex-end; }
	.project-list { grid-auto-columns: 88%; gap: 16px; }
	.project-card { min-height: 320px; padding:20px 18px; }
	.project-logo { width:72px; height:72px; margin-bottom:18px; }
	.stack-list { grid-template-columns:1fr; gap:18px; }
	.footer-inner { flex-direction: column; align-items: flex-start; }
}
