/* ═══════════════════════════════════════════════════════════
   aitom AI — Login Landing Page (Full-page Scroll Snap)
   ═══════════════════════════════════════════════════════════ */

/* ─── 기본 리셋 & 변수 ──────────────────── */
:root {
	--primary: #3a7ca5;
	--primary-dark: #2e6a8f;
	--primary-darker: #1a3a52;
	--primary-light: #4a9cc5;
	--glass-bg: rgba(255,255,255,0.08);
	--glass-border: rgba(255,255,255,0.15);
	--card-shadow: 0 20px 60px rgba(0,0,0,0.2), 0 0 0 1px rgba(255,255,255,0.1);
}

* { box-sizing: border-box; }
*:not(.fas):not(.far):not(.fab):not([class*="fa-"]) {
	font-family: 'Pretendard', 'Noto Sans KR', sans-serif !important;
}
html { margin: 0; height: 100%; overflow: hidden; }
body { margin: 0; height: 100%; overflow: hidden; }
a { text-decoration: none; }

.scroll-container input[type="checkbox"] {
	position: static !important;
	opacity: 1 !important;
	appearance: auto !important;
	-webkit-appearance: checkbox !important;
}

/* ─── 스크롤 스냅 컨테이너 ───────────────── */
.scroll-container {
	height: 100vh;
	overflow-y: auto;
	scroll-snap-type: y mandatory;
	scroll-behavior: smooth;
}

.scroll-section {
	height: 100vh;
	scroll-snap-align: start;
	position: relative;
	overflow: hidden;
}

/* ─── 배경 레이어 ────────────────────────── */
.login-bg {
	position: fixed;
	inset: 0;
	background: linear-gradient(135deg, var(--primary-darker) 0%, #2a5f7f 40%, var(--primary) 100%);
	z-index: 0;
	overflow: hidden;
}

.bg-circle {
	position: absolute;
	border-radius: 50%;
	background: rgba(255,255,255,0.06);
}

.bg-circle-1 {
	width: 600px; height: 600px;
	top: -200px; right: -100px;
	animation: float 8s ease-in-out infinite;
}

.bg-circle-2 {
	width: 400px; height: 400px;
	bottom: -120px; left: -80px;
	animation: float 10s ease-in-out infinite 2s;
}

.bg-circle-3 {
	width: 300px; height: 300px;
	top: 40%; left: 45%;
	background: rgba(255,255,255,0.03);
	animation: float 12s ease-in-out infinite 4s;
}

/* 추가 배경 장식 */
.login-bg::before {
	content: '';
	position: absolute;
	top: 15%; left: 20%;
	width: 200px; height: 200px;
	border: 1px solid rgba(255,255,255,0.05);
	border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
	animation: morph 15s ease-in-out infinite;
}

.login-bg::after {
	content: '';
	position: absolute;
	bottom: 10%; right: 30%;
	width: 160px; height: 160px;
	border: 1px solid rgba(255,255,255,0.04);
	border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
	animation: morph 12s ease-in-out infinite 3s;
}

@keyframes morph {
	0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; transform: rotate(0deg); }
	25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
	50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; transform: rotate(90deg); }
	75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
}

/* ─── 상단 네비게이션 ────────────────────── */
.login-nav {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 100;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 48px;
	background: rgba(26,58,82,0.2);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(255,255,255,0.06);
	transition: background 0.3s;
}

.login-nav.nav-solid {
	background: rgba(26,58,82,0.85);
}

.login-nav__left {
	display: flex;
	align-items: center;
	gap: 10px;
}

.login-nav__left img {
	filter: brightness(0) invert(1);
}

.login-nav__left img:first-child {
	width: 34px; height: 34px;
	border-radius: 8px;
}

.login-nav__left img:last-child {
	height: 18px;
}

.login-nav__left.logo-single img {
	width: auto;
	height: 28px;
	border-radius: 0;
}

.login-nav__right {
	display: flex;
	align-items: center;
	gap: 6px;
}

.nav-link {
	color: rgba(255,255,255,0.75);
	font-size: 13.5px;
	font-weight: 500;
	padding: 7px 14px;
	border-radius: 8px;
	transition: all 0.2s;
}

.nav-link:hover {
	color: #fff;
	background: rgba(255,255,255,0.1);
}

