/* TEEN.AI Theme Base — tokens + chrome. Visual landings: Page Builder. */

:root {
	--color-primary: #7c3aed;
	--color-primary-hover: #6d28d9;
	--color-on-primary: #ffffff;
	--color-secondary: #06b6d4;
	--color-on-secondary: #041016;
	--color-tertiary: #10b981;
	--color-on-tertiary: #041016;
	--color-child-accent: #a3e635;
	--color-on-child-accent: #0f0f1a;
	--color-background: #0f0f1a;
	--color-on-background: #e2e8f0;
	--color-surface-lowest: #0a0a14;
	--color-surface-low: #151528;
	--color-surface-container: #1a1a2e;
	--color-surface-high: #252542;
	--color-outline: #4c1d95;
	--color-outline-variant: #2e1065;
	--color-muted: #94a3b8;
	--color-muted-strong: #64748b;
	--color-glow-violet: #8b5cf6;
	--color-glow-cyan: #22d3ee;
	--color-error: #f87171;
	--color-on-error: #0f0f1a;
	--color-link: #c4b5fd;
	--font-display: Nunito, "Trebuchet MS", system-ui, sans-serif;
	--font-body: Manrope, "Segoe UI", system-ui, sans-serif;
	--font-mono: "JetBrains Mono", ui-monospace, monospace;
	--radius-sm: 10px;
	--radius: 16px;
	--radius-md: 20px;
	--radius-lg: 24px;
	--radius-xl: 32px;
	--radius-full: 9999px;
	--space-xs: 4px;
	--space-sm: 12px;
	--space-md: 24px;
	--space-lg: 48px;
	--space-xl: 80px;
	--gutter: 24px;
	--content-max: 1200px;
	--header-h: 72px;
	--cookie-h: 0px;
	--z-skip: 100;
	--z-header: 70;
	--z-cookie: 50;
	--duration: 320ms;
	--easing: cubic-bezier(0.22, 1, 0.36, 1);
	--glow-violet: 0 20px 60px rgba(124, 58, 237, 0.28);
	--border-hairline: 1px solid rgba(139, 92, 246, 0.18);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	overflow-x: clip;
	max-width: 100%;
}

html,
body {
	margin: 0;
	padding: 0;
	background: var(--color-background);
	color: var(--color-on-background);
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.7;
}

body.teenai-grain {
	padding-bottom: var(--cookie-h);
	background:
		radial-gradient(1200px 500px at 80% -10%, rgba(124, 58, 237, 0.18), transparent 55%),
		radial-gradient(900px 420px at 10% 0%, rgba(6, 182, 212, 0.12), transparent 50%),
		var(--color-background);
}

body.teenai-grain::before {
	content: "";
	pointer-events: none;
	position: fixed;
	inset: 0;
	z-index: 2;
	opacity: 0.045;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--color-link);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

a:hover {
	color: #ddd6fe;
}

:focus-visible {
	outline: 2px solid var(--color-child-accent);
	outline-offset: 3px;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: var(--space-md);
	top: -100px;
	z-index: var(--z-skip);
	background: var(--color-child-accent);
	color: var(--color-on-child-accent);
	padding: 12px 18px;
	border-radius: var(--radius-sm);
	font-weight: 700;
	text-decoration: none;
}

.skip-link:focus {
	top: 8px;
}

#primary,
[id] {
	scroll-margin-top: 80px;
}

/* Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: var(--z-header);
	height: var(--header-h);
	backdrop-filter: blur(16px);
	background: rgba(15, 15, 26, 0.78);
	border-bottom: var(--border-hairline);
}

.site-header__inner {
	max-width: var(--content-max);
	margin: 0 auto;
	padding: 0 var(--gutter);
	height: 100%;
	display: flex;
	align-items: center;
	gap: var(--space-md);
}

.site-logo {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 22px;
	letter-spacing: -0.04em;
	text-decoration: none;
	color: var(--color-on-background);
	flex: 0 0 auto;
}

.site-logo__ai {
	color: var(--color-glow-cyan);
}

.nav-drawer-host {
	display: contents;
}

.nav-primary {
	margin-left: auto;
}

.nav-primary__list {
	display: flex;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nav-primary__list a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 8px 12px;
	color: var(--color-on-background);
	text-decoration: none;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.04em;
}

.nav-primary__list a:hover,
.nav-primary__list a:focus-visible {
	color: var(--color-child-accent);
}

.nav-primary__cta--drawer {
	display: none;
}

.site-header__cta {
	flex: 0 0 auto;
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-left: auto;
}

.sound-fx-toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 40px;
	padding: 6px 12px;
	border-radius: var(--radius-full);
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.14);
	color: var(--color-on-background);
	font-family: var(--font-display);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	cursor: pointer;
	transition: all 0.2s ease;
}

.sound-fx-toggle:hover {
	background: rgba(6, 182, 212, 0.15);
	border-color: var(--color-glow-cyan);
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 0 12px rgba(6, 182, 212, 0.35);
}

.sound-fx-toggle[data-sound-state="on"] {
	background: rgba(163, 230, 53, 0.18);
	border-color: var(--color-glow-mint);
	color: #A3E635;
	box-shadow: 0 0 14px rgba(163, 230, 53, 0.3);
}

.sound-fx-icon {
	font-size: 14px;
	line-height: 1;
}

.sound-fx-label {
	font-size: 12px;
	text-transform: uppercase;
}

.nav-toggle {
	display: none;
	margin-left: auto;
	width: 48px;
	height: 48px;
	border: var(--border-hairline);
	border-radius: var(--radius-sm);
	background: var(--color-surface-low);
	color: var(--color-on-background);
	cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
	display: block;
	width: 18px;
	height: 2px;
	background: currentColor;
	margin: 0 auto;
	position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
	content: "";
	position: absolute;
	left: 0;
}

.nav-toggle__bars::before {
	top: -6px;
}

.nav-toggle__bars::after {
	top: 6px;
}

/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	min-width: 44px;
	padding: 16px 28px;
	border-radius: var(--radius);
	border: 2px solid transparent;
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-decoration: none;
	cursor: pointer;
	transition: transform var(--duration) var(--easing), background-color var(--duration) var(--easing);
}

.btn-primary {
	background: var(--color-primary);
	color: var(--color-on-primary);
	box-shadow: var(--glow-violet);
}

.btn-primary:hover,
.btn-primary:focus-visible {
	background: var(--color-primary-hover);
	color: var(--color-on-primary);
	text-decoration: none;
}

.js-cta-pulse {
	animation: teenai-pulse 2.8s var(--easing) infinite;
}

@keyframes teenai-pulse {
	0%,
	100% {
		transform: translateZ(0);
	}
	50% {
		transform: translateZ(0) scale(1.02);
	}
}

.btn-child {
	background: var(--color-child-accent);
	color: var(--color-on-child-accent);
	border-radius: var(--radius-full);
	min-height: 56px;
}

.btn-parent {
	background: transparent;
	color: var(--color-link);
	border-color: rgba(16, 185, 129, 0.7);
}

.btn-outline {
	background: transparent;
	color: var(--color-glow-violet);
	border-color: rgba(139, 92, 246, 0.5);
}

.btn-tokens {
	font-family: var(--font-mono);
	font-weight: 700;
}

/* ==========================================================================
   SVG Vector Icons System (Base, Buttons, Tabs, HUD, Chips, Neon Hover Glow)
   ========================================================================== */

.teenai-svg-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.25em;
	height: 1.25em;
	max-width: 100%;
	vertical-align: -0.18em;
	flex-shrink: 0;
	stroke: currentColor;
	fill: none;
	stroke-width: 1.75;
	stroke-linecap: round;
	stroke-linejoin: round;
	pointer-events: none;
	transition: transform var(--duration) var(--easing), stroke var(--duration) ease, filter var(--duration) ease, opacity var(--duration) ease;
}

/* Button SVG icons */
.btn-svg-icon {
	width: 1.15em;
	height: 1.15em;
	margin-right: 8px;
	vertical-align: -0.15em;
	transition: transform var(--duration) var(--easing), filter var(--duration) var(--easing), stroke var(--duration) ease;
}

.btn:hover .btn-svg-icon,
.btn:focus-visible .btn-svg-icon {
	transform: scale(1.15) rotate(-3deg);
	filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.7));
}

.btn-primary:hover .btn-svg-icon {
	filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.85));
}

.btn-child:hover .btn-svg-icon {
	filter: drop-shadow(0 0 8px rgba(163, 230, 53, 0.9));
}

.btn-outline:hover .btn-svg-icon {
	filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.85));
}

/* Tab & Category SVG icons */
.tab-svg-icon,
.cat-svg-icon,
.case-tab-btn svg {
	width: 1.2em;
	height: 1.2em;
	margin-right: 8px;
	vertical-align: -0.15em;
	transition: transform var(--duration) var(--easing), filter var(--duration) var(--easing), stroke var(--duration) ease;
}

button:hover .tab-svg-icon,
button:hover .cat-svg-icon,
.is-active .tab-svg-icon,
.is-active .cat-svg-icon,
.case-tab-btn:hover svg,
.case-tab-btn.is-active svg {
	transform: scale(1.14);
	filter: drop-shadow(0 0 6px var(--color-secondary, #06b6d4));
}

/* HUD & Badge SVG icons */
.hud-svg-icon,
.hud-svg {
	display: inline-flex;
	width: 1.15em;
	height: 1.15em;
	margin-right: 6px;
	vertical-align: -0.14em;
	stroke-width: 2;
	filter: drop-shadow(0 0 4px rgba(34, 211, 238, 0.45));
	transition: transform var(--duration) var(--easing), filter var(--duration) var(--easing);
}

.hud-item:hover .hud-svg,
.hud-pill:hover .hud-svg-icon {
	transform: scale(1.16);
	filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.8));
}

/* Chip & Sandbox SVG icons */
.chip-svg-icon,
.sandbox-svg-icon {
	display: inline-flex;
	width: 1.35em;
	height: 1.35em;
	margin-right: 8px;
	vertical-align: -0.18em;
	transition: transform var(--duration) var(--easing), filter var(--duration) var(--easing), stroke var(--duration) ease;
}

.sandbox-chip:hover .sandbox-svg-icon,
.sandbox-chip.is-active .sandbox-svg-icon,
.generator-chip:hover .chip-svg-icon,
.generator-chip.is-active .chip-svg-icon {
	transform: scale(1.18);
	filter: drop-shadow(0 0 8px var(--color-glow-cyan, #22d3ee));
}

/* Share SVG icons */
.share-svg-icon {
	width: 1.2em;
	height: 1.2em;
	margin-right: 8px;
	vertical-align: -0.15em;
}

/* Safety & Calculator SVG icons */
.safety-svg-icon,
.calc-svg-icon {
	width: 28px;
	height: 28px;
	stroke: var(--color-secondary, #06b6d4);
	filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.35));
}

.safety-step-item:hover .safety-svg-icon,
.calc-stat-item:hover .calc-svg-icon {
	transform: scale(1.14) rotate(4deg);
	stroke: var(--color-child-accent, #a3e635);
	filter: drop-shadow(0 0 12px rgba(163, 230, 53, 0.6));
}

/* Overlay & Prompt SVG icons */
.overlay-svg-icon {
	width: 48px;
	height: 48px;
	margin-bottom: 12px;
	stroke: var(--color-secondary, #06b6d4);
	filter: drop-shadow(0 0 16px rgba(6, 182, 212, 0.5));
}

.prompt-svg-icon {
	width: 1.25em;
	height: 1.25em;
	stroke: var(--color-secondary, #06b6d4);
	filter: drop-shadow(0 0 6px rgba(6, 182, 212, 0.6));
}

.sound-svg-icon {
	width: 20px;
	height: 20px;
	stroke: var(--color-on-background);
}

.sound-fx-toggle:hover .sound-svg-icon {
	stroke: var(--color-child-accent, #a3e635);
	filter: drop-shadow(0 0 6px var(--color-child-accent, #a3e635));
}

.sound-fx-toggle.is-muted .sound-svg-icon {
	opacity: 0.45;
	stroke: var(--color-muted);
}

/* Form chrome (Page Builder inherits) */
.form-chrome,
.form-field {
	display: grid;
	gap: 8px;
}

.form-field__label {
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.06em;
}

.form-field__input,
.form-field textarea,
.form-chrome input[type="text"],
.form-chrome input[type="email"],
.form-chrome input[type="search"],
.form-chrome textarea {
	width: 100%;
	background: var(--color-surface-low);
	border: 1px solid var(--color-outline);
	border-radius: var(--radius);
	padding: 12px 14px;
	color: var(--color-on-background);
	font: inherit;
	min-height: 48px;
}

.form-chrome textarea {
	min-height: 140px;
}

.form-consent {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	min-height: 48px;
}

.form-consent input[type="checkbox"] {
	width: 24px;
	height: 24px;
	margin-top: 4px;
	accent-color: var(--color-primary);
}

.form-error,
[aria-invalid="true"] {
	border-color: var(--color-error);
}

.form-error-text {
	color: var(--color-error);
}

.hp-field {
	position: absolute;
	left: -10000px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Main / legal */
.site-main {
	position: relative;
	z-index: 3;
	max-width: var(--content-max);
	margin: 0 auto;
	padding: var(--space-lg) var(--gutter) var(--space-xl);
	min-height: 50vh;
}

.legal-main {
	max-width: 760px;
}

.legal-doc__hero {
	background: linear-gradient(145deg, rgba(30, 30, 50, 0.88), rgba(20, 20, 35, 0.94));
	border: var(--border-hairline);
	border-radius: var(--radius-lg);
	padding: var(--space-lg) var(--space-md);
	margin-bottom: var(--space-md);
	box-shadow: var(--glow-violet);
}

.legal-doc__hero h1,
.content-card__title,
.content-none h1 {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 42px;
	line-height: 1.12;
	letter-spacing: -0.03em;
	margin: 0;
}

.legal-doc__body {
	font-size: 18px;
	font-weight: 500;
	line-height: 1.65;
}

.legal-doc__body p {
	margin: 0 0 1.2em;
}

.content-card {
	background: var(--color-surface-container);
	border: 1px solid rgba(139, 92, 246, 0.22);
	border-radius: var(--radius-md);
	padding: var(--space-md);
	margin-bottom: var(--space-md);
}

/* Footer */
.site-footer {
	position: relative;
	z-index: 3;
	background: var(--color-surface-lowest);
	padding: var(--space-xl) var(--gutter) var(--space-lg);
	border-top: var(--border-hairline);
}

.site-footer__inner {
	max-width: var(--content-max);
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--space-lg);
}

.footer-col__title {
	font-family: var(--font-display);
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin: 0 0 16px;
}

.footer-col__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-col__list li {
	margin: 0 0 10px;
}

.footer-col__list a {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
}

.site-footer__copy {
	max-width: var(--content-max);
	margin: var(--space-lg) auto 0;
	color: var(--color-muted);
	font-size: 14px;
}

/* Cookie — compact bottom bar; --cookie-h spacer from main.js */
.cookie-banner {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: var(--z-cookie);
	background: var(--color-surface-container);
	border-top: var(--border-hairline);
	max-height: 28vh;
}

.cookie-banner[hidden] {
	display: none;
}

.cookie-banner__inner {
	max-width: var(--content-max);
	margin: 0 auto;
	padding: 10px var(--gutter);
	display: flex;
	flex-direction: row;
	gap: var(--space-md);
	align-items: center;
}

.cookie-banner__text {
	margin: 0;
	font-size: 14px;
	line-height: 1.45;
	flex: 1 1 auto;
	min-width: 0;
}

.cookie-banner__accept {
	flex: 0 0 auto;
	min-height: 48px;
}

/* Drawer */
@media (max-width: 900px) {
	:root {
		--header-h: 64px;
	}

	.nav-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	/* Clip host stays inside the viewport so a closed drawer cannot expand scrollWidth. */
	.nav-drawer-host {
		display: block;
		position: fixed;
		top: var(--header-h);
		right: 0;
		bottom: 0;
		width: 0;
		max-width: 100%;
		overflow: hidden;
		pointer-events: none;
		visibility: hidden;
		z-index: var(--z-header);
	}

	body.nav-open .nav-drawer-host {
		width: min(320px, 100%);
		visibility: visible;
		pointer-events: auto;
	}

	.nav-primary {
		position: absolute;
		top: 0;
		right: 0;
		left: auto;
		width: 100%;
		height: 100%;
		background: var(--color-surface-low);
		border-left: var(--border-hairline);
		padding: var(--space-md);
		transform: translateX(100%);
		transition: transform var(--duration) var(--easing);
		margin-left: 0;
		overflow: auto;
		visibility: hidden;
		pointer-events: none;
	}

	body.nav-open .nav-primary {
		transform: translateX(0);
		visibility: visible;
		pointer-events: auto;
	}

	.nav-primary__list {
		flex-direction: column;
	}

	.nav-primary__cta--drawer {
		display: block;
		margin-top: var(--space-md);
	}

	.site-footer__inner {
		grid-template-columns: 1fr 1fr;
	}

	.legal-doc__hero h1,
	.content-card__title,
	.content-none h1 {
		font-size: 28px;
	}
}

@media (max-width: 600px) {
	.cookie-banner {
		max-height: 96px;
	}

	.cookie-banner__inner {
		flex-direction: row;
		align-items: center;
		gap: 12px;
		padding: 8px 12px;
	}

	.cookie-banner__text {
		font-size: 12px;
		line-height: 1.35;
		max-height: 80px;
		overflow-y: auto;
	}

	.cookie-banner__accept {
		min-height: 48px;
		padding: 8px 16px;
		font-size: 14px;
	}

	.site-footer__inner {
		grid-template-columns: 1fr;
	}

	.site-header__cta .btn {
		padding: 12px 16px;
		min-height: 48px;
		font-size: 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.js-cta-pulse,
	[data-motion="parent-calm"],
	* {
		animation: none !important;
		transition-duration: 0.01ms !important;
	}

	.js-hero-nebula,
	[data-hero-nebula-canvas] {
		display: none !important;
	}

	[data-motion="mascot-float"],
	[data-motion="token-crystal"],
	.js-studio-prop {
		transform: none;
	}
}

/* ========== AURORA PAGE BUILDER ========== */

.site-main--visual {
	max-width: none;
	margin: 0;
	padding: 0;
	overflow: visible;
}

.section-inner {
	max-width: var(--content-max);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.section {
	position: relative;
	padding: var(--space-xl) 0;
	overflow: visible;
}

.section h1,
.section h2,
.hero-copy h1 {
	font-family: var(--font-display);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.12;
	margin: 0 0 16px;
}

.section h2 {
	font-size: clamp(28px, 4vw, 42px);
}

.section h3 {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 22px;
	margin: 0 0 8px;
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 4px 14px;
	border-radius: var(--radius-full);
	border: 1px solid rgba(139, 92, 246, 0.3);
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--color-glow-cyan);
	margin: 0 0 16px;
}

.hero-sub,
.section-lead,
.geo-answer {
	font-size: 18px;
	font-weight: 500;
	line-height: 1.65;
	max-width: 62ch;
}

.geo-answer {
	background: rgba(21, 21, 40, 0.7);
	border-left: 3px solid var(--color-glow-cyan);
	padding: 16px 20px;
	border-radius: 0 var(--radius) var(--radius) 0;
	margin: 0 0 24px;
}

.hero-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 28px;
}

.card-glass {
	background: var(--color-surface-container);
	border: var(--border-hairline);
	border-radius: var(--radius-md);
	box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

/* Hero */
.section-hero {
	position: relative;
	overflow-x: clip;
	overflow-y: visible;
	padding: 32px 0 0;
	min-height: 72vh;
	z-index: 1;
}

.hero-orbs,
.js-hero-nebula {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: 0;
}

.orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(8px);
}

.orb--violet {
	width: 42vw;
	height: 42vw;
	max-width: 520px;
	max-height: 520px;
	left: 12%;
	top: 8%;
	background: radial-gradient(circle, rgba(139, 92, 246, 0.22), transparent 68%);
}

.orb--cyan {
	width: 36vw;
	height: 36vw;
	max-width: 420px;
	max-height: 420px;
	right: 8%;
	bottom: 10%;
	background: radial-gradient(circle, rgba(34, 211, 238, 0.18), transparent 68%);
}

.orb--mint {
	width: 28vw;
	height: 28vw;
	max-width: 320px;
	max-height: 320px;
	left: 42%;
	top: 4%;
	background: radial-gradient(circle, rgba(16, 185, 129, 0.16), transparent 68%);
}

.orb--lime {
	width: 30vw;
	height: 30vw;
	max-width: 360px;
	max-height: 360px;
	right: 12%;
	top: 20%;
	background: radial-gradient(circle, rgba(163, 230, 53, 0.16), transparent 68%);
}

.hero-inner {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 32px;
	align-items: center;
	padding-bottom: 48px;
}

.hero-copy {
	position: relative;
	z-index: 2;
}

.hero-copy h1 {
	font-size: clamp(32px, 4.6vw, 56px);
}

.hero-visual {
	position: relative;
	z-index: 3;
	margin-bottom: -80px;
}

.hero-mascot,
.hero-shield,
.hero-crystal {
	display: block;
	width: min(100%, 520px);
	height: auto;
	margin-inline: auto;
	filter: drop-shadow(0 24px 40px rgba(124, 58, 237, 0.35));
}

.hero-concave {
	display: block;
	width: 100%;
	height: 48px;
	position: relative;
	z-index: 4;
}

.section-hero--child .hero-copy h1 {
	font-size: clamp(34px, 5vw, 58px);
}

.section-hero--parent {
	background: radial-gradient(900px 400px at 80% 0%, rgba(16, 185, 129, 0.12), transparent 55%);
}

.section-hero--pricing {
	background: radial-gradient(800px 380px at 70% 20%, rgba(34, 211, 238, 0.1), transparent 50%);
}

.pricing-caustics {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: radial-gradient(circle at 70% 40%, rgba(34, 211, 238, 0.08), transparent 55%);
	animation: teenai-caustics 8s ease-in-out infinite;
}

@keyframes teenai-caustics {
	0%,
	100% {
		opacity: 0.7;
	}
	50% {
		opacity: 1;
	}
}

/* What / text bands */
.section-what {
	background: var(--color-surface-low);
	padding-top: var(--space-lg);
}

.section-fork {
	position: relative;
	z-index: 4;
	background: linear-gradient(180deg, #151528 0%, #151528 70%, #0f0f1a 100%);
}

.fork-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin-top: 24px;
}

.fork-card {
	padding: 28px 24px 32px;
	position: relative;
}

.fork-card--child {
	border-color: rgba(163, 230, 53, 0.35);
}

.fork-card--parent {
	border-color: rgba(16, 185, 129, 0.4);
}

.fork-card__visual {
	margin: -56px auto 8px;
	width: min(220px, 70%);
}

.fork-card__img {
	display: block;
	width: 100%;
	height: auto;
}

.fork-card__label {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 28px;
	margin: 0 0 8px;
}

.fork-card--child .fork-card__label {
	color: var(--color-child-accent);
}

.fork-card--parent .fork-card__label {
	color: var(--color-tertiary);
}

.fork-note {
	margin-top: 24px;
}

.inline-cta {
	font-weight: 700;
}

.fork-card:hover {
	transform: translateY(-6px);
	transition: transform 180ms var(--easing);
}

/* Studios */
.section-studios {
	background: var(--color-surface-low);
}

.studio-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 16px;
	margin-top: 32px;
}

.studio-card {
	padding: 16px 16px 24px;
	text-align: center;
}

.studio-card__prop {
	margin-top: -36px;
}

.studio-card__img {
	width: 78%;
	height: auto;
	margin: 0 auto;
	display: block;
	transition: transform 180ms var(--easing);
}

.studio-card:hover .js-studio-prop {
	transform: translateY(-8px) scale(1.03);
}

/* How-it-works + tablet overlap */
.section-how {
	background: linear-gradient(180deg, #151528 0%, #0f0f1a 100%);
	overflow: visible;
}

.how-inner {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 32px;
	align-items: start;
}

.how-visual {
	position: relative;
	z-index: 3;
	margin-top: -40px;
}

.how-tablet {
	width: 100%;
	height: auto;
	filter: drop-shadow(0 20px 36px rgba(6, 182, 212, 0.25));
}

.how-steps {
	margin: 0 0 24px;
	padding-left: 20px;
}

.how-steps li {
	margin: 0 0 12px;
}

/* Faces */
.faces-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin: 24px 0;
}

.face-card {
	padding: 16px 16px 24px;
	text-align: center;
}

.face-card__img {
	width: 70%;
	height: auto;
	margin: 0 auto 12px;
	display: block;
}

.face-card__note {
	color: var(--color-muted);
	font-size: 14px;
}

/* Tokens */
.section-tokens {
	background: linear-gradient(180deg, #0f0f1a 0%, #151528 100%);
}

.tokens-head {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 24px;
	align-items: center;
}

.tokens-crystal__img,
.hero-crystal {
	filter: drop-shadow(0 16px 32px rgba(124, 58, 237, 0.4));
}

.token-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin: 32px 0;
	align-items: stretch;
}

.token-card {
	padding: 28px 22px;
	text-align: center;
	position: relative;
}

.token-card--featured {
	transform: scale(1.04);
	z-index: 2;
	border-color: rgba(139, 92, 246, 0.45);
	box-shadow: var(--glow-violet);
}

.token-card__badge {
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	margin: 0;
	padding: 4px 14px;
	border-radius: var(--radius-full);
	background: var(--color-primary);
	color: #fff;
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-weight: 700;
}

.token-card__num,
.token-card__price {
	font-family: var(--font-mono);
	font-weight: 700;
}

.token-card__price {
	font-size: 28px;
	color: var(--color-glow-cyan);
	margin: 0 0 12px;
}

.token-card__crystal-img {
	width: 72px;
	height: 72px;
	margin: 8px auto;
	display: block;
}

.token-card__note {
	font-size: 13px;
	color: var(--color-muted);
}

.tokens-note {
	color: var(--color-muted);
}

/* Gallery */
.gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}

.gallery-tile {
	margin: 0;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--color-surface-container);
}

.gallery-tile__img {
	display: block;
	width: 100%;
	height: auto;
	transition: transform 180ms var(--easing);
	transform-origin: center;
}

.gallery-tile:hover .gallery-tile__img {
	transform: scale(1.04);
}

.gallery-tile figcaption {
	padding: 10px 12px 14px;
	font-size: 14px;
	color: var(--color-muted);
}

/* Safety / for-whom */
.section-safety {
	background: var(--color-surface-low);
}

.section-forwhom,
.section-notfor,
.section-contract,
.section-moderation,
.section-why,
.section-payment,
.section-refund,
.section-free-first,
.section-who-pays,
.section-age,
.section-start-play {
	background: var(--color-background);
}

.notfor-list {
	padding-left: 20px;
}

.notfor-list li {
	margin: 0 0 10px;
}

.legal-callout {
	display: inline-block;
	margin-top: 16px;
	padding: 8px 16px;
	border-radius: var(--radius-full);
	border: 1px solid rgba(16, 185, 129, 0.45);
	color: var(--color-tertiary);
	font-weight: 700;
}

/* Compare cards (not a table on 375) */
.compare-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 16px;
}

.compare-card {
	padding: 20px;
}

.compare-open {
	color: var(--color-muted);
	display: block;
	font-size: 13px;
}

.compare-studio {
	color: var(--color-tertiary);
	display: block;
	font-size: 13px;
	font-weight: 700;
}

/* FAQ */
.section-faq {
	background: var(--color-surface-low);
}

.faq-list {
	display: grid;
	gap: 12px;
}

.faq-item {
	background: var(--color-surface-container);
	border: var(--border-hairline);
	border-radius: var(--radius-md);
	padding: 20px 22px;
}

.faq-item h3 {
	font-size: 18px;
}

.faq-item p {
	margin: 0;
}

/* Blog typography cards — no covers */
.section-blog-slot,
.section-blog-grid {
	background: var(--color-surface-low);
}

.blog-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 16px;
}

.blog-card {
	background: var(--color-surface-container);
	border: var(--border-hairline);
	border-radius: var(--radius-md);
	padding: 20px 18px;
	min-height: 180px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.blog-card__hint {
	margin: 0;
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--color-glow-cyan);
	font-weight: 700;
}

.blog-card__title {
	font-size: 18px;
	margin: 0;
}

.blog-card__title a {
	text-decoration: none;
	color: var(--color-on-background);
}

.blog-card__seo {
	margin: 0;
	font-size: 14px;
	color: var(--color-muted);
}

/* CTA radial */
.section-cta-radial {
	position: relative;
	background: linear-gradient(180deg, #151528 0%, #0f0f1a 80%);
	padding-bottom: calc(var(--space-xl) + 24px);
}

.section-cta-radial::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.22), transparent 70%);
}

