@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600&family=Space+Grotesk:wght@500;700&display=swap');

.lotsa-light-home {
	background: linear-gradient(135deg, #f8fafc 0%, #ecfdf5 45%, #fefce8 100%);
	color: #0f172a;
	min-height: 100vh;
}

.lotsa-light-home .jg-page {
	font-family: "Plus Jakarta Sans", sans-serif;
	background: transparent;
	position: relative;
	overflow: hidden;
}

/* Irregular soft halo/glow layer for entire page */
.lotsa-light-home .jg-page::before {
	content: '';
	position: fixed;
	inset: 0;
	pointer-events: none;
	background: 
		radial-gradient(circle at 20% 30%, rgba(251, 191, 36, 0.12) 0%, transparent 50%),
		radial-gradient(circle at 75% 65%, rgba(165, 243, 252, 0.18) 0%, transparent 55%),
		radial-gradient(circle at 45% 85%, rgba(192, 132, 252, 0.08) 0%, transparent 60%);
	z-index: -1;
	opacity: 0.85;
}

.jg-hero-banner {
	position: relative;
	background-image:
		linear-gradient(180deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0.56) 55%, rgba(255, 255, 255, 0.68) 100%),
		url("../image/bg-1-1920x1201.png");
	background-size: cover, cover;
	background-position: center, top center;
	background-repeat: no-repeat, no-repeat;
}

.jg-bg-grid {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image:
		linear-gradient(to right, rgba(15, 23, 42, 0.06) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(15, 23, 42, 0.06) 1px, transparent 1px);
	background-size: 40px 40px;
	opacity: 0.55;
}

.jg-bg-glow {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(circle at 15% 25%, rgba(234, 179, 8, 0.25) 0%, transparent 45%),
		radial-gradient(circle at 80% 35%, rgba(165, 243, 252, 0.22) 0%, transparent 50%),
		radial-gradient(circle at 40% 75%, rgba(192, 132, 252, 0.15) 0%, transparent 55%);
	filter: blur(1px);
	opacity: 0.75;
	z-index: -1;
}

.deco-circle {
	display: none;
}

.deco-circle--one {
	top: 320px;
	left: -180px;
	width: 540px;
	height: 540px;
	opacity: 0.42;
}

.deco-circle--two {
	bottom: 220px;
	right: -220px;
	width: 640px;
	height: 640px;
	opacity: 0.35;
}

.jg-hero-kicker,
.jg-kicker {
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-size: 0.72rem;
	color: #475569;
	font-weight: 500;
}

.jg-hero-title,
.jg-section-title,
.jg-card-title {
	font-family: "Space Grotesk", sans-serif;
}

.jg-hero-title {
	position: relative;
	line-height: 1.1;
	font-size: clamp(1.4rem, 3.5vw, 2.5rem);
	margin-top: 1rem;
	font-weight: 700;
	color: #020617;
	max-width: 32ch;
}

.jg-hero-ghost {
	display: block;
	font-size: clamp(2.8rem, 11vw, 9rem);
	opacity: 0.1;
	margin-top: 0.5rem;
}

.jg-hero-desc {
	max-width: 48rem;
	margin-top: 1.3rem;
	font-size: 1.05rem;
	line-height: 1.8;
	color: #1e293b;
}

.jg-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.82rem 1.6rem;
	font-weight: 600;
	font-size: 0.96rem;
	text-decoration: none;
	transition: all 0.45s ease;
}

.jg-cta--primary {
	background: #febe03;
	color: #0a1128;
	clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}

.jg-cta--primary:hover {
	clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 100%, 12px 100%);
	box-shadow: 0 20px 44px rgba(254, 190, 3, 0.35);
	transform: translateY(-1px);
}

