@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,600&family=Reddit+Sans:wght@400;500;600;700&display=swap');

:root {
	--qris-primary: #20486C;
	--qris-primary-dark: #142555;
	--qris-accent-blue: #1363C6;
	--qris-red: #FF123E;
	--qris-title-blue: #1F486C;
	--qris-light-blue: #ECF5FF;
	--qris-light: #ffffff;
	--qris-dark: #000000;
	--qris-card-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

* {
	box-sizing: border-box;
}

body {
	font-family: 'Poppins', sans-serif;
	color: var(--qris-dark);
	background-color: #ffffff;
	overflow-x: hidden;
	margin: 0;
	padding: 0;
}

/* ============================================================
   NAVBAR / HEADER
   ============================================================ */
.mp-navbar {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	background: rgba(255, 255, 255, 0.70);
	border-bottom: 1px solid rgba(255, 255, 255, 0.4);
	padding: 16px 0;
}

.mp-navbar .navbar-brand img {
	max-height: 58px;
	width: auto;
}

.mp-navbar .nav-link {
	font-family: 'Reddit Sans', sans-serif;
	color: #142555;
	font-size: 17px;
	font-weight: 600;
	padding: 8px 16px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.mp-navbar .nav-link:hover {
	color: var(--qris-accent-blue);
}

.mp-navbar .nav-link i.fa-chevron-down {
	font-size: 11px;
	color: #616161;
}

.mp-navbar .btn-contact {
	background-color: var(--qris-accent-blue);
	color: #ffffff;
	border-radius: 20px;
	font-family: 'Reddit Sans', sans-serif;
	font-weight: 600;
	font-size: 17px;
	padding: 8px 28px;
	border: none;
	text-decoration: none;
	display: inline-block;
	transition: all 0.2s ease;
}

.mp-navbar .btn-contact:hover {
	background-color: #0b4da1;
	color: #ffffff;
}

/* ============================================================
   HERO SECTION (GERAI QRIS)
   Phone on Left, Logo + Title on Right
   ============================================================ */
.section-header {
	min-height: 857px;
	background: url('images/bg-hero.webp') no-repeat center top / cover;
	position: relative;
	display: flex;
	align-items: center;
	padding-top: 100px;
	padding-bottom: 50px;
}

.section-header .hp-mockup {
	width: 341px;
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
}

.section-header .hero-logo {
	width: 209px;
	height: auto;
	margin-bottom: 24px;
}

.section-header h1.hero-title {
	color: var(--qris-primary);
	font-size: 50px;
	font-weight: 600;
	letter-spacing: 0.5px;
	margin: 0;
	text-align: center;
}

/* ============================================================
   ABOUT SECTION (CARD GERAI QRIS)
   ============================================================ */
.section-about {
	padding: 70px 0 90px 0;
	position: relative;
}

.section-about .about-wrapper {
	position: relative;
	max-width: 636px;
	margin: 0 auto;
}

.section-about .about-glow {
	position: absolute;
	top: 20%;
	left: -80px;
	width: 350px;
	height: 270px;
	background: #C7DAF5;
	box-shadow: 180px 180px 180px #C7DAF5;
	filter: blur(100px);
	border-radius: 50%;
	z-index: 0;
	pointer-events: none;
}

.section-about .card {
	position: relative;
	z-index: 1;
	border: none;
	border-radius: 15px;
	box-shadow: var(--qris-card-shadow);
	overflow: hidden;
	background: #ffffff;
}

.section-about .va-card-header {
	background-color: var(--qris-primary);
	color: #ffffff;
	padding: 24px 20px;
	border-bottom: none;
	border-radius: 15px 15px 0 0;
	text-align: center;
}

.section-about .va-card-header h3 {
	font-size: 35px;
	font-weight: 600;
	margin: 0;
	color: #ffffff;
}

.section-about .card-body {
	padding: 35px 30px;
}

.section-about .card-body p {
	color: #000000;
	font-size: 19px;
	line-height: 1.6;
	margin: 0;
	font-weight: 400;
}

/* ============================================================
   ALUR PENDAFTARAN GERAI QRIS (FULL WIDTH BAND)
   ============================================================ */
.section-alur-pendaftaran {
	width: 100%;
	background-color: var(--qris-light-blue);
	padding: 70px 0 80px 0;
	margin: 30px 0 50px 0;
	position: relative;
	overflow: hidden;
}

/* Wavy background mesh on bottom-left */
.alur-mesh-bg {
	position: absolute;
	left: 0;
	bottom: -20px;
	width: 750px;
	max-width: 60%;
	height: auto;
	opacity: 0.85;
	pointer-events: none;
	z-index: 1;
}

.section-alur-pendaftaran .content-container {
	position: relative;
	z-index: 2;
}

.alur-stand-img {
	width: 317px;
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
	filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.12));
}

