/* 헤더 섹션 */
.section-pricing-header {
	width: 100%;
	display: flex;
	align-items: center;
	background: white;
	padding: 41px 0;
}

/* 히어로 섹션 */
.section-pricing-hero {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: linear-gradient(180deg, rgba(61.82, 160.31, 217.33, 0.9) 0%, #1c2844 100%);
}

.pricing-hero-bg {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 0;
}

.pricing-hero-blur {
	position: absolute;
	border-radius: 9999px;
	pointer-events: none;
}

.blur-1 {
	width: 988px;
	height: 802px;
	left: -99px;
	top: -428px;
	background: rgba(200.86, 13.67, 13.67, 0.6);
	box-shadow: 400px 400px 400px;
	filter: blur(200px);
}

.blur-2 {
	width: 808px;
	height: 656px;
	left: 753px;
	top: -175px;
	background: rgba(24.33, 17.94, 65.92, 0.46);
	box-shadow: 300px 300px 300px;
	filter: blur(150px);
}

.blur-3 {
	width: 681px;
	height: 681px;
	left: 693px;
	top: -410px;
	background: rgba(0, 8.96, 67.23, 0.8);
	box-shadow: 400px 400px 400px;
	filter: blur(200px);
}

.pricing-hero-content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 30px;
	padding: 125px 0;
}

.pricing-hero-title {
	text-align: center;
}

.pricing-hero-title-group {
	display: flex;
	align-items: flex-end;
	gap: 5px;
}

.pricing-hero-desc {
	text-align: center;
	word-break: keep-all;
}

.text-white {
	color: white;
}

