/* ========================================
   Seller Manual Page — medmap style
   ======================================== */

body.seller-manual {
	overflow-x: hidden;
}

body.seller-manual #main {
	padding: 0;
	width: 100%;
	text-align: left;
}

/* Manual Sections */
.manual-section {
	min-height: 100vh;
	display: flex;
	align-items: center;
	padding: 80px 0;
	position: relative;
}

.manual-section .container {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 40px;
}

/* ---- Hero Section (center-aligned, medmap style) ---- */
.hero-section {
	background: linear-gradient(135deg, #041c3d 0%, #0d3a7d 50%, #3661f9 100%);
	color: #ffffff;
	text-align: center;
	padding: 0;
}

.hero-content {
	max-width: 720px;
	margin: 0 auto;
}

.hero-content h1 {
	font-family: 'Spoqa Han Sans Neo', sans-serif;
	font-size: 48px;
	font-weight: 700;
	line-height: 1.35;
	color: #ffffff;
	margin-bottom: 24px;
}

.hero-desc {
	font-size: 18px;
	font-weight: 400;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.85);
	margin-bottom: 40px;
}

.manual-cta {
	display: inline-block;
	padding: 14px 36px;
	font-family: 'Spoqa Han Sans Neo', sans-serif;
	font-size: 16px;
	font-weight: 500;
	color: #041c3d;
	background: #ffffff;
	border-radius: 8px;
	text-decoration: none;
	transition: all 0.3s ease;
	border: none;
}

.manual-cta:hover {
	color: #041c3d;
	background: rgba(255, 255, 255, 0.9);
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
	text-decoration: none;
}

/* Hero animation on load */
@keyframes heroFadeIn {
	from { opacity: 0; transform: translateY(30px); }
	to   { opacity: 1; transform: translateY(0); }
}

.hero-anim {
	animation: heroFadeIn 0.8s ease forwards;
}

/* Scroll indicator */
.scroll-indicator {
	position: absolute;
	bottom: 40px;
	left: 50%;
	transform: translateX(-50%);
}

.scroll-indicator span {
	display: block;
	width: 24px;
	height: 40px;
	border: 2px solid rgba(255, 255, 255, 0.5);
	border-radius: 12px;
	position: relative;
}

.scroll-indicator span::after {
	content: '';
	display: block;
	width: 4px;
	height: 8px;
	background: rgba(255, 255, 255, 0.7);
	border-radius: 2px;
	position: absolute;
	top: 6px;
	left: 50%;
	transform: translateX(-50%);
	animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
	0%, 100% { top: 6px; opacity: 1; }
	50%      { top: 20px; opacity: 0.3; }
}

/* ---- Step Sections ---- */
.step-section {
	background: #ffffff;
}

.step-section:nth-child(even) {
	background: #f8f9fa;
}

.step-badge {
	display: inline-block;
	font-family: 'Spoqa Han Sans Neo', sans-serif;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 3px;
	color: #3661f9;
	margin-bottom: 16px;
}

.step-section h2 {
	font-family: 'Spoqa Han Sans Neo', sans-serif;
	font-size: 36px;
	font-weight: 700;
	color: #041c3d;
	margin-bottom: 20px;
	line-height: 1.3;
}

.step-section p {
	font-family: 'Spoqa Han Sans Neo', sans-serif;
	font-size: 16px;
	font-weight: 400;
	color: #434343;
	line-height: 1.8;
	margin-bottom: 24px;
}

.step-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.step-list li {
	font-family: 'Spoqa Han Sans Neo', sans-serif;
	font-size: 15px;
	color: #434343;
	padding: 8px 0 8px 28px;
	position: relative;
	line-height: 1.6;
}

.step-list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 16px;
	width: 8px;
	height: 8px;
	background: #3661f9;
	border-radius: 50%;
}

/* Reversed layout: text block flush right */
@media (min-width: 992px) {
	.step-section .order-lg-2.step-text {
		display: flex;
		justify-content: flex-end;
	}
}