.section-cta-radial--lime::before {
	background: radial-gradient(circle at 50% 50%, rgba(163, 230, 53, 0.14), transparent 70%);
}

.section-cta-radial .section-inner {
	position: relative;
	z-index: 1;
	text-align: center;
}

.section-cta-radial .hero-cta {
	justify-content: center;
}

/* Detiam */
.teenai-detiam {
	font-size: 1.12em;
}

.section-hero--child .hero-visual {
	margin-bottom: -56px;
}

.code-spot-inner {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 24px;
	align-items: center;
}

.section-code-spot {
	background: var(--color-surface-low);
}

/* Parent form */
.form-layout {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 32px;
	align-items: start;
}

.section-form {
	background: var(--color-surface-low);
}

.form-side__img {
	width: min(100%, 360px);
	height: auto;
	margin: 0 auto;
	display: block;
}

.form-parent {
	display: grid;
	gap: 16px;
	position: relative;
}

.form-idle-hint {
	color: var(--color-muted);
	font-size: 14px;
}

.form-success {
	background: var(--color-surface-container);
	border: 1px solid rgba(16, 185, 129, 0.4);
	border-radius: var(--radius-md);
	padding: 24px;
}

.form-parent.is-busy button,
.form-courses.is-busy button {
	opacity: 0.7;
	pointer-events: none;
}

/* Courses Action Block & Form */
.section-courses-action {
	padding: var(--space-2xl) 0;
	background: radial-gradient(circle at 50% 20%, rgba(99, 102, 241, 0.08), transparent 70%);
}

.courses-action-wrapper {
	padding: 44px 36px;
	border-radius: var(--radius-lg);
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(26, 26, 46, 0.85);
	box-shadow: 0 20px 48px rgba(0, 0, 0, 0.4);
	text-align: center;
}

.courses-action-header .calc-badge {
	margin-bottom: 12px;
	display: inline-block;
}

.courses-action-header h2 {
	margin-bottom: 16px;
}

.courses-action-header .section-lead {
	max-width: 760px;
	margin: 0 auto;
	color: var(--color-muted);
}

.courses-quick-ctas {
	display: flex;
	gap: 16px;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	margin: 32px 0 40px;
}

.courses-form-container {
	max-width: 680px;
	margin: 0 auto;
	background: rgba(15, 15, 26, 0.7);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--radius-md);
	padding: 32px 28px;
	text-align: left;
}

.courses-form-heading {
	font-size: 22px;
	font-weight: 800;
	margin-bottom: 8px;
	text-align: center;
	color: var(--color-on-background);
}

.courses-form-sub {
	color: var(--color-muted);
	font-size: 14px;
	margin-bottom: 24px;
	text-align: center;
	line-height: 1.5;
}

.form-courses {
	display: grid;
	gap: 16px;
	position: relative;
}

.form-row-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.form-courses-actions {
	display: flex;
	justify-content: center;
	margin-top: 8px;
}

.form-courses-actions .btn {
	width: 100%;
	max-width: 380px;
}

@media (max-width: 640px) {
	.courses-action-wrapper {
		padding: 28px 16px;
	}
	.courses-form-container {
		padding: 20px 14px;
	}
	.form-row-grid {
		grid-template-columns: 1fr;
	}
	.courses-quick-ctas {
		flex-direction: column;
		width: 100%;
	}
	.courses-quick-ctas .btn {
		width: 100%;
	}
}

/* Vibe Coding Hero Game Showcase */
.hero-game-showcase {
	background: rgba(26, 26, 46, 0.92);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: var(--radius-lg);
	box-shadow: 0 24px 56px rgba(0, 0, 0, 0.5), 0 0 32px rgba(99, 102, 241, 0.2);
	padding: 18px;
	max-width: 490px;
	margin: 0 auto;
	position: relative;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-game-showcase:hover {
	transform: translateY(-4px);
	box-shadow: 0 30px 64px rgba(0, 0, 0, 0.6), 0 0 40px rgba(163, 230, 53, 0.25);
}

.hgs-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #A3E635;
	background: rgba(163, 230, 53, 0.12);
	border: 1px solid rgba(163, 230, 53, 0.3);
	border-radius: 999px;
	padding: 4px 12px;
	margin-bottom: 12px;
}

.hgs-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #A3E635;
	box-shadow: 0 0 8px #A3E635;
	animation: hgs-pulse 1.8s infinite ease-in-out;
}

@keyframes hgs-pulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.4; transform: scale(0.85); }
}

.hgs-media {
	position: relative;
	border-radius: var(--radius-md);
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: #0f0f1a;
}

.hgs-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.hero-game-showcase:hover .hgs-img {
	transform: scale(1.03);
}

.hgs-play-btn {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(15, 15, 26, 0.35);
	backdrop-filter: blur(2px);
	text-decoration: none;
	transition: background 0.25s ease;
}

.hgs-play-btn:hover {
	background: rgba(15, 15, 26, 0.15);
}

.hgs-play-icon {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: var(--color-primary);
	color: #0f0f1a;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	padding-left: 4px;
	box-shadow: 0 0 28px rgba(163, 230, 53, 0.6);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hgs-play-btn:hover .hgs-play-icon {
	transform: scale(1.12);
	box-shadow: 0 0 36px rgba(163, 230, 53, 0.9);
}

.hgs-caption {
	padding-top: 14px;
	text-align: left;
}

.hgs-title {
	font-size: 18px;
	font-weight: 800;
	color: var(--color-on-background);
	margin-bottom: 4px;
}

.hgs-author {
	font-size: 14px;
	font-weight: 700;
	color: #22D3EE;
	margin-bottom: 10px;
}

.hgs-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 14px;
}

.hgs-meta span {
	font-size: 11px;
	font-weight: 600;
	color: var(--color-muted);
	background: rgba(255, 255, 255, 0.06);
	padding: 3px 8px;
	border-radius: 4px;
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.hgs-actions {
	display: flex;
	gap: 10px;
}

.hgs-actions .btn {
	width: 100%;
	text-align: center;
}

/* Topic shell */
.section-topic-shell {
	padding-top: var(--space-xl);
}

.blog-landings {
	margin-top: 20px;
}

.article-byline {
	color: var(--color-muted);
}

@media (max-width: 1100px) {
	.studio-grid,
	.blog-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 900px) {
	.hero-inner,
	.how-inner,
	.tokens-head,
	.code-spot-inner,
	.form-layout {
		grid-template-columns: 1fr;
	}

	.hero-visual {
		margin-bottom: -56px;
	}

	.fork-grid,
	.faces-grid,
	.token-grid,
	.compare-grid,
	.unique-grid,
	.zoo-grid,
	.gallery-grid {
		grid-template-columns: 1fr;
	}

	.level-grid,
	.level-grid--four {
		grid-template-columns: 1fr 1fr;
	}

	.safety-split {
		grid-template-columns: 1fr;
	}

	.token-card--featured {
		transform: scale(1.02);
	}

	.how-visual {
		margin-top: -24px;
	}

	.studio-grid,
	.blog-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 600px) {
	.hero-copy h1 {
		font-size: 32px;
	}

	.hero-visual {
		margin-bottom: -40px;
	}

	.teenai-home .hero-cta {
		position: relative;
		z-index: 5;
	}

	.token-card--featured {
		transform: none;
	}

	.how-visual {
		margin-top: 0;
	}

	.studio-grid,
	.blog-grid,
	.gallery-grid,
	.level-grid,
	.level-grid--four {
		grid-template-columns: 1fr;
	}

	.fork-card__visual {
		margin-top: -28px;
	}
}

.hero-under {
	margin: 12px 0 0;
	color: var(--color-muted);
}

.hero-under a {
	color: var(--color-link);
}

/* Uniqueness / zoo / course levels */
.section-unique,
.section-courses-levels,
.section-zoo,
.section-peers,
.section-course-flow {
	background: var(--color-surface-low);
}

.unique-grid,
.zoo-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin: 24px 0;
}

.zoo-grid {
	grid-template-columns: repeat(2, 1fr);
}

.level-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin: 24px 0;
}

.level-grid--four {
	grid-template-columns: repeat(4, 1fr);
}

.unique-card,
.level-card,
.zoo-card {
	padding: 22px 20px 24px;
}

.unique-card__img,
.level-card__img {
	display: block;
	width: min(180px, 70%);
	height: auto;
	margin: 0 auto 12px;
}

.compare-axis {
	display: none;
	width: 100%;
	margin-top: 28px;
	border-collapse: collapse;
	font-size: 14px;
}

.compare-axis th,
.compare-axis td {
	border: var(--border-hairline);
	padding: 10px 12px;
	text-align: left;
	vertical-align: top;
}

.compare-axis thead th {
	background: var(--color-surface-container);
}

.safety-split {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 32px;
	align-items: center;
}

.safety-visual img {
	display: block;
	width: min(360px, 100%);
	height: auto;
	margin: 0 auto;
}

/* ========== AURORA MOTION IMPLEMENT ========== */

.js-hero-nebula,
[data-hero-nebula-canvas] {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
	pointer-events: none;
	z-index: 0;
}

[data-motion="parent-calm"] {
	animation: teenai-parent-calm 6s ease-in-out infinite;
}

@keyframes teenai-parent-calm {
	0%,
	100% {
		opacity: 1;
	}
	50% {
		opacity: 0.92;
	}
}

html[data-reduced-motion="true"] .js-hero-nebula,
html[data-reduced-motion="true"] [data-hero-nebula-canvas] {
	display: none !important;
}

html[data-reduced-motion="true"] .js-cta-pulse,
html[data-reduced-motion="true"] [data-motion="mascot-float"],
html[data-reduced-motion="true"] [data-motion="token-crystal"],
html[data-reduced-motion="true"] [data-motion="parent-calm"],
html[data-reduced-motion="true"] .js-studio-prop {
	animation: none !important;
	transform: none;
}

/* ========== AURORA HERO 2.0, BENTO SHOWROOM, CALCULATOR & SHIELD ========== */

.calc-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 14px;
	font-size: 13px;
	font-weight: 600;
	color: #22d3ee;
	background: rgba(6, 182, 212, 0.12);
	border: 1px solid rgba(6, 182, 212, 0.3);
	border-radius: 9999px;
	margin-bottom: 12px;
}

