/* =========================================================
   MAIN (Home only)
   - 공통(base/body/footer/layout)은 common.css로 이동
   - 이 파일은 홈 전용: topnav + hero + single-column sections + cta
========================================================= */

/* ===== Top Navigation (Home) ===== */
.topnav {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 10;
}

.topnav-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 18px 24px;
	display: flex;
	align-items: center;
	gap: 22px;
}

.topnav-brand img {
	height: 40px;
	display: block;
}

.topnav-menu {
	display: flex;
	align-items: center;
	gap: 22px;
	margin-left: 12px;
}

.topnav-link {
	color: rgba(255, 255, 255, 0.72);
	text-decoration: none;
	font-size: 14px;
	letter-spacing: -0.2px;
	padding: 6px 2px;
}

.topnav-link:hover {
	color: rgba(255, 255, 255, 0.92);
}

.topnav-actions {
	margin-left: auto;
	display: flex;
	align-items: center;
}

.topnav-login {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 36px;
	padding: 0 14px;
	border-radius: 10px;
	background: #ffffff;
	color: #0b0f14;
	text-decoration: none;
	font-weight: 700;
	font-size: 13px;
}

/* 모바일: 메뉴 숨기고 로그인만 */
@media (max-width: 860px) {
	.topnav-menu {
		display: none;
	}

	.topnav-inner {
		padding: 14px 18px;
	}
}

/* ===== Home / Hero ===== */
.home-hero {
	background-color: #070b10;
	background-image: url("../images/hero.png?v=1");
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;

	min-height: 520px;
	height: 100vh;
	padding: 110px 0 90px;
	position: relative;
	overflow: hidden;
}

/* 전체 오버레이(가독성 최소) */
.home-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(
			1000px 700px at 30% 45%,
			rgba(0, 0, 0, 0.00) 0%,
			rgba(0, 0, 0, 0.30) 60%,
			rgba(0, 0, 0, 0.55) 100%
	);
	pointer-events: none;
}

.home-hero-inner {
	position: relative;
	z-index: 1;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
	display: flex;
	align-items: center;
	height: 100%;
}

.home-hero-copy {
	margin-top: -90px;
	max-width: 720px;
	padding: 0;
}

.home-hero-eyebrow {
	font-size: 16px;
	letter-spacing: 0.14em;
	font-weight: 900;
	color: rgba(233, 238, 246, 0.62);
	text-transform: uppercase;
}

.home-hero-title {
	margin: 12px 0 14px;
	font-size: 44px;
	font-weight: 900;
	line-height: 1.15;
	letter-spacing: -0.8px;
	color: rgba(255, 255, 255, 0.96);
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.60);
}

.home-hero-desc {
	margin: 0 0 34px;
	font-size: 15px;
	line-height: 1.85;
	color: rgba(255, 255, 255, 0.74);
}

.home-hero-actions {
	display: flex;
	gap: 12px;
	align-items: center;
	flex-wrap: wrap;
}

.btn-hero-primary,
.btn-hero-ghost {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 46px;
	padding: 0 18px;
	border-radius: 10px;
	text-decoration: none;
	font-weight: 800;
	letter-spacing: -0.2px;
}

.btn-hero-primary {
	background: #ffffff;
	color: #0b0f14;
}

.btn-hero-ghost {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.88);
}

.btn-hero-primary:hover {
	opacity: 0.92;
}

.btn-hero-ghost:hover {
	background: rgba(255, 255, 255, 0.06);
}

/* ===== Single-column Sections ===== */
.section {
	margin: 0 auto;
	padding: 90px 20px;
	background: #26304a;
	text-align: center;
}

.section--single .section-inner {
	max-width: 1000px;
	margin: 0 auto;
}

.section.section--dark {
	background: #111827;
}

.section-title {
	margin: 0 0 30px;
	font-size: 32px;
	letter-spacing: -0.2px;
	color: rgba(255, 255, 255, 0.94);
	font-weight: 900;
}

.section-desc {
	margin: 0;
	color: rgba(233, 238, 246, 0.75);
	line-height: 1.9;
	font-size: 16px;
}

.qmt-16 {
	margin-top: 16px;
}

/* steps (no cards) */
.home-steps {
	margin: 18px 0 0;
	padding-left: 18px;
	display: grid;
	gap: 14px;
}

.home-step {
	line-height: 1.85;
	margin-bottom: 12px;
}

.home-step-k {
	font-size: 16px;
	letter-spacing: 0.12em;
	font-weight: 900;
	color: rgba(233, 238, 246, 0.55);
	text-transform: uppercase;
}

.home-step-t {
	margin-top: 3px;
	font-size: 15px;
	font-weight: 900;
	color: rgba(255, 255, 255, 0.92);
	letter-spacing: -0.2px;
}

.home-step-d {
	margin-top: 4px;
	color: rgba(233, 238, 246, 0.74);
	font-size: 14px;
}

/* ===== CTA ===== */
.cta {
	padding: 96px 20px;
	background: #111827;
	color: #ffffff;
}

.cta-inner {
	max-width: 860px;
	margin: 0 auto;
	text-align: left;
}

.cta-title {
	margin: 0 0 18px;
	font-size: 28px;
	letter-spacing: -0.2px;
	font-weight: 900;
}

/* ===== Responsive (Home only) ===== */
@media (max-width: 980px) {
	.home-hero {
		min-height: 480px;
		padding: 90px 0 70px;
		background-position: 70% center;
	}

	.home-hero-title {
		font-size: 36px;
	}

	.home-hero-copy {
		max-width: 720px;
		margin-top: -70px;
	}

	.section {
		padding: 62px 18px;
	}
}

@media (max-width: 520px) {
	.home-hero {
		min-height: 460px;
		padding: 80px 0 60px;
		background-position: 78% center;
	}

	.home-hero-copy {
		margin-top: -60px;
	}

	.home-hero-title {
		font-size: 30px;
	}

	.home-hero-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.btn-hero-primary,
	.btn-hero-ghost {
		width: 100%;
	}

	.cta {
		padding: 72px 18px;
	}
}