.alur-text-box h2.alur-red-title {
	color: var(--qris-red);
	font-size: 35px;
	font-weight: 600;
	text-align: center;
	margin-bottom: 25px;
}

.alur-text-box p {
	color: #000000;
	font-size: 18px;
	line-height: 1.65;
	text-align: center;
	margin-bottom: 22px;
}

.alur-text-box p:last-child {
	margin-bottom: 0;
}

/* ============================================================
   TYPOGRAPHY HEADINGS (MATCHING DESIGN COLORS)
   Red Super-Title: #FF123E, Blue Sub-Title: #1F486C
   ============================================================ */
.title-group-center {
	text-align: center;
	margin-bottom: 45px;
}

h2.heading-red {
	color: var(--qris-red);
	font-size: 35px;
	font-weight: 600;
	margin: 0;
	line-height: 1.3;
}

h3.subheading-blue {
	color: var(--qris-title-blue);
	font-size: 25px;
	font-weight: 600;
	margin-top: 8px;
	margin-bottom: 0;
	line-height: 1.35;
}

/* ============================================================
   PENDAFTARAN NMID (5 STEPS PROCESS)
   ============================================================ */
.section-pendaftaran-nmid {
	padding: 50px 0 70px 0;
	position: relative;
}

.nmid-steps-container {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	gap: 24px;
	flex-wrap: wrap;
}