/* 플랜 상세 섹션 */
.section-pricing-plan {
	background: var(--text-main, #1e293b); /* Fallback variable or hex */
	padding: 180px 0; /* Match original top spacing roughly? Original content started at 180px */
}

.pricing-plan-container {
	position: relative;
	display: flex;
	flex-direction: column;
}

.price-plan-title {
	background: linear-gradient(90deg, #153885 0%, #2563eb 58%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	color: transparent;
	margin-bottom: 80px;
}

.text-primary.price-plan-title {
	color: #153885;
}

.pricing-plan-table {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.pricing-plan-row {
	display: flex;
	padding: 30px 0;
	border-top: 1px solid #404a5a;
}

.pricing-plan-row.first-row {
	border-top: none;
	margin-top: 0px;
}

.pricing-plan-row.last-row {
	margin-bottom: 0px;
}

.pricing-label {
	width: 30%;
	flex-shrink: 0;
}

.pricing-value {
	flex-grow: 1;
	font-size: 28px;
	line-height: 38px;
	font-weight: 400;
	color: var(--text-white);
}

.vat-text {
	font-size: 20px;
	line-height: 38px;
	font-weight: 400;
	color: var(--text-tertiary);
}

.pricing-value-column {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.pricing-step-item {
	display: flex;
	align-items: center;
	gap: 10px;
}

.pricing-support-item {
	display: flex;
	align-items: center;
	gap: 10px;
}

.step-number {
	min-width: 24px;
}

.text-tertiary {
	color: var(--text-tertiary);
}

.text-accent {
	color: var(--accent-color);
}
.text-primary {
	color: var(--primary-color);
}

/* FAQ 섹션 */
.section-pricing-faq {
	background: white;
	padding: 180px 0;
}

.pricing-faq-container {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.faq-title {
	background: linear-gradient(90deg, #153885 0%, #2563eb 58%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	color: transparent;
	text-align: center;
	margin-bottom: 87px;
}

.faq-list {
	display: flex;
	flex-direction: column;
}

.faq-item {
	border-bottom: 1px solid var(--text-tertiary);
	overflow: hidden;
}

.faq-question {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 40px 0;
	cursor: pointer;
	user-select: none;
	gap: 10px;
	-webkit-tap-highlight-color: transparent; /* 모바일 탭 하이라이트 제거 */
}

.faq-q-text-group {
	display: flex;
	align-items: center;
	gap: 56px;
}

.faq-q-mark {
	font-size: 40px;
	line-height: 52px;
	font-weight: 700;
}

.faq-q-text {
	font-size: 40px;
	line-height: 52px;
	font-weight: 700;
	color: var(--text-main);
	margin: 0;
}

.faq-toggle-btn {
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
}

.faq-toggle-btn svg .vertical {
	transition: opacity 0.3s ease;
}

/* Active State */
.faq-item.active .faq-toggle-btn svg .vertical {
	opacity: 0;
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
	max-height: 500px;
	transition: max-height 0.3s ease-in;
}

.faq-answer-content {
	padding-left: 87px;
	padding-bottom: 60px;
	color: var(--text-main);
}

/* 하단 CTA 섹션 */
.section-pricing-cta {
	background-image: url('/www/assets/images/pricing/pricing_cta_bg.png'); /* Pricing specific bg */
}

.cta-content {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 50px;
	text-align: center;
}

.cta-title {
	color: white;
	margin-bottom: 20px;
}

.cta-subtitle {
	color: white;
	margin-bottom: 0;
}

.cta-btn-wrapper {
	display: flex;
	align-items: center;
	gap: 33px;
}

.cta-btn {
	padding: 18px 32px;
	border-radius: 50px;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	text-decoration: none;
	transition: all 0.2s ease;
}

.cta-btn-secondary {
	background: white;
	color: var(--primary-color);
}

.cta-btn-primary {
	background: var(--primary-color);
	color: white;
}

/* 태블릿 반응형 (Max-width: 1023px) */

@media (max-width: 1023px) {
	.section-pricing-header {
		padding: 20px 0;
	}

	.pricing-hero-content {
		padding: 100px 0;
	}

	/* 3. Pricing CTA - Layout handled by .subpage-cta-section */

	.pricing-step-item {
		align-items: start;
	}

	.step-number {
		line-height: 36px;
	}

	.pricing-value {
		font-size: 24px;
		line-height: 36px;
	}

	.pricing-value-column {
		gap: 0px;
	}

	.price-plan-title {
		margin-bottom: 60px;
	}

	.cta-btn-wrapper {
		flex-direction: column;
		gap: 15px;
	}

	/* CTA 버튼 너비 조정 (선택 사항, 메인과 통일) */
	.cta-btn {
		width: fit-content;
		min-width: 230px;
	}
	/* 4. Pricing Plan & FAQ Padding */
	.section-pricing-plan,
	.section-pricing-faq {
		padding: 100px 0;
	}

	.faq-q-text-group {
		gap: 30px;
	}

	.faq-q-mark,
	.faq-q-text {
		font-size: 28px;
		line-height: 38px;
	}

	.faq-question {
		padding: 30px 0;
	}

	/* FAQ Toggle Button Size */
	.faq-toggle-btn svg {
		width: 30px;
		height: 30px;
	}

	.faq-answer-content {
		padding-bottom: 45px;
		padding-left: 55px;
	}

	/* FAQ Toggle Button Size */
	.faq-toggle-btn svg {
		width: 30px;
		height: 30px;
	}
}

/* 모바일 반응형 (Max-width: 767px) */

@media (max-width: 767px) {
	/* 1. 이용요금 헤더 */
	.section-pricing-header {
		padding: 15px 0;
	}

	/* 2. 이용요금 히어로 */
	.pricing-hero-content {
		padding: 80px 0;
	}

	.pricing-hero-title-group h1 {
		font-size: 28px; /* h1 모바일 사이즈 대응 (필요 시 style.css의 유틸리티가 처리하겠지만, 폰트 사이즈가 너무 크면 조정) */
		line-height: 1.3;
	}

	.pricing-hero-desc {
		font-size: 16px; /* h4 모바일 대응 */
		padding: 0 20px;
	}

	/* 3. Pricing CTA - Layout handled by .subpage-cta-section */

	.cta-btn {
		min-width: 210px; /* 모바일 버튼 너비 조정 */
	}
	/* 4. Pricing Plan & FAQ Padding */
	.section-pricing-plan,
	.section-pricing-faq {
		padding: 60px 0;
	}

	/* 5. 요금제 레이아웃 */
	.pricing-plan-row {
		gap: 15px;
		align-items: flex-start;
		padding: 24px 0;
	}

	.pricing-plan-row.first-row {
		margin-top: 0;
	}

	.pricing-label {
		width: 25%;
	}

	.step-number {
		line-height: 30px;
	}

	.pricing-value {
		font-size: 20px;
		line-height: 30px;
	}

	.vat-text {
		font-size: 16px;
	}

	.price-plan-title {
		margin-bottom: 40px;
	}

	.pricing-support-item {
		align-items: start;
	}

	/* 6. FAQ 레이아웃 */
	.faq-title {
		margin-bottom: 40px;
	}

	.faq-q-text-group {
		gap: 20px;
		align-items: flex-start;
	}

	.faq-question {
		align-items: flex-start;
		padding: 20px 0;
	}

	.faq-q-mark,
	.faq-q-text {
		font-size: 20px;
		line-height: 28px;
	}

	.faq-answer-content {
		padding-left: 35px;
		padding-bottom: 30px;
		padding-right: 10px;
	}

	/* FAQ Toggle Button Size */
	.faq-toggle-btn svg {
		width: 24px;
		height: 24px;
	}
}
