:root {
	--brand-navy: #0f172a;
	--brand-blue: #2563eb;
	--brand-blue-hover: #1d4ed8;
	--bg-canvas: #f4f7fb;
}
.bg-system {
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	z-index: -1;
	background: linear-gradient(145deg, #f0f4ff 0%, #fdfdff 100%);
}

.bg-blur-orb {
	position: absolute; border-radius: 50%; filter: blur(100px); z-index: -1; opacity: 0.6;
}
.orb-1 { width: 600px; height: 600px; background: #dbeafe; top: -150px; left: -150px; }
.orb-2 { width: 500px; height: 500px; background: #e0f2fe; bottom: -100px; right: -100px; }

.section-card {
	background: rgba(255, 255, 255, 0.72);
	backdrop-filter: blur(25px);
	border: 1px solid rgba(255, 255, 255, 0.9);
	border-radius: 20px;
	padding: 24px;
	margin-bottom: 24px;
	box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.06);
	position: relative;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	width: 100%;
}
@media (min-width: 768px) {
	.section-card { padding: 40px; margin-bottom: 32px; }
}

.step-badge {
	display: inline-flex; align-items: center; justify-content: center;
	width: 32px; height: 32px;
	background: var(--brand-blue); color: white;
	border-radius: 6px; font-weight: 600; font-size: 0.9rem;
	margin-right: 12px;
}

.section-title {
	font-size: 1.5rem; font-weight: 600; color: var(--brand-navy);
	display: flex; align-items: center; margin-bottom: 32px;
}

.input-label {
	display: block; font-size: 0.9rem; font-weight: 600; color: #334155; margin-bottom: 8px;
}

.input-field {
	width: 100%; background: rgba(248, 250, 252, 0.8);
	border: 1.5px solid #e2e8f0; 
	border-radius: 8px;
	padding: 14px 16px; font-size: 1rem; transition: all 0.2s ease; outline: none;
	appearance: none;
}
.input-field:focus {
	background: #fff; border-color: var(--brand-blue);
	box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.select-wrapper { position: relative; width: 100%; }
.select-arrow {
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	color: #94a3b8;
	pointer-events: none;
}

.diag-card {
	background: rgba(255, 255, 255, 0.5);
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	transition: all 0.2s ease;
}
.diag-card:hover { border-color: var(--brand-blue); background: #fff; transform: translateY(-2px); }

.diag-icon { font-size: 1.5rem; margin-bottom: 12px; }
.diag-label { font-size: 0.85rem; font-weight: 600; color: #1e293b; margin-bottom: 16px; line-height: 1.3; }

.seg-control {
	display: flex; width: 100%; background: #f1f5f9; border-radius: 6px; padding: 3px; gap: 2px;
}
.seg-control label { flex: 1; cursor: pointer; }
.seg-control input { display: none; }
.seg-control .seg-btn {
	display: block; padding: 6px 2px; font-size: 0.7rem; font-weight: 600;
	color: #64748b; text-align: center; border-radius: 4px; transition: all 0.2s;
}
.seg-control input:checked + .seg-btn {
	background: white; color: var(--brand-blue); box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.selectable-card {
	display: flex; align-items: center; gap: 12px; padding: 16px;
	background: rgba(248, 250, 252, 0.6); border: 1.5px solid #e2e8f0;
	border-radius: 8px; cursor: pointer; transition: all 0.2s ease;
	height: 100%; width: 100%;
}
input:checked + .selectable-card {
	background: #ffffff; border-color: var(--brand-blue); color: var(--brand-blue);
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.btn-submit {
	background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
	color: white;
	padding: 20px 40px;
	border-radius: 12px;
	font-weight: 600;
	font-size: 1.15rem;
	width: 100%;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.4);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	border: none;
	cursor: pointer;
	position: relative;
	overflow: hidden;
}
.btn-submit:hover {
	transform: translateY(-2px);
	box-shadow: 0 15px 35px -5px rgba(37, 99, 235, 0.5);
	filter: brightness(1.05);
}

@keyframes arrowBounce {
	0%, 100% { transform: translateX(0); }
	50% { transform: translateX(6px); }
}
.btn-submit:hover .cta-arrow {
	animation: arrowBounce 0.8s infinite ease-in-out;
}

.bar-container { display: flex; align-items: flex-end; gap: 6px; height: 60px; margin-bottom: 8px; width: 100%; }
.bar { flex: 1; background: #e2e8f0; border-radius: 2px 2px 0 0; transition: all 0.4s ease; }
.range-slider { -webkit-appearance: none; width: 100%; height: 8px; background: #e2e8f0; border-radius: 4px; outline: none; }
.range-slider::-webkit-slider-thumb {
	-webkit-appearance: none; width: 28px; height: 28px; background: #fff; border: 3px solid var(--brand-blue); border-radius: 50%; cursor: grab; box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.animate-fade { opacity: 0; transform: translateY(20px); transition: all 0.6s ease-out; }
.animate-fade.visible { opacity: 1; transform: translateY(0); }

@keyframes grow { 0%, 100% { height: 40%; } 50% { height: 100%; } }