:root {
	--pbq-accent: #2C3E9E;
	--pbq-accent-light: #3d52c4;
	--pbq-accent-dark: #1E2A6B;
}

.pbq-wrap {
	position: relative;
	min-height: 100vh;
	background: #1E2A6B;
	color: #f5f5f5;
	font-family: 'Montserrat', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	overflow: hidden;
}

.pbq-progress {
	position: fixed;
	top: 0; left: 0; right: 0;
	height: 4px;
	background: rgba(169,176,216,0.15);
	z-index: 10;
}
.pbq-wrap .pbq-progress-bar {
	height: 100% !important;
	width: 0%;
	background: linear-gradient(90deg, #1E2A6B, #2C3E9E) !important;
	transition: width 0.35s ease;
}

.pbq-step {
	display: none;
	max-width: 640px;
	margin: 0 auto;
	min-height: 100vh;
	padding: 90px 24px 40px;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
}
.pbq-step.is-active {
	display: flex;
	animation: pbq-step-in 0.55s cubic-bezier(.16,1,.3,1) both;
}
@keyframes pbq-step-in {
	from { opacity: 0; transform: translateY(22px) scale(0.985); }
	to   { opacity: 1; transform: translateY(0) scale(1); }
}
.pbq-step.pbq-shake {
	animation: pbq-shake 0.35s ease;
}
@keyframes pbq-shake {
	0%, 100% { transform: translateX(0); }
	25% { transform: translateX(-6px); }
	75% { transform: translateX(6px); }
}

.pbq-step h2 {
	font-size: 28px;
	line-height: 1.3;
	margin: 0 0 12px;
	font-weight: 700;
	color: #fff;
}
.pbq-sub {
	color: #A9B0D8;
	font-size: 16px;
	margin: 0 0 28px;
	line-height: 1.5;
}
.pbq-question {
	font-size: 22px;
	font-weight: 600;
	margin: 0 0 24px;
	color: #fff;
}

.pbq-options {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 24px;
	width: 100%;
}
.pbq-wrap .pbq-option {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	border: 1px solid rgba(169,176,216,0.25) !important;
	border-radius: 8px;
	cursor: pointer;
	background: rgba(255,255,255,0.04) !important;
	transition: border-color 0.15s, background 0.15s;
}
.pbq-wrap .pbq-option:hover {
	border-color: #A9B0D8 !important;
	background: rgba(169,176,216,0.1) !important;
}
.pbq-wrap .pbq-option:has(input:checked) {
	border-color: #fff !important;
	background: rgba(255,255,255,0.12) !important;
}
.pbq-wrap .pbq-option input {
	accent-color: #fff !important;
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}
.pbq-option span {
	font-size: 16px;
	color: #f5f5f5;
}

.pbq-wrap .pbq-text,
.pbq-wrap .pbq-textarea {
	width: 100%;
	background: transparent !important;
	border: none !important;
	border-bottom: 2px solid rgba(169,176,216,0.35) !important;
	color: #f5f5f5 !important;
	font-size: 20px;
	padding: 8px 0;
	margin-bottom: 28px;
	outline: none;
	font-family: inherit;
	box-shadow: none !important;
}
.pbq-wrap .pbq-textarea {
	min-height: 100px;
	resize: vertical;
}
.pbq-wrap .pbq-text:focus,
.pbq-wrap .pbq-textarea:focus {
	border-bottom-color: #fff !important;
}

.pbq-wrap .pbq-next,
.pbq-wrap button.pbq-next {
	align-self: center;
	background: #2C3E9E !important;
	color: #fff !important;
	border: none !important;
	padding: 12px 30px;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.02em;
	border-radius: 6px;
	cursor: pointer;
	box-shadow: 0 4px 18px rgba(44,62,158,0.4) !important;
	text-shadow: none !important;
	transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}
.pbq-wrap .pbq-next:hover {
	transform: translateY(-2px);
	opacity: 0.9;
	box-shadow: 0 8px 26px rgba(44,62,158,0.55) !important;
}
.pbq-wrap .pbq-next:active {
	transform: translateY(0);
}

.pbq-hp {
	position: absolute !important;
	left: -9999px !important;
	opacity: 0;
	pointer-events: none;
}

.pbq-thankyou {
	text-align: center;
}
.pbq-thankyou-title {
	color: #f5f5f5;
	font-size: 34px;
}

/* blob-uri de fundal - royal blue */
.pbq-wrap::before,
.pbq-wrap::after {
	content: "";
	position: fixed;
	pointer-events: none;
	border-radius: 50%;
	filter: blur(90px);
	z-index: 0;
	opacity: 0.4;
}
.pbq-wrap::before {
	width: 45vw;
	height: 45vw;
	top: -10%;
	left: -10%;
	background: radial-gradient(circle, rgba(44,62,158,0.5), transparent 70%);
	animation: pbq-blob-a 10s ease-in-out infinite;
}
.pbq-wrap::after {
	width: 38vw;
	height: 38vw;
	bottom: -12%;
	right: -8%;
	background: radial-gradient(circle, rgba(169,176,216,0.2), transparent 70%);
	animation: pbq-blob-b 12s ease-in-out infinite;
}
@keyframes pbq-blob-a {
	0%, 100% { transform: translate(0, 0) scale(1); }
	50% { transform: translate(12vw, 14vh) scale(1.3); }
}
@keyframes pbq-blob-b {
	0%, 100% { transform: translate(0, 0) scale(1); }
	50% { transform: translate(-10vw, -12vh) scale(1.25); }
}
.pbq-step, .pbq-progress {
	position: relative;
	z-index: 1;
}
.pbq-step[data-key="q1"].is-active h2 {
	color: #f5f5f5;
	opacity: 0;
	animation: pbq-intro-up 0.75s cubic-bezier(.16,1,.3,1) forwards;
}
.pbq-step[data-key="q1"].is-active .pbq-sub {
	opacity: 0;
	animation: pbq-intro-up 0.7s cubic-bezier(.16,1,.3,1) forwards;
	animation-delay: 0.14s;
}
.pbq-step[data-key="q1"].is-active .pbq-question {
	opacity: 0;
	animation: pbq-intro-up 0.7s cubic-bezier(.16,1,.3,1) forwards;
	animation-delay: 0.26s;
}
.pbq-step[data-key="q1"].is-active .pbq-options .pbq-option {
	opacity: 0;
	animation: pbq-intro-up 0.6s cubic-bezier(.16,1,.3,1) forwards;
}
.pbq-step[data-key="q1"].is-active .pbq-options .pbq-option:nth-child(1) { animation-delay: 0.36s; }
.pbq-step[data-key="q1"].is-active .pbq-options .pbq-option:nth-child(2) { animation-delay: 0.44s; }
.pbq-step[data-key="q1"].is-active .pbq-options .pbq-option:nth-child(3) { animation-delay: 0.52s; }
.pbq-step[data-key="q1"].is-active .pbq-options .pbq-option:nth-child(4) { animation-delay: 0.60s; }

@keyframes pbq-intro-up {
	from { opacity: 0; transform: translateY(20px); }
	to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
	.pbq-step { padding: 70px 20px 30px; }
	.pbq-step h2 { font-size: 22px; }
	.pbq-question { font-size: 19px; }
}
