@charset "utf-8";
/* CSS Document */

/*

TemplateMo 600 Prism Flux

https://templatemo.com/tm-600-prism-flux

*/

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--primary-black: #0a0a0a;
	--carbon-dark: #121212;
	--carbon-medium: #1a1a1a;
	--carbon-light: #2a2a2a;
	--metal-dark: #3a3a3a;
	--metal-light: #4a4a4a;
	--accent-red: #d4af37;
	--accent-blue: #f0d77b;
	--accent-green: #b8860b;
	--accent-purple: #f6e8b1;
	--accent-cyan: #fff6da;
	--text-primary: #ffffff;
	--text-secondary: #b0b0b0;
	--text-dim: #808080;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Orbitron', 'Rajdhani', sans-serif;
	background: var(--primary-black);
	color: var(--text-primary);
	overflow-x: hidden;
	position: relative;
}

.section-anchor {
	height: 0;
}

/* Carbon Fiber Background Pattern */
body::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background:
		repeating-linear-gradient(0deg,
			transparent,
			transparent 2px,
			rgba(255, 255, 255, 0.03) 2px,
			rgba(255, 255, 255, 0.03) 4px),
		repeating-linear-gradient(90deg,
			transparent,
			transparent 2px,
			rgba(255, 255, 255, 0.03) 2px,
			rgba(255, 255, 255, 0.03) 4px),
		linear-gradient(135deg,
			var(--primary-black) 0%,
			var(--carbon-dark) 25%,
			var(--carbon-medium) 50%,
			var(--carbon-dark) 75%,
			var(--primary-black) 100%);
	z-index: -2;
}

/* Animated Grid Overlay */
body::after {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image:
		linear-gradient(rgba(212, 175, 55, 0.08) 2px, transparent 2px),
		linear-gradient(90deg, rgba(212, 175, 55, 0.08) 2px, transparent 2px);
	background-size: 150px 150px;
	animation: gridMove 20s linear infinite;
	z-index: -1;
	opacity: 0.5;
}

@keyframes gridMove {
	0% {
		transform: translate(0, 0);
	}

	100% {
		transform: translate(150px, 150px);
	}
}

/* Loading Screen */
.loader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background: var(--primary-black);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 10000;
	transition: opacity 0.5s, visibility 0.5s;
}

.loader.hidden {
	visibility: hidden;
	pointer-events: none;
	display: none;
}

.loader-content {
	text-align: center;
}

.loader-prism {
	width: 100px;
	height: 100px;
	position: relative;
	margin: 0 auto 30px;
}

.prism-face {
	position: absolute;
	width: 100%;
	height: 100%;
	border: 2px solid transparent;
	transform-origin: center;
	animation: prismRotate 3s linear infinite;
}

.prism-face:nth-child(1) {
	border-image: linear-gradient(45deg, var(--accent-red), var(--accent-blue)) 1;
	animation-delay: 0s;
}

.prism-face:nth-child(2) {
	border-image: linear-gradient(45deg, var(--accent-blue), var(--accent-green)) 1;
	transform: rotate(60deg);
	animation-delay: 0.2s;
}

.prism-face:nth-child(3) {
	border-image: linear-gradient(45deg, var(--accent-green), var(--accent-purple)) 1;
	transform: rotate(120deg);
	animation-delay: 0.4s;
}

@keyframes prismRotate {
	0% {
		transform: rotate(0deg) scale(1);
	}

	50% {
		transform: rotate(180deg) scale(1.2);
	}

	100% {
		transform: rotate(360deg) scale(1);
	}
}

/* Navigation Header */
.header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	max-width: 100vw;
	background: linear-gradient(180deg,
			rgba(18, 18, 18, 0.98) 0%,
			rgba(18, 18, 18, 0.9) 50%,
			rgba(18, 18, 18, 0) 100%);
	backdrop-filter: blur(20px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	z-index: 1000;
	transition: all 0.3s ease;
}

.header.scrolled {
	background: rgba(18, 18, 18, 0.98);
	backdrop-filter: blur(30px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.nav-container {
	max-width: 1400px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 30px;
}

.logo {
	display: flex;
	align-items: center;
	text-decoration: none;
	position: relative;
}

.logo-icon {
	width: 36px;
	height: 36px;
	margin-right: 15px;
	position: relative;
}

.logo-loader .loader-prism {
	width: 36px;
	height: 36px;
	margin: 0;
}

/* Reduce border thickness slightly for the logo-sized prism */
.logo-loader .prism-face {
	border-width: 2px;
	animation-duration: 2.6s;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
	animation-fill-mode: none;
}

.logo-loader .prism-face:nth-child(1) {
	animation-name: logoPrismRotateA;
}

.logo-loader .prism-face:nth-child(2) {
	animation-name: logoPrismRotateB;
}

.logo-loader .prism-face:nth-child(3) {
	animation-name: logoPrismRotateC;
}

@keyframes logoPrismRotateA {
	0% {
		transform: rotate(0deg) scale(1);
	}

	50% {
		transform: rotate(180deg) scale(1.14);
	}

	100% {
		transform: rotate(360deg) scale(1);
	}
}

@keyframes logoPrismRotateB {
	0% {
		transform: rotate(60deg) scale(1);
	}

	50% {
		transform: rotate(240deg) scale(1.14);
	}

	100% {
		transform: rotate(420deg) scale(1);
	}
}

@keyframes logoPrismRotateC {
	0% {
		transform: rotate(120deg) scale(1);
	}

	50% {
		transform: rotate(300deg) scale(1.14);
	}

	100% {
		transform: rotate(480deg) scale(1);
	}
}

/* Prism-inspired logo */
.logo-prism {
	width: 100%;
	height: 100%;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.prism-shape {
	width: 30px;
	height: 30px;
	position: relative;
	transform: rotate(45deg);
	background: linear-gradient(135deg,
			var(--accent-red) 0%,
			var(--accent-blue) 33%,
			var(--accent-green) 66%,
			var(--accent-purple) 100%);
	animation: prismShine 3s ease-in-out infinite;
}

@keyframes prismShine {

	0%,
	100% {
		filter: brightness(1) hue-rotate(0deg);
		transform: rotate(45deg) scale(1);
	}

	50% {
		filter: brightness(1.5) hue-rotate(10deg);
		transform: rotate(45deg) scale(1.1);
	}
}

.prism-shape::before,
.prism-shape::after {
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	background: inherit;
	opacity: 0.5;
}

.prism-shape::before {
	transform: rotate(60deg);
}

.prism-shape::after {
	transform: rotate(-60deg);
}

.logo-text {
	font-size: 24px;
	font-weight: 900;
	letter-spacing: 2px;
	text-transform: uppercase;
}

.logo-text .prism {
	background: linear-gradient(135deg, var(--text-primary), var(--accent-cyan));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.logo-text .flux {
	color: var(--text-secondary);
	font-weight: 300;
	margin-left: 5px;
}

.nav-menu {
	display: flex;
	list-style: none;
	gap: 10px;
	align-items: center;
	margin-left: auto;
}

.nav-credit {
	margin-left: 8px;
}

.nav-credit .studio-credit {
	padding: 6px 10px;
}

.nav-menu a {
	color: var(--text-secondary);
	text-decoration: none;
	padding: 12px 25px;
	transition: all 0.3s ease;
	position: relative;
	text-transform: uppercase;
	font-weight: 500;
	letter-spacing: 1px;
	font-size: 14px;
}

.nav-menu a::before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
	transition: width 0.3s ease;
}

.nav-menu a:hover {
	color: var(--text-primary);
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
	width: 80%;
}

.nav-menu a.active {
	color: var(--accent-cyan);
}

.menu-toggle {
	display: none;
	flex-direction: column;
	cursor: pointer;
	padding: 5px;
}

.menu-toggle span {
	width: 30px;
	height: 3px;
	background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
	margin: 3px 0;
	transition: 0.3s;
	border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
	transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
	opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
	transform: rotate(45deg) translate(-5px, -6px);
}

/* SaaS Hero Section */
.saas-hero {
	position: relative;
	padding: 88px 30px 72px;
	overflow: hidden;
	scroll-margin-top: 120px;
}

.saas-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 20% 25%, rgba(246, 232, 177, 0.16), transparent 30%),
		radial-gradient(circle at 80% 30%, rgba(240, 215, 123, 0.12), transparent 28%),
		linear-gradient(180deg, rgba(18, 18, 18, 0.2) 0%, rgba(10, 10, 10, 0) 100%);
	pointer-events: none;
}

.saas-hero__container {
	position: relative;
	z-index: 1;
	max-width: 1400px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
	gap: 48px;
	align-items: start;
}

.saas-hero__content {
	max-width: 680px;
}

.saas-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 16px;
	margin-bottom: 24px;
	border: 1px solid rgba(246, 232, 177, 0.3);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.04);
	backdrop-filter: blur(18px);
	color: var(--accent-cyan);
	font-weight: 700;
	letter-spacing: 2.4px;
	text-transform: uppercase;
}

.saas-hero__eyebrow::before {
	content: '';
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
	box-shadow: 0 0 18px rgba(246, 232, 177, 0.45);
}

.saas-hero__title {
	font-size: clamp(3rem, 5vw, 5.3rem);
	line-height: 1.02;
	font-weight: 900;
	letter-spacing: -0.03em;
	margin-bottom: 24px;
	max-width: 12ch;
	text-transform: none;
	background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-cyan) 52%, var(--accent-purple) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.saas-hero__description {
	max-width: 620px;
	margin-bottom: 34px;
	color: var(--text-secondary);
	font-size: 18px;
	line-height: 1.7;
	font-family: 'Rajdhani', sans-serif;
}

.saas-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.saas-hero__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 180px;
	padding: 16px 28px;
	border-radius: 999px;
	border: 1px solid rgba(246, 232, 177, 0.18);
	text-decoration: none;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 1.8px;
	text-transform: uppercase;
	transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.saas-hero__button:hover {
	transform: translateY(-2px);
}

.saas-hero__button--primary {
	background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
	color: var(--primary-black);
	box-shadow: 0 18px 36px rgba(240, 215, 123, 0.22);
}

.saas-hero__button--primary:hover {
	box-shadow: 0 24px 42px rgba(240, 215, 123, 0.3);
}

.saas-hero__button--secondary {
	background: rgba(255, 255, 255, 0.03);
	backdrop-filter: blur(18px);
	color: var(--text-primary);
	animation: pulse-glow 2.4s ease-in-out infinite;
}

.saas-hero__button--secondary:hover {
	border-color: rgba(212, 175, 55, 0.9);
	box-shadow: 0 0 28px 8px rgba(212, 175, 55, 0.55), 0 0 60px 12px rgba(212, 175, 55, 0.2);
	animation: none;
}

@keyframes pulse-glow {
	0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); border-color: rgba(212, 175, 55, 0.2); }
	50%       { box-shadow: 0 0 28px 8px rgba(212, 175, 55, 0.55), 0 0 60px 12px rgba(212, 175, 55, 0.2); border-color: rgba(212, 175, 55, 0.9); }
}

.saas-hero__preview {
	position: relative;
}

.saas-hero__preview::before {
	content: '';
	position: absolute;
	inset: 20px -10px -20px 30px;
	background: radial-gradient(circle, rgba(246, 232, 177, 0.18) 0%, transparent 70%);
	filter: blur(30px);
	z-index: 0;
}

.saas-hero__preview-shell {
	position: relative;
	z-index: 1;
	padding: 28px;
	border-radius: 30px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02)),
		linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(18, 18, 18, 0.92));
	border: 1px solid rgba(246, 232, 177, 0.16);
	box-shadow:
		0 24px 80px rgba(0, 0, 0, 0.45),
		inset 0 1px 0 rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(24px);
}

.saas-hero__preview-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 24px;
}

.saas-hero__workflow-label,
.saas-hero__quality-badge {
	display: inline-flex;
	align-items: center;
	padding: 8px 14px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.4px;
	text-transform: uppercase;
}

.saas-hero__workflow-label {
	background: rgba(255, 255, 255, 0.05);
	color: var(--text-primary);
}

.saas-hero__quality-badge {
	background: rgba(240, 215, 123, 0.14);
	border: 1px solid rgba(246, 232, 177, 0.26);
	color: var(--accent-cyan);
}

.saas-hero__steps {
	display: grid;
	gap: 14px;
	margin-bottom: 24px;
}

.saas-hero__step {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 14px;
	align-items: start;
	padding: 16px 18px;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.05);
}

.saas-hero__step-number {
	color: var(--accent-purple);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1.6px;
}

.saas-hero__step-title {
	margin-bottom: 6px;
	color: var(--text-primary);
	font-size: 16px;
	font-weight: 700;
}

.saas-hero__step-text {
	color: var(--text-secondary);
	font-size: 14px;
	line-height: 1.5;
	font-family: 'Rajdhani', sans-serif;
}

.saas-hero__image-frame {
	position: relative;
	min-height: 440px;
	border-radius: 24px;
	overflow: hidden;
	background:
		radial-gradient(circle at top, rgba(246, 232, 177, 0.18), transparent 45%),
		linear-gradient(135deg, rgba(42, 42, 42, 0.95), rgba(18, 18, 18, 0.98));
	border: 1px solid rgba(246, 232, 177, 0.14);
}

.saas-hero__slideshow {
	box-shadow:
		0 20px 48px rgba(0, 0, 0, 0.36),
		inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.saas-hero__image-frame::after {
	content: '';
	position: absolute;
	inset: auto 18px 18px auto;
	width: 110px;
	height: 36px;
	border-radius: 999px;
	background: rgba(10, 10, 10, 0.6);
	backdrop-filter: blur(14px);
	border: 1px solid rgba(246, 232, 177, 0.18);
}

.saas-hero__slide {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	filter: saturate(1.05) contrast(1.05);
	transition: opacity 0.8s ease;
}

.saas-hero__slide.is-active {
	opacity: 1;
}

/* Instant Preview Section */
.instant-preview-section {
	position: relative;
	padding: 28px 20px 52px;
	scroll-margin-top: 120px;
	overflow: hidden;
}

.instant-preview-section::before {
	content: '';
	position: absolute;
	inset: 24px 20px 0;
	border-radius: 40px;
	background:
		radial-gradient(circle at 12% 18%, rgba(246, 232, 177, 0.14), transparent 28%),
		radial-gradient(circle at 78% 24%, rgba(240, 215, 123, 0.11), transparent 30%),
		linear-gradient(135deg, rgba(19, 19, 19, 0.94), rgba(10, 10, 10, 0.98));
	border: 1px solid rgba(246, 232, 177, 0.1);
	box-shadow:
		0 32px 120px rgba(0, 0, 0, 0.34),
		inset 0 1px 0 rgba(255, 255, 255, 0.06);
	z-index: 0;
}

.instant-preview {
	position: relative;
	z-index: 1;
	max-width: 1400px;
	margin: 0 auto;
	padding: 32px 30px 0;
}

.instant-preview__header {
	max-width: none;
	width: 100%;
	margin-bottom: 30px;
}

.instant-preview__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 9px 14px;
	margin-bottom: 18px;
	border-radius: 999px;
	border: 1px solid rgba(246, 232, 177, 0.2);
	background: rgba(255, 255, 255, 0.04);
	color: var(--accent-cyan);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
}

.instant-preview__eyebrow::before {
	content: '';
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
	box-shadow: 0 0 16px rgba(246, 232, 177, 0.35);
}

.instant-preview__title {
	font-size: clamp(2.5rem, 4vw, 4.5rem);
	line-height: 1.05;
	margin-bottom: 16px;
	font-weight: 900;
	letter-spacing: -0.04em;
	color: var(--text-primary);
}

.instant-preview__subtitle {
	max-width: none;
	color: rgba(255, 255, 255, 0.72);
	font-family: 'Rajdhani', sans-serif;
	font-size: 20px;
	line-height: 1.65;
}

.instant-preview__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 20px;
}

.instant-preview__meta-badge {
	display: inline-flex;
	align-items: center;
	padding: 10px 14px;
	border-radius: 999px;
	background: rgba(246, 232, 177, 0.09);
	border: 1px solid rgba(246, 232, 177, 0.16);
	color: var(--accent-cyan);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.4px;
	text-transform: uppercase;
}

.instant-preview__layout {
	display: grid;
	grid-template-columns: minmax(0, 0.88fr) minmax(0, 0.92fr) minmax(0, 1.4fr);
	gap: 22px;
	align-items: stretch;
}

.instant-preview-card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: 22px;
	border-radius: 30px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)),
		linear-gradient(135deg, rgba(26, 26, 26, 0.94), rgba(15, 15, 15, 0.98));
	border: 1px solid rgba(246, 232, 177, 0.1);
	box-shadow:
		0 24px 70px rgba(0, 0, 0, 0.28),
		inset 0 1px 0 rgba(255, 255, 255, 0.06);
	backdrop-filter: blur(20px);
}

.instant-preview-card--result {
	padding-bottom: 18px;
}

.instant-preview__label {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	padding: 8px 12px;
	margin-bottom: 18px;
	border-radius: 999px;
	background: rgba(246, 232, 177, 0.08);
	border: 1px solid rgba(246, 232, 177, 0.18);
	color: var(--accent-cyan);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.3px;
	text-transform: uppercase;
}

.instant-preview__input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.instant-preview__dropzone {
	position: relative;
	display: grid;
	place-items: center;
	flex: 1;
	min-height: 360px;
	padding: 24px;
	border-radius: 26px;
	border: 1px dashed rgba(246, 232, 177, 0.22);
	background:
		radial-gradient(circle at top, rgba(246, 232, 177, 0.12), transparent 50%),
		linear-gradient(160deg, rgba(22, 22, 22, 0.92), rgba(12, 12, 12, 0.98));
	cursor: pointer;
	transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
	overflow: hidden;
}

