/* Reset and Base Styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Noto Sans TC', sans-serif;
	line-height: 1.6;
}

/* Accessibility */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Header Styles - Mobile First Design based on Figma */
.header {
	position: relative;
	width: 100%;
	height: 80px;
	background-color: #ffffff;
}

.header-container {
	position: relative;
	width: 100%;
	height: 100%;
	padding: 0 15px;
}

.logo {
	position: absolute;
	left: 15px;
	top: 50%;
	transform: translateY(-50%);
	font-family: 'Noto Serif TC', sans-serif;
	font-weight: 600;
	font-size: 18px;
	color: #141b4d;
	letter-spacing: 2px;
	line-height: 1.8;
}

.logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.live-recruitment {
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 24px;
	background-color: #ffffff;
	border: 2px solid #141b4d;
	border-radius: 4px;
	width: 158px;
	height: 45px;
	justify-content: center;
}

.live-icon {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
}

.live-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.live-text {
	font-family: 'Noto Sans TC', sans-serif;
	font-weight: 400;
	font-size: 16px;
	color: #141b4d;
	white-space: nowrap;
	line-height: 1.8;
	text-decoration: none;
}

.live-recruitment:hover,
.footer-cta:hover,
.live-recruitment:focus,
.footer-cta:focus,
.live-recruitment:hover a,
.footer-cta:hover a {
	background-color: #141b4d;
	color: #ffffff;
}

/* Desktop adjustments */
@media (min-width: 769px) {
	.header-container {
		max-width: 1200px;
		margin: 0 auto;
		padding: 0 120px;
	}
	
	.logo {
		left: 120px;
		font-size: 20px;
	}
	
	.live-recruitment {
		right: 120px;
		width: 204px;
	}
}

/* Hero Section Styles - Mobile First based on Figma */
.hero-section {
	position: relative;
	width: 100%;
	height: 540px;
	background-image: url('assets/img/hero-bg.png');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.hero-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(34, 34, 34, 0.8);
	z-index: 1;
}

.hero-content {
	position: relative;
	z-index: 2;
	padding: 81px 15px;
	max-width: 346px;
	color: white;
}

.hero-title {
	font-family: 'Anton', sans-serif;
	font-size: 80px;
	font-weight: 400;
	line-height: 1.2;
	margin: 0 0 16px 0;
	color: white;
}

.hero-subtitle {
	font-family: 'Noto Sans TC', sans-serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.8;
	margin: 0 0 32px 0;
	color: white;
}

.hero-description {
	font-family: 'Noto Sans TC', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.8;
	margin: 0;
	color: white;
}

/* Desktop adjustments */
@media (min-width: 769px) {
	.hero-section {
		height: 640px;
	}
	
	.hero-content {
		max-width: 1200px;
		margin: 0 auto;
		padding: 164px 20px;
	}
	
	.hero-title {
		font-size: 96px;
		margin-bottom: 50px;
	}
	
	.hero-subtitle {
		font-size: 24px;
		font-weight: 500;
		line-height: 1.2;
		margin-bottom: 32px;
	}
	
	.hero-description {
		font-size: 18px;
	}
}

/* Main Content - Mobile First */
#main-content {
	width: 100%;
	padding: 0;
}

/* Desktop adjustments for Main Content */
@media (min-width: 769px) {
	#main-content {
		max-width: 1200px;
		margin: 0 auto;
		padding: 0 20px;
	}
}

