/**
 * PAUD Jateng landing — premium layout (tokens from Home preset PAUD/TK)
 */

*, *::before, *::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body.guru-home {
	--th-primary: #642c91;
	--th-secondary: #3b1a57;
	--th-accent: #c9a227;
	--th-surface: #faf8fc;
	--th-surface-2: #efe9f3;
	--th-surface-card: #ffffff;
	--th-heading: #2a1545;
	--th-text: #241a2e;
	--th-muted: #645a6e;
	--th-border: rgba(100, 44, 145, 0.14);
	--th-radius: 16px;
	--th-radius-lg: 28px;
	--th-shadow-sm: 0 4px 16px rgba(45, 20, 70, 0.06);
	--th-shadow-md: 0 16px 48px rgba(45, 20, 70, 0.12);
	--th-font-root: 17px;
	--th-font-root-mobile: 16px;
	--th-text-xs: 12px;
	--th-text-sm: 0.875rem;
	--th-text-md: 1rem;
	--th-text-lg: 1.0625rem;
	--th-text-xl: 1.125rem;
	--th-line-body: 1.65;
	--th-line-relaxed: 1.75;

	margin: 0;
	font-family: 'Urbanist', system-ui, -apple-system, 'Segoe UI', sans-serif;
	font-size: var(--th-font-root);
	line-height: var(--th-line-body);
	color: var(--th-text);
	background: var(--th-surface);
	-webkit-font-smoothing: antialiased;
}

@media (max-width: 1024px) {
	body.guru-home {
		font-size: var(--th-font-root-mobile);
	}
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

.guru-container {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 clamp(18px, 4vw, 40px);
}

/* Header / top bar */
.guru-topbar {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid var(--th-border);
	box-shadow: var(--th-shadow-sm);
}

.guru-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	min-height: 64px;
	gap: 1rem;
}

.guru-logo {
	font-family: 'Days One', sans-serif;
	font-size: clamp(1.125rem, 2.5vw, 1.35rem);
	font-weight: 400;
	color: var(--th-primary);
	letter-spacing: 0.02em;
}

.guru-logo:hover,
.guru-logo:focus-visible {
	color: var(--th-secondary);
	outline: none;
}

/* Mobile menu toggle (vertical three dots) */
.guru-menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	border: none;
	border-radius: 12px;
	background: transparent;
	color: var(--th-primary);
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
	-webkit-tap-highlight-color: transparent;
}

.guru-menu-toggle:hover,
.guru-menu-toggle:focus-visible {
	background: rgba(100, 44, 145, 0.1);
	outline: none;
}

.guru-menu-toggle__dots {
	display: block;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: currentColor;
	box-shadow: 0 -7px 0 currentColor, 0 7px 0 currentColor;
}

.guru-nav-panel {
	display: block;
}

.guru-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.guru-nav a {
	font-size: var(--th-text-sm);
	font-weight: 600;
	color: var(--th-muted);
	padding: 0.35rem 0.5rem;
	border-radius: 8px;
	transition: color 0.2s ease, background 0.2s ease;
}

.guru-nav a:hover,
.guru-nav a:focus-visible {
	color: var(--th-primary);
	background: var(--th-primary-soft, rgba(100, 44, 145, 0.1));
	outline: none;
}

.guru-nav-overlay {
	display: none;
}

@media (max-width: 1024px) {
	.guru-menu-toggle {
		display: flex;
		order: 2;
	}

	.guru-logo {
		order: 1;
		flex: 1;
	}

	.guru-nav-panel {
		order: 3;
		width: 100%;
	}

	.guru-nav-panel {
		position: fixed;
		top: 64px;
		left: 0;
		right: 0;
		z-index: 100010;
		max-height: min(70vh, 420px);
		overflow-y: auto;
		padding: 12px clamp(18px, 4vw, 40px) 16px;
		background: #fff;
		border-bottom: 1px solid var(--th-border);
		box-shadow: 0 12px 32px rgba(45, 20, 70, 0.14);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
		pointer-events: none;
	}

	body.guru-nav-open .guru-nav-panel,
	.guru-nav-panel.is-open {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
		pointer-events: auto;
	}

	.guru-nav {
		display: flex;
		flex-direction: column;
		gap: 0;
	}

	.guru-nav li {
		border-bottom: 1px solid rgba(100, 44, 145, 0.08);
	}

	.guru-nav li:last-child {
		border-bottom: none;
	}

	.guru-nav a {
		display: block;
		padding: 12px 8px;
		font-size: var(--th-text-md);
	}

	.guru-nav-overlay {
		display: block;
		position: fixed;
		inset: 64px 0 0;
		z-index: 100009;
		background: rgba(15, 23, 42, 0.45);
	}

	.guru-nav-overlay[hidden] {
		display: none;
	}

	body.guru-nav-open {
		overflow: hidden;
	}
}