.instant-preview__dropzone:hover,
.instant-preview__dropzone.is-dragover {
	transform: translateY(-3px);
	border-color: rgba(246, 232, 177, 0.42);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.instant-preview__dropzone.is-disabled {
	cursor: default;
	border-style: solid;
	border-color: rgba(246, 232, 177, 0.16);
	box-shadow: none;
	transform: none;
}

.instant-preview__dropzone-inner {
	text-align: center;
	max-width: 240px;
}

.instant-preview__plus {
	display: grid;
	place-items: center;
	width: 68px;
	height: 68px;
	margin: 0 auto 20px;
	border-radius: 22px;
	background: linear-gradient(135deg, rgba(246, 232, 177, 0.22), rgba(246, 232, 177, 0.08));
	border: 1px solid rgba(246, 232, 177, 0.18);
	color: var(--text-primary);
	font-size: 38px;
	line-height: 1;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.instant-preview__dropzone-title {
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--text-primary);
}

.instant-preview__dropzone-copy {
	margin-top: 10px;
	color: rgba(255, 255, 255, 0.64);
	font-family: 'Rajdhani', sans-serif;
	font-size: 16px;
	line-height: 1.5;
}

.instant-preview__garment-preview {
	position: absolute;
	inset: 0;
	padding: 24px;
	background:
		radial-gradient(circle at top, rgba(246, 232, 177, 0.08), transparent 44%),
		linear-gradient(160deg, rgba(20, 20, 20, 0.96), rgba(12, 12, 12, 0.98));
}

.instant-preview__garment-preview img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	filter: drop-shadow(0 18px 36px rgba(240, 215, 123, 0.2));
}

.instant-preview__model-frame,
.instant-preview__result-frame {
	position: relative;
	flex: 1;
	border-radius: 26px;
	border: 1px solid rgba(246, 232, 177, 0.1);
	overflow: hidden;
}

.instant-preview__model-frame {
	min-height: 360px;
	background:
		radial-gradient(circle at 50% 15%, rgba(246, 232, 177, 0.12), transparent 36%),
		linear-gradient(160deg, rgba(34, 34, 34, 0.88), rgba(14, 14, 14, 0.98));
}

.instant-preview__model-image,
.instant-preview__result-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.instant-preview__result-frame {
	min-height: 460px;
	background:
		radial-gradient(circle at 22% 12%, rgba(246, 232, 177, 0.13), transparent 34%),
		linear-gradient(160deg, rgba(30, 30, 30, 0.92), rgba(10, 10, 10, 0.99));
}

.instant-preview__result-empty,
.instant-preview__loading,
.instant-preview__result-content {
	position: absolute;
	inset: 0;
}

.instant-preview__result-empty,
.instant-preview__loading {
	display: grid;
	place-items: center;
	text-align: center;
	padding: 32px;
}

.instant-preview__result-empty-title {
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--text-primary);
}

.instant-preview__result-empty-copy {
	max-width: 360px;
	margin-top: 12px;
	color: rgba(255, 255, 255, 0.64);
	font-family: 'Rajdhani', sans-serif;
	font-size: 18px;
	line-height: 1.6;
}

.instant-preview__loading {
	gap: 18px;
	align-content: center;
	background:
		radial-gradient(circle at 50% 18%, rgba(246, 232, 177, 0.18), transparent 30%),
		linear-gradient(160deg, rgba(28, 28, 28, 0.95), rgba(10, 10, 10, 0.98));
}

.instant-preview__loading-orb {
	width: 84px;
	height: 84px;
	border-radius: 50%;
	background:
		radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.55), transparent 26%),
		conic-gradient(from 0deg, rgba(246, 232, 177, 0.15), rgba(246, 232, 177, 0.9), rgba(240, 215, 123, 0.2), rgba(246, 232, 177, 0.15));
	animation: instantPreviewSpin 1.05s linear infinite;
	box-shadow:
		0 0 0 12px rgba(246, 232, 177, 0.05),
		0 20px 50px rgba(0, 0, 0, 0.35);
}

.instant-preview__loading-title {
	font-size: 24px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--text-primary);
}

.instant-preview__result-content {
	animation: instantPreviewReveal 0.5s ease;
}

.instant-preview__generate-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 54px;
	margin-top: 14px;
	padding: 0 20px;
	border: 0;
	border-radius: 18px;
	background: linear-gradient(135deg, rgba(246, 232, 177, 0.96), rgba(240, 215, 123, 0.86));
	color: #111;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	box-shadow: 0 16px 36px rgba(240, 215, 123, 0.18);
	transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.instant-preview__generate-button:hover:not(:disabled) {
	transform: translateY(-2px);
	box-shadow: 0 22px 42px rgba(240, 215, 123, 0.22);
}

.instant-preview__generate-button:disabled {
	opacity: 0.45;
	cursor: not-allowed;
	box-shadow: none;
}

.instant-preview__generate-button[hidden] {
	display: none !important;
}

.instant-preview__variations {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-top: 14px;
}

.instant-preview__variation {
	border-radius: 18px;
	overflow: hidden;
	border: 1px solid rgba(246, 232, 177, 0.1);
	background: rgba(255, 255, 255, 0.03);
	min-height: 120px;
}

.instant-preview__variation img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.instant-preview__cta {
	margin-top: 16px;
}

.instant-preview__cta-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 22px;
	border-radius: 999px;
	background: linear-gradient(135deg, rgba(246, 232, 177, 0.96), rgba(240, 215, 123, 0.86));
	color: #111;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-decoration: none;
	text-transform: uppercase;
	box-shadow: 0 16px 36px rgba(240, 215, 123, 0.18);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.instant-preview__cta-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 22px 42px rgba(240, 215, 123, 0.22);
}

@keyframes instantPreviewSpin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

@keyframes instantPreviewReveal {
	0% {
		opacity: 0;
		transform: scale(0.98);
	}

	100% {
		opacity: 1;
		transform: scale(1);
	}
}

/* Visual Demo Section */
.visual-demo-section {
	position: relative;
	padding: 48px 20px 88px;
	background:
		radial-gradient(circle at 18% 18%, rgba(246, 232, 177, 0.1), transparent 26%),
		radial-gradient(circle at 78% 40%, rgba(240, 215, 123, 0.08), transparent 30%),
		linear-gradient(180deg, rgba(10, 10, 10, 0.98) 0%, rgba(18, 18, 18, 0.92) 100%);
	scroll-margin-top: 120px;
	overflow: hidden;
	z-index: 1;
	isolation: isolate;
}

.visual-demo {
	max-width: 1400px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}

.visual-demo__header {
	max-width: none;
	width: 100%;
	margin-bottom: 26px;
}

.visual-demo__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 9px 14px;
	margin-bottom: 18px;
	border-radius: 999px;
	border: 1px solid rgba(246, 232, 177, 0.24);
	background: rgba(255, 255, 255, 0.04);
	color: var(--accent-cyan);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
}

.visual-demo__eyebrow::before {
	content: '';
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
	box-shadow: 0 0 16px rgba(246, 232, 177, 0.4);
}

.visual-demo__title {
	font-size: clamp(2.4rem, 4vw, 4.2rem);
	line-height: 1.08;
	margin-bottom: 18px;
	font-weight: 900;
	background: linear-gradient(135deg, var(--text-primary), var(--accent-purple));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.visual-demo__description {
	max-width: none;
	color: var(--text-secondary);
	font-family: 'Rajdhani', sans-serif;
	font-size: 18px;
	line-height: 1.7;
}

.visual-demo__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 28px;
}

.visual-demo__chip {
	padding: 10px 16px;
	border-radius: 999px;
	border: 1px solid rgba(246, 232, 177, 0.18);
	background: rgba(255, 255, 255, 0.03);
	color: var(--text-primary);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
}

.visual-demo__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	align-items: start;
	position: relative;
	z-index: 1;
}

.visual-demo-card {
	position: relative;
	padding: 22px;
	min-height: 100%;
	border-radius: 28px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
		linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(18, 18, 18, 0.92));
	border: 1px solid rgba(246, 232, 177, 0.12);
	box-shadow:
		0 20px 70px rgba(0, 0, 0, 0.32),
		inset 0 1px 0 rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(22px);
}

.visual-demo-card::after {
	content: '';
	position: absolute;
	top: 50%;
	right: -14px;
	width: 28px;
	height: 2px;
	background: linear-gradient(90deg, rgba(246, 232, 177, 0.08), rgba(246, 232, 177, 0.45));
	transform: translateY(-50%);
}

.visual-demo-card:last-child::after {
	display: none;
}

.visual-demo__label {
	display: inline-flex;
	align-items: center;
	padding: 8px 12px;
	margin-bottom: 18px;
	border-radius: 999px;
	background: rgba(246, 232, 177, 0.1);
	border: 1px solid rgba(246, 232, 177, 0.2);
	color: var(--accent-cyan);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.3px;
	text-transform: uppercase;
}

.visual-demo__media {
	display: grid;
	place-items: center;
	min-height: 220px;
	margin-bottom: 20px;
	border-radius: 24px;
	background:
		radial-gradient(circle at top, rgba(246, 232, 177, 0.16), transparent 48%),
		linear-gradient(135deg, rgba(42, 42, 42, 0.9), rgba(18, 18, 18, 0.95));
	border: 1px solid rgba(246, 232, 177, 0.12);
	overflow: hidden;
}

.visual-demo__media--input img {
	width: 100%;
	max-width: 320px;
	height: auto;
	object-fit: contain;
	filter: drop-shadow(0 18px 32px rgba(240, 215, 123, 0.22));
}

.visual-demo__media--output img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	filter: saturate(1.04) contrast(1.04);
}

.visual-demo__card-title {
	font-size: 22px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--text-primary);
}

.visual-demo__card-copy {
	margin-top: 12px;
	color: var(--text-secondary);
	font-family: 'Rajdhani', sans-serif;
	font-size: 16px;
	line-height: 1.6;
}

.visual-demo__workflow-panel {
	width: 100%;
	display: grid;
	gap: 12px;
	padding: 18px;
	border-radius: 20px;
	background: rgba(10, 10, 10, 0.45);
	border: 1px solid rgba(246, 232, 177, 0.08);
}

.visual-demo__workflow-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 16px;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.05);
}

.visual-demo__workflow-row span {
	color: var(--text-secondary);
	font-family: 'Rajdhani', sans-serif;
	font-size: 15px;
}

.visual-demo__workflow-row strong {
	color: var(--text-primary);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.8px;
	text-transform: uppercase;
}

/* How It Works Section */
.how-it-works-section {
	position: relative;
	padding: 36px 20px 96px;
	background: linear-gradient(180deg, rgba(18, 18, 18, 0.96) 0%, rgba(10, 10, 10, 0.98) 100%);
	z-index: 1;
}

.how-it-works-section::before {
	content: '';
	display: block;
	width: min(1400px, 100%);
	height: 1px;
	margin: 0 auto 44px;
	background: linear-gradient(90deg, transparent, rgba(246, 232, 177, 0.22), transparent);
}

.how-it-works {
	max-width: 1400px;
	margin: 0 auto;
}

.how-it-works__header {
	max-width: none;
	width: 100%;
	margin-bottom: 32px;
}

.how-it-works__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 9px 14px;
	margin-bottom: 18px;
	border-radius: 999px;
	border: 1px solid rgba(246, 232, 177, 0.24);
	background: rgba(255, 255, 255, 0.04);
	color: var(--accent-cyan);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
}

.how-it-works__eyebrow::before {
	content: '';
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
	box-shadow: 0 0 16px rgba(246, 232, 177, 0.35);
}

.how-it-works__title {
	font-size: clamp(2.2rem, 3.8vw, 4rem);
	line-height: 1.08;
	margin-bottom: 18px;
	font-weight: 900;
	background: linear-gradient(135deg, var(--text-primary), var(--accent-purple));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.how-it-works__description {
	max-width: none;
	color: var(--text-secondary);
	font-family: 'Rajdhani', sans-serif;
	font-size: 18px;
	line-height: 1.7;
}

.how-it-works__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.how-it-works__card {
	padding: 26px 24px;
	border-radius: 28px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
		linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(18, 18, 18, 0.92));
	border: 1px solid rgba(246, 232, 177, 0.12);
	box-shadow:
		0 18px 54px rgba(0, 0, 0, 0.28),
		inset 0 1px 0 rgba(255, 255, 255, 0.08);
	transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.how-it-works__card:hover {
	transform: translateY(-4px);
	border-color: rgba(246, 232, 177, 0.22);
	box-shadow:
		0 24px 62px rgba(0, 0, 0, 0.34),
		inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.how-it-works__number {
	display: block;
	margin-bottom: 20px;
	font-size: 44px;
	font-weight: 900;
	line-height: 1;
	color: rgba(246, 232, 177, 0.22);
}

.how-it-works__icon {
	width: 56px;
	height: 56px;
	margin-bottom: 18px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(246, 232, 177, 0.14);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.08),
		0 10px 24px rgba(0, 0, 0, 0.2);
}

.how-it-works__icon svg {
	width: 26px;
	height: 26px;
	color: var(--accent-purple);
}

.how-it-works__card-title {
	margin-bottom: 12px;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--text-primary);
}

.how-it-works__card-text {
	color: var(--text-secondary);
	font-family: 'Rajdhani', sans-serif;
	font-size: 16px;
	line-height: 1.6;
}

.how-it-works__actions {
	display: flex;
	justify-content: center;
	margin-top: 32px;
}

.how-it-works__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 16px 28px;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
	border: 1px solid rgba(246, 232, 177, 0.22);
	color: var(--primary-black);
	text-decoration: none;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	box-shadow: 0 16px 34px rgba(240, 215, 123, 0.2);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.how-it-works__button:hover {
	transform: translateY(-2px);
	box-shadow: 0 20px 38px rgba(240, 215, 123, 0.28);
}

/* Problem / Solution Section */
.problem-solution-section {
	position: relative;
	padding: 24px 20px 96px;
	background:
		radial-gradient(circle at 18% 20%, rgba(212, 175, 55, 0.08), transparent 28%),
		radial-gradient(circle at 82% 24%, rgba(246, 232, 177, 0.1), transparent 26%),
		linear-gradient(180deg, rgba(10, 10, 10, 0.99) 0%, rgba(14, 14, 14, 0.96) 48%, rgba(10, 10, 10, 0.99) 100%);
	z-index: 1;
	overflow: hidden;
}

.problem-solution-section::before {
	content: '';
	display: block;
	width: min(1400px, 100%);
	height: 1px;
	margin: 0 auto 44px;
	background: linear-gradient(90deg, transparent, rgba(246, 232, 177, 0.2), transparent);
}

.problem-solution {
	max-width: 1400px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
	--problem-accent: #8a3a43;
	--problem-accent-soft: rgba(138, 58, 67, 0.22);
	--solution-accent: #3c7a5f;
	--solution-accent-soft: rgba(60, 122, 95, 0.22);
}

.problem-solution__header {
	max-width: none;
	width: 100%;
	margin: 0 auto 34px;
	text-align: center;
}

.problem-solution__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 9px 14px;
	margin-bottom: 18px;
	border-radius: 999px;
	border: 1px solid rgba(246, 232, 177, 0.24);
	background: rgba(255, 255, 255, 0.04);
	color: var(--accent-cyan);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 2px;
	text-transform: uppercase;
}

.problem-solution__eyebrow::before {
	content: '';
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
	box-shadow: 0 0 16px rgba(246, 232, 177, 0.35);
}

.problem-solution__title {
	font-size: clamp(2.2rem, 4vw, 4rem);
	line-height: 1.08;
	font-weight: 900;
	letter-spacing: -0.02em;
	background: linear-gradient(135deg, var(--text-primary), var(--accent-purple));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.problem-solution__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px;
	align-items: stretch;
}