.nav-btn {
	color: #fff;
	font-size: 13.5px;
	font-weight: 600;
	padding: 7px 18px;
	border: 1.5px solid rgba(255,255,255,0.35);
	border-radius: 8px;
	transition: all 0.2s;
}

.nav-btn:hover {
	background: rgba(255,255,255,0.12);
	border-color: rgba(255,255,255,0.6);
}

/* ─── 섹션 인디케이터 ────────────────────── */
.section-indicator {
	position: fixed;
	right: 28px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 100;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.section-dot {
	width: 10px; height: 10px;
	border-radius: 50%;
	background: rgba(255,255,255,0.25);
	border: 2px solid rgba(255,255,255,0.4);
	cursor: pointer;
	transition: all 0.3s;
}

.section-dot.active {
	background: #fff;
	border-color: #fff;
	transform: scale(1.3);
}

.section-dot:hover:not(.active) {
	background: rgba(255,255,255,0.5);
}

/* ─── 스크롤 다운 힌트 ──────────────────── */
.scroll-hint {
	position: absolute;
	bottom: 28px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	color: rgba(255,255,255,0.4);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 1px;
	animation: bounce 2s ease-in-out infinite;
	z-index: 10;
}

.scroll-hint i { font-size: 16px; }


/* ═══════════════════════════════════════════════════════════
   섹션 1: Hero + 로그인
   ═══════════════════════════════════════════════════════════ */
.section-hero {
	display: flex;
	align-items: center;
	padding: 80px 48px 40px;
	z-index: 1;
}

.section-hero::after {
	content: '';
	position: absolute;
	top: 122px; right: 130px; bottom: 82px;
	width: calc(44% - 200px);
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.10);
	border-radius: 28px;
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	z-index: 0;
}

/* 로그인 카드 뒤 글로우 효과 */
.section-hero::before {
	content: '';
	position: absolute;
	top: 50%; right: 14%;
	width: 340px; height: 340px;
	background: radial-gradient(circle, rgba(126,200,227,0.15) 0%, transparent 70%);
	border-radius: 50%;
	transform: translateY(-50%);
	z-index: 0;
	animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
	0%, 100% { opacity: 0.6; transform: translateY(-50%) scale(1); }
	50% { opacity: 1; transform: translateY(-50%) scale(1.1); }
}

/* ── 배경 그리드 패턴 오버레이 ── */
.login-bg .bg-grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
	background-size: 60px 60px;
}

/* ─── 좌측 Hero ──────────────────────────── */
.login-hero {
	flex: 0 0 52%;
	padding: 20px 40px 20px 20px;
	position: relative;
	z-index: 1;
}

.login-hero .login-hero__content {
	opacity: 0;
	transform: translateY(30px);
}

.login-hero .login-hero__content.visible {
	animation: fadeInUp 0.8s ease-out forwards;
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 16px;
	background: rgba(255,255,255,0.1);
	border: 1px solid rgba(255,255,255,0.18);
	border-radius: 20px;
	color: rgba(255,255,255,0.9);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.3px;
	margin-bottom: 24px;
	backdrop-filter: blur(4px);
}

.hero-badge i {
	font-size: 13px;
}

.login-hero h1 {
	margin: 0 0 18px;
	font-size: 42px;
	font-weight: 800;
	color: #fff;
	line-height: 1.25;
	letter-spacing: -0.5px;
}

.login-hero h1 em {
	font-style: normal;
	background: linear-gradient(135deg, #7ec8e3, #b8e6ff);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.hero-desc {
	margin: 0 0 24px;
	font-size: 15px;
	color: rgba(255,255,255,0.6);
	line-height: 1.7;
	max-width: 480px;
}

/* ─── Hero 기능 카드 그리드 ──────────────── */
.hero-features {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin-bottom: 24px;
}

.hero-feature {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 18px 16px;
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.1);
	border-radius: 14px;
	backdrop-filter: blur(4px);
	transition: all 0.25s;
	cursor: default;
}

.hero-feature:hover {
	background: rgba(255,255,255,0.11);
	border-color: rgba(255,255,255,0.2);
	transform: translateY(-2px);
}

.hero-feature__icon {
	flex-shrink: 0;
	width: 40px; height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(126,200,227,0.15);
	border-radius: 11px;
	color: rgba(126,200,227,0.95);
	font-size: 16px;
}

.hero-feature__text strong {
	display: block;
	font-size: 14px;
	font-weight: 700;
	color: #fff;
	margin-bottom: 4px;
}