@media (min-width: 1025px) {
	.guru-topbar__inner {
		flex-wrap: nowrap;
	}

	.guru-nav-panel {
		position: static;
		width: auto;
		max-height: none;
		overflow: visible;
		padding: 0;
		background: transparent;
		border: none;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
		pointer-events: auto;
	}
}

/* Hero */
.guru-hero {
	position: relative;
	padding: clamp(56px, 10vw, 100px) 0 clamp(48px, 8vw, 72px);
	background: linear-gradient(155deg, #fff 0%, var(--th-surface) 40%, #efe6f5 100%);
	overflow: hidden;
}

.guru-hero::before {
	content: '';
	position: absolute;
	width: 320px;
	height: 320px;
	top: -80px;
	right: -60px;
	border-radius: 50%;
	background: rgba(100, 44, 145, 0.08);
	filter: blur(40px);
	pointer-events: none;
}

.guru-hero__content {
	position: relative;
	text-align: center;
	max-width: 780px;
	margin: 0 auto;
}

.guru-kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 16px;
	padding: 8px 16px;
	border-radius: 999px;
	background: var(--th-surface-card);
	border: 1px solid var(--th-border);
	box-shadow: var(--th-shadow-sm);
	font-size: var(--th-text-xs);
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--th-primary);
}

.guru-kicker__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--th-accent);
	box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.16);
}

.guru-hero__title {
	font-size: clamp(1.5rem, 4.2vw, 2.35rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.03em;
	color: var(--th-heading);
	margin: 0 0 16px;
}

.guru-hero__lead {
	font-size: clamp(var(--th-text-md), 2.2vw, var(--th-text-lg));
	color: var(--th-muted);
	line-height: var(--th-line-relaxed);
	margin: 0 auto 28px;
	max-width: 640px;
}

.guru-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
}

/* Buttons */
.guru-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 26px;
	border-radius: 999px;
	font-weight: 700;
	font-size: var(--th-text-md);
	line-height: 1.2;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.guru-btn:focus-visible {
	outline: 3px solid var(--th-accent);
	outline-offset: 3px;
}

.guru-btn--primary {
	background: var(--th-primary);
	border-color: var(--th-primary);
	color: #fff;
	box-shadow: 0 8px 24px rgba(100, 44, 145, 0.32);
}

.guru-btn--primary:hover {
	background: var(--th-secondary);
	border-color: var(--th-secondary);
	transform: translateY(-2px);
}

.guru-btn--whatsapp {
	background: #25d366;
	border-color: #25d366;
	color: #fff;
	box-shadow: 0 8px 24px rgba(37, 211, 102, 0.28);
}

.guru-btn--whatsapp:hover {
	background: #1ebe57;
	border-color: #1ebe57;
	transform: translateY(-2px);
}

.guru-btn--whatsapp .fa {
	font-size: 1.15em;
	line-height: 1;
}

.guru-btn--outline {
	background: #fff;
	color: var(--th-primary);
	border-color: var(--th-primary);
	box-shadow: var(--th-shadow-sm);
}

.guru-btn--outline:hover {
	background: var(--th-primary);
	color: #fff;
}

/* Main sections */
.guru-main {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.guru-section {
	padding: clamp(48px, 8vw, 88px) 0;
}

.guru-section--alt {
	background: var(--th-surface-2);
}

.guru-section-head {
	text-align: center;
	max-width: 720px;
	margin: 0 auto clamp(28px, 5vw, 44px);
}

.guru-section-head__title {
	font-size: clamp(1.35rem, 3.2vw, 2rem);
	font-weight: 800;
	color: var(--th-heading);
	margin: 0 0 12px;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.guru-section-head__title::after {
	content: '';
	display: block;
	width: 48px;
	height: 4px;
	margin: 14px auto 0;
	border-radius: 4px;
	background: linear-gradient(90deg, var(--th-primary), var(--th-accent));
}

.guru-section-head__lead {
	font-size: var(--th-text-lg);
	color: var(--th-muted);
	line-height: var(--th-line-relaxed);
	margin: 0;
}

/* Product package cards — compact horizontal tiles */
#paket.guru-section {
	padding-top: clamp(40px, 6vw, 72px);
	padding-bottom: clamp(40px, 6vw, 72px);
}

.guru-paket-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

@media (max-width: 767px) {
	.guru-paket-grid {
		grid-template-columns: 1fr;
		gap: 10px;
	}
}

.guru-product-card {
	position: relative;
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	align-items: center;
	column-gap: 12px;
	padding: 12px 14px;
	text-decoration: none;
	color: inherit;
	background: linear-gradient(145deg, #fff 0%, #faf8ff 100%);
	border: 1px solid rgba(100, 44, 145, 0.1);
	border-radius: 14px;
	box-shadow: 0 2px 12px rgba(100, 44, 145, 0.06);
	overflow: hidden;
	transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
	-webkit-tap-highlight-color: transparent;
}

.guru-product-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 3px;
	height: 100%;
	background: linear-gradient(180deg, var(--th-primary), var(--th-accent));
	opacity: 0;
	transition: opacity 0.22s ease;
}

.guru-product-card:hover,
.guru-product-card:focus-visible {
	transform: translateY(-3px);
	box-shadow: 0 10px 28px rgba(100, 44, 145, 0.12);
	border-color: rgba(100, 44, 145, 0.22);
	outline: none;
}

.guru-product-card:hover::before,
.guru-product-card:focus-visible::before {
	opacity: 1;
}

.guru-product-card__media {
	width: 72px;
	height: 72px;
	border-radius: 11px;
	overflow: hidden;
	flex-shrink: 0;
	background: var(--th-surface-2);
	box-shadow: inset 0 0 0 1px rgba(100, 44, 145, 0.08);
	grid-row: 1 / -1;
	align-self: center;
}

.guru-product-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

.guru-product-card:hover .guru-product-card__media img {
	transform: scale(1.06);
}

.guru-product-card__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
	padding: 0;
}