.section-header-wrap {
	text-align: center;
	max-width: 780px;
	margin: 0 auto 36px;
}

/* --- Hero 2.0 Tablet Mockup & Floating Badges --- */
.hero-tablet-mockup {
	position: relative;
	background: rgba(21, 21, 40, 0.75);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 24px;
	padding: 0;
	box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), 0 0 40px rgba(139, 92, 246, 0.25);
	max-width: 500px;
	margin: 0 auto;
}

.hero-tablet-topbar {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 12px 18px;
	background: rgba(15, 15, 28, 0.85);
	border-top-left-radius: 23px;
	border-top-right-radius: 23px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tablet-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
}
.tablet-dot.red { background: #ef4444; }
.tablet-dot.yellow { background: #f59e0b; }
.tablet-dot.green { background: #10b981; }

.tablet-title {
	font-size: 12px;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.6);
	margin-left: 8px;
}

.hero-tablet-screen {
	padding: 18px 20px 24px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.hero-live-prompt {
	display: flex;
	align-items: center;
	gap: 10px;
	background: rgba(10, 10, 20, 0.7);
	border: 1px solid rgba(34, 211, 238, 0.3);
	border-radius: 12px;
	padding: 10px 14px;
	font-size: 13px;
	color: #e2e8f0;
	width: 100%;
	margin-bottom: 12px;
	box-shadow: 0 4px 16px rgba(6, 182, 212, 0.15);
}

.prompt-cursor {
	display: inline-block;
	color: #22d3ee;
	font-weight: 300;
	margin-left: 2px;
	animation: prompt-blink 0.9s step-end infinite;
}

@keyframes prompt-blink {
	0%, 100% { opacity: 1; }
	50% { opacity: 0; }
}

.hero-screen-center {
	width: 100%;
	display: flex;
	justify-content: center;
}

.hero-badge {
	position: absolute;
	padding: 8px 16px;
	font-size: 13px;
	font-weight: 700;
	border-radius: 9999px;
	white-space: nowrap;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
	z-index: 10;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}

.hero-badge:hover {
	transform: scale(1.08) translateY(-4px) !important;
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 20px currentColor;
}

.hero-badge--tokens {
	top: -14px;
	right: -16px;
	background: rgba(245, 158, 11, 0.2);
	color: #fbbf24;
	border: 1px solid rgba(245, 158, 11, 0.5);
	animation: badge-float-tokens 4.2s ease-in-out infinite alternate;
}

.hero-badge--code {
	bottom: 40px;
	left: -20px;
	background: rgba(163, 230, 53, 0.2);
	color: #bef264;
	border: 1px solid rgba(163, 230, 53, 0.5);
	animation: badge-float-code 3.8s ease-in-out infinite alternate -1.5s;
}

.hero-badge--music {
	top: 38%;
	right: -24px;
	background: rgba(139, 92, 246, 0.2);
	color: #c4b5fd;
	border: 1px solid rgba(139, 92, 246, 0.5);
	animation: badge-float-music 4.6s ease-in-out infinite alternate -3s;
}

.hero-badge--shield {
	bottom: -12px;
	right: 15%;
	background: rgba(16, 185, 129, 0.2);
	color: #6ee7b7;
	border: 1px solid rgba(16, 185, 129, 0.5);
	animation: badge-float-shield 5.0s ease-in-out infinite alternate -0.8s;
}

@keyframes badge-float-tokens {
	0% { transform: translateY(0) rotate(0deg); }
	100% { transform: translateY(-10px) rotate(1.5deg); }
}

@keyframes badge-float-code {
	0% { transform: translateY(0) rotate(0deg); }
	100% { transform: translateY(-12px) rotate(-1.5deg); }
}

@keyframes badge-float-music {
	0% { transform: translateY(0) rotate(0deg); }
	100% { transform: translateY(-8px) rotate(1deg); }
}

@keyframes badge-float-shield {
	0% { transform: translateY(0) rotate(0deg); }
	100% { transform: translateY(-14px) rotate(-1deg); }
}

/* --- Bento Showroom 5 Studios --- */
.bento-showroom {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin: 28px 0;
}

.bento-card {
	position: relative;
	border-radius: 20px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	overflow: hidden;
	transform-style: preserve-3d;
	transition: box-shadow 0.3s ease, border-color 0.3s ease;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.bento-card:hover {
	box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 25px var(--studio-accent);
	border-color: var(--studio-accent);
}

.bento-card--photo {
	grid-column: span 2;
	background: linear-gradient(135deg, rgba(6, 182, 212, 0.12), rgba(21, 21, 40, 0.85));
	display: grid;
	grid-template-columns: 1.3fr 0.7fr;
	gap: 20px;
}

.bento-card--music {
	background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(21, 21, 40, 0.85));
}

.bento-card--code {
	background: linear-gradient(135deg, rgba(163, 230, 53, 0.12), rgba(21, 21, 40, 0.85));
}

.bento-card--video {
	background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(21, 21, 40, 0.85));
}

.bento-card--text {
	background: linear-gradient(135deg, rgba(244, 63, 94, 0.12), rgba(21, 21, 40, 0.85));
}

.bento-card__badge-wrap {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
}

.studio-badge {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 3px 10px;
	border-radius: 9999px;
}

.studio-badge--cyan { background: rgba(6, 182, 212, 0.2); color: #22d3ee; border: 1px solid rgba(6, 182, 212, 0.4); }
.studio-badge--violet { background: rgba(139, 92, 246, 0.2); color: #a78bfa; border: 1px solid rgba(139, 92, 246, 0.4); }
.studio-badge--lime { background: rgba(163, 230, 53, 0.2); color: #a3e635; border: 1px solid rgba(163, 230, 53, 0.4); }
.studio-badge--amber { background: rgba(245, 158, 11, 0.2); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.4); }
.studio-badge--rose { background: rgba(244, 63, 94, 0.2); color: #fb7185; border: 1px solid rgba(244, 63, 94, 0.4); }

.studio-badge-sub {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.5);
	font-weight: 500;
}

.bento-card h3 {
	font-size: 20px;
	margin-bottom: 8px;
}

.bento-card__desc {
	font-size: 14px;
	line-height: 1.55;
	color: var(--color-on-surface-variant);
	margin-bottom: 16px;
}

.bento-prompt-label {
	font-size: 11px;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.45);
	margin-bottom: 4px;
	font-weight: 600;
}

.bento-prompt-box {
	background: rgba(10, 10, 20, 0.65);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 8px;
	padding: 8px 12px;
	font-size: 12px;
	color: #93c5fd;
	margin-bottom: 10px;
	overflow-wrap: break-word;
}

.bento-prompt-box code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.bento-prompt-result {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: #e2e8f0;
}

.bento-result-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	display: inline-block;
}

.bento-prop {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
	filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.4));
}

/* Audio Player Demo */
.bento-audio-demo {
	display: flex;
	align-items: center;
	gap: 12px;
	background: rgba(10, 10, 20, 0.5);
	padding: 8px 12px;
	border-radius: 12px;
	border: 1px solid rgba(139, 92, 246, 0.25);
}

.bento-audio-play-btn {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #8b5cf6;
	color: #fff;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	transition: transform 0.2s ease, background 0.2s ease;
}

.bento-audio-play-btn:hover {
	transform: scale(1.08);
	background: #7c3aed;
}

.bento-waveform {
	display: flex;
	align-items: center;
	gap: 4px;
	flex: 1;
	height: 24px;
}

.bento-wave-bar {
	width: 4px;
	height: 30%;
	background: rgba(139, 92, 246, 0.6);
	border-radius: 2px;
	transition: height 0.3s ease;
}

.bento-wave-bar:nth-child(1) { height: 40%; }
.bento-wave-bar:nth-child(2) { height: 75%; }
.bento-wave-bar:nth-child(3) { height: 95%; }
.bento-wave-bar:nth-child(4) { height: 50%; }
.bento-wave-bar:nth-child(5) { height: 80%; }
.bento-wave-bar:nth-child(6) { height: 60%; }
.bento-wave-bar:nth-child(7) { height: 90%; }
.bento-wave-bar:nth-child(8) { height: 45%; }

.is-playing .bento-wave-bar {
	animation: waveform-bounce 0.6s ease-in-out infinite alternate;
}
.is-playing .bento-wave-bar:nth-child(2n) { animation-delay: -0.2s; }
.is-playing .bento-wave-bar:nth-child(3n) { animation-delay: -0.4s; }

@keyframes waveform-bounce {
	0% { height: 20%; }
	100% { height: 100%; }
}

.bento-audio-time {
	font-size: 11px;
	color: rgba(255, 255, 255, 0.5);
}

/* Terminal Sandbox Demo */
.terminal-bar {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	background: rgba(15, 15, 28, 0.9);
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.terminal-title {
	font-size: 11px;
	color: rgba(255, 255, 255, 0.5);
	margin-left: 6px;
}
.terminal-body {
	position: relative;
	background: rgba(10, 10, 20, 0.85);
	padding: 10px 12px;
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
	font-family: monospace;
	font-size: 12px;
	overflow: hidden;
}

.terminal-confetti-canvas {
	position: absolute;
	inset: 0;
	pointer-events: none;
	width: 100%;
	height: 100%;
	z-index: 10;
}
.terminal-prompt {
	color: rgba(255, 255, 255, 0.4);
	margin-bottom: 4px;
}
.terminal-code {
	color: #e2e8f0;
	margin-bottom: 10px;
}
.terminal-code .kw { color: #f43f5e; }
.terminal-code .fn { color: #a3e635; }
.terminal-code .str { color: #22d3ee; }
.terminal-code .num { color: #f59e0b; }

.btn-terminal-run {
	background: #a3e635;
	color: #0f172a;
	font-weight: 700;
	font-size: 12px;
	padding: 6px 14px;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: transform 0.2s ease, background 0.2s ease;
}
.btn-terminal-run:hover {
	transform: scale(1.05);
	background: #bef264;
}

.terminal-toast {
	margin-top: 8px;
	padding: 6px 10px;
	background: rgba(163, 230, 53, 0.2);
	border: 1px solid rgba(163, 230, 53, 0.5);
	border-radius: 6px;
	color: #bef264;
	font-size: 11px;
	animation: fadeIn 0.3s ease;
}

/* Video & Story Components */
.video-preview-pill {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 12px;
	color: #fde68a;
}
.video-status-dot {
	width: 8px;
	height: 8px;
	background: #f59e0b;
	border-radius: 50%;
	display: inline-block;
	box-shadow: 0 0 8px #f59e0b;
}

.story-branch-options {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.story-branch-btn {
	background: rgba(244, 63, 94, 0.1);
	border: 1px solid rgba(244, 63, 94, 0.3);
	color: #fecdd3;
	padding: 6px 10px;
	font-size: 12px;
	border-radius: 6px;
	text-align: left;
	cursor: pointer;
	transition: all 0.2s ease;
}
.story-branch-btn:hover,
.story-branch-btn.is-active {
	background: rgba(244, 63, 94, 0.25);
	border-color: #f43f5e;
	color: #fff;
}

.story-continuation {
	margin-top: 10px;
	padding: 8px 12px;
	background: rgba(244, 63, 94, 0.15);
	border: 1px solid rgba(244, 63, 94, 0.35);
	border-radius: 8px;
	font-size: 12px;
	color: #fecdd3;
	line-height: 1.5;
	transition: opacity 0.2s ease;
}

/* --- Token Calculator --- */
.token-calculator {
	background: rgba(21, 21, 40, 0.7);
	border: 1px solid rgba(139, 92, 246, 0.3);
	border-radius: 24px;
	padding: 36px 32px;
	box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
	max-width: 900px;
	margin: 0 auto;
}

.calculator-header {
	text-align: center;
	margin-bottom: 28px;
}

.calculator-title {
	font-size: clamp(22px, 3vw, 32px);
	margin-bottom: 8px;
}

.calculator-subtitle {
	font-size: 15px;
	color: var(--color-on-surface-variant);
}

.calculator-controls {
	margin-bottom: 32px;
}

.calculator-presets {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-bottom: 24px;
	flex-wrap: wrap;
}

.calc-preset-btn {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: #e2e8f0;
	padding: 8px 18px;
	border-radius: 9999px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
}

.calc-preset-btn:hover {
	background: rgba(139, 92, 246, 0.2);
	border-color: rgba(139, 92, 246, 0.4);
}

.calc-preset-btn.is-active {
	background: #8b5cf6;
	border-color: #8b5cf6;
	color: #fff;
	box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4);
}

.calculator-slider-wrap {
	max-width: 600px;
	margin: 0 auto;
}

.calc-range-slider {
	-webkit-appearance: none;
	width: 100%;
	height: 8px;
	border-radius: 4px;
	background: linear-gradient(90deg, #06b6d4, #8b5cf6);
	outline: none;
	cursor: pointer;
}

.calc-range-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #fff;
	border: 3px solid #8b5cf6;
	box-shadow: 0 0 12px rgba(139, 92, 246, 0.8);
	cursor: pointer;
	transition: transform 0.15s ease;
}

.calc-range-slider::-webkit-slider-thumb:hover {
	transform: scale(1.2);
}

.slider-ticks {
	display: flex;
	justify-content: space-between;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.5);
	margin-top: 8px;
}

.calculator-output {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin-bottom: 28px;
}

.calc-stat-card {
	background: rgba(15, 15, 28, 0.6);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 16px;
	padding: 18px 14px;
	text-align: center;
	transition: transform 0.2s ease;
}

.calc-stat-card:hover {
	transform: translateY(-3px);
	border-color: rgba(34, 211, 238, 0.3);
}

.calc-stat-icon {
	font-size: 24px;
	margin-bottom: 6px;
}

.calc-stat-val {
	font-size: 28px;
	font-weight: 800;
	color: #22d3ee;
	line-height: 1.1;
	margin-bottom: 4px;
	transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s ease;
}

.calc-stat-val.is-popping {
	transform: scale(1.18);
	color: #a3e635;
}

.token-card.is-active-tier {
	border-color: #8b5cf6 !important;
	box-shadow: 0 0 30px rgba(139, 92, 246, 0.45) !important;
	transform: translateY(-6px);
}

.calc-stat-lbl {
	font-size: 12px;
	color: rgba(255, 255, 255, 0.65);
}

.calculator-footer-rules {
	display: flex;
	flex-direction: column;
	gap: 8px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding-top: 20px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.75);
}

/* --- Safety Shield 4-Step Infographic --- */
.safety-shield-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin: 28px 0;
}

.safety-step-card {
	position: relative;
	padding: 28px 20px 24px;
	border-radius: 20px;
	border: 1px solid rgba(16, 185, 129, 0.2);
	background: linear-gradient(145deg, rgba(16, 185, 129, 0.06), rgba(21, 21, 40, 0.75));
	overflow: hidden;
	transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
	cursor: pointer;
}

.safety-step-card:hover,
.safety-step-card.is-active {
	transform: translateY(-6px);
	border-color: rgba(16, 185, 129, 0.7);
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 25px rgba(16, 185, 129, 0.35);
	background: linear-gradient(145deg, rgba(16, 185, 129, 0.18), rgba(21, 21, 40, 0.9));
}

.safety-step-card.is-active .safety-step-num {
	color: rgba(16, 185, 129, 0.25);
}

.safety-step-num {
	position: absolute;
	top: 10px;
	right: 14px;
	font-size: 36px;
	font-weight: 900;
	color: rgba(255, 255, 255, 0.05);
	line-height: 1;
}

.safety-step-icon {
	font-size: 28px;
	margin-bottom: 12px;
}

.safety-step-card h3 {
	font-size: 17px;
	margin-bottom: 8px;
	color: #e2e8f0;
}

.safety-step-card p {
	font-size: 13px;
	line-height: 1.55;
	color: var(--color-on-surface-variant);
}

.safety-legal-note {
	text-align: center;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.55);
	max-width: 700px;
	margin: 20px auto 0;
}

/* --- Creations Gallery --- */
.creations-gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin: 28px 0;
}

.creation-card {
	border-radius: 20px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(21, 21, 40, 0.7);
	display: flex;
	flex-direction: column;
	transition: transform 0.3s ease;
}

.creation-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.creation-card__preview {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: #0f0f1c;
}

.creation-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.creation-card:hover .creation-card__img {
	transform: scale(1.05);
}

.creation-card__badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
}

.creation-card__body {
	padding: 20px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.creation-card__title {
	font-size: 18px;
	margin-bottom: 4px;
	color: #f1f5f9;
}

.creation-card__author {
	font-size: 13px;
	color: #22d3ee;
	margin-bottom: 10px;
}

.creation-card__desc {
	font-size: 13px;
	line-height: 1.5;
	color: var(--color-on-surface-variant);
	margin-top: auto;
}

.gallery-cta-wrap,
.tokens-more-wrap {
	text-align: center;
	margin-top: 24px;
}

/* --- For Whom, Age & Requisites Grids --- */
.forwhom-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin: 24px 0;
}

.forwhom-card {
	padding: 26px 24px;
	border-radius: 20px;
}

.forwhom-card h3 {
	font-size: 18px;
	margin-bottom: 14px;
}

.forwhom-card ul {
	margin: 0;
	padding-left: 18px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 14px;
	line-height: 1.55;
	color: var(--color-on-surface-variant);
}

.age-cards-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin: 24px 0;
}

.age-card {
	padding: 24px;
	border-radius: 20px;
}

.contract-box {
	padding: 28px 24px;
	border-radius: 20px;
	margin: 20px 0;
}

.requisites-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px 24px;
	margin-top: 18px;
	font-size: 14px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding-top: 16px;
}

.payment-info-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin: 24px 0;
}

.payment-card {
	padding: 24px 20px;
	border-radius: 18px;
}

.payment-card h3 {
	font-size: 17px;
	margin-bottom: 10px;
}

.level-badge {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	padding: 3px 8px;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.08);
	color: #94a3b8;
	margin-bottom: 8px;
}

.level-badge--free {
	background: rgba(16, 185, 129, 0.2);
	color: #6ee7b7;
	border: 1px solid rgba(16, 185, 129, 0.4);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
	.bento-showroom {
		grid-template-columns: 1fr 1fr;
	}
	.bento-card--photo {
		grid-column: span 2;
	}
	.safety-shield-grid {
		grid-template-columns: 1fr 1fr;
	}
	.payment-info-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.hero-inner {
		grid-template-columns: 1fr;
	}
	.hero-visual {
		margin-bottom: 0;
	}
	.bento-showroom {
		grid-template-columns: 1fr;
	}
	.bento-card--photo {
		grid-column: span 1;
		grid-template-columns: 1fr;
	}
	.calculator-output {
		grid-template-columns: 1fr 1fr;
	}
	.safety-shield-grid,
	.creations-gallery-grid,
	.forwhom-grid,
	.age-cards-grid,
	.requisites-grid {
		grid-template-columns: 1fr;
	}
	.hero-badge {
		position: static;
		margin: 6px 4px;
		display: inline-block;
		animation: none;
	}
}