/* Image wrapper */
.manual-img-wrap {
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.manual-img-wrap img {
	width: 100%;
	height: auto;
	display: block;
}

/* ---- FAQ Section (medmap accordion style) ---- */
.faq-section {
	background: #ffffff;
	min-height: auto;
	padding: 100px 0;
}

.faq-title {
	font-family: 'Spoqa Han Sans Neo', sans-serif;
	font-size: 36px;
	font-weight: 700;
	color: #041c3d;
	text-align: center;
	margin-bottom: 12px;
}

.faq-subtitle {
	font-family: 'Spoqa Han Sans Neo', sans-serif;
	font-size: 16px;
	color: #828282;
	text-align: center;
	margin-bottom: 48px;
}

.faq-list {
	max-width: 800px;
	margin: 0 auto;
}

.faq-item {
	border-bottom: 1px solid #e9ecef;
}

.faq-item:first-child {
	border-top: 1px solid #e9ecef;
}

.faq-question {
	display: flex;
	align-items: center;
	padding: 20px 0;
	cursor: pointer;
	transition: color 0.2s ease;
}

.faq-question:hover {
	color: #3661f9;
}

.faq-num {
	font-family: 'Spoqa Han Sans Neo', sans-serif;
	font-size: 16px;
	font-weight: 700;
	color: #3661f9;
	min-width: 32px;
}

.faq-q {
	font-family: 'Spoqa Han Sans Neo', sans-serif;
	font-size: 16px;
	font-weight: 500;
	color: #041c3d;
	flex: 1;
}

.faq-question:hover .faq-q {
	color: #3661f9;
}

.faq-arrow {
	font-size: 14px;
	color: #828282;
	transition: transform 0.3s ease;
	margin-left: 16px;
}

.faq-question[aria-expanded="true"] .faq-arrow,
.faq-question:not(.collapsed) .faq-arrow {
	transform: rotate(180deg);
}

.faq-answer {
	padding: 0 0 20px 32px;
}

.faq-answer p {
	font-family: 'Spoqa Han Sans Neo', sans-serif;
	font-size: 15px;
	color: #434343;
	line-height: 1.8;
	margin: 0;
}

/* ---- CTA Footer Section ---- */
.cta-section {
	background: linear-gradient(135deg, #041c3d 0%, #3661f9 100%);
	color: #ffffff;
	text-align: center;
	min-height: auto;
	padding: 100px 0;
}

.cta-section .container {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 40px;
}

.cta-section h2 {
	font-family: 'Spoqa Han Sans Neo', sans-serif;
	font-size: 36px;
	font-weight: 700;
	color: #ffffff;
	margin-bottom: 16px;
}

.cta-section p {
	font-family: 'Spoqa Han Sans Neo', sans-serif;
	font-size: 16px;
	color: rgba(255, 255, 255, 0.8);
	margin-bottom: 32px;
}

.cta-section .manual-cta {
	font-size: 18px;
	padding: 16px 48px;
}

/* ---- Fade-in on scroll ---- */
.fade-up {
	opacity: 0;
	transform: translateY(40px);
	transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
	opacity: 1;
	transform: translateY(0);
}

/* ---- Scroll to Top ---- */
#scroll-top {
	background: #3366ff none repeat scroll 0 0;
	border: 0 none;
	border-radius: 50%;
	bottom: 50px;
	box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
	color: #fff;
	height: 40px;
	opacity: 0;
	position: fixed;
	right: 40px;
	transition: opacity 0.2s ease-out 0s;
	width: 40px;
	z-index: 999;
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: center;
}

#scroll-top i {
	color: #fff;
}

#scroll-top.show {
	opacity: 1;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
	.hero-content h1 { font-size: 36px; }
	.hero-desc { font-size: 16px; }
	.step-section h2 { font-size: 28px; }
	.faq-title { font-size: 28px; }
}

@media (max-width: 767px) {
	.manual-section {
		min-height: auto;
		padding: 60px 0;
	}

	.hero-section { padding: 120px 0 80px; }
	.hero-content h1 { font-size: 28px; }
	.hero-desc { font-size: 15px; }
	.step-section h2 { font-size: 24px; }
	.step-section p { font-size: 15px; }
	.step-text { margin-bottom: 32px; }

	.manual-img-wrap {
		box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
	}

	.scroll-indicator { display: none; }

	.faq-section { padding: 60px 0; }
	.faq-title { font-size: 24px; }
	.faq-q { font-size: 15px; }

	.cta-section { padding: 60px 0; }
	.cta-section h2 { font-size: 24px; }

	.step-section .order-lg-2.step-text { order: -1; }
}

@media (max-width: 500px) {
	.manual-section .container {
		padding: 0 16px;
	}

	.hero-content h1 { font-size: 24px; }
	.hero-desc { font-size: 14px; }
	.manual-cta { padding: 12px 28px; font-size: 14px; }
	.cta-section .manual-cta { font-size: 16px; padding: 14px 36px; }
	.faq-question { padding: 16px 0; }
	.faq-answer { padding: 0 0 16px 32px; }
}