.problem-solution__panel {
	position: relative;
	padding: 30px 28px;
	border-radius: 30px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
		linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(18, 18, 18, 0.92));
	border: 1px solid rgba(246, 232, 177, 0.12);
	box-shadow:
		0 20px 64px rgba(0, 0, 0, 0.3),
		inset 0 1px 0 rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(22px);
	transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.problem-solution__panel:hover {
	transform: translateY(-4px);
	box-shadow:
		0 24px 72px rgba(0, 0, 0, 0.34),
		inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.problem-solution__panel--problem {
	border-color: rgba(246, 232, 177, 0.1);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
		linear-gradient(135deg, rgba(24, 24, 24, 0.98), rgba(15, 15, 15, 0.94));
	box-shadow:
		0 20px 64px rgba(0, 0, 0, 0.3),
		0 0 0 1px rgba(138, 58, 67, 0.05),
		inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.problem-solution__panel--problem:hover {
	border-color: rgba(138, 58, 67, 0.28);
	box-shadow:
		0 24px 72px rgba(0, 0, 0, 0.34),
		0 0 28px rgba(138, 58, 67, 0.12),
		inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.problem-solution__panel--solution {
	border-color: rgba(60, 122, 95, 0.18);
	background:
		radial-gradient(circle at top right, rgba(246, 232, 177, 0.12), transparent 42%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
		linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(18, 18, 18, 0.92));
	box-shadow:
		0 20px 64px rgba(0, 0, 0, 0.3),
		0 0 0 1px rgba(60, 122, 95, 0.05),
		inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.problem-solution__panel--solution:hover {
	border-color: rgba(60, 122, 95, 0.3);
	box-shadow:
		0 26px 74px rgba(0, 0, 0, 0.34),
		0 0 32px rgba(60, 122, 95, 0.12),
		0 0 0 1px rgba(60, 122, 95, 0.08),
		inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.problem-solution__panel-title {
	margin-bottom: 24px;
	font-size: 28px;
	line-height: 1.15;
	font-weight: 700;
	color: var(--text-primary);
}

.problem-solution__list {
	list-style: none;
	display: grid;
	gap: 14px;
}

.problem-solution__item {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px 18px;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.05);
	opacity: 0;
	transform: translateY(20px);
	transition:
		transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
		opacity 0.55s ease,
		border-color 0.25s ease,
		background 0.25s ease,
		box-shadow 0.25s ease;
	will-change: transform, opacity;
}

.problem-solution__item:hover {
	transform: translateY(-2px);
	background: rgba(255, 255, 255, 0.045);
	box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
}

.problem-solution__item.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.problem-solution__panel--problem .problem-solution__item {
	background: linear-gradient(180deg, rgba(138, 58, 67, 0.08), rgba(255, 255, 255, 0.02));
	border-color: rgba(138, 58, 67, 0.12);
}

.problem-solution__panel--solution .problem-solution__item {
	background: linear-gradient(180deg, rgba(60, 122, 95, 0.08), rgba(255, 255, 255, 0.03));
	border-color: rgba(60, 122, 95, 0.12);
}

.problem-solution__item--problem:hover {
	border-color: rgba(138, 58, 67, 0.28);
	box-shadow:
		0 14px 28px rgba(0, 0, 0, 0.22),
		0 0 22px rgba(138, 58, 67, 0.1);
}

.problem-solution__item--solution:hover {
	border-color: rgba(60, 122, 95, 0.28);
	box-shadow:
		0 14px 28px rgba(0, 0, 0, 0.22),
		0 0 22px rgba(60, 122, 95, 0.1);
}

.problem-solution__icon {
	flex: 0 0 52px;
	width: 52px;
	height: 52px;
	border-radius: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(246, 232, 177, 0.12);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.08),
		0 10px 20px rgba(0, 0, 0, 0.18);
}

.problem-solution__icon svg {
	width: 24px;
	height: 24px;
	color: var(--accent-purple);
}

.problem-solution__panel--problem .problem-solution__icon {
	background: linear-gradient(135deg, rgba(138, 58, 67, 0.16), rgba(255, 255, 255, 0.04));
	border-color: rgba(138, 58, 67, 0.18);
}

.problem-solution__panel--solution .problem-solution__icon {
	background: linear-gradient(135deg, rgba(60, 122, 95, 0.16), rgba(255, 255, 255, 0.04));
	border-color: rgba(60, 122, 95, 0.18);
}

.problem-solution__item--problem .problem-solution__icon svg {
	color: #b76573;
	filter: drop-shadow(0 0 10px rgba(138, 58, 67, 0.18));
}

.problem-solution__item--solution .problem-solution__icon svg {
	color: #73b08d;
	filter: drop-shadow(0 0 10px rgba(60, 122, 95, 0.16));
}

.problem-solution__item-text {
	color: var(--text-primary);
	font-size: 20px;
	line-height: 1.4;
	font-weight: 600;
	font-family: 'Rajdhani', sans-serif;
}

.problem-solution__statement {
	max-width: 820px;
	margin: 40px auto 0;
	text-align: center;
	font-size: clamp(2rem, 3.5vw, 3.25rem);
	line-height: 1.12;
	font-weight: 800;
	letter-spacing: -0.03em;
	background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-cyan) 50%, var(--accent-purple) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-wrap: balance;
}

.problem-solution__cta {
	display: flex;
	justify-content: center;
	gap: 16px;
	margin-top: 30px;
}

.problem-solution__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 16px 28px;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
	border: 1px solid rgba(246, 232, 177, 0.22);
	color: var(--primary-black);
	text-decoration: none;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 1.6px;
	text-transform: uppercase;
	box-shadow: 0 16px 34px rgba(240, 215, 123, 0.2);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.problem-solution__button:hover {
	transform: translateY(-2px);
	box-shadow: 0 20px 38px rgba(240, 215, 123, 0.28);
}

.problem-solution__button--secondary {
	background: transparent;
	border: 1px solid rgba(212,175,55,0.4);
	color: #d4af37;
	box-shadow: none;
}

.problem-solution__button--secondary:hover {
	background: rgba(212,175,55,0.08);
	box-shadow: none;
}

/* Results Gallery Section */
.results-gallery-section {
	position: relative;
	padding: 28px 20px 96px;
	background:
		radial-gradient(circle at 18% 20%, rgba(246, 232, 177, 0.08), transparent 26%),
		radial-gradient(circle at 82% 30%, rgba(240, 215, 123, 0.08), transparent 28%),
		linear-gradient(180deg, rgba(10, 10, 10, 0.98) 0%, rgba(16, 16, 16, 0.96) 100%);
	z-index: 1;
	overflow: hidden;
}

.results-gallery {
	max-width: 1400px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}

.results-gallery__header {
	max-width: none;
	width: 100%;
	margin: 0 auto 34px;
	text-align: center;
}

.results-gallery__title {
	font-size: clamp(2rem, 3.1vw, 3.2rem);
	line-height: 1.08;
	margin-bottom: 16px;
	font-weight: 900;
	letter-spacing: -0.02em;
	background: linear-gradient(135deg, var(--text-primary), var(--accent-purple));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.results-gallery__subtitle {
	color: var(--text-secondary);
	font-family: 'Rajdhani', sans-serif;
	font-size: 18px;
	line-height: 1.7;
}

.results-gallery__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.results-gallery__card {
	padding: 24px;
	border-radius: 28px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
		linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(18, 18, 18, 0.92));
	border: 1px solid rgba(246, 232, 177, 0.12);
	box-shadow:
		0 18px 54px rgba(0, 0, 0, 0.3),
		inset 0 1px 0 rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(22px);
	transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.results-gallery__card:hover {
	transform: translateY(-4px);
	border-color: rgba(246, 232, 177, 0.22);
	box-shadow:
		0 24px 62px rgba(0, 0, 0, 0.34),
		inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.results-gallery__comparison {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	gap: 16px;
	align-items: center;
}

.results-gallery__stage {
	display: grid;
	gap: 12px;
}

.results-gallery__label {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	padding: 8px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(246, 232, 177, 0.14);
	color: var(--accent-cyan);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1.4px;
	text-transform: uppercase;
}

.results-gallery__arrow {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(246, 232, 177, 0.14);
	color: var(--accent-purple);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.08),
		0 10px 22px rgba(0, 0, 0, 0.18);
}

.results-gallery__placeholder {
	aspect-ratio: 3 / 4;
	border-radius: 22px;
	border: 1px dashed rgba(246, 232, 177, 0.18);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
		radial-gradient(circle at top, rgba(246, 232, 177, 0.08), transparent 52%),
		linear-gradient(135deg, rgba(34, 34, 34, 0.92), rgba(18, 18, 18, 0.96));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
	position: relative;
	overflow: hidden;
}

.results-gallery__placeholder::before {
	content: '';
	position: absolute;
	inset: 14px;
	border-radius: 16px;
	border: 1px solid rgba(255, 255, 255, 0.04);
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), transparent 55%);
}

.results-gallery__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	z-index: 1;
	filter: saturate(1.02) contrast(1.03);
}

.results-gallery__placeholder--highlight {
	border-color: rgba(246, 232, 177, 0.24);
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
		radial-gradient(circle at 25% 20%, rgba(246, 232, 177, 0.14), transparent 46%),
		linear-gradient(135deg, rgba(36, 36, 36, 0.94), rgba(16, 16, 16, 0.98));
}

.results-gallery__tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 22px;
	padding: 10px 16px;
	border-radius: 999px;
	background: rgba(246, 232, 177, 0.1);
	border: 1px solid rgba(246, 232, 177, 0.18);
	color: var(--accent-cyan);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
}

/* Benefits Section */
.benefits-section {
	position: relative;
	padding: 28px 20px 96px;
	background:
		radial-gradient(circle at 20% 18%, rgba(246, 232, 177, 0.08), transparent 26%),
		radial-gradient(circle at 82% 28%, rgba(240, 215, 123, 0.06), transparent 30%),
		linear-gradient(180deg, rgba(10, 10, 10, 0.98) 0%, rgba(15, 15, 15, 0.96) 100%);
	z-index: 1;
	overflow: hidden;
}

.benefits {
	max-width: 1400px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}

.benefits__header {
	max-width: 760px;
	margin: 0 auto 34px;
	text-align: center;
}

.benefits__title {
	font-size: clamp(2.2rem, 4vw, 4rem);
	line-height: 1.08;
	font-weight: 900;
	letter-spacing: -0.02em;
	background: linear-gradient(135deg, var(--text-primary), var(--accent-purple));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.benefits__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

.benefits__card {
	padding: 26px 24px;
	border-radius: 28px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
		linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(18, 18, 18, 0.92));
	border: 1px solid rgba(246, 232, 177, 0.12);
	box-shadow:
		0 18px 54px rgba(0, 0, 0, 0.28),
		inset 0 1px 0 rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(22px);
	transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.benefits__card:hover {
	transform: translateY(-4px);
	border-color: rgba(246, 232, 177, 0.22);
	box-shadow:
		0 24px 62px rgba(0, 0, 0, 0.34),
		0 0 24px rgba(246, 232, 177, 0.08),
		inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.benefits__icon {
	width: 56px;
	height: 56px;
	margin-bottom: 18px;
	border-radius: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, rgba(246, 232, 177, 0.12), rgba(255, 255, 255, 0.04));
	border: 1px solid rgba(246, 232, 177, 0.16);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.08),
		0 10px 24px rgba(0, 0, 0, 0.2);
}

.benefits__icon svg {
	width: 26px;
	height: 26px;
	color: var(--accent-purple);
}

.benefits__card-title {
	margin-bottom: 12px;
	font-size: 24px;
	line-height: 1.2;
	font-weight: 700;
	color: var(--text-primary);
}

.benefits__text {
	color: var(--text-secondary);
	font-family: 'Rajdhani', sans-serif;
	font-size: 16px;
	line-height: 1.65;
}

/* ═══════════════════════════════════════════════
   CASE STUDY SECTION
═══════════════════════════════════════════════ */
.cs-section {
	padding: 100px 0;
	background: #0d0d0f;
	border-top: 1px solid rgba(200,170,110,0.12);
	border-bottom: 1px solid rgba(200,170,110,0.12);
}
.cs-container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 32px;
}

/* Header */
.cs-label {
	display: inline-block;
	font-size: 11px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: rgba(200,170,110,0.75);
	margin-bottom: 16px;
}
.cs-title {
	font-family: 'Playfair Display', 'Georgia', serif;
	font-size: clamp(30px, 4vw, 48px);
	font-weight: 700;
	color: #f4f0e6;
	line-height: 1.2;
	margin-bottom: 20px;
}
.cs-subtitle {
	font-size: 16px;
	color: rgba(255,255,255,0.55);
	max-width: 680px;
	line-height: 1.65;
	margin-bottom: 36px;
}
.cs-intro {
	font-size: 15px;
	color: rgba(255,255,255,0.65);
	max-width: 780px;
	line-height: 1.7;
	margin-bottom: 60px;
	padding-left: 20px;
	border-left: 3px solid rgba(200,170,110,0.35);
}

/* Before / After grid */
.cs-ba-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-bottom: 20px;
}
.cs-ba-item {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.cs-ba-pair {
	display: flex;
	align-items: center;
	gap: 8px;
}
.cs-ba-slot {
	flex: 1;
	aspect-ratio: 3/4;
	background: rgba(255,255,255,0.04);
	border: 1px dashed rgba(200,170,110,0.25);
	border-radius: 12px;
	position: relative;
	overflow: hidden;
}
.cs-ba-slot img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 12px;
}
.cs-ba-slot--result {
	border-color: rgba(200,170,110,0.45);
	background: rgba(200,170,110,0.04);
}
.cs-ba-tag {
	position: absolute;
	top: 8px;
	left: 8px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	background: rgba(0,0,0,0.6);
	color: rgba(255,255,255,0.7);
	padding: 3px 8px;
	border-radius: 999px;
}
.cs-ba-tag--result {
	background: rgba(200,170,110,0.2);
	color: #c8aa6e;
}
.cs-ba-arrow {
	font-size: 18px;
	color: rgba(200,170,110,0.5);
	flex-shrink: 0;
}
.cs-ba-caption {
	font-size: 12px;
	color: rgba(255,255,255,0.45);
	text-align: center;
	letter-spacing: 0.04em;
}
.cs-ba-note {
	font-size: 12px;
	color: rgba(255,255,255,0.35);
	text-align: center;
	margin-bottom: 64px;
	font-style: italic;
}

/* Metriche */
.cs-metrics {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-bottom: 64px;
}
.cs-metric {
	background: rgba(255,255,255,0.03);
	border: 1px solid rgba(200,170,110,0.15);
	border-radius: 16px;
	padding: 32px 24px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.cs-metric__number {
	font-family: 'Playfair Display', 'Georgia', serif;
	font-size: 42px;
	font-weight: 700;
	color: #c8aa6e;
	line-height: 1;
}
.cs-metric__label {
	font-size: 14px;
	color: rgba(176,170,162,0.9);
	font-weight: 500;
}
.cs-metric__detail {
	font-size: 12px;
	color: rgba(106,101,96,0.9);
	line-height: 1.5;
}

/* Citazione */
.cs-quote {
	margin: 0 0 48px;
	padding: 32px 40px 24px;
	background: rgba(200,170,110,0.04);
	border: 1px solid rgba(200,170,110,0.18);
	border-radius: 20px;
	position: relative;
}
.cs-quote::before {
	content: '\201C';
	font-family: 'Playfair Display', 'Georgia', serif;
	font-size: 48px;
	color: rgba(200,170,110,0.2);
	position: absolute;
	top: 8px;
	left: 28px;
	line-height: 1;
}
.cs-quote__text::after {
	content: '\201D';
	font-family: 'Playfair Display', 'Georgia', serif;
	font-size: 48px;
	color: rgba(200,170,110,0.2);
	vertical-align: bottom;
	line-height: 0;
	margin-left: 4px;
}
.cs-quote__text {
	font-size: 17px;
	font-style: italic;
	color: rgba(244,240,230,0.85);
	line-height: 1.75;
	margin-bottom: 12px;
	position: relative;
}
.cs-quote__footer {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 16px;
}
.cs-quote__brand {
	font-family: 'Parisienne', cursive;
	font-size: 28px;
	font-weight: 400;
	color: #c8aa6e;
	letter-spacing: 0.02em;
}
.cs-quote__cite {
	font-size: 13px;
	font-style: normal;
	color: rgba(200,170,110,0.8);
	font-weight: 500;
}

/* CTA */
.cs-cta {
	text-align: center;
}
.cs-cta__btn {
	display: inline-block;
	background: linear-gradient(135deg, #c8aa6e, #f0d48a);
	color: #141414;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.04em;
	padding: 16px 36px;
	border-radius: 999px;
	text-decoration: none;
	transition: opacity 0.2s;
}
.cs-cta__btn:hover {
	opacity: 0.88;
}

/* Responsive */
@media (max-width: 900px) {
	.cs-ba-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}
	.cs-metrics {
		grid-template-columns: 1fr;
	}
	.cs-quote {
		padding: 28px 24px;
	}
	.cs-quote::before {
		font-size: 64px;
		left: 20px;
	}
}
@media (max-width: 600px) {
	.cs-section { padding: 64px 0; }
	.cs-cta__btn { display: block; text-align: center; }
}

/* Final CTA Section */
.final-cta-section {
	position: relative;
	padding: 28px 20px 108px;
	background:
		radial-gradient(circle at 50% 18%, rgba(246, 232, 177, 0.1), transparent 26%),
		radial-gradient(circle at 50% 44%, rgba(240, 215, 123, 0.08), transparent 30%),
		linear-gradient(180deg, rgba(10, 10, 10, 0.98) 0%, rgba(14, 14, 14, 0.96) 100%);
	z-index: 1;
	overflow: hidden;
}

.final-cta {
	max-width: 1400px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}

.final-cta__container {
	max-width: 860px;
	margin: 0 auto;
	padding: 42px 36px;
	text-align: center;
	border-radius: 32px;
	background:
		radial-gradient(circle at top, rgba(246, 232, 177, 0.12), transparent 44%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
		linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(18, 18, 18, 0.92));
	border: 1px solid rgba(246, 232, 177, 0.14);
	box-shadow:
		0 24px 72px rgba(0, 0, 0, 0.32),
		0 0 36px rgba(246, 232, 177, 0.08),
		inset 0 1px 0 rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(22px);
}

.final-cta__title {
	font-size: clamp(2.2rem, 4vw, 4.2rem);
	line-height: 1.06;
	margin-bottom: 16px;
	font-weight: 900;
	letter-spacing: -0.03em;
	background: linear-gradient(135deg, var(--text-primary), var(--accent-cyan), var(--accent-purple));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.final-cta__subtitle {
	max-width: 620px;
	margin: 0 auto 28px;
	color: var(--text-secondary);
	font-family: 'Rajdhani', sans-serif;
	font-size: 18px;
	line-height: 1.7;
}

.final-cta__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 16px 30px;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
	border: 1px solid rgba(246, 232, 177, 0.22);
	color: var(--primary-black);
	text-decoration: none;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 1.7px;
	text-transform: uppercase;
	box-shadow:
		0 18px 36px rgba(240, 215, 123, 0.22),
		0 0 20px rgba(246, 232, 177, 0.12);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.final-cta__button:hover {
	transform: translateY(-2px);
	box-shadow:
		0 22px 42px rgba(240, 215, 123, 0.28),
		0 0 28px rgba(246, 232, 177, 0.16);
}

/* FAQ Section */
.faq-section {
	position: relative;
	padding: 28px 20px 96px;
	background:
		radial-gradient(circle at 20% 20%, rgba(246, 232, 177, 0.08), transparent 28%),
		radial-gradient(circle at 80% 18%, rgba(240, 215, 123, 0.06), transparent 30%),
		linear-gradient(180deg, rgba(10, 10, 10, 0.98) 0%, rgba(15, 15, 15, 0.96) 100%);
	z-index: 1;
	overflow: hidden;
}

.faq {
	max-width: 960px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}

.faq__header {
	margin: 0 auto 34px;
	text-align: center;
}

.faq__title {
	font-size: clamp(2.2rem, 4vw, 4rem);
	line-height: 1.08;
	font-weight: 900;
	letter-spacing: -0.02em;
	background: linear-gradient(135deg, var(--text-primary), var(--accent-purple));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.faq__list {
	display: grid;
	gap: 16px;
}

.faq__item {
	border-radius: 24px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
		linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(18, 18, 18, 0.92));
	border: 1px solid rgba(246, 232, 177, 0.12);
	box-shadow:
		0 16px 42px rgba(0, 0, 0, 0.24),
		inset 0 1px 0 rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(20px);
	transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
	overflow: hidden;
}

.faq__item:hover {
	border-color: rgba(246, 232, 177, 0.2);
	box-shadow:
		0 20px 48px rgba(0, 0, 0, 0.28),
		0 0 20px rgba(246, 232, 177, 0.06),
		inset 0 1px 0 rgba(255, 255, 255, 0.08);
	transform: translateY(-2px);
}

.faq__item.is-open {
	border-color: rgba(246, 232, 177, 0.22);
}

.faq__question {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 22px 24px;
	background: transparent;
	border: 0;
	color: var(--text-primary);
	text-align: left;
	cursor: pointer;
	font-size: 22px;
	font-weight: 700;
	font-family: inherit;
}

.faq__toggle {
	position: relative;
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
}

.faq__toggle::before,
.faq__toggle::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 18px;
	height: 2px;
	border-radius: 999px;
	background: var(--accent-purple);
	transform: translate(-50%, -50%);
	transition: transform 0.25s ease, opacity 0.25s ease;
}

.faq__toggle::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.faq__item.is-open .faq__toggle::after {
	opacity: 0;
	transform: translate(-50%, -50%) rotate(90deg) scaleX(0.4);
}

.faq__answer {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.3s ease;
}

.faq__item.is-open .faq__answer {
	grid-template-rows: 1fr;
}

.faq__answer p {
	min-height: 0;
	overflow: hidden;
	padding: 0 24px 0;
	color: var(--text-secondary);
	font-family: 'Rajdhani', sans-serif;
	font-size: 17px;
	line-height: 1.7;
}

.faq__item.is-open .faq__answer p {
	padding-bottom: 24px;
}

/* Stats Section with Content */
.stats-section {
	padding: 120px 30px;
	background: linear-gradient(180deg,
			var(--primary-black) 0%,
			var(--carbon-dark) 50%,
			var(--primary-black) 100%);
	position: relative;
}

.stats-grid {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 40px;
}

.stat-card {
	background: linear-gradient(135deg,
			rgba(42, 42, 42, 0.5),
			rgba(26, 26, 26, 0.8));
	border: 1px solid var(--metal-dark);
	border-radius: 15px;
	padding: 40px 30px;
	text-align: center;
	position: relative;
	overflow: hidden;
	transition: all 0.3s ease;
}

.stat-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 2px;
	background: linear-gradient(90deg,
			transparent,
			var(--accent-purple),
			transparent);
	animation: none;
}