.nmid-step-card {
	flex: 1 1 200px;
	max-width: 230px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.nmid-pin-wrapper {
	position: relative;
	width: 61px;
	height: 97px;
	margin: 0 auto 20px auto;
	display: flex;
	align-items: flex-start;
	justify-content: center;
}

.nmid-pin-wrapper img.pin-bg {
	width: 100%;
	height: 100%;
	display: block;
	pointer-events: none;
}

.nmid-pin-wrapper span.pin-num {
	position: absolute;
	top: 7px;
	left: 7px;
	width: 47px;
	height: 47px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: var(--qris-red);
	font-size: 26px;
	font-weight: 700;
	line-height: 1;
	user-select: none;
}

.nmid-step-text {
	color: #1F486C;
	font-size: 16px;
	line-height: 1.55;
	font-weight: 400;
}

/* ============================================================
   PROSES PENDAFTARAN LAYANAN MERCHANT (ROUNDED LIGHT BLUE BOX)
   ============================================================ */
.section-layanan-merchant {
	padding: 50px 0;
}

.layanan-merchant-box {
	background-color: var(--qris-light-blue);
	border-radius: 15px;
	box-shadow: var(--qris-card-shadow);
	padding: 50px 30px;
	min-height: 380px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	overflow: hidden;
}

.layanan-merchant-img {
	width: 100%;
	max-width: 100%;
	height: auto;
	display: block;
	margin: 35px auto 0 auto;
	object-fit: contain;
}

/* ============================================================
   PROSES TRANSAKSI (ALUR TRANSAKSI MERCHANT QRIS)
   Has Diagram 1 (Flowchart) AND Diagram 2 (5 Step Cards)
   ============================================================ */
.section-alur-transaksi {
	padding: 60px 0;
}

.diagram-item-img {
	width: 100%;
	max-width: 1469px;
	height: auto;
	display: block;
	margin: 0 auto 40px auto;
}

.diagram-cards-img {
	width: 100%;
	max-width: 1448px;
	height: auto;
	display: block;
	margin: 0 auto;
}

/* ============================================================
   GERAI QRIS MOBILE
   ============================================================ */
.section-qris-mobile {
	padding: 60px 0;
}

.mockup-mobile-img {
	width: 100%;
	max-width: 1249px;
	height: auto;
	display: block;
	margin: 0 auto;
}

/* ============================================================
   KELEBIHAN GERAI QRIS
   ============================================================ */
.section-kelebihan-qris {
	padding: 60px 0;
}

.kelebihan-table-img {
	width: 100%;
	max-width: 1353px;
	height: auto;
	display: block;
	margin: 0 auto;
}

/* ============================================================
   INFRASTRUKTUR YANG PERLU DISIAPKAN
   ============================================================ */
.section-infrastruktur {
	padding: 60px 0 90px 0;
}

.infrastruktur-diagram-img {
	width: 100%;
	max-width: 1137px;
	height: auto;
	display: block;
	margin: 0 auto;
}

/* ============================================================
   SLANTED FOOTER (EXACT FIGMA DESIGN)
   ============================================================ */
.section-footer-slanted {
	position: relative;
	margin-top: 0;
	font-family: 'Reddit Sans', sans-serif;
	color: #ffffff;
}

.footer-curve-svg {
	display: block;
	width: 100%;
	height: auto;
	margin-bottom: -1px;
}

.footer-main-wrap {
	background: linear-gradient(180deg, #14183E 0%, #142555 55%, #1363C6 100%);
	padding: 30px 0 25px 0;
	position: relative;
	z-index: 2;
}

.footer-logo-img {
	width: 144px;
	height: auto;
	margin-bottom: 20px;
}

.footer-address-item {
	display: flex;
	align-items: flex-start;
	margin-bottom: 24px;
}

.footer-address-item i {
	font-size: 18px;
	margin-right: 14px;
	margin-top: 4px;
}

.footer-address-item p {
	font-size: 16px;
	line-height: 1.5;
	margin: 0;
	color: #ffffff;
}

.footer-iso-img {
	width: 162px;
	height: auto;
}

.footer-contact-item {
	display: flex;
	align-items: center;
	margin-bottom: 8px;
}

.footer-contact-item i {
	width: 22px;
	margin-right: 12px;
	font-size: 16px;
}

.section-footer-slanted h6.footer-col-title {
	font-size: 16px;
	font-weight: 700;
	color: #ffffff;
	margin-bottom: 12px;
}

.section-footer-slanted a {
	color: #ffffff;
	font-size: 16px;
	text-decoration: none;
	display: block;
	margin-bottom: 6px;
	transition: opacity 0.2s;
}

.section-footer-slanted a:hover {
	opacity: 0.85;
	text-decoration: underline;
}

.footer-social-icons {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 20px;
	margin-top: 25px;
	margin-bottom: 15px;
}

.footer-social-icons a {
	color: #ffffff;
	font-size: 20px;
	margin: 0;
}

.footer-social-icons a:hover {
	opacity: 0.8;
}

.footer-copyright {
	font-size: 16px;
	color: #ffffff;
	text-align: center;
	margin: 0;
}

/* ============================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ============================================================ */
@media (max-width: 991.98px) {
	.mp-navbar {
		background: rgba(255, 255, 255, 0.95);
	}
	.mp-navbar .navbar-collapse {
		background: #ffffff;
		padding: 20px;
		border-radius: 12px;
		margin-top: 10px;
		box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	}
	.section-header {
		text-align: center;
		min-height: auto;
		padding-top: 110px;
	}
	.section-header .hp-mockup {
		margin-bottom: 30px;
	}
	.alur-stand-img {
		margin-bottom: 30px;
	}
	.nmid-steps-container {
		justify-content: center;
	}
	.nmid-step-card {
		flex: 1 1 200px;
		margin-bottom: 25px;
	}
}

@media (max-width: 767.98px) {
	.section-header h1.hero-title {
		font-size: 34px;
	}
	.section-about .va-card-header h3 {
		font-size: 26px;
	}
	.section-about .card-body p {
		font-size: 16px;
	}
	h2.heading-red {
		font-size: 26px;
	}
	h3.subheading-blue {
		font-size: 20px;
	}
	.alur-text-box h2.alur-red-title {
		font-size: 26px;
	}
	.alur-text-box p {
		font-size: 16px;
	}
	.layanan-merchant-box {
		padding: 30px 16px;
		min-height: auto;
	}
	.layanan-merchant-img {
		margin-top: 20px;
	}
}


/* ============================================================
   AMAZING ANIMATIONS & MICRO-INTERACTIONS (GERAI QRIS)
   ============================================================ */
@keyframes floatQrisPhone {
	0%, 100% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-14px);
	}
}