.jg-cta--secondary {
	background: rgba(255, 255, 255, 0.72);
	color: #0f172a;
	border: 1px solid rgba(148, 163, 184, 0.42);
	clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

.jg-cta--secondary:hover {
	clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
	border-color: rgba(254, 190, 3, 0.35);
}

.jg-glass-card {
	background: rgba(255, 255, 255, 0.7);
	backdrop-filter: blur(30px) saturate(180%);
	-webkit-backdrop-filter: blur(30px) saturate(180%);
	border: 0;
	box-shadow: none;
	border-radius: 1.05rem;
	padding: 1.4rem;
	transition: transform 0.6s ease;
}

.jg-glass-card:hover {
	transform: none;
	box-shadow: none;
}

.jg-metric-label {
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: #64748b;
}

.jg-metric-value {
	margin-top: 0.6rem;
	font-size: clamp(1.8rem, 4.5vw, 2.5rem);
	font-family: "Space Grotesk", sans-serif;
	color: #020617;
}

.jg-metric-note {
	margin-top: 0.6rem;
	color: #475569;
}

.jg-chip {
	display: inline-block;
	font-size: 0.7rem;
	padding: 0.24rem 0.5rem;
	border-radius: 999px;
	background: rgba(254, 190, 3, 0.1);
	color: #7a5f00;
	margin-bottom: 0.65rem;
}

.jg-card-title {
	font-size: clamp(1.02rem, 1.5vw, 1.2rem);
	margin-bottom: 0.6rem;
	color: #0f172a;
}

.jg-band {
	position: relative;
}

.jg-band--electric {
	margin-top: 0;
	background: transparent;
	/* 原模板用 px-0 导致标题与图贴边；用变量统一左右边，与 theme-style 全站 --lv-gutter-x 一致，且不依赖 Tailwind */
	padding-left: max(var(--lv-gutter-x, 1rem), env(safe-area-inset-left, 0px));
	padding-right: max(var(--lv-gutter-x, 1rem), env(safe-area-inset-right, 0px));
	box-sizing: border-box;
}

.jg-band--electric .jg-band__inner {
	box-sizing: border-box;
}

.jg-band--electric .jg-section-title {
	margin-bottom: 0;
}

.jg-band--electric .jg-split-card {
	background: transparent;
	padding: 0;
	border-radius: 0;
}

/* Mga Kategorya：三行分栏卡之间的垂直间距 */
.jg-category-stack {
	display: flex;
	flex-direction: column;
	gap: clamp(1.75rem, 3.5vw, 3rem);
}

/* FAQ 区块：全站仅此处使用 jg-band--dark，淡黄底 + 深黄卡 */
.jg-band--dark {
	background: linear-gradient(180deg, #fffbeb 0%, #fef9c3 100%);
}

.jg-faq-section .jg-section-title {
	color: #0f172a;
	margin-bottom: 1rem;
}

.jg-faq-section .jg-glass-card {
	background: linear-gradient(160deg, #febe03 0%, #d4a000 100%);
	border: 1px solid rgba(120, 90, 0, 0.2);
	color: #0a1128;
	border-radius: 1rem;
	padding: 1.3rem;
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

.jg-faq-section .jg-card-title {
	color: #0a1128;
}

.jg-faq-section .jg-section-desc {
	color: #334155;
	margin-top: 0.7rem;
	line-height: 1.72;
}

.jg-value-section,
.jg-popular-section,
.jg-safe-section {
	background: transparent;
}

.jg-value-section .jg-section-title,
.jg-popular-section .jg-section-title,
.jg-safe-section .jg-section-title {
	margin-top: 0;
	margin-bottom: 1.1rem;
}

.jg-value-section .jg-glass-card,
.jg-popular-section .jg-glass-card,
.jg-safe-section .jg-glass-card {
	background: transparent;
	border-radius: 0;
	padding: 0;
}

.jg-popular-section .jg-section-desc,
.jg-safe-section .jg-section-desc,
.jg-value-section .jg-section-desc {
	line-height: 1.78;
}

.jg-extra-faq {
	margin-top: 4rem;
	padding-top: 0;
}

.jg-faq-item {
	border-bottom: 1px solid rgba(15, 23, 42, 0.1);
	padding-bottom: 0.8rem;
}

.jg-faq-item:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.jg-faq-trigger {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.35rem 0;
	text-align: left;
	font-family: "Space Grotesk", sans-serif;
	font-size: clamp(0.95rem, 1.8vw, 1.2rem);
	line-height: 1.35;
	color: #0f172a;
	background: transparent;
	border: 0;
	cursor: pointer;
}

.jg-faq-trigger .faq-icon {
	flex-shrink: 0;
	font-size: 1.45rem;
	line-height: 1;
	color: #febe03;
	transition: transform 0.35s ease;
}

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

.faq-panel--smooth {
	overflow: hidden;
	max-height: 0;
	opacity: 0;
	transition: max-height 0.45s ease, opacity 0.35s ease;
}

.faq-panel--smooth.open {
	max-height: 16rem;
	opacity: 1;
}

.jg-faq-answer {
	padding-top: 0.45rem;
}

.jg-faq-answer .jg-section-desc {
	margin-top: 0.35rem;
}

.jg-section-title {
	margin-top: 0;
	font-size: clamp(1.35rem, 3.1vw, 2.1rem);
	line-height: 1.1;
	color: #020617;
}

.jg-section-desc {
	margin-top: 1rem;
	color: #334155;
	line-height: 1.8;
}

.jg-steps {
	padding-left: 1rem;
	display: grid;
	gap: 0.65rem;
	color: #1e293b;
}

.jg-glass-card img {
	width: 100%;
	aspect-ratio: 16 / 10;
	border-radius: 0.8rem;
	background: #f5f7fa;
	border: 0;
	object-fit: cover;
}

/* About：左文右图，图片列 40%；垂直居中；配图完整显示 */
.jg-about-stack {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.jg-about-figure {
	margin: 0;
}

.jg-about-figure.jg-glass-card {
	padding: 0;
	overflow: hidden;
}

.jg-about-figure .jg-about-figure__img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 0.8rem;
	aspect-ratio: auto;
	max-height: min(50vh, 420px);
	object-fit: contain;
	object-position: center;
	background: #f1f5f9;
}

@media (max-width: 767px) {
	/* 小屏：仍先图后文（顺序与 DOM 不同） */
	.jg-about-stack {
		display: flex;
		flex-direction: column;
	}

	.jg-about-figure {
		order: -1;
	}

	.jg-about-copy {
		order: 0;
	}
}

@media (min-width: 768px) {
	.jg-about-stack {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 40%);
		gap: 1.5rem 2rem;
		align-items: center;
	}

	.jg-about-figure,
	.jg-about-copy {
		order: unset;
	}

	.jg-about-figure .jg-about-figure__img {
		max-height: none;
		min-height: 0;
		aspect-ratio: auto;
		object-fit: contain;
	}
}

/* Mga Kategorya：图完整显示、不裁切高度；图列更窄；文图列垂直居中对齐 */
.jg-band--electric .jg-split-card--category {
	align-items: center;
}

.jg-band--electric .jg-split-card--category .jg-split-media {
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 100%;
}

.jg-band--electric .jg-split-card--category .jg-split-media img {
	width: 100%;
	max-width: 100%;
	height: auto;
	max-height: none;
	min-height: 0;
	aspect-ratio: auto;
	object-fit: contain;
	object-position: center;
}

@media (min-width: 1024px) {
	.jg-band--electric .jg-split-card--category:not(.jg-split-card--reverse) {
		grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
	}

	.jg-band--electric .jg-split-card--category.jg-split-card--reverse {
		grid-template-columns: minmax(0, 1fr) minmax(0, 200px);
	}

	.jg-band--electric .jg-split-card--category .jg-split-media {
		max-width: 200px;
	}
}

.jg-value-split {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: 1fr;
}

.jg-value-figure {
	margin: 0;
}

.jg-value-figure.jg-glass-card {
	padding: 0;
	overflow: visible;
	background: transparent;
	border: 0;
	box-shadow: none;
}

.jg-value-figure .jg-value-hero {
	width: 100%;
	height: auto;
	display: block;
	aspect-ratio: auto;
	max-height: none;
	object-fit: contain;
	object-position: center;
	border-radius: 0.8rem;
}

@media (min-width: 1024px) {
	/* 左文右图，图列 40%，垂直居中 */
	.jg-value-split {
		grid-template-columns: minmax(0, 1fr) minmax(0, 40%);
		gap: 1.75rem 2rem;
		align-items: center;
	}

	.jg-value-copy {
		grid-column: 1;
		grid-row: 1;
	}

	.jg-value-figure {
		grid-column: 2;
		grid-row: 1;
	}
}

.jg-about-split {
	display: grid;
	grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
	.jg-about-split {
		grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
		align-items: start;
	}
}

.jg-page > section {
	padding-top: 4rem;
	padding-bottom: 4rem;
}

@media (max-width: 768px) {
	.jg-page > section {
		padding-top: 3rem;
		padding-bottom: 3rem;
	}

	.jg-extra-faq {
		margin-top: 3rem;
	}
}

.jg-split-card {
	display: grid;
	gap: 1.5rem;
	align-items: center;
	padding: 1.6rem;
}

.jg-split-content {
	display: flex;
	flex-direction: column;
}

.jg-split-content .jg-card-title {
	margin-top: 0.35rem;
	margin-bottom: 0.55rem;
}

.jg-split-content .jg-section-desc {
	margin-top: 0.55rem;
}

.jg-split-content .jg-cta {
	width: fit-content;
}

@media (max-width: 1024px) {
	.deco-circle--one,
	.deco-circle--two {
		display: none;
	}
}

@media (min-width: 1024px) {
	.jg-split-card {
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
		gap: 2.2rem;
		padding: 2rem;
	}

	.jg-split-card--reverse .jg-split-media {
		order: 2;
	}

	.jg-split-card--reverse .jg-split-content {
		order: 1;
	}
}