.stat-card:hover::before {
	animation: slideRight 0.5s ease forwards;
}

@keyframes slideRight {
	0% {
		left: -100%;
	}

	100% {
		left: 100%;
	}
}

.stat-card:hover {
	transform: translateY(-5px);
	border-color: var(--accent-purple);
	box-shadow: 0 15px 35px rgba(212, 175, 55, 0.2);
}

.stat-icon {
	width: 80px;
	height: 80px;
	background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 20px;
	font-size: 36px;
	color: var(--text-primary);
	box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.stat-number {
	font-size: 48px;
	font-weight: 900;
	color: var(--text-primary);
	margin-bottom: 10px;
	font-family: 'Orbitron', monospace;
}

.stat-label {
	font-size: 14px;
	color: var(--text-secondary);
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-bottom: 15px;
}

.stat-description {
	font-size: 13px;
	color: var(--text-dim);
	line-height: 1.5;
	padding: 0 10px;
}

/* Gallery Section */
.gallery-section {
	padding: 120px 30px;
	background: linear-gradient(180deg,
			var(--carbon-dark) 0%,
			var(--primary-black) 100%);
	position: relative;
	z-index: 1;
	overflow: hidden;
}

.gallery-page {
	min-height: 100vh;
	padding: 90px 22px 60px;
	background: var(--primary-black);
}

.gallery-retention-banner {
	max-width: 1400px;
	margin: 0 auto 20px;
	padding: 12px 20px;
	display: flex;
	align-items: center;
	gap: 10px;
	background: rgba(212,175,55,0.07);
	border: 1px solid rgba(212,175,55,0.25);
	border-radius: 10px;
	font-size: 13px;
	color: rgba(212,175,55,0.85);
}

.gallery-retention-banner i {
	flex-shrink: 0;
	font-size: 14px;
}

.gallery-compact-grid {
	max-width: 1400px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 14px;
	align-items: stretch;
}

@media (min-width: 1400px) {
	.gallery-compact-grid {
		grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	}
}

@media (max-width: 700px) {
	.gallery-compact-grid {
		grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
		gap: 12px;
	}
}

.gallery-load-more {
	display: flex;
	justify-content: center;
	margin: 28px 0 40px;
}

.gallery-load-more-btn {
	padding: 10px 18px;
	border-radius: 12px;
	border: 1px solid rgba(212, 175, 55, 0.35);
	background: rgba(255, 255, 255, 0.06);
	color: var(--text-primary);
	text-transform: uppercase;
	letter-spacing: 1px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.gallery-load-more-btn:hover {
	border-color: var(--accent-purple);
	color: var(--accent-purple);
	box-shadow: 0 0 14px rgba(212, 175, 55, 0.25);
}

.gallery-card {
	background: rgba(20, 20, 20, 0.9);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 12px;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
	overflow: hidden;
	position: relative;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
	animation: fadeInUp 0.5s ease forwards;
	opacity: 1;
	display: flex;
	flex-direction: column;
}

.gallery-card:hover {
	transform: translateY(-6px);
	border-color: rgba(212, 175, 55, 0.4);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.gallery-card:hover .gallery-card-footer {
	opacity: 1;
}

.gallery-card-image {
	position: relative;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: var(--carbon-dark);
}

.gallery-card-image img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	filter: grayscale(6%) contrast(1.05);
	transition: transform 0.25s ease, filter 0.25s ease;
}

.gallery-card:hover .gallery-card-image img {
	transform: scale(1.03);
	filter: grayscale(0%) contrast(1.1);
}

.gallery-card-footer {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px 8px 12px;
	background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
	opacity: 0;
	transition: opacity 0.2s ease;
	border-radius: 0 0 12px 12px;
}

.gallery-card-title {
	display: none;
}

.gallery-card-actions {
	display: flex;
	gap: 4px;
}

.gallery-card-icon {
	width: 28px;
	height: 28px;
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: rgba(255, 255, 255, 0.04);
	color: var(--text-primary);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
}

.gallery-card-icon:hover {
	border-color: rgba(255, 255, 255, 0.3);
	color: var(--accent-cyan);
	box-shadow: 0 6px 14px rgba(0, 0, 0, 0.35);
}

.gallery-card-icon.ghost {
	border: 1px solid rgba(220, 80, 80, 0.45);
	color: #f1b3b3;
	background: rgba(255, 255, 255, 0.02);
}

.gallery-card-icon.ghost:hover {
	border-color: #ff9c9c;
	color: #ffc1c1;
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.35);
}

.gallery-day {
	margin-bottom: 18px;
	border: 1px solid rgba(255, 255, 255, 0.05);
	border-radius: 12px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.015);
}

.gallery-day-header {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 12px;
	background: rgba(0, 0, 0, 0.35);
	color: var(--text-primary);
	border: 0;
	outline: 0;
	cursor: pointer;
}

.gallery-day-title {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.8px;
}

.gallery-day-sub {
	font-size: 12px;
	color: var(--text-secondary);
}

.gallery-day-toggle {
	font-size: 20px;
	line-height: 1;
	padding: 6px 10px;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.02);
}

.gallery-day-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	padding: 14px;
}

.gallery-day-grid .gallery-card {
	flex: 1 1 calc(33% - 16px);
	min-width: 220px;
	margin: 0;
}

.gallery-day.collapsed .gallery-day-grid {
	display: none;
}

.gallery-container {
	max-width: 1200px;
	margin: 0 auto;
}

.section-header {
	text-align: center;
	margin-bottom: 80px;
}

.section-title {
	font-size: 48px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: 3px;
	margin-bottom: 20px;
	background: linear-gradient(135deg, var(--text-primary), var(--accent-purple));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.section-subtitle {
	color: var(--text-secondary);
	font-size: 18px;
	max-width: 600px;
	margin: 0 auto;
}

.gallery-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
	margin-top: 60px;
}

.gallery-hexagon {
	width: 200px;
	height: 230px;
	position: relative;
	margin: 30px 10px;
	cursor: pointer;
	transition: all 0.3s ease;
	opacity: 0;
	animation: fadeInUp 0.6s forwards;
}

.gallery-hexagon:hover {
	transform: translateY(-10px);
}

.gallery-hex-inner {
	width: 100%;
	height: 100%;
	position: relative;
	transform: rotate(30deg);
	overflow: hidden;
	border-radius: 20px;
	background: linear-gradient(135deg, var(--carbon-medium), var(--carbon-light));
	border: 2px solid var(--metal-dark);
}

.gallery-hexagon:hover .gallery-hex-inner {
	border-color: var(--accent-purple);
	box-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

.gallery-hex-content {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	transform: rotate(-30deg);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 20px;
	gap: 10px;
}

.gallery-thumb {
	width: 100%;
	height: 120px;
	border-radius: 12px;
	overflow: hidden;
	background: var(--carbon-dark);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
	transform: rotate(30deg) scale(1.02);
	transform-origin: center;
}

.gallery-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(30%) contrast(1.15);
	transition: transform 0.5s ease, filter 0.5s ease;
	transform: scale(1.08);
}

.gallery-hexagon:hover .gallery-thumb img {
	transform: scale(1.14);
	filter: grayscale(0%) contrast(1.25);
}

.gallery-title {
	font-size: 16px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--text-primary);
	text-align: center;
}

.gallery-desc {
	color: var(--text-secondary);
	font-size: 13px;
	line-height: 1.4;
	text-align: center;
}

@keyframes fadeInUp {
	0% {
		opacity: 0;
		transform: translateY(15px);
	}

	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Upload Modal */
.upload-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 11000;
	overflow-y: auto;
	padding: 20px;
}

.upload-modal.active {
	display: flex;
}

.upload-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.75);
	backdrop-filter: blur(6px);
	opacity: 0;
	transition: opacity 0.35s ease;
}

.upload-modal.active .upload-backdrop {
	opacity: 1;
}

.upload-dialog {
	position: relative;
	width: 90%;
	max-width: 760px;
	background: linear-gradient(135deg,
			rgba(26, 26, 26, 0.95),
			rgba(42, 42, 42, 0.9));
	border: 1px solid var(--metal-dark);
	border-radius: 20px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
	padding: 30px 32px 36px;
	z-index: 1;
	max-height: 90vh;
	overflow-y: auto;
	transform: scale(0.6);
	opacity: 0;
	transition: transform 0.35s ease, opacity 0.35s ease;
}

.upload-modal.active .upload-dialog {
	transform: scale(1);
	opacity: 1;
}

.upload-close {
	position: absolute;
	top: 12px;
	right: 12px;
	background: transparent;
	border: 1px solid var(--metal-light);
	color: var(--text-primary);
	width: 34px;
	height: 34px;
	border-radius: 50%;
	cursor: pointer;
	font-size: 18px;
	transition: all 0.3s ease;
}

.upload-close:hover {
	border-color: var(--accent-purple);
	color: var(--accent-purple);
}

.upload-title {
	font-size: 26px;
	font-weight: 800;
	margin-bottom: 6px;
}

.upload-subtitle {
	color: var(--text-secondary);
	font-size: 14px;
	margin-bottom: 24px;
}

.upload-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 16px;
	margin-bottom: 22px;
}

.upload-dropzone {
	border: 1px dashed var(--metal-light);
	border-radius: 14px;
	padding: 18px;
	text-align: center;
	background: rgba(18, 18, 18, 0.6);
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.upload-dropzone:hover {
	border-color: var(--accent-purple);
	box-shadow: 0 0 20px rgba(212, 175, 55, 0.25);
}

.drop-label {
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--text-primary);
}

.drop-hint {
	color: var(--text-secondary);
	font-size: 13px;
}

.drop-preview {
	margin-top: 10px;
	width: 100%;
	min-height: 60px;
	border-radius: 12px;
	background: rgba(0, 0, 0, 0.2);
	overflow: hidden;
	display: none;
}

.drop-preview img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.upload-dropzone.has-image .drop-preview {
	display: block;
}

.upload-dropzone.has-image .drop-label,
.upload-dropzone.has-image .drop-hint {
	display: none;
}

.upload-action {
	width: 100%;
	padding: 12px 16px;
	border: none;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
	color: var(--primary-black);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 1px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.upload-action:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

.upload-action:not(:disabled):hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(212, 175, 55, 0.35);
}

.dress-type-options {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin-top: 10px;
}

.dress-type-btn {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 12px 8px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(212, 175, 55, 0.2);
	border-radius: 10px;
	color: var(--text-primary);
	cursor: pointer;
	transition: all 0.2s ease;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	gap: 6px;
}

.dress-type-btn img {
	width: 36px;
	height: auto;
	object-fit: contain;
	filter: drop-shadow(0 0 6px rgba(212, 175, 55, 0.25));
}

.dress-type-btn.active {
	border-color: rgba(212, 175, 55, 0.6);
	box-shadow: 0 0 10px rgba(212, 175, 55, 0.25);
	background: rgba(212, 175, 55, 0.08);
}

.dress-type-btn:hover {
	border-color: rgba(212, 175, 55, 0.4);
}

.upload-field {
	margin-top: 14px;
}

.upload-field label,
.dress-type-label {
	display: block;
	color: var(--text-secondary);
	margin-bottom: 6px;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.upload-field select,
.upload-field textarea {
	width: 100%;
	padding: 12px 14px;
	border-radius: 10px;
	border: 1px dashed rgba(212, 175, 55, 0.3);
	background: rgba(255, 255, 255, 0.03);
	color: var(--text-primary);
}

.upload-field textarea {
	min-height: 80px;
}

.aspect-modal {
	position: fixed;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 12000;
}

.aspect-modal.active {
	display: flex;
}

.aspect-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.75);
	backdrop-filter: blur(4px);
}

.aspect-dialog {
	position: relative;
	width: 90%;
	max-width: 420px;
	background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(42, 42, 42, 0.9));
	border: 1px solid var(--metal-dark);
	border-radius: 16px;
	padding: 20px 22px 24px;
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
	z-index: 1;
}

.aspect-close {
	position: absolute;
	top: 10px;
	right: 10px;
	background: transparent;
	border: 1px solid var(--metal-light);
	color: var(--text-primary);
	width: 30px;
	height: 30px;
	border-radius: 50%;
	cursor: pointer;
}

.aspect-title {
	font-size: 20px;
	font-weight: 800;
	margin-bottom: 14px;
}

.aspect-fields {
	display: grid;
	gap: 12px;
	margin-bottom: 16px;
}

.aspect-fields label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 14px;
	color: var(--text-secondary);
}

.aspect-fields select {
	background: rgba(18, 18, 18, 0.6);
	border: 1px solid var(--metal-dark);
	color: var(--text-primary);
	padding: 10px;
	border-radius: 10px;
}

.aspect-fields textarea {
	background: rgba(18, 18, 18, 0.6);
	border: 1px solid var(--metal-dark);
	color: var(--text-primary);
	padding: 10px;
	border-radius: 10px;
	resize: vertical;
	min-height: 70px;
}

.aspect-action {
	width: 100%;
	padding: 10px 14px;
	border: none;
	border-radius: 12px;
	background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
	color: var(--primary-black);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 1px;
	cursor: pointer;
}

.image-viewer {
	position: fixed;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 13000;
}

.image-viewer.active {
	display: flex;
}

.image-viewer-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.82);
	backdrop-filter: blur(8px);
}

.image-viewer-dialog {
	position: relative;
	width: min(1100px, 94vw);
	max-height: 90vh;
	background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(42, 42, 42, 0.9));
	border: 1px solid var(--metal-dark);
	border-radius: 18px;
	box-shadow: 0 25px 70px rgba(0, 0, 0, 0.65);
	padding: 18px 18px 14px;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.image-viewer-close {
	position: absolute;
	top: 10px;
	right: 10px;
	background: transparent;
	border: 1px solid var(--metal-light);
	color: var(--text-primary);
	width: 32px;
	height: 32px;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	transition: all 0.2s ease;
	z-index: 3;
}

.image-viewer-body {
	width: 100%;
	flex: 1;
	min-height: 0;
	background: rgba(0, 0, 0, 0.35);
	border: 1px solid var(--metal-dark);
	border-radius: 12px;
	padding: 12px;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
}

.image-viewer-body img {
	max-width: 100%;
	max-height: 72vh;
	object-fit: contain;
	display: block;
}

.image-viewer-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	background: rgba(0, 0, 0, 0.45);
	color: var(--text-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
	z-index: 2;
}

.image-viewer-nav:hover {
	border-color: var(--accent-purple);
	color: var(--accent-purple);
	background: rgba(0, 0, 0, 0.65);
	box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5);
}

.image-viewer-nav.prev {
	left: 10px;
}

.image-viewer-nav.next {
	right: 10px;
}