@media (max-width: 900px) {
	.unique-grid,
	.zoo-grid {
		grid-template-columns: 1fr;
	}
	.level-grid,
	.level-grid--four {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 600px) {
	.unique-grid,
	.zoo-grid,
	.level-grid,
	.level-grid--four {
		grid-template-columns: 1fr;
	}
	body:not(.nav-open) .nav-drawer-host {
		display: none;
	}
}

/* ==========================================================================
   6 ADVANCED CREATIVE SYSTEMS (AURA v2.2)
   ========================================================================== */

/* 1. Mini Generator Constructor */
.section-generator {
	position: relative;
	padding: var(--space-xl) 0;
}

.mini-generator {
	background: rgba(21, 21, 40, 0.75);
	border: 1px solid rgba(6, 182, 212, 0.28);
	border-radius: var(--radius-xl);
	padding: var(--space-xl);
	backdrop-filter: blur(20px);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(6, 182, 212, 0.1);
	position: relative;
	overflow: hidden;
}

.mini-generator::before {
	content: '';
	position: absolute;
	top: -120px;
	right: -120px;
	width: 320px;
	height: 320px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
	pointer-events: none;
}

.mini-generator__head {
	text-align: center;
	max-width: 720px;
	margin: 0 auto var(--space-lg);
}

.mini-generator__title {
	font-family: var(--font-display);
	font-size: clamp(22px, 3.2vw, 32px);
	font-weight: 800;
	color: #fff;
	margin: 12px 0 8px;
	letter-spacing: -0.02em;
}

.mini-generator__subtitle {
	color: var(--color-on-surface-variant);
	font-size: 16px;
	margin: 0;
}

.mini-generator__body {
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: var(--space-xl);
	align-items: start;
}

.generator-group {
	margin-bottom: var(--space-md);
}

.generator-group__label {
	font-family: var(--font-display);
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--color-glow-cyan);
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.group-step {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--color-glow-cyan);
	color: #0F0F1A;
	font-size: 12px;
	font-weight: 800;
}

.generator-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.generator-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border-radius: var(--radius-full);
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.12);
	color: var(--color-on-background);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.generator-chip:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.3);
	transform: translateY(-2px);
}

.generator-chip.is-active {
	background: linear-gradient(135deg, rgba(6, 182, 212, 0.25), rgba(139, 92, 246, 0.25));
	border-color: var(--color-glow-cyan);
	color: #fff;
	box-shadow: 0 0 16px rgba(6, 182, 212, 0.35);
	transform: translateY(-2px);
}

.generator-chip .chip-icon {
	font-size: 16px;
}