.hero-feature__text span {
	font-size: 11.5px;
	color: rgba(255,255,255,0.45);
	font-weight: 400;
	line-height: 1.5;
}

/* ─── Hero 하단 수치 지표 ────────────────── */
.hero-stats {
	display: flex;
	align-items: center;
	gap: 0;
	padding: 16px 0 0;
	border-top: 1px solid rgba(255,255,255,0.08);
}

.hero-stat {
	flex: 1;
	text-align: center;
}

.hero-stat strong {
	display: block;
	font-size: 18px;
	font-weight: 800;
	color: rgba(126,200,227,0.95);
	margin-bottom: 2px;
	letter-spacing: -0.3px;
}

.hero-stat span {
	font-size: 11px;
	color: rgba(255,255,255,0.4);
	font-weight: 500;
}

.hero-stat__divider {
	width: 1px;
	height: 32px;
	background: rgba(255,255,255,0.1);
}

/* ─── 우측 로그인 카드 (글래스모피즘) ────── */
.login-card-wrapper {
	flex: 0 0 52%;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 20px;
	position: relative;
	z-index: 1;
}

.login-card-wrapper form {
	width: 100%;
	max-width: 420px;
	opacity: 0;
	transform: translateX(40px);
}

.login-card-wrapper form.visible {
	animation: fadeInRight 0.8s ease-out 0.2s forwards;
}

.login-card {
	width: 100%;
	max-width: 600px;
	background: #fff;
	border-radius: 24px;
	border: none;
	box-shadow: 0 25px 80px rgba(0,0,0,0.15), 0 4px 16px rgba(0,0,0,0.08);
	overflow: hidden;
}