.image-viewer-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
	padding: 0 2px 2px;
}

.image-viewer-title {
	font-size: 13px;
	font-weight: 500;
	color: rgba(255,255,255,0.5);
	margin: 0;
}

.image-viewer-count {
	font-size: 12px;
	color: var(--text-secondary);
	letter-spacing: 0.5px;
	margin-top: 2px;
}

.image-viewer-actions {
	margin-left: auto;
	display: flex;
	gap: 8px;
	align-items: center;
}

.image-viewer-actions a {
	text-decoration: none;
}

.image-viewer-btn {
	border: 1px solid var(--metal-light);
	background: rgba(255, 255, 255, 0.05);
	color: var(--text-primary);
	padding: 8px 12px;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.2s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
}

.image-viewer-btn:hover {
	border-color: var(--accent-purple);
	color: var(--accent-purple);
}

.image-viewer-btn--danger {
	border-color: rgba(220, 80, 80, 0.45);
	color: #f1b3b3;
}

.image-viewer-btn--danger:hover {
	border-color: #ff9c9c;
	color: #ffc1c1;
}

@media (max-width: 700px) {
	.image-viewer-dialog {
		padding: 12px 12px 10px;
	}

	.image-viewer-nav {
		width: 38px;
		height: 38px;
	}
}

.gen-loader {
	position: absolute;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 10;
	border-radius: inherit;
}

.gen-loader.active {
	display: flex;
}

.gen-loader-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(4px);
	border-radius: 18px;
}

.gen-loader-content {
	position: relative;
	width: 160px;
	height: 160px;
	z-index: 1;
}

.quote-loader-wrap {
	margin-top: 24px;
	width: 260px;
	text-align: center;
}

.quote-loader-text {
	font-style: italic;
	font-size: 13px;
	line-height: 1.6;
	color: rgba(246, 232, 177, 0.9);
	margin: 0 0 8px 0;
	min-height: 44px;
}

.quote-loader-text::after {
	content: '|';
	display: inline-block;
	margin-left: 2px;
	color: rgba(212, 175, 55, 0.8);
	animation: quote-cursor 0.8s step-end infinite;
}

@keyframes quote-cursor {
	0%, 100% { opacity: 1; }
	50% { opacity: 0; }
}

.quote-loader-author {
	font-style: normal;
	font-size: 11px;
	letter-spacing: 0.08em;
	color: rgba(212, 175, 55, 0.7);
	margin: 0;
	transition: opacity 0.4s ease;
}

.job-status-text {
	font-size: 11px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(212, 175, 55, 0.9);
	margin-top: 16px;
	min-height: 16px;
	text-align: center;
}

/* Card placeholder generazione in corso */
.studio-pending-thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(20, 20, 24, 0.9);
	border: 1px dashed rgba(212, 175, 55, 0.35);
	border-radius: 8px;
}

.pending-job-status {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 12px;
}

.pending-job-spinner {
	width: 22px;
	height: 22px;
	border: 2px solid rgba(212, 175, 55, 0.2);
	border-top-color: rgba(212, 175, 55, 0.85);
	border-radius: 50%;
	animation: pending-spin 0.9s linear infinite;
}

@keyframes pending-spin {
	to { transform: rotate(360deg); }
}

.pending-job-text {
	font-size: 9px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(212, 175, 55, 0.75);
	text-align: center;
	line-height: 1.4;
}

/* Toast notifica non bloccante */
.studio-toast {
	position: fixed;
	bottom: 28px;
	left: 50%;
	transform: translateX(-50%) translateY(20px);
	background: rgba(15, 15, 18, 0.95);
	border: 1px solid rgba(212, 175, 55, 0.35);
	border-radius: 12px;
	padding: 12px 22px;
	color: rgba(244, 240, 230, 0.92);
	font-size: 13px;
	letter-spacing: 0.04em;
	white-space: nowrap;
	z-index: 9999;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.studio-toast.is-visible {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

.gen-loader-content svg {
	width: 100% !important;
	height: 100% !important;
	display: block;
}

.publish-modal {
	position: fixed;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	z-index: 12500;
}

.publish-modal.active {
	display: flex;
}

.publish-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.75);
	backdrop-filter: blur(6px);
}

.publish-dialog {
	position: relative;
	width: 95%;
	max-width: 900px;
	background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(42, 42, 42, 0.9));
	border: 1px solid var(--metal-dark);
	border-radius: 18px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
	padding: 22px 24px 28px;
	z-index: 1;
	max-height: 90vh;
	overflow: auto;
}

.publish-close {
	position: absolute;
	top: 12px;
	right: 12px;
	background: transparent;
	border: 1px solid var(--metal-light);
	color: var(--text-primary);
	width: 34px;
	height: 34px;
	border-radius: 50%;
	cursor: pointer;
	font-size: 18px;
	transition: all 0.3s ease;
}

.publish-close:hover {
	border-color: var(--accent-purple);
	color: var(--accent-purple);
}

.publish-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

@media (max-width: 900px) {
	.publish-grid {
		grid-template-columns: 1fr;
	}
}

.publish-preview {
	border: 1px solid var(--metal-dark);
	border-radius: 12px;
	padding: 12px;
	background: rgba(0, 0, 0, 0.35);
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.publish-preview img {
	width: 100%;
	height: auto;
	border-radius: 10px;
	object-fit: cover;
}

.publish-form {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.publish-form label {
	font-size: 13px;
	color: var(--text-secondary);
}

.publish-form select,
.publish-form textarea,
.publish-form input[type="text"] {
	width: 100%;
	background: rgba(18, 18, 18, 0.6);
	border: 1px solid var(--metal-dark);
	color: var(--text-primary);
	padding: 10px;
	border-radius: 10px;
}

.publish-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.publish-secondary {
	border: 1px solid var(--metal-light);
	background: transparent;
	color: var(--text-primary);
	padding: 8px 12px;
	border-radius: 10px;
	cursor: pointer;
}

.publish-secondary:hover {
	border-color: var(--accent-purple);
	color: var(--accent-purple);
}

.publish-output {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.publish-output textarea,
.publish-output input[type="text"] {
	width: 100%;
	background: rgba(18, 18, 18, 0.6);
	border: 1px solid var(--metal-dark);
	color: var(--text-primary);
	padding: 10px;
	border-radius: 10px;
}

.model-ready {
	padding: 12px 0 6px;
}

.model-ready-head h4 {
	font-size: 16px;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 4px;
}

.model-ready-head p {
	color: var(--text-secondary);
	font-size: 13px;
	margin-bottom: 12px;
}

.model-ready-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	gap: 12px;
	margin-bottom: 16px;
}

.model-ready-card {
	background: rgba(18, 18, 18, 0.5);
	border: 1px solid var(--metal-dark);
	border-radius: 12px;
	overflow: hidden;
	text-align: center;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
	cursor: pointer;
	transition: all 0.3s ease;
}

.model-ready-card img {
	width: 100%;
	height: 140px;
	object-fit: cover;
	display: block;
	filter: grayscale(20%) contrast(1.1);
	transition: transform 0.4s ease, filter 0.4s ease;
}

.model-ready-card:hover img {
	transform: scale(1.04);
	filter: grayscale(0%) contrast(1.2);
}

.model-ready-card.active {
	border-color: var(--accent-purple);
	box-shadow: 0 0 20px rgba(212, 175, 55, 0.25);
}

.model-ready-card.active .model-ready-name {
	color: var(--accent-purple);
}

.model-ready-name {
	padding: 8px;
	font-weight: 700;
	letter-spacing: 0.5px;
}

/* Footer */
.footer {
	padding: 56px 30px 28px;
	background:
		radial-gradient(circle at top, rgba(246, 232, 177, 0.08), transparent 28%),
		linear-gradient(180deg, rgba(12, 12, 12, 0.98) 0%, rgba(10, 10, 10, 1) 100%);
	border-top: 1px solid rgba(246, 232, 177, 0.12);
	position: relative;
}

.footer-content {
	max-width: 1240px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(180px, 0.8fr) minmax(180px, 0.8fr);
	gap: 34px;
	margin-bottom: 28px;
	padding: 30px 32px;
	border-radius: 28px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
		linear-gradient(135deg, rgba(26, 26, 26, 0.94), rgba(18, 18, 18, 0.92));
	border: 1px solid rgba(246, 232, 177, 0.12);
	box-shadow:
		0 18px 46px rgba(0, 0, 0, 0.28),
		inset 0 1px 0 rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(20px);
}

.footer-brand {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.footer-logo {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	text-decoration: none;
	font-size: 26px;
	font-weight: 900;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	background: linear-gradient(135deg, var(--text-primary), var(--accent-cyan), var(--accent-purple));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.footer-description {
	max-width: 420px;
	color: var(--text-secondary);
	line-height: 1.7;
	font-size: 15px;
	font-family: 'Rajdhani', sans-serif;
}

.footer-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	padding: 12px 18px;
	border-radius: 999px;
	border: 1px solid rgba(246, 232, 177, 0.18);
	background: rgba(255, 255, 255, 0.04);
	color: var(--accent-cyan);
	text-decoration: none;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
	transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.footer-cta:hover {
	transform: translateY(-2px);
	border-color: rgba(246, 232, 177, 0.28);
	color: var(--text-primary);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.26);
}

.footer-section h4 {
	color: var(--text-primary);
	margin-bottom: 16px;
	text-transform: uppercase;
	letter-spacing: 1.6px;
	font-size: 12px;
	font-weight: 700;
	opacity: 0.9;
}

.footer-links {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.footer-links a {
	color: var(--text-secondary);
	text-decoration: none;
	transition: all 0.3s ease;
	font-size: 14px;
	font-family: 'Rajdhani', sans-serif;
	width: fit-content;
}

.footer-links a:hover {
	color: var(--accent-cyan);
	transform: translateX(4px);
}

/* ── COOKIE BANNER ── */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(10, 10, 10, 0.97);
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
#cookie-banner p {
  margin: 0;
  font-size: 13px;
  color: rgba(246, 232, 177, 0.75);
  line-height: 1.5;
}
#cookie-banner p a {
  color: rgba(212, 175, 55, 0.85);
  text-decoration: underline;
}
#cookie-banner button {
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.5);
  color: rgb(212, 175, 55);
  padding: 7px 22px;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
#cookie-banner button:hover {
  background: rgba(212, 175, 55, 0.28);
}

.footer-bottom {
	padding-top: 22px;
	border-top: 1px solid rgba(246, 232, 177, 0.1);
	display: flex;
	justify-content: center;
	align-items: center;
	max-width: 1240px;
	margin: 0 auto;
}

.copyright {
	color: var(--text-dim);
	font-size: 14px;
	letter-spacing: 0.4px;
}

.legal-page {
	background:
		radial-gradient(circle at top, rgba(246, 232, 177, 0.08), transparent 24%),
		linear-gradient(180deg, #0b0b0b 0%, #090909 100%);
	min-height: 100vh;
}

.legal-header {
	background: rgba(10, 10, 10, 0.82);
	backdrop-filter: blur(18px);
}

.legal-nav {
	display: flex;
}

.legal-main {
	padding-top: 88px;
}

.legal-hero {
	padding: 52px 20px 24px;
}

.legal-hero__inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 36px 34px;
	border-radius: 30px;
	background:
		radial-gradient(circle at top right, rgba(246, 232, 177, 0.1), transparent 34%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
		linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(18, 18, 18, 0.92));
	border: 1px solid rgba(246, 232, 177, 0.12);
	box-shadow:
		0 20px 54px rgba(0, 0, 0, 0.28),
		inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.legal-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	padding: 8px 14px;
	margin-bottom: 18px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(246, 232, 177, 0.16);
	color: var(--accent-cyan);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.8px;
	text-transform: uppercase;
}