.generator-terminal {
	background: #0B0B14;
	border: 1px solid rgba(139, 92, 246, 0.3);
	border-radius: var(--radius-lg);
	overflow: hidden;
	margin-bottom: var(--space-md);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.generator-terminal .terminal-bar {
	background: #151528;
	padding: 10px 14px;
	display: flex;
	align-items: center;
	gap: 6px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.generator-terminal .terminal-body {
	padding: 16px;
}

.generator-prompt-line {
	margin-bottom: 14px;
}

.prompt-prefix {
	display: block;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--color-glow-mint);
	margin-bottom: 4px;
	letter-spacing: 0.06em;
}

.generator-prompt-text {
	display: block;
	font-family: 'JetBrains Mono', Consolas, monospace;
	font-size: 13px;
	line-height: 1.5;
	color: #E2E8F0;
	background: rgba(255, 255, 255, 0.04);
	padding: 10px 12px;
	border-radius: var(--radius-sm);
	border: 1px solid rgba(255, 255, 255, 0.06);
	min-height: 58px;
	white-space: normal;
	word-break: break-word;
	overflow-wrap: break-word;
}

.btn-generator-run {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-weight: 800;
	letter-spacing: 0.02em;
	padding: 12px 20px;
}

.generator-result-card {
	position: relative;
	border: 1px solid rgba(163, 230, 53, 0.3);
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: rgba(15, 15, 26, 0.85);
	padding: 16px;
}

.generator-scanner {
	position: absolute;
	top: -4px;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, transparent, #06B6D4, #A3E635, #8B5CF6, transparent);
	box-shadow: 0 0 15px #06B6D4, 0 0 25px #A3E635;
	z-index: 5;
	opacity: 0;
	pointer-events: none;
}

.generator-scanner.is-scanning {
	opacity: 1;
	animation: laser-scan-pass 1.6s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

@keyframes laser-scan-pass {
	0% { top: 0; opacity: 0; }
	15% { opacity: 1; }
	85% { opacity: 1; }
	100% { top: 100%; opacity: 0; }
}

.generator-art-preview {
	position: relative;
	border-radius: var(--radius-md);
	overflow: hidden;
	height: 200px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: radial-gradient(circle at center, #1E1B4B 0%, #0F0F1A 100%);
	margin-bottom: 12px;
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.art-visual-placeholder {
	font-size: 84px;
	line-height: 1;
	transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
	filter: drop-shadow(0 0 25px rgba(6, 182, 212, 0.5));
}

.art-visual-placeholder.is-generated {
	animation: art-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes art-pop {
	0% { transform: scale(0.6); opacity: 0.5; filter: drop-shadow(0 0 50px #A3E635); }
	55% { transform: scale(1.16); opacity: 1; filter: drop-shadow(0 0 40px #06B6D4); }
	100% { transform: scale(1); opacity: 1; filter: drop-shadow(0 0 25px rgba(6, 182, 212, 0.5)); }
}

.art-overlay-info {
	position: absolute;
	bottom: 10px;
	left: 10px;
	right: 10px;
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}

.art-badge {
	font-size: 11px;
	font-weight: 700;
	padding: 3px 8px;
	border-radius: var(--radius-full);
	backdrop-filter: blur(8px);
	background: rgba(15, 15, 26, 0.85);
	border: 1px solid rgba(255, 255, 255, 0.15);
	color: #fff;
	transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease;
}

.art-badge--xp {
	background: rgba(163, 230, 53, 0.2);
	border-color: #A3E635;
	color: #A3E635;
}

.art-badge--xp.is-popping {
	animation: xp-badge-pop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes xp-badge-pop {
	0% { transform: scale(1); }
	50% { transform: scale(1.22); background: rgba(163, 230, 53, 0.45); color: #fff; box-shadow: 0 0 16px #A3E635; }
	100% { transform: scale(1); }
}

.generator-result-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.result-status-text {
	font-size: 13px;
	color: var(--color-on-surface-variant);
	font-weight: 500;
}

/* 2. Parent Quiz Navigator */
.section-quiz {
	position: relative;
	padding: var(--space-xl) 0;
}

.quiz-navigator {
	background: rgba(21, 21, 40, 0.8);
	border: 1px solid rgba(139, 92, 246, 0.28);
	border-radius: var(--radius-xl);
	padding: var(--space-xl);
	backdrop-filter: blur(20px);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.quiz-header {
	text-align: center;
	max-width: 760px;
	margin: 0 auto var(--space-xl);
}

.quiz-title {
	font-family: var(--font-display);
	font-size: clamp(22px, 3.2vw, 32px);
	font-weight: 800;
	color: #fff;
	margin: 12px 0 8px;
	letter-spacing: -0.02em;
}

.quiz-subtitle {
	color: var(--color-on-surface-variant);
	font-size: 16px;
	margin: 0 0 var(--space-lg);
}

.quiz-stepper {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin: 0 auto;
	max-width: 520px;
}

.quiz-step-indicator {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--color-muted);
	font-size: 13px;
	font-weight: 700;
	transition: all 0.2s ease;
}

.quiz-step-indicator .step-num {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.15);
	color: #fff;
	font-size: 12px;
}

.quiz-step-indicator.is-active {
	color: var(--color-glow-cyan);
}

.quiz-step-indicator.is-active .step-num {
	background: var(--color-glow-cyan);
	color: #0F0F1A;
	border-color: var(--color-glow-cyan);
	box-shadow: 0 0 12px rgba(6, 182, 212, 0.5);
}

.quiz-step-indicator.is-completed .step-num {
	background: var(--color-glow-mint);
	color: #0F0F1A;
	border-color: var(--color-glow-mint);
}

.stepper-line {
	flex: 1;
	height: 2px;
	background: rgba(255, 255, 255, 0.1);
	min-width: 24px;
}

.quiz-step-pane {
	display: none;
	animation: quiz-fade 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.quiz-step-pane.is-active {
	display: block;
}

@keyframes quiz-fade {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: translateY(0); }
}

.quiz-step-title {
	font-family: var(--font-display);
	font-size: 20px;
	font-weight: 700;
	color: #fff;
	text-align: center;
	margin: 0 0 var(--space-lg);
}

.quiz-options-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--space-md);
	margin-bottom: var(--space-lg);
}

.quiz-options-grid--4 {
	grid-template-columns: repeat(4, 1fr);
}

.quiz-option-card {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--radius-lg);
	padding: 20px;
	text-align: left;
	cursor: pointer;
	color: var(--color-on-background);
	transition: all 0.2s ease;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.quiz-option-card:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(6, 182, 212, 0.4);
	transform: translateY(-3px);
}

.quiz-option-card.is-selected {
	background: rgba(6, 182, 212, 0.12);
	border-color: var(--color-glow-cyan);
	box-shadow: 0 0 20px rgba(6, 182, 212, 0.25);
	transform: translateY(-3px);
}

.quiz-option-card .opt-icon {
	font-size: 28px;
	margin-bottom: 4px;
}

.quiz-option-card .opt-title {
	font-size: 16px;
	font-weight: 700;
	color: #fff;
}

.quiz-option-card .opt-desc {
	font-size: 13px;
	color: var(--color-on-surface-variant);
	line-height: 1.45;
}

.quiz-nav-actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-md);
}

.quiz-result-card {
	background: linear-gradient(135deg, rgba(30, 27, 75, 0.7), rgba(15, 15, 26, 0.9));
	border: 1px solid rgba(163, 230, 53, 0.35);
	border-radius: var(--radius-xl);
	padding: var(--space-xl);
	text-align: center;
	max-width: 800px;
	margin: 0 auto;
	box-shadow: 0 0 40px rgba(163, 230, 53, 0.12);
}

.quiz-result-badge {
	display: inline-block;
	font-family: var(--font-display);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #A3E635;
	background: rgba(163, 230, 53, 0.15);
	border: 1px solid rgba(163, 230, 53, 0.3);
	padding: 4px 14px;
	border-radius: var(--radius-full);
	margin-bottom: 12px;
}

.quiz-result-title {
	font-family: var(--font-display);
	font-size: 26px;
	font-weight: 800;
	color: #fff;
	margin: 0 0 12px;
}

.quiz-result-desc {
	font-size: 16px;
	color: var(--color-on-surface-variant);
	line-height: 1.6;
	max-width: 660px;
	margin: 0 auto var(--space-lg);
}

.quiz-result-highlights {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 12px;
	text-align: left;
	margin-bottom: var(--space-xl);
}

.highlight-item {
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--radius-md);
	padding: 12px 14px;
	font-size: 13px;
	color: #E2E8F0;
	line-height: 1.4;
	display: flex;
	gap: 8px;
}

.highlight-item .h-icon {
	font-size: 18px;
	flex: 0 0 auto;
}

.quiz-result-actions {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 12px;
}

/* 3. Stories Bubbles & Modal */
.stories-bubbles-wrap {
	margin: 0 0 var(--space-xl);
	padding: 16px var(--space-lg);
	background: rgba(21, 21, 40, 0.6);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: var(--radius-xl);
}

.stories-bubbles-head {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 16px;
	font-family: var(--font-display);
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #fff;
}

.stories-pulse-icon {
	font-size: 12px;
	animation: pulse-ring-glow 1.5s ease-in-out infinite;
}

.stories-rings-grid {
	display: flex;
	gap: var(--space-lg);
	flex-wrap: wrap;
}

.story-bubble-btn {
	background: transparent;
	border: none;
	padding: 0;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 14px;
	color: var(--color-on-background);
	text-align: left;
	transition: transform 0.2s ease;
}

.story-bubble-btn:hover {
	transform: translateY(-2px);
}

.story-ring-wrapper {
	position: relative;
	width: 78px;
	height: 78px;
	border-radius: 50%;
	padding: 3px;
	background: linear-gradient(135deg, var(--ring-color, #06B6D4), #8B5CF6, var(--ring-color, #06B6D4));
	background-size: 200% 200%;
	animation: story-ring-rotate 4s linear infinite;
	box-shadow: 0 0 16px rgba(6, 182, 212, 0.4);
}

@keyframes story-ring-rotate {
	0% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
	100% { background-position: 0% 50%; }
}

.story-avatar-holder {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	overflow: hidden;
	background: #0F0F1A;
	border: 2px solid #0F0F1A;
}

.story-avatar-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.story-badge-live {
	position: absolute;
	bottom: -4px;
	left: 50%;
	transform: translateX(-50%);
	background: #F43F5E;
	color: #fff;
	font-size: 10px;
	font-weight: 800;
	padding: 2px 6px;
	border-radius: var(--radius-full);
	letter-spacing: 0.04em;
	white-space: nowrap;
	border: 1px solid rgba(255, 255, 255, 0.4);
}

.story-bubble-meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.story-author-name {
	font-family: var(--font-display);
	font-size: 15px;
	font-weight: 800;
	color: #fff;
}

.story-studio-tag {
	font-size: 12px;
	color: var(--color-glow-cyan);
	font-weight: 600;
}

/* Stories Modal */
.stories-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s ease;
}

.stories-modal.is-open {
	opacity: 1;
	pointer-events: auto;
}

.stories-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(5, 5, 12, 0.88);
	backdrop-filter: blur(16px);
}

.stories-modal-dialog {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 380px;
	height: 85vh;
	max-height: 680px;
	padding: 12px;
}

.stories-player-card {
	width: 100%;
	height: 100%;
	background: #0F0F1A;
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: var(--radius-xl);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(6, 182, 212, 0.25);
}

.stories-progress-bar {
	display: flex;
	gap: 4px;
	padding: 12px 14px 6px;
}

.story-progress-segment {
	flex: 1;
	height: 3px;
	background: rgba(255, 255, 255, 0.2);
	border-radius: 2px;
	overflow: hidden;
	position: relative;
}

.story-progress-segment.is-filled {
	background: #fff;
}

.story-progress-segment.is-active::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background: #06B6D4;
	animation: story-progress-run 5s linear forwards;
}

@keyframes story-progress-run {
	from { width: 0%; }
	to { width: 100%; }
}

.stories-modal.is-paused .story-progress-segment.is-active::after {
	animation-play-state: paused;
}

.stories-modal-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 6px 14px 10px;
}

.stories-header-author {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: #fff;
}

.story-header-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #A3E635;
	box-shadow: 0 0 8px #A3E635;
}

.story-header-badge {
	font-size: 11px;
	padding: 2px 8px;
	border-radius: var(--radius-full);
	background: rgba(255, 255, 255, 0.1);
	color: var(--color-glow-cyan);
}

.stories-modal-close {
	background: rgba(255, 255, 255, 0.1);
	border: none;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	color: #fff;
	font-size: 14px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease;
}

.stories-modal-close:hover {
	background: rgba(255, 255, 255, 0.25);
}

.stories-video-viewport {
	flex: 1;
	position: relative;
	background: radial-gradient(circle at center, #1E1B4B 0%, #080811 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.stories-mockup-player {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	text-align: center;
	position: relative;
}

.stories-player-badge {
	font-size: 12px;
	font-weight: 700;
	color: #A3E635;
	background: rgba(0, 0, 0, 0.5);
	padding: 4px 12px;
	border-radius: var(--radius-full);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(163, 230, 53, 0.3);
}

.stories-video-title {
	font-family: var(--font-display);
	font-size: 17px;
	font-weight: 800;
	color: #fff;
	line-height: 1.4;
	max-width: 280px;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.stories-big-play-btn {
	width: 68px;
	height: 68px;
	border-radius: 50%;
	background: linear-gradient(135deg, #06B6D4, #8B5CF6);
	border: none;
	color: #fff;
	font-size: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 0 30px rgba(6, 182, 212, 0.6);
	transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.stories-big-play-btn:hover {
	transform: scale(1.1);
}

.stories-player-bottom {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 12px;
	color: var(--color-on-surface-variant);
}

.stories-sound-pill {
	background: rgba(0, 0, 0, 0.5);
	padding: 2px 8px;
	border-radius: var(--radius-full);
}

.stories-modal-footer {
	padding: 12px 14px;
	background: #0B0B14;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stories-modal-footer .btn {
	width: 100%;
	text-align: center;
}

/* 4. Savings Calculator (TCO) */
.section-savings {
	position: relative;
	padding: var(--space-xl) 0;
}

.savings-calculator {
	background: rgba(21, 21, 40, 0.8);
	border: 1px solid rgba(163, 230, 53, 0.3);
	border-radius: var(--radius-xl);
	padding: var(--space-xl);
	backdrop-filter: blur(20px);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(163, 230, 53, 0.1);
}

.savings-header {
	text-align: center;
	max-width: 760px;
	margin: 0 auto var(--space-xl);
}

.savings-title {
	font-family: var(--font-display);
	font-size: clamp(22px, 3.2vw, 32px);
	font-weight: 800;
	color: #fff;
	margin: 12px 0 8px;
	letter-spacing: -0.02em;
}

.savings-subtitle {
	color: var(--color-on-surface-variant);
	font-size: 16px;
	margin: 0;
}

.savings-slider-box {
	background: rgba(15, 15, 26, 0.8);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--radius-lg);
	padding: var(--space-lg);
	margin-bottom: var(--space-xl);
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

.savings-slider-label {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 15px;
	color: #fff;
	margin-bottom: 12px;
}

.savings-months-display {
	font-family: var(--font-display);
	font-size: 18px;
	color: var(--color-glow-mint);
}

.savings-compare-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--space-lg);
	margin-bottom: var(--space-xl);
}

.savings-card {
	border-radius: var(--radius-lg);
	padding: var(--space-lg);
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.savings-card--zoo {
	background: rgba(244, 63, 94, 0.05);
	border: 1px solid rgba(244, 63, 94, 0.25);
}

.savings-card--teen {
	background: rgba(163, 230, 53, 0.06);
	border: 1px solid rgba(163, 230, 53, 0.35);
	box-shadow: 0 0 25px rgba(163, 230, 53, 0.12);
}

.savings-card__tag {
	font-family: var(--font-display);
	font-size: 14px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.savings-card__tag--danger {
	color: #F43F5E;
}

.savings-card__tag--success {
	color: #A3E635;
}

.savings-card__cost {
	display: flex;
	align-items: baseline;
	gap: 8px;
	flex-wrap: wrap;
}

.savings-card__cost .cost-num {
	font-family: var(--font-display);
	font-size: clamp(28px, 4vw, 38px);
	font-weight: 900;
	color: #fff;
}

.savings-card__cost .cost-sub {
	font-size: 14px;
	color: var(--color-on-surface-variant);
}

.savings-card__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-size: 14px;
}

.savings-card__list li {
	display: flex;
	justify-content: space-between;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	padding-bottom: 6px;
}

.savings-card__list li span {
	color: var(--color-on-surface-variant);
}

.savings-card__warning {
	font-size: 12px;
	color: #F87171;
	line-height: 1.45;
	background: rgba(244, 63, 94, 0.1);
	padding: 8px 12px;
	border-radius: var(--radius-sm);
}

.savings-card__perks {
	font-size: 12px;
	color: #86EFAC;
	line-height: 1.45;
	background: rgba(163, 230, 53, 0.1);
	padding: 8px 12px;
	border-radius: var(--radius-sm);
}

.savings-highlight-banner {
	background: linear-gradient(135deg, rgba(6, 182, 212, 0.15), rgba(163, 230, 53, 0.15));
	border: 1px solid rgba(163, 230, 53, 0.4);
	border-radius: var(--radius-lg);
	padding: var(--space-lg) var(--space-xl);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-lg);
	flex-wrap: wrap;
}

.banner-badge {
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	color: #A3E635;
	letter-spacing: 0.06em;
	display: block;
	margin-bottom: 4px;
}

.banner-amount {
	font-family: var(--font-display);
	font-size: 24px;
	color: #fff;
	font-weight: 700;
}

.banner-amount strong {
	color: #A3E635;
	font-size: clamp(28px, 4vw, 36px);
	display: inline-block;
	transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), text-shadow 0.2s ease;
}

.banner-amount strong.is-popping {
	transform: scale(1.1);
	text-shadow: 0 0 20px rgba(163, 230, 53, 0.6);
}

.banner-sub {
	font-size: 13px;
	color: var(--color-on-surface-variant);
	margin: 4px 0 0;
}

.highlight-banner__right {
	display: flex;
	align-items: center;
	gap: 14px;
}

.discount-pill {
	font-family: var(--font-display);
	font-size: 16px;
	font-weight: 900;
	color: #0F0F1A;
	background: #A3E635;
	padding: 8px 18px;
	border-radius: var(--radius-full);
	box-shadow: 0 0 15px rgba(163, 230, 53, 0.5);
}

/* 5. Gamified Progression Roadmap */
.section-roadmap {
	position: relative;
	padding: var(--space-xl) 0;
}

.gamified-roadmap {
	background: rgba(21, 21, 40, 0.8);
	border: 1px solid rgba(139, 92, 246, 0.3);
	border-radius: var(--radius-xl);
	padding: var(--space-xl);
	backdrop-filter: blur(20px);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.roadmap-header {
	text-align: center;
	max-width: 760px;
	margin: 0 auto var(--space-xl);
}

.roadmap-title {
	font-family: var(--font-display);
	font-size: clamp(22px, 3.2vw, 32px);
	font-weight: 800;
	color: #fff;
	margin: 12px 0 8px;
	letter-spacing: -0.02em;
}

.roadmap-subtitle {
	color: var(--color-on-surface-variant);
	font-size: 16px;
	margin: 0;
}

.roadmap-trajectory-wrap {
	position: relative;
	margin-bottom: var(--space-xl);
}

.roadmap-timeline-bar {
	position: absolute;
	top: 72px;
	left: 5%;
	right: 5%;
	height: 4px;
	background: rgba(255, 255, 255, 0.1);
	z-index: 1;
	border-radius: 2px;
}

.roadmap-timeline-fill {
	display: block;
	height: 100%;
	width: 100%;
	background: linear-gradient(90deg, #06B6D4, #8B5CF6, #F59E0B, #A3E635);
	box-shadow: 0 0 12px rgba(6, 182, 212, 0.6);
	border-radius: 2px;
}

.roadmap-steps-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--space-md);
	position: relative;
	z-index: 2;
}

.roadmap-step-card {
	background: rgba(15, 15, 26, 0.85);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--radius-lg);
	padding: var(--space-lg);
	display: flex;
	flex-direction: column;
	gap: 10px;
	transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
	position: relative;
}

.roadmap-step-card:hover {
	border-color: var(--lvl-color, #06B6D4);
	transform: translateY(-6px);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 25px rgba(6, 182, 212, 0.25);
}

.step-card__top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 12px;
}

.step-card__badge {
	font-family: var(--font-display);
	font-weight: 800;
	color: var(--lvl-color, #06B6D4);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.step-card__age {
	color: var(--color-on-surface-variant);
	font-weight: 600;
}

.step-card__node {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: #0F0F1A;
	border: 2px solid var(--lvl-color, #06B6D4);
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	margin: 6px 0;
	box-shadow: 0 0 16px rgba(6, 182, 212, 0.4);
}

.step-node-icon {
	font-size: 24px;
}

.step-node-pulse {
	position: absolute;
	inset: -6px;
	border-radius: 50%;
	border: 1px solid var(--lvl-color, #06B6D4);
	opacity: 0.4;
	animation: pulse-ring-glow 2s infinite ease-out;
}

.step-card__title {
	font-family: var(--font-display);
	font-size: 18px;
	font-weight: 800;
	color: #fff;
	margin: 0;
}

.step-card__skills {
	font-size: 13px;
	color: var(--color-on-surface-variant);
	line-height: 1.5;
	flex: 1;
	margin: 0;
}

.step-card__reward {
	font-size: 12px;
	font-weight: 700;
	color: #FCD34D;
	background: rgba(245, 158, 11, 0.12);
	border: 1px solid rgba(245, 158, 11, 0.25);
	padding: 8px 10px;
	border-radius: var(--radius-sm);
	line-height: 1.35;
}

.roadmap-footer {
	text-align: center;
	padding-top: var(--space-md);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.roadmap-footer-note {
	color: var(--color-on-surface-variant);
	font-size: 15px;
	margin: 0 0 16px;
}

/* 6. Live Community Pulse Ticker */
.teenai-live-ticker {
	position: fixed;
	bottom: 24px;
	right: 24px;
	z-index: 9990;
	max-width: 420px;
	animation: ticker-float-in 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes ticker-float-in {
	from { opacity: 0; transform: translateY(20px) scale(0.95); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

.ticker-inner {
	background: rgba(15, 15, 26, 0.92);
	border: 1px solid rgba(6, 182, 212, 0.4);
	border-radius: var(--radius-full);
	padding: 8px 14px 8px 10px;
	display: flex;
	align-items: center;
	gap: 10px;
	backdrop-filter: blur(16px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(6, 182, 212, 0.25);
}

.ticker-pulse-badge {
	display: flex;
	align-items: center;
	gap: 5px;
	background: rgba(163, 230, 53, 0.15);
	border: 1px solid rgba(163, 230, 53, 0.3);
	padding: 3px 8px;
	border-radius: var(--radius-full);
}

.ticker-pulse-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #A3E635;
	box-shadow: 0 0 8px #A3E635;
	animation: pulse-ring-glow 1.2s infinite ease-in-out;
}

.ticker-pulse-text {
	font-family: var(--font-display);
	font-size: 10px;
	font-weight: 900;
	color: #A3E635;
	letter-spacing: 0.06em;
}

.ticker-content-track {
	flex: 1;
	overflow: hidden;
}

.ticker-event {
	font-size: 13px;
	font-weight: 600;
	color: #fff;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: opacity 0.2s ease;
}

.ticker-close {
	background: transparent;
	border: none;
	color: var(--color-muted);
	font-size: 12px;
	cursor: pointer;
	padding: 2px 6px;
	line-height: 1;
	border-radius: 50%;
	transition: color 0.2s ease;
}

.ticker-close:hover {
	color: #fff;
}

/* Responsive adjustments for 6 new modules */
@media (max-width: 1024px) {
	.mini-generator__body {
		grid-template-columns: 1fr;
	}
	.quiz-options-grid--4 {
		grid-template-columns: repeat(2, 1fr);
	}
	.roadmap-steps-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.roadmap-timeline-bar {
		display: none;
	}
	.quiz-result-highlights {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.site-header__cta {
		display: none;
	}
	.savings-compare-grid {
		grid-template-columns: 1fr;
	}
	.savings-highlight-banner {
		flex-direction: column;
		align-items: stretch;
		padding: var(--space-md);
		gap: var(--space-md);
	}
	.highlight-banner__right {
		width: 100%;
		flex-direction: column;
		align-items: stretch;
	}
	.highlight-banner__right .btn {
		width: 100%;
		text-align: center;
	}
	.quiz-stepper {
		gap: 6px;
	}
	.quiz-step-indicator .step-lbl {
		display: none;
	}
	.stepper-line {
		min-width: 12px;
	}
	.quiz-options-grid {
		grid-template-columns: 1fr;
	}
	.roadmap-steps-grid {
		grid-template-columns: 1fr;
	}
	.stories-rings-grid {
		justify-content: center;
	}
	.teenai-live-ticker {
		left: 16px;
		right: 16px;
		bottom: 16px;
		max-width: none;
	}
	.sound-fx-label {
		display: none;
	}
}

/* ==========================================================================
   TEEN.AI STUDIO v4.0 — 5 NEW ADVANCED SYSTEMS (AURA SPEC)
   ========================================================================== */

/* --- 1. Certificate & Diploma Generator --- */
.certificate-generator {
	background: linear-gradient(135deg, rgba(26, 22, 56, 0.88) 0%, rgba(15, 15, 26, 0.96) 100%);
	border: 1px solid rgba(139, 92, 246, 0.28);
	border-radius: var(--radius-xl);
	padding: var(--space-lg);
	box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
	position: relative;
	overflow: hidden;
}

.cert-header {
	text-align: center;
	max-width: 720px;
	margin: 0 auto var(--space-md);
}

.cert-title {
	font-family: var(--font-display);
	font-size: clamp(1.4rem, 2.4vw, 2rem);
	font-weight: 800;
	color: #fff;
	margin: 10px 0 8px;
}

.cert-subtitle {
	font-size: 0.95rem;
	color: var(--color-muted);
	line-height: 1.6;
	margin: 0;
}

.cert-layout-grid {
	display: grid;
	grid-template-columns: 380px 1fr;
	gap: var(--space-md);
	align-items: start;
	margin-top: var(--space-md);
}

.cert-form-card {
	padding: var(--space-md);
	border-radius: var(--radius-lg);
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.cert-form-title {
	font-family: var(--font-display);
	font-size: 1.1rem;
	font-weight: 800;
	color: #fff;
	margin: 0 0 var(--space-sm);
}

.cert-field {
	margin-bottom: var(--space-sm);
}

.cert-label {
	display: block;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--color-link);
	margin-bottom: 6px;
}

.cert-input,
.cert-select {
	width: 100%;
	padding: 12px 14px;
	background: rgba(15, 15, 26, 0.85);
	border: 1px solid rgba(139, 92, 246, 0.3);
	border-radius: var(--radius);
	color: #fff;
	font-family: var(--font-body);
	font-size: 0.95rem;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.cert-input:focus,
.cert-select:focus {
	border-color: var(--color-secondary);
	box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.25);
	outline: none;
}

.cert-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: var(--space-sm);
}

.btn-cert-download {
	width: 100%;
	justify-content: center;
	font-size: 0.95rem;
	padding: 13px 18px;
	font-weight: 700;
}

.cert-share-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

.cert-legal-hint {
	font-size: 0.78rem;
	color: var(--color-muted);
	line-height: 1.4;
	margin-top: var(--space-sm);
	padding-top: var(--space-xs);
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Diploma Preview Card */
.diploma-card {
	position: relative;
	border-radius: var(--radius-lg);
	background: linear-gradient(135deg, #161233 0%, #0d0d1a 100%);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 0 30px rgba(139, 92, 246, 0.1);
	aspect-ratio: 16 / 10;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.diploma-border-glow {
	position: absolute;
	inset: 0;
	border: 2px solid transparent;
	border-radius: inherit;
	background: linear-gradient(135deg, #f59e0b, #06b6d4, #8b5cf6, #a3e635, #f59e0b) border-box;
	-webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
	mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	opacity: 0.85;
	animation: borderRotate 8s linear infinite;
	pointer-events: none;
}

.diploma-inner {
	padding: 22px 26px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	position: relative;
	z-index: 1;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: calc(var(--radius-lg) - 2px);
	background: rgba(15, 15, 26, 0.88);
	backdrop-filter: blur(12px);
}

.diploma-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid rgba(139, 92, 246, 0.25);
	padding-bottom: 8px;
}

.diploma-logo {
	font-family: var(--font-display);
	font-weight: 900;
	font-size: 0.95rem;
	color: var(--color-secondary);
	letter-spacing: 0.05em;
}

.diploma-badge-official {
	font-size: 0.68rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #f59e0b;
	background: rgba(245, 158, 11, 0.12);
	padding: 3px 10px;
	border-radius: var(--radius-full);
	border: 1px solid rgba(245, 158, 11, 0.3);
}

.diploma-title-wrap {
	text-align: center;
	margin-top: 6px;
}

.diploma-main-title {
	font-family: var(--font-display);
	font-size: clamp(1.15rem, 2vw, 1.6rem);
	font-weight: 900;
	color: #ffffff;
	letter-spacing: 0.03em;
	margin: 0;
	text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.diploma-preamble {
	font-size: 0.78rem;
	color: var(--color-muted);
	margin: 3px 0 0;
}

.diploma-student-name {
	font-family: var(--font-display);
	font-size: clamp(1.3rem, 2.5vw, 1.95rem);
	font-weight: 900;
	color: var(--color-secondary);
	text-align: center;
	margin: 6px 0;
	text-shadow: 0 0 24px rgba(6, 182, 212, 0.5);
	letter-spacing: 0.02em;
}

.diploma-achievement-text {
	font-size: clamp(0.72rem, 1.1vw, 0.84rem);
	text-align: center;
	color: var(--color-on-background);
	margin: 0 auto;
	max-width: 92%;
	line-height: 1.35;
}

.diploma-track-name {
	font-family: var(--font-display);
	font-size: clamp(0.9rem, 1.5vw, 1.18rem);
	font-weight: 800;
	color: var(--color-child-accent);
	text-align: center;
	margin: 4px 0 8px;
	text-shadow: 0 0 16px rgba(163, 230, 53, 0.4);
}

.diploma-footer {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	border-top: 1px solid rgba(139, 92, 246, 0.2);
	padding-top: 8px;
	margin-top: auto;
}

.diploma-footer-left {
	display: flex;
	align-items: center;
	gap: 12px;
}

.diploma-seal {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: radial-gradient(circle, #fef08a 0%, #eab308 50%, #b45309 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 0 20px rgba(234, 179, 8, 0.5), inset 0 0 6px rgba(255, 255, 255, 0.6);
	position: relative;
	animation: sealShimmer 4s ease-in-out infinite alternate;
	flex-shrink: 0;
}

.seal-inner {
	text-align: center;
	line-height: 1.1;
	color: #451a03;
}

.seal-star {
	font-size: 13px;
	display: block;
	font-weight: bold;
}

.seal-text {
	font-size: 5.5px;
	font-weight: 900;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.seal-sub {
	font-size: 4.5px;
	font-weight: 800;
	display: block;
	letter-spacing: 0.04em;
}

.diploma-date-block {
	display: flex;
	flex-direction: column;
	font-size: 0.72rem;
}

.diploma-date-lbl {
	color: var(--color-muted);
	font-size: 0.68rem;
}

.diploma-date-val {
	color: #fff;
}

.diploma-footer-right {
	display: flex;
	flex-direction: column;
	gap: 3px;
	text-align: right;
	font-size: 0.7rem;
}

.diploma-sign-block .sign-role {
	color: var(--color-muted);
	display: block;
	font-size: 0.65rem;
}

.diploma-sign-block .sign-name {
	color: #fff;
	font-weight: 600;
}

/* --- 2. Practical Cases Showcase --- */
.cases-showcase {
	background: linear-gradient(135deg, rgba(21, 21, 40, 0.9) 0%, rgba(15, 15, 26, 0.95) 100%);
	border: 1px solid rgba(139, 92, 246, 0.22);
	border-radius: var(--radius-xl);
	padding: var(--space-lg);
}

.cases-header {
	text-align: center;
	max-width: 720px;
	margin: 0 auto var(--space-md);
}

.cases-title {
	font-family: var(--font-display);
	font-size: clamp(1.4rem, 2.4vw, 2rem);
	font-weight: 800;
	color: #fff;
	margin: 10px 0 8px;
}

.cases-subtitle {
	font-size: 0.95rem;
	color: var(--color-muted);
	line-height: 1.6;
	margin: 0;
}

.cases-tabs-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	margin: var(--space-md) 0;
}

.cases-tab-btn {
	padding: 10px 18px;
	border-radius: var(--radius-full);
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: var(--color-on-background);
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 0.95rem;
	cursor: pointer;
	transition: all 0.25s ease;
}

.cases-tab-btn:hover {
	background: rgba(139, 92, 246, 0.15);
	border-color: rgba(139, 92, 246, 0.4);
	color: #fff;
	transform: translateY(-2px);
}

.cases-tab-btn.is-active {
	background: linear-gradient(135deg, var(--color-primary), var(--color-glow-violet));
	border-color: var(--color-primary);
	color: #fff;
	box-shadow: 0 4px 18px rgba(124, 58, 237, 0.4);
}

.case-pane {
	display: none;
}

.case-pane.is-active {
	display: block;
	animation: caseFadeIn 0.35s ease-out;
}

.case-pane__grid {
	display: grid;
	grid-template-columns: 1.35fr 1fr;
	gap: var(--space-md);
	align-items: stretch;
}

.case-pane__info {
	padding: var(--space-md);
	border-radius: var(--radius-lg);
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid rgba(255, 255, 255, 0.06);
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.case-pane__topbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.case-pane__cat {
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--color-link);
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.case-badge {
	font-size: 0.78rem;
	font-weight: 800;
	padding: 4px 12px;
	border-radius: var(--radius-full);
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.case-badge--top {
	background: rgba(245, 158, 11, 0.15);
	color: #fbbf24;
	border: 1px solid rgba(245, 158, 11, 0.35);
}

.case-badge--game {
	background: rgba(163, 230, 53, 0.15);
	color: #a3e635;
	border: 1px solid rgba(163, 230, 53, 0.35);
}

.case-badge--hit {
	background: rgba(244, 63, 94, 0.15);
	color: #fb7185;
	border: 1px solid rgba(244, 63, 94, 0.35);
}

.case-badge--book {
	background: rgba(6, 182, 212, 0.15);
	color: #22d3ee;
	border: 1px solid rgba(6, 182, 212, 0.35);
}

.case-pane__title {
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-weight: 800;
	color: #fff;
	margin: 0;
}

.case-pane__author {
	font-size: 0.88rem;
	color: var(--color-muted);
	margin: 0;
}

.case-studios-used {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.case-studios-label {
	font-size: 0.8rem;
	color: var(--color-muted);
}

.case-studios-chips {
	display: flex;
	gap: 6px;
	flex-wrap: wrap;
}

.case-box {
	padding: 10px 14px;
	border-radius: var(--radius-sm);
	font-size: 0.88rem;
	line-height: 1.5;
}

.case-box p {
	margin: 0;
}

.case-box--task {
	background: rgba(6, 182, 212, 0.06);
	border-left: 3px solid var(--color-secondary);
}

.case-box--prompt {
	background: rgba(139, 92, 246, 0.08);
	border-left: 3px solid var(--color-primary);
	font-family: var(--font-mono);
	font-size: 0.82rem;
	color: #e2e8f0;
}

.case-box--prompt code {
	background: none;
	padding: 0;
	color: inherit;
	font-family: inherit;
}

.case-box--result {
	background: rgba(163, 230, 53, 0.06);
	border-left: 3px solid var(--color-child-accent);
}

.case-box__label {
	font-weight: 700;
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 3px;
	color: #fff;
}

.case-stats-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: auto;
	padding-top: 6px;
}

.case-stat-pill {
	font-size: 0.78rem;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: var(--radius-full);
	background: rgba(255, 255, 255, 0.06);
	color: var(--color-muted);
}

.case-visual-card {
	height: 100%;
	border-radius: var(--radius-lg);
	background: linear-gradient(135deg, rgba(139, 92, 246, 0.12) 0%, rgba(6, 182, 212, 0.1) 100%);
	border: 1px solid rgba(139, 92, 246, 0.3);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: var(--space-md);
	text-align: center;
	position: relative;
	overflow: hidden;
}

.case-visual-icon {
	font-size: 4.5rem;
	margin-bottom: var(--space-sm);
	filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
	animation: floatIcon 3.5s ease-in-out infinite alternate;
}

.case-visual-hud {
	display: flex;
	gap: 8px;
	margin-bottom: var(--space-md);
	flex-wrap: wrap;
	justify-content: center;
}

.hud-item {
	font-size: 0.75rem;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: var(--radius-full);
	background: rgba(0, 0, 0, 0.4);
	color: var(--color-child-accent);
	border: 1px solid rgba(163, 230, 53, 0.3);
}

/* --- 3. Interactive AI Glossary --- */
.ai-glossary {
	background: linear-gradient(135deg, rgba(21, 21, 40, 0.9) 0%, rgba(15, 15, 26, 0.95) 100%);
	border: 1px solid rgba(139, 92, 246, 0.22);
	border-radius: var(--radius-xl);
	padding: var(--space-lg);
}

.glossary-header {
	text-align: center;
	max-width: 720px;
	margin: 0 auto var(--space-md);
}

.glossary-title {
	font-family: var(--font-display);
	font-size: clamp(1.4rem, 2.4vw, 2rem);
	font-weight: 800;
	color: #fff;
	margin: 10px 0 8px;
}

.glossary-subtitle {
	font-size: 0.95rem;
	color: var(--color-muted);
	line-height: 1.6;
	margin: 0;
}

.glossary-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: var(--space-md);
}

.glossary-item {
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	transition: all 0.25s ease;
	overflow: hidden;
}

.glossary-item:hover {
	border-color: rgba(139, 92, 246, 0.35);
	background: rgba(255, 255, 255, 0.05);
}

.glossary-item.is-open {
	border-color: rgba(139, 92, 246, 0.5);
	background: rgba(26, 22, 56, 0.6);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.glossary-head-btn {
	width: 100%;
	padding: 16px 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: none;
	border: none;
	color: inherit;
	cursor: pointer;
	text-align: left;
	gap: 12px;
}

.glossary-head-left {
	display: flex;
	align-items: center;
	gap: 14px;
}

.glossary-icon {
	font-size: 1.6rem;
	flex-shrink: 0;
}

.glossary-term-title {
	font-family: var(--font-display);
	font-size: 1.1rem;
	font-weight: 800;
	color: #fff;
	margin: 0;
}

.glossary-term-sub {
	font-size: 0.82rem;
	color: var(--color-muted);
	display: block;
	margin-top: 2px;
}

.glossary-head-right {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

.glossary-indicator {
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--color-link);
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: rgba(139, 92, 246, 0.15);
}

.glossary-body-pane {
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	padding: 18px 20px;
}

.glossary-body-inner {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.glossary-block {
	font-size: 0.9rem;
	line-height: 1.6;
	color: var(--color-on-background);
}

.glossary-block p {
	margin: 0;
}

.glossary-block-lbl {
	color: #fff;
	display: block;
	font-size: 0.82rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 4px;
}

.glossary-block--teenai {
	background: rgba(6, 182, 212, 0.06);
	padding: 12px 16px;
	border-radius: var(--radius-sm);
	border-left: 3px solid var(--color-secondary);
}

/* --- 4. Smart FAQ with Live Search & Tabs --- */
.section-smart-faq .faq-search-wrap {
	position: relative;
	max-width: 680px;
	margin: 0 auto var(--space-md);
}

.section-smart-faq .faq-search-icon {
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.1rem;
	color: var(--color-muted);
	pointer-events: none;
}

.section-smart-faq .faq-search-input {
	width: 100%;
	padding: 14px 44px 14px 48px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(139, 92, 246, 0.25);
	border-radius: var(--radius-full);
	color: #fff;
	font-family: var(--font-body);
	font-size: 0.95rem;
	backdrop-filter: blur(8px);
	transition: all 0.25s ease;
}

.section-smart-faq .faq-search-input:focus {
	background: rgba(255, 255, 255, 0.08);
	border-color: var(--color-secondary);
	box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.2);
	outline: none;
}

.section-smart-faq .faq-search-clear {
	position: absolute;
	right: 14px;
	top: 50%;
	transform: translateY(-50%);
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	border: none;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.8rem;
}

.faq-categories {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	margin-bottom: var(--space-md);
}

.faq-category-btn {
	padding: 8px 16px;
	border-radius: var(--radius-full);
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	color: var(--color-on-background);
	font-family: var(--font-body);
	font-size: 0.88rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.faq-category-btn:hover {
	background: rgba(139, 92, 246, 0.12);
	border-color: rgba(139, 92, 246, 0.3);
	color: #fff;
}

.faq-category-btn.is-active {
	background: var(--color-primary);
	border-color: var(--color-primary);
	color: #fff;
	box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
}

.faq-cat-count {
	font-size: 0.78rem;
	opacity: 0.8;
}

.section-smart-faq .faq-item {
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	margin-bottom: 10px;
	transition: all 0.25s ease;
	overflow: hidden;
}

.section-smart-faq .faq-item.is-open {
	border-color: rgba(139, 92, 246, 0.45);
	background: rgba(26, 22, 56, 0.5);
}

.faq-question-btn {
	width: 100%;
	padding: 16px 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: none;
	border: none;
	color: inherit;
	cursor: pointer;
	text-align: left;
	gap: 12px;
}

.faq-q-text {
	font-family: var(--font-display);
	font-size: 1.05rem;
	font-weight: 700;
	color: #fff;
	flex: 1;
}

.faq-cat-pill {
	font-size: 0.7rem;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: var(--radius-full);
	text-transform: uppercase;
	letter-spacing: 0.04em;
	white-space: nowrap;
}

.faq-cat-pill--safety {
	background: rgba(139, 92, 246, 0.15);
	color: #c4b5fd;
}

.faq-cat-pill--tokens {
	background: rgba(6, 182, 212, 0.15);
	color: #67e8f9;
}

.faq-cat-pill--school {
	background: rgba(245, 158, 11, 0.15);
	color: #fde047;
}

.faq-cat-pill--courses {
	background: rgba(163, 230, 53, 0.15);
	color: #bef264;
}

.faq-icon-indicator {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: rgba(139, 92, 246, 0.12);
	color: var(--color-link);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	font-weight: 700;
	flex-shrink: 0;
}

.faq-answer-pane {
	padding: 0 20px 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.faq-answer-inner {
	padding-top: 12px;
	font-size: 0.95rem;
	line-height: 1.6;
	color: var(--color-on-background);
}

.faq-answer-inner p {
	margin: 0;
}

.faq-empty-state {
	text-align: center;
	padding: var(--space-lg);
	border-radius: var(--radius-lg);
	margin-top: var(--space-md);
}

.faq-empty-state .empty-icon {
	font-size: 2.5rem;
	margin-bottom: 8px;
}

.faq-empty-state h3 {
	color: #fff;
	margin: 0 0 6px;
}

.faq-empty-state p {
	color: var(--color-muted);
	margin: 0 0 var(--space-sm);
}

/* --- 5. Vibecoding Sandbox Live-Game --- */
.vibecoding-sandbox {
	background: linear-gradient(135deg, rgba(21, 21, 40, 0.92) 0%, rgba(15, 15, 26, 0.98) 100%);
	border: 1px solid rgba(163, 230, 53, 0.25);
	border-radius: var(--radius-xl);
	padding: var(--space-lg);
}

.sandbox-header {
	text-align: center;
	max-width: 720px;
	margin: 0 auto var(--space-md);
}

.sandbox-title {
	font-family: var(--font-display);
	font-size: clamp(1.4rem, 2.4vw, 2rem);
	font-weight: 800;
	color: #fff;
	margin: 10px 0 8px;
}

.sandbox-subtitle {
	font-size: 0.95rem;
	color: var(--color-muted);
	line-height: 1.6;
	margin: 0;
}

.sandbox-configurator {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--space-md);
	margin: var(--space-md) 0;
}

.sandbox-control-group {
	padding: var(--space-sm);
	border-radius: var(--radius);
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid rgba(255, 255, 255, 0.06);
}

.control-group-title {
	display: block;
	font-size: 0.85rem;
	font-weight: 700;
	color: #fff;
	margin-bottom: 8px;
}

.control-group-title .step-num {
	display: inline-flex;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--color-child-accent);
	color: #000;
	font-size: 0.75rem;
	font-weight: 800;
	align-items: center;
	justify-content: center;
	margin-right: 6px;
}

.sandbox-chips {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 6px;
}

.sandbox-chip {
	padding: 8px 10px;
	border-radius: var(--radius-sm);
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	color: var(--color-on-background);
	font-family: var(--font-body);
	font-size: 0.82rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	gap: 6px;
	justify-content: center;
}

.sandbox-chip:hover {
	background: rgba(163, 230, 53, 0.12);
	border-color: rgba(163, 230, 53, 0.3);
	color: #fff;
}

.sandbox-chip.is-active {
	background: rgba(163, 230, 53, 0.2);
	border-color: var(--color-child-accent);
	color: #fff;
	box-shadow: 0 0 12px rgba(163, 230, 53, 0.3);
	font-weight: 700;
}

.sandbox-terminal {
	border-radius: var(--radius);
	background: #0b0b14;
	border: 1px solid rgba(255, 255, 255, 0.08);
	margin-bottom: var(--space-sm);
	overflow: hidden;
}

.terminal-code-line {
	margin: 0;
	padding: 10px 16px;
	font-family: var(--font-mono);
	font-size: 0.82rem;
	color: #e2e8f0;
	white-space: pre-wrap;
}

.sandbox-arena-wrap {
	border-radius: var(--radius-lg);
	background: #0f0f1a;
	border: 1px solid rgba(139, 92, 246, 0.3);
	overflow: hidden;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.sandbox-canvas-holder {
	position: relative;
	width: 100%;
	height: 300px;
	background: #151528;
	overflow: hidden;
	cursor: pointer;
	touch-action: none;
	user-select: none;
	-webkit-user-select: none;
}

.sandbox-game-canvas {
	width: 100%;
	height: 100%;
	display: block;
	touch-action: none;
	user-select: none;
	-webkit-user-select: none;
	-webkit-touch-callout: none;
}

.sandbox-overlay {
	position: absolute;
	inset: 0;
	background: rgba(15, 15, 26, 0.85);
	backdrop-filter: blur(6px);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	z-index: 10;
	padding: var(--space-md);
}

.overlay-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	max-width: 400px;
}

.overlay-icon {
	font-size: 3rem;
}

.overlay-content h4 {
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 800;
	color: #fff;
	margin: 0;
}

.overlay-hint {
	font-size: 0.88rem;
	color: var(--color-muted);
	margin: 0;
}

.overlay-score-msg {
	font-size: 1rem;
	color: #fff;
	margin: 0;
}

.sandbox-hud {
	position: absolute;
	top: 12px;
	left: 12px;
	right: 12px;
	display: flex;
	justify-content: space-between;
	pointer-events: none;
	z-index: 5;
}

.hud-pill {
	padding: 4px 12px;
	border-radius: var(--radius-full);
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(4px);
	font-size: 0.8rem;
	font-weight: 700;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.1);
}

.hud-pill--score {
	color: #fde047;
	border-color: rgba(253, 224, 71, 0.3);
}

.hud-pill--record {
	color: #67e8f9;
	border-color: rgba(103, 232, 249, 0.3);
}

.sandbox-footer-bar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 18px;
	background: rgba(255, 255, 255, 0.02);
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	flex-wrap: wrap;
	gap: 10px;
}

.sandbox-footer-tip {
	font-size: 0.82rem;
	color: var(--color-muted);
}

.sandbox-footer-actions {
	display: flex;
	gap: 10px;
}

/* Animations */
@keyframes borderRotate {
	0% { filter: hue-rotate(0deg); }
	100% { filter: hue-rotate(360deg); }
}

@keyframes sealShimmer {
	0% { transform: rotate(-4deg) scale(1); filter: drop-shadow(0 0 8px rgba(234, 179, 8, 0.4)); }
	100% { transform: rotate(4deg) scale(1.05); filter: drop-shadow(0 0 16px rgba(234, 179, 8, 0.8)); }
}

@keyframes caseFadeIn {
	from { opacity: 0; transform: translateY(8px); }
	to { opacity: 1; transform: translateY(0); }
}

@keyframes floatIcon {
	0% { transform: translateY(0); }
	100% { transform: translateY(-8px); }
}

/* Responsive adjustments for 5 new systems */
@media (max-width: 1024px) {
	.cert-layout-grid {
		grid-template-columns: 1fr;
	}
	.case-pane__grid {
		grid-template-columns: 1fr;
	}
	.sandbox-configurator {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.diploma-inner {
		padding: 16px 18px;
	}
	.diploma-footer {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}
	.diploma-footer-right {
		text-align: left;
	}
	.cases-tabs-nav {
		gap: 6px;
	}
	.cases-tab-btn {
		font-size: 0.85rem;
		padding: 8px 14px;
	}
	.sandbox-chips {
		grid-template-columns: 1fr 1fr;
	}
	.sandbox-footer-bar {
		flex-direction: column;
		align-items: stretch;
	}
	.sandbox-footer-actions {
		width: 100%;
		justify-content: stretch;
	}
	.sandbox-footer-actions .btn {
		flex: 1;
		text-align: center;
	}
	.faq-categories {
		justify-content: flex-start;
		overflow-x: auto;
		flex-wrap: nowrap;
		padding-bottom: 6px;
		-webkit-overflow-scrolling: touch;
	}
	.faq-category-btn {
		flex-shrink: 0;
	}
	.faq-question-btn {
		padding: 14px 16px;
	}
	.faq-q-text {
		font-size: 0.95rem;
	}
}

/* ========== v4.2 Quick Jump Bar ========== */
.quick-nav-bar {
	position: fixed;
	left: 50%;
	bottom: calc(18px + var(--cookie-h, 0px));
	transform: translate3d(-50%, 120%, 0);
	z-index: 60;
	display: flex;
	align-items: center;
	gap: 4px;
	padding: 8px 10px;
	border-radius: 999px;
	background: rgba(21, 21, 40, 0.82);
	border: 1px solid rgba(139, 92, 246, 0.35);
	backdrop-filter: blur(16px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
	opacity: 0;
	pointer-events: none;
	transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
	max-width: calc(100vw - 24px);
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	will-change: transform, opacity;
}

.quick-nav-bar.is-visible {
	transform: translate3d(-50%, 0, 0);
	opacity: 1;
	pointer-events: auto;
}

.quick-nav-bar__btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 12px;
	border-radius: 999px;
	color: rgba(255, 255, 255, 0.78);
	text-decoration: none;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.01em;
	white-space: nowrap;
	transition: background 0.2s ease, color 0.2s ease;
}

.quick-nav-bar__btn:hover,
.quick-nav-bar__btn.is-active {
	background: rgba(139, 92, 246, 0.28);
	color: #fff;
}

.quick-nav-bar__icon {
	width: 14px;
	height: 14px;
	flex-shrink: 0;
}

@media (max-width: 768px) {
	.quick-nav-bar {
		bottom: calc(12px + var(--cookie-h, 0px));
		padding: 6px 8px;
		gap: 2px;
	}
	.quick-nav-bar__btn span {
		display: none;
	}
	.quick-nav-bar__btn {
		padding: 10px;
	}
	.quick-nav-bar__icon {
		width: 16px;
		height: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.quick-nav-bar {
		transition: none;
	}
}

/* ========== v4.2 Bento Music Micro-Player ========== */
.bento-music-player {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 8px;
}

.bento-music-tracks {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.bento-track-chip {
	appearance: none;
	border: 1px solid rgba(139, 92, 246, 0.35);
	background: rgba(10, 10, 20, 0.45);
	color: rgba(255, 255, 255, 0.82);
	border-radius: 999px;
	padding: 6px 10px;
	font-size: 11px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.bento-track-chip:hover,
.bento-track-chip.is-active {
	background: rgba(139, 92, 246, 0.28);
	border-color: rgba(192, 132, 252, 0.7);
	color: #fff;
}

.bento-music-controls {
	display: flex;
	align-items: center;
	gap: 12px;
	background: rgba(10, 10, 20, 0.5);
	padding: 8px 12px;
	border-radius: 12px;
	border: 1px solid rgba(139, 92, 246, 0.25);
}

.bento-music-play-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 72px;
	height: 36px;
	padding: 0 12px;
	border-radius: 999px;
	background: #8b5cf6;
	color: #fff;
	border: none;
	cursor: pointer;
	font-size: 12px;
	font-weight: 700;
	transition: transform 0.2s ease, background 0.2s ease;
}

.bento-music-play-btn:hover {
	transform: scale(1.04);
	background: #7c3aed;
}

.bento-music-play-svg {
	width: 16px;
	height: 16px;
}

.bento-music-play-svg path,
.bento-music-play-svg polygon {
	stroke: #fff;
	fill: none;
}

.bento-eq-bars {
	display: flex;
	align-items: flex-end;
	gap: 3px;
	flex: 1;
	height: 28px;
}

.bento-eq-bar {
	flex: 1;
	min-width: 3px;
	height: 100%;
	transform: scaleY(0.25);
	transform-origin: bottom center;
	border-radius: 2px;
	background: linear-gradient(180deg, #22d3ee, #8b5cf6);
	opacity: 0.55;
	will-change: transform, opacity;
}

.bento-eq-bar:nth-child(3n) { transform: scaleY(0.45); }
.bento-eq-bar:nth-child(4n) { transform: scaleY(0.7); }
.bento-eq-bar:nth-child(5n) { transform: scaleY(0.35); }

.is-playing .bento-eq-bar {
	animation: eq-bounce 0.55s ease-in-out infinite alternate;
}

.is-playing .bento-eq-bar:nth-child(2n) { animation-delay: -0.12s; }
.is-playing .bento-eq-bar:nth-child(3n) { animation-delay: -0.24s; }
.is-playing .bento-eq-bar:nth-child(4n) { animation-delay: -0.36s; }
.is-playing .bento-eq-bar:nth-child(5n) { animation-delay: -0.48s; }

@keyframes eq-bounce {
	0% { transform: scaleY(0.18); opacity: 0.45; }
	100% { transform: scaleY(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
	.is-playing .bento-eq-bar {
		animation: none;
		transform: scaleY(0.55);
	}
}

/* ========== v4.2 Blog media cards + article shell ========== */
.blog-grid--covers {
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 20px;
}

.blog-card--media {
	padding: 0;
	overflow: hidden;
	min-height: 0;
	background: rgba(21, 21, 40, 0.72);
	border: 1px solid rgba(139, 92, 246, 0.22);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
	transition: transform 0.25s ease, border-color 0.25s ease;
}

.blog-card--media:hover {
	transform: translateY(-4px);
	border-color: rgba(34, 211, 238, 0.45);
}

.blog-card__cover-link {
	display: block;
	text-decoration: none;
}

.blog-card__cover {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: radial-gradient(circle at 30% 20%, rgba(139, 92, 246, 0.35), transparent 55%), #121222;
}

.blog-card__cover-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.blog-card__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 16px 18px 18px;
}

.blog-card__excerpt {
	margin: 0;
	font-size: 14px;
	line-height: 1.45;
	color: var(--color-muted, rgba(255, 255, 255, 0.68));
}

.blog-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 14px;
	margin-top: 4px;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.55);
}

.article-shell {
	max-width: 860px;
}

.article-crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 0 0 18px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.55);
}

.article-crumbs a {
	color: var(--color-glow-cyan, #22d3ee);
	text-decoration: none;
}

.article-crumbs a:hover {
	text-decoration: underline;
}

.article-crumbs__sep {
	opacity: 0.5;
}

.article-crumbs__current {
	color: rgba(255, 255, 255, 0.78);
}

.article-cover {
	margin: 0 0 24px;
	border-radius: 18px;
	overflow: hidden;
	border: 1px solid rgba(139, 92, 246, 0.28);
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.article-cover__img {
	width: 100%;
	height: auto;
	display: block;
}

.article-header {
	margin-bottom: 24px;
}

.article-byline {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 16px;
	margin-top: 12px;
	font-size: 14px;
	color: rgba(255, 255, 255, 0.65);
}

.article-body {
	font-size: 1.05rem;
	line-height: 1.7;
}

.article-body h2,
.article-body h3 {
	margin-top: 1.6em;
}

.article-body table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.2em 0;
	font-size: 0.95rem;
}

.article-body th,
.article-body td {
	border: 1px solid rgba(255, 255, 255, 0.12);
	padding: 10px 12px;
	text-align: left;
	vertical-align: top;
}

.article-body th {
	background: rgba(139, 92, 246, 0.15);
}

.article-footer {
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   Vibecoding, Marsik & Games Showcase Components
   ========================================================================== */

/* Comparison Grid */
.vibe-comparison-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
	margin-top: 2rem;
}
@media (max-width: 768px) {
	.vibe-comparison-grid {
		grid-template-columns: 1fr;
	}
}
.vibe-card {
	padding: 2rem;
	border-radius: var(--radius-xl, 20px);
	display: flex;
	flex-direction: column;
	position: relative;
}
.vibe-card--old {
	border-color: rgba(244, 63, 94, 0.25);
	background: rgba(244, 63, 94, 0.03);
}
.vibe-card--new {
	border-color: rgba(163, 230, 53, 0.35);
	background: rgba(163, 230, 53, 0.04);
	box-shadow: 0 8px 32px rgba(163, 230, 53, 0.08);
}
.vibe-card__badge {
	display: inline-block;
	align-self: flex-start;
	font-size: 0.8rem;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: 9999px;
	margin-bottom: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.vibe-card__badge--old {
	background: rgba(244, 63, 94, 0.15);
	color: #fb7185;
	border: 1px solid rgba(244, 63, 94, 0.3);
}
.vibe-card__badge--new {
	background: rgba(163, 230, 53, 0.15);
	color: #bef264;
	border: 1px solid rgba(163, 230, 53, 0.4);
}
.vibe-card__title {
	font-size: 1.35rem;
	font-weight: 800;
	margin-bottom: 1.5rem;
	color: #fff;
}
.vibe-card__list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}
.vibe-card__list li {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
}
.vibe-cross {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: rgba(244, 63, 94, 0.2);
	color: #f43f5e;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 0.85rem;
}
.vibe-check {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: rgba(163, 230, 53, 0.2);
	color: #a3e635;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 0.85rem;
}
.vibe-card__list strong {
	display: block;
	color: #fff;
	margin-bottom: 0.25rem;
	font-size: 1rem;
}
.vibe-card__list p {
	margin: 0;
	font-size: 0.9rem;
	color: var(--color-muted, #94a3b8);
	line-height: 1.5;
}

/* Prompt Builder */
.prompt-builder-widget {
	padding: 2rem;
	border-radius: var(--radius-xl, 20px);
	border: 1px solid rgba(139, 92, 246, 0.3);
	background: linear-gradient(135deg, rgba(20, 20, 38, 0.95) 0%, rgba(13, 13, 26, 0.98) 100%);
}
.pb-row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	margin-bottom: 1.75rem;
}
@media (max-width: 860px) {
	.pb-row {
		grid-template-columns: 1fr;
	}
}
.pb-label {
	display: block;
	font-weight: 700;
	font-size: 0.95rem;
	color: #fff;
	margin-bottom: 0.75rem;
}
.pb-buttons {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}
.pb-btn {
	text-align: left;
	padding: 0.65rem 1rem;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(255, 255, 255, 0.03);
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.9rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
}
.pb-btn:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.2);
}
.pb-btn.is-active {
	background: linear-gradient(135deg, rgba(6, 182, 212, 0.2) 0%, rgba(139, 92, 246, 0.25) 100%);
	border-color: var(--color-cyan, #06b6d4);
	color: #fff;
	font-weight: 700;
	box-shadow: 0 0 12px rgba(6, 182, 212, 0.2);
}
.pb-result-box {
	background: rgba(0, 0, 0, 0.4);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 12px;
	padding: 1.25rem;
}
.pb-result-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 0.75rem;
	flex-wrap: wrap;
	gap: 0.5rem;
}
.pb-result-title {
	font-weight: 700;
	font-size: 0.95rem;
	color: #bef264;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}
.pb-icon {
	width: 18px;
	height: 18px;
}
.pb-result-textarea {
	width: 100%;
	background: rgba(10, 10, 20, 0.8);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 8px;
	color: #f1f5f9;
	font-family: var(--font-mono, 'JetBrains Mono', monospace);
	font-size: 0.95rem;
	line-height: 1.6;
	padding: 0.75rem 1rem;
	resize: none;
	outline: none;
}
.pb-result-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 1rem;
	flex-wrap: wrap;
	gap: 1rem;
}
.pb-hint {
	font-size: 0.85rem;
	color: var(--color-muted, #94a3b8);
}

/* Projects & Gallery Grids */
.vibe-projects-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
	margin-top: 1.5rem;
}
@media (max-width: 768px) {
	.vibe-projects-grid {
		grid-template-columns: 1fr;
	}
}
.vibe-proj-card {
	padding: 1.5rem;
	border-radius: var(--radius-xl, 18px);
	display: flex;
	flex-direction: column;
	border: 1px solid rgba(255, 255, 255, 0.1);
	transition: transform 0.25s ease, border-color 0.25s ease;
}
.vibe-proj-card:hover {
	transform: translateY(-4px);
	border-color: rgba(6, 182, 212, 0.4);
}
.vibe-proj-card__preview {
	width: 100%;
	height: 160px;
	border-radius: 12px;
	overflow: hidden;
	margin-bottom: 1rem;
	background: rgba(0, 0, 0, 0.25);
	border: 1px solid rgba(255, 255, 255, 0.08);
}
.vibe-proj-card__preview img,
.vibe-proj-card__preview .vibe-proj-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}
.vibe-proj-card:hover .vibe-proj-card__preview img,
.vibe-proj-card:hover .vibe-proj-card__preview .vibe-proj-img {
	transform: scale(1.05);
}
.vibe-proj-card__badge {
	display: inline-block;
	align-self: flex-start;
	font-size: 0.75rem;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 9999px;
	background: rgba(6, 182, 212, 0.15);
	color: #67e8f9;
	border: 1px solid rgba(6, 182, 212, 0.3);
	margin-bottom: 0.75rem;
}
.vibe-proj-card__title {
	font-size: 1.25rem;
	font-weight: 800;
	color: #fff;
	margin-bottom: 0.25rem;
}
.vibe-proj-card__author {
	font-size: 0.85rem;
	color: #a3e635;
	font-weight: 600;
	margin-bottom: 0.75rem;
}
.vibe-proj-card__desc {
	font-size: 0.9rem;
	color: var(--color-muted, #94a3b8);
	line-height: 1.5;
	margin-bottom: 1rem;
	flex-grow: 1;
}
.vibe-proj-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1.25rem;
}
.vibe-proj-card__tags span {
	font-size: 0.75rem;
	background: rgba(255, 255, 255, 0.05);
	padding: 3px 8px;
	border-radius: 6px;
	color: rgba(255, 255, 255, 0.7);
}
.showcase-all-link {
	text-align: center;
	margin-top: 2rem;
}

/* Security Grid */
.vibe-security-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	margin-top: 1.5rem;
}
@media (max-width: 860px) {
	.vibe-security-grid {
		grid-template-columns: 1fr;
	}
}
.vibe-sec-card {
	padding: 1.75rem;
	border-radius: 16px;
	border: 1px solid rgba(255, 255, 255, 0.08);
}
.vibe-sec-icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: rgba(163, 230, 53, 0.12);
	color: #a3e635;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1rem;
}
.vibe-sec-card h3 {
	font-size: 1.15rem;
	font-weight: 700;
	color: #fff;
	margin-bottom: 0.5rem;
}
.vibe-sec-card p {
	font-size: 0.9rem;
	color: var(--color-muted, #94a3b8);
	line-height: 1.5;
	margin: 0;
}

/* Marsik Case Components */
.case-nav-bar {
	padding: 0.75rem 1.25rem;
	border-radius: 14px;
	display: flex;
	align-items: center;
	gap: 1rem;
	flex-wrap: wrap;
	background: rgba(15, 15, 30, 0.8);
	border: 1px solid rgba(255, 255, 255, 0.1);
}
.case-nav-label {
	font-weight: 700;
	font-size: 0.9rem;
	color: #94a3b8;
}
.case-nav-links {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
}
.case-nav-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.4rem 0.8rem;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.04);
	color: #cbd5e1;
	font-size: 0.85rem;
	font-weight: 600;
	text-decoration: none;
	border: 1px solid rgba(255, 255, 255, 0.08);
	transition: all 0.2s;
}
.case-nav-chip:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}
.case-nav-chip.is-highlight {
	background: rgba(163, 230, 53, 0.15);
	color: #bef264;
	border-color: rgba(163, 230, 53, 0.35);
}
.case-nav-icon {
	width: 16px;
	height: 16px;
}

.story-book {
	padding: 2.25rem;
	border-radius: var(--radius-xl, 20px);
	border: 1px solid rgba(244, 63, 94, 0.25);
	background: linear-gradient(135deg, rgba(25, 18, 30, 0.9) 0%, rgba(15, 12, 22, 0.95) 100%);
	margin-top: 1.5rem;
}
.story-badge {
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 700;
	color: #fda4af;
	background: rgba(244, 63, 94, 0.12);
	padding: 4px 10px;
	border-radius: 6px;
	margin-bottom: 1.25rem;
}
.story-p {
	font-size: 1.05rem;
	line-height: 1.7;
	color: #e2e8f0;
	margin-bottom: 1.25rem;
}
.story-p--lead {
	font-size: 1.15rem;
	color: #fff;
	font-weight: 500;
}
.story-quote {
	margin: 1.5rem 0;
	padding: 1rem 1.5rem;
	border-left: 3px solid #f43f5e;
	background: rgba(244, 63, 94, 0.06);
	border-radius: 0 10px 10px 0;
	font-style: italic;
	color: #fecdd3;
	line-height: 1.6;
}
.story-book__footer {
	margin-top: 2rem;
	padding-top: 1.25rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
	font-size: 0.85rem;
	color: #94a3b8;
}

.marsik-art-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	margin-top: 1.5rem;
}
@media (max-width: 860px) {
	.marsik-art-grid {
		grid-template-columns: 1fr;
	}
}
.art-card {
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.1);
	display: flex;
	flex-direction: column;
}
.art-card__preview {
	height: 180px;
	background-size: cover;
	background-position: center;
	position: relative;
	padding: 0.75rem;
}
.art-card__preview--suit {
	background: radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.4) 0%, rgba(15, 15, 30, 0.95) 80%);
}
.art-card__preview--rover {
	background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.4) 0%, rgba(15, 15, 30, 0.95) 80%);
}
.art-card__preview--base {
	background: radial-gradient(circle at 50% 50%, rgba(163, 230, 53, 0.3) 0%, rgba(15, 15, 30, 0.95) 80%);
}
.art-tag {
	font-size: 0.75rem;
	font-weight: 700;
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(4px);
	padding: 3px 8px;
	border-radius: 6px;
	color: #fff;
}
.art-card__info {
	padding: 1.25rem;
	flex-grow: 1;
}
.art-card__info h3 {
	font-size: 1.15rem;
	font-weight: 700;
	color: #fff;
	margin-bottom: 0.5rem;
}
.art-prompt {
	font-size: 0.85rem;
	color: #94a3b8;
	line-height: 1.5;
	margin: 0;
}

/* Marsik Game Arena */
.marsik-game-arena {
	border-radius: var(--radius-xl, 20px);
	border: 1px solid rgba(163, 230, 53, 0.3);
	background: linear-gradient(135deg, rgba(12, 14, 25, 0.95) 0%, rgba(8, 9, 18, 0.98) 100%);
	padding: 1.5rem;
	margin-top: 1.5rem;
}
.game-hud {
	display: flex;
	gap: 1.5rem;
	background: rgba(0, 0, 0, 0.4);
	padding: 0.75rem 1.25rem;
	border-radius: 12px;
	margin-bottom: 1rem;
	flex-wrap: wrap;
}
.hud-item {
	font-size: 0.95rem;
	color: #fff;
}
.hud-item strong {
	color: #a3e635;
	font-family: var(--font-mono, 'JetBrains Mono', monospace);
}
.game-canvas-holder {
	position: relative;
	border-radius: 14px;
	overflow: hidden;
	background: #060714;
	box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.8);
}
.js-marsik-canvas {
	width: 100%;
	height: auto;
	max-height: 400px;
	display: block;
}
.marsik-overlay {
	position: absolute;
	inset: 0;
	background: rgba(6, 7, 20, 0.88);
	backdrop-filter: blur(6px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	text-align: center;
}
.marsik-overlay__box {
	max-width: 480px;
}
.marsik-avatar-icon {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: rgba(163, 230, 53, 0.15);
	color: #a3e635;
	margin: 0 auto 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
}
.marsik-overlay__box h3 {
	font-size: 1.4rem;
	font-weight: 800;
	color: #fff;
	margin-bottom: 0.75rem;
}
.marsik-overlay__box p {
	font-size: 0.95rem;
	color: #cbd5e1;
	line-height: 1.5;
	margin-bottom: 1.5rem;
}
.game-touch-bar {
	display: flex;
	gap: 1rem;
	margin-top: 1rem;
	justify-content: center;
}
.touch-btn {
	padding: 0.75rem 1.5rem;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.15);
	color: #fff;
	font-weight: 700;
	font-size: 1rem;
	cursor: pointer;
	touch-action: manipulation;
	user-select: none;
}
.touch-btn:active {
	background: rgba(163, 230, 53, 0.3);
}
.touch-btn--jump {
	background: rgba(163, 230, 53, 0.2);
	border-color: rgba(163, 230, 53, 0.4);
	color: #bef264;
}
.game-footer-note {
	margin-top: 1rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.85rem;
	color: #94a3b8;
	flex-wrap: wrap;
	gap: 0.75rem;
}

/* Storyboard */
.storyboard-grid,
.steps-flow-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	margin-top: 1.5rem;
}
@media (max-width: 860px) {
	.storyboard-grid,
	.steps-flow-grid {
		grid-template-columns: 1fr;
	}
}
.steps-flow-grid {
	grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 980px) {
	.steps-flow-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 600px) {
	.steps-flow-grid {
		grid-template-columns: 1fr;
	}
}
.sb-card,
.step-card {
	padding: 1.5rem;
	border-radius: 16px;
	border: 1px solid rgba(255, 255, 255, 0.08);
}
.sb-num,
.step-badge {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 800;
	padding: 3px 8px;
	border-radius: 6px;
	background: rgba(245, 158, 11, 0.15);
	color: #fbbf24;
	margin-bottom: 0.75rem;
}
.step-badge {
	background: rgba(6, 182, 212, 0.15);
	color: #67e8f9;
}
.sb-card h4,
.step-card h3 {
	font-size: 1.1rem;
	font-weight: 700;
	color: #fff;
	margin-bottom: 0.5rem;
}
.sb-card p,
.step-card p {
	font-size: 0.9rem;
	color: #94a3b8;
	line-height: 1.5;
	margin: 0;
}
.sb-time {
	display: block;
	margin-top: 0.75rem;
	font-size: 0.75rem;
	color: #64748b;
	font-family: var(--font-mono, monospace);
}