.login-header {
	padding: 36px 36px 24px;
	text-align: center;
	position: relative;
	background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.login-header__logo {
	display: flex;
	flex-direction: column;
	align-items: center;
	/* gap: 12px; */
}

.login-header__logo .login-logo-icon {
	width: 52px; height: 52px;
	border-radius: 14px;
	filter: drop-shadow(0 4px 12px rgba(58,124,165,0.2));
}

.login-header__logo .login-logo-text {
	height: 22px;
}

/* 장식 요소 */
.login-header__deco {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 20px;
}

.login-header__deco .deco-line {
	flex: 1;
	height: 1px;
	background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

.login-header__deco .deco-dots {
	display: flex;
	gap: 6px;
}

.login-header__deco .deco-dots span {
	width: 5px; height: 5px;
	border-radius: 50%;
	background: var(--primary);
	opacity: 0.25;
}

.login-header__deco .deco-dots span:nth-child(2) {
	opacity: 0.5;
}

.login-header__deco .deco-dots span:nth-child(3) {
	opacity: 0.25;
}

.login-body {
	padding: 4px 36px 28px;
}

.input-group { margin-bottom: 14px; }

.input-group label {
	display: block;
	font-size: 12.5px;
	font-weight: 600;
	color: #374151;
	margin-bottom: 6px;
}

.input-wrapper { position: relative; }

.input-wrapper input {
	width: 100%;
	height: 46px;
	padding: 0 16px;
	border: 1.5px solid #e5e7eb;
	border-radius: 12px;
	font-size: 14px;
	color: #111827;
	background: #f9fafb;
	outline: none;
	transition: all 0.2s;
}

.input-wrapper input::placeholder {
	color: #9ca3af;
}

.input-wrapper input:focus {
	border-color: var(--primary);
	background: #fff;
	box-shadow: 0 0 0 3px rgba(58, 124, 165, 0.08);
}

.input-wrapper .toggle-pw {
	position: absolute;
	right: 12px; top: 50%;
	transform: translateY(-50%);
	background: none; border: none;
	color: #9ca3af;
	cursor: pointer;
	padding: 4px; font-size: 14px;
	transition: color 0.2s;
}

.input-wrapper .toggle-pw:hover {
	color: #6b7280;
}

.error-msg {
	margin: -4px 0 12px;
	padding: 10px 14px;
	background: rgba(239, 68, 68, 0.06);
	border: 1px solid rgba(239, 68, 68, 0.15);
	border-radius: 8px;
	font-size: 13px;
	color: #dc2626;
	display: flex; align-items: center; gap: 8px;
}

.error-msg i { font-size: 13px; flex-shrink: 0; }

.login-options {
	display: flex; align-items: center;
	justify-content: space-between;
	margin-bottom: 18px;
}

.login-options .remember-group {
	display: flex; align-items: center; gap: 6px;
}

.login-options .remember-group input[type="checkbox"] {
	width: 15px; height: 15px;
	accent-color: var(--primary);
	cursor: pointer; margin: 0;
}

.login-options .remember-group label {
	font-size: 12.5px;
	color: #6b7280;
	cursor: pointer; user-select: none;
}

.login-options .find-link {
	font-size: 12.5px;
	color: #6b7280;
	transition: color 0.2s;
}

.login-options .find-link:hover {
	color: var(--primary);
}

.btn-login {
	width: 100%; height: 48px;
	background: linear-gradient(135deg, var(--primary), var(--primary-dark));
	color: #fff; border: none; border-radius: 12px;
	font-size: 15px; font-weight: 700;
	cursor: pointer; transition: all 0.25s;
	letter-spacing: -0.2px;
	box-shadow: 0 4px 14px rgba(58,124,165,0.2);
}

.btn-login:hover {
	background: linear-gradient(135deg, var(--primary-dark), var(--primary-darker));
	box-shadow: 0 4px 14px rgba(58, 124, 165, 0.3);
	transform: translateY(-1px);
}

.btn-login:active {
	transform: translateY(0); box-shadow: none;
}

.login-footer {
	padding: 18px 36px;
	border-top: 1px solid #f1f5f9;
	text-align: center;
	background: #fafbfc;
	border-radius: 0 0 24px 24px;
}

.login-footer span {
	font-size: 12.5px;
	color: #9ca3af;
}

.login-footer a {
	font-size: 12.5px; font-weight: 600;
	color: var(--primary);
	margin-left: 6px;
	transition: color 0.2s;
}

.login-footer a:hover {
	color: var(--primary-dark);
}

.login-footer .try-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 600;
	color: var(--primary);
	margin: 0;
	transition: all 0.2s;
}

.login-footer .try-link i {
	font-size: 14px;
}

.login-footer .try-link:hover {
	color: var(--primary-dark);
}


/* ═══════════════════════════════════════════════════════════
   섹션 2~N: 기능 소개 (탭 + 슬라이드)
   ═══════════════════════════════════════════════════════════ */
.section-feature {
	display: flex;
	align-items: center;
	padding: 0 80px;
	z-index: 1;
}

.section-feature.reverse {
	flex-direction: row-reverse;
}

/* ── 텍스트 영역 ── */
.feature-text {
	flex: 0 0 40%;
	padding: 40px;
}

.feature-text .feature-number {
	display: inline-block;
	font-size: 12.5px;
	font-weight: 700;
	color: rgba(126,200,227,0.8);
	letter-spacing: 1px;
	text-transform: uppercase;
	margin-bottom: 12px;
}

.feature-text h2 {
	margin: 0 0 14px;
	font-size: 34px;
	font-weight: 800;
	color: #fff;
	line-height: 1.3;
	letter-spacing: -0.3px;
}

.feature-text .feature-sub {
	margin: 0 0 28px;
	font-size: 14.5px;
	color: rgba(255,255,255,0.55);
	line-height: 1.7;
}

/* ── 탭 버튼 ── */
.feature-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.feature-tab {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 9px 16px;
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.1);
	border-radius: 10px;
	color: rgba(255,255,255,0.55);
	font-size: 12.5px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.25s;
	overflow: hidden;
}

.feature-tab i {
	font-size: 12px;
	opacity: 0.7;
}

.feature-tab:hover {
	background: rgba(255,255,255,0.1);
	color: rgba(255,255,255,0.8);
}

.feature-tab.active {
	background: rgba(126,200,227,0.15);
	border-color: rgba(126,200,227,0.4);
	color: #fff;
	font-weight: 600;
}

.feature-tab.active i {
	opacity: 1;
	color: rgba(126,200,227,0.9);
}

/* ── 탭 프로그레스 바 ── */
.tab-progress {
	position: absolute;
	bottom: 0; left: 0;
	height: 2px;
	width: 0;
	background: rgba(126,200,227,0.7);
	border-radius: 0 0 10px 10px;
}

.feature-tab.active.progressing .tab-progress {
	width: 100%;
	transition: width 4s linear;
}