.legal-hero__title {
	font-size: clamp(2.4rem, 5vw, 4.4rem);
	line-height: 1.04;
	font-weight: 900;
	letter-spacing: -0.03em;
	background: linear-gradient(135deg, var(--text-primary), var(--accent-cyan), var(--accent-purple));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.legal-section {
	padding: 0 20px 88px;
}

.legal-content {
	max-width: 1100px;
	margin: 0 auto;
	padding: 36px 34px 40px;
	border-radius: 30px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
		linear-gradient(135deg, rgba(24, 24, 24, 0.94), rgba(16, 16, 16, 0.92));
	border: 1px solid rgba(246, 232, 177, 0.1);
	box-shadow:
		0 18px 46px rgba(0, 0, 0, 0.26),
		inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.legal-content h2,
.legal-content h3,
.legal-content h4 {
	color: var(--text-primary);
}

.legal-content h2 {
	font-size: 34px;
	margin-bottom: 10px;
}

.legal-meta {
	margin-bottom: 28px;
	color: var(--text-dim);
	font-size: 14px;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.legal-content h3 {
	margin-top: 28px;
	margin-bottom: 12px;
	font-size: 22px;
}

.legal-content h4 {
	margin-top: 20px;
	margin-bottom: 10px;
	font-size: 18px;
}

.legal-content p,
.legal-content li {
	color: var(--text-secondary);
	font-family: 'Rajdhani', sans-serif;
	font-size: 17px;
	line-height: 1.75;
}

.legal-content p + p {
	margin-top: 10px;
}

.legal-content ul {
	margin: 12px 0 18px 20px;
	padding: 0;
}

.legal-content li + li {
	margin-top: 8px;
}

.legal-content a {
	color: var(--accent-cyan);
	text-decoration: none;
}

.legal-content a:hover {
	color: var(--text-primary);
}

/* Responsive Design */
@media (max-width: 1024px) {
	.instant-preview-section {
		padding: 24px 24px 44px;
	}

	.instant-preview-section::before {
		inset: 22px 24px 0;
	}

	.instant-preview {
		padding: 30px 28px 0;
	}

	.instant-preview__layout {
		grid-template-columns: 1fr 1fr;
	}

	.instant-preview-card--result {
		grid-column: 1 / -1;
	}

	.visual-demo-section {
		padding: 44px 24px 72px;
	}

	.visual-demo__grid {
		grid-template-columns: 1fr 1fr;
	}

	.visual-demo-card--output {
		grid-column: 1 / -1;
	}

	.visual-demo-card::after {
		display: none;
	}

	.saas-hero {
		padding: 84px 24px 56px;
	}

	.saas-hero__container {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.saas-hero__content {
		max-width: 100%;
	}

	.saas-hero__title {
		max-width: 100%;
	}

	.how-it-works-section {
		padding: 32px 24px 80px;
	}

	.how-it-works__grid {
		grid-template-columns: 1fr;
	}

	.problem-solution-section {
		padding: 20px 24px 80px;
	}

	.problem-solution__grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.problem-solution__statement {
		max-width: 760px;
		margin-top: 34px;
	}

	.results-gallery-section {
		padding: 24px 24px 80px;
	}

	.results-gallery__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.benefits-section {
		padding: 24px 24px 80px;
	}

	.benefits__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.final-cta-section {
		padding: 24px 24px 88px;
	}

	.final-cta__container {
		padding: 38px 30px;
	}

	.faq-section {
		padding: 24px 24px 80px;
	}

	.footer-content {
		grid-template-columns: 1.2fr 1fr 1fr;
		padding: 28px 24px;
	}

	.legal-nav {
		display: none;
	}

	.legal-main {
		padding-top: 74px;
	}

	.legal-hero {
		padding: 34px 20px 20px;
	}

	.legal-hero__inner,
	.legal-content {
		padding: 28px 24px;
		border-radius: 24px;
	}

	.legal-section {
		padding: 0 20px 72px;
	}
}

@media (max-width: 768px) {
	.gallery-body,
	.studio-body {
		overflow-x: hidden;
	}

	.gallery-body .header,
	.studio-body .header {
		top: 0;
		left: 0;
		right: 0;
		width: 100vw;
		max-width: 100vw;
		padding-top: env(safe-area-inset-top, 0px);
		background: rgba(18, 18, 18, 0.98);
		z-index: 2100;
	}

	.gallery-body .nav-container,
	.studio-body .nav-container {
		position: relative;
		z-index: 2101;
		padding: 16px 16px;
	}

	.gallery-body .menu-toggle,
	.studio-body .menu-toggle {
		display: flex !important;
		position: relative;
		z-index: 2102;
	}

	.gallery-body .nav-menu,
	.studio-body .nav-menu {
		top: calc(76px + env(safe-area-inset-top, 0px));
		z-index: 2099;
		max-height: calc(100dvh - 76px - env(safe-area-inset-top, 0px));
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
	}

	.gallery-body .gallery-page,
	.studio-body .studio-shell {
		padding-top: calc(96px + env(safe-area-inset-top, 0px));
	}

	.instant-preview-section {
		padding: 20px 20px 36px;
	}

	.instant-preview-section::before {
		inset: 18px 20px 0;
		border-radius: 30px;
	}

	.instant-preview {
		padding: 24px 22px 0;
	}

	.instant-preview__header {
		margin-bottom: 24px;
	}

	.instant-preview__subtitle {
		font-size: 18px;
	}

	.instant-preview__layout {
		grid-template-columns: 1fr;
	}

	.instant-preview-card {
		padding: 18px;
		border-radius: 24px;
	}

	.instant-preview__dropzone,
	.instant-preview__model-frame {
		min-height: 280px;
	}

	.instant-preview__result-frame {
		min-height: 360px;
	}

	.instant-preview__result-empty-title {
		font-size: 24px;
	}

	.instant-preview__result-empty-copy {
		font-size: 16px;
	}

	.visual-demo-section {
		padding: 36px 20px 60px;
	}

	.visual-demo__header {
		margin-bottom: 22px;
	}

	.visual-demo__description {
		font-size: 17px;
	}

	.visual-demo__chips {
		gap: 10px;
		margin-bottom: 22px;
	}

	.visual-demo__grid {
		grid-template-columns: 1fr;
	}

	.visual-demo-card {
		padding: 20px;
		border-radius: 24px;
	}

	.visual-demo__media {
		min-height: 170px;
	}

	.visual-demo__card-title {
		font-size: 20px;
	}

	.saas-hero {
		padding: 82px 20px 44px;
	}

	.saas-hero__eyebrow {
		margin-bottom: 20px;
	}

	.saas-hero__description {
		font-size: 17px;
	}

	.saas-hero__actions {
		flex-direction: column;
	}

	.saas-hero__button {
		width: 100%;
	}

	.saas-hero__preview-shell {
		padding: 20px;
		border-radius: 24px;
	}

	.saas-hero__preview-header {
		flex-direction: column;
		align-items: flex-start;
	}

	.saas-hero__image-frame {
		min-height: 340px;
	}

	.how-it-works-section {
		padding: 28px 20px 68px;
	}

	.how-it-works-section::before {
		margin-bottom: 32px;
	}

	.how-it-works__header {
		margin-bottom: 24px;
	}

	.how-it-works__description {
		font-size: 17px;
	}

	.how-it-works__card {
		padding: 22px 20px;
		border-radius: 24px;
	}

	.how-it-works__card-title {
		font-size: 22px;
	}

	.problem-solution-section {
		padding: 16px 20px 64px;
	}

	.problem-solution-section::before {
		margin-bottom: 32px;
	}

	.problem-solution__header {
		margin-bottom: 24px;
		text-align: left;
	}

	.problem-solution__panel {
		padding: 22px 20px;
		border-radius: 24px;
	}

	.problem-solution__panel-title {
		margin-bottom: 18px;
		font-size: 24px;
	}

	.problem-solution__item {
		align-items: flex-start;
		padding: 14px 16px;
		border-radius: 18px;
	}

	.problem-solution__icon {
		flex-basis: 48px;
		width: 48px;
		height: 48px;
		border-radius: 16px;
	}

	.problem-solution__item-text {
		font-size: 18px;
	}

	.problem-solution__statement {
		margin-top: 28px;
		font-size: clamp(1.75rem, 7vw, 2.45rem);
		text-align: left;
	}

	.problem-solution__button {
		width: 100%;
	}

	.problem-solution__cta {
		margin-top: 24px;
	}

	.results-gallery-section {
		padding: 20px 20px 64px;
	}

	.results-gallery__header {
		margin-bottom: 24px;
		text-align: left;
	}

	.results-gallery__subtitle {
		font-size: 17px;
	}

	.results-gallery__grid {
		grid-template-columns: 1fr;
	}

	.results-gallery__card {
		padding: 20px;
		border-radius: 24px;
	}

	.results-gallery__comparison {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.results-gallery__arrow {
		justify-self: center;
		transform: rotate(90deg);
	}

	.results-gallery__placeholder {
		border-radius: 20px;
	}

	.results-gallery__tag {
		margin-top: 18px;
	}

	.benefits-section {
		padding: 20px 20px 64px;
	}

	.benefits__header {
		margin-bottom: 24px;
		text-align: left;
	}

	.benefits__grid {
		grid-template-columns: 1fr;
	}

	.benefits__card {
		padding: 22px 20px;
		border-radius: 24px;
	}

	.benefits__card-title {
		font-size: 22px;
	}

	.benefits__text {
		font-size: 17px;
	}

	.final-cta-section {
		padding: 20px 20px 72px;
	}

	.final-cta__container {
		padding: 30px 22px;
		border-radius: 26px;
	}

	.final-cta__subtitle {
		margin-bottom: 24px;
		font-size: 17px;
	}

	.final-cta__button {
		width: 100%;
	}

	.faq-section {
		padding: 20px 20px 64px;
	}

	.faq__header {
		margin-bottom: 24px;
		text-align: left;
	}

	.faq__item {
		border-radius: 20px;
	}

	.faq__question {
		padding: 18px 18px;
		font-size: 19px;
	}

	.faq__answer p {
		padding: 0 18px 0;
		font-size: 16px;
	}

	.faq__item.is-open .faq__answer p {
		padding-bottom: 18px;
	}


	.menu-toggle {
		display: flex;
	}

	.nav-menu {
		position: fixed;
		left: -100%;
		top: 85px;
		flex-direction: column;
		background: rgba(18, 18, 18, 0.98);
		width: 100%;
		text-align: center;
		transition: 0.3s;
		padding: 40px 0;
		border-bottom: 1px solid var(--metal-dark);
		gap: 0;
	}

	.nav-menu li {
		margin: 15px 0;
	}

	.nav-menu a {
		display: block;
		padding: 15px 30px;
		font-size: 16px;
	}

	.nav-menu.active {
		left: 0;
	}

	.visual-demo__workflow-row {
		flex-direction: column;
		align-items: flex-start;
	}

	.section-title {
		font-size: 32px;
	}

	.stats-grid {
		grid-template-columns: 1fr;
	}

	.skill-hexagon {
		width: 150px;
		height: 170px;
		margin: 20px 5px;
	}

	.skill-icon-hex {
		font-size: 36px;
	}

	.skill-name-hex {
		font-size: 14px;
	}

	.footer-content {
		grid-template-columns: 1fr;
		padding: 24px 20px;
		text-align: left;
		gap: 26px;
	}

	.footer-bottom {
		text-align: center;
	}

	.footer-logo,
	.footer-cta {
		width: fit-content;
	}

	.nav-menu.legal-nav.active {
		display: flex;
	}
}

@media (max-width: 480px) {
	.gallery-body .nav-container,
	.studio-body .nav-container {
		padding: 14px 14px;
	}

	.gallery-body .nav-menu,
	.studio-body .nav-menu {
		top: calc(72px + env(safe-area-inset-top, 0px));
		max-height: calc(100dvh - 72px - env(safe-area-inset-top, 0px));
	}

	.gallery-body .gallery-page,
	.studio-body .studio-shell {
		padding-top: calc(92px + env(safe-area-inset-top, 0px));
	}

	/* ── Index: ottimizzazioni schermi piccoli (375–480px) ── */

	.nav-container {
		padding: 14px 16px;
	}

	.saas-hero {
		padding: 78px 16px 32px;
	}

	.saas-hero__image-frame {
		min-height: 220px;
	}

	.instant-preview__dropzone,
	.instant-preview__model-frame {
		min-height: 200px;
	}

	.instant-preview__result-frame {
		min-height: 260px;
	}

	.instant-preview__subtitle {
		font-size: 16px;
	}

	.instant-preview {
		padding: 20px 16px 0;
	}

	.instant-preview-section {
		padding: 16px 16px 28px;
	}
}

/* Upload selects: force black text on white background */
#aspectSelect,
#backgroundSelect,
#studioAspect,
#studioProviderSelect,
#studioBackground {
	color: #000;
	background: #fff;
}

/* Prompt suggestions */
.prompt-suggestions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 8px;
}

.prompt-suggestion-btn {
	padding: 8px 10px;
	border-radius: 10px;
	border: 1px solid rgba(212, 175, 55, 0.35);
	background: rgba(255, 255, 255, 0.04);
	color: var(--text-primary);
	cursor: pointer;
	font-size: 12px;
	text-transform: none;
	letter-spacing: 0;
	transition: all 0.2s ease;
}

.prompt-suggestion-btn:hover {
	border-color: var(--accent-purple);
	color: var(--accent-purple);
	box-shadow: 0 0 12px rgba(212, 175, 55, 0.25);
}

.prompt-suggestion-btn.active {
	border-color: rgba(212, 175, 55, 0.6);
	background: rgba(212, 175, 55, 0.08);
	color: var(--text-primary);
	box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

/* Studio layout */
.studio-body {
	background:
		radial-gradient(circle at top left, rgba(212, 175, 55, 0.16), transparent 32%),
		radial-gradient(circle at top right, rgba(255, 255, 255, 0.08), transparent 24%),
		linear-gradient(180deg, #090909 0%, #111111 46%, #0b0b0b 100%);
}

.studio-shell {
	max-width: 1600px;
	margin: 0 auto;
	padding: 96px 24px 28px;
}

.studio-page-header {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	padding: 0 0 10px;
}

.studio-page-header__content {
	display: flex;
	flex-direction: column;
	max-width: 100%;
}

.studio-page-header__title {
	margin: 0;
	display: flex;
	flex-wrap: nowrap;
	align-items: baseline;
	gap: 12px;
	font-size: clamp(1.8rem, 2.8vw, 2.6rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.05;
	color: rgba(255, 248, 232, 0.98);
}

.studio-page-header__subtitle {
	display: inline;
	flex: 0 1 auto;
	font-size: 0.42em;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.35;
	color: rgba(255, 245, 214, 0.72);
	max-width: none;
}

.studio-page-header__eyebrow,
.studio-section-heading__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 10px;
	border-radius: 999px;
	border: 1px solid rgba(212, 175, 55, 0.2);
	background: rgba(212, 175, 55, 0.08);
	color: rgba(255, 245, 214, 0.88);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.studio-section-heading__copy {
	margin: 0;
	color: rgba(255, 255, 255, 0.68);
	font-size: 13px;
	line-height: 1.5;
}

.studio-layout {
	display: grid;
	grid-template-columns: minmax(320px, 0.96fr) minmax(0, 1.52fr);
	align-items: start;
	gap: 22px;
}

.studio-column {
	display: flex;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}

.studio-left {
	grid-column: 1;
}

.studio-main {
	grid-column: 2;
}

.studio-right {
	grid-column: 1 / -1;
	width: 100%;
	align-self: stretch;
}

.studio-panel,
.studio-viewer {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 22px;
	padding: 20px;
	box-shadow:
		0 18px 56px rgba(0, 0, 0, 0.2),
		inset 0 1px 0 rgba(255, 255, 255, 0.04);
	backdrop-filter: blur(18px);
}

.studio-left .studio-panel {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.025));
	border-color: rgba(255, 255, 255, 0.065);
	padding: 18px;
}

.studio-panel-title {
	font-size: 20px;
	font-weight: 800;
	line-height: 1.2;
	margin: 0;
}

.studio-step-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.studio-step-card--upload {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.026));
}

.studio-step-card--choice {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.024));
}

.studio-step-card--style {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.048), rgba(255, 255, 255, 0.022));
}

.studio-step-card--generate {
	background:
		radial-gradient(circle at top, rgba(212, 175, 55, 0.18), transparent 46%),
		linear-gradient(180deg, rgba(212, 175, 55, 0.11), rgba(255, 255, 255, 0.03));
	border-color: rgba(212, 175, 55, 0.22);
	box-shadow:
		0 20px 64px rgba(0, 0, 0, 0.24),
		inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.studio-step-card--advanced {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(255, 255, 255, 0.018));
	border-color: rgba(255, 255, 255, 0.055);
}

.studio-step-head {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.studio-step-index {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(212, 175, 55, 0.12);
	border: 1px solid rgba(212, 175, 55, 0.22);
	color: rgba(255, 244, 216, 0.94);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.studio-step-copy {
	margin: 0;
	color: rgba(255, 255, 255, 0.66);
	font-size: 13px;
	line-height: 1.55;
}

.studio-progress-workflow {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-top: 2px;
}

.studio-progress-steps {
	display: flex;
	flex-wrap: nowrap;
	gap: 8px;
	align-items: stretch;
	overflow-x: auto;
	overflow-y: hidden;
	padding-bottom: 4px;
}

.studio-progress-steps.is-empty {
	display: none;
}

.studio-progress-step {
	position: relative;
	display: flex;
	flex: 0 0 122px;
	width: 122px;
	min-width: 122px;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 10px;
	padding: 11px;
	min-height: 118px;
	border-radius: 18px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
	color: rgba(255, 255, 255, 0.76);
	cursor: pointer;
	opacity: 0.74;
	transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.studio-progress-step__thumb {
	display: block;
	width: 100%;
	aspect-ratio: 1.75 / 1;
	border-radius: 12px;
	border: 1px dashed rgba(212, 175, 55, 0.26);
	background:
		radial-gradient(circle at top, rgba(212, 175, 55, 0.12), transparent 60%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.studio-progress-step__thumb.has-image {
	border-style: solid;
	border-color: rgba(212, 175, 55, 0.38);
}

.studio-progress-step[data-step="style"] .studio-progress-step__thumb.has-image {
	background-size: contain;
	background-position: center center;
	background-color: rgba(255, 255, 255, 0.03);
}

.studio-progress-step[data-step="background"] .studio-progress-step__thumb.has-image {
	background-size: contain;
	background-position: center center;
	background-color: rgba(255, 255, 255, 0.03);
}

.studio-progress-step__thumb.has-icon {
	border-style: solid;
	border-color: rgba(212, 175, 55, 0.34);
	background-size: 56%;
}

.studio-progress-step[data-step="garment"] .studio-progress-step__thumb.has-icon {
	background:
		radial-gradient(circle at top, rgba(212, 175, 55, 0.16), transparent 65%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
	background-color: #000;
	-webkit-mask-position: center center;
	mask-position: center center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: 62%;
	mask-size: 62%;
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.08),
		0 0 18px rgba(212, 175, 55, 0.18);
}

.studio-progress-step__label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 28px;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.2;
	white-space: normal;
	word-break: break-word;
	text-align: left;
}

.studio-progress-step__status {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 18px;
	height: 18px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.04);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
	opacity: 0;
	transform: scale(0.92);
	transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.studio-progress-step__status::before {
	content: "";
	position: absolute;
	top: 4px;
	left: 5px;
	width: 6px;
	height: 3px;
	border-left: 2px solid rgba(16, 20, 16, 0.95);
	border-bottom: 2px solid rgba(16, 20, 16, 0.95);
	transform: rotate(-45deg);
	opacity: 0;
}

.studio-progress-step[hidden] {
	display: none;
}

.studio-progress-step:hover:not(.is-locked) {
	border-color: rgba(212, 175, 55, 0.32);
	background: rgba(255, 255, 255, 0.055);
	transform: translateY(-1px);
	opacity: 0.96;
}

.studio-progress-step.is-active {
	border-color: rgba(212, 175, 55, 0.5);
	background:
		radial-gradient(circle at top, rgba(212, 175, 55, 0.16), transparent 62%),
		linear-gradient(180deg, rgba(212, 175, 55, 0.12), rgba(255, 255, 255, 0.04));
	color: rgba(255, 244, 216, 0.96);
	opacity: 1;
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(212, 175, 55, 0.12) inset;
}

.studio-progress-step.is-active .studio-progress-step__thumb {
	border-color: rgba(212, 175, 55, 0.56);
	background:
		radial-gradient(circle at top, rgba(212, 175, 55, 0.22), transparent 62%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}

.studio-progress-step.is-active .studio-progress-step__label {
	color: rgba(255, 248, 232, 0.98);
}

.studio-progress-step.is-complete {
	border-color: rgba(162, 214, 171, 0.34);
	background: linear-gradient(180deg, rgba(162, 214, 171, 0.12), rgba(255, 255, 255, 0.03));
	color: rgba(232, 245, 235, 0.88);
	opacity: 0.92;
}

.studio-progress-step.is-complete .studio-progress-step__thumb {
	border-style: solid;
	border-color: rgba(162, 214, 171, 0.36);
}

.studio-progress-step.is-complete .studio-progress-step__status {
	opacity: 1;
	transform: scale(1);
	border-color: rgba(162, 214, 171, 0.38);
	background: rgba(162, 214, 171, 0.88);
}

.studio-progress-step.is-ready .studio-progress-step__status {
	opacity: 1;
	transform: scale(1);
	border-color: rgba(162, 214, 171, 0.38);
	background: rgba(162, 214, 171, 0.88);
}

.studio-progress-step.is-complete .studio-progress-step__status::before {
	opacity: 1;
}

.studio-progress-step.is-ready .studio-progress-step__status::before {
	opacity: 1;
}

.studio-progress-step.is-locked {
	border-color: rgba(255, 255, 255, 0.05);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.016));
	color: rgba(255, 255, 255, 0.42);
	cursor: not-allowed;
	opacity: 0.5;
}

.studio-progress-step.is-locked .studio-progress-step__thumb {
	border-color: rgba(255, 255, 255, 0.08);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.012));
}

.studio-progress-content {
	min-height: 240px;
	padding: 18px;
	border-radius: 20px;
	border: 1px solid rgba(255, 255, 255, 0.06);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.026), rgba(255, 255, 255, 0.012));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
	overflow: visible;
}

.studio-progress-panel {
	display: none;
	min-width: 0;
	position: relative;
}

.studio-progress-panel.is-active {
	display: block;
}

.studio-progress-panel-head {
	display: flex;
	flex-direction: column;
	gap: 5px;
	margin-bottom: 14px;
	padding-right: 270px;
}

.studio-progress-panel-title {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
	color: rgba(255, 248, 232, 0.96);
}

.studio-progress-panel-helper {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.45;
	color: rgba(255, 245, 214, 0.68);
	max-width: 540px;
}

.studio-progress-panel-actions {
	display: flex;
	align-items: center;
	gap: 10px;
	justify-content: flex-end;
	padding-top: 0;
	margin-top: 0;
	border-top: 0;
	position: absolute;
	top: 0;
	right: 0;
}

.studio-progress-aspect-mini {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	min-width: 72px;
	max-width: 72px;
	padding: 8px 24px 8px 8px;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
	color: rgba(255, 245, 214, 0.82);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
}

.studio-progress-aspect-mini:hover {
	border-color: rgba(212, 175, 55, 0.4);
	background: linear-gradient(180deg, rgba(212, 175, 55, 0.1), rgba(255, 255, 255, 0.03));
}

.studio-progress-provider-mini {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 96px;
	min-width: 96px;
	max-width: 96px;
	padding: 8px 24px 8px 8px;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
	color: rgba(255, 245, 214, 0.82);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
}