/* Games Showcase Catalog */
.catalog-filters {
	display: flex;
	gap: 0.75rem;
	margin: 1.5rem 0;
	flex-wrap: wrap;
}
.filter-btn {
	padding: 0.5rem 1.1rem;
	border-radius: 9999px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.85rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s;
}
.filter-btn:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}
.filter-btn.is-active {
	background: var(--color-child-accent, #a3e635);
	color: #0f172a;
	font-weight: 700;
	border-color: var(--color-child-accent, #a3e635);
}
.games-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}
@media (max-width: 980px) {
	.games-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 640px) {
	.games-grid {
		grid-template-columns: 1fr;
	}
}
.game-card {
	padding: 1.5rem;
	border-radius: 18px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	display: flex;
	flex-direction: column;
	transition: transform 0.25s, border-color 0.25s;
}
.game-card:hover {
	transform: translateY(-4px);
	border-color: rgba(139, 92, 246, 0.4);
}
.game-card__badge {
	display: inline-block;
	align-self: flex-start;
	font-size: 0.75rem;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 9999px;
	margin-bottom: 0.75rem;
}
.game-card__badge--runner { background: rgba(6, 182, 212, 0.15); color: #67e8f9; }
.game-card__badge--clicker { background: rgba(244, 63, 94, 0.15); color: #fda4af; }
.game-card__badge--music { background: rgba(139, 92, 246, 0.15); color: #c4b5fd; }
.game-card__badge--quest { background: rgba(245, 158, 11, 0.15); color: #fde68a; }

.game-card__header {
	display: flex;
	gap: 0.75rem;
	align-items: center;
	margin-bottom: 0.75rem;
}
.game-card__icon {
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.05);
	color: #bef264;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.gc-icon { width: 20px; height: 20px; }
.game-card__title {
	font-size: 1.15rem;
	font-weight: 700;
	color: #fff;
	margin: 0;
}
.game-card__author {
	font-size: 0.8rem;
	color: #94a3b8;
	margin: 0;
}
.game-card__desc {
	font-size: 0.88rem;
	color: #cbd5e1;
	line-height: 1.5;
	margin-bottom: 1rem;
	flex-grow: 1;
}
.game-card__tech {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin-bottom: 1.25rem;
}
.game-card__tech span {
	font-size: 0.72rem;
	background: rgba(255, 255, 255, 0.04);
	padding: 2px 7px;
	border-radius: 4px;
	color: #94a3b8;
}

/* Rhythm Game */
.rhythm-game-arena {
	padding: 1.5rem;
	border-radius: var(--radius-xl, 20px);
	border: 1px solid rgba(139, 92, 246, 0.3);
	background: linear-gradient(135deg, rgba(16, 12, 28, 0.95) 0%, rgba(10, 8, 20, 0.98) 100%);
	margin-top: 1.5rem;
}
.rhythm-hud {
	display: flex;
	gap: 1.5rem;
	background: rgba(0, 0, 0, 0.4);
	padding: 0.65rem 1.25rem;
	border-radius: 10px;
	margin-bottom: 1rem;
}
.rhythm-canvas-wrap {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	background: #090616;
}
.js-rhythm-canvas {
	width: 100%;
	height: auto;
	max-height: 280px;
	display: block;
}
.rhythm-overlay {
	position: absolute;
	inset: 0;
	background: rgba(9, 6, 22, 0.9);
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 1rem;
}
.rhythm-overlay-box h3 {
	font-size: 1.3rem;
	color: #fff;
	margin-bottom: 0.5rem;
}
.rhythm-overlay-box p {
	font-size: 0.9rem;
	color: #cbd5e1;
	margin-bottom: 1.25rem;
}
.rhythm-lanes-bar {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0.75rem;
	margin-top: 1rem;
}
.rhythm-btn {
	padding: 0.75rem;
	border-radius: 10px;
	font-weight: 700;
	font-size: 0.9rem;
	cursor: pointer;
	border: 1px solid transparent;
	color: #fff;
	transition: filter 0.1s;
}
.rhythm-btn:active { filter: brightness(1.4); }
.lane-cyan { background: rgba(6, 182, 212, 0.25); border-color: rgba(6, 182, 212, 0.5); }
.lane-lime { background: rgba(163, 230, 53, 0.25); border-color: rgba(163, 230, 53, 0.5); }
.lane-violet { background: rgba(139, 92, 246, 0.25); border-color: rgba(139, 92, 246, 0.5); }
.lane-amber { background: rgba(245, 158, 11, 0.25); border-color: rgba(245, 158, 11, 0.5); }

/* Philosophy Grid */
.philosophy-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	margin-top: 1.5rem;
}
@media (max-width: 860px) {
	.philosophy-grid {
		grid-template-columns: 1fr;
	}
}
.phil-card {
	padding: 2rem;
	border-radius: 18px;
	border: 1px solid rgba(255, 255, 255, 0.08);
}
.phil-num {
	font-size: 1.8rem;
	font-weight: 800;
	font-family: var(--font-display);
	color: #a3e635;
	margin-bottom: 0.5rem;
}
.phil-card h3 {
	font-size: 1.2rem;
	color: #fff;
	margin-bottom: 0.5rem;
}
.phil-card p {
	font-size: 0.9rem;
	color: #94a3b8;
	line-height: 1.5;
	margin: 0;
}

/* ==========================================================================
   Iteration 21.09.2026: Vibecoding & Marsik Product Enhancements
   ========================================================================== */

.hero-sub--definition {
	font-size: 1.05rem;
	line-height: 1.7;
	color: #cbd5e1;
	border-left: 3px solid #a3e635;
	padding-left: 1.25rem;
	background: rgba(163, 230, 53, 0.04);
	border-radius: 0 12px 12px 0;
	margin-bottom: 1.75rem;
}

.hero-contact-strip {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.6rem 1.25rem;
	border-radius: 999px;
	margin-top: 1.25rem;
	font-size: 0.9rem;
	color: #94a3b8;
	flex-wrap: wrap;
}
.hero-contact-label {
	color: #cbd5e1;
	font-weight: 500;
}
.hero-contact-link {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	color: #38bdf8;
	text-decoration: none;
	font-weight: 600;
	transition: color 0.2s ease;
}
.hero-contact-link:hover {
	color: #a3e635;
	text-decoration: underline;
}
.hero-contact-link .contact-icon {
	width: 16px;
	height: 16px;
	fill: currentColor;
}
.contact-sep {
	color: rgba(255, 255, 255, 0.2);
}

/* 1. Vibecoding Process Steps */
.vibe-process-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
	margin-top: 2rem;
}
@media (max-width: 980px) {
	.vibe-process-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 580px) {
	.vibe-process-grid {
		grid-template-columns: 1fr;
	}
}
.vibe-proc-card {
	padding: 1.75rem 1.5rem;
	border-radius: 18px;
	position: relative;
	border: 1px solid rgba(255, 255, 255, 0.08);
	display: flex;
	flex-direction: column;
}
.vibe-proc-step {
	position: absolute;
	top: 1rem;
	right: 1rem;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #a3e635;
	background: rgba(163, 230, 53, 0.12);
	padding: 0.2rem 0.6rem;
	border-radius: 999px;
}
.vibe-proc-icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: rgba(6, 182, 212, 0.15);
	color: #06b6d4;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1rem;
}
.vibe-svg-step {
	width: 22px;
	height: 22px;
	fill: currentColor;
}
.vibe-proc-card h3 {
	font-size: 1.15rem;
	color: #fff;
	margin: 0 0 0.5rem;
}
.vibe-proc-card p {
	font-size: 0.9rem;
	color: #94a3b8;
	line-height: 1.55;
	margin: 0;
}
.vibe-process-cta {
	text-align: center;
	margin-top: 2.25rem;
}

/* 2. Vibecoding Ages Grid */
.vibe-ages-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	margin-top: 2rem;
}
@media (max-width: 900px) {
	.vibe-ages-grid {
		grid-template-columns: 1fr;
	}
}
.vibe-age-card {
	padding: 2rem 1.75rem;
	border-radius: 20px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	display: flex;
	flex-direction: column;
	position: relative;
}
.vibe-age-card.is-featured {
	border-color: rgba(163, 230, 53, 0.4);
	box-shadow: 0 10px 30px rgba(163, 230, 53, 0.1);
}
.vibe-age-badge {
	align-self: flex-start;
	font-size: 0.8rem;
	font-weight: 700;
	padding: 0.3rem 0.8rem;
	border-radius: 999px;
	margin-bottom: 1rem;
}
.vibe-age-badge--young {
	background: rgba(6, 182, 212, 0.15);
	color: #38bdf8;
	border: 1px solid rgba(6, 182, 212, 0.3);
}
.vibe-age-badge--mid {
	background: rgba(163, 230, 53, 0.15);
	color: #a3e635;
	border: 1px solid rgba(163, 230, 53, 0.35);
}
.vibe-age-badge--teen {
	background: rgba(139, 92, 246, 0.15);
	color: #a78bfa;
	border: 1px solid rgba(139, 92, 246, 0.3);
}
.vibe-age-title {
	font-size: 1.3rem;
	color: #fff;
	margin: 0 0 0.5rem;
}
.vibe-age-lead {
	font-size: 0.95rem;
	color: #cbd5e1;
	margin-bottom: 1.25rem;
	line-height: 1.5;
}
.vibe-age-list {
	list-style: none;
	padding: 0;
	margin: 0 0 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	font-size: 0.88rem;
	color: #94a3b8;
	line-height: 1.5;
}
.vibe-age-list strong {
	color: #f1f5f9;
}
.vibe-age-footer {
	margin-top: auto;
	padding-top: 1rem;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.vibe-age-pill {
	display: inline-block;
	font-size: 0.8rem;
	color: #64748b;
	font-weight: 600;
}

/* 3. Preschool Honest Box */
.preschool-wrap {
	padding: 2.5rem 2rem;
	border-radius: 24px;
	border: 1px solid rgba(255, 255, 255, 0.1);
}
.preschool-content {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 2rem;
	margin-top: 1.5rem;
}
@media (max-width: 900px) {
	.preschool-content {
		grid-template-columns: 1fr;
	}
}
.preschool-lead {
	font-size: 1.05rem;
	color: #f1f5f9;
	line-height: 1.6;
	margin-bottom: 1.25rem;
}
.preschool-points {
	list-style: none;
	padding: 0;
	margin: 0 0 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	color: #94a3b8;
	font-size: 0.92rem;
	line-height: 1.55;
}
.preschool-points strong {
	color: #a3e635;
}
.preschool-note {
	font-size: 0.88rem;
	color: #64748b;
	font-style: italic;
	margin: 0;
}
.preschool-aside {
	padding: 1.5rem;
	border-radius: 18px;
	border: 1px solid rgba(163, 230, 53, 0.2);
	background: rgba(163, 230, 53, 0.03);
}
.preschool-shield-icon {
	width: 48px;
	height: 48px;
	color: #a3e635;
	margin-bottom: 0.75rem;
}
.shield-icon-lg {
	width: 100%;
	height: 100%;
	fill: currentColor;
}
.preschool-aside h3 {
	font-size: 1.15rem;
	color: #fff;
	margin: 0 0 0.75rem;
}
.preschool-aside p {
	font-size: 0.86rem;
	color: #cbd5e1;
	line-height: 1.5;
	margin: 0 0 0.5rem;
}
.preschool-aside p:last-child {
	margin-bottom: 0;
}

/* 4. Marsik Product Info Card */
.marsik-product-card {
	padding: 1.25rem 1.5rem;
	border-radius: 16px;
	margin-bottom: 1.5rem;
	border: 1px solid rgba(6, 182, 212, 0.25);
	background: rgba(6, 182, 212, 0.04);
}
.mp-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem 1.5rem;
}
@media (max-width: 720px) {
	.mp-grid {
		grid-template-columns: 1fr;
	}
}
.mp-item {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}
.mp-label {
	font-size: 0.78rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #06b6d4;
	font-weight: 700;
}
.mp-val {
	font-size: 0.92rem;
	color: #f1f5f9;
	font-weight: 600;
	line-height: 1.4;
}
.mp-val--free {
	color: #a3e635;
}

/* 5. Vibecoding Consultation Section */
.section-vibe-contact {
	padding: 4rem 0;
}
.section-vibe-contact .form-copy {
	padding: 2.5rem 2rem;
	border-radius: 24px;
	border: 1px solid rgba(255, 255, 255, 0.1);
}
.vibe-messengers-row {
	display: flex;
	gap: 1rem;
	margin: 1.5rem 0 2rem;
	flex-wrap: wrap;
}
.vibe-msg-icon {
	width: 18px;
	height: 18px;
	fill: currentColor;
	vertical-align: -3px;
	margin-right: 0.35rem;
}

/* ==========================================================================
   Interactive On-Site Web Chat & AI Curator Widget
   ========================================================================== */
.teenai-chat-root {
	position: fixed;
	bottom: 28px;
	right: 28px;
	z-index: 99998;
	pointer-events: auto;
	font-family: inherit;
}

.cookie-banner:not([hidden]) ~ .teenai-chat-root {
	bottom: 96px;
}

/* Trigger Button */
.teenai-chat-trigger {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #2AABEE 100%);
	color: #ffffff;
	box-shadow: 0 10px 28px rgba(99, 102, 241, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.25);
	border: none;
	cursor: pointer;
	padding: 0;
	transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.teenai-chat-trigger:hover {
	transform: scale(1.08) translateY(-2px);
	box-shadow: 0 14px 34px rgba(99, 102, 241, 0.65), 0 0 24px rgba(163, 230, 53, 0.35);
}

.teenai-chat-trigger:active {
	transform: scale(0.96);
}

.chat-trigger-icon {
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
	transition: transform 0.25s ease, opacity 0.25s ease;
}

.chat-trigger-icon svg {
	width: 26px;
	height: 26px;
	fill: #ffffff;
}

.chat-trigger-icon--close {
	display: none;
}

.teenai-chat-trigger[aria-expanded="true"] .chat-trigger-icon--open {
	display: none;
}

.teenai-chat-trigger[aria-expanded="true"] .chat-trigger-icon--close {
	display: flex;
}

.teenai-chat-trigger[aria-expanded="true"] .chat-trigger-tooltip {
	display: none !important;
}

.chat-trigger-ping {
	position: absolute;
	inset: -4px;
	border-radius: 50%;
	border: 2px solid #6366F1;
	opacity: 0.8;
	animation: tg-ping-pulse 2.4s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
	pointer-events: none;
	z-index: 1;
}

.teenai-chat-trigger[aria-expanded="true"] .chat-trigger-ping {
	display: none;
}

@keyframes tg-ping-pulse {
	0% {
		transform: scale(0.95);
		opacity: 0.9;
	}
	50% {
		transform: scale(1.3);
		opacity: 0;
	}
	100% {
		transform: scale(1.3);
		opacity: 0;
	}
}

.chat-trigger-tooltip {
	position: absolute;
	right: calc(100% + 14px);
	white-space: nowrap;
	background: rgba(15, 23, 42, 0.94);
	color: #f8fafc;
	font-size: 13px;
	font-weight: 600;
	padding: 8px 14px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 12px rgba(99, 102, 241, 0.25);
	backdrop-filter: blur(8px);
	display: flex;
	align-items: center;
	gap: 8px;
	opacity: 0.95;
	transition: opacity 0.25s ease, transform 0.25s ease;
	pointer-events: none;
}

.teenai-chat-trigger:hover .chat-trigger-tooltip {
	opacity: 1;
	transform: translateX(-4px);
}

.chat-tooltip-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #A3E635;
	box-shadow: 0 0 8px #A3E635;
	display: inline-block;
}

/* Chat Window Modal */
.teenai-chat-window {
	position: fixed;
	bottom: 100px;
	right: 28px;
	width: 390px;
	max-width: calc(100vw - 32px);
	height: 580px;
	max-height: calc(100vh - 130px);
	background: #0E1326;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 22px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75), 0 0 40px rgba(99, 102, 241, 0.3);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	z-index: 99999;
	animation: chat-popup 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.cookie-banner:not([hidden]) ~ .teenai-chat-root .teenai-chat-window {
	bottom: 168px;
}

.teenai-chat-window[hidden] {
	display: none !important;
}

@keyframes chat-popup {
	from {
		opacity: 0;
		transform: translateY(16px) scale(0.96);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

/* Chat Header */
.chat-window-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 16px;
	background: rgba(255, 255, 255, 0.04);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.chat-header-agent {
	display: flex;
	align-items: center;
	gap: 12px;
}

.chat-avatar-wrap {
	position: relative;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: linear-gradient(135deg, rgba(99, 102, 241, 0.3) 0%, rgba(139, 92, 246, 0.3) 100%);
	border: 1px solid rgba(255, 255, 255, 0.2);
	display: flex;
	align-items: center;
	justify-content: center;
}

.chat-avatar-emoji {
	font-size: 20px;
	line-height: 1;
}

.chat-online-badge {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #A3E635;
	border: 2px solid #0D1020;
	box-shadow: 0 0 6px #A3E635;
}

.chat-agent-info {
	display: flex;
	flex-direction: column;
}

.chat-agent-name {
	font-size: 14px;
	font-weight: 700;
	color: #f8fafc;
	line-height: 1.25;
}

.chat-agent-sub {
	font-size: 11px;
	color: #94a3b8;
	line-height: 1.2;
}

.chat-header-actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.chat-header-tg-link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 5px 10px;
	border-radius: 999px;
	background: rgba(42, 171, 238, 0.15);
	border: 1px solid rgba(42, 171, 238, 0.35);
	color: #38bdf8;
	font-size: 11.5px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.2s ease;
}

.chat-header-tg-link:hover {
	background: #2AABEE;
	color: #ffffff;
}

.chat-header-tg-link svg,
.header-tg-svg {
	width: 13px;
	height: 13px;
	fill: currentColor;
}

.chat-header-close {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: #94a3b8;
	font-size: 18px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	transition: all 0.2s ease;
}

.chat-header-close:hover {
	background: rgba(255, 255, 255, 0.15);
	color: #ffffff;
}

/* Chat Body */
.chat-window-body {
	flex: 1;
	overflow-y: auto;
	padding: 14px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	scroll-behavior: smooth;
}

.chat-window-body::-webkit-scrollbar {
	width: 5px;
}

.chat-window-body::-webkit-scrollbar-track {
	background: transparent;
}

.chat-window-body::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.15);
	border-radius: 10px;
}

/* Messages */
.chat-msg {
	display: flex;
	flex-direction: column;
	max-width: 90%;
	animation: chat-fade-in 0.25s ease forwards;
}

@keyframes chat-fade-in {
	from {
		opacity: 0;
		transform: translateY(6px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.chat-msg--bot {
	align-self: flex-start;
}

.chat-msg--user {
	align-self: flex-end;
}

.chat-bubble {
	padding: 11px 14px;
	font-size: 13.5px;
	line-height: 1.5;
	word-break: break-word;
}

.chat-bubble p {
	margin: 0 0 8px;
}

.chat-bubble p:last-child {
	margin-bottom: 0;
}

.chat-bubble strong {
	color: #ffffff;
	font-weight: 700;
}

.chat-bubble a {
	color: #A3E635;
	text-decoration: underline;
}

.chat-bubble a:hover {
	color: #bbf451;
}

.chat-bubble--bot {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 16px 16px 16px 4px;
	color: #e2e8f0;
}

.chat-bubble--user {
	background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
	border-radius: 16px 16px 4px 16px;
	color: #ffffff;
	box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.chat-msg-time {
	font-size: 10px;
	color: #64748b;
	margin-top: 3px;
	padding: 0 4px;
}

.chat-msg--user .chat-msg-time {
	text-align: right;
}

.chat-link-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 8px 0;
	padding: 9px 16px;
	background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 10px;
	color: #ffffff !important;
	text-decoration: none !important;
	font-size: 13.5px;
	font-weight: 700;
	box-shadow: 0 4px 14px rgba(34, 158, 217, 0.45);
	transition: all 0.2s ease;
}

.chat-link-btn:hover {
	background: linear-gradient(135deg, #38bdf8 0%, #2AABEE 100%);
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(34, 158, 217, 0.65);
}

/* Quick Action Chips */
.chat-quick-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 2px 0;
}

.chat-chip {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 999px;
	color: #cbd5e1;
	padding: 6px 11px;
	font-size: 11.5px;
	font-weight: 500;
	cursor: pointer;
	line-height: 1.25;
	transition: all 0.2s ease;
}

.chat-chip:hover {
	background: rgba(163, 230, 53, 0.15);
	border-color: #A3E635;
	color: #A3E635;
	transform: translateY(-1px);
}

.chat-chip--manager {
	background: rgba(99, 102, 241, 0.2);
	border-color: rgba(99, 102, 241, 0.5);
	color: #c7d2fe;
	font-weight: 600;
}

.chat-chip--manager:hover {
	background: #6366F1;
	border-color: #6366F1;
	color: #ffffff;
}

/* Typing Indicator */
.chat-typing-indicator {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 8px 14px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	align-self: flex-start;
}

.chat-typing-indicator[hidden] {
	display: none !important;
}

.typing-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #94a3b8;
	animation: typing-bounce 1.4s infinite ease-in-out both;
}

.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing-bounce {
	0%, 80%, 100% {
		transform: scale(0.6);
		opacity: 0.4;
	}
	40% {
		transform: scale(1.1);
		opacity: 1;
		background: #A3E635;
	}
}

/* Chat Footer Form */
.chat-window-footer {
	padding: 10px 14px;
	background: rgba(0, 0, 0, 0.25);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	display: flex;
	gap: 8px;
	align-items: center;
}

.chat-input {
	flex: 1;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 12px;
	color: #ffffff;
	font-size: 13px;
	padding: 10px 14px;
	outline: none;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.chat-input:focus {
	border-color: #6366F1;
	box-shadow: 0 0 12px rgba(99, 102, 241, 0.3);
}

.chat-send-btn {
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: #A3E635;
	color: #0A0B14;
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.2s, background 0.2s;
	flex-shrink: 0;
}

.chat-send-btn:hover {
	background: #bbf451;
	transform: scale(1.06);
}

.chat-send-btn:active {
	transform: scale(0.96);
}

.chat-send-svg {
	width: 17px;
	height: 17px;
	fill: #0A0B14;
}

/* Bottom Note */
.chat-bottom-note {
	padding: 6px 14px 10px;
	background: rgba(0, 0, 0, 0.25);
	font-size: 11px;
	color: #94a3b8;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	text-align: center;
	flex-wrap: wrap;
}

.chat-bottom-sep {
	opacity: 0.5;
}

.chat-manager-link {
	color: #a5b4fc;
	font-weight: 600;
	text-decoration: none;
	transition: color 0.2s;
}

.chat-manager-link:hover {
	color: #ffffff;
	text-decoration: underline;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
	.teenai-chat-root {
		bottom: 18px;
		right: 16px;
	}

	.cookie-banner:not([hidden]) ~ .teenai-chat-root {
		bottom: 125px;
	}

	.teenai-chat-trigger {
		width: 52px;
		height: 52px;
	}

	.chat-trigger-icon svg {
		width: 22px;
		height: 22px;
	}

	.chat-trigger-tooltip {
		display: none;
	}

	.teenai-chat-window {
		right: 12px;
		left: 12px;
		width: calc(100vw - 24px);
		max-width: none;
		bottom: 12px !important;
		height: calc(100vh - 24px);
		max-height: 580px;
		border-radius: 18px;
		z-index: 99999;
	}
}