.guru-product-card__label {
	margin: 0;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.09em;
	color: var(--th-primary);
	line-height: 1.2;
}

.guru-product-card__name {
	margin: 0;
	font-size: clamp(0.9rem, 2vw, 1rem);
	font-weight: 800;
	color: var(--th-heading);
	line-height: 1.3;
	letter-spacing: -0.02em;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.guru-product-card__desc {
	margin: 0;
	font-size: var(--th-text-xs);
	color: var(--th-muted);
	line-height: 1.45;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.guru-product-card__price {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin: 4px 0 0;
	padding: 0;
	border-top: none;
}

.guru-product-card__price-meta {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 4px 8px;
	min-width: 0;
}

.guru-product-card__price-from {
	font-size: 10px;
	font-weight: 600;
	color: var(--th-muted);
	letter-spacing: 0.02em;
}

.guru-product-card__price-value {
	font-size: 0.95rem;
	font-weight: 800;
	color: var(--th-primary);
	letter-spacing: -0.02em;
	line-height: 1.2;
}

.guru-product-card__price-value--free {
	color: #0d9488;
}

.guru-product-card__arrow {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(100, 44, 145, 0.08);
	color: var(--th-primary);
	font-size: 15px;
	opacity: 0.75;
	transition: opacity 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.guru-product-card:hover .guru-product-card__arrow,
.guru-product-card:focus-visible .guru-product-card__arrow {
	opacity: 1;
	transform: translateX(2px);
}

.guru-product-card:hover .guru-product-card__arrow {
	background: var(--th-primary);
	color: #fff;
}

@media (min-width: 768px) {
	.guru-product-card {
		grid-template-columns: 80px minmax(0, 1fr);
		column-gap: 14px;
		padding: 13px 15px;
	}

	.guru-product-card__media {
		width: 80px;
		height: 80px;
	}
}

/* Media blocks */
.guru-media {
	text-align: center;
	max-width: 900px;
	margin: 0 auto;
}

.guru-media__img {
	border-radius: var(--th-radius);
	box-shadow: var(--th-shadow-md);
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.guru-media__img:hover {
	transform: scale(1.01);
	box-shadow: var(--th-shadow-md);
}

.guru-media__actions {
	margin-top: 24px;
}

/* Contact */
.guru-contact-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	max-width: 720px;
	margin: 0 auto;
}

.guru-contact-grid a {
	font-size: var(--th-text-sm);
	font-weight: 600;
	color: var(--th-heading);
	background: var(--th-surface-card);
	padding: 10px 16px;
	border-radius: 999px;
	border: 1px solid var(--th-border);
	box-shadow: var(--th-shadow-sm);
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.guru-contact-grid a:hover {
	background: var(--th-primary);
	color: #fff;
	transform: translateY(-2px);
}

/* Footer */
.guru-footer {
	padding: 28px 20px calc(28px + env(safe-area-inset-bottom, 0));
	text-align: center;
	font-size: var(--th-text-sm);
	color: var(--th-muted);
	background: var(--th-surface-card);
	border-top: 1px solid var(--th-border);
}

@media (max-width: 1024px) {
	body.th-home-with-bottom-nav .guru-footer {
		padding-bottom: calc(28px + 88px);
	}
}

/* Modal */
.guru-modal {
	position: fixed;
	inset: 0;
	z-index: 20000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(15, 23, 42, 0.82);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}

.guru-modal[hidden] {
	display: none;
}

.guru-modal__close {
	position: absolute;
	top: 16px;
	right: 20px;
	width: 44px;
	height: 44px;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.guru-modal__img {
	max-width: min(92vw, 960px);
	max-height: 88vh;
	border-radius: var(--th-radius);
	box-shadow: var(--th-shadow-lg);
}

/* TikTok embed */
.guru-embed {
	display: flex;
	justify-content: center;
	margin-top: 16px;
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}

	html {
		scroll-behavior: auto;
	}
}