/* ── 스크린샷 영역 ── */
.feature-preview {
	flex: 0 0 60%;
	padding: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.feature-preview__frame {
	width: 100%;
	max-width: 720px;
	aspect-ratio: 1500 / 1000;
	background: rgba(255,255,255,0.05);
	border: 1px solid rgba(255,255,255,0.1);
	border-radius: 16px;
	overflow: hidden;
	position: relative;
	box-shadow: 0 20px 60px rgba(0,0,0,0.2), 0 0 0 1px rgba(255,255,255,0.05);
}

/* 브라우저 타이틀바 */
.feature-preview__frame::before {
	content: '';
	display: block;
	height: 32px;
	background: rgba(255,255,255,0.06);
	border-bottom: 1px solid rgba(255,255,255,0.06);
}

.feature-preview__frame::after {
	content: '● ● ●';
	position: absolute;
	top: 9px; left: 14px;
	font-size: 8px;
	letter-spacing: 4px;
	color: rgba(255,255,255,0.2);
}

/* ── 슬라이드 ── */
.feature-slides {
	position: relative;
	width: 100%;
	height: calc(100% - 32px);
}

.feature-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.5s ease;
}

.feature-slide.active {
	opacity: 1;
}

.feature-slide img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
}

.feature-preview__placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	color: rgba(255,255,255,0.18);
}

.feature-preview__placeholder i { font-size: 48px; }
.feature-preview__placeholder span { font-size: 13px; font-weight: 500; }

/* ── 슬라이드 인 애니메이션 ── */
.feature-text,
.feature-preview {
	opacity: 0;
	transition: opacity 0.8s ease, transform 0.8s ease;
}

.section-feature .feature-text { transform: translateX(-60px); }
.section-feature .feature-preview { transform: translateX(60px); }
.section-feature.reverse .feature-text { transform: translateX(60px); }
.section-feature.reverse .feature-preview { transform: translateX(-60px); }

.feature-text.visible,
.feature-preview.visible {
	opacity: 1;
	transform: translateX(0);
}


/* ═══════════════════════════════════════════════════════════
   섹션 마지막: 푸터
   ═══════════════════════════════════════════════════════════ */
.section-footer {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	z-index: 1;
	text-align: center;
	padding: 40px;
}

.section-footer h2 {
	margin: 0 0 16px;
	font-size: 36px;
	font-weight: 800;
	color: #fff;
}

.section-footer p {
	margin: 0 0 32px;
	font-size: 15px;
	color: rgba(255,255,255,0.5);
	line-height: 1.6;
}

.footer-cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 13px 30px;
	background: rgba(255,255,255,0.12);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(255,255,255,0.25);
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	border-radius: 12px;
	transition: all 0.25s;
}

.footer-cta:hover {
	background: rgba(255,255,255,0.2);
	border-color: rgba(255,255,255,0.4);
	transform: translateY(-2px);
	box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.section-footer .footer-links {
	margin-top: 40px;
	display: flex;
	gap: 24px;
}

.section-footer .footer-links a {
	color: rgba(255,255,255,0.35);
	font-size: 13px;
	transition: color 0.2s;
}

.section-footer .footer-links a:hover {
	color: rgba(255,255,255,0.7);
}

.section-footer .footer-copy {
	margin-top: 20px;
	font-size: 12px;
	color: rgba(255,255,255,0.2);
}


/* ═══════════════════════════════════════════════════════════
   애니메이션
   ═══════════════════════════════════════════════════════════ */
@keyframes fadeInUp {
	from { opacity: 0; transform: translateY(30px); }
	to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
	from { opacity: 0; transform: translateX(40px); }
	to   { opacity: 1; transform: translateX(0); }
}

@keyframes float {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(-20px); }
}

@keyframes bounce {
	0%, 100% { transform: translateX(-50%) translateY(0); }
	50%      { transform: translateX(-50%) translateY(8px); }
}


