@font-face {
	font-display: swap;
	font-family: "Prompt";
	font-style: normal;
	font-weight: 400;
	src: url("../fonts/Prompt-Regular.ttf") format("truetype");
}

@font-face {
	font-display: swap;
	font-family: "Prompt";
	font-style: normal;
	font-weight: 600;
	src: url("../fonts/Prompt-SemiBold.ttf") format("truetype");
}

@font-face {
	font-display: swap;
	font-family: "Prompt";
	font-style: normal;
	font-weight: 700;
	src: url("../fonts/Prompt-Bold.ttf") format("truetype");
}

.acfs-gateway-landing {
	--green-900: oklch(0.32 0.10 145);
	--green-800: #017a3d;
	--green-700: #019247;
	--green-600: oklch(0.62 0.16 145);
	--green-500: oklch(0.72 0.14 145);
	--green-400: oklch(0.82 0.10 140);
	--green-300: oklch(0.90 0.07 135);
	--green-200: oklch(0.94 0.04 135);
	--green-100: oklch(0.97 0.02 130);
	--cream-50: oklch(0.99 0.012 90);
	--cream-100: oklch(0.97 0.018 88);
	--cream-200: oklch(0.94 0.022 85);
	--ink: oklch(0.22 0.02 145);
	--ink-soft: oklch(0.42 0.02 145);
	--ink-faint: oklch(0.58 0.02 145);
	--bg: var(--cream-50);
	--surface: #ffffff;
	--shadow-sm: 0 1px 2px rgba(20, 50, 30, 0.06), 0 1px 1px rgba(20, 50, 30, 0.04);
	--shadow-md: 0 6px 18px -8px rgba(20, 50, 30, 0.18), 0 2px 6px rgba(20, 50, 30, 0.06);
	--font-thai: "Prompt", system-ui, sans-serif;
	--font-en: "Inter", "IBM Plex Sans", system-ui, sans-serif;
	--r-sm: 8px;
	--r-md: 14px;
	--r-lg: 22px;
	--r-xl: 32px;
	--r-pill: 999px;
	display: block;
	width: 100%;
}

.acfs-gateway-landing,
.acfs-gateway-landing *,
.acfs-gateway-landing *::before,
.acfs-gateway-landing *::after {
	box-sizing: border-box;
}

.acfs-gateway-landing .gateway-page {
	color: var(--ink);
	font-family: var(--font-thai);
	min-height: 0;
	width: 100%;
}

.acfs-gateway-landing .gateway-container {
	position: relative;
}

.acfs-gateway-landing .container-xl {
	margin-left: auto;
	margin-right: auto;
	padding-left: 12px;
	padding-right: 12px;
	width: 100%;
}

.acfs-gateway-landing .container-fluid {
	margin-left: auto;
	margin-right: auto;
	padding-left: 12px;
	padding-right: 12px;
	width: 100%;
}

.acfs-gateway-landing .row {
	display: flex;
	flex-wrap: wrap;
	margin-left: -12px;
	margin-right: -12px;
	margin-top: 0;
}

.acfs-gateway-landing .row > * {
	flex-shrink: 0;
	max-width: 100%;
	padding-left: 12px;
	padding-right: 12px;
	width: 100%;
}

.acfs-gateway-landing .ecoding-container {
	padding-bottom: 4rem;
	padding-top: 4rem;
}

.acfs-gateway-landing .ecoding-container > .container,
.acfs-gateway-landing .ecoding-container > .container-xl {
	position: relative;
}

.acfs-gateway-landing .fw-semibold {
	font-weight: 600;
}