/* Features Section - Mobile First based on Figma */
.features {
	padding: 48px 15px 24px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.feature-card {
	background-color: #f8f8f8;
	padding: 48px 40px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 16px;
	width: 100%;
	max-width: 347px;
	margin: 0 auto;
}

.feature-icon {
	width: 72px;
	height: 72px;
}

.feature-card h3 {
	font-family: 'Noto Sans TC', sans-serif;
	font-weight: 500;
	font-size: 24px;
	color: #222222;
	margin: 0 0 16px 0;
	line-height: normal;
}

.feature-divider {
	width: 80px;
	height: 2px;
	background-color: #ccc;
	margin: 16px 0;
}

.feature-card p {
	font-family: 'Noto Sans TC', sans-serif;
	font-weight: 400;
	font-size: 18px;
	color: #555555;
	line-height: 1.8;
	margin: 0;
}

/* Desktop adjustments for Features */
@media (min-width: 769px) {
	.features {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 24px;
		margin: 80px 0;
		padding: 0;
	}
	
	.feature-card {
		max-width: none;
		padding: 40px;
	}
}

/* For Liver Section - Mobile First based on Figma */
.for-liver {
	padding: 0 15px;
	margin: 48px 0;
}

.for-liver-image {
	width: 100%;
	height: 230px;
	border-radius: 8px;
	overflow: hidden;
	margin: 0 auto 24px;
}

.for-liver-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.for-liver-content h2 {
	font-family: 'Anton', sans-serif;
	font-size: 80px;
	font-weight: 400;
	color: #141b4d;
	line-height: 1.2;
	margin: 0 0 24px 0;
}

.for-liver-content h3 {
	font-family: 'Noto Sans TC', sans-serif;
	font-weight: 400;
	font-size: 18px;
	color: #222222;
	margin: 0 0 32px 0;
	line-height: 1.8;
}

.for-liver-content p {
	font-family: 'Noto Sans TC', sans-serif;
	font-weight: 400;
	font-size: 18px;
	color: #555555;
	line-height: 1.8;
	margin: 0;
}

/* Desktop adjustments for For Liver */
@media (min-width: 769px) {
	.for-liver {
		display: flex;
		align-items: center;
		gap: 64px;
		margin: 80px auto;
		padding: 0 20px;
		max-width: 1200px;
	}
	
	.for-liver-image {
		flex: 1;
		max-width: 671px;
		min-width: 400px;
		height: auto;
		aspect-ratio: 671/447;
		margin: 0;
	}
	
	.for-liver-image img {
		height: 100%;
		min-height: 300px;
	}
	
	.for-liver-content {
		flex: 0 0 auto;
		width: 100%;
		max-width: 465px;
		min-width: 350px;
	}
	
	.for-liver-content h2 {
		font-size: 96px;
	}
	
	.for-liver-content h3 {
		font-size: 24px;
		font-weight: 500;
		margin: 0 0 48px 0;
		line-height: 1.2;
	}
}

/* Process Section - Mobile First based on Figma */
.process {
	padding: 48px 14px;
}

.process-header {
	margin-bottom: 32px;
}

.process-header h2 {
	font-family: 'Noto Sans TC', sans-serif;
	font-weight: 700;
	font-size: 32px;
	color: #222222;
	margin: 0 0 32px 0;
	letter-spacing: 0.96px;
	line-height: normal;
}

.section-divider {
	width: 100%;
	height: 3px;
	background-color: #ddd;
	margin-bottom: 32px;
}

.process-steps {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.process-step {
	display: flex;
	flex-direction: column;
	gap: 16px;
	max-width: 347px;
	margin: 0 auto;
}

.step-image {
	width: 100%;
	height: 231px;
	border-radius: 8px;
	overflow: hidden;
}

.step-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.step-info {
	display: flex;
	height: 38px;
}

.step-number {
	background-color: #141b4d;
	color: white;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 96px;
	font-family: 'Noto Sans TC', sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 1.8;
}

.step-title {
	background-color: white;
	border: 1px solid #141b4d;
	border-left: none;
	display: flex;
	align-items: center;
	padding: 0 16px;
	flex: 1;
	font-family: 'Noto Sans TC', sans-serif;
	font-weight: 500;
	font-size: 18px;
	color: #222222;
	line-height: normal;
}

/* Desktop adjustments for Process */
@media (min-width: 769px) {
	.process {
		margin: 120px 0;
		padding: 0;
	}
	
	.process-header {
		margin-bottom: 40px;
	}
	
	.process-steps {
		display: flex;
		flex-direction: row;
		justify-content: space-between;
		gap: 20px;
		flex-wrap: wrap;
	}
	
	.process-step {
		flex: 1;
		min-width: 250px;
		max-width: 282px;
		margin: 0;
	}
	
	.step-image {
		width: 100%;
		height: 188px;
	}
	
	.step-info {
		height: 42px;
	}
}

/* Contact Section - Mobile First based on Figma */
.process-contact-section {
	padding: 24px 14px;
	text-align: left;
}

.contact-text {
	font-family: 'Noto Sans TC', sans-serif;
	font-weight: 400;
	font-size: 18px;
	color: #555555;
	line-height: 1.8;
	margin: 0 0 24px 0;
	max-width: 347px;
}

.appointment-btn {
	background-color: #a00028;
	color: white;
	border: none;
	border-radius: 4px;
	padding: 8px 24px;
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: 'Noto Sans TC', sans-serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.8;
	text-decoration: none;
	max-width: 347px;
	justify-content: center;
}

.appointment-icon {
	width: 24px;
	height: 24px;
}

/* Desktop adjustments for Contact */
@media (min-width: 769px) {
	.process-contact-section {
		margin: 80px 0;
		padding: 0;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 40px;
	}
	
	.contact-text {
		max-width: 432px;
		margin: 0;
	}
	
	.appointment-btn {
		max-width: 240px;
	}
}

/* CTA Section - Mobile First based on Figma */
#cta-section {
	position: relative;
	width: 100%;
	background-image: url('assets/img/cta-bg.png');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	padding: 64px 0;
	color: white;
}

#cta-section::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(34, 34, 34, 0.8);
	z-index: 1;
}

.cta-container {
	position: relative;
	z-index: 2;
	padding: 0 15px;
	display: flex;
	flex-direction: column;
	gap: 48px;
}

.cta-content {
	max-width: 346px;
}

.cta-title {
	font-family: 'Anton', sans-serif;
	font-size: 80px;
	font-weight: 400;
	color: white;
	line-height: normal;
	margin: 0 0 32px 0;
}

.cta-text p {
	font-family: 'Noto Sans TC', sans-serif;
	font-weight: 400;
	font-size: 18px;
	color: white;
	line-height: 1.8;
	margin: 0;
}