@keyframes floatAcrylicStand {
	0%, 100% {
		transform: translateY(0) rotate(0deg);
	}
	50% {
		transform: translateY(-10px) rotate(1deg);
	}
}

@keyframes pulseQrisGlow {
	0%, 100% {
		transform: scale(1);
		opacity: 0.5;
	}
	50% {
		transform: scale(1.12);
		opacity: 0.8;
	}
}

/* Hero Section */
.section-header .hp-mockup {
	animation: floatQrisPhone 5.5s ease-in-out infinite;
	filter: drop-shadow(0 20px 40px rgba(20, 72, 108, 0.28));
	transition: transform 0.4s ease;
}

.section-header .hp-mockup:hover {
	transform: scale(1.04) translateY(-16px);
}

.hero-logo {
	transition: transform 0.35s ease;
}

.hero-logo:hover {
	transform: scale(1.08) rotate(3deg);
}

/* Acrylic Stand */
.alur-stand-img {
	animation: floatAcrylicStand 5s ease-in-out infinite;
	filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.15));
	transition: transform 0.4s ease;
}

.alur-stand-img:hover {
	transform: scale(1.05) translateY(-12px);
}

/* About Card */
.section-about .card {
	transition: all 0.35s ease;
}

.section-about .card:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 45px rgba(0, 78, 164, 0.22) !important;
}

.section-about .about-glow {
	animation: pulseQrisGlow 5s ease-in-out infinite;
}

/* NMID 5-Step Cards */
.nmid-step-card {
	transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
	border: 1px solid rgba(19, 99, 198, 0.1);
}

.nmid-step-card:hover {
	transform: translateY(-8px) scale(1.015);
	box-shadow: 0 16px 36px rgba(19, 99, 198, 0.18) !important;
	border-color: var(--qris-accent-blue) !important;
}

.nmid-step-card:hover .nmid-pin-wrapper {
	transform: scale(1.15);
}

.nmid-pin-wrapper {
	transition: all 0.3s ease;
}

/* Diagrams, Flowcharts & Tables Zoom Container */
.layanan-merchant-box,
.section-alur-transaksi,
.section-qris-mobile,
.section-kelebihan-qris,
.section-infrastruktur {
	position: relative;
}

.layanan-merchant-img,
.diagram-item-img,
.diagram-cards-img,
.mockup-mobile-img,
.kelebihan-table-img,
.infrastruktur-diagram-img {
	border-radius: 16px;
	transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.layanan-merchant-img:hover,
.diagram-item-img:hover,
.diagram-cards-img:hover,
.mockup-mobile-img:hover,
.kelebihan-table-img:hover,
.infrastruktur-diagram-img:hover {
	transform: scale(1.02) translateY(-4px);
	box-shadow: 0 20px 45px rgba(19, 99, 198, 0.18);
}