/* ═══════════════════════════════════════════════════════════
   반응형
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
	.section-hero::after { display: none; }
	.section-hero::before { display: none; }

	.section-hero {
		flex-direction: column;
		padding: 80px 24px 40px;
		overflow-y: auto;
		scroll-snap-align: start;
	}

	.login-hero {
		flex: none; width: 100%;
		padding: 0 0 24px;
		text-align: center;
	}

	.login-hero h1 { font-size: 32px; }

	.hero-desc { margin-left: auto; margin-right: auto; }

	.hero-features {
		max-width: 560px;
		margin-left: auto; margin-right: auto;
	}

	.hero-stats { justify-content: center; }

	.login-card-wrapper {
		flex: none; width: 100%;
		max-width: 480px; padding: 0;
	}

	.login-nav { padding: 14px 24px; }

	.section-feature,
	.section-feature.reverse {
		flex-direction: column;
		padding: 80px 24px 40px;
	}

	.feature-text {
		flex: none; width: 100%;
		padding: 0 0 24px;
		text-align: center;
	}

	.feature-tabs { justify-content: center; }

	.feature-preview {
		flex: none; width: 100%;
		padding: 0;
	}

	.section-feature .feature-text,
	.section-feature.reverse .feature-text {
		transform: translateY(-30px);
	}

	.section-feature .feature-preview,
	.section-feature.reverse .feature-preview {
		transform: translateY(30px);
	}

	.section-indicator { display: none; }
}

@media (max-width: 768px) {
	.login-hero h1 { font-size: 26px; }

	.hero-features {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.hero-features { display: none; }
	.hero-stats { display: none; }
	.hero-desc { display: none; }

	.login-hero { padding: 0 0 16px; }

	.login-card-wrapper { max-width: 100%; }

	.login-header { padding: 28px 24px 18px; }
	.login-body { padding: 4px 24px 24px; }
	.login-footer { padding: 14px 24px; }

	.login-nav__right { gap: 4px; }
	.nav-link { font-size: 13px; padding: 6px 10px; }
	.nav-btn { font-size: 13px; padding: 6px 14px; }

	.feature-text h2 { font-size: 26px; }
	.section-footer h2 { font-size: 28px; }

	.scroll-hint { display: none; }
}

@media (max-width: 480px) {
	.section-hero {
		padding: 70px 16px 20px;
		align-items: stretch;
	}

	.login-hero { padding: 0 0 12px; }
	.login-hero h1 { font-size: 22px; margin-bottom: 10px; }
	.hero-badge { font-size: 11px; margin-bottom: 14px; }

	.login-card-wrapper { max-width: 100%; padding: 0; }
	.login-card { border-radius: 16px; }
	.login-header { padding: 20px 20px 14px; }
	.login-header__logo .login-logo-icon { width: 42px; height: 42px; }
	.login-header__logo .login-logo-text { height: 18px; }
	.login-header__deco { margin-top: 14px; }
	.login-body { padding: 4px 20px 18px; }
	.login-body .input-group { margin-bottom: 10px; }
	.login-body .input-wrapper input { height: 42px; }
	.login-body .btn-login { height: 44px; }
	.login-options { margin-bottom: 14px; }
	.login-footer { padding: 12px 20px; }

	.login-nav { padding: 12px 16px; }
	.login-nav__left img:last-child { display: none; }

	.section-feature,
	.section-feature.reverse {
		padding: 70px 16px 24px;
	}

	.feature-text h2 { font-size: 22px; }

	.feature-tabs { gap: 6px; }
	.feature-tab { font-size: 11.5px; padding: 7px 12px; }

	.contact-modal { width: 95vw !important; }
}

/* ═══════════════════════════════════════════════════════
   Contact 문의 모달
   ═══════════════════════════════════════════════════════ */
.contact-overlay {
	position: fixed;
	inset: 0;
	z-index: 9999;
	background: rgba(0,0,0,0.6);
	backdrop-filter: blur(4px);
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s, visibility 0.25s;
}
.contact-overlay.open {
	opacity: 1;
	visibility: visible;
}

.contact-modal {
	width: 480px;
	max-height: 90vh;
	overflow-y: auto;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 24px 80px rgba(0,0,0,0.3);
	transform: translateY(20px) scale(0.97);
	transition: transform 0.25s;
}
.contact-overlay.open .contact-modal {
	transform: translateY(0) scale(1);
}

.contact-modal__accent {
	height: 4px;
	border-radius: 16px 16px 0 0;
	background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.contact-modal__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	padding: 20px 24px 0;
}

.contact-modal__title-wrap {
	display: flex;
	align-items: center;
	gap: 12px;
}

.contact-modal__title-icon {
	width: 40px; height: 40px;
	border-radius: 10px;
	background: rgba(58,124,165,0.12);
	color: var(--primary);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	flex-shrink: 0;
}

.contact-modal__title {
	font-size: 17px;
	font-weight: 700;
	color: #1e293b;
}