.cta-btn {
	background-color: white;
	color: #141b4d;
	border: none;
	border-radius: 4px;
	padding: 8px 24px;
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: 'Noto Sans TC', sans-serif;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.8;
	text-decoration: none;
	width: 346px;
	justify-content: center;
}

.cta-icon {
	width: 24px;
	height: 24px;
}

/* Desktop adjustments for CTA */
@media (min-width: 769px) {
	#cta-section {
		padding: 80px 0;
	}
	
	.cta-container {
		max-width: 1200px;
		margin: 0 auto;
		padding: 0 120px;
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 64px;
	}
	
	.cta-content {
		max-width: 432px;
		margin: 0;
		flex-shrink: 0;
	}
	
	.cta-title {
		font-size: 96px;
		margin-bottom: 24px;
	}
	
	.cta-text p {
		font-size: 24px;
		font-weight: 500;
		line-height: 1.2;
	}
	
	.cta-btn {
		width: auto;
		min-width: 204px;
		padding: 8px 24px;
		flex-shrink: 0;
	}
}

/* FAQ Section - Mobile First based on Figma */
#faq,
#form {
	padding: 48px 15px;
}

.faq-header {
	margin-bottom: 32px;
}

.faq-header h2 {
	font-family: 'Noto Sans TC', sans-serif;
	font-weight: 700;
	font-size: 32px;
	color: #222222;
	margin: 0 0 32px 0;
	letter-spacing: 0.96px;
	line-height: normal;
}

.faq-header .section-divider {
	width: 100%;
	height: 3px;
	background-color: #ddd;
}

.faq-list {
	display: flex;
	flex-direction: column;
	gap: 16px;
	max-width: 346px;
}

.faq-item {
	border-bottom: 1px solid #ddd;
}

.faq-item:last-child {
	border-bottom: none;
}

.faq-question {
	background: none;
	border: none;
	padding: 12px 0;
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
	font-family: 'Noto Sans TC', sans-serif;
	font-size: 18px;
	font-weight: 400;
	color: #222222;
	line-height: 1.8;
	text-align: left;
}

.faq-question span {
	flex: 1;
	max-width: 319px;
}

.faq-arrow {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
	transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-arrow {
	transform: rotate(180deg);
}

.faq-answer {
	padding: 12px 0 16px 0;
	font-family: 'Noto Sans TC', sans-serif;
	font-size: 16px;
	font-weight: 400;
	color: #555555;
	line-height: 1.8;
	display: none;
}

.faq-item.expanded .faq-answer {
	display: block;
}

#form iframe {
	max-width: 346px;
}

/* Desktop adjustments for FAQ */
@media (min-width: 769px) {
	#faq,
	#form {
		max-width: 1200px;
		margin: 0 auto;
		padding: 80px 120px;
	}

	#form iframe {
		max-width: 1200px;
	}
	
	.faq-list {
		max-width: none;
	}
}

/* Footer - Mobile First based on Figma */
.footer {
	background-color: #f8f8f8;
	border-top: 1px solid #dddddd;
	padding: 48px 15px;
}

.footer-container {
	max-width: 346px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
	gap: 32px;
}

.company-name {
	font-family: 'Noto Serif TC', sans-serif;
	font-weight: 600;
	font-size: 18px;
	color: #141b4d;
	margin: 0 0 16px 0;
	letter-spacing: 2px;
	display: block;
}

.company-details {
	font-style: normal;
}

.company-address {
	font-family: 'Noto Sans TC', sans-serif;
	font-size: 14px;
	color: #555555;
	line-height: normal;
	margin: 0;
	display: none;
}

.footer-cta {
	background-color: white;
	border: 2px solid #141b4d;
	border-radius: 4px;
	padding: 8px 24px;
	display: flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	width: 346px;
	justify-content: center;
}

.footer-copyright {
	width: 100%;
}

.footer-copyright p {
	font-family: 'Noto Sans TC', sans-serif;
	font-size: 14px;
	color: #555555;
	line-height: normal;
	margin: 0;
	text-align: left;
}

.desktop-copyright {
	display: none;
}

.mobile-copyright {
	display: block;
}

.footer-cta .live-icon {
	width: 24px;
	height: 24px;
}

.footer-cta .live-text {
	font-family: 'Noto Sans TC', sans-serif;
	font-size: 16px;
	color: #141b4d;
	line-height: 1.8;
}

/* Desktop adjustments for Footer */
@media (min-width: 769px) {
	.footer {
		padding: 80px 20px;
		position: relative;
	}
	
	.footer-container {
		max-width: 1200px;
		margin: 0 auto;
		padding: 0 120px;
		flex-direction: row;
		justify-content: space-between;
		align-items: flex-start;
		text-align: left;
	}
	
	.company-name {
		font-size: 20px;
	}
	
	.company-address {
		display: block;
	}
	
	.footer-cta {
		width: auto;
		min-width: 240px;
	}
	
	.desktop-copyright {
		display: block;
		margin-top: 16px;
	}
	
	.mobile-copyright {
		display: none;
	}
}