.acfs-gateway-landing .btn {
	align-items: center;
	border: 1px solid transparent;
	border-radius: var(--r-pill);
	cursor: pointer;
	display: inline-flex;
	font-family: var(--font-thai);
	font-size: 15px;
	font-weight: 600;
	gap: 10px;
	line-height: normal;
	padding: 14px 24px;
	text-decoration: none;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.acfs-gateway-landing .btn:active {
	transform: translateY(1px);
}

.acfs-gateway-landing .btn .arrow {
	display: inline-block;
	height: 16px;
	width: 16px;
}

.acfs-gateway-landing .btn-primary {
	background: var(--green-700);
	color: #ffffff;
}

.acfs-gateway-landing .btn-primary:hover,
.acfs-gateway-landing .btn-primary:focus {
	background: var(--green-800);
	box-shadow: 0 10px 24px -8px color-mix(in oklch, var(--green-700) 70%, transparent);
	color: #ffffff;
	text-decoration: none;
	transform: translateY(-1px);
}

.acfs-gateway-landing .btn-ghost {
	background: transparent;
	border-color: color-mix(in oklch, var(--green-400) 60%, white);
	color: var(--ink-soft);
}

.acfs-gateway-landing .btn-ghost:hover,
.acfs-gateway-landing .btn-ghost:focus {
	background: var(--green-100);
	border-color: var(--green-700);
	color: var(--green-800);
	text-decoration: none;
}

.acfs-gateway-landing .btn-secondary {
	background: #ffffff;
	border-color: color-mix(in oklch, var(--green-700) 25%, white);
	color: var(--green-800);
}

.acfs-gateway-landing .btn-secondary:hover,
.acfs-gateway-landing .btn-secondary:focus {
	background: var(--green-100);
	border-color: var(--green-700);
	color: var(--green-800);
	text-decoration: none;
}

.acfs-gateway-landing .acfs-card {
	align-items: center;
	border: unset;
	display: flex;
	gap: 0;
	overflow: visible;
}

.acfs-gateway-landing .ecoding-side {
	align-items: center;
	display: flex;
	flex: 0 0 50%;
	justify-content: center;
	min-height: 320px;
	overflow: visible;
	position: relative;
}

.acfs-gateway-landing .ecoding-bg-img {
	align-items: center;
	display: flex;
	height: 100%;
	justify-content: center;
	width: 100%;
}

.acfs-gateway-landing .ecoding-bg-img .laptop-img {
	display: block;
	height: 100%;
	object-fit: contain;
	width: 100%;
}

.acfs-gateway-landing .mascot-wrapper {
	align-items: center;
	display: flex;
	justify-content: center;
	position: absolute;
	right: 0;
	top: 40%;
	transform: translate(-30%, -50%);
	z-index: 10;
}

.acfs-gateway-landing .mascot-img {
	display: block;
	height: 260px;
	object-fit: contain;
	width: auto;
}

.acfs-gateway-landing .acfs-text-side {
	flex: 0 0 50%;
	overflow: visible;
	padding: 48px 48px 48px 0;
	position: relative;
	z-index: 1;
}

.acfs-gateway-landing .acfs-text-content {
	width: 100%;
}

.acfs-gateway-landing .acfs-welcome {
	color: var(--ink-soft);
	font-size: 15px;
	margin: 0 0 8px;
}

.acfs-gateway-landing .acfs-title {
	background: linear-gradient(90deg, var(--green-800), #01c15c);
	background-clip: text;
	font-family: var(--font-thai);
	font-size: clamp(26px, 3vw, 40px);
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 20px;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.acfs-gateway-landing .acfs-desc {
	color: var(--ink-soft);
	font-size: 16px;
	line-height: 1.7;
	margin: 0 0 32px;
	max-width: 48ch;
}

.acfs-gateway-landing .acfs-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
}

.acfs-gateway-landing .supplychain-container {
	background-color: #fafaf6;
}

.acfs-gateway-landing .supplychain-container.py-5 {
	padding-bottom: 3rem;
	padding-top: 3rem;
}

.acfs-gateway-landing .eyebrow {
	align-items: center;
	background: color-mix(in oklch, var(--green-200) 70%, white);
	border-radius: var(--r-pill);
	color: var(--green-800);
	display: inline-flex;
	font-size: 13px;
	font-weight: 500;
	gap: 8px;
	letter-spacing: 0.02em;
	padding: 6px 14px;
}

.acfs-gateway-landing .eyebrow .dot {
	animation: acfs-gateway-pulse-dot 2s ease-in-out infinite;
	background: var(--green-700);
	border-radius: 50%;
	box-shadow: 0 0 0 4px color-mix(in oklch, var(--green-700) 25%, transparent);
	height: 6px;
	width: 6px;
}

.acfs-gateway-landing .h-title-th {
	color: var(--green-800);
	font-family: var(--font-thai);
	font-size: clamp(28px, 4.2vw, 52px);
	font-weight: 700;
	letter-spacing: -0.01em;
	line-height: 1.15;
	margin: 14px 0 8px;
}

.acfs-gateway-landing .h-title-en {
	color: var(--ink-faint);
	font-family: var(--font-en);
	font-size: clamp(13px, 1.2vw, 16px);
	font-weight: 500;
	letter-spacing: 0.18em;
	margin: 0;
	text-transform: uppercase;
}

.acfs-gateway-landing .h-lead {
	color: var(--ink-soft);
	font-family: var(--font-thai);
	font-size: clamp(15px, 1.25vw, 18px);
	line-height: 1.7;
	max-width: 56ch;
}

.acfs-gateway-landing .system-tag {
	align-items: center;
	background: color-mix(in oklch, var(--green-200) 70%, white);
	border-radius: var(--r-pill);
	display: inline-flex;
	gap: 12px;
	margin-bottom: 24px;
	padding: 6px 14px 6px 6px;
}

.acfs-gateway-landing .system-num {
	background: var(--green-700);
	border-radius: 50%;
	color: #ffffff;
	display: inline-grid;
	font-family: var(--font-en);
	font-size: 13px;
	font-weight: 700;
	height: 28px;
	place-items: center;
	width: 28px;
}

.acfs-gateway-landing .system-tag-label {
	color: var(--green-800);
	font-family: var(--font-en);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.acfs-gateway-landing .diagram-head {
	align-items: flex-start;
	display: flex;
	gap: 40px;
	justify-content: space-around;
	margin-bottom: 32px;
}

.acfs-gateway-landing .diagram-head .acfs-title {
	flex: 0 0 auto;
	margin-bottom: 0;
}

.acfs-gateway-landing .diagram-head .acfs-desc {
	flex: 1;
	margin-bottom: 0;
}

.acfs-gateway-landing .sc-steps-heading {
	margin: 28px 0 24px;
}

.acfs-gateway-landing .step-pill {
	align-items: center;
	background: color-mix(in oklch, var(--green-200) 70%, white);
	border-radius: var(--r-pill);
	color: var(--green-800);
	display: inline-flex;
	font-family: var(--font-en);
	font-size: 12px;
	font-weight: 600;
	gap: 10px;
	letter-spacing: 0.14em;
	padding: 6px 14px;
}

.acfs-gateway-landing .step-pill-dot {
	background: var(--green-700);
	border-radius: 50%;
	box-shadow: 0 0 0 4px color-mix(in oklch, var(--green-700) 25%, transparent);
	height: 6px;
	width: 6px;
}

.acfs-gateway-landing .diagram-grid {
	align-items: center;
	display: grid;
	gap: 56px;
	grid-template-columns: 1fr 360px;
}

.acfs-gateway-landing .diagram-stage {
	aspect-ratio: 1 / 1;
	margin: 0 auto;
	max-width: 560px;
	overflow: visible;
	position: relative;
	width: 100%;
}

.acfs-gateway-landing .diagram-svg {
	height: 100%;
	overflow: visible;
	width: 100%;
}

.acfs-gateway-landing .node-label {
	pointer-events: none;
	position: absolute;
	text-align: center;
	transition: transform 0.3s ease;
	width: 110px;
}

.acfs-gateway-landing .node-label .n-th {
	color: var(--green-900);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	word-break: keep-all;
}

.acfs-gateway-landing .node-label .n-en {
	color: var(--ink-faint);
	font-family: var(--font-en);
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.08em;
	margin-top: 3px;
	text-transform: uppercase;
}

.acfs-gateway-landing .node-label.active .n-th {
	color: var(--green-700);
}

.acfs-gateway-landing .detail-card {
	animation: acfs-gateway-fade-slide 0.4s ease;
	background-color: #ffffff;
	border: 1px solid color-mix(in oklch, var(--green-300) 60%, white);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-sm);
	min-height: 280px;
	overflow: hidden;
	padding: 28px;
	position: relative;
}

.acfs-gateway-landing .detail-card::before {
	background: var(--green-700);
	content: "";
	height: 4px;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
}

.acfs-gateway-landing .d-inline-flex {
	display: inline-flex;
}

.acfs-gateway-landing .gap-3 {
	gap: 1rem;
}

.acfs-gateway-landing .detail-step-num {
	align-items: center;
	background: var(--green-700);
	border-radius: 50%;
	color: #ffffff;
	display: inline-flex;
	font-family: var(--font-en);
	font-size: 18px;
	font-weight: 700;
	height: 44px;
	justify-content: center;
	width: 44px;
}

.acfs-gateway-landing .detail-eyebrow {
	color: var(--ink-faint);
	font-family: var(--font-en);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.18em;
	margin-top: 18px;
	text-transform: uppercase;
}

.acfs-gateway-landing .detail-title-th {
	color: var(--green-900);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.25;
	margin: 6px 0 2px;
}

.acfs-gateway-landing .detail-title-en {
	color: var(--ink-soft);
	font-family: var(--font-en);
	font-size: 14px;
	font-weight: 500;
	margin-bottom: 12px;
}

.acfs-gateway-landing .detail-body {
	color: var(--ink-soft);
	font-size: 15px;
	line-height: 1.65;
	margin-bottom: 0;
}

.acfs-gateway-landing .detail-body-en {
	color: var(--ink-faint);
	font-size: 13px;
	font-style: italic;
	margin-top: 8px;
}

.acfs-gateway-landing .step-dots {
	display: flex;
	gap: 6px;
	margin-top: 22px;
}

.acfs-gateway-landing .step-dot {
	background: var(--green-200);
	border: none;
	border-radius: 2px;
	cursor: pointer;
	height: 4px;
	padding: 0;
	transition: background 0.2s ease, width 0.25s ease;
	width: 24px;
}

.acfs-gateway-landing .step-dot.active {
	background: var(--green-700);
	width: 36px;
}

.acfs-gateway-landing .footnote {
	color: var(--ink-faint);
	font-family: var(--font-en);
	font-size: 13px;
	margin-top: 56px;
	text-align: center;
}

.acfs-gateway-landing .animate-float {
	animation: acfs-gateway-float 5s infinite ease-in-out;
}

@keyframes acfs-gateway-fade-slide {
	from {
		opacity: 0;
		transform: translateY(8px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes acfs-gateway-float {
	0%,
	100% {
		transform: translateY(0);
	}

	50% {
		transform: translateY(-12px);
	}
}

@keyframes acfs-gateway-pulse-dot {
	0%,
	100% {
		box-shadow: 0 0 0 4px color-mix(in oklch, var(--green-700) 25%, transparent);
	}

	50% {
		box-shadow: 0 0 0 7px color-mix(in oklch, var(--green-700) 12%, transparent);
	}
}

@media (min-width: 1200px) {
	.acfs-gateway-landing .container-xl {
		max-width: 1140px;
	}
}

@media (min-width: 1400px) {
	.acfs-gateway-landing .container-xl {
		max-width: 1320px;
	}
}

@media (max-width: 991px) {
	.acfs-gateway-landing .mascot-wrapper {
		transform: translate(-20%, -50%);
	}

	.acfs-gateway-landing .mascot-wrapper .mascot-img {
		height: 200px;
	}
}

@media (max-width: 980px) {
	.acfs-gateway-landing .diagram-grid {
		gap: 36px;
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.acfs-gateway-landing .acfs-card {
		flex-direction: column;
	}

	.acfs-gateway-landing .ecoding-side {
		flex: none;
		min-height: 240px;
		width: 100%;
	}

	.acfs-gateway-landing .ecoding-container {
		padding-bottom: 2rem;
		padding-top: 2rem;
	}

	.acfs-gateway-landing .ecoding-container > .container,
	.acfs-gateway-landing .ecoding-container > .container-xl {
		padding-left: 16px;
		padding-right: 16px;
	}

	.acfs-gateway-landing .mascot-wrapper {
		display: none;
	}

	.acfs-gateway-landing .ecoding-bg-img .laptop-img {
		height: 100%;
		object-fit: contain;
		width: 100%;
	}

	.acfs-gateway-landing .acfs-text-side {
		flex: none;
		padding: 28px 20px;
		width: 100%;
	}

	.acfs-gateway-landing .acfs-title {
		font-size: clamp(22px, 5vw, 28px);
	}

	.acfs-gateway-landing .acfs-desc {
		font-size: 14px;
		margin-bottom: 24px;
	}

	.acfs-gateway-landing .acfs-actions {
		flex-direction: column;
	}

	.acfs-gateway-landing .acfs-actions > * {
		justify-content: center;
		width: 100%;
	}

	.acfs-gateway-landing .system-row {
		padding: 36px 22px;
	}

	.acfs-gateway-landing .diagram-grid {
		gap: 24px;
	}

	.acfs-gateway-landing .diagram-head {
		flex-direction: column;
		gap: 12px;
		padding: 0 24px;
	}

	.acfs-gateway-landing .diagram-head .acfs-desc {
		font-size: 14px;
	}

	.acfs-gateway-landing .detail-card {
		min-height: auto;
		padding: 20px;
	}
}

@media (max-width: 480px) {
	.acfs-gateway-landing .ecoding-container {
		padding-bottom: 1rem;
		padding-top: 1rem;
	}

	.acfs-gateway-landing .acfs-card {
		flex-direction: column;
	}

	.acfs-gateway-landing .ecoding-side {
		flex: none;
		min-height: 200px;
		width: 100%;
	}

	.acfs-gateway-landing .laptop-img {
		height: 200px;
	}

	.acfs-gateway-landing .acfs-text-side {
		flex: none;
		padding: 16px 12px;
		width: 100%;
	}

	.acfs-gateway-landing .system-row {
		flex: none;
		padding: 16px 12px;
		width: 100%;
	}

	.acfs-gateway-landing .diagram-stage {
		max-width: 320px;
	}

	.acfs-gateway-landing .node-label {
		width: 80px;
	}

	.acfs-gateway-landing .node-label .n-th {
		font-size: 11px;
	}

	.acfs-gateway-landing .node-label .n-en {
		font-size: 8px;
	}
}