.studio-progress-provider-mini:hover {
	border-color: rgba(212, 175, 55, 0.4);
	background: linear-gradient(180deg, rgba(212, 175, 55, 0.1), rgba(255, 255, 255, 0.03));
}

.studio-progress-resolution-mini {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	min-width: 72px;
	max-width: 72px;
	padding: 8px 24px 8px 8px;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
	color: rgba(255, 245, 214, 0.82);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
}

.studio-progress-resolution-mini:hover {
	border-color: rgba(212, 175, 55, 0.4);
	background: linear-gradient(180deg, rgba(212, 175, 55, 0.1), rgba(255, 255, 255, 0.03));
}

.studio-progress-confirm {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 16px;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
	color: rgba(255, 245, 214, 0.88);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
	transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.studio-progress-confirm::after {
	content: ">";
	font-size: 11px;
	opacity: 0.72;
}

.studio-progress-confirm:disabled {
	border-color: rgba(255, 255, 255, 0.08);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02));
	color: rgba(255, 245, 214, 0.42);
	box-shadow: none;
	cursor: not-allowed;
	transform: none;
}

.studio-progress-confirm:disabled::after {
	opacity: 0.35;
}

.studio-progress-confirm.is-ready {
	border-color: rgba(212, 175, 55, 0.42);
	background: linear-gradient(180deg, rgba(212, 175, 55, 0.14), rgba(255, 255, 255, 0.04));
	color: rgba(255, 248, 232, 0.96);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.07);
	animation: studioConfirmPulse 1.8s ease-in-out infinite;
}

.studio-progress-confirm:hover {
	border-color: rgba(212, 175, 55, 0.28);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.04));
	transform: translateY(-1px);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.studio-progress-confirm:disabled:hover {
	border-color: rgba(255, 255, 255, 0.08);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.02));
	box-shadow: none;
}

@keyframes studioConfirmPulse {
	0%,
	100% {
		border-color: rgba(212, 175, 55, 0.36);
		background: linear-gradient(180deg, rgba(212, 175, 55, 0.16), rgba(255, 255, 255, 0.04));
		box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12), 0 0 0 rgba(212, 175, 55, 0);
		transform: translateY(0);
	}
	50% {
		border-color: rgba(212, 175, 55, 0.68);
		background: linear-gradient(180deg, rgba(212, 175, 55, 0.3), rgba(212, 175, 55, 0.12));
		box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16), 0 0 24px rgba(212, 175, 55, 0.28);
		transform: translateY(-1px);
	}
}

.studio-progress-panel[data-step-panel="model"] .studio-ready {
	margin-top: 0;
}

.studio-progress-panel[data-step-panel="model"] .studio-ready-grid {
	padding-bottom: 6px;
}

.studio-progress-control-wrap,
.studio-progress-background,
.studio-progress-generate {
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-width: 0;
}

.studio-progress-dress-options {
	display: flex;
	flex-wrap: nowrap;
	gap: 8px;
	overflow-x: auto;
	overflow-y: hidden;
	padding-bottom: 4px;
}

.studio-progress-dress-options .dress-type-btn {
	padding: 10px 10px;
	width: 112px;
	min-width: 112px;
	flex: 0 0 112px;
	white-space: nowrap;
}

.studio-progress-style-options {
	display: flex;
	flex-wrap: nowrap;
	gap: 8px;
	overflow-x: auto;
	overflow-y: hidden;
	padding-bottom: 4px;
}

.style-type-btn.style-locked {
	opacity: 0.35;
	filter: grayscale(40%);
	cursor: pointer;
}

.studio-progress-style-options .style-type-btn {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	gap: 6px;
	padding: 8px;
	min-width: 120px;
	flex: 0 0 120px;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.04);
	color: var(--text-primary);
	cursor: pointer;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.studio-progress-style-options .style-type-btn img {
	width: 100%;
	aspect-ratio: 4 / 3;
	height: auto;
	object-fit: cover;
	border-radius: 8px;
	display: block;
}

#studioProgressBackgroundOptions .style-type-btn img {
	aspect-ratio: 16 / 10;
	object-fit: contain;
	background: rgba(0, 0, 0, 0.18);
}

.studio-progress-style-options .style-type-btn__label {
	display: block;
	font-size: 12px;
	color: var(--text-primary);
	letter-spacing: 0.5px;
	text-align: center;
}

.studio-progress-style-options .style-type-btn__description {
	display: block;
	font-size: 10px;
	line-height: 1.35;
	color: var(--text-secondary);
	text-align: center;
	min-height: 28px;
}

.studio-progress-style-options .style-type-btn__fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 4 / 3;
	border-radius: 8px;
	background:
		radial-gradient(circle at top, rgba(212, 175, 55, 0.2), transparent 62%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
	color: rgba(255, 244, 216, 0.96);
	font-size: 28px;
	font-weight: 700;
}

.studio-progress-style-options .style-type-btn:hover {
	border-color: rgba(212, 175, 55, 0.6);
	box-shadow: 0 0 10px rgba(212, 175, 55, 0.15);
	transform: translateY(-1px);
}

.studio-progress-style-options .style-type-btn.active {
	border-color: rgba(212, 175, 55, 0.42);
	box-shadow: 0 0 10px rgba(212, 175, 55, 0.16);
	background: rgba(212, 175, 55, 0.08);
}

.studio-progress-aspect-options {
	display: flex;
	flex-wrap: nowrap;
	gap: 8px;
	overflow-x: auto;
	overflow-y: hidden;
	padding-bottom: 4px;
}

.studio-progress-aspect-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 12px;
	min-width: 74px;
	flex: 0 0 74px;
	white-space: nowrap;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.04);
	color: var(--text-primary);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.05em;
	cursor: pointer;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.studio-progress-aspect-btn:hover {
	border-color: rgba(212, 175, 55, 0.6);
	box-shadow: 0 0 10px rgba(212, 175, 55, 0.15);
	transform: translateY(-1px);
}

.studio-progress-aspect-btn.active {
	border-color: rgba(212, 175, 55, 0.42);
	box-shadow: 0 0 10px rgba(212, 175, 55, 0.16);
	background: rgba(212, 175, 55, 0.08);
}

.studio-progress-suggestions {
	margin-top: 2px;
	flex-wrap: wrap;
}

.studio-progress-field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.studio-progress-field span {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--text-secondary);
}

.studio-progress-field select,
.studio-progress-field textarea {
	width: 100%;
	padding: 11px 13px;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.04);
	color: var(--text-primary);
}

.studio-progress-field textarea {
	min-height: 88px;
	height: 88px;
	overflow-y: hidden;
	resize: none;
}

.studio-progress-generate {
	align-items: flex-start;
	justify-content: flex-start;
	min-height: 0;
}

.studio-progress-generate-copy {
	margin: 0;
	max-width: 320px;
	color: rgba(255, 255, 255, 0.62);
	font-size: 13px;
	line-height: 1.55;
}

.studio-progress-generate .upload-action {
	min-width: 170px;
}

.studio-advanced-tool-trigger {
	display: grid;
	grid-template-columns: minmax(128px, 154px) minmax(0, 1fr);
	gap: 14px;
	align-items: center;
	padding: 14px;
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 18px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.028), rgba(255, 255, 255, 0.014));
}

.studio-advanced-tool-copy h4 {
	margin: 0 0 6px;
	font-size: 14px;
	font-weight: 800;
}

.studio-advanced-tool-copy p {
	margin: 0;
	font-size: 12px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.56);
}

.studio-section-heading {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 18px;
}

.studio-upload-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 12px;
}

.studio-main {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.studio-viewer {
	min-height: 70vh;
	display: flex;
	flex-direction: column;
	position: relative;
	padding: 24px;
	gap: 16px;
	box-shadow:
		0 26px 90px rgba(0, 0, 0, 0.26),
		inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.studio-viewer-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding-right: 456px;
}

.studio-viewer-head__copy {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 10px;
}

.studio-viewer-head__title {
	margin: 0;
	font-size: 1.08rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: rgba(255, 248, 232, 0.96);
}

.studio-viewer-head__subtitle {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.35;
	color: rgba(255, 245, 214, 0.62);
}

.studio-viewer-status {
	display: none;
	align-items: center;
	gap: 8px;
	padding: 7px 11px;
	border-radius: 999px;
	border: 1px solid rgba(162, 214, 171, 0.28);
	background: rgba(162, 214, 171, 0.1);
	color: rgba(229, 245, 231, 0.9);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	white-space: nowrap;
	position: absolute;
	top: 62px;
	right: 24px;
}

.studio-viewer-status::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 999px;
	background: rgba(162, 214, 171, 0.9);
	box-shadow: 0 0 12px rgba(162, 214, 171, 0.28);
}

.studio-viewer-body {
	position: relative;
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	background:
		radial-gradient(circle at top, rgba(212, 175, 55, 0.09), transparent 38%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.16));
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 18px;
	padding: 18px;
	min-height: 560px;
	overflow: hidden;
}

.studio-viewer-body img {
	position: relative;
	z-index: 1;
	display: none;
	max-width: 100%;
	max-height: 68vh;
	object-fit: contain;
}

.studio-viewer-body img[src]:not([src=""]) {
	display: block;
}

.studio-viewer-empty {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 48px 28px 28px;
	text-align: center;
	color: rgba(255, 245, 214, 0.76);
	z-index: 0;
}

.studio-viewer-empty__title {
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: rgba(255, 248, 232, 0.94);
}

.studio-viewer-empty__subtitle {
	margin: 0;
	max-width: 320px;
	font-size: 0.95rem;
	line-height: 1.55;
	color: rgba(255, 245, 214, 0.66);
}

.studio-viewer-body img[src]:not([src=""]) + .studio-viewer-empty {
	display: none;
}

.studio-actions {
	display: block;
	margin-top: 0;
	position: absolute;
	top: 14px;
	right: 24px;
	z-index: 3;
}

.studio-actions-group {
	display: flex;
	flex-direction: column;
	gap: 0;
	padding: 0;
	border-radius: 0;
	border: 0;
	background: transparent;
}

.studio-actions-group--primary {
	border-color: rgba(212, 175, 55, 0.16);
	background: linear-gradient(180deg, rgba(212, 175, 55, 0.08), rgba(255, 255, 255, 0.025));
}

.studio-actions-group__label {
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 245, 214, 0.52);
}

.studio-actions-group__buttons {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
	overflow-x: auto;
	max-width: min(100%, 420px);
}

.studio-actions .image-viewer-btn {
	flex: 0 0 auto;
	min-height: 38px;
	padding-top: 9px;
	padding-bottom: 9px;
	border-radius: 12px;
	font-size: 12px;
}

.studio-actions .image-viewer-btn:hover {
	color: rgba(255, 248, 232, 0.96);
}

.image-viewer-btn--save {
	border-color: rgba(212, 175, 55, 0.34);
	background: linear-gradient(180deg, rgba(212, 175, 55, 0.18), rgba(212, 175, 55, 0.08));
	color: rgba(255, 248, 232, 0.96);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.image-viewer-btn--save:hover {
	border-color: rgba(212, 175, 55, 0.48);
	background: linear-gradient(180deg, rgba(212, 175, 55, 0.22), rgba(212, 175, 55, 0.1));
}

.image-viewer-btn--download {
	border-color: rgba(255, 255, 255, 0.16);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035));
	color: rgba(255, 245, 214, 0.92);
}

.image-viewer-btn--download:hover {
	border-color: rgba(212, 175, 55, 0.3);
}

.image-viewer-btn--enhance {
	border-color: rgba(255, 255, 255, 0.12);
	background: rgba(255, 255, 255, 0.055);
	color: rgba(255, 245, 214, 0.86);
}

.image-viewer-btn--utility {
	border-color: rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.03);
	color: rgba(255, 255, 255, 0.72);
}

.studio-viewer:has(.studio-viewer-body img[src]:not([src=""])) .studio-viewer-status {
	display: inline-flex;
}

.studio-recent-panel .studio-panel {
	width: 100%;
	height: 100%;
	position: relative;
	padding: 14px 16px 12px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.018));
	border-color: rgba(255, 255, 255, 0.05);
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
	overflow: hidden;
}

.studio-recent-panel .studio-recent-list {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	overflow-y: hidden;
	padding: 2px 28px 8px 2px;
	scrollbar-width: thin;
	scrollbar-color: rgba(212, 175, 55, 0.28) transparent;
}

.studio-recent-panel .studio-panel-title {
	font-size: 16px;
	margin-bottom: 10px;
	color: rgba(255, 255, 255, 0.82);
}

.studio-recent-panel .studio-panel::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 42px;
	background: linear-gradient(270deg, rgba(12, 12, 12, 0.92), rgba(12, 12, 12, 0));
	pointer-events: none;
}

.studio-recent-panel .studio-panel::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 24px;
	background: linear-gradient(90deg, rgba(12, 12, 12, 0.55), rgba(12, 12, 12, 0));
	pointer-events: none;
	opacity: 0.65;
}

.studio-recent-panel .studio-recent-list::-webkit-scrollbar {
	height: 8px;
}

.studio-recent-panel .studio-recent-list::-webkit-scrollbar-track {
	background: transparent;
}

.studio-recent-panel .studio-recent-list::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.12);
	border-radius: 999px;
}

.studio-step-settings {
	padding: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
	backdrop-filter: none;
}

.studio-advanced-settings {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 12px;
	padding-top: 10px;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.studio-advanced-settings__toggle {
	width: 100%;
	display: grid;
	grid-template-columns: 1fr auto auto;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	border-radius: 18px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
	color: var(--text-primary);
	cursor: pointer;
	text-align: left;
	transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.studio-advanced-settings__toggle:hover {
	border-color: rgba(212, 175, 55, 0.28);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
	transform: translateY(-1px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
}

.studio-advanced-settings__toggle[aria-expanded="true"] {
	border-color: rgba(212, 175, 55, 0.34);
	background: linear-gradient(180deg, rgba(212, 175, 55, 0.08), rgba(255, 255, 255, 0.03));
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.studio-advanced-settings__copy {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.studio-advanced-settings__label {
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.01em;
}

.studio-advanced-settings__hint {
	color: rgba(255, 255, 255, 0.52);
	font-size: 11px;
	letter-spacing: 0.02em;
	line-height: 1.45;
}

.studio-advanced-settings__state {
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.46);
}

.studio-advanced-settings__icon {
	width: 28px;
	height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.04);
	transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.studio-advanced-settings__icon::before {
	content: "";
	width: 8px;
	height: 8px;
	display: block;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translate(-1px, -1px);
}

.studio-advanced-settings__toggle[aria-expanded="true"] .studio-advanced-settings__icon {
	border-color: rgba(212, 175, 55, 0.28);
	background: rgba(212, 175, 55, 0.12);
	transform: rotate(180deg);
}

.studio-advanced-settings__toggle[aria-expanded="true"] .studio-advanced-settings__state {
	color: rgba(212, 175, 55, 0.85);
}

.studio-advanced-settings__body {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 16px;
	border-radius: 20px;
	border: 1px solid rgba(255, 255, 255, 0.05);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.022), rgba(255, 255, 255, 0.012));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.studio-advanced-settings__intro {
	padding: 0 2px;
}

.studio-advanced-settings__intro p {
	margin: 0;
	font-size: 12px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.5);
}

.studio-advanced-settings__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 16px;
}

.studio-advanced-settings__body .settings-group {
	display: flex;
	flex-direction: column;
	gap: 9px;
	padding: 0;
}

.studio-advanced-settings__body .prompt-group {
	grid-column: 1 / -1;
}

.studio-advanced-settings__body .settings-group label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.58);
}

.studio-advanced-settings__body select,
.studio-advanced-settings__body textarea {
	width: 100%;
	padding: 11px 13px;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, 0.07);
	background: rgba(255, 255, 255, 0.03);
	color: var(--text-primary);
}

.studio-advanced-settings__body .prompt-group textarea {
	min-height: 88px;
	resize: vertical;
}