.contact-modal__subtitle {
	font-size: 12.5px;
	color: #94a3b8;
	margin-top: 2px;
}

.contact-modal__close {
	background: none;
	border: none;
	font-size: 18px;
	color: #94a3b8;
	cursor: pointer;
	padding: 4px;
	transition: color 0.15s;
}
.contact-modal__close:hover { color: #334155; }

.contact-modal__body {
	padding: 20px 24px;
}

.contact-form-row {
	display: flex;
	gap: 12px;
}
.contact-form-row .contact-form-group {
	flex: 1;
}

.contact-form-group {
	margin-bottom: 14px;
}
.contact-form-group label {
	display: block;
	font-size: 12.5px;
	font-weight: 600;
	color: #334155;
	margin-bottom: 6px;
}
.contact-required { color: #ef4444; }

.contact-form-group input,
.contact-form-group textarea {
	width: 100%;
	padding: 10px 14px;
	border: 1.5px solid #e2e8f0;
	border-radius: 8px;
	font-size: 13.5px;
	color: #1e293b;
	background: #f8fafc;
	transition: border-color 0.15s, box-shadow 0.15s;
	outline: none;
	resize: vertical;
}
.contact-form-group input:focus,
.contact-form-group textarea:focus {
	border-color: var(--primary);
	box-shadow: 0 0 0 3px rgba(58,124,165,0.12);
	background: #fff;
}

.contact-modal__footer {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	padding: 0 24px 20px;
}

.contact-btn {
	padding: 9px 20px;
	border-radius: 8px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	border: none;
	transition: all 0.15s;
}
.contact-btn--cancel {
	background: #f1f5f9;
	color: #64748b;
}
.contact-btn--cancel:hover {
	background: #e2e8f0;
}
.contact-btn--submit {
	background: var(--primary);
	color: #fff;
}
.contact-btn--submit:hover {
	background: var(--primary-dark);
}
.contact-btn--submit:disabled {
	opacity: 0.6;
	cursor: default;
}

/* ─── 개인정보 동의 ─── */
.contact-privacy-agree {
	margin-top: 8px;
	padding-top: 16px;
	border-top: 1px solid #e2e8f0;
}
.contact-privacy-label {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	font-size: 13px;
	color: #334155;
	user-select: none;
}
.contact-privacy-label input[type="checkbox"] {
	display: none;
}
.contact-privacy-check {
	width: 18px;
	height: 18px;
	border: 2px solid #cbd5e1;
	border-radius: 4px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s;
}
.contact-privacy-label input:checked + .contact-privacy-check {
	background: var(--primary);
	border-color: var(--primary);
}
.contact-privacy-label input:checked + .contact-privacy-check::after {
	content: '\f00c';
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
	font-size: 10px;
	color: #fff;
}
.contact-privacy-text {
	flex: 1;
}
.contact-privacy-toggle {
	background: none;
	border: none;
	color: var(--primary);
	cursor: pointer;
	font-size: 12px;
	padding: 0;
	margin-left: 4px;
}
.contact-privacy-toggle:hover {
	text-decoration: underline;
}
.contact-privacy-detail {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease, padding 0.3s ease;
	background: #f8fafc;
	border-radius: 8px;
	font-size: 12px;
	color: #64748b;
	line-height: 1.7;
}
.contact-privacy-detail.open {
	max-height: 180px;
	padding: 12px 14px;
	margin-top: 10px;
	overflow-y: auto;
}
.contact-privacy-detail h4 {
	font-size: 12px;
	font-weight: 600;
	color: #334155;
	margin: 10px 0 4px;
}
.contact-privacy-detail h4:first-child {
	margin-top: 0;
}
.contact-privacy-detail p {
	margin: 0 0 4px;
}
.contact-privacy-detail p:last-child {
	margin-bottom: 0;
}
.contact-privacy-detail ul {
	margin: 4px 0 8px 16px;
	padding: 0;
	list-style: disc;
}
.contact-privacy-detail ul li {
	margin-bottom: 2px;
}
.contact-privacy-detail::-webkit-scrollbar {
	width: 5px;
}
.contact-privacy-detail::-webkit-scrollbar-track {
	background: transparent;
}
.contact-privacy-detail::-webkit-scrollbar-thumb {
	background: #cbd5e1;
	border-radius: 3px;
}
.contact-privacy-detail::-webkit-scrollbar-thumb:hover {
	background: #94a3b8;
}