.studio-advanced-settings__body .studio-inline-suggestions {
	margin-top: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.studio-advanced-settings__extras {
	padding-top: 4px;
	border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.studio-recent-item {
	flex: 0 0 168px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 14px;
	overflow: hidden;
	cursor: pointer;
	background: rgba(255, 255, 255, 0.03);
	transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.studio-recent-thumb {
	position: relative;
	width: 100%;
	padding-top: 118%;
	background: rgba(0, 0, 0, 0.2);
}

.studio-recent-thumb.is-loading {
	background:
		linear-gradient(110deg, rgba(255, 255, 255, 0.035) 8%, rgba(255, 255, 255, 0.11) 18%, rgba(255, 255, 255, 0.035) 33%),
		rgba(0, 0, 0, 0.22);
	background-size: 220% 100%;
	animation: studioRecentShimmer 1.3s linear infinite;
}

.studio-recent-thumb img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	opacity: 1;
	transition: opacity 0.22s ease;
}

.studio-recent-thumb.is-loading img {
	opacity: 0;
}

.studio-recent-item:hover {
	transform: translateY(-2px);
	border-color: var(--accent-purple);
	background: rgba(255, 255, 255, 0.045);
}

.studio-recent-actions {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	padding: 6px 8px 8px;
}

.studio-recent-btn {
	width: 32px;
	height: 32px;
	border-radius: 8px;
	border: 1px solid rgba(212, 175, 55, 0.3);
	background: rgba(255, 255, 255, 0.04);
	color: var(--text-primary);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all 0.2s ease;
}

.studio-recent-btn.ghost {
	border-color: rgba(220, 80, 80, 0.6);
	color: #f3bbbb;
}

.studio-recent-btn:hover {
	border-color: var(--accent-purple);
	color: var(--accent-purple);
	box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.studio-recent-btn.ghost:hover {
	border-color: #ff9c9c;
	color: #ffb3b3;
}

.studio-recent-empty {
	text-align: center;
	color: var(--text-secondary);
	font-size: 13px;
	padding: 12px 6px;
}

@keyframes studioRecentShimmer {
	0% {
		background-position: 200% 0;
	}
	100% {
		background-position: -200% 0;
	}
}

.studio-ready {
	margin-top: 2px;
}

.studio-ready-grid {
	display: flex;
	flex-wrap: nowrap;
	gap: 8px;
	overflow-x: auto;
	overflow-y: hidden;
	padding: 2px 2px 8px;
	scrollbar-width: thin;
	scrollbar-color: rgba(212, 175, 55, 0.28) transparent;
	scroll-behavior: smooth;
}

.studio-ready-card {
	flex: 0 0 auto;
	width: 120px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 14px;
	padding: 8px;
	text-align: center;
	background: rgba(255, 255, 255, 0.04);
	cursor: pointer;
	transition: all 0.2s ease;
	display: flex;
	flex-direction: column;
}

.studio-ready-grid::-webkit-scrollbar {
	height: 6px;
}

.studio-ready-grid::-webkit-scrollbar-track {
	background: transparent;
}

.studio-ready-grid::-webkit-scrollbar-thumb {
	background: rgba(212, 175, 55, 0.24);
	border-radius: 999px;
}

.studio-ready-card img {
	width: 100%;
	aspect-ratio: 3 / 4;
	height: auto;
	object-fit: cover;
	border-radius: 8px;
	display: block;
	margin-bottom: 6px;
	flex: 1;
}

.studio-ready-name {
	font-size: 12px;
	color: var(--text-primary);
	letter-spacing: 0.5px;
}

.studio-ready-card:hover {
	border-color: var(--accent-purple);
	box-shadow: 0 0 12px rgba(212, 175, 55, 0.25);
}

.studio-ready-card.active {
	border-color: rgba(212, 175, 55, 0.6);
	box-shadow: 0 0 16px rgba(212, 175, 55, 0.35);
}

.studio-generate-card {
	border-style: dashed;
	border-color: rgba(212, 175, 55, 0.3);
	background:
		radial-gradient(circle at top, rgba(212, 175, 55, 0.14), transparent 60%),
		rgba(255, 255, 255, 0.03);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.studio-generate-card .studio-ready-name {
	color: rgba(255, 244, 216, 0.96);
	font-weight: 700;
}

.studio-generate-card:hover {
	transform: translateY(-2px);
	border-color: rgba(212, 175, 55, 0.52);
	box-shadow:
		0 0 0 1px rgba(212, 175, 55, 0.16),
		0 16px 28px rgba(212, 175, 55, 0.12);
}

.studio-generate-thumb {
	position: relative;
	width: 100%;
	aspect-ratio: 3 / 4;
	border: 1px dashed rgba(255, 255, 255, 0.12);
	border-radius: 14px;
	background: rgba(0, 0, 0, 0.15);
	margin-bottom: 6px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}


.studio-generate-thumb svg {
	width: 100%;
	height: 100%;
}

.studio-model-builder {
	padding: 18px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	display: flex;
	flex-direction: column;
	gap: 0;
	width: 100%;
	height: 100%;
}

.studio-modal {
	position: fixed;
	inset: 0;
	z-index: 1200;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

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

.studio-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(7, 7, 9, 0.72);
	backdrop-filter: blur(10px);
}

.studio-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(1120px, 100%);
	max-height: 90vh;
	overflow: hidden;
	display: flex;
	border-radius: 24px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background:
		radial-gradient(circle at top, rgba(212, 175, 55, 0.08), transparent 38%),
		linear-gradient(180deg, rgba(10, 10, 12, 0.96), rgba(20, 20, 24, 0.98));
	box-shadow:
		0 30px 90px rgba(0, 0, 0, 0.42),
		inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.studio-modal__dialog::-webkit-scrollbar {
	width: 8px;
}

.studio-modal__dialog::-webkit-scrollbar-thumb {
	background: rgba(212, 175, 55, 0.24);
	border-radius: 999px;
}

body.studio-modal-open {
	overflow: hidden;
}

.model-builder-layout {
	display: grid;
	grid-template-columns: minmax(340px, 420px) minmax(0, 1fr);
	gap: 18px;
	align-items: stretch;
	height: 100%;
	min-height: 0;
}

.model-builder-controls {
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-width: 0;
}

.model-builder-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 4px 2px 0;
}

.model-builder-eyebrow {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--text-secondary);
	margin-bottom: 4px;
}

.model-builder-title {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
}

.model-builder-close {
	border: 1px solid var(--metal-dark);
	background: rgba(255, 255, 255, 0.04);
	color: var(--text-primary);
	width: 32px;
	height: 32px;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.2s ease;
}

.model-builder-close:hover {
	border-color: var(--accent-purple);
	color: var(--accent-purple);
}

.model-builder-section {
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 16px;
	padding: 14px;
	background: rgba(255, 255, 255, 0.025);
}

.model-builder-label {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 8px;
	color: var(--text-secondary);
}

.model-builder-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 10px;
}

.model-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 12px;
	color: var(--text-secondary);
}

.model-field select {
	width: 100%;
	padding: 12px;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background-color: #1a1a1a;
	color: #ffffff;
	font-size: 13px;
}

.model-field select option,
select option {
	background-color: #1a1a1a;
	color: #ffffff;
}

.model-field select option:hover,
.model-field select option:checked,
select option:hover,
select option:checked {
	background-color: #2a2a2a;
	color: #ffffff;
}

.model-advanced-body {
	display: block;
}

.model-builder-footer {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 12px;
	padding-top: 4px;
}

.model-builder-preview {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
	height: 100%;
	min-height: 0;
	padding: 16px;
	border-radius: 22px;
	border: 1px solid rgba(255, 255, 255, 0.06);
	background:
		radial-gradient(circle at top, rgba(212, 175, 55, 0.1), transparent 42%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.012));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.model-builder-preview__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.model-builder-preview__eyebrow {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.08);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.72);
}

.model-builder-preview__canvas {
	position: relative;
	flex: 1;
	min-height: 0;
	max-height: 60vh;
	border-radius: 18px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background:
		radial-gradient(circle at top, rgba(212, 175, 55, 0.08), transparent 36%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.18));
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.model-builder-preview__canvas img {
	max-height: 100%;
	max-width: 100%;
	object-fit: contain;
	display: block;
}

.model-builder-preview__result {
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: center;
	padding-top: 6px;
	animation: fadeUpIn 0.28s ease;
	flex-shrink: 0;
}

.model-builder-preview__status {
	display: inline-flex;
	align-items: center;
	padding: 7px 12px;
	border-radius: 999px;
	background: rgba(212, 175, 55, 0.12);
	border: 1px solid rgba(212, 175, 55, 0.28);
	color: rgba(255, 244, 216, 0.94);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.model-builder-preview__actions {
	width: 100%;
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex-shrink: 0;
}

.model-builder-use-btn {
	width: 100%;
	min-height: 52px;
	padding: 14px 22px;
	border-radius: 16px;
	font-size: 15px;
	font-weight: 800;
}

.model-builder-regenerate-btn {
	width: 100%;
	min-height: 52px;
	border-radius: 16px;
}

@keyframes fadeUpIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.studio-model-thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.studio-inline-suggestions {
	margin-top: 6px;
}

#studioLoader {
	display: none;
}

#studioLoader.active {
	display: flex;
	align-items: center;
	justify-content: center;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.8);
	z-index: 14000;
}

.studio-upload-thumb {
	max-width: 140px;
	max-height: 140px;
	object-fit: contain;
	display: block;
	margin: 0 auto;
}

.studio-gen-placeholder {
	position: relative;
	width: 100%;
	padding-top: 100%; /* 1:1 */
	border: 1px dashed var(--metal-dark);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.03);
}

.studio-settings {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 210px;
	gap: 14px;
	align-items: end;
}

.studio-credit {
	padding: 8px 12px;
	border-radius: 999px;
	border: 1px solid rgba(212, 175, 55, 0.35);
	background: rgba(212, 175, 55, 0.12);
	color: var(--text-primary);
	font-weight: 700;
	font-size: 13px;
	box-shadow: 0 0 12px rgba(212, 175, 55, 0.18);
	transition: border-color 0.3s, background 0.3s, color 0.3s;
}
.studio-credit.is-low {
	border-color: rgba(255, 160, 50, 0.6);
	background: rgba(255, 140, 0, 0.15);
	color: #ffa032;
	box-shadow: 0 0 12px rgba(255, 140, 0, 0.25);
}
.studio-credit.is-critical {
	border-color: rgba(255, 80, 80, 0.6);
	background: rgba(255, 60, 60, 0.15);
	color: #ff6060;
	box-shadow: 0 0 12px rgba(255, 80, 80, 0.3);
}

.studio-settings .settings-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 100px;
	flex: 0 0 120px;
}

.studio-settings .settings-group.wide,
.studio-settings .settings-group.prompt-group {
	grid-column: 1;
}

.studio-settings .settings-group:not(.wide):not(.prompt-group) {
	grid-column: 2;
}

.studio-settings .settings-group.action-group {
	align-self: end;
}

@media (max-width: 900px) {
	.studio-progress-content {
		min-height: 0;
	}

	.studio-progress-generate {
		min-height: 0;
	}

	.studio-settings {
		grid-template-columns: 1fr;
	}

	.studio-settings .settings-group {
		grid-column: auto;
	}

	.studio-advanced-settings__grid {
		grid-template-columns: 1fr;
	}

	.studio-advanced-tool-trigger {
		grid-template-columns: 1fr;
	}

	.studio-modal {
		padding: 16px;
	}

	.studio-modal__dialog {
		width: 100%;
		max-height: calc(100vh - 32px);
		border-radius: 20px;
	}

	.model-builder-layout {
		grid-template-columns: 1fr;
	}

	.model-builder-preview__canvas {
		min-height: 420px;
	}
}

@media (max-width: 640px) {
	.studio-progress-steps {
		gap: 6px;
	}

	.studio-progress-step {
		flex: 0 0 102px;
		width: 102px;
		min-width: 102px;
		min-height: 104px;
		padding: 9px;
		border-radius: 16px;
	}

	.studio-progress-step__label {
		font-size: 9px;
	}

	.studio-progress-content {
		padding: 14px;
	}

	.studio-progress-panel-head {
		padding-right: 0;
	}

	.studio-progress-panel-actions {
		justify-content: stretch;
		position: static;
		top: auto;
		right: auto;
		padding-top: 14px;
		margin-top: 18px;
		border-top: 1px solid rgba(255, 255, 255, 0.06);
	}

	.studio-progress-confirm {
		width: 100%;
	}

	.studio-progress-style-options {
		flex-wrap: nowrap;
		overflow-x: auto;
		overflow-y: hidden;
		padding-bottom: 4px;
	}

	.studio-progress-style-options .style-type-btn {
		flex: 0 0 120px;
	}

	.studio-modal {
		padding: calc(80px + env(safe-area-inset-top, 0px)) 12px 12px;
		align-items: flex-end;
	}

	.studio-modal__dialog {
		max-height: calc(100vh - 80px - env(safe-area-inset-top, 0px) - 24px);
		border-radius: 18px;
	}

	.model-builder-preview {
		padding: 14px;
		border-radius: 18px;
	}

	.model-builder-preview__canvas {
		min-height: 320px;
	}

	.studio-advanced-settings__toggle {
		grid-template-columns: 1fr auto;
		padding: 13px 14px;
	}

	.studio-advanced-settings__state {
		grid-column: 1 / 2;
	}

	.studio-advanced-settings__icon {
		grid-column: 2 / 3;
		grid-row: 1 / span 2;
	}

	.studio-advanced-settings__body {
		padding: 14px;
		border-radius: 18px;
	}
}

.studio-settings {
	display: flex;
	flex-direction: column;
	gap: 14px;
	width: 100%;
	min-width: 0;
	overflow: visible;
}

.studio-settings .settings-group {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
	width: 100%;
	flex: 1 1 auto;
}

.studio-settings .settings-group.wide,
.studio-settings .prompt-group {
	flex: 1 1 auto;
}

.studio-settings .settings-group label {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--text-secondary);
	margin-bottom: 2px;
}

.studio-settings select,
.studio-settings textarea {
	width: 100%;
	padding: 11px 13px;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.04);
	color: var(--text-primary);
}

.studio-settings textarea {
	min-height: 60px;
}

.studio-settings .dress-type-options {
	display: flex;
	flex-wrap: nowrap;
	gap: 8px;
	overflow-x: auto;
	overflow-y: hidden;
	padding-bottom: 4px;
}

.studio-settings .dress-type-options .dress-type-btn {
	padding: 10px 10px;
	width: 112px;
	min-width: 112px;
	flex: 0 0 112px;
	white-space: nowrap;
}

.studio-settings .style-type-options {
	display: flex;
	flex-wrap: nowrap;
	gap: 8px;
	overflow-x: auto;
	overflow-y: hidden;
	padding-bottom: 4px;
	margin-top: 8px;
}

.studio-settings .style-type-options .style-type-btn {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	gap: 6px;
	padding: 8px;
	min-width: 120px;
	flex: 0 0 120px;
	border-radius: 14px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	background: rgba(255, 255, 255, 0.04);
	color: var(--text-primary);
	cursor: pointer;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.studio-settings .style-type-options .style-type-btn img {
	width: 100%;
	aspect-ratio: 4 / 3;
	height: auto;
	object-fit: cover;
	border-radius: 8px;
	display: block;
}

.studio-settings .style-type-options .style-type-btn__label {
	display: block;
	font-size: 12px;
	color: var(--text-primary);
	letter-spacing: 0.5px;
	text-align: center;
}

.studio-settings .style-type-options .style-type-btn__description {
	display: block;
	font-size: 10px;
	line-height: 1.35;
	color: var(--text-secondary);
	text-align: center;
	min-height: 28px;
}

.studio-settings .style-type-options .style-type-btn__fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 4 / 3;
	border-radius: 8px;
	background:
		radial-gradient(circle at top, rgba(212, 175, 55, 0.2), transparent 62%),
		linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
	color: rgba(255, 244, 216, 0.96);
	font-size: 28px;
	font-weight: 700;
}

.studio-settings .style-type-options .style-type-btn.active {
	border-color: rgba(212, 175, 55, 0.42);
	box-shadow: 0 0 10px rgba(212, 175, 55, 0.16);
	background: rgba(212, 175, 55, 0.08);
}

.studio-settings .style-type-options .style-type-btn:hover {
	border-color: rgba(212, 175, 55, 0.6);
	box-shadow: 0 0 10px rgba(212, 175, 55, 0.15);
	transform: translateY(-1px);
}

.studio-settings .upload-action {
	align-self: flex-start;
	padding: 12px 20px;
}

@media (max-width: 640px) {
	.studio-settings .style-type-options {
		flex-wrap: nowrap;
		overflow-x: auto;
		overflow-y: hidden;
		padding-bottom: 4px;
	}

	.studio-settings .style-type-options .style-type-btn {
		flex: 0 0 120px;
	}
}

.studio-generate-cta {
	display: flex;
	justify-content: center;
	padding-top: 2px;
}

.studio-step-card--generate .upload-action {
	width: 100%;
	min-height: 56px;
	padding: 16px 22px;
	border-radius: 16px;
	font-size: 16px;
	font-weight: 800;
	letter-spacing: 0.02em;
	box-shadow:
		0 18px 30px rgba(212, 175, 55, 0.22),
		inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

@media (max-width: 1180px) {
	.studio-page-header {
		padding-bottom: 8px;
	}

	.studio-page-header__title {
		flex-wrap: wrap;
	}

	.studio-layout {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.studio-left,
	.studio-main {
		grid-column: auto;
	}

	.studio-viewer {
		min-height: 60vh;
	}

	.studio-recent-panel .studio-recent-list {
		max-height: none;
	}
}

@media (max-width: 760px) {
	.studio-shell {
		padding: calc(96px + env(safe-area-inset-top, 0px)) 16px 20px;
	}

	.studio-panel,
	.studio-viewer {
		padding: 16px;
		border-radius: 18px;
	}

	.studio-step-card--generate .upload-action {
		min-height: 52px;
		font-size: 15px;
	}

	.studio-advanced-settings__toggle {
		grid-template-columns: 1fr auto;
	}

	.studio-advanced-settings__hint {
		display: none;
	}

	.studio-advanced-settings__body {
		padding: 14px;
	}

	.studio-upload-grid {
		grid-template-columns: 1fr;
	}

	.studio-viewer-body {
		min-height: min(55vh, 420px);
		padding: 12px;
	}

	.studio-actions {
		position: static;
		margin-top: 0;
	}

	.studio-actions-group__buttons {
		flex-wrap: wrap;
		max-width: 100%;
	}

	.studio-viewer-head {
		padding-right: 0;
	}

	.studio-viewer-status {
		position: static;
	}
}

/* ── Language Switcher Dropdown ── */
.lang-switcher { position: relative; display: inline-flex; align-items: center; }
.lang-selected { background: transparent; border: none; font-size: 20px; cursor: pointer; padding: 2px 4px; line-height: 1; border-radius: 4px; transition: opacity .2s; color: #f4f0e6; }
.lang-selected:hover { opacity: .75; }
.lang-dropdown { position: absolute; right: 0; top: calc(100% + 6px); background: #1a1a1a; border: 1px solid rgba(212,175,55,.2); border-radius: 8px; padding: 4px; display: none; flex-direction: column; gap: 2px; z-index: 1000; min-width: 40px; box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.lang-dropdown.open { display: flex; }
.lang-option { background: transparent; border: none; font-size: 20px; cursor: pointer; padding: 4px 6px; border-radius: 6px; transition: background .15s; line-height: 1; text-align: center; color: #f4f0e6; }
.lang-option:hover { background: rgba(255,255,255,.08); }

